Remove "[Add new features here]" for 2.27
[glibc.git] / ChangeLog.18
blobc28024e88add8e62aab8e15b55a519a42c6921e4
1 2017-08-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3         * version.h (RELEASE): Set to "development"
4         (VERSION): Set to 2.26.90.
5         * NEWS: Add 2.27 section.
7         * version.h (RELEASE): Set to "stable"
8         (VERSION): Set to 2.26.
9         * include/features.h (__GLIBC_MINOR__): Set to 26.
11         * manual/contrib.texi: Update contributors.
12         * manual/install.texi: Update latest tested versions of gcc and
13         binutils.
14         * INSTALL: Regenerate.
16         * NEWS: Add bugs fixed.
18         * po/fr.po: Update translations.
20 2017-08-01  Siddhesh Poyarekar  <siddhesh@sourceware.org>
22         * NEWS: Update security-related changes.
24 2017-07-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
26         * po/be.po: Update translations.
27         * po/ko.po: Likewise.
28         * po/nl.po: Likewise.
29         * po/ru.po: Likewise.
31 2017-07-29  Torvald Riegel  <triegel@redhat.com>
32             Carlos O'Donell  <carlos@redhat.com>
34         [BZ 21778]
35         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Update
36         oldval if the CAS fails.
37         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
38         * nptl/tst-mutex7.c: Add comments explaining template test.
39         (ROBUST, DELAY_NSEC, ROUNDS, N): New.
40         (tf, do_test): Use them.
41         * nptl/tst-mutex7robust.c: New file.
42         * nptl/Makefile (tests): Add new test.
44 2017-07-28  Nathan Rossi  <nathan@nathanrossi.com>
46         [BZ #21779]
47         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Branch using PLT.
49         * sysdeps/microblaze/libm-test-ulps: Update.
51 2017-07-28  Chung-Lin Tang  <cltang@codesourcery.com>
53         * sysdeps/nios2/libm-test-ulps: Update.
55 2017-07-28  Torvald Riegel  <triegel@redhat.com>
56             Carlos O'Donell  <carlos@redhat.com>
58         [BZ #21298]
59         * nptl/Makefile (tests-internal): Add tst-rwlock20.
60         * nptl/pthread_rwlock_common.c (__pthread_rwlock_rdlock_full): Fix
61         explicit hand-over.
62         (__pthread_rwlock_wrlock_full): Likewise.
63         * nptl/tst-rwlock20.c: New file.
64         * support/Makefile (libsupport-routines): Add xpthread_rwlock_init,
65         xpthread_rwlock_rdlock, xpthread_rwlock_unlock,
66         xpthread_rwlock_wrlock, xpthread_rwlockattr_init, and
67         xpthread_rwlockattr_setkind_np.
68         * support/xpthread_rwlock_init.c: New file.
69         * support/xpthread_rwlock_rdlock.c: New file.
70         * support/xpthread_rwlock_unlock.c: New file.
71         * support/xpthread_rwlock_wrlock.c: New file.
72         * support/xpthread_rwlockattr_init.c: New file.
73         * support/xpthread_rwlockattr_setkind_np.c: New file.
74         * support/xthread.h: Add xpthread_rwlock_init, xpthread_rwlock_rdlock,
75         xpthread_rwlock_unlock, xpthread_rwlock_wrlock,
76         xpthread_rwlockattr_init, and xpthread_rwlockattr_setkind_np
77         prototypes.
79 2017-07-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
81         * sysdeps/alpha/fpu/libm-test-ulps: Update.
83 2017-07-27  Mike FABIAN  <mfabian@redhat.com>
85         * locale/iso-639.def: add North and South Azerbaijani.
87 2017-07-27  Rical Jasan  <ricaljasan@pacific.net>
89         * manual/lang.texi (CHAR_BIT): Convert from an @table to an
90         @deftypevr.  Change standard from ISO to C90.  Mention the
91         POSIX.1-2001 requirement of the value 8.
93 2017-07-27  Rical Jasan  <ricaljasan@pacific.net>
95         * manual/creature.texi (_REENTRANT): Annotate as obsolete.
96         (_THREAD_SAFE): Likewise.
98 2017-07-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
100         * po/bg.po: Update translations.
101         * po/cs.po: Likewise.
102         * po/de.po: Likewise.
103         * po/pl.po: Likewise.
104         * po/uk.po: Likewise.
105         * po/vi.po: Likewise.
107 2017-07-26  Mike FABIAN  <mfabian@redhat.com>
109         [BZ #21828]
110         * NEWS: Mention that the Unicode 10.0.0 update causes user visible changes.
112 2017-07-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
114         * po/sv.po: Update Translation.
116 2017-07-25  Siddhesh Poyarekar  <siddhesh@sourceware.org>
117             Paul Eggert  <eggert@cs.ucla.edu>
119         * timezone.zic (PRIdLINENO): Remove.
120         (verror): Use PRIdMAX.
121         * po/libc.pot: Regenerate.
123 2017-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
124             H.J. Lu  <hongjiu.lu@intel.com>
126         [BZ #21744]
127         * elf/dl-tunables.c: Include not-errno.h header.
128         * include/unistd.h (__access_noerrno): Remove definition.
129         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
130         * sysdeps/generic/not-errno.h: New file.
131         * sysdeps/unix/sysv/linux/not-errno.h: Likewise.
133 2017-07-24  H.J. Lu  <hongjiu.lu@intel.com>
135         [BZ #21752]
136         * debug/fortify_fail.c (__fortify_fail_abort): Don't pass down
137         __libc_argv[0] if we aren't doing backtrace.  Rename do_backtrace
138         to need_backtrace.
139         * sysdeps/posix/libc_fatal.c (__libc_message): Don't call
140         __libc_secure_getenv if we aren't doing backtrace.
142 2017-07-24  Andreas Schwab  <schwab@suse.de>
144         [BZ #21804]
145         * sysdeps/nptl/bits/thread-shared-types.h (__PTHREAD_SPINS_DATA)
146         [__PTHREAD_MUTEX_LOCK_ELISION && __WORDSIZE == 64]: Remove
147         trailing semicolon.
148         (struct __pthread_mutex_s): Remove semicolon after
149         __PTHREAD_COMPAT_PADDING_MID and __PTHREAD_COMPAT_PADDING_END.
150         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
151         (__PTHREAD_COMPAT_PADDING_MID, __PTHREAD_COMPAT_PADDING_END): Add
152         semicolon.
154 2017-07-23  Dmitry V. Levin  <ldv@altlinux.org>
156         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h [_LINUX_PTRACE_H ||
157         _S390_PTRACE_H]: Undefine all PTRACE_* macro constants defined
158         later as enum constants, except PTRACE_PEEKUSER, PTRACE_POKEUSER,
159         and PTRACE_SEIZE_DEVEL that are not defined by Linux headers.
161 2017-07-23  John David Anglin  <danglin@gcc.gnu.org>
163         [BZ 19170]
164         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Revise comment.
166 2017-07-21  DJ Delorie  <dj@redhat.com>
168         * nss/tst-nss-test5.c: Correct test configuration.
170 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
172         * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
173         CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
174         CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
175         CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
176         CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): New macros.
178 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
180         * nss/nss_test1.c (default_npwd_data): Fix definition.
182 2017-07-21  Steve Ellcey  <sellcey@cavium.com>
184         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Call
185         math_force_eval.
187 2017-07-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
189         * sysdeps/sparc/fpu/libm-test-ulps: Update.
191         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Fix argument
192         passing to syscall exit.
194 2017-07-19  DJ Delorie  <dj@delorie.com>
196         * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
198 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
200         [BZ #21741]
201         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
202         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
203         in libc.so.
205 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
207         [BZ #21740]
208         * debug/Makefile (elide-routines.o): New.
210 2017-07-19  Szabolcs Nagy  <szabolcs.nagy@arm.com>
212         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
213         (_dl_aarch64_cap_flags): Update.
214         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
215         (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
217 2017-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
219         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
220         (_dl_hwcap_string): Check range.
222 2017-07-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
224         [BZ #21707]
225         * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
226         relocations before or after initializing the TCB on statically
227         linked executables.  That's a per-architecture definition.
228         * elf/rtld.c (dl_main): Add a comment about thread-local
229         variables initialization.
230         * sysdeps/generic/libc-start.h: New file.  Define
231         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
232         * sysdeps/powerpc/Makefile:
233         [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
234         tst-tlsifunc-static.
235         [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
236         (tests-internal): Add tst-tlsifunc.
237         * sysdeps/powerpc/tst-tlsifunc.c: New file.
238         * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
239         * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
240         variable.
241         [$(subdir) = math] (test-float128% test-ifloat128%): Force
242         linking to the loader after linking to libgcc.
243         [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
244         (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
245         (tst-strfrom-locale strfrom-skeleton): Likewise.
246         * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file.  Define
247         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
249 2017-07-17  DJ Delorie  <dj@redhat.com>
251         * nss/nss_test.h: New.
252         * nss/nss_test1.h: Rewrite to use test-provided data.  Add group
253         tests.  Parameterize to allow multiple instances.
254         * nss/nss_test2.h: New.  Second instance.
255         * nss/nss_test.ver: New.
256         * nss/nss_test1.c: Update to use new framework.
257         * nss/nss_test2.c: New.
258         * nss/nss_test3.c: New.
259         * nss/nss_test4.c: New.
260         * nss/nss_test5.c: New.
261         * nss/Makefile: Build new tests.
262         * shlib-versions: Add libnss_test2.
264 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
266         [BZ #21512]
267         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
268         passing to syscall exit.
270 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
272         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
273         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
275 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
277         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
278         if _dl_fixup fails.
280         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
281         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
282         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
283         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
285         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
286         offset for r19 load.
288         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
290         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
291         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
292         pointer offset.  Correct PIC register offset.  Don't mention frame
293         related instructions in epilogue.
294         (PUSHARGS_1): Correct offset.
295         (PUSHARGS_2): Likewise.
296         (PUSHARGS_3): Likewise.
297         (PUSHARGS_4): Likewise.
298         (PUSHARGS_5): Likewise.
299         (PUSHARGS_6): Likewise.
300         (POPARGS_1): Don't mention register restore.
301         (POPARGS_2): Likewise.
302         (POPARGS_3): Likewise.
303         (POPARGS_4): Likewise.
304         (POPARGS_5): Likewise.
305         (POPARGS_6): Likewise.
306         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
307         copy of PIC register.
308         (LOAD_PIC): Likewise don't mention restore.
309         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
310         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
311         offset.  Don't mention frame related instructions in epilogue.
313         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
315         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
317         [BZ 20098]
318         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
319         (_dl_lookup_address): Return address if it is not consistent with
320         being a linker defined function pointer.  Likewise, return address
321         if address and function descriptor addresses are not accessible.
323 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
325         * po/libc.pot: Regenerate.
327 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
329         [BZ locale/19838]
330         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
332         * nptl/allocatestack.c (allocate_stack): Align old and new guard
333         addresses to page boundaries when the stack grows up.
335         * sysdeps/hppa/math-tests.h: New.
337 2017-07-14  DJ Delorie  <dj@redhat.com>
339         [BZ #21654]
340         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
341         alignment not char alignment.
342         (__merge_grp): Likewise.
344 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
345             Florian Weimer  <fweimer@redhat.com>
347         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
348         * libio/wmemstream.c (open_wmemstream): Likewise.
349         * nptl/tst-memstream.c: New.
351 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
353         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
354         of pcrel_address under Thumb mode.
356 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
358         [BZ #21207]
359         * locale/iso-639.def: Add Fiji Hindi (hif).
361 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
363         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
365 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
367         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
368         -fstack-protector-all.
370 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
372         [BZ #20496]
373         * locale/iso-639.def: Add Awajún / Aguaruna (agr).
375 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
377         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
378         to iterate over all possible object suffixes.  Add a comment
379         explaining the use of sysdep-CFLAGS instead of CFLAGS.
381 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
383         [BZ #12189]
384         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
385         (tests): Add tst-ssp-1 if -fstack-protector works.
386         * debug/fortify_fail.c: Include <stdbool.h>.
387         (_fortify_fail_abort): New function.
388         (__fortify_fail): Call _fortify_fail_abort.
389         (__fortify_fail_abort): Add a hidden definition.
390         * debug/stack_chk_fail.c: Include <stdbool.h>.
391         (__stack_chk_fail): Call __fortify_fail_abort, instead of
392         __fortify_fail.
393         * debug/tst-ssp-1.c: New file.
394         * include/stdio.h (__libc_message_action): New enum.
395         (__libc_message): Replace int with enum __libc_message_action.
396         (__fortify_fail_abort): New hidden prototype.
397         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
398         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
399         with enum __libc_message_action.  Call BEFORE_ABORT only if
400         action includes do_backtrace.
401         (__libc_fatal): Update __libc_message call.
403 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
405         [BZ #21738]
406         * manual/llio.texi (RWF_NOWAIT): New item.
407         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
408         Add RWF_NOWAIT check.
409         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
411 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
413         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
414         Support running on kernels without PTRACE_SINGLEBLOCK.
416 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
418         [BZ #21742]
419         * elf/Makefile (dl-routines): Move dl-conflict to ...
420         (rtld-routines): Here.
422 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
424         [BZ #21741]
425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
426         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
427         in libc.so.
429 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
431         * sysdeps/hppa/fpu/libm-test-ulps: Update.
433         [BZ #21016]
434         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
435         Fix typo.
436         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
437         bits/types/struct_timespec.h.
438         (PTHREAD_MUTEX_INITIALIZER): Revise define.
439         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
440         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
441         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
442         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
443         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
444         (PTHREAD_COND_INITIALIZER): Likewise.
445         Remove old definitions.
446         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
448         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
450         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
451         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
453 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
455         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
456         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
457         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
458         * sysdeps/x86_64/multiarch/memset.c: Likewise.
459         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
460         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
461         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
462         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
463         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
464         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
465         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
466         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
467         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
468         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
469         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
470         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
472 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
476 2017-07-09  Helge Deller  <deller@gmx.de>
478         [BZ #21049]
479         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
480         up to avoid clobbering r26.
482 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
484         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
485         profiled objects.
487 2017-07-06  DJ Delorie  <dj@redhat.com>
489         * manual/tunables.texi: Add missing @end deftp.
491 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
493         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
494         (do_test): Call it.
496 2017-07-06  DJ Delorie  <dj@redhat.com>
498         * config.make.in: Enable experimental malloc option.
499         * configure.ac: Likewise.
500         * configure: Regenerate.
501         * manual/install.texi: Document it.
502         * INSTALL: Regenerate.
503         * malloc/Makefile: Likewise.
504         * malloc/malloc.c: Add per-thread cache (tcache).
505         (tcache_put): New.
506         (tcache_get): New.
507         (tcache_thread_freeres): New.
508         (tcache_init): New.
509         (__libc_malloc): Use cached chunks if available.
510         (__libc_free): Initialize tcache if needed.
511         (__libc_realloc): Likewise.
512         (__libc_calloc): Likewise.
513         (_int_malloc): Prefill tcache when appropriate.
514         (_int_free): Likewise.
515         (do_set_tcache_max): New.
516         (do_set_tcache_count): New.
517         (do_set_tcache_unsorted_limit): New.
518         * manual/probes.texi: Document new probes.
519         * malloc/arena.c: Add new tcache tunables.
520         * elf/dl-tunables.list: Likewise.
521         * manual/tunables.texi: Document them.
522         * NEWS: Mention the per-thread cache.
524 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
526         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
527         * misc/tst-tsearch.c (TIMEOUT): Remove.
528         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
529         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
530         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
531         * string/tst-cmp.c (TIMEOUT): Define to 600.
533 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
535         [BZ #21715]
536         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
537         on definition.
539 2017-07-06  Florian Weimer  <fweimer@redhat.com>
540             H.J. Lu  <hongjiu.lu@intel.com>
542         [BZ #21609]
543         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
544         (gen-as-const-headers): Add rtld-offsets.sym.
545         * sysdeps/x86_64/dl-tls.c: New file.
546         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
547         * sysdeps/x86_64/tls_get_addr.S: Likewise.
548         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
549         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
550         (TI_OFFSET_OFFSET): Likwise.
552 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
554         [BZ# 21697]
555         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
557 2017-07-05  Florian Weimer  <fweimer@redhat.com>
559         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
560         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
561         * resolv/tst-resolv-threads.c: New file.
563 2017-07-05  Florian Weimer  <fweimer@redhat.com>
565         support: Add resolver testing mode which does not patch _res.
566         * support/resolv_test.h (struct resolv_redirect_config): Add
567         disable_redirect, server_address_overrides.
568         * support/resolv_test.c (make_server_sockets_for_address): New
569         function.
570         (resolv_test_start): Call it.
572 2017-07-05  Florian Weimer  <fweimer@redhat.com>
574         * support/namespace.h (struct support_chroot_configuration)
575         (struct support_chroot): Define.
576         (support_chroot_create, support_chroot_free): New functions.
577         * support/support_chroot.c: New file.
578         * support/Makefile (libsupport-routines): Add support_chroot.
579         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
580         (path_resolv_conf): Remove definitions.
581         (chroot_env): New variable.
582         (prepare): Call support_chroot_create.
583         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
584         (special_test_callback, do_test): Likewise.
586 2017-07-05  Florian Weimer  <fweimer@redhat.com>
588         Add subtest to check isolation of multiple loopback addresses.
589         * support/tst-support-namespace.c (test_localhost_bind): New function.
590         (do_test): Call it.
592 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
594         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
595         * libio/libioP.h (_IO_enable_locks): Declare.
596         * libio/Versions (_IO_enable_locks): New symbol.
597         * libio/genops.c (_IO_enable_locks): Define.
598         (_IO_old_init): Initialize flags2.
599         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
600         * libio/ferror.c (_IO_ferror): Likewise.
601         * libio/fputc.c (fputc): Likewise.
602         * libio/putc.c (_IO_putc): Likewise.
603         * libio/getc.c (_IO_getc): Likewise.
604         * libio/getchar.c (getchar): Likewise.
605         * libio/ioungetc.c (_IO_ungetc): Likewise.
606         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
607         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
608         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
610 2017-07-04  Florian Weimer  <fweimer@redhat.com>
612         [BZ #21542]
613         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
614         two if no accurate information is available.
615         * posix/tst-sysconf-empty-chroot.c: New file.
616         * posix/Makefile (tests): Add it.
618 2017-07-04  Florian Weimer  <fweimer@redhat.com>
620         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
621         server and sort list counts.  Fix improper check for empty search
622         path (completely missing domain name) leading to assertion failure
623         in update_from_conf.
624         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
625         hostname member.
626         (run_res_init): Set host name if requested.
627         (test_cases): Update.
629 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
631         * scripts/build-many-glibcs.py (Context.checkout): Default
632         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
633         kernel version to 4.12.
635 2017-07-04  Florian Weimer  <fweimer@redhat.com>
637         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
638         list management and the role of free_list_start.
639         (decrement_at_index): Put zero at the end of the free list.
640         (__resolv_conf_attach): Fix bogus assert.
641         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
642         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
644 2017-07-03  Florian Weimer  <fweimer@redhat.com>
646         resolv: Introduce free list for resolv_conf index slosts.
647         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
648         type to uintptr_t.
649         (struct resolv_conf_global): Add free_list_start member.
650         (resolv_conf_get_1): Check for free list entry.
651         (decrement_at_index): Put freed slot on the free list.
652         (__resolv_conf_attach): Obtain new slot from the free list.
653         * resolv/tst-resolv-res_ninit.c: New file.
654         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
655         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
656         (generated): Add mtrace-tst-resolv-res_ninit.out,
657         tst-resolv-res_ninit.mtrace.
658         (mtrace-tst-resolv-res_ninit.out): Add target.
660 2017-06-30  Florian Weimer  <fweimer@redhat.com>
662         [BZ #984]
663         Reload /etc/resolv.conf if has been changed on disk.
664         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
665         (__resolv_conf_load, __resolv_conf_get_current): Declare.
666         * resolv/resolv_conf.c (struct resolv_conf_global): Add
667         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
668         (__resolv_conf_get_current): New function.
669         (__resolv_conf_allocate): Do not initialize initstamp.
670         (freeres): Deallocate global->conf_current.
671         * resolv/resolv.h (RES_NORELOAD): Define.
672         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
673         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
674         * resolv/resolv_context.c (replicated_configuration_matches): New.
675         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
676         the current configration.
677         * resolv/res_init.c (__res_initstamp): Remove variable definition.
678         (has_preinit_values): New function.
679         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
680         parameter and do not call __resolv_conf_attach.
681         (__res_vinit): Reimplement based __resolv_conf_load.
682         (res_options): Handle no-reload.
683         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
684         (lock): Remove.
685         (res_int): Do not update __res_initstamp.
686         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
687         RES_NORELOAD.
688         (test_cases): Test no-reload.
689         (special_test_call_res_init): Remove.
690         (special_test_callback): Rely on automated reloading.  Add tests
691         for no-reload.
693 2017-06-30  Florian Weimer  <fweimer@redhat.com>
695         Mirror the entire resolver configuration in struct resolv_conf.
696         * resolv/resolv_context.h (__resolv_context_nameserver_count)
697         (__resolv_context_nameserver): New functions.
698         (__resolv_context_sort_count, __resolv_context_sort_entry):
699         Likewise.
700         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
701         resolv_context parameter.
702         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
703         (addrsort): Switch to struct resolv_context.
704         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
705         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
706         sort_list, sort_list_size, options, retrans, retry, ndots members.
707         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
708         (same_address): New functions.
709         (resolv_conf_matches): Compare the new array members.
710         (__resolv_conf_allocate): Allocate and copy the new array members.
711         (update_from_conf): Copy the entire configuration.
712         * resolv/res_init.c (struct nameserver_list, struct sort_list):
713         Define using dynarray.
714         (struct resolv_conf_parser): Add nameserver_list, sort_list,
715         template members.
716         (resolv_conf_parser_init): Add preinit argument.  Initialize the
717         new members.
718         (resolv_conf_parser_free): Deallocate the new arrays.
719         (allocate_address_v4): New function.
720         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
721         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
722         the parser object instead.  Use allocate_address_v4 to allocate
723         IPv4 addresses.
724         (__res_vinit): Adjust.
725         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
726         extended name server list.
727         (test_cases): Adjust.
729 2017-06-30  Florian Weimer  <fweimer@redhat.com>
731         [BZ #19569]
732         [BZ #21475]
733         Support an arbitrary number of search domains.
734         * resolv/resolv_context.h (__resolv_context_search_list): New.
735         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
736         search_list_size members.
737         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
738         (__resolv_conf_allocate): Allocate and and copy search list.
739         (update_from_conf): Copy the search list.
740         * resolv/res_init.c (struct search_list): Define using dynarray.
741         (struct resolv_conf_parser): Define.
742         (resolv_conf_parser_init, resolv_conf_parser_free)
743         (domain_from_hostname): New functions.
744         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
745         struct search_list to collect search list entries.  Call
746         domain_from_hostname to obtain the fallback domain name.
747         (__res_vinit): Create and destroy parser object.  Pass search list
748         to __resolv_conf_allocate.
749         * resolv/res_query.c (__res_context_search): Use
750         __resolv_context_search_list to obtain search list entries.
751         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
752         from extended resolver context.
753         (test_cases): Update.
755 2017-06-30  Florian Weimer  <fweimer@redhat.com>
757         Add extended resolver state/configuration (struct resolv_conf).
758         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
759         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
760         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
761         (__res_vinit): Call __resolv_conf_allocate and
762         __resolv_conf_attach.
763         * resolv/resolv_context.h (struct resolv_context): Add conf member
764         of type struct resolv_conf.
765         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
766         resolv_conf.  Update conf member after initialization.
767         * resolv/Makefile (routines): Add resolv_conf.
768         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
769         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
770         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
771         _u._ext.__glibc_reserved.
773 2017-06-30  Florian Weimer  <fweimer@redhat.com>
775         [BZ #21668]
776         Introduce temporary resolver contexts (struct resolv_conf).
777         * resolv/resolv-internal.h (__res_context_mkquery)
778         (__res_context_searchl __res_context_query, __res_context_send)
779         (__res_context_hostalias): Declare.
780         (__res_nopt): Switch to struct resolv_context.
781         * resolv/res_use_inet6.h: New file.
782         * resolv/resolv_context.h: Likewise.
783         * resolv/resolv_context.c: Likewise.
784         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
785         Renamed from res_gethostbyname2.  Use struct resolv_context.
786         (res_gethostbyname2): New function.  Implement using
787         res_gethostbyname2_context.
788         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
789         struct resolv_context.
790         (res_gethostbyaddr): New function.  Implement using
791         res_gethostbyaddr_context.
792         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
793         resolv_context.
794         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
795         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
796         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
797         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
798         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
799         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
800         (_nss_dns_getnetbyaddr_r): Likewise.
801         * resolv/res-close.c (res_thread_freeres): Call
802         __resolv_context_freeres.
803         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
804         maybe_init in resolv/resolv_context.c.
805         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
806         res_nmkquery.  Use struct resolv_context.
807         (context_mkquery_common): New function.
808         (res_nmkquery, res_mkquery): Use it.
809         (res_nopt): Switch to struct resolv_context.
810         * resolv/res_query.c (__res_context_querydomain): Renamed from
811         __libc_res_nquerydomain.  Use struct resolv_context.
812         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
813         resolv_context.
814         (context_query_common): New function.
815         (res_nquery, res_query): Use it.
816         (__res_context_search): Renamed from __libc_res_nsearch.  Use
817         struct resolv_context.
818         (context_search_common): New function.
819         (res_nsearch, res_search): Use it.
820         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
821         Use struct resolv_context.
822         (context_querydomain_common): New function.
823         (res_nquerydomain, res_querydomain): Use it.
824         (__res_context_hostalias): Rename from res_hostalias.  Use struct
825         resolv_context.
826         (context_hostalias_common): New function.
827         (res_hostalias, hostalias): Use it.
828         * resolv/res_send.c (__res_context_send): Renamed from
829         __libc_res_nsend.  Use struct resolv_context.
830         (context_send_common): New function.
831         (res_nsend, res_send): Use it.
832         * resolv/Makefile (routines): Add resolv_context.
833         * resolv/Versions (libc): Export __resolv_context_get,
834         __resolv_context_get_preinit, __resolv_context_get_override,
835         __resolv_context_put.  Remove __res_maybe_init.
836         (libresolv): Export __res_context_query, __res_context_search,
837         __res_context_hostalias.  Remove __libc_res_nquery,
838         __libc_res_nsearch.
839         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
840         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
841         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
842         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
843         prototypes.
844         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
845         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
846         from __nss_hostname_digits_dots.  Use struct resolv_context.
847         (__nss_hostname_digits_dots): New function.
848         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
849         struct resolv_context object.  Call new function
850         __nss_hostname_digits_dots_context.
851         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
852         * nss/getnssent_r.c (__nss_setent): Likewise.
853         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
854         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
855         instead of direct _res manipulation.
856         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
858 2017-07-03  Florian Weimer  <fweimer@redhat.com>
860         * resolv/tst-resolv-res_init-skeleton.c
861         (special_tests_count, special_test_call_res_init)
862         (special_test_callback, special_test_thread_func)
863         (run_special_test_on_thread, special_test): Define.
864         (do_test): call special_test.
865         (test_init_names): Fix typo.
867 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
869         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
870         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
872 2017-07-01  Florian Weimer  <fweimer@redhat.com>
873             H.J. Lu  <hongjiu.lu@intel.com>
875         [BZ #21696]
876         * posix/sched_cpucount.c: Don't include <limits.h>.
877         (__sched_cpucount): Use __builtin_popcount.
879 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
881         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
882         Fix typo.
884 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
886         * include/math.h (__signbitf128): Define as hidden.
887         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
888         Reimplement without builtins.
889         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
890         (__builtin_signbitf128): Define to __signbitf128.
891         * sysdeps/powerpc/bits/floatn.h: Likewise.
892         * sysdeps/x86/bits/floatn.h: Likewise.
894 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
896         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
897         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
898         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
899         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
900         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
901         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
902         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
903         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
905         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
906         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
907         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
908         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
909         fcntl_common and add check for F_GETOWN.
910         (__libc_fcntl): Use SYSCALL_CANCEL macro.
911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
912         use default implementation.
914 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
916         * elf/dl-tunables.h (tunable_is_name): Move from...
917         * elf/dl-tunables.c (is_name): ... here.
918         (parse_tunables, __tunables_init): Adjust.
919         * manual/tunables.texi: Document glibc.tune.cpu.
920         * sysdeps/aarch64/dl-tunables.list: New file.
921         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
922         cpu_list): New type.
923         (cpu_list): New list of CPU names and their MIDR.
924         (get_midr_from_mcpu): New function.
925         (init_cpu_features): Override MIDR if necessary.
927         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
928         (__libc_ifunc_impl_list): Unconditionally select thunderx
929         routine for testing.
931 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
933         [BZ #21120]
934         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
935         * sysdeps/generic/malloc-alignment.h: Here.  New file.
936         * sysdeps/i386/malloc-alignment.h: Likewise.
937         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
939 2017-06-30  Florian Weimer  <fweimer@redhat.com>
941         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
942         variable.
943         (test_file_contents): Use it.
945 2017-06-30  Florian Weimer  <fweimer@redhat.com>
947         * resolv/res_init.c (res_setoptions): Remove source argument.
948         (res_vinit_1): Adjust.
950 2017-06-30  Florian Weimer  <fweimer@redhat.com>
952         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
954 2017-06-30  Florian Weimer  <fweimer@redhat.com>
956         * resolv/res_data.c: Reformat to GNU style.
957         (res_close): Update comments.
959 2017-06-30  Florian Weimer  <fweimer@redhat.com>
961         * resolv/res_data.c (res_query, res_search, res_querydomain)
962         (hostalias): Move to ...
963         * resolv/res_Send.c (res_query, res_search, res_querydomain)
964         (hostalias): here.
966 2017-06-30  Florian Weimer  <fweimer@redhat.com>
968         * resolv/res_data.c (res_isourserver, res_send): Move to ...
969         * resolv/res_send.c (res_isourserver, res_send): here.
971 2017-06-30  Florian Weimer  <fweimer@redhat.com>
973         * resolv/res_debug.c (_res_opcodes): Rename ...
974         (res_opcodes): ... as compatibility symbol.
975         (fp_nquery): Use res_opcodes.
976         * include/resolv.h (_res_opcodes): Remove declaration.
978 2017-06-30  Florian Weimer  <fweimer@redhat.com>
980         * include/resolv.h (res_pquery): Remove declaration.
981         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
982         functions.
983         (_res_opcodes): Remove variable.
984         * resolv/res_debug.c (do_section): Receive pfcode instead of
985         statp.
986         (res_pquery): Rename ...
987         (fp_nquery): to this function.  Skip unnecessary _res
988         initialization.
989         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
991 2017-06-30  Florian Weimer  <fweimer@redhat.com>
993         * resolv/res_debug.h: Remove file.
994         * resolv/README: Adjust.
996 2017-06-30  Florian Weimer  <fweimer@redhat.com>
998         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
999         conditionals.
1000         (Aerror, Perror): Remove function definitions.
1002 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1004         * resolv/res_data.c (res_mkquery): Move ...
1005         * resolv/res_mkquery.c (res_mkquery): to here.
1007 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1009         * resolv/res_mkquery.c: Reformat to GNU style.
1010         (T_OPT): Remove definition.  It is present in the header file.
1012 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1014         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
1015         conditionals.
1017 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1019         * support/support_capture_subprocess_check.c
1020         (support_capture_subprocess_check): Report actual exit status.
1022 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1024         [BZ #19570]
1025         * resolv/res_send.c (nameserver_offset): New function.
1026         (__libc_res_nsend): Use it to implement RES_ROTATE.
1027         (get_nsaddr): Add assert with name server
1028         range check.
1029         * resolv/Makefile (xtests): Add tst-resolv-rotate.
1030         (tst-resolv-rotate): Link against libpthread.
1031         * resolv/tst-resolv-rotate.c: New file.
1033 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
1035         [BZ #21457]
1036         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
1037         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
1038         [__WORDSIZE == 64] (MC_PC): Likewise.
1039         [__WORDSIZE == 64] (MC_NPC): Likewise.
1040         [__WORDSIZE == 64] (MC_Y): Likewise.
1041         [__WORDSIZE == 64] (MC_G1): Likewise.
1042         [__WORDSIZE == 64] (MC_G2): Likewise.
1043         [__WORDSIZE == 64] (MC_G3): Likewise.
1044         [__WORDSIZE == 64] (MC_G4): Likewise.
1045         [__WORDSIZE == 64] (MC_G5): Likewise.
1046         [__WORDSIZE == 64] (MC_G6): Likewise.
1047         [__WORDSIZE == 64] (MC_G7): Likewise.
1048         [__WORDSIZE == 64] (MC_O0): Likewise.
1049         [__WORDSIZE == 64] (MC_O1): Likewise.
1050         [__WORDSIZE == 64] (MC_O2): Likewise.
1051         [__WORDSIZE == 64] (MC_O3): Likewise.
1052         [__WORDSIZE == 64] (MC_O4): Likewise.
1053         [__WORDSIZE == 64] (MC_O5): Likewise.
1054         [__WORDSIZE == 64] (MC_O6): Likewise.
1055         [__WORDSIZE == 64] (MC_O7): Likewise.
1056         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
1057         __MC_NGREG if [__USE_MISC].
1058         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
1059         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
1060         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
1061         Define fields using __ctx.
1062         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
1063         using __ctx.
1064         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
1065         (REG_PSR): Define only for [__USE_MISC].
1066         (REG_PC): Likewise.
1067         (REG_nPC): Likewise.
1068         (REG_Y): Likewise.
1069         (REG_G1): Likewise.
1070         (REG_G2): Likewise.
1071         (REG_G3): Likewise.
1072         (REG_G4): Likewise.
1073         (REG_G5): Likewise.
1074         (REG_G6): Likewise.
1075         (REG_G7): Likewise.
1076         (REG_O0): Likewise.
1077         (REG_O1): Likewise.
1078         (REG_O2): Likewise.
1079         (REG_O3): Likewise.
1080         (REG_O4): Likewise.
1081         (REG_O5): Likewise.
1082         (REG_O6): Likewise.
1083         (REG_O7): Likewise.
1084         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
1085         [__WORDSIZE == 64] (REG_FPRS): Likewise.
1086         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
1087         (gregset_t): Define using __NGREG.
1088         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
1089         __SPARC_MAXREGWINDOW if [__USE_MISC].
1090         (struct rwindow): Rename to struct __rwindow.  Define fields using
1091         __ctx.
1092         (rw_fp): Define only for [__USE_MISC].
1093         (rw_rtn): Likewise.
1094         (gwindows_t): Remove struct tag.  Define fields using __ctx and
1095         __SPARC_MAXREGWINDOW.
1096         (MAXFPQ): Define only for [__USE_MISC].
1097         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
1098         (struct fq): Rename to struct __fq.  Define fields using __ctx.
1099         (FPU_REGS_TYPE): Define only for [__USE_MISC].
1100         (FPU_DREGS_TYPE): Likewise.
1101         (V7_FPU_FSR_TYPE): Likewise.
1102         (V9_FPU_FSR_TYPE): Likewise.
1103         (V9_FPU_FPRS_TYPE): Likewise.
1104         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
1105         using __ctx.
1106         [__WORDSIZE != 64] (fpregset_t): Likewise.
1107         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
1108         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
1109         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
1110         Rename field filler to __glibc_reserved1.
1111         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
1112         (MC_FILLER): Remove.
1114 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1116         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
1117         Adjust format string.
1118         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
1119         dependency.
1121 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1123         * sysdeps/posix/spawni.c (__spawni_child): New function.
1124         (__spawni): Rename to __spawnix.
1126 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1128         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
1129         Use it to make the temporary copy at the start of the work buffer.
1130         (process_arg): Adjust call to group_number.
1132 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1134         * stdio-common/vfprintf.c (printf_positional): Use struct
1135         scratch_buffer to allocate backing storage for the args_value,
1136         args_size, args_type arrays.
1138 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1140         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
1141         scratch_buffer.
1143 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1145         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
1146         wchar_t builds.
1148 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1150         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
1151         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
1153 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1155         * stdio-common/tst-vfprintf-user-type.c: New file.
1156         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
1158 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1160         * posix/tst-spawn2.c (do_test): Use libsupport.
1161         * posix/tst-spawn3.c (do_test): Likewise.
1163 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1165         * math/gen-tgmath-tests.py (Tests.__init__): Define
1166         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1168         * math/tgmath.h: Include <bits/libc-header-start.h> and
1169         <bits/floatn.h>.
1170         (__TGMATH_F128): New macro.
1171         (__TGMATH_CF128): Likewise.
1172         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1173         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1174         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1175         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1176         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1177         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1178         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1179         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1180         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1181         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1182         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1183         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1184         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1185         (__TGMATH_BINARY_REAL_IMAG): Likewise.
1186         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1187         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1188         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1189         _FloatNx types if the corresponding HUGE_VAL macros are defined.
1191         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1192         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1193         complex arguments.
1195         [BZ #21687]
1196         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1197         (totalorder): Use it.
1198         (totalordermag): Likewise.
1199         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1200         totalorder and totalordermag.
1201         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1202         totalordermag in arguments of calls to those functions.
1203         (NCALLS): Change to 134.
1205         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1206         cast to return type argument.
1207         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1208         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1209         (llrint): Likewise.
1210         (lround): Likewise.
1211         (llround): Likewise.
1212         (ilogb): Likewise.
1213         (llogb): Likewise.
1214         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1215         (ufromfp): Likewise.
1216         (fromfpx): Likewise.
1217         (ufromfpx): Likewise.
1219         [BZ #21607]
1220         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1221         [LDBL_MANT_DIG > DBL_MANT_DIG].
1222         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1223         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1224         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1225         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1226         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1227         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1228         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1229         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1230         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1231         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1232         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1233         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1234         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1235         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1236         * math/test-tgmath.c: Include <float.h>.
1237         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1238         DBL_MANT_DIG].
1239         * math/test-tgmath2.c: Include <float.h>.
1240         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1241         DBL_MANT_DIG].
1243         * math/gen-tgmath-tests.py: New file.
1244         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1245         [PYTHON] (generated): Add test-tgmath3.c.
1246         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1247         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1249         * configure.ac (AS): Require binutils 2.25 or later.
1250         (LD): Likewise.
1251         * configure: Regenerated.
1252         * sysdeps/s390/configure.ac (AS): Remove version check.
1253         * sysdeps/s390/configure: Regenerated.
1254         * sysdeps/x86_64/configure.ac (AS): Remove version check.
1255         * sysdeps/x86_64/configure: Regenerated.
1256         * manual/install.texi (Tools for Compilation): Document
1257         requirement for binutils 2.25 or later.
1258         * INSTALL: Regenerated.
1260 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1262         [BZ #14995]
1263         * configure.ac: Allow gold 1.14 or above to configire glibc
1264         * configure: Regenerated.
1266 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1268         [BZ #21457]
1269         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1270         struct tag.
1271         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1272         Likewise.
1273         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1274         Likewise.
1275         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1276         Declare struct type with __ctx.
1277         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1278         tag.
1279         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1280         and regs field name.
1282 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1284         * elf/loadtest.c (OUT): Define using do { } while (0).
1286         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1287         (DO_NUMBER_SPACEPAD): Likewise.
1289 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1291         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1292         sysdep_routines.
1293         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1294         __memchr_neon.
1295         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1296         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1297         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1298         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1300 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1302         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1303         Use vector and cu21 instruction.
1304         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1305         Add __to_utf8_loop_vx_cu in ifunc resolver.
1307 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1309         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1310         Use vector and cu24 instruction.
1312 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1314         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1315         Use vector and cu42 instruction.
1316         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1317         Add __to_utf16_loop_vx_cu in ifunc resolver.
1319 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1321         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1322         Use vector and cu41 instruction.
1323         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1324         in ifunc resolver.
1326 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1328         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1329         Add vxd, vxe, gs flag.
1330         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1331         HWCAP_S390_GS capability.
1332         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1333         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1335 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1337         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1338         the first 32 bytes before checking size when size >= 32 bytes.
1339         Replace vpmovmskb/subl/jnz with vptest/jnc.
1341 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1343         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1344         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1346 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1348         Work around test timeouts with ICMP rate limiting on localhost.
1349         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1350         function.
1351         (do_test): Call it.
1353 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1355         Call _res_hconf_init from __res_vinit.
1356         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1357         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1358         (NEED__RES): Define.
1359         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1360         (NEED__RES): Define.
1361         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1362         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1363         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1364         (NEED__RES): Define.
1365         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1366         _res_hconf_init.
1367         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1368         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1369         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1370         _res_hconf_init.
1372 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1374         * sysdeps/ia64/Implies: Add ieee754/float128.
1375         * sysdeps/ia64/bits/floatn.h: New file.
1376         * sysdeps/ia64/float128-abi.h: Likewise.
1377         * manual/math.texi (Mathematics): Document support for _Float128
1378         on ia64.
1379         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1380         Makefile variable.
1381         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1382         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1383         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1384         * sysdeps/ia64/math-tests.h: New file.
1385         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1386         based on TEST_COND_binary128 for [__ia64__].
1387         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1388         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1390         [BZ #21457]
1391         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1392         ucontext_t.
1393         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1394         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1395         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1396         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1397         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1398         ucontext): Likewise.
1399         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1400         Likewise.
1401         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1402         Likewise.
1403         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1404         Likewise.
1405         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1406         Likewise.
1407         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1408         Likewise.
1409         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1410         Likewise.
1411         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1412         Likewise.
1413         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1414         ucontext): Likewise.
1415         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1416         Likewise.
1417         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1418         Likewise.
1419         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1420         Likewise.
1421         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1422         Likewise.
1423         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1424         Likewise.
1425         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1426         rt_signal_frame_32): Likewise.
1427         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1428         Likewise.
1429         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1430         kernel_rt_sigframe): Likewise.
1431         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1432         Likewise.
1433         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1434         Likewise.
1435         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1436         Likewise.
1437         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1438         (__profil_counter): Likewise.
1439         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1440         (SIGCONTEXT): Likewise.
1441         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1442         kernel_rt_sigframe): Likewise.
1443         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1444         kernel_rt_sigframe): Likewise.
1445         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1446         Likewise.
1447         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1448         Likewise.
1449         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1450         (__start_context): Likewise.
1451         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1452         Likewise.
1453         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1454         Likewise.
1455         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1456         Likewise.
1458         * sysdeps/i386/Implies: Add ieee754/float128.
1459         * sysdeps/x86_64/Implies: Likewise.
1460         * sysdeps/x86/bits/floatn.h: New file.
1461         * sysdeps/x86/float128-abi.h: Likewise.
1462         * manual/math.texi (Mathematics): Document support for _Float128
1463         on x86_64 and x86.
1464         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1465         (math_opt_barrier): Do not put _Float128 values in floating-point
1466         registers.
1467         (math_force_eval): Likewise.
1468         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1469         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1470         to Makefile variable.
1471         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1472         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1473         * sysdeps/x86/math-tests.h: New file.
1474         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1475         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1476         XFAIL_FLOAT128_PAYLOAD.
1477         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1478         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1479         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1480         Likewise.
1481         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1482         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1487         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1488         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1491 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1493         [BZ #21512]
1494         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1495         syscall instead of jump to _exit.
1496         (CLONE_VM_BIT): Remove unused define.
1497         (CLONE_VM): Likewise.
1498         (CLONE_THREAD_BIT): Likewise.
1499         (CLONE_THREAD): Likewise.
1500         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1501         (CLONE_VM): Remove unused define.
1502         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1503         (CLONE_VM): Remove unused define.
1504         (CLONE_THREAD): Likewise.
1505         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1506         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1507         syscall instead of jump to _exit.
1508         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1509         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1510         (CLONE_VM): Remove unused define.
1511         (CLONE_THREAD): Likewise.
1512         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1513         (CLONE_VM): Remove unused define.
1514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1515         Likewise.
1516         (CLONE_VM): Remove unused define.
1517         (CLONE_THREAD): Likewise.
1518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1519         Likewise.
1520         (CLONE_VM): Remove unused define.
1521         (CLONE_THREAD): Likewise.
1522         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1523         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1524         (CLONE_VM): Remove unused define.
1525         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1526         (CLONE_VM): Remove unused define.
1527         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1528         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1529         (CLONE_VM): Remove unused define.
1530         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1531         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1533 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1534             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1536         * manual/math.texi (Mathematics): Mention the enabling of float128
1537         for powerpc64le.
1538         * sysdeps/powerpc/bits/floatn.h: New file.
1539         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1540         * sysdeps/powerpc/fpu/math_private.h:
1541         (__ieee754_sqrtf128): New inline override.
1542         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1543         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1544         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1545         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1546         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1548         Updated.
1549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1550         Likewise.
1551         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1552         New file.
1554 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1556         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1557         * sysdeps/powerpc/powerpc64le/configure: Update.
1559 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1560             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1562         * INSTALL: Regenerate.
1563         * manual/install.texi (Recommended Tools for Compilation): Mention
1564         the powerpc64le-specific requirement in the manual.
1565         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1566         for the compiler features required for building float128.
1567         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1569 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1571         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1572         before comparing with another char.
1574 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1576         * manual/math.texi: Fix a grammatical error.
1578 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1580         [BZ #21295]
1581         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1583 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1585         [BZ #21295]
1586         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1587         Append addresses at the end of the list.
1589 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1591         [BZ #21666]
1592         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1593         (loc2): Likewise.
1594         (locs): Likewise.
1596 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1598         [BZ #16637]
1599         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1600         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1601         digits between colons.
1602         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1604 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1605             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1607         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1608         (__sched_get_prioriry_min): Likewise.
1609         * include/sys/mman.h (__mmap): Likewise.
1610         (__mmap64): Likewise.
1611         (__munmap): Likewise.
1612         (__mprotect): Likewise.
1613         * include/termios.h (__tcsetattr): Likewise.
1614         * include/time.h (__nanosleep): Use hidden_proto instead of
1615         libc_hidden_proto.
1616         * posix/nanosleep.c (__nanosleep): Likewise.
1617         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1618         __sched_get_priority_min, and __sched_get_priority_max under
1619         GLIBC_PRIVATE.
1620         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1621         libc symbols.
1622         (change_stack_perm): Likewise.
1623         (change_stack_perm): Likewise.
1624         (allocate_stack): Likewise.
1625         * sysdeps/posix/gethostname.c: Likewise.
1626         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1627         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1628         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1629         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1630         (__pthread_key_delete): Likewise.
1631         (__pthread_detach): Likewise.
1632         (__pthread_cancel): Likewise.
1633         (__pthread_mutex_trylock): Likewise.
1634         (__pthread_mutexattr_init): Likewise.
1635         (__pthread_mutexattr_settype): Likewise.
1636         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1637         create alias for exported one.
1638         * nptl/pthread_join.c (pthread_join): Likewise.
1639         * nptl/pthread_detach.c (pthread_detach): Likewise.
1640         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1641         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1642         * nptl/pthread_create.c: Change static requirements for pthread
1643         symbols.
1644         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1645         for internal definition.
1646         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1647         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1648         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1649         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1650         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1651         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1652         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1653         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1654         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1655         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1656         Likewise.
1657         * nptl/pthread_self.c (__pthread_self): Likewise.
1658         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1659         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1660         * misc/mmap.c (__mmap): Add internal symbol definition.
1661         * misc/mmap.c (__mmap64): Likewise.
1662         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1663         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1664         (__mmap64): Likewise.
1665         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1666         Add __uname.
1668 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1670         * sysdeps/i386/fpu/libm-test-ulps: Update.
1671         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1673         * libm-test-support.c (check_float_internal): Clear exceptions at
1674         end of function.
1675         (check_int): Likewise.
1676         (check_long): Likewise.
1677         (check_bool): Likewise.
1678         (check_longlong): Likewise.
1679         (check_intmax_t): Likewise.
1680         (check_uintmax_t): Likewise.
1682         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1683         Do not declare.
1684         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1685         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1686         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1688 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1690         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1691         Replace movzbl and orl with movb.
1693 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1695         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1696         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1697         and HUGE_VAL_FNx.
1698         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1699         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1700         are in math.h, to avoid having to list the _FloatN and _FloatNx
1701         variants as well.  Likewise for the cabs functions.
1702         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1703         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1704         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1705         come from TS 18661-3, since this section explicitly states that
1706         these functions come from BSD.
1707         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1708         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1709         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1710         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1711         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1712         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1713         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1714         remainderfNx.
1715         (Setting and modifying single bits of FP values): Document
1716         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1717         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1718         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1719         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1720         (Floating-Point Comparison Functions): Document totalorderfN,
1721         totalorderfNx, totalordermagfN, totalordermagfNx.
1722         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1723         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1724         fdimfN, fdimfNx, fmafN, fmafNx.
1725         (Complex Numbers): Document the complex types: _FloatN complex and
1726         _FloatNx complex.
1727         (rojections, Conjugates, and Decomposing of Complex Numbers):
1728         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1729         cargfN, cargfNx, cprojfN, cprojfNx.
1730         * manual/math.texi (Mathematics): Mention that the _FloatN and
1731         _FloatNx variants of the math functions come from TS 18661-3,
1732         unless otherwise stated.
1733         (Predefined Mathematical Constants): Document the _FloatN and
1734         _FloatNx variants of the macros prefixed with M_.
1735         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1736         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1737         ccosfNx, ctanfN, ctanfNx.
1738         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1739         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1740         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1741         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1742         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1743         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1744         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1745         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1746         cpowfNx.
1747         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1748         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1749         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1750         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1751         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1752         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1753         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1754         ynfN, ynfNx.
1756 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1758         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1760 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1762         * resolv/res_libc.c: Reformat to GNU style.
1764 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1766         * resolv/resolv-internal.h (__res_initstamp): Declare.
1767         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1768         It is implied by the declaration.
1769         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1771 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1773         [BZ #21662]
1774         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1775         Use only 24 bits of the register before the subtraction.
1776         * string/test-memcmp.c (check1): Check with different lengths.
1778 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1780         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1781         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1783 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1785         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1786         Enable generation of float128 entries on the error table.
1788 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1790         * include/float.h: Include libc-header-start.h to get the
1791         definition of __GLIBC_USE.
1793 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1795         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1796         rearranged code and doubles float types.
1798 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1801         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1803 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1805         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1806         to errno, and simplify remaining related code.
1808 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1810         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1811         PPC_FEATURE2_SCV.
1812         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1813         and darn.
1815 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1817         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1818         the implementation-specific function name and remove unneeded macros
1819         definition.
1820         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1821         function name if not defined and pass as parameter to macros
1822         accordingly.
1824 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1827         (libm-sysdep_routines): Add s_llroundf-ppc64.
1828         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1829         (__llroundf): Define as strong alias of __llround.
1830         (llroundf):  Define as weak alias of __llround.
1831         (__lroundf): Define as strong alias of __llround.
1832         (lroundf):  Define as weak alias of __llround.
1833         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1834         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1837         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1838         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1839         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1841 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1843         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1844         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1846         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1847         (MATH_TESTS_TG): New macro.
1848         (SNAN_TESTS_float128): Likewise.
1849         (ROUNDING_TESTS_float128): Likewise.
1850         (EXCEPTION_TESTS_float128): Likewise.
1851         (SNAN_TESTS): Define using MATH_TESTS_TG.
1852         (ROUNDING_TESTS): Likewise.
1853         (EXCEPTION_TESTS): Likewise.
1855         * sysdeps/ieee754/float128/float128_private.h
1856         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1857         pass it to SET_RESTORE_ROUNDF128.
1859         * sysdeps/ieee754/float128/float128_private.h: Include
1860         <ieee754.h>.
1862         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1863         typeof to argument passed to __builtin_types_compatible_p.
1864         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1866         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1867         <errno.h>.
1868         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1869         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1870         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1871         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1872         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1873         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1874         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1875         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1876         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1877         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1878         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1879         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1880         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1881         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1882         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1883         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1884         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1885         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1886         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1887         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1888         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1889         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1891         * sysdeps/ieee754/float128/strtof128_l.c: Include
1892         <bits/types/locale_t.h> instead of <xlocale.h>.
1893         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1894         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1896 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1898         * benchtests/scripts/benchout_strings.schema.json: New file.
1899         * benchtests/scripts/compare_strings.py: New file.
1901         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1902         (do_one_test): Print json.
1903         (do_test): Likewise.
1904         (test_main): Likewise.
1905         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1906         (do_one_test): Print json.
1907         (do_test): Likewise.
1908         (test_main): Likewise.
1909         * benchtests/bench-memcpy.c: Include json-lib.h.
1910         (do_one_test): Print json.
1911         (do_test): Likewise.
1912         (test_main): Likewise.
1914         * benchtests/json-lib.h: Include inttypes.h.
1915         (json_attr_int, json_attr_int, json_element_string,
1916         json_element_int, json_element_uint): New functions.
1917         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1918         json_element_string, json_element_int, json_element_uint): New
1919         functions.
1921 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1923         * manual/arith.texi (Remainder Functions): Describe remainder as
1924         primary and drem as an alternative name.  Change the comment on
1925         remainder to ISO, since it is defined in ISO C99.
1927 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1929         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1930         macro expansion.
1931         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1933 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1935         [BZ #21533]
1936         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1937         201706L for Unicode 10.0.
1939 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1941         [BZ #21657]
1942         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1943         on node-local addresses.
1944         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1946 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1948         * intl/loadmsgcat.c: Remove alloca support.
1949         (_nl_load_domain): Use calloc instead of alloca.
1951 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1953         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1954         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1955         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1956         alloc_buffer_create_failure.
1957         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1958         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1959         (__libc_alloc_buffer_copy_string)
1960         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1961         * malloc/alloc_buffer_alloc_array.c: New file.
1962         * malloc/alloc_buffer_allocate.c: Likewise.
1963         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1964         * malloc/alloc_buffer_copy_string.c: Likewise.
1965         * malloc/alloc_buffer_create_failure.c: Likewise.
1966         * malloc/tst-alloc_buffer.c: Likewise.
1968 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1970         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1971         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1972         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1973         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1974         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1975         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1976         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1977         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1978         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1979         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1980         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1981         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1982         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1983         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1984         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1985         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1986         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1987         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1988         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1989         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1990         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1991         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1992         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1993         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1994         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1995         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1996         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1997         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1998         "locale-defines.h".
1999         (UPDATE_STRNCMP_COUNTER): New.
2000         (SECTION): Likewise.
2001         (GLABEL): Likewise.
2002         (LABEL): Likewise.
2003         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
2004         for libc.a.
2006 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
2008         [BZ #21622]
2009         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
2010         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
2011         __USE_MISC].
2012         (SA_NODEFER): Likewise.
2013         (SA_RESETHAND): Likewise.
2015 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
2017         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
2018         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
2019         Remove security_level on all fields.
2020         * manual/tunables.texi: Replace ifunc with hwcaps.
2021         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
2022         Renamed to ..
2023         (TUNABLE_CALLBACK (set_hwcaps)): This.
2024         (init_cpu_features): Updated.
2025         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
2026         data_cache_size, data_cache_size and non_temporal_threshold to
2027         unsigned long int.
2028         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
2029         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
2030         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
2031         use DEFAULT_STRLEN.
2033 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2035         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
2036         asprintf to construct an absolute pathname.
2038 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2040         * misc/tst-preadvwritev2-common.c: New file.
2041         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
2042         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2044 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2046         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
2047         annotation.
2048         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2050 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2052         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
2053         hidden __GI__dl_argv symbol.
2055 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2057         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
2058         to parse addresses with IPv6 scope IDs.
2060 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2062         Add the __inet_pton_length helper function.
2063         * resolv/resolv-internal.h (__inet_pton_length): Declare.
2064         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
2065         Add length argument.
2066         (__inet_pton): New function.
2067         (inet_pton4): Add length argument.
2068         (hex_digit_value): New function.
2069         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
2070         memmove and memset to fill :: gap.
2071         * resolv/Makefile (tests, tsts-static, tests-internal): Add
2072         tst-inet_pton.
2073         * resolv/tst-inet_pton.c: New file.
2074         * support/Makefile (libsupport-routines): Add xmprotect.
2075         * support/xunistd.h (xmprotect): Declare.
2076         * support/xmprotect.c: New file.
2078 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2080         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
2081         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
2082         (call_gai, check_ai): New functions.
2083         (expect_failure, expect_success): Use them.  Add logging.
2085 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2087         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2088         (sysdep_routines): Add memchr_power8.
2089         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2090         (memchr): Add __memchr_power8 to list of memchr functions.
2091         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
2092         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
2093         (memchr): Add __memchr_power8 to ifunc list.
2094         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
2096 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2098         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
2099         (__llrintf): Define as strong alias of __llrint.
2100         (llrintf):  Define as weak alias of __llrint.
2101         (__lrintf): Define as strong alias of __llrint.
2102         (lrintf):  Define as weak alias of __llrint.
2103         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
2104         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2105         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
2106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
2108 2017-06-20  Zack Weinberg  <zackw@panix.com>
2110         * bits/signum-generic.h: Renamed from bits/signum.h.
2111         Add proper multiple include guard and misuse check.
2112         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
2113         Move definition of SIGIO to "archaic names for compatibility" section.
2114         * bits/signum.h: New file which just includes bits/signum-generic.h.
2115         * sysdeps/unix/bsd/bits/signum.h
2116         * sysdeps/unix/sysv/linux/bits/signum.h
2117         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
2118         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
2119         * sysdeps/unix/sysv/linux/mips/bits/signum.h
2120         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
2121         Just include <bits/signum-generic.h> and then add or adjust
2122         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
2124         * signal/Makefile: Install bits/signum-generic.h.
2125         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
2127         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
2128         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
2130         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
2131         * sysdeps/unix/sysv/linux/Makefile: Run it.
2133 2017-06-20  Zack Weinberg  <zackw@panix.com>
2135         * locale/xlocale.h: Rename to...
2136         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
2137         Only define struct __locale_struct and __locale_t, not locale_t.
2138         * locale/bits/types/locale_t.h: New file; define locale_t here.
2139         * locale/Makefile (headers): Update to match.
2141         * include/xlocale.h: Delete wrapper.
2142         * include/bits/types/__locale_t.h: New wrapper.
2143         * include/bits/types/locale_t.h: New wrapper.
2145         * ctype/ctype.h, include/printf.h, include/time.h
2146         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
2147         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
2148         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
2149         Correct outdated comments regarding the standardization status of
2150         the functions that take locale_t arguments.
2152         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
2153         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2154         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2155         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2156         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2157         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
2158         Don't include xlocale.h. If necessary, include locale.h instead.
2160         * stdlib/strtold_l.c: Unconditionally include wchar.h.
2162         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2163         * include/monetary.h, include/stdlib.h, include/time.h
2164         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2165         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2166         * locale/localeinfo.h, locale/newlocale.c
2167         * locale/nl_langinfo_l.c, locale/uselocale.c
2168         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2169         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2170         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2171         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2172         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2173         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2174         * string/strings.h, string/strncase.c, string/strxfrm_l.c
2175         * sysdeps/ieee754/float128/strtof128_l.c
2176         * sysdeps/ieee754/float128/wcstof128.c
2177         * sysdeps/ieee754/float128/wcstof128_l.c
2178         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2179         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2180         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2181         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2182         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2183         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2184         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2185         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2186         * sysdeps/x86_64/strcasecmp_l-nonascii.c
2187         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2188         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2189         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2190         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2191         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2192         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2193         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2194         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2195         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2196         Change all uses of __locale_t to locale_t.
2198 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2200         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2201         for !__OFF_T_MATCHES_OFF64_T.
2202         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2203         implementation based on open64.
2204         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2205         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2207 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2209         * elf/dl-tunables.list: Move x86 specific tunables to ...
2210         * sysdeps/x86/dl-tunables.list: Here.  New file.
2212 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
2214         [BZ #21635]
2215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2216         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2217         * conform/data/signal.h-data (uc_mcontext): XFAIL for
2218         powerpc32-linux.
2219         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2221         [BZ #21634]
2222         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2223         (conformtest-xfail-conds): New variable.
2224         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2225         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2227 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2229         * benchtests/powf-inputs: Add reduced trace from wrf.
2231 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2232             Erich Elsen  <eriche@google.com>
2234         * elf/dl-tunables.list (tune): Add ifunc,
2235         x86_non_temporal_threshold,
2236         x86_data_cache_size and x86_shared_cache_size.
2237         * manual/tunables.texi: Document glibc.tune.ifunc,
2238         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2239         and glibc.tune.x86_non_temporal_threshold.
2240         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2241         * sysdeps/x86/cpu-tunables.c: Likewise.
2242         * sysdeps/x86/cacheinfo.c
2243         (init_cacheinfo): Check and get data cache size, shared cache
2244         size and non temporal threshold from cpu_features.
2245         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2246         New.
2247         [HAVE_TUNABLES] Include <unistd.h>.
2248         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2249         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2250         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2251         IFUNC selection, data cache size, shared cache size and non
2252         temporal threshold.
2253         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2254         shared_cache_size and non_temporal_threshold.
2256 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2258         * benchtests/README: Describe workload feature.
2259         * benchtests/bench-skeleton.c (main): Add support for
2260         benchmarking traces from workloads.
2262 2017-06-20  Zack Weinberg  <zackw@panix.com>
2264         * string/string.h (__mempcpy_inline): Delete.
2265         * sysdeps/x86_64/multiarch/mempcpy.c
2266         * sysdeps/x86_64/multiarch/stpcpy.c:
2267         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2268         before including string.h.
2270 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2272         * benchtests/Makefile (bench-math): Add powf.
2273         * benchtests/powf-inputs: New file.
2275 2017-06-20  Zack Weinberg  <zackw@panix.com>
2277         * bits/string.h, string/bits/string.h
2278         * sysdeps/aarch64/bits/string.h
2279         * sysdeps/m68k/m680x0/m68020/bits/string.h
2280         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2281         * sysdeps/x86/bits/string.h: Delete file.
2283         * string/string.h: Don't include bits/string.h.
2284         * string/bits/string3.h: Rename to bits/string_fortified.h.
2285         No need to undef various symbols that the removed headers
2286         might have defined as macros.
2287         * string/Makefile (headers): Remove bits/string.h, change
2288         bits/string3.h to bits/string_fortified.h.
2289         * string/string-inlines.c: Update commentary.  Remove definitions
2290         of various macros that nothing looks at anymore.  Don't directly
2291         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2292         compiler-predefined macros.
2293         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2294         _is_ defined, provide internal hidden alias __strncat.
2295         * include/string.h: Declare internal hidden alias __strncat.
2296         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2297         not defined.
2298         * include/bits/string3.h: Rename to bits/string_fortified.h,
2299         update to match above.
2301         * sysdeps/i386/string-inlines.c: Define compat symbols for
2302         everything formerly defined by sysdeps/x86/bits/string.h.
2303         Make existing definitions into compat symbols as well.
2304         Remove some no-longer-necessary messing around with macros.
2306         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2307         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2308         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2309         * sysdeps/s390/multiarch/mempcpy.c
2310         No need to define _HAVE_STRING_ARCH_mempcpy.
2311         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2313         * sysdeps/i386/i686/multiarch/strncat-c.c
2314         * sysdeps/s390/multiarch/strncat-c.c
2315         * sysdeps/x86_64/multiarch/strncat-c.c
2316         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2318 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2320         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2321         (LDBL_DIG): Likewise.
2322         (LDBL_MIN_EXP): Likewise.
2323         (LDBL_MIN_10_EXP): Likewise.
2324         (LDBL_MAX_EXP): Likewise.
2325         (LDBL_MAX_10_EXP): Likewise.
2326         (LDBL_MAX): Likewise.
2327         (LDBL_MIN): Likewise.
2328         (LDBL_EPSILON): Likewise.
2329         (FLT_ROUNDS): Change standard from ISO to C90.
2330         (FLT_RADIX): Likewise.
2331         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2332         (FLT_DIG, DBL_DIG): Likewise.
2333         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2334         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2335         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2336         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2337         (FLT_MAX, DBL_MAX): Likewise.
2338         (FLT_MIN, DBL_MIN): Likewise.
2339         (FLT_EPSILON, DBL_EPSILON): Likewise.
2341 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2343         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2344         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2345         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2346         * sysdeps/mips/math-tests.h
2347         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2348         conditional code.
2350 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2352         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2353         It cannot change while __libc_setlocale_lock is acquired.
2355 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2357         * elf/rtld.c (audit_list_string): New variable.
2358         (audit_list): Update comment.
2359         (struct audit_list_iter): Define.
2360         (audit_list_iter_init, audit_list_iter_next): New function.
2361         (dl_main): Use struct audit_list_iter to process audit modules.
2362         (process_dl_audit): Call dso_name_valid_for_suid.
2363         (process_envvars): Set audit_list_string instead of calling
2364         process_dl_audit.
2366 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2368         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2369         (dso_name_valid_for_suid): New function.
2370         (handle_ld_preload): Likewise.
2371         (dl_main): Call it.  Remove alloca.
2373 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2375         [BZ #21625]
2376         * posix/sys/wait.h (strust rusage forward declaration): Change
2377         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2378         !__USE_XOPEN2K].
2379         (wait3): Likewise.
2381         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2382         * configure: Regenerated.
2383         * manual/install.texi (Tools for Compilation): Document
2384         requirement for GCC 4.9 or later.
2385         * INSTALL: Regenerated.
2387 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2389         [BZ #21624]
2390         CVE-2017-1000366
2391         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2392         __libc_enable_secure.
2394 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2396         [BZ #21539]
2397         * NEWS: Mention s390 ptrace request changes.
2398         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2399         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2400         PTRACE_SETFPREGS): Remove enum constant.
2401         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2402         Remove defines.
2403         (PTRACE_SINGLEBLOCK): New enum constant.
2404         (PT_STEPBLOCK): New define.
2405         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2406         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2407         PTRACE_TE_ABORT_RAND): New enum constant and define.
2408         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2409         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2410         New file.
2411         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2413 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2415         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2416         configuration file.
2417         (__res_vinit): Adjust.
2419 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2421         * resolv/res_init.c (res_vinit_1): New function.
2422         (__res_vinit): Call it.  Handle file open and memory allocation
2423         failures.
2424         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2425         erno from __res_maybe_init failure.
2426         (_nss_dns_gethostbyname4_r): Likewise.
2427         (_nss_dns_gethostbyaddr2_r): Likewise.
2428         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2429         (_nss_dns_getnetbyaddr_r): Likewise.
2431 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2433         * resolv/res_init.c: Reformat to GNU style.
2435 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2437         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2438         (is_sort_mask): New function.
2439         (__res_vinit): Use it.
2441 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2443         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2444         conditionals.
2446 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2448         * resolv/res-close.c: New file.
2449         * resolv/res_init.c (__res_iclose, res_nclose)
2450         (res_thread_freeres): Remove definitions.
2451         * resolv/Makefile (routines): Add res-close.
2453 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2455         * resolv/res_randomid.c: New file.
2456         * resolv/res_init.c (res_randomid): Remove definition.
2457         * resolv/Makefile (routines): Add res_randomid.
2459 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2461         * include/resolv.h (__res_vinit): Declare as hidden.
2462         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2463         * resolv/res_libc.c (res_init): Likewise.
2465 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2467         [BZ #21457]
2468         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2469         _libc_xmmreg): Use __ctx in defining field.
2471         [BZ #21597]
2472         * signal/signal.h (siginterrupt): Make declaration conditional on
2473         [__USE_XOPEN_EXTENDED || __USE_MISC].
2475         [BZ #21584]
2476         * signal/signal.h: Make includes of <bits/sigstack.h> and
2477         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2478         __USE_MISC].
2479         (sigaltstack): Make declaration conditional on
2480         [__USE_XOPEN_EXTENDED || __USE_MISC].
2482         [BZ #21575]
2483         * resource/bits/types/struct_rusage.h: New file.
2484         * include/bits/types/struct_rusage.h: Likewise.
2485         * bits/resource.h (struct rusage): Include
2486         <bits/types/struct_rusage.h> instead of defining here.
2487         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2488         Likewise.
2489         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2490         Likewise.
2491         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2492         Likewise.
2493         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2494         Likewise.
2495         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2496         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2497         Include <bits/types/struct_rusage.h>
2499 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2501         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2503 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2505         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2507 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2509         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2511 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2513         [BZ #21537]
2514         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2515         Check SHARED instead of PIC.
2516         (SYSCALL_PIC_SETUP): Add missing semicolons.
2517         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2518         Check SHARED instead of PIC.
2519         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2520         (__makecontext_ret): Adjust code to jump to exit.
2522 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2524         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2525         Simplify code by always using SVC 0 instead of EX.
2526         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2528 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2530         * elf/Versions (ld): Remove _dl_out_of_memory.
2532 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2534         * timezone/private.h: Update from tzcode 2017b.
2535         * timezone/tzfile.h: Likewise.
2536         * timezone/tzselect.ksh: Likewise.
2537         * timezone/zdump.c: Likewise.
2538         * timezone/zic.c: Likewise.
2539         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2540         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2541         * time/tzset.c (SECSPERDAY): New macro.
2543 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2545         * manual/string.texi (strdup): Complete header and standards
2546         annotation.
2547         (strncpy): Likewise.
2549 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2551         * manual/arith.texi (FP_NAN): Add or complete header and standard
2552         annotations.
2553         (FP_INFINITE): Likewise.
2554         (FP_ZERO): Likewise.
2555         (FP_SUBNORMAL): Likewise.
2556         (FP_NORMAL): Likewise.
2557         (SNAN): Likewise.
2558         (SNANL): Likewise.
2559         (totalorderf): Likewise.
2560         (totalorderl): Likewise.
2561         (totalordermagf): Likewise.
2562         (totalordermagl): Likewise.
2563         (_Complex_I): Likewise.
2564         (I): Likewise.
2566 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2568         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2569         standard annotation.
2570         (ARGP_HELP_SHORT_USAGE): Likewise.
2571         (ARGP_HELP_SEE): Likewise.
2572         (ARGP_HELP_LONG): Likewise.
2573         (ARGP_HELP_PRE_DOC): Likewise.
2574         (ARGP_HELP_POST_DOC): Likewise.
2575         (ARGP_HELP_DOC): Likewise.
2576         (ARGP_HELP_BUG_ADDR): Likewise.
2577         (ARGP_HELP_LONG_ONLY): Likewise.
2578         (ARGP_HELP_EXIT_ERR): Likewise.
2579         (ARGP_HELP_EXIT_OK): Likewise.
2580         (ARGP_HELP_STD_ERR): Likewise.
2581         (ARGP_HELP_STD_USAGE): Likewise.
2582         (ARGP_HELP_STD_HELP): Likewise.
2584 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2586         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2587         use of the C locale.  Update Perl dependency comment.
2588         * manual/header.texi: Update reference to summary.awk.
2589         * manual/macros.texi: Refer authors to `summary.pl --help'.
2590         * manual/summary.awk: Remove file.
2591         * manual/summary.pl: New file.  Generate summary.texi, and check
2592         for @standards-related syntax errors.
2593         * manual/argp.texi: Convert header and standards @comments to
2594         @standards.
2595         * manual/arith.texi: Likewise.
2596         * manual/charset.texi: Likewise.
2597         * manual/conf.texi: Likewise.
2598         * manual/creature.texi: Likewise.
2599         * manual/crypt.texi: Likewise.
2600         * manual/ctype.texi: Likewise.
2601         * manual/debug.texi: Likewise.
2602         * manual/errno.texi: Likewise.
2603         * manual/filesys.texi: Likewise.
2604         * manual/getopt.texi: Likewise.
2605         * manual/job.texi: Likewise.
2606         * manual/lang.texi: Likewise.
2607         * manual/llio.texi: Likewise.
2608         * manual/locale.texi: Likewise.
2609         * manual/math.texi: Likewise.
2610         * manual/memory.texi: Likewise.
2611         * manual/message.texi: Likewise.
2612         * manual/pattern.texi: Likewise.
2613         * manual/pipe.texi: Likewise.
2614         * manual/process.texi: Likewise.
2615         * manual/resource.texi: Likewise.
2616         * manual/search.texi: Likewise.
2617         * manual/setjmp.texi: Likewise.
2618         * manual/signal.texi: Likewise.
2619         * manual/socket.texi: Likewise.
2620         * manual/startup.texi: Likewise.
2621         * manual/stdio.texi: Likewise.
2622         * manual/string.texi: Likewise.
2623         * manual/sysinfo.texi: Likewise.
2624         * manual/syslog.texi: Likewise.
2625         * manual/terminal.texi: Likewise.
2626         * manual/threads.texi: Likewise.
2627         * manual/time.texi: Likewise.
2628         * manual/users.texi: Likewise.
2630 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2632         * manual/macros.texi (@standards): New macro.  Provide placeholder
2633         for header and standards annotations.
2634         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2636 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2638         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2639         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2640         rule.
2641         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2642         sync_file_range.
2644          * support/support_test_main.c (support_test_main):  Use optstring
2645          member for option string in getopt_long.
2646          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2647          (CMDLINE_OPTSTRING): New define.
2648          * support/test-driver.h (test_config): Add optstring member.
2650 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2653         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2654         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2655         Check USE_AS_STRPBRK instead of STRPBRK_P.
2656         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2657         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2658         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2659         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2660         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2661         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2662         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2663         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2664         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2665         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2666         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2667         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2668         and "#endif".
2670 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2672         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2673         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2675 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2677         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2678         strcat-sse2.
2679         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2680         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2681         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2682         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2683         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2685 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2686             Erich Elsen  <eriche@google.com>
2688         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2689         memcmp-sse2.
2690         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2691         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2692         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2693         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2694         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2695         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2697 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2698             Erich Elsen  <eriche@google.com>
2700         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2701         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2703         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2704         Update comments.
2705         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2706         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2707         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2708         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2709         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2710         * sysdeps/x86_64/multiarch/memset.S: Removed.
2711         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2712         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2713         (__memset_chk_erms): New function.
2715 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2717         * configure.ac(--enable-tunables): Enable by default.
2718         * configure: Regenerate.
2719         * NEWS: Mention change.
2720         * manual/install.texi (enable-tunables): Adjust documentation.
2721         * INSTALL: Regenerate.
2723 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2725         [BZ #18988]
2726         * benchtests/thread_create-inputs: New file.
2727         * benchtests/thread_create-source.c: Likewise.
2728         * support/xpthread_attr_setguardsize.c: Likewise.
2729         * support/Makefile (libsupport-routines): Add
2730         xpthread_attr_setguardsize object.
2731         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2732         * benchtests/Makefile (bench-pthread): Add thread_create.
2733         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2734         then mprotect the required area.
2735         (guard_position): New function.
2736         (setup_stack_prot): Likewise.
2738 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2739             Erich Elsen  <eriche@google.com>
2740             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2742         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2743         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2744         mempcpy_chk-nonshared and memmove_chk-nonshared.
2745         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2746         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2747         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2748         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2749         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2750         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2751         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2752         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2753         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2754         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2755         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2756         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2757         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2758         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2759         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2760         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2761         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2762         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2763         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2764         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2765         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2766         (__mempcpy_chk_erms): New function.
2767         (__memmove_chk_erms): Likewise.
2768         (__memcpy_chk_erms): New alias.
2770 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2772         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2773         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2775 2017-06-14  Zack Weinberg  <zackw@panix.com>
2777         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2778         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2779         defined, don't declare anything other than the E-constants.
2781         * include/errno.h: Change conditional for exposing internal
2782         declarations to (not _ISOMAC and not __ASSEMBLER__).
2783         * bits/errno.h: Remove logic for __need_Emath.  Document
2784         requirements for a port-specific bits/errno.h.
2786         * sysdeps/unix/sysv/linux/bits/errno.h
2787         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2788         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2789         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2790         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2791         Add multiple-include guard and check against improper inclusion.
2792         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2793         constants are defined as simple integer literals.  Consistent
2794         formatting.
2795         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2796         enum __error_t_codes if __ASSEMBLER__ is not defined.
2797         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2799         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2800         including errno.h.
2801         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2802         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2803         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2804         * sysdeps/x86_64/fpu/s_cosf.S
2805         * sysdeps/x86_64/fpu/s_sincosf.S
2806         * sysdeps/x86_64/fpu/s_sinf.S:
2807         Just include errno.h; don't define __need_Emath or include
2808         bits/errno.h directly.
2810 2017-06-14  Zack Weinberg  <zackw@panix.com>
2812         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2813         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2814         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2816         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2817         for IOV_MAX.
2818         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2819         Don't install bits/uio.h.
2820         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2821         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2822         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2824         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2825         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2826         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2828         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2829         Include bits/types/struct_iovec.h, not bits/uio.h.
2830         Use __ssize_t, not ssize_t, in function prototypes.
2831         Don't use hard TAB for double space after period in comments.
2833 2017-06-14  Alan Modra  <amodra@gmail.com>
2835         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2836         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2837         refsym and sym parameters.  Adjust callers.
2838         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2839         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2840         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2841         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2842         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2843         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2844         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2845         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2846         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2847         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2848         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2849         Likewise.
2850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2851         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2852         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2853         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2854         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2855         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2856         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2857         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2858         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2859         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2860         Delete reloc param, add refsym and sym.  Check optimized plt
2861         call stubs for localentry:0 functions.  Adjust callers.
2862         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2863         and sym parameters.  Adjust callers.
2864         (_dl_reloc_overflow): Move attribute.
2865         (_dl_error_localentry): Declare.
2866         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2867         refsym and sym to elf_machine_fixup_plt.
2868         * elf/testobj6.c (preload): Call printf.
2870 2017-06-14  Alan Modra  <amodra@gmail.com>
2872         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2873         (NOPS, ENTRY_3): New macros.
2874         (ENTRY): Rewrite.
2875         (ENTRY_TOCLESS): Define.
2876         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2877         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2878         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2879         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2880         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2881         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2882         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2883         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2884         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2886         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2887         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2888         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2889         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2890         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2891         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2892         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2893         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2894         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2895         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2896         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2897         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2898         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2899         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2900         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2901         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2902         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2903         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2904         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2905         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2906         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2907         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2908         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2909         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2910         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2911         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2912         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2913         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2914         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2915         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2916         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2917         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2918         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2919         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2920         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2921         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2922         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2923         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2924         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2925         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2926         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2927         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2928         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2929         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2930         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2931         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2933         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2935         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2936         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2937         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2938         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2939         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2940         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2941         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2943         Likewise.
2944         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2945         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2946         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2947         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2948         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2949         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2950         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2951         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2952         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2955         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2956         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2957         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2958         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2959         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2960         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2961         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2962         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2963         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2964         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2965         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2966         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2967         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2968         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2969         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2970         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2971         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2972         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2973         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2974         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2975         add nop when SHARED.
2976         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2977         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2978         define.
2979         (ENTRY_TOCLESS): Define.
2980         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2981         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2982         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2984 2017-06-14  Alan Modra  <amodra@gmail.com>
2986         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2987         MEMSET_is_local.
2988         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2989         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2991         Define MEMSET.
2992         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2993         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2994         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2995         nop after local calls.
2996         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2997         Don't add nop after local call.
2998         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2999         CALL_MCOUNT.
3001 2017-06-14  Alan Modra  <amodra@gmail.com>
3003         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
3004         (FUNC_LABEL): Rename from DOT_LABEL.
3005         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
3006         Use .p2align rather than .align.
3007         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
3008         (ABORT_TRANSACTION): Likewise.
3009         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
3010         particularly at end.  Add semicolon at invocation as necessary.
3011         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
3012         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
3013         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
3014         END): Adjust to suit.
3016 2017-06-14  Alan Modra  <amodra@gmail.com>
3018         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
3019         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
3020         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3021         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3022         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
3023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
3024         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
3026 2017-06-14  Alan Modra  <amodra@gmail.com>
3028         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
3029         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
3031 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
3033         [BZ #21548]
3034         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
3035         8 and use it when copying general purpose registers.
3036         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
3037         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
3038         mips o32.
3039         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
3040         new test for mips o32.
3041         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
3042         8 and use it when copying general purpose registers.
3043         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
3045 2017-06-13  Florian Weimer  <fweimer@redhat.com>
3047         * configure.ac (find_cxx_header): Suppress compiler error message.
3049 2017-06-13  Florian Weimer  <fweimer@redhat.com>
3051         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
3052         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
3053         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
3054         begin/end.
3055         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
3056         dynarray_int_end.
3057         (test_str): Test dynarray_str_begin, dynarray_str_end.
3059 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
3061         [BZ #21573]
3062         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
3063         $(common-objpfx)bits/std_abs.h.
3064         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
3065         New target.
3066         * config.make.in (c++-bits-std_abs-h): New.
3067         * configure.ac (find_cxx_header): Use "\,$1," with sed.
3068         (CXX_BITS_STD_ABS_H): New.
3069         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
3070         * configure: Regenerated.
3072 2017-06-13  Zack Weinberg  <zackw@panix.com>
3074         * posix/bits/cpu-set.h: Correct indentation of preprocessor
3075         directives.
3077 2017-06-12  Zack Weinberg  <zackw@panix.com>
3079         * bits/sched.h: Remove __need_schedparam logic and replace with a
3080         normal multiple-include guard.  Change field name in struct
3081         sched_param from __sched_priority to sched_priority.  Delete
3082         everything under #ifndef __cpu_set_t_defined.
3083         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
3084         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
3086         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
3087         For compatibility, #define sched_priority to itself, and #define
3088         __sched_priority as sched_priority.
3089         * posix/bits/cpu-set.h: New file containing, verbatim, the code
3090         that was under #ifndef __cpu_set_t_defined in
3091         sysdeps/unix/sysv/linux/bits/sched.h.
3092         * include/bits/cpu-set.h: New wrapper.
3093         * posix/Makefile: Install bits/cpu-set.h.
3095 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3096             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3097             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3099         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
3100         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
3101         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
3102         * math/libm-test-isfinite.inc (finite_test): Likewise.
3103         * math/libm-test-lgamma.inc (gamma_test): Likewise.
3104         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
3105         (nexttoward_test_data}: Likewise.
3106         * math/libm-test-remainder.inc (drem_test): Likewise.
3107         * math/libm-test-scalb.inc (scalb_test): Likewise.
3108         (scalb_test_data): Likewise.
3109         * math/libm-test-significand.inc (significand_test): Likewise.
3110         (significand_test_data): Likewise.
3111         * math/libm-test-support.c (check_complex): Replace __complex__
3112         FLOAT with CFLOAT to get the support for old compiler.
3113         * math/libm-test-support.h (check_complex): Likewise.
3114         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
3115         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
3116         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
3117         * math/test-float128.h: New file.
3118         * math/test-math-floatn.h: New file.
3120 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3122         * include/float.h: Allow the definition of macros prefixed with
3123         FLT128 even if _ISOMAC is defined, but provided that
3124         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
3126 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3128         * manual/math.texi (Mathematics): Add description for _FloatN and
3129         _FloatNx types and mentions that they are not support in glibc for
3130         any architecture, so far.
3131         * manual/arith.texi (wcstof, wcstold): Replace the mention to
3132         stdlib.h with wchar.h.
3133         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
3134         (Printing of Floats): Add description for strfromfN.
3136 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3137             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3138             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3140         * include/gmp.h (__mpn_construct_float128): New declaration.
3141         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
3142         (__strtof128_l): New declaration.
3143         (__strtof128_nan): Likewise.
3144         (__wcstof128_nan): Likewise.
3145         (__strtof128_internal): Likewise.
3146         (____strtof128_l_internal): Likewise.
3147         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
3148         (__wcstof128_l): New declaration.
3149         (__wcstof128_internal): Likewise.
3151         * stdlib/Makefile (bug-strtod2): Link libm too.
3153         * stdlib/stdlib.h (strtof128): New declaration.
3154         (strtof128_l): Likewise.
3156         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
3157         tst-strtod.h macros to ensure float128 gets tested too.
3159         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3161         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3162         tests.
3163         (IF_FLOAT128): New macro.
3164         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3165         the tests.
3166         (STRTOD_TEST_FOREACH): Likewise.
3168         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3169         wcstof128 functions into libc.
3171         * sysdeps/ieee754/float128/Versions: Add exports for the above
3172         new functions.
3174         * sysdeps/ieee754/float128/mpn2float128.c: New file.
3175         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3176         * sysdeps/ieee754/float128/strtof128.c: New file.
3177         * sysdeps/ieee754/float128/strtof128_l.c: New file.
3178         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3179         * sysdeps/ieee754/float128/wcstof128.c: New file.
3180         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3181         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3182         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3183         (CFLAGS-wcstof128_l): Likewise.
3185         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3186         (wcstof128): New declaration.
3187         (wcstof128_l): Likewise.
3189 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
3191         [BZ #21552]
3192         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3193         not [__USE_XOPEN].
3194         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3196         [BZ #21550]
3197         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3199 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3201         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3202         strcpy-sse2 and stpcpy-sse2.
3203         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3204         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3205         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3206         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3207         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3208         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3209         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3210         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3211         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3212         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3213         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3214         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3215         (libc_hidden_def): Always defined as empty.
3216         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3217         Always Defined as empty.
3219 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3221         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3223 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3225         [BZ #15105]
3226         [BZ #19463]
3227         * include/string.h: Add internal redirect for __stpcpy.
3228         * string/Makefile: Remove bits/string2.h.
3229         * string/string.h: Update comment.
3230         * string/string-inlines.c: Remove bits/string2.h include and comment.
3231         * string/bits/string2.h: Remove file.
3233 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3235         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3236         * sunrpc/clnt_gen.c (clnt_create): Likewise.
3237         * sunrpc/des_impl.c (_des_crypt): Likewise.
3238         * sunrpc/key_call.c (key_gendes): Likewise.
3239         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3240         * sunrpc/svc_simple.c (universal): Likewise.
3241         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3242         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3243         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3245 2017-06-10  Zack Weinberg  <zackw@panix.com>
3247         * stdlib/errno.h: Correct an outdated comment.
3249 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
3251         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3252         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3253         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3254         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3255         New file.  Invoke newly supported sysconf values for powerpc,
3256         and report results.  If none are supported, report so.
3257         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
3258         tst-sysconf.
3260 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3262         * include/sys/auxv.h (__getauxval): Add a prototype and its
3263         libc_hidden_proto.
3264         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3266 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3268         [BZ #21561]
3269         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3270         [__USE_XOPEN_EXTENDED].
3271         (id_t): Likewise.
3272         (include of <bits/types/siginfo_t.h): Likewise.
3273         (waitid): Likewise.
3274         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3275         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3276         (WEXITED): Likewise.
3277         (WCONTINUED): Likewise.
3278         (WNOWAIT): Likewise.
3279         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3280         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3281         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3283         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3284         libc.so PLT entry optional.
3285         (__gtsf2): Likewise.
3286         (__unorddf2): Likewise.
3287         (__unordsf2): Likewise.
3288         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3289         New optional libc.so PLT entry.
3291         [BZ #21554]
3292         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3293         not [__USE_XOPEN].
3295         [BZ #21560]
3296         * posix/sys/wait.h: Condition include of <signal.h> on
3297         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3298         unconditionally.
3299         [!__pid_t_defined] (pid_t): Define typedef.
3301 2017-06-09  Zack Weinberg  <zackw@panix.com>
3303         * include/errno.h (__errno_location): Use __attribute_const__
3304         instead of bare __attribute__.
3306 2017-06-09  Zack Weinberg  <zackw@panix.com>
3308         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3309         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3310         more appropriate location. Also add dl-tunable-list.h and
3311         dl-tunable-list.stmp.
3313 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3315         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3317 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3319         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3320         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3321         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3322         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3323         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3324         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3325         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3326         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3327         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3328         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3329         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3331 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3333         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3334         memrchr-sse2 and memrchr-avx2.
3335         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3336         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3337         __memrchr_sse2.
3338         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3339         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3340         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3342 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3345         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3346         wcschr-sse2 and wcschr-avx2.
3347         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3348         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3349         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3350         __wcschr_sse2.
3351         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3352         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3353         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3354         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3355         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3356         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3357         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3358         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3359         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3360         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3362 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3365         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3366         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3367         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3368         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3369         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3370         __wcslen_sse2 and __wcsnlen_avx2.
3371         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3372         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3373         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3374         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3375         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3376         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3377         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3378         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3379         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3380         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3381         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3382         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3383         vzeroupper is preferred and AVX unaligned load is fast.
3385 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3387         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3388         USE_AS_WMEMCHR is defined.
3389         (PCMPEQ): Likewise.
3390         (memchr): Renamed to ...
3391         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3392         Replace pcmpeqb with PCMPEQ.
3393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3394         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3395         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3396         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3397         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3398         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3399         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3400         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3401         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3402         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3403         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3404         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3405         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3406         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3407         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3408         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3409         __wmemchr_sse2.
3411 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3413         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3414         tst-dynarray-fail.
3416 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3418         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3419         * support/support_test_verify_impl.c
3420         (support_test_verify_exit_impl): Split from
3421         support_test_verify_impl.
3422         * support/check.h (TEST_VERIFY): Drop status argument from
3423         support_test_verify_impl call.
3424         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3425         (support_test_verify_impl): Remove status argument.
3426         (support_test_verify_exit_impl): Declare.
3428 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3430         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3431         mention of magic numbers in comments.
3432         (_dl_procinfo): Fix undefined behavior
3434 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3436         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3437         [XPG4].
3438         (WEXITED): Likewise.
3439         (WSTOPPED): Likewise.
3440         (WCONTINUED): Likewise.
3441         (WNOHANG): Likewise.
3442         (WNOWAIT): Likewise.
3443         (idtype_t): Likewise.
3444         (P_ALL): Likewise.
3445         (P_PID): Likewise.
3446         (P_PGID): Likewise.
3447         (id_t): Likewise.
3448         (siginfo_t): Likewise.
3449         (wait3): Likewise.
3450         (waitid): Likewise.
3451         (signal.h): Do not allow header for [XPG4].
3452         (sys/resource.h): Likewise.
3453         (si_*): Do not allow for [XPG4].
3454         (W*): Likewise.
3455         (P_*): Likewise.
3456         (BUS_): Likewise.
3457         (CLD_): Likewise.
3458         (FPE_): Likewise.
3459         (ILL_): Likewise.
3460         (POLL_): Likewise.
3461         (SEGV_): Likewise.
3462         (SI_): Likewise.
3463         (TRAP_): Likewise.
3464         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3465         variable.
3467 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3469         [BZ #21528]
3470         * elf/dl-minimal.c (__strtoul_internal): Removed.
3471         (strtoul): Likewise.
3472         * elf/dl-misc.c (_dl_strtoul): New function.
3473         * elf/dl-tunables.c (tunables_strtoul): Removed.
3474         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3475         * elf/rtld.c (process_envvars): Likewise.
3476         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3477         Likewise.
3478         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3480 2017-06-08  Zack Weinberg  <zackw@panix.com>
3482         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3483         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3484         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3485         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3486         between wctype.h and wchar.h.
3488         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3489         Install them.
3491         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3492         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3493         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3494         New wrappers.
3495         * include/stdio.h, include/wchar.h, include/wctype.h:
3496         No need to handle __need macros.
3498         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3499         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3500         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3501         * wcsmbs/wchar.h, wctype/wctype.h
3502         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3503         Use the new files instead of __need macros.
3505 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3507         * string/test-memrchr.c (test_main): Add tests for len == 0
3508         and tests for positions close to the beginning, which are
3509         equivalent to positions close to the end for memchr.
3511 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3513         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3514         comments.
3515         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3516         instead of wmemset.h.
3517         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3518         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3519         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3521 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3523         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3524         spec->info.is_binary128 to zero.
3525         * stdio-common/printf.h (printf_info): Add new member is_binary128
3526         to indicate that the number being converted to string is compatible
3527         with the IEC 60559 binary128 format.
3528         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3529         _Float128 numbers.
3530         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3531         ldbl-128/printf_fphex_macros.h
3532         (__printf_fphex): Add code to deal with _Float128 numbers.
3533         * stdio-common/printf_size.c (__printf_size): Likewise.
3534         * stdio-common/vfprintf.c (process_arg): Initialize member
3535         info.is_binary128 to zero.
3536         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3537         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3538         (strfromf128): New declaration.
3539         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3540         to one.
3541         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3542         * sysdeps/ieee754/float128/Versions: Likewise.
3543         * sysdeps/ieee754/float128/strfromf128.c: New file.
3545 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3547         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3548         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3549         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3550         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3551         (PRINT_FPHEX): New function-like macro that can be used for long
3552         double, as well as for _Float128
3554 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3556         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3557         (__printf_fp_l): Use the new macro to avoid duplicating code.
3558         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3559         (__printf_fphex): Use the new macro to avoid duplicating code.
3560         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3561         (__printf_size): Use the new macro to avoid duplicating code.
3563 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3565         * include/gmp.h: Include bits/floatn.h
3566         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3567         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3568         including stack-alloc.h.  It could have been defined by other header
3569         which not necessarily defines HAVE_ALLOCA.
3570         * sysdeps/ieee754/float128/Makefile: New file.
3571         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3572         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3573         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3574         redefine __mpn_extract_long_double to __mpn_extract_float128.
3575         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3576         _Float128 to allow float128_private.h overrides.
3578 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3580         * stdlib/fpioconst.h: Include bits/floatn.h.
3581         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3582         power of ten table should be.
3583         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3584         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3585         to include larger tables when _Float128 support is enabled.
3586         (_fpioconst_pow10): Likewise.
3588 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3590         * include/bits/types/clock_t.h: Use #include <path> instead of
3591         #include "../../path".
3592         * include/bits/types/clockid_t.h: Likewise.
3593         * include/bits/types/struct_iovec.h: Likewise.
3594         * include/bits/types/struct_itimerspec.h: Likewise.
3595         * include/bits/types/struct_osockaddr.h: Likewise.
3596         * include/bits/types/struct_sigstack.h: Likewise.
3597         * include/bits/types/struct_timespec.h: Likewise.
3598         * include/bits/types/struct_timeval.h: Likewise.
3599         * include/bits/types/struct_tm.h: Likewise.
3600         * include/bits/types/time_t.h: Likewise.
3601         * include/bits/types/timer_t.h: Likewise.
3603         [BZ #14096]
3604         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3605         America/New_York.
3607 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3609         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3610         into ...
3611         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3612         ifunc-sse4_1.h.
3614 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3616         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3617         Remove check for NULL 'buf'.
3618         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3620 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3622         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3623         include test-skeleton.c.
3624         Include support/check.h and support/test-driver.c.
3626 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3628         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3629         (_dl_aarch64_cap_flags): New array.
3630         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3631         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3632         functions.
3634         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3635         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3636         Likewise.
3637         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3638         up hwcap and hwcap_mask.
3640         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3641         (init_cpu_features): Use glibc.tune.hwcap_mask.
3642         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3644         * elf/dl-hwcaps.h: New file.
3645         * elf/dl-hwcaps.c: Include it.
3646         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3647         glibc.tune.hwcap_mask.
3648         * elf/dl-cache.c: Include dl-hwcaps.h.
3649         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3650         glibc.tune.hwcap_mask.
3651         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3652         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3653         _dl_hwcap_mask.
3654         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3655         _dl_hwcap_mask.
3656         (process_envvars)[HAVE_TUNABLES]: Likewise.
3657         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3658         Likewise.
3659         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3660         initialize dl_hwcap_mask when tunables are enabled.
3662         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3663         guard.
3664         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3666         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3667         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3668         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3670         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3671         * elf/dl-tunables.c: Likewise.
3672         (do_tunable_update_val): New function.
3673         (__tunable_set_val): New function.
3674         (__tunable_get_val): Call CB only if the tunable was externally
3675         initialized.
3676         (tunables_strtoul): Replace strval with initialized.
3677         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3678         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3679         prevent collision.
3680         (__tunable_set_val): New function.
3681         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3682         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3683         (TUNABLE_SET_VAL): Remove.
3684         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3685         * README.tunables: Document the new macros.
3686         * malloc/arena.c (ptmalloc_init): Adjust.
3688 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3690         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3691         wcsnlen-sse4_1 and wcsnlen-c.
3692         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3693         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3694         __wcsnlen_sse2.
3695         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3696         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3697         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3698         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3699         * sysdeps/x86_64/wcsnlen.S: Removed.
3701 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3703         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3704         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3705         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3706         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3708 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3710         * NEWS: Mention new spinlock implementation.
3711         * include/atomic.h:
3712         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3713         (atomic_exchange_acq): Likewise.
3714         (atomic_load_relaxed): Likewise.
3715         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3716         * nptl/pthread_spin_init.c (pthread_spin_init):
3717         Use atomic_store_relaxed.
3718         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3719         Use C11-like atomic macros.
3720         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3721         Likewise.
3722         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3723         Use atomic_store_release.
3724         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3725         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3726         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3727         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3728         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3729         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3730         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3731         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3732         * sysdeps/alpha/atomic-machine.h: Likewise.
3733         * sysdeps/arm/atomic-machine.h: Likewise.
3734         * sysdeps/i386/atomic-machine.h: Likewise.
3735         * sysdeps/ia64/atomic-machine.h: Likewise.
3736         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3737         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3738         * sysdeps/microblaze/atomic-machine.h: Likewise.
3739         * sysdeps/mips/atomic-machine.h: Likewise.
3740         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3741         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3742         * sysdeps/s390/atomic-machine.h: Likewise.
3743         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3744         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3745         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3746         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3747         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3748         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3749         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3750         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3751         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3752         * sysdeps/x86_64/atomic-machine.h: Likewise.
3754 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3756         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3757         and use it instead of dl_x86_cpu_features.
3758         (handle_intel): Replace maxidx with cpu_features.  Pass
3759         cpu_features to intel_check_word.
3760         (__cache_sysconf): Pass cpu_features to handle_intel.
3761         (init_cacheinfo): Likewise.  Use cpu_features instead of
3762         dl_x86_cpu_features.
3764 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3766         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3767         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3768         memcmp-avx2 and wmemcmp-avx2.
3769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3770         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3771         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3772         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3773         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3774         2 machines if AVX unaligned load is fast and vzeroupper is
3775         preferred.
3776         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3777         2 machines if AVX unaligned load is fast and vzeroupper is
3778         preferred.
3780 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3782         * include/wchar.h (__wmemset_chk): New.
3783         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3784         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3785         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3786         (WMEMSET_CHK_SYMBOL): Likewise.
3787         (WMEMSET_SYMBOL): Likewise.
3788         (__wmemset): Add hidden definition.
3789         (wmemset): Add weak hidden definition.
3790         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3791         wmemset_chk-nonshared.
3792         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3793         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3794         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3795         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3796         and __wmemset_chk_avx512_unaligned.
3797         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3798         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3799         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3800         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3801         (WMEMSET_SYMBOL): Likewise.
3802         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3803         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3804         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3805         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3806         (WMEMSET_SYMBOL): Likewise.
3807         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3808         (WMEMSET_CHK_SYMBOL): New.
3809         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3810         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3811         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3812         (libc_hidden_builtin_def): Also define __GI_wmemset and
3813         __GI___wmemset.
3814         (weak_alias): New.
3815         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3816         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3817         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3818         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3819         * sysdeps/x86_64/wmemset.c: Likewise.
3820         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3822 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3823             H.J. Lu  <hongjiu.lu@intel.com>
3825         * sysdeps/x86/init-arch.h (PASTER1): New.
3826         (EVALUATOR1): Likewise.
3827         (PASTER2): Likewise.
3828         (EVALUATOR2): Likewise.
3829         (REDIRECT_NAME): Likewise.
3830         (OPTIMIZE): Likewise.
3831         (IFUNC_SELECTOR): Likewise.
3833 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3835         * sysdeps/x86_64/strlen.S (PMINU): New.
3836         (PCMPEQ): Likewise.
3837         (SHIFT_RETURN): Likewise.
3838         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3839         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3840         pminub with PCMPEQ and PMINU.
3841         * sysdeps/x86_64/wcsnlen.S: New file.
3843 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3845         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3846         the lower 32 bits.  Remove redundant instructions.
3848 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3851         0 as the high part of offset.
3852         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3854 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3856         [BZ #21538]
3857         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3858         [__USE_UNIX98].
3859         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3860         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3861         Likewise.
3862         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3863         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3864         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3865         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3866         Likewise.
3868         [BZ #21517]
3869         * bits/types/stack_t.h (stack_t): Remove struct tag.
3870         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3871         Likewise.
3872         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3873         Likewise.
3874         * debug/segfault.c (install_handler): Use stack_t instead of
3875         struct sigaltstack.
3876         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3877         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3878         * include/signal.h (__sigaltstack): Likwise.
3879         * signal/sigaltstack.c (__sigaltstack): Likewise.
3880         * signal/signal.h (sigaltstack): Likewise.
3881         * sysdeps/mach/hurd/i386/signal-defines.sym
3882         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3883         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3884         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3885         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3886         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3887         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3888         elf_prstatus): Likewise.
3889         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3890         Likewise.
3891         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3892         Likewise.
3893         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3894         Likewise.
3895         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3896         elf_prstatus): Likewise.
3897         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3898         Likewise.
3899         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3900         Likewise.
3902 2017-06-04  Zack Weinberg  <zackw@panix.com>
3904         * sysdeps/gnu/errlist.c: Regenerate.
3906 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3908         * benchtests/bench-memchr.c (do_test): Print out both length
3909         and position.
3910         (test_main): Also test the position close to the beginning for
3911         memrchr.
3913 2017-06-04  Zack Weinberg  <zackw@panix.com>
3915         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3916         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3917         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3918         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3919         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3920         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3921         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3922         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3923         * nis/nis_print_group_entry.c, nis/nis_remove.c
3924         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3925         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3926         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3927         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3928         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3929         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3930         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3931         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3932         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3933         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3934         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3935         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3936         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3937         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3938         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3939         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3940         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3941         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3942         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3943         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3945         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3946         abi-versions.h as well as shlib-compat.h.
3947         * sunrpc/get_myaddr.c: Remove obsolete comment.
3948         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3949         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3950         * resolv/res_libc.c: Include shlib-compat.h only once.
3952 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3955         of strdup.
3957 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3959         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3960         Set to the 3/4 of the total shared cache size.
3962 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3964         * manual/errno.texi: Remove redundant error strings.
3965         * manual/macros.texi (@errno): Render the error string in every
3966         description.
3968 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3970         [BZ #21543]
3971         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3972         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3973         [__USE_XOPEN_EXTENDED].
3975 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3977         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3978         strdupa.
3979         (getcanonname): Use __strdup instead of strdup.
3981 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3983         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3984         (CFLAGS-preadv64v2.c): Likewise.
3985         (CFLAGS-pwritev2.c): Likewise.
3986         (CFLAGS-pwritev64v2.c): Likewise.
3988 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3990         Test res_init with several configuration files.
3991         * resolv/Makefile [build-shared] (tests-internal): Add
3992         tst-resolv-res_init, tst-resolv-res_init-thread.
3993         (tst-resolv-res_init): Link against libdl, libresolv.
3994         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3995         libpthread.
3996         * resolv/tst-resolv-res_init.c: New file.
3997         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3998         * resolv/tst-resolv-res_init-thread.c: Likewise.
3999         * support/Makefile (libsupport-routines): Add support-xstat,
4000         support_can_chroot, support_capture_subprocess_check,
4001         support_isolate_in_subprocess, support_shared_allocate,
4002         support_write_file_string, xchroot, xmkdir, xopen.
4003         * support/capture_subprocess.h (enum support_capture_allow): Define.
4004         (support_capture_subprocess_check): Declare.
4005         * support/namespace.h (support_can_chroot)
4006         (support_isolate_in_subprocess): Declare.
4007         * support/support-xstat.c: New file.
4008         * support/support.h (support_shared_allocate, support_shared_free)
4009         (support_write_file_string): Declare.
4010         * support/support_can_chroot.c: New file.
4011         * support/support_capture_subprocess_check.c: Likewise.
4012         * support/support_isolate_in_subprocess.c: Likewise.
4013         * support/support_shared_allocate.c: Likewise.
4014         * support/support_write_file_string.c: Likewise.
4015         * support/xchroot.c: Likwise.
4016         * support/xmkdir.c: Likwise.
4017         * support/xopen.c: Likwise.
4018         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
4020 2017-06-02  Florian Weimer  <fweimer@redhat.com>
4022         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
4023         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
4025 2017-06-02  Florian Weimer  <fweimer@redhat.com>
4027         * malloc/Makefile (routines): Add dynarray_at_failure,
4028         dynarray_emplace_enlarge, dynarray_finalize.
4029         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
4030         tst-dynarray-at-fail.
4031         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
4032         (tests-special): Add tst-dynarray-mem.out,
4033         tst-dynarray-mem-fail.out.
4034         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
4035         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
4036         mtrace.
4037         * malloc/Versions (__libc_dynarray_at_failure)
4038         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
4039         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
4040         GLIBC_PRIVATE.
4041         * malloc/dynarray.h: New file.
4042         * malloc/dynarray-skeleton.c: Likewise.
4043         * malloc/dynarray_at_failure.c: Likewise.
4044         * malloc/dynarray_emplace_enlarge.c: Likewise.
4045         * malloc/dynarray_finalize.c: Likewise.
4046         * malloc/dynarray_resize.c: Likewise.
4047         * malloc/dynarray_resize_clear.c: Likewise.
4048         * malloc/tst-dynarray.c: Likewise.
4049         * malloc/tst-dynarray-fail.c: Likewise.
4050         * malloc/tst-dynarray-at-fail.c: Likewise.
4051         * malloc/tst-dynarray-shared.h: Likewise.
4052         * support/Makefile (libsupport-routines): Add
4053         support_capture_subprocess, xdup2, xpipe.
4054         (tests): Add tst-support_capture_subprocess.
4055         * support/capture_subprocess.h: New file.
4056         * support/support_capture_subprocess.c: Likewise.
4057         * support/tst-support_capture_subprocess.c: Likewise.
4058         * support/xdup2.c: Likewise.
4059         * support/xpipe.c: Likewise.
4060         * support/xunistd.h (xdup2, xpipe): Declare.
4062 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4064         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
4065         macros MAX and MIN.
4067 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
4069         * conform/data/signal.h-data (sa_sigaction): Do not expect for
4070         [XPG4].
4071         (SA_SIGINFO): Likewise.
4072         (SA_ONSTACK): Likewise.
4073         (SA_RESETHAND): Likewise.
4074         (SA_RESTART): Likewise.
4075         (SA_NOCLDWAIT): Likewise.
4076         (SA_NODEFER): Likewise.
4077         (SS_ONSTACK): Likewise.
4078         (SS_DISABLE): Likewise.
4079         (MINSIGSTKSZ): Likewise.
4080         (SIGSTKSZ): Likewise.
4081         (ucontext_t): Likewise.
4082         (stack_t): Likewise.
4083         (struct sigstack): Likewise.
4084         (SI_USER): Do not expect for [XPG4 || XPG42].
4085         (SI_QUEUE): Likewise.
4086         (SI_TIMER): Likewise.
4087         (SI_ASYNCIO): Likewise.
4088         (SI_MESGQ): Likewise.
4089         (bsd_signal): Do not expect for [XPG4].
4090         (killpg): Likewise.
4091         (sigaltstack): Likewise.
4092         (sighold): Likewise.
4093         (sigignore): Likewise.
4094         (siginterrupt): Likewise.
4095         (sigpause): Likewise.
4096         (sigrelse): Likewise.
4097         (sigset): Likewise.
4098         (sigwait): Do not expect for [XPG4 || XPG42].
4100 2017-06-01  Zack Weinberg  <zackw@panix.com>
4102         [BZ #21514]
4103         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
4104         pointing to the generated file in <builddir>/misc/bits/syscall.h.
4106 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
4108         [BZ #21457]
4109         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
4110         NGREG to __NGREG if [__USE_MISC].
4111         (gregset_t): Define using __NGREG.
4112         (__ctx): New macro.
4113         (mcontext_t): Use __ctx in defining fields.
4114         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
4115         define NGREG to __NGREG if [__USE_MISC].
4116         (gregset_t): Define using __NGREG.
4117         (__ctx): New macro.
4118         (__ctxt): Likewise.
4119         (fpregset_t): Use __ctx and __ctxt in defining fields.
4120         (mcontext_t): Likewise.
4121         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
4122         define NGREG to __NGREG if [__USE_MISC].
4123         (gregset_t): Define using __NGREG.
4124         (__ctx): New macro.
4125         (mcontext_t): Use __ctx in defining fields.
4126         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
4127         define NGREG to __NGREG if [__USE_MISC].
4128         (gregset_t): Define using __NGREG.
4129         (__ctx): New macro.
4130         (fpregset_t): Use __ctx in defining fields.
4131         (mcontext_t): Likewise.
4132         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
4133         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4134         (gregset_t): Define using __NGREG.
4135         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4136         [__USE_MISC].
4137         (fpregset_t): Define using __NFPREG.
4138         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
4139         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4140         (gregset_t): Define using __NGREG.
4141         (__ctx): New macro.
4142         (fpregset_t): Use __ctx in defining fields.
4143         (mcontext_t): Likewise.
4144         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
4145         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4146         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4147         [__USE_MISC].
4148         (gregset_t): Define using __NGREG.
4149         (__ctx): New macro.
4150         (fpregset_t): Use __ctx in defining fields.
4151         (mcontext_t): Likewise.
4152         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
4153         (mcontext_t): Use __ctx in defining fields.
4154         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
4155         macro.
4156         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
4157         __NGREG if [__USE_MISC].
4158         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
4159         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4160         (mcontext_t): Likewise.
4161         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4162         __NGREG if [__USE_MISC].
4163         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4164         to __NFPREG if [__USE_MISC].
4165         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4166         to __NVRREG if [__USE_MISC].
4167         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4168         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4169         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4170         [__WORDSIZE != 32] (vrregset_t): Likewise.
4171         [__WORDSIZE != 32] (mcontext_t): Likewise.
4172         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4173         (__psw_t): Use __ctx in defining fields.
4174         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4175         [__USE_MISC].
4176         (gregset_t): Define using __NGREG.
4177         (fpreg_t): Use __ctx in defining fields.
4178         (fpregset_t): Likewise.
4179         (mcontext_t): Likewise.
4180         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4181         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4182         (gregset_t): Define using __NGREG.
4183         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4184         [__USE_MISC].
4185         (fpregset_t): Define using __NFPREG.
4186         (__ctx): New macro.
4187         (mcontext_t): Use __ctx in defining fields.
4188         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4189         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4190         __NGREG if [__USE_MISC].
4191         [__x86_64__] (gregset_t): Define using __NGREG.
4192         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4193         [__x86_64__] (struct _libc_fpstate): Likewise.
4194         [__x86_64__] (mcontext_t): Likewise.
4195         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4196         __NGREG if [__USE_MISC].
4197         [!__x86_64__] (gregset_t): Define using __NGREG.
4198         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4199         [!__x86_64__] (struct _libc_fpstate): Likewise.
4200         [!__x86_64__] (mcontext_t): Likewise.
4202 2017-06-01  Zack Weinberg  <zackw@panix.com>
4204         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4205         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
4206         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4207         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4208         libpthread.so no longer references __errno_location.
4210 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4212         * NEWS: Add note about pwritev2 and preadv2 inclusion.
4213         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4214         pwritev64v2.
4215         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4216         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4217         pwritev64v2.
4218         * misc/preadv2.c: New file.
4219         * misc/preadv64v2.c: Likewise.
4220         * misc/pwritev2.c: Likewise.
4221         * misc/pwritev64v2.c: Likewise.
4222         * misc/tst-preadvwritev2.c: Likewise.
4223         * misc/tst-preadvwritev64v2.c: Likewise.
4224         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4225         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4226         prototype.
4227         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4228         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4229         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4230         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4231         (PWRITEV): Likewise.
4232         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4233         ENOSYS.
4234         * nptl/tst-cancel4.c (tf_pwritev2): New test.
4235         (tf_preadv2): Likewise.
4236         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4237         * sysdeps/posix/preadv2.c: Likewise.
4238         * sysdeps/posix/preadv64v2.c: Likewise.
4239         * sysdeps/posix/pwritev2.c: Likewise.
4240         * sysdeps/posix/pwritev64v2.c: Likewise.
4241         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4242         support in kernel.
4243         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4244         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4245         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4246         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4247         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4248         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4249         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4250         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4251         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4252         support flags on Linux.
4253         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4254         preadv2, preadv64v2, pwritev2, pwritev64v2.
4255         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4256         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4257         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4258         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4259         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4260         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4261         Likewise.
4262         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4263         Likewise.
4264         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4265         Likewise.
4266         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4267         Likewise.
4268         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4269         Likewise.
4270         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4271         Likewise.
4272         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4273         Likewise.
4274         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4276         (GLIBC_2.26): Likewise.
4277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4278         (GLIBC_2.26): Likewise.
4279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4280         Likewise.
4281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4282         (GLIBC_2.26): Likewise.
4283         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4284         Likewise.
4285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4286         Likewise.
4287         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4288         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4289         Likewise.
4290         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4291         Likewise.
4292         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4293         Likewise.
4294         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4295         Likewise.
4296         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4297         Likewise.
4298         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4299         Likewise.
4300         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4301         Likewise.
4303 2017-05-31  Andreas Schwab  <schwab@suse.de>
4305         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4306         (main): Rename to do_test and make static.
4308 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4310         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4311         ARCH_INIT_CPU_FEATURES.
4312         (LIBC_START_MAIN): Call it.
4313         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4314         (__libc_start_main): Remove.
4315         (ARCH_INIT_CPU_FEATURES): New macro.
4316         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4317         (ARCH_INIT_CPU_FEATURES): New macro.
4319 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4320             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4322         * include/stdlib.h (__libc_reallocarray): New declaration.
4323         * malloc/Makefile (routines): Add reallocarray.
4324         (tests): Add tst-reallocarray.c.
4325         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4326         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4327         function.
4328         * malloc/malloc.h (reallocarray): New declaration.
4329         * stdlib/stdlib.h (reallocarray): Likewise.
4330         * malloc/reallocarray.c: New file.
4331         * malloc/tst-reallocarray.c: New test file.
4332         * manual/memory.texi: Document reallocarray.
4333         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4334         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4335         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4343         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4348         Likewise.
4349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4350         Likewise.
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4353         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4361         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4362         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4364 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4366         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4367         the lower 32 bits.
4369 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4371         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4372         $(build-pie-default) = yes]: Define.
4374 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4376         * string/test-memchr.c (test_main): Add tests for n == 0.
4378 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4380         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4381         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4382         (tests-internal): ... here.
4384 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4385              H.J. Lu  <hongjiu.lu@intel.com>
4387         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4388         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4389         (__tunable_set_val): Likewise.
4391 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4393         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4394         dl-tunables.list in subdirectories.
4396 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4397             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4398             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4400         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4401         (SNANF128): New macro.
4402         * math/e_sqrtf128.c: New file.
4403         * math/s_fmaxmag_template.c: Include math_private.h in order to
4404         make inline expansion of fabs128().
4405         * math/s_fminmag_template.c: Likewise.
4407         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4408         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4409         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4410         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4411         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4412         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4413         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4414         * sysdeps/ieee754/float128/e_expf128.c: New file.
4415         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4416         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4417         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4418         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4419         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4420         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4421         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4422         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4423         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4424         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4425         * sysdeps/ieee754/float128/e_logf128.c: New file.
4426         * sysdeps/ieee754/float128/e_powf128.c: New file.
4427         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4428         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4429         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4430         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4431         * sysdeps/ieee754/float128/float128_private.h: New file.
4432         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4433         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4434         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4435         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4436         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4437         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4438         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4439         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4440         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4441         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4442         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4443         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4444         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4445         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4446         * sysdeps/ieee754/float128/s_erff128.c: New file.
4447         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4448         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4449         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4450         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4451         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4452         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4453         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4454         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4455         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4456         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4457         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4458         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4459         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4460         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4461         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4462         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4463         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4464         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4465         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4466         * sysdeps/ieee754/float128/s_modff128.c: New file.
4467         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4468         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4469         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4470         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4471         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4472         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4473         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4474         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4475         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4476         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4477         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4478         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4479         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4480         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4481         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4482         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4483         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4484         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4485         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4486         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4487         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4488         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4489         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4490         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4491         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4493         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4494         (__iscanonicalf128): Define as a macro.
4496 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4498         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4499         (memmove): Use MEMMOVE for name.
4500         (memcpy): Use MEMCPY for name.  Change internal labels
4501         to external labels.
4502         * sysdeps/aarch64/multiarch/Makefile: New file.
4503         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4504         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4505         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4506         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4507         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4508         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4510 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4512         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4513         (_dl_arm_cap_flags): Fix array subscript.
4514         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4515         Fix count.
4517 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4519         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4521 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4523         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4524         (is_amd): Likewise.
4525         (max_cpuid): Likewise.
4526         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4527         (init_cacheinfo): Likewise.
4529 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4531         [BZ #21511]
4532         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4533         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4534         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4535         !__USE_XOPEN2K) || __USE_MISC].
4536         * conform/data/signal.h-data (struct sigstack): Expect type only
4537         if [!XOPEN2K8 && !POSIX2008].
4538         (sigstack): Expect function only if [XPG42 || UNIX98].
4540         [BZ #21457]
4541         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4542         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4543         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4544         <bits/types/__sigset_t.h>.
4545         (ucontext_t): Use sigset_t instead of __sigset_t.
4546         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4547         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4548         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4549         <bits/types/__sigset_t.h>.
4550         (ucontext_t): Use sigset_t instead of __sigset_t.
4551         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4552         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4553         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4554         <bits/types/__sigset_t.h>.
4555         (ucontext_t): Use sigset_t instead of __sigset_t.
4556         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4557         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4558         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4559         <bits/types/__sigset_t.h>.
4560         (ucontext_t): Use sigset_t instead of __sigset_t.
4561         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4562         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4563         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4564         <bits/types/__sigset_t.h>.
4565         (ucontext_t): Use sigset_t instead of __sigset_t.
4566         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4567         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4568         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4569         <bits/types/__sigset_t.h>.
4570         (ucontext_t): Use sigset_t instead of __sigset_t.
4571         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4572         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4573         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4574         <bits/types/__sigset_t.h>.
4575         (ucontext_t): Use sigset_t instead of __sigset_t.
4576         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4577         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4578         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4579         <bits/types/__sigset_t.h>.
4580         (ucontext_t): Use sigset_t instead of __sigset_t.
4581         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4582         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4583         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4584         <bits/types/__sigset_t.h>.
4585         (ucontext_t): Use sigset_t instead of __sigset_t.
4586         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4587         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4588         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4589         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4590         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4591         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4592         <bits/types/__sigset_t.h>.
4593         (ucontext_t): Use sigset_t instead of __sigset_t.
4594         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4595         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4596         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4597         <bits/types/__sigset_t.h>.
4598         (ucontext_t): Use sigset_t instead of __sigset_t.
4599         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4600         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4601         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4602         <bits/types/__sigset_t.h>.
4603         (ucontext_t): Use sigset_t instead of __sigset_t.
4604         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4605         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4606         <bits/ss_flags.h>.
4607         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4608         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4609         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4610         <bits/types/__sigset_t.h>.
4611         (ucontext_t): Use sigset_t instead of __sigset_t.
4612         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4613         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4614         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4615         <bits/types/__sigset_t.h>.
4616         (ucontext_t): Use sigset_t instead of __sigset_t.
4617         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4618         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4619         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4620         <bits/types/__sigset_t.h>.
4621         (ucontext_t): Use sigset_t instead of __sigset_t.
4622         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4623         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4624         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4625         <bits/types/__sigset_t.h>.
4626         (ucontext_t): Use sigset_t instead of __sigset_t.
4627         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4628         <bits/types.h>.
4629         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4630         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4631         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4632         <bits/types/__sigset_t.h>.
4633         (ucontext_t): Use sigset_t instead of __sigset_t.
4635 2017-05-22  Zack Weinberg  <zackw@panix.com>
4637         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4638         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4639         bits/siginfo-arch.h, only if not already defined.
4640         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4641         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4642         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4643         Likewise.
4645         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4646         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4647         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4648         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4649         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4650         Unconditionally define __SI_* macros.
4652 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4654         [BZ #21393]
4655         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4656         and add a check for dup3 failure.
4657         * libio/freopen64.c (freopen64): Likewise.
4658         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4659         libsupport.
4660         (do_test_bz21398): New test.
4661         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4663 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4665         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4666         Remove invalid comment.
4668 2017-05-21  Zack Weinberg  <zackw@panix.com>
4670         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4672 2017-05-20  Zack Weinberg  <zackw@panix.com>
4674         * bits/sigevent-consts.h
4675         * bits/siginfo-consts.h
4676         * bits/types/__sigset_t.h
4677         * bits/types/sigevent_t.h
4678         * bits/types/siginfo_t.h
4679         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4680         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4681         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4682         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4683         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4684         New system-dependent bits headers.
4686         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4687         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4688         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4689         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4690         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4691         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4692         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4693         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4694         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4695         New Linux-only system-dependent bits headers.
4697         * signal/bits/types/sig_atomic_t.h
4698         * signal/bits/types/sigset_t.h
4699         * signal/bits/types/sigval_t.h:
4700         New non-system-dependent bits headers.
4702         * sysdeps/generic/sigsetops.h
4703         * sysdeps/unix/sysv/linux/sigsetops.h:
4704         New internal headers.
4706         * include/bits/types/sig_atomic_t.h
4707         * include/bits/types/sigset_t.h
4708         * include/bits/types/sigval_t.h:
4709         New wrappers.
4711         * signal/sigsetops.h
4712         * bits/siginfo.h
4713         * bits/sigset.h
4714         * sysdeps/unix/sysv/linux/bits/siginfo.h
4715         * sysdeps/unix/sysv/linux/bits/sigset.h
4716         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4717         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4718         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4719         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4720         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4721         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4722         Deleted.
4724         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4725         Update lists of installed headers.
4727         * posix/bits/types.h: Define __sig_atomic_t here.
4728         * signal/signal.h: Use the new bits headers; no need to handle
4729         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4730         to define sigmask.
4731         * include/signal.h: No need to handle __need_sig_atomic_t
4732         nor __need_sigset_t.  Don't define __sigemptyset.
4734         * io/sys/poll.h, setjmp/setjmp.h
4735         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4736         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4737         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4738         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4739         * sysdeps/pthread/bits/sigthread.h
4740         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4741         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4742         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4743         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4744         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4745         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4746         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4747         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4748         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4749         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4750         Use bits/types/__sigset_t.h.
4752         * misc/sys/select.h, posix/spawn.h
4753         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4754         * sysdeps/unix/sysv/linux/sys/epoll.h
4755         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4756         Use bits/types/sigset_t.h.
4758         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4759         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4760         * socket/sys/socket.h: Don't include bits/sigset.h.
4762         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4763         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4764         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4765         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4766         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4767         * sysdeps/unix/sysv/linux/nptl-signals.h:
4768         Include sigsetops.h.
4770         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4771         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4772         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4773         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4774         now return no value.
4776         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4777         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4778         "sigsetops.h".
4780         * signal/sigsetops.c: Explicitly define __sigismember,
4781         __sigaddset, and __sigdelset as compatibility symbols.
4783         * signal/Versions: Correct commentary on __sigpause,
4784         __sigaddset, __sigdelset, __sigismember.
4786         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4787         __sigblock/__sigsetmask to use __sigprocmask and friends.
4789         * resolv/resolv.h: Remove __need_res_state logic.
4790         Move definition of res_state and related constants to ...
4791         * resolv/bits/types/res_state.h: ...this new file.
4792         * resolv/Makefile: Install bits/types/res_state.h.
4793         * include/bits/types/res_state.h: New wrapper.
4794         * include/list.h: Remove __need_list_t logic.
4795         Move definition of list_t to ...
4796         * include/list_t.h: ...this new file.
4798         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4799         instead of list.h and resolv.h.
4801         * resolv/resolv.h: Remove __need_res_state logic.
4802         Move definition of res_state and related constants to ...
4803         * resolv/bits/types/res_state.h: ...this new file.
4804         * resolv/Makefile: Install bits/types/res_state.h.
4805         * include/bits/types/res_state.h: New wrapper.
4806         * include/list.h: Remove __need_list_t logic.
4807         Move definition of list_t to ...
4808         * include/list_t.h: ...this new file.
4810         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4811         instead of list.h and resolv.h.
4813 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4815         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4817 2017-05-20  Zack Weinberg  <zackw@panix.com>
4819         * sysdeps/arm/sysdep.h
4820         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4822         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4823         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4824         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4825         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4826         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4827         * sysdeps/arm/armv6t2/strlen.S
4828         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4829         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4830         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4831         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4832         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4833         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4835 2017-05-20  Zack Weinberg  <zackw@panix.com>
4837         Remove the NaCl port.
4838         * sysdeps/arm/nacl: Remove directory and contents.
4839         * sysdeps/nacl: Remove directory and contents.
4840         * abi-tags: Remove .*-.*-nacl.* entry.
4842 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4844         * manual/errno.texi: Convert @comment-based errno documentation to
4845         @errno.
4846         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4847         their values, and messages, adding the error string to the Concept
4848         Index.  Provide a warning in the comment about external (to the
4849         manual) dependencies.
4850         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4851         * sysdeps/mach/hurd/errnos.awk: Likewise.
4853 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4855         * bits/ss_flags.h: New file.
4856         * bits/types/stack_t.h: Likewise.
4857         * include/bits/types/struct_sigstack.h: Likewise.
4858         * signal/bits/types/struct_sigstack.h: Likewise.
4859         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4860         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4861         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4862         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4863         bits/types/stack_t.h and bits/ss_flags.h.
4864         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4865         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4866         <bits/ss_flags.h>.
4867         * bits/sigstack.h (struct sigstack): Remove.
4868         (stack_t): Likewise.
4869         (SS_ONSTACK): Likewise.
4870         (SS_DISABLE): Likewise.
4871         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4872         (struct sigstack): Likewise.
4873         (stack_t): Likewise.
4874         (SS_ONSTACK): Likewise.
4875         (SS_DISABLE): Likewise.
4876         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4877         Likewise.
4878         (stack_t): Likewise.
4879         (SS_ONSTACK): Likewise.
4880         (SS_DISABLE): Likewise.
4881         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4882         Likewise.
4883         (stack_t): Likewise.
4884         (SS_ONSTACK): Likewise.
4885         (SS_DISABLE): Likewise.
4886         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4887         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4888         Likewise.
4889         (stack_t): Likewise.
4890         (SS_ONSTACK): Likewise.
4891         (SS_DISABLE): Likewise.
4892         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4893         (struct sigstack): Likewise.
4894         (stack_t): Likewise.
4895         (SS_ONSTACK): Likewise.
4896         (SS_DISABLE): Likewise.
4897         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4898         Likewise.
4899         (stack_t): Likewise.
4900         (SS_ONSTACK): Likewise.
4901         (SS_DISABLE): Likewise.
4902         * sysdeps/arm/sys/ucontext.h: Include
4903         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4904         <bits/ss_flags.h>.
4905         * sysdeps/generic/sys/ucontext.h: Likewise.
4906         * sysdeps/i386/sys/ucontext.h: Likewise.
4907         * sysdeps/m68k/sys/ucontext.h: Likewise.
4908         * sysdeps/mips/sys/ucontext.h: Likewise.
4909         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4910         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4911         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4912         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4913         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4914         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4915         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4916         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4917         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4918         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4919         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4920         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4921         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4922         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4923         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4925 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4927         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4928         "edx + ecx - 16" to avoid possible addition overflow.
4929         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4931 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4933         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4934         (CFLAGS-splice.c): Likewise.
4935         (CFLAGS-open_by_handle_at.c): Likewise.
4936         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4937         (CFLAGS-splice.c): Likewise.
4938         (CFLAGS-open_by_handle_at.c): Likewise.
4940 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4942         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4943         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4944         <ldbl-compat-choose.h>.
4945         (maybe_long_double_symbol): New macro.
4946         [!declare_mgen_alias] (declare_mgen_alias): Use
4947         maybe_long_double_symbol.
4948         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4949         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4950         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4951         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4953         * Makerules [$(build-shared) = yes && !avoid-generated]
4954         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4955         [$(build-shared) = yes && !avoid-generated]
4956         ($(common-objpfx)ldbl-compat-choose.h): New target.
4958         * scripts/versions.awk: Generate first-versions.h.
4959         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4960         <first-versions.h>.
4961         (LDOUBLE_cabsl_libm_version): Remove macro.
4962         (LDOUBLE_cargl_libm_version): Likewise.
4963         (LDOUBLE_cimagl_libm_version): Likewise.
4964         (LDOUBLE_conjl_libm_version): Likewise.
4965         (LDOUBLE_creall_libm_version): Likewise.
4966         (LDOUBLE_cacosl_libm_version): Likewise.
4967         (LDOUBLE_cacoshl_libm_version): Likewise.
4968         (LDOUBLE_ccosl_libm_version): Likewise.
4969         (LDOUBLE_ccoshl_libm_version): Likewise.
4970         (LDOUBLE_casinl_libm_version): Likewise.
4971         (LDOUBLE_csinl_libm_version): Likewise.
4972         (LDOUBLE_casinhl_libm_version): Likewise.
4973         (LDOUBLE_csinhl_libm_version): Likewise.
4974         (LDOUBLE_catanl_libm_version): Likewise.
4975         (LDOUBLE_catanhl_libm_version): Likewise.
4976         (LDOUBLE_ctanl_libm_version): Likewise.
4977         (LDOUBLE_ctanhl_libm_version): Likewise.
4978         (LDOUBLE_cexpl_libm_version): Likewise.
4979         (LDOUBLE_clogl_libm_version): Likewise.
4980         (LDOUBLE_cprojl_libm_version): Likewise.
4981         (LDOUBLE_csqrtl_libm_version): Likewise.
4982         (LDOUBLE_cpowl_libm_version): Likewise.
4983         (LDOUBLE_clog10l_libm_version): Likewise.
4984         (LDOUBLE___clog10l_libm_version): Likewise.
4985         (LDOUBLE_fdiml_libm_version): Likewise.
4986         (LDOUBLE_fmaxl_libm_version): Likewise.
4987         (LDOUBLE_fminl_libm_version): Likewise.
4988         (LDOUBLE_ilogbl_libm_version): Likewise.
4989         (LDOUBLE_nanl_libm_version): Likewise.
4990         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4991         FIRST_VERSION_libm_* macros.
4992         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4993         * Makerules [$(build-shared) = yes && !avoid-generated]
4994         (before-compile): Add $(common-objpfx)first-versions.h.
4995         [$(build-shared) = yes && !avoid-generated]
4996         ($(common-objpfx)first-versions.h): New target.
4997         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4998         building $(common-objpfx)versions.stmp.
5000 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5002         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
5003         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
5004         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
5005         auto-generation list.
5007         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
5008         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
5009         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
5010         from auto-generation list.
5012         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5013         open_by_handle_at.
5014         (CFLAGS-open_by_handle_at.c): New flag.
5015         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
5016         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
5017         file.
5018         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
5020         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
5021         (CFLAGS-splice.c): New flag.
5022         * sysdeps/unix/sysv/linux/splice.c: New file.
5023         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
5024         auto-generation syscall list.
5025         * misc/Makefile (CFLAGS-splice.c): New rule.
5027         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
5028         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
5029         auto-generation syscall list.
5030         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
5031         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
5033         * misc/Makefile (CFLAGS-fsync.c): New flag.
5034         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
5035         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
5036         syscall list.
5037         * sysdeps/unix/sysv/linux/fsync.c: New file.
5038         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
5039         (__errno_location): Remove.
5041         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
5042         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
5043         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
5044         list.
5045         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
5047         * misc/Makefile (CFLAGS-msync.c): New rule.
5048         * nptl/Makefile (CFLAGS-msync.c): Likewise.
5049         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
5050         * sysdeps/unix/sysv/linux/msync.c: New file.
5052         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
5053         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
5054         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
5055         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5056         (CFLAGS-sigsuspend.c): Remove rule.
5058         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
5059         (CFLAGS-tee.c): New rule.
5060         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
5061         auto-generated list.
5062         * sysdeps/unix/sysv/linux/tee.c: New file.
5064         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
5065         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
5066         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
5067         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
5068         auto-generated list.
5070         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
5071         auto-generated list.
5072         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
5073         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5074         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
5075         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5076         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5078         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
5079         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
5080         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
5081         (__NR_pause): Undefine.
5082         * sysdeps/unix/sysv/linux/pause.c: New file.
5083         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
5084         auto-generation list.
5085         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
5086         Remove rule.
5087         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
5089 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5091         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
5092         comments.
5094 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5096         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
5097         LD_HWCAP_MASK.
5099 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
5101         * manual/conf.texi: Convert @tables of annotated @items to
5102         @vtables.
5103         * manual/lang.texi: Likewise.
5104         * manual/pattern.texi: Likewise.
5105         * manual/resource.texi: Likewise.
5106         * manual/socket.texi: Likewise.
5108 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
5110         * manual/crypt.texi: Move a comment out of an @*x list.
5111         * manual/filesys.texi: Refactor some comments, one of which looks
5112         like a standard.  Fix incorrectly separated standards.
5113         * manual/locale.texi: Invert an annotation.
5114         * manual/resource.texi: Fix incorrectly separated standards.
5115         * manual/time.texi: Refactor a @vtable that obscures an
5116         annotation.
5117         * manual/users.texi: Refactor multiple headers to occupy a single
5118         @comment.
5120 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5122         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5123         (sysdep_routines): Add memcmp-power8.
5124         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5125         (memcmp): Add __memcmp_power8 to list of memcmp functions.
5126         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
5127         (memcmp): Add __memcmp_power8 to ifunc list.
5128         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
5129         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
5131 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5132             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5134         * math/math.h (__MATH_TG): Extend the conditions to add
5135         _Float128 support.
5136         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
5138 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
5140         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5141         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
5142         s_cosf-ppc64.
5143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
5144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5146         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5148 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5150         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
5151         (gen-libm-calls): Add e_exp2F to use the template.
5152         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
5153         * math/e_exp2_template.c: New file, renamed from
5154         math/e_exp2l.c, and made into a template.
5155         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
5157 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5159         * elf/dl-tunable-types.h (tunable_type_code_t): New type
5160         TUNABLE_TYPE_UINT_64.
5161         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5162         Simplify computation of overflow.
5163         (tunable_set_val_if_valid_range_signed,
5164         tunable_set_val_if_valid_range_unsigned): Remove and replace
5165         with this...
5166         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5167         (tunable_initialize): Adjust.  Add uint64_t support.
5168         (__tunable_set_val): Add uint64_t support.
5169         * README.tunables: Document it.
5171         * scripts/gen-tunables.awk: Recognize 'default' keyword in
5172         dl-tunables.list.
5173         * README.tunables: Document it.
5175 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5177         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5178         * sysdeps/posix/preadv64.c: Likewise.
5179         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5180         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5181         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5182         * sysdeps/posix/pwritev64.c: Likewise.
5183         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5184         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5185         * sysdeps/posix/preadv_common.c: New file.
5186         * sysdeps/posix/pwritev_common.c: Likewise.
5188 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5190         * sysdeps/generic/math-type-macros-float128.h
5191         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5192         wrapper templates.
5194 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5195             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5197         * include/complex.h (__kernel_casinhf128): New declaration.
5198         * include/float.h: New file.
5199         * include/math.h (__finitef128): Add a hidden def.
5200         (__isinff128): Likewise.
5201         (__isnanf128): Likewise.
5202         (__fpclassify): Likewise.
5203         (__issignalling): Likewise.
5204         (__expf128): Likewise.
5205         (__expm1f128): Likewise.
5207         * sysdeps/generic/fix-fp-int-convert-overflow.h:
5208         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5209         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5211         * sysdeps/generic/math-type-macros-float128.h: New file.
5213         * sysdeps/generic/math_private.h: Include bits/floatn.h and
5214         math_private_calls.h for _Float128.
5215         (__isinff128): New inline implementation used when GCC < 7.0,
5216         since in this case __builtin_isinf_sign is broken.
5217         (fabsf128): New inline implementation that calls the builtin.
5218         (__EXPR_FLT128): New macro.
5219         (min_of_type): Optionally include _Float128 types too.
5221         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5222         Declare for _Float128.
5223         (__kernel_rem_pio2): Likewise.
5225         * sysdeps/ieee754/ldbl-opt/s_sin.c:
5226         (__DECL_SIMD_sincos_disablef128): New macro.
5228 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5230         * math/math.h: Include bits/math-finite.h for float128.
5231         (__MATH_DECLARING_FLOATN): Define to control declaration of
5232         float128 functions.
5233         * math/bits/math-finite.h (pow10): Do not declare for float128.
5234         (gamma): Likewise.
5235         (scalb): Likewise.
5237 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5238             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5240         * bits/floatn.h: New file.
5241         * bits/huge_val_flt128.h: Likewise.
5243         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5244         (__DECL_SIMD_sinf128): Likewise.
5245         (__DECL_SIMD_sincosf128): Likewise.
5246         (__DECL_SIMD_logf128): Likewise.
5247         (__DECL_SIMD_expf128): Likewise.
5248         (__DECL_SIMD_powf128): Likewise.
5250         * math/Makefile (headers): Install bits/floatn.h and
5251         bits/huge_val_flt128.h.
5253         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5254         defined.
5256         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5257         (isnan, gamma, nexttoward, scalb): Only define if not
5258         __MATH_DECLARING_FLOATN.
5259         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5260         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5261         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5262         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5264         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5265         Include bits/cmathcalls.h to get the declarations of _Float128
5266         versions of complex functions.
5267         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5268         Define macro.
5270         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5271         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5272         get the declarations of _Float128 versions of math functions.
5273         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5274         _FloatN types.
5275         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5276         is type-generic, so use it without __MATH_TG.
5277         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5278         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5279         _Float128 type and GCC < 7.0, otherwise use the builtin.
5280         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5281         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5282         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5283         New _GNU_SOURCE enabled macros.
5285 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5287         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5288         (signbitf): Likewise.
5289         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5290         Likewise.
5291         (signbitl): Likewise.
5292         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5293         Likewise.
5294         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5295         (signbitl): Likewise.
5296         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5298 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5300         [BZ #21386]
5301         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5302         parent PID.  The assertion in the child is incorrect with PID
5303         namespaces.
5305 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5307         * sysdeps/unix/sysv/linux/kernel-features.h
5308         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5309         * sysdeps/unix/sysv/linux/internal_statvfs.c
5310         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5312 2017-05-11  Zack Weinberg  <zackw@panix.com>
5314         * Makerules: New subdir configuration variables 'tests-internal'
5315         and 'test-internal-extras'.  Test files in these categories will
5316         still be compiled with MODULE_NAME=nonlib.  Test files in the
5317         existing categories (tests, xtests, test-srcs, test-extras) are
5318         now compiled with MODULE_NAME=testsuite.
5319         New subdir configuration variable 'modules-names-tests'.  Files
5320         which are in both 'modules-names' and 'modules-names-tests' will
5321         be compiled with MODULE_NAME=testsuite instead of
5322         MODULE_NAME=extramodules.
5323         (gen-as-const-headers): Move to tests-internal.
5324         (do-tests-clean, common-mostlyclean): Support tests-internal.
5325         * Makeconfig (built-modules): Add testsuite.
5326         * Makefile: Change libof-check-installed-headers-c and
5327         libof-check-installed-headers-cxx to 'testsuite'.
5328         * Rules: Likewise.  Support tests-internal.
5329         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5330         Remove extra-modules.mk.
5332         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5333         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5334         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5335         very top of the file and rationalize their order.
5336         If MODULE_NAME is not defined at all, define IS_IN to always be
5337         false, and don't define _ISOMAC.
5338         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5339         true, define _ISOMAC and suppress everything else in this file,
5340         starting with the inclusion of config.h.
5341         Do check for inappropriate definitions of __OPTIMIZE__ and
5342         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5343         Correct some out-of-date commentary.
5345         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5346         and _Mlong_double_ before including math.h.
5347         * include/string.h: If _ISOMAC is defined, don't expose
5348         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5349         location.
5351         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5352         * include/time.h, include/unistd.h, include/wchar.h: No need to
5353         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5355         * misc/sys/cdefs.h (__NTHNL): New macro.
5356         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5357         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5359         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5360         defined, for HAVE_TUNABLES.
5361         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5362         * intl/tst-gettext2.c: Provide own definition of N_.
5363         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5364         * math/test-signgam-main.c: No need to define _ISOMAC.
5365         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5366         * stdlib/tst-strtod1i.c: ...this new file.
5367         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5368         Split tests of __strtod_internal to...
5369         * stdlib/tst-strtod5i.c: ...this new file.
5370         * string/test-string.h: Include stdint.h. Duplicate definition of
5371         inhibit_loop_to_libcall here (from libc-symbols.h).
5372         * string/test-strstr.c: Provide dummy definition of
5373         libc_hidden_builtin_def when including strstr.c.
5374         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5375         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5376         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5377         Don't include init-arch.h.
5378         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5379         Don't include init-arch.h.
5381         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5382         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5383         unload, unload2, circleload1, neededtest, neededtest2,
5384         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5385         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5386         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5387         ifunc tests to tests-internal.
5388         Don't add $(modules-names) to test-extras.
5389         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5390         Add tst-deadline to tests-static-internal.
5391         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5392         tests-internal.
5393         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5394         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5395         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5396         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5397         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5398         Link tests-internal with libpthread also.
5399         Don't add $(modules-names) to test-extras.
5400         * nss/Makefile: Move tst-field to tests-internal.
5401         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5402         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5403         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5404         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5405         tests-internal.
5406         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5407         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5408         test-get_hwcap-static to tests-internal.
5409         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5410         tests-internal.
5411         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5412         modules-names-tests.
5414 2017-05-11  Zack Weinberg  <zackw@panix.com>
5416         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5417         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5418         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5419         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5420         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5421         already defined.
5422         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5423         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5424         appropriately.
5425         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5426         Define _IO_lock_t_defined after defining _IO_lock_t.
5428 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5430         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5431         void* for argument type and use VDSO_SYMBOL macro.
5432         (is_sigtramp_address_rt): Likewise.
5433         (__backtrace): Setup expected frame pointer address for signal
5434         handling.
5435         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5436         void* for argumetn type and use VSDO_SYMBOL macro.
5437         (__backtrace): Setup expected frame pointer address for signal
5438         handling.
5440         * sysdeps/unix/sysv/linux/writev.c: New file.
5442         * sysdeps/unix/sysv/linux/readv.c: New file.
5444         * include/unistd.h (write): Add hidden proto.
5445         * io/Makefile (CFLAGS-write.c): New define.
5446         * nptl/Makefile (CFLAGS-write.c): Likewise.
5447         * sysdeps/unix/sysv/linux/write.c: New file.
5449         [BZ #21428]
5450         * include/unistd.h (read): Add hidden proto.
5451         * io/Makefile (CFLAGS-read.c): New define.
5452         * nptl/Makefile (CFLAGS-read.c): Likewise.
5453         * sysdeps/unix/sysv/linux/read.c: New file.
5455         * io/Makefile (CFLAGS-creat.c): New rule.
5456         (CFLAGS-creat64.c): Likewise.
5457         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5458         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5459         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5460         * sysdeps/unix/sysv/linux/creat.c: New file.
5461         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5462         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5463         auto-generated list.
5464         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5466         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5467         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5468         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5469         * sysdeps/unix/sysv/linux/open.c: New file.
5470         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5471         iff __WORDSIZE != 64 and use __NR_openat when available.
5472         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5473         from auto-generated list.
5475         * nptl/Makefile (CFLAGS-close.c): New flag.
5476         * sysdeps/unix/sysv/linux/close.c: New file.
5478 2017-05-11  DJ Delorie  <dj@redhat.com>
5480         * MAINTAINERS: New.  Points to wiki.
5482 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5484         * scripts/gen-tunables.awk: Add attribute_relro to
5485         tunable_list.
5487 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5489         [BZ #21457]
5490         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5491         (R1): Likewise.
5492         (R2): Likewise.
5493         (R3): Likewise.
5494         (R4): Likewise.
5495         (R5): Likewise.
5496         (R6): Likewise.
5497         (R7): Likewise.
5498         (R8): Likewise.
5499         (R9): Likewise.
5500         (R10): Likewise.
5501         (R11): Likewise.
5502         (R12): Likewise.
5503         (R13): Likewise.
5504         (R14): Likewise.
5505         (R15): Likewise.
5506         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5507         (REG_FS): Likewise.
5508         (REG_ES): Likewise.
5509         (REG_DS): Likewise.
5510         (REG_EDI): Likewise.
5511         (REG_ESI): Likewise.
5512         (REG_EBP): Likewise.
5513         (REG_ESP): Likewise.
5514         (REG_EBX): Likewise.
5515         (REG_EDX): Likewise.
5516         (REG_ECX): Likewise.
5517         (REG_EAX): Likewise.
5518         (REG_TRAPNO): Likewise.
5519         (REG_ERR): Likewise.
5520         (REG_EIP): Likewise.
5521         (REG_CS): Likewise.
5522         (REG_EFL): Likewise.
5523         (REG_UESP): Likewise.
5524         (REG_SS): Likewise.
5525         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5526         (R_D1): Likewise.
5527         (R_D2): Likewise.
5528         (R_D3): Likewise.
5529         (R_D4): Likewise.
5530         (R_D5): Likewise.
5531         (R_D6): Likewise.
5532         (R_D7): Likewise.
5533         (R_A0): Likewise.
5534         (R_A1): Likewise.
5535         (R_A2): Likewise.
5536         (R_A3): Likewise.
5537         (R_A4): Likewise.
5538         (R_A5): Likewise.
5539         (R_A6): Likewise.
5540         (R_A7): Likewise.
5541         (R_SP): Likewise.
5542         (R_PC): Likewise.
5543         (R_PS): Likewise.
5544         (fpregset_t): Likewise.
5545         (MCONTEXT_VERSION): Likewise.
5546         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5547         (CTX_AT): Likewise.
5548         (CTX_V0): Likewise.
5549         (CTX_V1): Likewise.
5550         (CTX_A0): Likewise.
5551         (CTX_A1): Likewise.
5552         (CTX_A2): Likewise.
5553         (CTX_A3): Likewise.
5554         (CTX_T0): Likewise.
5555         (CTX_T1): Likewise.
5556         (CTX_T2): Likewise.
5557         (CTX_T3): Likewise.
5558         (CTX_T4): Likewise.
5559         (CTX_T5): Likewise.
5560         (CTX_T6): Likewise.
5561         (CTX_T7): Likewise.
5562         (CTX_S0): Likewise.
5563         (CTX_S1): Likewise.
5564         (CTX_S2): Likewise.
5565         (CTX_S3): Likewise.
5566         (CTX_S4): Likewise.
5567         (CTX_S5): Likewise.
5568         (CTX_S6): Likewise.
5569         (CTX_S7): Likewise.
5570         (CTX_T8): Likewise.
5571         (CTX_T9): Likewise.
5572         (CTX_K0): Likewise.
5573         (CTX_K1): Likewise.
5574         (CTX_GP): Likewise.
5575         (CTX_SP): Likewise.
5576         (CTX_S8): Likewise.
5577         (CTX_RA): Likewise.
5578         (CTX_MDLO): Likewise.
5579         (CTX_MDHI): Likewise.
5580         (CTX_CAUSE): Likewise.
5581         (CTX_EPC): Likewise.
5582         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5583         inclusion of <sys/procfs.h> on [__USE_MISC].
5584         (greg_t): Condition on [__USE_MISC].
5585         (gregset_t): Likewise.
5586         (fpregset_t): Likewise.
5587         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5588         (NGREG): Likewise.
5589         (gregset_t): Likewise.
5590         (REG_R0): Likewise.
5591         (REG_R1): Likewise.
5592         (REG_R2): Likewise.
5593         (REG_R3): Likewise.
5594         (REG_R4): Likewise.
5595         (REG_R5): Likewise.
5596         (REG_R6): Likewise.
5597         (REG_R7): Likewise.
5598         (REG_R8): Likewise.
5599         (REG_R9): Likewise.
5600         (REG_R10): Likewise.
5601         (REG_R11): Likewise.
5602         (REG_R12): Likewise.
5603         (REG_R13): Likewise.
5604         (REG_R14): Likewise.
5605         (REG_R15): Likewise.
5606         (struct _libc_fpstate): Likewise.
5607         (fpregset_t): Likewise.
5608         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5609         (NFPREG): Likewise.
5610         (gregset_t): Likewise.
5611         (fpregset_t): Likewise.
5612         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5613         (R_D1): Likewise.
5614         (R_D2): Likewise.
5615         (R_D3): Likewise.
5616         (R_D4): Likewise.
5617         (R_D5): Likewise.
5618         (R_D6): Likewise.
5619         (R_D7): Likewise.
5620         (R_A0): Likewise.
5621         (R_A1): Likewise.
5622         (R_A2): Likewise.
5623         (R_A3): Likewise.
5624         (R_A4): Likewise.
5625         (R_A5): Likewise.
5626         (R_A6): Likewise.
5627         (R_A7): Likewise.
5628         (R_SP): Likewise.
5629         (R_PC): Likewise.
5630         (R_PS): Likewise.
5631         (fpregset_t): Likewise.
5632         (MCONTEXT_VERSION): Likewise.
5633         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5634         Likewise.
5635         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5636         (REG_R1): Likewise.
5637         (REG_R2): Likewise.
5638         (REG_R3): Likewise.
5639         (REG_R4): Likewise.
5640         (REG_R5): Likewise.
5641         (REG_R6): Likewise.
5642         (REG_R7): Likewise.
5643         (REG_R8): Likewise.
5644         (REG_R9): Likewise.
5645         (REG_R10): Likewise.
5646         (REG_R11): Likewise.
5647         (REG_R12): Likewise.
5648         (REG_R13): Likewise.
5649         (REG_R14): Likewise.
5650         (REG_R15): Likewise.
5651         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5652         of <arch/abi.h> on [__USE_MISC].
5653         (greg_t): Condition on [__USE_MISC].
5654         (NGREG): Likewise.
5655         (gregset_t): Likewise.
5657 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5659         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5660         (__pthread_rwlock_arch_t): Remove __data definition.
5661         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5662         (__pthread_rwlock_arch_t): Likewise.
5664 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5666         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5667         internal_function on static functions.
5669 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5671         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5672         from format_ai_flags.
5673         (format_ai_flags): New function.  Incorporate flag formatting code
5674         from format_ai_one.
5675         (format_ai_canonname): New function.
5676         (format_ai_one): Remove flags parameter.
5677         (format_ai_family): Likewise.
5678         (support_format_addrinfo): Call format_ai_flags,
5679         format_ai_canonname.
5680         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5681         check_ai.
5682         (check_ai): Call check_ai_hints.
5683         (do_test): Add AI_CANONNAME tests.
5685 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5687         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5688         (gaih_inet): Likewise.
5690 2017-05-10  Andreas Schwab  <schwab@suse.de>
5692         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5693         (main): Rename to do_test and make static.
5695 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5697         * string/rawmemchr.c: Include <libc-diag.h>.
5698         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5699         with size (size_t)-1.
5701 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5703         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5704         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5705         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5707         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5708         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5709         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5710         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5711         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5712         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5713         * sysdeps/unix/sysv/linux/kernel-features.h
5714         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5715         socket syscalls.
5716         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5717         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5718         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5719         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5720         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5722         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5723         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5724         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5725         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5726         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5727         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5728         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5729         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5730         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5732 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5734         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5735         thread-shared-types.h.
5736         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5737         specific thread definition.
5738         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5739         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5740         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5741         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5742         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5743         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5744         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5745         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5746         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5747         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5748         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5749         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5750         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5751         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5752         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5753         thread definition between POSIX and C11.
5754         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5755         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5756         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5757         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5758         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5759         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5760         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5761         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5762         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5763         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5764         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5765         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5766         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5767         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5768         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5769         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5770         definitions shared across all architectures.
5772 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5774         * sysdeps/unix/sysv/linux/kernel-features.h
5775         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5776         (__ASSUME_SENDMMSG): Likewise.
5777         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5778         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5779         sendmmsg syscall if that can be assumed to be present, socketcall
5780         otherwise, with no fallback for runtime failure.
5782         * sysdeps/unix/sysv/linux/kernel-features.h
5783         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5784         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5785         (__ASSUME_RECVMMSG): Likewise.
5786         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5787         recvmmsg syscall if it can be assumed to be present, socketcall
5788         otherwise, with no fallback for runtime failure.
5790 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5791             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5793         * bits/libc-header-start.h:
5794         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5795         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5796         * manual/creature.texi: Likewise.
5798 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5799             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5801         * math/Makefile:
5802         (type-float128-suffix): New variable
5803         (type-float128-routines): Likewise
5804         (type-float128-yes): Likewise
5805         (types): Append float128 if supported
5806         (types-basic): New variable to control the use of templates for
5807         float, double, and long double, but not for float128 or newer types.
5808         (type-basic-foreach): Likewise.
5810         * sysdeps/ieee754/float128/Makeconfig: New file.
5811         * sysdeps/ieee754/float128/Versions: New file.
5813 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5815         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5816         Remove macro.
5817         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5818         prlimit64 is always available and does not give an ENOSYS error.
5819         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5820         unconditional.
5821         [!__NR_prlimit64]: Remove conditional code.
5822         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5823         prlimit64 is always available and does not give an ENOSYS error.
5824         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5826 2017-05-09  Zack Weinberg  <zackw@panix.com>
5828         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5830 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5832         [BZ #21474]
5833         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5834         (__res_maybe_init): Likewise.
5836 2017-05-09  Zack Weinberg  <zackw@panix.com>
5838         * extra-modules.mk: Delete file.
5839         * cppflags-iterator.mk: Rename to ...
5840         * libof-iterator.mk: ...this.  Adjust comments.
5842         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5843         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5844         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5845         Use libof-iterator.mk instead of cppflags-iterator.mk or
5846         extra-modules.mk.
5848         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5849         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5851 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5853         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5855 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5857         * stdio-common/vfprintf.c (EXTSIZ): Define.
5858         (vfprintf): Use EXTSIZ.
5859         (printf_positional): Likewise.
5861 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5863         * sysdeps/unix/sysv/linux/kernel-features.h
5864         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5865         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5866         <kernel-features.h>.
5867         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5869         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5870         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5872 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5874         Prevent multiple deletion of temporary files.
5875         * support/temp_file.c (struct temp_name_list): Add owner member.
5876         (add_temp_file): Record owner.
5877         (support_delete_temp_files): Delete file only if owner matches.
5878         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5879         (do_prepare): Use create_temp_file instead of add_temp_file.
5880         Initialize temp_fd1, temp_fd2.
5881         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5882         framework remove the temporary files.
5883         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5884         (do_prepare): Use create_temp_file instead of add_temp_file.
5885         Initialize temp_fd1, temp_fd2, temp_fd3.
5886         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5887         the test framework remove the temporary files.
5888         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5889         deletion.
5890         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5891         temporary directory.  It is removed by the test framework.
5892         * dirent/tst-scandir.c (do_test): Likewise.
5894 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5896         Delete temporary files in LIFO order.
5897         * support/temp_file.c (struct temp_name_list): Replace q member
5898         with next.
5899         (add_temp_file): Add new file to front of linked list.
5900         (support_delete_temp_files): Use next member.
5901         (support_print_temp_files): Likewise.
5903 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5905         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5906         sys/ultrasound.h.
5907         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5909 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5911         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5912         Remove.
5913         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5914         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5915         (arch_minimum_kernel): Remove.
5916         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5917         * README: Update statement about Linux kernel requirements.
5919 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5921         * manual/llio.texi: Add preadv and pwritev documentation.
5923 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5925         [BZ #21455]
5926         * bits/stdint-intn.h: New file.
5927         * bits/stdint-uintn.h: Likewise.
5928         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5929         bits/stdint-uintn.h.
5930         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5931         <stdint.h>.
5932         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5933         (__int8_t_defined): Do not define here.
5934         (int8_t): Likewise.
5935         (int16_t): Likewise.
5936         (int32_t): Likewise.
5937         (int64_t): Likewise.
5938         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5939         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5940         <stdint.h>.
5941         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5942         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5943         <bits/stdint-uintn.h>.
5944         (int8_t): Do not define here.
5945         (int16_t): Likewise.
5946         (int32_t): Likewise.
5947         (int64_t): Likewise.
5948         (uint8_t): Likewise.
5949         (uint16_t): Likewise.
5950         (uint32_t): Likewise.
5951         (uint64_t): Likewise.
5952         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5953         variable.
5954         (test-xfail-XPG42/netdb.h/conform): Likewise.
5955         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5956         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5957         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5958         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5960 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5962         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5963         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5964         the above.
5965         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5966         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5968 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5970         [BZ #21445]
5971         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5973         [BZ #21457]
5974         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5975         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5976         __glibc_reserved1.
5977         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5978         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5979         (struct _fpxreg): Likewise.
5980         [!__x86_64__] (struct _fpstate): Rename field reserved to
5981         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5982         [__x86_64__] (struct _fpstate): Rename field padding to
5983         __glibc_reserved1.
5984         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5985         Rename field reserved2 to __glibc_reserved2.
5986         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5987         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5988         __glibc_reserved1.
5989         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5990         __glibc_reserved1.
5992 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5994         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5995         variable name.
5997 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5999         [BZ #21391]
6000         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
6001         Only call init_cpu_features.
6002         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
6003         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6004         * sysdeps/i386/dl-procinfo.h: Removed.
6005         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
6006         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
6007         <sysdeps/x86/dl-procinfo.h>.
6008         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
6009         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
6010         Include <sysdeps/x86/dl-procinfo.h> instead of
6011          <sysdeps/generic/dl-procinfo.h>.
6012         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
6013         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
6014         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
6015         (bit_cpu_MOVBE): Likewise.
6016         (bit_cpu_BMI1): Likewise.
6017         (bit_cpu_BMI2): Likewise.
6018         (index_cpu_BMI1): Likewise.
6019         (index_cpu_BMI2): Likewise.
6020         (index_cpu_LZCNT): Likewise.
6021         (index_cpu_MOVBE): Likewise.
6022         (index_cpu_POPCNT): Likewise.
6023         (reg_BMI1): Likewise.
6024         (reg_BMI2): Likewise.
6025         (reg_LZCNT): Likewise.
6026         (reg_MOVBE): Likewise.
6027         (reg_POPCNT): Likewise.
6028         * sysdeps/x86/dl-hwcap.h: New file.
6029         * sysdeps/x86/dl-procinfo.h: Likewise.
6030         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
6031         (_dl_x86_platforms): Likewise.
6033 2017-05-03  DJ Delorie  <dj@redhat.com>
6035         [BZ #21411]
6036         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
6038 2017-05-03  Phil Blundell  <pb@pbcl.net>
6040         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
6041         comments.
6043 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
6045         [BZ #20116]
6046         * nptl/pthread_create.c: Expand comments to describe
6047         semaphore-like and mutex-like uses of PD->lock.
6049 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6051         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
6052         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
6053         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
6054         auto-generation list.
6055         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6056         epoll_wait.
6057         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
6058         Remove epoll_wait.
6060         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6061         osf_select.
6062         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
6063         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
6064         osf_select from auto-generation list.
6065         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6066         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6067         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
6068         * sysdeps/unix/sysv/linux/select.c: New file.
6070         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
6071         * sysdeps/unix/sysv/linux/poll.c: New file.
6072         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
6073         auto-generation list.
6075 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
6077         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
6078         New macro.
6080 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
6082         [BZ #21179]
6083         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
6084         R_SPARC_REGISTER relocations.
6086 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6088         * include/unistd.h (__pread): Add libc_hidden_proto.
6089         (__pread64): Likewise.
6090         (__pwrite): Likewise.
6091         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
6092         (__pread64): Remove.
6093         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
6094         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
6095         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
6097 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6101 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6103         * nptl/tst-cancel4-common.c: Use libsupport.
6104         * nptl/tst-cancel4-common.h: Likewise.
6105         * nptl/tst-cancel4.c (tf_read): Likewise.
6106         (tf_readv): Likewise.
6107         (tf_write): Likewise.
6108         (tf_writev): Likewise.
6109         (tf_sleep): Likewise.
6110         (tf_usleep): Likewise.
6111         (tf_nanosleep): Likewise.
6112         (tf_select): Likewise.
6113         (tf_pselect): Likewise.
6114         (tf_poll): Likewise.
6115         (tf_ppoll): Likewise.
6116         (tf_wait): Likewise.
6117         (tf_waitpid): Likewise.
6118         (tf_waitid): Likewise.
6119         (tf_sigpause): Likewise.
6120         (tf_sigsuspend): Likewise.
6121         (tf_sigwait): Likewise.
6122         (tf_sigwaitinfo): Likewise.
6123         (tf_sigtimedwait): Likewise.
6124         (tf_pause): Likewise.
6125         (tf_accept): Likewise.
6126         (tf_send): Likewise.
6127         (tf_recv): Likewise.
6128         (tf_recvfrom): Likewise.
6129         (tf_recvmsg): Likewise.
6130         (tf_open): Likewise.
6131         (tf_close): Likewise.
6132         (tf_pread): Likewise.
6133         (tf_pwrite): Likewise.
6134         (tf_preadv): Likewise.
6135         (tf_pwritev): Likewise.
6136         (tf_fsync): Likewise.
6137         (tf_fdatasync): Likewise.
6138         (tf_msync): Likewise.
6139         (tf_sendto): Likewise.
6140         (tf_sendmsg): Likewise.
6141         (tf_creat): Likewise.
6142         (tf_connect): Likewise.
6143         (tf_tcdrain): Likewise.
6144         (tf_msgrcv): Likewise.
6145         (tf_msgsnd): Likewise.
6146         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
6147         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
6149         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
6150         expected arguments.
6151         (do_test): Adapt to use libsupport.
6153 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
6155         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
6157         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
6158         (PF_MAX): Set to 44.
6159         (AF_SMC): New macro.
6161         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6162         kernel version to 4.11.
6164 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6166         [BZ #21280]
6167         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6168         signal of subnormals and adjust the exponent of power of 2 down
6169         when low part has opposite sign.
6171 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6173         * sysdeps/powerpc/powerpc64le/Implies: New file.
6174         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6175         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6176         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6177         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6178         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6179         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6180         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6181         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6182         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6183         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6184         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6185         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6186         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6187         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6188         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6189         * sysdeps/powerpc/preconfigure: New file.
6190         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6191         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6193 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
6195         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6196         inclusion.
6197         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6198         Remove.
6200 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
6202         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6203         (XPG3): Rename standard to XPG4.
6204         * conform/Makefile: Likewise.
6205         * conform/list-header-symbols.pl: Likewise.
6206         * conform/data/aio.h-data: Likewise.
6207         * conform/data/arpa/inet.h-data: Likewise.
6208         * conform/data/complex.h-data: Likewise.
6209         * conform/data/ctype.h-data: Likewise.
6210         * conform/data/dlfcn.h-data: Likewise.
6211         * conform/data/fcntl.h-data: Likewise.
6212         * conform/data/fenv.h-data: Likewise.
6213         * conform/data/float.h-data: Likewise.
6214         * conform/data/fmtmsg.h-data: Likewise.
6215         * conform/data/ftw.h-data: Likewise.
6216         * conform/data/grp.h-data: Likewise.
6217         * conform/data/inttypes.h-data: Likewise.
6218         * conform/data/iso646.h-data: Likewise.
6219         * conform/data/langinfo.h-data: Likewise.
6220         * conform/data/libgen.h-data: Likewise.
6221         * conform/data/limits.h-data: Likewise.
6222         * conform/data/locale.h-data: Likewise.
6223         * conform/data/math.h-data: Likewise.
6224         * conform/data/mqueue.h-data: Likewise.
6225         * conform/data/ndbm.h-data: Likewise.
6226         * conform/data/net/if.h-data: Likewise.
6227         * conform/data/netdb.h-data: Likewise.
6228         * conform/data/netinet/in.h-data: Likewise.
6229         * conform/data/poll.h-data: Likewise.
6230         * conform/data/pthread.h-data: Likewise.
6231         * conform/data/pwd.h-data: Likewise.
6232         * conform/data/sched.h-data: Likewise.
6233         * conform/data/search.h-data: Likewise.
6234         * conform/data/semaphore.h-data: Likewise.
6235         * conform/data/signal.h-data: Likewise.
6236         * conform/data/spawn.h-data: Likewise.
6237         * conform/data/stdbool.h-data: Likewise.
6238         * conform/data/stdint.h-data: Likewise.
6239         * conform/data/stdio.h-data: Likewise.
6240         * conform/data/stdlib.h-data: Likewise.
6241         * conform/data/string.h-data: Likewise.
6242         * conform/data/strings.h-data: Likewise.
6243         * conform/data/stropts.h-data: Likewise.
6244         * conform/data/sys/mman.h-data: Likewise.
6245         * conform/data/sys/resource.h-data: Likewise.
6246         * conform/data/sys/select.h-data: Likewise.
6247         * conform/data/sys/socket.h-data: Likewise.
6248         * conform/data/sys/stat.h-data: Likewise.
6249         * conform/data/sys/statvfs.h-data: Likewise.
6250         * conform/data/sys/time.h-data: Likewise.
6251         * conform/data/sys/timeb.h-data: Likewise.
6252         * conform/data/sys/types.h-data: Likewise.
6253         * conform/data/sys/uio.h-data: Likewise.
6254         * conform/data/sys/un.h-data: Likewise.
6255         * conform/data/sys/wait.h-data: Likewise.
6256         * conform/data/syslog.h-data: Likewise.
6257         * conform/data/termios.h-data: Likewise.
6258         * conform/data/tgmath.h-data: Likewise.
6259         * conform/data/time.h-data: Likewise.
6260         * conform/data/ucontext.h-data: Likewise.
6261         * conform/data/unistd.h-data: Likewise.
6262         * conform/data/utmpx.h-data: Likewise.
6263         * conform/data/varargs.h-data: Likewise.
6264         * conform/data/wchar.h-data: Likewise.
6265         * conform/data/wctype.h-data: Likewise.
6267 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6269         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6270         version to 7 branch.
6272 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6274         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6275         earlyclobber to output operand of sqrt insn.
6276         (__ieee754_sqrtf): Ditto.
6278 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6280         [BZ #21426]
6281         * misc/bits/types/struct_iovec.h: New file.
6282         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6283         * include/bits/types/struct_iovec.h: New file.
6284         * bits/uio.h (struct iovec): Replace by inclusion of
6285         <bits/types/struct_iovec.h>.
6286         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6287         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6288         of <sys/uio.h>.
6289         * nptl/tst-cancel4.c: Include <sys/uio.h>
6290         * posix/test-errno.c: Likewise.
6291         * support/resolv_test.c: Likewise.
6292         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6293         Remove.
6294         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6295         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6296         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6298         * conform/data/sys/socket.h-data (*_t): Allow.
6300 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6302         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6303         assignment.
6305 2017-04-24  Daurnimator  <quae@daurnimator.com>
6306             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6308         [BZ #21340]
6309         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6310         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6311         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6312         valid flags.
6313         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6314         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6315         POSIX_SPAWN_SETSID.
6316         * sysdeps/posix/spawni.c (__spawni): Likewise.
6317         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6318         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6320 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6322         * sysdeps/generic/math_private.h: Move the declaration of many
6323         functions to sysdeps/generic/math_private_calls.h.
6324         * sysdeps/generic/math_private_calls.h: New file with the
6325         declarations of the functions removed from math_private.h
6326         macroized by floating-point type.
6328 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6330         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6331         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6332         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6333         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6334         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6335         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6337 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6339         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6340         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6341         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6342         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6343         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6344         New Define.
6346 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6348         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6349         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6350         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6351         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6352         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6353         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6355 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6357         * sysdeps/s390/multiarch/ifunc-resolve.h
6358         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6359         * sysdeps/s390/multiarch/8bit-generic.c
6360         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6361         define ifunc resolvers.
6363 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6365         [BZ #20424]
6366         * manual/memory.texi (Replacing malloc): New section.
6367         (Allocating Storage For Program Data): Reference it.
6368         (The GNU Allocator): Likewise.
6370 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6372         * stdlib/Versions (__strtod_internal): List explicitly, not as
6373         wildcard.
6374         (__strtof_internal): Likewise.
6375         (__strtold_internal): Likewise.
6376         (__strtol_internal): Likewise.
6377         (__strtoll_internal): Likewise.
6378         (__strtoul_internal): Likewise.
6379         (__strtoull_internal): Likewise.
6380         (__strtoq_internal): Likewise.
6381         (__strtouq_internal): Likewise.
6382         * wcsmbs/Versions (__wcstod_internal): Likewise.
6383         (__wcstof_internal): Likewise.
6384         (__wcstold_internal): Likewise.
6385         (__wcstol_internal): Likewise.
6386         (__wcstoll_internal): Likewise.
6387         (__wcstoul_internal): Likewise.
6388         (__wcstoull_internal): Likewise.
6390 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6392         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6393         struct timespec definition.
6395 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6397         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6399 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6401         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6402         * inet/rexec.c (rexec_af): Likewise.
6404 2017-04-19  Zack Weinberg  <zackw@panix.com>
6406         * posix/tst-mmap-offset.c: Include stdint.h.
6407         * resolv/tst-ns_name_compress.c: Include string.h.
6408         * resolv/tst-resolv-edns.c: Include resolv.h.
6410 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6412         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6413         with __glibc_likely.
6414         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6415         Replace __builtin_expect with __glibc_unlikely.
6416         * resolv/res_init.c (__res_vinit): Likewise.
6417         * resolv/res_query.c (__libc_res_nquery): Likewise.
6418         * resolv/res_send.c (__libc_res_nsend): Likewise.
6420 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6422         [BZ #15722]
6423         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6424         with SOCK_CLOEXEC.
6425         * resolv/res_send.c (send_vc, reopen): Likewise.
6426         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6427         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6428         Likewise.
6429         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6430         * inet/rexec.c (rexec_af): Add comment.
6431         * inet/rcmd.c (rresvport_af): Likewise.
6433 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6435         * nscd/connections.c (have_accept4): Removed definition.
6436         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6437         accept4 works.
6438         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6439         ia64 because that was the first version with accept4 support.
6440         * support/Makefile (libsupport-routines): Add xaccept4.
6441         * support/xsocket.h (xaccept4): Declare.
6442         * support/xaccept4.c: New file.
6443         * socket/tst-accept4.c: New file.
6444         * socket/Makefile (tests): Add tst-accept4.
6445         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6446         definition.
6447         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6448         comment.
6449         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6450         implementation is available.
6451         (accept4): Use the system call if available, otherwise use the
6452         socket call.
6453         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6454         Set to 3.2.18.
6455         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6456         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6457         accept4 is unconditionally available in later 3.2 stable kernels.
6458         (__ASSUME_ACCEPT4_SYSCALL): Define.
6459         * sysdeps/unix/sysv/linux/kernel-features.h
6460         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6461         definitions.
6462         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6463         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6465 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6467         * conform/Makefile (tests-special): Do not make addition of
6468         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6469         (generated): Do not make addition of $(conformtest-header-base)
6470         conditional on [$(cross-compiling) = no].
6472         [BZ #21267]
6473         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6474         if defined by <asm/socket.h> and not previously defined.
6475         (IOCSIZE_SHIFT): Likewise.
6476         (IOC_IN): Likewise.
6477         (IOC_INOUT): Likewise.
6478         (IOC_OUT): Likewise.
6480 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6482         [BZ #21396]
6483         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6484         Prefer_No_AVX512 if AVX512ER isn't available.
6485         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6486         (index_arch_Prefer_No_AVX512): Likewise.
6487         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6488         AVX512 version if Prefer_No_AVX512 is set.
6489         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6490         Likewise.
6491         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6492         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6493         Likewise.
6494         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6495         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6496         Likewise.
6497         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6498         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6499         Likewise.
6501 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6503         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6504         Prefer_No_VZEROUPPER if AVX512ER is available.
6505         * sysdeps/x86/cpu-features.h
6506         (bit_cpu_AVX512PF): New.
6507         (bit_cpu_AVX512ER): Likewise.
6508         (bit_cpu_AVX512CD): Likewise.
6509         (bit_cpu_AVX512BW): Likewise.
6510         (bit_cpu_AVX512VL): Likewise.
6511         (index_cpu_AVX512PF): Likewise.
6512         (index_cpu_AVX512ER): Likewise.
6513         (index_cpu_AVX512CD): Likewise.
6514         (index_cpu_AVX512BW): Likewise.
6515         (index_cpu_AVX512VL): Likewise.
6516         (reg_AVX512PF): Likewise.
6517         (reg_AVX512ER): Likewise.
6518         (reg_AVX512CD): Likewise.
6519         (reg_AVX512BW): Likewise.
6520         (reg_AVX512VL): Likewise.
6522 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6524         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6525         O_CLOEXEC is defined.
6526         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6527         * io/Makefile (aux): Remove.
6528         * io/have_o_cloexec.c: Remove file.
6529         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6530         defined and works.
6531         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6532         defined.
6533         * login/utmp_file.c (O_flags): Remove definition.
6534         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6535         O_CLOEXEC works.
6536         (pututline_file): Likewise.
6537         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6538         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6539         definition.
6540         (internal_setgrent): Assume that O_CLOEXEC works.
6541         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6542         Remove definition.
6543         (internal_setgrent): Assume that O_CLOEXEC works.
6544         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6545         definition.
6546         (internal_setpwent): Assume that O_CLOEXEC works.
6547         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6548         definition.
6549         (internal_setspent): Assume that O_CLOEXEC works.
6550         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6551         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6552         O_CLOEXEC is defined and works.
6553         * nss/Makefile (libnss_files-routines): Remove
6554         files-have_o_cloexec.
6555         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6556         defined.
6557         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6558         O_CLOEXEC is defined and works.
6559         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6560         * nss/nss_files/files-have_o_cloexec.c: Remove.
6561         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6562         defined.
6563         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6564         and works.
6565         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6566         definition.
6567         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6568         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6569         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6570         (__opendirat, __opendir): Adjust opendir_oflags call.
6571         (check_have_o_cloexec): Remove.
6572         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6573         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6574         defined.
6575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6576         Remove definition.
6578 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6580         * include/unistd.h (__have_dup3): Remove declaration.
6581         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6582         dup3 is available.
6583         * libio/freopen64.c (freopen64): Likewise.
6584         * socket/Makefile (aux): Remove have_sock_cloexec.
6585         * socket/have_sock_cloexec.c: Remove file.
6586         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6587         definition.
6588         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6589         Likewise.
6590         * sysdeps/nacl/kernel-features.h: Update comment.
6592 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6594         * include/unistd.h (__have_pipe2): Remove declaration.
6595         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6596         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6597         available.
6598         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6599         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6600         Remove definition.
6602 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6604         * malloc/malloc.c (cfree): Turn into compat symbol.
6605         (__cfree): Remove alias.
6606         * stdlib/stdlib.h (cfree): Remove declaration.
6607         * malloc/malloc.h (cfree): Likewise.
6608         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6609         * malloc/Versions (GLIBC_2.26): Add.
6611 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6613         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6614         (sysdep_routines): Add strrchr-power8.
6615         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6616         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6617         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6618         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6619         (strrchr): Add __strrchr_power8 to ifunc list.
6620         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6622 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6624         [BZ #21357]
6625         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6626         Call free() outside of mutex.
6628 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6630         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6631         is defined.
6632         * elf/rtld.c (process_envvars): Likewise.
6633         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6634         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6635         O_NOFOLLOW directly.
6636         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6638 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6640         [BZ #21369]
6641         Remove EDNS fallback.
6642         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6643         handling.
6644         * resolv/res_send.c (send_dg): Likewise.
6645         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6646         "tcp." prefixes.
6647         (do_test): Send a "formerr."-prefixed query in an attempt to
6648         trigger EDNS fallback.
6650 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6652         [BZ #21361]
6653         Limit EDNS buffer size to 1200 bytes.
6654         * include/resolv.h (__res_nopt): Remove declaration.
6655         * resolv/Makefile (tests): tst-resolv-edns.
6656         (tst-resolv-edns): Link with -lresolv, -lpthread.
6657         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6658         interval [512, 1200].
6659         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6660         we can resize the buffer.
6661         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6662         (__res_nopt): Declare.
6663         * resolv/tst-resolv-edns.c: New file.
6664         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6665         (struct resolv_response_context): Add edns member.
6666         * resolv/resolv_test.c (struct query_info): Add edns member.
6667         (parse_query): Extract EDNS information from the query.
6668         (server_thread_udp_process_one): Propagate EDNS data.
6669         (server_thread_tcp_client): Likewise.
6671 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6673         [BZ #21359]
6674         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6675         byte in the destination buffer.  Avoid out-of-bounds pointer
6676         arithmetic.
6677         * resolv/Makefile (tests): Add tst-ns_name_compress.
6678         (tst-ns_name_compress): Link with -lresolv.
6679         * resolv/tst-ns_name_compress.c: New file.
6680         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6681         (response): Recognize LONG_NAME.
6682         (do_test): Add LONG_NAME tests.
6683         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6684         for ns_name_unpack.  Add tests for ns_name_pton and
6685         ns_name_compress.
6687 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6689         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6690         (res_nisourserver): Remove definition.
6691         (p_section, res_npquery, res_nisourserver): Remove declaration.
6692         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6693         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6694         ... here.
6695         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6696         <resolv.h>.
6697         * resolv/res_query.c: Likewise.
6698         * resolv/res_debug.c (p_section): Define as static.
6700 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6702         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6703         strncat-power8.
6704         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6705         __strncat_power8 to ifunc list.
6706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6707         (strncat): Add __strncat_power8 to list of strncat functions.
6708         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6710 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6712         [BZ #21270]
6713         * posix/tst-mmap-offset.c (do_prepare): New function.
6714         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6715         (do_test_bz21270): New function.
6716         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6717         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6718         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6719         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6720         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6721         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6722         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6723         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6724         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6725         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6726         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6727         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6728         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6729         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6730         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6731         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6732         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6733         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6734         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6735         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6736         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6737         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6738         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6739         from auto-generation list.
6740         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6741         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6742         * sysdeps/unix/sysv/linux/mmap.c: New file.
6743         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6744         offsets and support for mmap2 syscall.
6746         * posix/globtest.sh: Add cleanup routine on trap 0.
6748 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6750         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6751         implementation-specific function name and remove unneeded
6752         macros definition.
6753         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6754         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6755         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6756         name if not defined and pass as parameter to macros accordingly.
6757         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6758         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6760         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6761         implementation-specific function name and remove unneeded
6762         macros definition.
6763         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6768         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6769         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6770         name if not defined and pass as parameter to macros accordingly.
6771         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6772         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6773         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6774         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6775         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6776         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6778         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6779         implementation-specific function name and remove unneeded macros
6780         definition.
6781         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6782         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6783         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6784         function name if not defined and pass as parameter to macros
6785         accordingly.
6786         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6787         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6789         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6790         implementation-specific function name and remove unneeded macros
6791         definition.
6792         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6793         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6794         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6795         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6796         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6797         not defined and pass as parameter to macros accordingly.
6798         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6799         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6800         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6801         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6803         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6804         strcasestr implementation name and remove unneeded macros definition.
6805         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6806         strstr implementation name and remove unneeded macros definition.
6807         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6808         name if not defined and pass as parameter to macros accordingly.
6809         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6811         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6812         implementation-specific function name and remove unneeded macros
6813         definition.
6814         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6815         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6816         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6817         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6818         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6819         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6820         function name if not defined and pass as parameter to macros
6821         accordingly.
6822         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6823         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6824         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6825         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6827         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6828         the strlen implementation name and remove unneeded macros definition.
6829         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6830         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6831         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6832         the strnlen implementation name and remove unneeded macros definition.
6833         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6834         name if not defined and pass as parameter to macros accordingly.
6835         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6836         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6837         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6839         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6840         the implementation-specific function name and remove unneeded
6841         macros definition.
6842         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6843         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6844         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6845         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6846         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6847         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6848         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6849         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6851         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6852         name if not defined and pass as parameter to macros accordingly.
6853         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6854         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6855         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6856         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6857         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6858         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6859         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6860         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6862         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6863         implementation-specific function name and remove unneeded macros
6864         definition.
6865         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6866         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6867         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6868         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6869         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6870         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6871         function name if not defined.
6872         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6873         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6875 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6877         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6878         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6879         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6880         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6882 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6883             Zack Weinberg  <zackw@panix.com>
6885         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6886         readdir64 as thread-safe.  Update warning about readdir_r.
6888 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6890         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6891         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6892         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6893         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6894         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6895         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6896         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6898 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6900         * sysdeps/i386/dl-procinfo.c: Include
6901         <sysdeps/x86/dl-procinfo.c>.
6902         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6903         * sysdeps/x86/dl-procinfo.c: New file.
6905 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6907         * sysdeps/generic/math_private.h: Remove declarations of
6908         many functions that are already declared in math.h.
6909         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6910         declaration for __frexpl.
6911         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6912         the declarations for __scalbnl and fabsl.
6914 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6916         [BZ #20831]
6917         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6918         of __mprotect to change protection on the excess portion
6919         to disallow all access.
6921 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6923         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6924         HAS_CPU_FEATURE to check for SSE.
6925         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6926         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6927         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6928         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6929         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6930         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6931         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6932         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6933         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6934         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6935         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6936         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6937         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6938         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6939         (index_cpu_SSE): Likewise.
6940         (reg_SSE): Likewise.
6942 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6944         * posix/getopt1.c: Include <config.h>, not "config.h".
6946 2017-04-07  Zack Weinberg  <zackw@panix.com>
6948         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6949         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6950         Mention in top-of-file boilerplate that these files are shared
6951         with gnulib.
6952         * posix/getopt.h, posix/bits/getopt_posix.h:
6953         Mention in top-of-file boilerplate that these files are NOT shared
6954         with gnulib, unlike the rest of the getopt implementation.
6956         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6957         New files, intended to be shared with gnulib.
6958         * posix/bits/getopt_posix.h:
6959         New file, not intended to be shared with gnulib.
6960         * posix/getopt.h: Now just includes features.h,
6961         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6962         no longer be shared with gnulib.
6963         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6964         * include/bits/getopt_posix.h: New wrappers.
6965         * posix/Makefile: Install new headers.
6966         * posix/unistd.h, libio/stdio.h:
6967         Include bits/getopt_posix.h instead of getopt.h.
6969         * include/libc-symbols.h: For gnulib compatibility, define
6970         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6971         _GL_ATTRIBUTE_CONST.
6972         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6973         parameters with _GL_UNUSED.
6975         * posix/getopt.c: When used standalone, define __libc_use_alloca
6976         as always false and alloca to abort if called.
6977         (process_long_option): Rewrite handling of ambiguous long options
6978         to use a single boolean vector, not a linked list; use
6979         __libc_use_alloca to decide whether to allocate this using alloca.
6980         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6982         * posix/getopt.c (process_long_option): New function split out
6983         from _getopt_internal_r.
6984         (_getopt_internal_r): Replace both copies of the long-option
6985         processing code with calls to process_long_option.
6986         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6987         (do_test): Differentiate argv[0] in the two subtests.
6989         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6990         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6991         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6993         * posix/getopt.h: Add backup definition of __nonnull for
6994         consistency with gnulib.  Define __getopt_argv_const to const
6995         if not already defined.
6996         (getopt): Update doc comment from gnulib.  Prototype
6997         unconditionally.  Add __nonnull annotation.
6998         (__posix_getopt): Add __nonnull annotation.
6999         (getopt_long, getopt_long_only): Use __getopt_argv_const in
7000         prototypes for consistency with gnulib.  Add __nonnull
7001         annotations.
7002         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
7003         (getopt_internal): Change 'argv' argument to type 'char **'.
7004         Remove now-unnecessary casts.
7005         (getopt, __posix_getopt): Eliminate repetition with a macro.
7006         Cast 'argv' to 'char **' when calling _getopt_internal.
7007         * posix/getopt1.c (getopt_long, getopt_long_only):
7008         Use __getopt_argv_const for consistency with gnulib.
7009         Cast 'argv' to 'char **' when calling _getopt_internal.
7010         (_getopt_long_r, _getopt_long_only_r):
7011         Change 'argv' argument to type 'char **'.
7012         (main): Constify 'long_options'.
7013         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
7014         (_getopt_long_r, _getopt_long_only_r):
7015         Change 'argv' argument to type 'char **'.
7017         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
7018         (locked_vfxprintf): New helper function. Handle arbitrary
7019         multibyte strings, not just ASCII.
7020         * include/stdio.h: Declare __fxprintf_nocancel.
7021         * posix/getopt.c: When _LIBC is defined, define fprintf to
7022         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
7023         to _IO_funlockfile.  When neither _LIBC nor
7024         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
7025         funlockfile as no-ops.
7026         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
7027         the standalone error-printing code can now be used for libc as
7028         well.  Add an flockfile/funlockfile pair around one case where
7029         the error message is printed in several chunks.  Don't use fputc.
7030         * posix/tst-getopt-cancel.c: New test.
7031         * posix/Makefile: Run it.
7033         * posix/getopt.c (_getopt_internal_r): Don't increment
7034         d->optind a second time when reporting ambiguous -W options.
7036         * posix/getopt_int.h: Include getopt.h.
7037         Use impl-namespace names for all arguments to _getopt_internal and
7038         _getopt_internal_r.
7039         Declare __ordering enum outside the struct.
7040         Harmonize comments with gnulib.
7041         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
7042         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
7043         #ifdef TEST block and make unconditional.  Do not define NULL.
7044         * posix/getopt.c: Partial merge from gnulib, covering the
7045         initial includes and global declarations, commentary, and
7046         a couple of semantically-neutral code changes.
7048         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
7049         Use '...' instead of `...' for quotation marks inside
7050         comments and strings.
7052         * config.h.in (USE_NONOPTION_FLAGS): Remove.
7053         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
7054         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7055         * posix/getopt_int.h: Likewise.
7056         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
7057         __libc_argc and __libc_argv externs, which were only used by
7058         #ifdef USE_NONOPTION_FLAGS blocks.
7059         * posix/getopt_init.c: Remove file.
7060         * posix/Makefile (routines): Remove getopt_init.
7061         * include/getopt.h: Don't declare __getopt_initialize_environment.
7062         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
7063         a comment.
7065 2017-04-07  Florian Weimer  <fweimer@redhat.com>
7067         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
7069 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7071         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
7072         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
7073         to __wrap_.udiv.
7074         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
7075         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
7077         * sysdeps/i386/symbol-hacks.h: New file.
7078         * sysdeps/m68k/symbol-hacks.h: New file.
7079         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
7080         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
7081         * sysdeps/unix/sysv/linux/i386/Makefile
7082         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7083         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7084         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7085         * sysdeps/unix/sysv/linux/m68k/Makefile
7086         [$(subdir) = csu] (sysdep_routines): Likewise.
7087         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7088         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7090         [$(subdir) = csu] (sysdep_routines): Likewise.
7091         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7092         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7093         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7094         [$(subdir) = csu] (sysdep_routines): Likewise.
7095         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7096         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7097         * sysdeps/wordsize-32/Makefile: Remove file.
7098         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
7099         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
7101 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
7103         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
7104         (TEST_FUNCTION_ARGV): New.
7106 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7108         * elf/next.c: Import support/test-driver.c instead of
7109         test-skeleton.c and delete TEST_FUNCTION macro definition.
7110         * elf/nodelete.c: Likewise.
7111         * elf/order2.c: Likewise.
7112         * elf/tst-_dl_addr_inside_object.c: Likewise.
7113         * elf/tst-addr1.c: Likewise.
7114         * elf/tst-align.c: Likewise.
7115         * elf/tst-align2.c: Likewise.
7116         * elf/tst-audit11.c: Likewise.
7117         * elf/tst-audit12.c: Likewise.
7118         * elf/tst-audit2.c: Likewise.
7119         * elf/tst-audit9.c: Likewise.
7120         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
7121         * elf/tst-deep1.c: Likewise.
7122         * elf/tst-dl-iter-static.c: Likewise.
7123         * elf/tst-dlmodcount.c: Likewise.
7124         * elf/tst-dlmopen1.c: Likewise.
7125         * elf/tst-dlmopen2.c: Likewise.
7126         * elf/tst-dlmopen3.c: Likewise.
7127         * elf/tst-dlopen-aout.c: Likewise.
7128         * elf/tst-dlopenrpath.c: Likewise.
7129         * elf/tst-dlsym-error.c: Likewise.
7130         * elf/tst-execstack-needed.c: Likewise.
7131         * elf/tst-execstack-prog.c: Likewise.
7132         * elf/tst-execstack.c: Likewise.
7133         * elf/tst-global1.c: Likewise.
7134         * elf/tst-gnu2-tls1.c: Likewise.
7135         * elf/tst-latepthread.c: Likewise.
7136         * elf/tst-leaks1.c: Likewise.
7137         * elf/tst-linkall-static.c: Likewise.
7138         (do_test): New function.
7139         * elf/tst-nodelete-opened.c: Likewise.
7140         * elf/tst-nodelete.cc: Likewise.
7141         * elf/tst-nodelete2.c: Likewise.
7142         * elf/tst-noload.c: Likewise.
7143         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
7144         * elf/tst-order-main.c: Likewise.
7145         * elf/tst-pathopt.c: Likewise.
7146         * elf/tst-pie2.c: Likewise.
7147         * elf/tst-piemod1.c: Likewise.
7148         * elf/tst-prelink.c: Likewise.
7149         * elf/tst-protected1a.c: Likewise.
7150         * elf/tst-protected1b.c: Likewise.
7151         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
7152         and define _GNU_SOURCE macro.
7153         (cmdline_process_function): New function.
7154         * elf/tst-relsort1.c: Likewise.
7155         * elf/tst-stackguard1.c: Likewise, import getopt.h,
7156         and define _GNU_SOURCE macro.
7157         (cmdline_process_function): New function.
7158         * elf/tst-thrlock.c: Likewise.
7159         * elf/tst-tls-dlinfo.c: Likewise.
7160         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7161         * elf/tst-tls1.c: Likewise.
7162         * elf/tst-tls10.c: Likewise.
7163         * elf/tst-tls11.c: Likewise.
7164         * elf/tst-tls12.c: Likewise.
7165         * elf/tst-tls13.c: Likewise.
7166         * elf/tst-tls14.c: Likewise.
7167         * elf/tst-tls15.c: Likewise.
7168         * elf/tst-tls16.c: Likewise.
7169         * elf/tst-tls17.c: Likewise.
7170         * elf/tst-tls18.c: Likewise.
7171         * elf/tst-tls19.c: Likewise.
7172         * elf/tst-tls2.c: Likewise.
7173         * elf/tst-tls3.c: Likewise.
7174         * elf/tst-tls4.c: Likewise.
7175         * elf/tst-tls5.c: Likewise.
7176         * elf/tst-tls6.c: Likewise.
7177         * elf/tst-tls7.c: Likewise.
7178         * elf/tst-tls8.c: Likewise.
7179         * elf/tst-tls9.c: Likewise.
7180         * elf/tst-tlsalign-extern.c: Likewise.
7181         * elf/tst-tlsalign.c: Likewise.
7182         * elf/tst-unique1.c: Likewise.
7183         * elf/tst-unique2.c: Likewise.
7184         * elf/vismain.c: Likewise.
7186 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7188         * string/test-strnlen.c (do_page_tests): New function
7189         to check length of strings ending at the page boundary.
7190         (test_main): Added call to the do_page_tests function.
7192 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7193             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7195         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7196         (sysdep_routines): Add strnlen-power8.
7197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7198         (strnlen): Add __strnlen_power8 to list of strnlen functions.
7199         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7200         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7201         (__strnlen): Add __strnlen_power8 to ifunc list.
7202         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7204 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7206         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7207         the TEST_FUNCTION macro definition.
7208         * wcsmbs/tst-mbrtowc2.c: Likewise.
7209         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7210         * wcsmbs/tst-wchar-h.c: Likewise.
7211         * wcsmbs/tst-wcpncpy.c: Likewise.
7212         * wcsmbs/tst-wcrtomb.c: Likewise.
7213         * wcsmbs/tst-wcsnlen.c: Likewise.
7214         * wcsmbs/tst-wcstof.c: Likewise.
7216 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7218         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7219         CALL_THREAD_FCT macro usage.
7220         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7221         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7222         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7224         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7225         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7226         (__ASSUME_REQUEUE_PI): Likewise.
7227         * sysdeps/unix/sysv/linux/kernel-features.h
7228         (__ASSUME_REQUEUE_PI): Likewise.
7229         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7230         (__ASSUME_REQUEUE_PI): Likewise.
7231         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7232         (__ASSUME_REQUEUE_PI): Likewise.
7233         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7234         (__ASSUME_REQUEUE_PI): Likewise.
7236 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7238         * resolv/tst-resolv-canonname.c: New file.
7239         * resolv/Makefile (tests): Add tst-resolv-canonname.
7240         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7242 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7244         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7245         Declare.
7246         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7247         (NS_MAXCDNAME): Remove definition.
7248         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7249         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7250         (NS_MAXCDNAME): Remove definition.
7251         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7253 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7255         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7256         call whose result is not used.
7258 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7260         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7261         * resolv/Makefile (tests): Add tst-ns_name.
7262         (tst-ns_name): Link with -lresolv.
7263         (tst-ns_name.out): Depend on the input data file.
7265 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7267         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7268         Clobber also r14.
7270 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7272         [BZ #21253]
7273         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7274         slack space by 32KiB.
7276 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7278         [BZ #21338]
7279         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7280         instead of incorrect do_set_arena_test
7282 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7284         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7285         * math/bits/math-finite.h: Likewise.
7287 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7289         [BZ #21289]
7290         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7292 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7294         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7295         non expected inotify_add_watch and quotactl return.
7297 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7299         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7300         to int32_t.
7301         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7302         as returning int32_t.
7304 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7306         * math/math.h: Include bits/math-finite.h once per
7307         floating-point type.
7308         * math/bits/math-finite.h: Macroize all declarations by
7309         floating-point type.
7311 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7313         [BZ #21182]
7314         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7315         near end of a page.
7316         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7317         overflow calculation.
7319 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7321         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7322         (IMPL) Call with 1 instead of 0 as argument.
7324 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7326         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7327         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7328         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7329         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7330         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7331         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7332         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7333         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7334         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7335         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7336         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7337         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7338         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7339         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7340         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7341         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7342         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7343         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7344         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7345         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7346         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7347         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7349         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7350         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7351         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7352         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7353         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7354         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7355         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7358         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7359         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7360         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7361         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7363         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7364         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7365         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7366         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7367         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7368         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7369         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7370         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7371         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7372         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7373         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7374         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7375         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7376         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7377         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7378         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7379         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7380         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7381         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7382         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7383         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7384         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7385         defined.
7386         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7387         __NR_setgroups32 if defined.
7388         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7389         if defined.
7390         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7391         __NR_setresgid32 is defined.
7392         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7393         __NR_setresuid32 if defined.
7394         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7395         __NR_setreuid32 if defined.
7396         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7397         defined.
7398         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7399         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7400         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7401         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7402         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7403         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7404         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7405         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7406         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7407         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7408         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7409         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7410         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7411         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7412         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7413         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7414         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7415         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7416         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7418         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7419         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7420         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7421         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7422         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7423         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7424         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7425         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7426         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7427         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7428         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7429         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7430         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7431         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7432         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7433         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7434         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7435         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7436         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7437         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7439         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7440         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7441         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7442         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7443         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7444         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7445         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7446         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7447         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7448         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7449         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7451         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7452         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7453         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7454         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7455         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7456         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7457         defined.
7458         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7459         __NR_setgroups32 if defined.
7460         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7461         if defined.
7462         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7463         __NR_setresgid32 is defined.
7464         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7465         __NR_setresuid32 if defined.
7466         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7467         __NR_setreuid32 if defined.
7468         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7469         defined.
7471 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7473         [BZ #21277]
7474         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7475         unconditionally.
7476         (IMAXBEL): Likewise.
7477         (IUTF8): Likewise.
7479 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7481         * sysdeps/aarch64/libm-test-ulps: Update.
7483 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7485         * README.tunables: Updated descriptions.
7486         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7487         * scripts/gen-tunables.awk: Updated the code related to the
7488         commit.
7490 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7492         * benchtests/Makefile (string-benchset): Add memcpy-random.
7493         * benchtests/bench-memcpy-random.c: New file.
7495 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7497         * stdio-common/printf.h (register_printf_modifier): Change the
7498         order of __wur and __THROW.
7499         (register_printf_type): Likewise.
7501 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7503         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7504         test_main ().
7505         (CMDLINE_PROCESS): Use function instead of defined macro.
7506         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7507         <suppport/support.h> to use set_fortify_handler().
7508         * string/bug-envz1.c: Import support/test-driver.c instead of
7509         test-skeleton.c.
7510         * string/bug-strcoll2.c: Likewise.
7511         * string/bug-strtok1.c: Likewise.
7512         * string/stratcliff.c: Likewise.
7513         * string/test-ffs.c: Likewise.
7514         * string/test-memccpy.c: Likewise.
7515         * string/test-memchr.c: Likewise.
7516         * string/test-memcmp.c: Likewise.
7517         * string/test-memcpy.c: Likewise.
7518         * string/test-memmem.c: Likewise.
7519         * string/test-memmove.c: Likewise.
7520         * string/test-memrchr.c: Likewise.
7521         * string/test-memset.c: Likewise.
7522         * string/test-rawmemchr.c: Likewise.
7523         * string/test-strcasecmp.c: Likewise.
7524         * string/test-strcasestr.c: Likewise.
7525         * string/test-strcat.c: Likewise.
7526         * string/test-strchr.c: Likewise.
7527         * string/test-strcmp.c: Likewise.
7528         * string/test-strcpy.c: Likewise.
7529         * string/test-string.h: Likewise.
7530         * string/test-strlen.c: Likewise.
7531         * string/test-strncasecmp.c: Likewise.
7532         * string/test-strncat.c: Likewise.
7533         * string/test-strncmp.c: Likewise.
7534         * string/test-strncpy.c: Likewise.
7535         * string/test-strnlen.c: Likewise.
7536         * string/test-strpbrk.c: Likewise.
7537         * string/test-strrchr.c: Likewise.
7538         * string/test-strspn.c: Likewise.
7539         * string/test-strstr.c: Likewise.
7540         * string/tst-bswap.c: Likewise.
7541         * string/tst-cmp.c: Likewise.
7542         * string/tst-endian.c: Likewise.
7543         * string/tst-inlcall.c: Likewise.
7544         * string/tst-strcoll-overflow.c: Likewise.
7545         * string/tst-strfry.c: Likewise.
7546         * string/tst-strlen.c: Likewise.
7547         * string/tst-strtok.c: Likewise.
7548         * string/tst-strtok_r.c: Likewise.
7549         * string/tst-strxfrm.c: Likewise.
7550         * string/tst-strxfrm2.c: Likewise.
7551         * string/tst-svc.c: Likewise.
7552         * string/tst-svc2.c: Likewise.
7554 2017-03-22  Zack Weinberg  <zackw@panix.com>
7556         * stdio-common/bug25.c: Include stdlib.h.
7557         * support/tst-support_format_dns_packet.c: Include stdio.h,
7558         stdlib.h, and string.h.
7559         * support/tst-support_record_failure.c: Include string.h.
7560         * support/tst-support_record_failure-2.sh: Adjust line number
7561         expectations and correct a typo in an error message.
7563 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7565         [BZ #21258]
7566         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7567         Define only if _dl_runtime_resolve is defined to
7568         _dl_runtime_resolve_sse_vex.
7569         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7570         Fallthrough to _dl_runtime_resolve_sse_vex.
7572 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7574         * INSTALL: Regenerated.
7576 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7578         * config.h.in: Add LINK_OBSOLETE_NSL.
7579         * config.make.in: Add build-obsolete-nsl.
7580         * configure.ac: Add obsolete-nsl option.
7581         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7582         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7583         * include/rpcsvc/nislib.h: Likewise.
7584         * include/rpcsvc/ypclnt.h: Likewise.
7585         * manual/install.texi: Document --enable-obsolete-nsl.
7586         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7587         * nis/nis_add.c: Replace libnsl_hidden_def with
7588         libnsl_hidden_nolink_def.
7589         * nis/nis_addmember.c: Likewise.
7590         * nis/nis_call.c: Likewise.
7591         * nis/nis_clone_obj.c: Likewise.
7592         * nis/nis_defaults.c: Likeise.
7593         * nis/nis_domain_of_r.c: Likewise.
7594         * nis/nis_error.c: Likewise.
7595         * nis/nis_file.c: Likewise.
7596         * nis/nis_free.c: Likewise.
7597         * nis_local_names.c: Likewise.
7598         * nis/nis_lookup.c: Likewise.
7599         * nis/nis_modify.c: Likewise.
7600         * nis/nis_print.c: Likewise.
7601         * nis/nis_remove.c: Likewise.
7602         * nis/nis_table.c: Likewise.
7603         * nis/nis_util.c: Likewise.
7604         * nis/nis_xdr.c: Likewise.
7605         * nis/yp_xdr.c: Likewise.
7606         * nis/ypclnt.c: Likewise.
7607         * nis/ypupdate_xdr.c: Likewise.
7608         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7609         * nis/nis_clone_dir.c: Likewise.
7610         * nis/nis_clone_res.c: Likewise.
7611         * nis/nis_creategroup.c: Likewise.
7612         * nis/nis_destroygroup.c: Likewise.
7613         * nis/nis_domain_of.c: Likewise.
7614         * nis/nis_getservlist.c: Likewise.
7615         * nis/nis_ismember.c: Likewise.
7616         * nis/nis_mkdir.c: Likewise.
7617         * nis/nis_ping.c: Likewise.
7618         * nis/nis_print_group_entry.c: Likewise.
7619         * nis/nis_removemember.c: Likewise.
7620         * nis/nis_rmdir.c: Likewise.
7621         * nis/nis_server.c: Likewise.
7622         * nis/nis_subr.c: Likewise.
7623         * nis/nis_verifygroup.c: Likewise.
7625 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7627         * malloc/tst-interpose-aux.c (check_for_allocations):
7628         Move compiler barrier before free.
7630 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7632         [BZ #21279]
7633         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7634         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7635         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7636         x86_64-x32-linux.
7637         (mq_attr.mq_maxmsg): Likewise.
7638         (mq_attr.mq_msgsize): Likewise.
7639         (mq_attr.mq_curmsgs): Likewise.
7641         [BZ #21278]
7642         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7643         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7644         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7645         mips-o32-linux.
7647         [BZ #21268]
7648         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7649         if [__USE_MISC]
7650         (NL3): Likewise.
7652 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7654         [BZ #21275]
7655         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7656         __stack to __stackbase.
7657         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7658         checks so we can include defined(__ia64__) first.
7660 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7662         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7663         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7664         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7665         Call is_pty when the link does not exist or does not match, fail
7666         with ENODEV when it returns true.
7667         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7668         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7669         Call is_pty when the link does not exist or does not match, fail
7670         with ENODEV when it returns true.
7672 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7674         [BZ #16437]
7675         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7676         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7677         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7678         x86_64-x32-linux.
7679         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7680         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7681         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7683         [BZ #21261]
7684         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7685         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7686         names for all fields.
7687         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7688         for jmp_buf field renaming.
7689         (_JMPBUF_UNWINDS_ADJ): Likewise.
7691         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7692         with allow-header.
7694 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7696         * malloc/malloc.c (unlink): Add consistency check between size and
7697         next->prev->size, to further harden against 1-byte overflows.
7699 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7701         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7702         CPU_FEATURES_CPU_P.
7704 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7706         [BZ #21259]
7707         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7708         unconditionally, not just for [__USE_MISC].
7710         [BZ #17786]
7711         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7712         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7713         mips-o32-linux.
7715         [BZ #21260]
7716         * sysdeps/unix/sysv/linux/alpha/Makefile
7717         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7718         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7720         * conform/conformtest.pl ($cross): New variable.
7721         (--cross): New command-line option.
7722         (runtest): Skip test execution when cross-compiling.
7723         * conform/Makefile (conformtest-cross): New variable.
7724         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7725         conformtest.pl.
7727         * conform/conformtest.pl ($xfail_str): New variable.
7728         (--xfail=): New command-line option.
7729         (top level): Handle expectations starting xfail[cond]-.
7730         * conform/Makefile (conformtest-xfail): New variable.
7731         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7732         conformtest.pl.
7734 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7736         * conform/conformtest.pl: Use compilation instead of execution
7737         tests for testing values of constants and usability in #if.
7739 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7741         * math/auto-libm-test-in: Mark some catan and catanh as
7742         xfail-rounding:ibm128-libgcc.
7743         * math/auto-libm-test-out-catan: Regenerate.
7744         * math/auto-libm-test-out-catanh: Likewise.
7746 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7748         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7749         (__END_NAMESPACE_STD): Likewise.
7750         (__USING_NAMESPACE_STD): Likewise.
7751         (__BEGIN_NAMESPACE_C99): Likewise.
7752         (__END_NAMESPACE_C99): Likewise.
7753         (__USING_NAMESPACE_C99): Likewise.
7754         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7755         undefine macro.
7756         (_Mdouble_END_NAMESPACE): Likewise.
7757         * ctype/ctype.h: Do not handle C++ namespaces.
7758         * libio/bits/stdio-ldbl.h: Likewise.
7759         * libio/stdio.h: Likewise.
7760         * locale/locale.h: Likewise.
7761         * math/bits/mathcalls.h: Likewise.
7762         * setjmp/setjmp.h: Likewise.
7763         * signal/signal.h: Likewise.
7764         * stdlib/bits/stdlib-float.h: Likewise.
7765         * stdlib/bits/stdlib-ldbl.h: Likewise.
7766         * stdlib/stdlib.h: Likewise.
7767         * string/string.h: Likewise.
7768         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7769         * time/bits/types/clock_t.h: Likewise.
7770         * time/bits/types/struct_tm.h: Likewise.
7771         * time/bits/types/time_t.h: Likewise.
7772         * time/time.h: Likewise.
7773         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7774         * wcsmbs/uchar.h: Likewise.
7775         * wcsmbs/wchar.h: Likewise.
7776         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7777         * wctype/wctype.h: Do not handle C++ namespaces.
7778         * scripts/begin-end-check.pl: Remove.
7779         * Makefile (installed-headers): Likewise.
7780         (tests-special): Do not add $(objpfx)begin-end-check.out.
7781         ($(objpfx)begin-end-check.out): Remove.
7783 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7784             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7786         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7787         (DL_PLATFORM_INIT): New define.
7788         (dl_platform_init): New function.
7789         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7790         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7791         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7792         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7793         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7795 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7797         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7798         instead of PIC.
7800 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7802         [BZ #21094]
7803         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7804         24+24+24-bit pi for wider range of values around pi/2.
7805         * math/auto-libm-test-in: Add more tests of cos and tan.
7806         * math/auto-libm-test-out-cos: Regenerated.
7807         * math/auto-libm-test-out-tan: Likewise.
7809 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7811         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7812         (RTLD_START): Don't record stack end address in _dl_start_user.
7814 2017-03-15  Alexey Neyman  <stilor@att.net>
7816         [BZ #21088]
7817         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7818         around definitions match those around use.
7820 2017-03-15  Alexey Neyman  <stilor@att.net>
7822         * configure.ac: Avoid empty subexpression in grep.
7823         * configure: Regenerate.
7825 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7827         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7828         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7829         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7830         (test_wrp_rv): Fix format.
7831         (test_wrp_rv2): New macro.
7832         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7833         binaries.
7835 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7837         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7838         Use a union when storing pointers.
7839         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7840         cast result when passing to INIT_VEC_PTRS_LOOP.
7841         (VECTOR_WRAPPER_fFF_3): Likewise.
7842         (VECTOR_WRAPPER_fFF_4): Likewise.
7844 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7846         * include/bits/mathcalls-helper-functions.h: New file.
7847         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7848         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7849         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7850         math/bits/mathcalls-helper-functions.h.
7851         * math/bits/mathcalls-helper-functions.h: New file.
7852         * math/math.h: Include bits/mathcalls-helper-functions.h for
7853         float, double, and long double.
7855 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7857         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7858         instead of feraiseexcept.
7860 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7862         [BZ #21243]
7863         * support/temp_file.c (support_delete_temp_files): Add comment
7864         about ignored errors.
7866 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7868         [BZ #21244]
7869         * support/xclose.c: New file.
7870         * support/Makefile (libsupport-routines): Add xclose.
7871         * support/xunistd.h (xclose): Declare.
7872         * support/resolv_test.c (server_thread_tcp_client)
7873         (server_thread_tcp, make_server_sockets, resolv_test_start)
7874         (resolv_test_end): Call xclose instead of close.
7875         * support/support_enter_network_namespace.c
7876         (support_enter_network_namespace): Likewise.
7877         * support/support_run_diff.c (write_to_temp_file): Likewise.
7879 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7881         * support/support_format_dns_packet.c (support_format_dns_packet):
7882         Handle CNAME records in the response.  Extract RDATA names from
7883         rdata, not the whole packet.  Check AAAA record length.
7884         * support/tst-support_format_dns_packet.c: New file.
7885         * support/Makefile (tests): Add tst-support_format_dns_packet.
7886         (tst-support_format_dns_packet): Link against libresolv.
7888 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7890         [BZ #21232]
7891         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7892         posix_fadvise64 weak_alias for static build.
7894 2017-03-14  Andreas Schwab  <schwab@suse.de>
7896         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7897         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7898         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7899         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7900         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7901         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7902         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7903         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7905 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7907         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7908         posix error code.
7909         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7911 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7913         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7914         no_isolate usage for SH.
7916 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7918         [BZ #15105]
7919         [BZ #19463]
7920         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7921         * inet/rcmd.c (rcmd_af): Likewise.
7922         * inet/rexec.c   (rexec_af): Likewise.
7923         * intl/dcigettext.c (_LIBC): Likewise.
7924         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7925         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7926         * locale/setlocale.c (setlocale): Likewise.
7927         * posix/spawn_faction_addopen.c
7928         (posix_spawn_file_actions_addopen): Likewise.
7929         * stdlib/putenv.c (putenv): Use __strndup.
7930         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7931         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7932         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7933         (__Need_M_And_C) Remove define/undef.
7934         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7935         (__malloc_and_calloc_defined): Remove define.
7936         * string/bits/string2.h (__strdup): Remove define.
7937         (strdup): Likewise.
7938         (__strndup): Likewise.
7939         (strndup): Likewise.
7941 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7943         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7944         macro.
7945         (IPV6_ADDR_PREFERENCES): Likewise.
7946         (IPV6_MINHOPCOUNT): Likewise.
7947         (IPV6_ORIGDSTADDR): Likewise.
7948         (IPV6_RECVORIGDSTADDR): Likewise.
7949         (IPV6_TRANSPARENT): Likewise.
7950         (IPV6_UNICAST_IF): Likewise.
7951         (IPV6_RECVFRAGSIZE): Likewise.
7953 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7955         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7957 2017-03-12  Alexey Neyman <stilor@att.net>
7959         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7960         in R_SH_DIR32 case is always false when inlined from
7961         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7963 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7965         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7966         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7967         __ASSUME_SEND_SYSCALL.
7969 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7971         * sunrpc/Makefile: don't build and install rpcsvc header
7972         files, rpcgen and librpcsvc.a by default.
7974 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7976         * math/auto-libm-test-out-catan: Regenerated.
7977         * math/auto-libm-test-out-catanh: Likewise.
7978         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7980 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7982         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7983         for long double with corrected test expectations.
7985 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7987         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7988         Define.
7989         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7990         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7991         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7992         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7993         * sysdeps/unix/sysv/linux/tile/sysdep.h
7994         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7995         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7996         (__ASSUME_RECV_SYSCALL): Define.
7997         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7998         (__ASSUME_RECV_SYSCALL): Likewise.
7999         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8000         (__ASSUME_RECV_SYSCALL): Likewise.
8001         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8002         (__ASSUME_RECV_SYSCALL): Likewise.
8003         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8004         (__ASSUME_RECV_SYSCALL): Likewise.
8005         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8006         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
8007         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8008         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8009         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8010         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8011         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
8012         auto-generation list.
8013         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8014         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8015         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
8016         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8017         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8018         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
8019         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
8020         __ASSUME_SENDTO_SYSCALL.
8021         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
8022         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
8023         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
8025         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
8026         auto-generation list.
8027         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8028         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8029         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8030         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8031         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8032         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8033         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8034         * sysdeps/unix/sysv/linux/kernel-features.h
8035         (__ASSUME_SENDTO_SYSCALL): Define by default.
8036         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8037         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
8038         __NR_sendto.
8039         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8040         (__ASSUME_SENDTO_SYSCALL): Likewise.
8041         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8042         (__ASSUME_SENDTO_SYSCALL): Likewise.
8043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8044         (__ASSUME_SENDTO_SYSCALL): Remove definition.
8045         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8046         (__ASSUME_SENDTO_SYSCALL): Likewise.
8047         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
8048         (__ASSUME_SENDTO_SYSCALL): Likewise.
8049         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
8051         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
8052         auto-generation list.
8053         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8054         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8055         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8056         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8057         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8058         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8059         (__ASSUME_RECV_SYSCALL): New define.
8060         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8061         (__ASSUME_RECV_SYSCALL): Likewise.
8062         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8063         (__ASSUME_RECV_SYSCALL): Likewise.
8064         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8065         (__ASSUME_RECV_SYSCALL): Likewise.
8066         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8067         (__ASSUME_RECV_SYSCALL): Likewise.
8068         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8069         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8070         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8071         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8072         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8073         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8074         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
8075         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
8076         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
8077         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
8078         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
8079         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
8081         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
8082         auto-generation list.
8083         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8084         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8085         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8086         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8087         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8088         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8089         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8090         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8091         (__ASSUME_RECVFROM_SYSCALL): Define by default.
8092         * sysdeps/unix/sysv/linux/kernel-features.h
8093         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
8094         __NR_recvfrom.
8095         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8096         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8097         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8098         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8099         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8100         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
8101         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8102         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8103         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8104         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8105         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8106         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8107         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
8109         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
8110         auto-generation list.
8111         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8112         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8113         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8114         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8115         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8116         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8117         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8118         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
8119         * sysdeps/unix/sysv/linux/kernel-features.h
8120         (__ASSUME_CONNECT_SYSCALL): Define.
8121         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8122         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
8123         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8124         (__ASSUME_CONNECT_SYSCALL): Likewise.
8125         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8126         (__ASSUME_CONNECT_SYSCALL): Likewise.
8127         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8128         (__ASSUME_CONNECT_SYSCALL): Likewise.
8130         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
8131         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
8132         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
8133         auto-generation list.
8134         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8135         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8136         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8137         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8138         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8139         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8140         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8141         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8142         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8143         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8144         * sysdeps/unix/sysv/linux/kernel-features.h
8145         (__ASSUME_ACCEPT_SYSCALL): New define.
8146         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8147         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8148         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
8149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8150         (__ASSUME_ACCEPT_SYSCALL): Define.
8151         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8152         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8153         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8154         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8155         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8156         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8157         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8158         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8159         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8161 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
8162             Zack Weinberg  <zackw@panix.com>
8164         * posix/test-errno.c: New file.
8165         * posix/Makefile (tests): Add test-errno.
8166         * sysdeps/unix/sysv/linux/test-errno.c: New file.
8167         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8169 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
8171         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8173 2017-03-07  Florian Weimer  <fweimer@redhat.com>
8175         * time/tzset.c (compute_offset): Open-code min macro.
8176         (min, max, sign): Remove.
8178 2017-03-07  Florian Weimer  <fweimer@redhat.com>
8180         [BZ #15576]
8181         Remove TZNAME_MAX limit from sysconf.
8182         * include/time.h (__tzname_cur_max, __tzname_max): Remove
8183         declaration.
8184         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8185         compute_tzname_max.
8186         (compute_tzname_max): Remove.
8187         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8188         (update_vars): Do not update __tzname_cur_max.
8189         (tzset_internal): Remove argument.
8190         (__tzset): Adjust call to tzset_internal.
8191         (__tz_convert): Likewise.
8193         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8194         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8195         * manual/conf.texi (Sysconf Definition): Update comment.
8197 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8199         [BZ #21209]
8200         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8201         AT_SECURE processes.
8202         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8203         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8204         (test_child): Likewise.
8205         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8207 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8209         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8211 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8213         * sysdeps/s390/atomic-machine.h
8214         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8215         (__arch_compare_and_exchange_val_8_acq,
8216         __arch_compare_and_exchange_val_16_acq,
8217         __arch_compare_and_exchange_val_32_acq,
8218         __arch_compare_and_exchange_val_64_acq):
8219         Delete macro.
8220         (atomic_compare_and_exchange_val_acq,
8221         atomic_compare_and_exchange_val_rel,
8222         atomic_compare_and_exchange_bool_acq,
8223         catomic_compare_and_exchange_bool_acq,
8224         atomic_exchange_acq, atomic_exchange_rel,
8225         atomic_exchange_and_add_acq,
8226         atomic_exchange_and_add_rel,
8227         catomic_exchange_and_add, atomic_or_val,
8228         atomic_or, catomic_or, atomic_bit_test_set,
8229         atomic_and_val, atomic_and, catomic_and):
8230         Define macros with help of C11 atomic builtins.
8232 2017-03-03  Justus Winter <justus@gnupg.org>
8234         * sysdeps/mach/hurd/ftruncate64.c: New file.
8235         * sysdeps/mach/hurd/truncate64.c: Likewise.
8237 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8239         * time/tzfile.c (NOID): Do not define.
8240         * time/tzset.c (NOID): Likewise.
8242 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8244         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8246 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8248         * elf/get-dynamic-info.h: Remove header file inclusion guard.
8250 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8252         [BZ #21015]
8253         * manual/install.texi (Configuring and compiling): Document
8254         --enable-bind-now.
8255         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8256         (build-shlib-helper): Use $(LDFLAGS-lib.so).
8257         (format.lds): Likewise.
8258         [bind-now] (LDFLAGS-c.so): Remove.
8259         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8260         be R_X86_64_GLOB_DAT.
8261         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8262         relocation can be R_386_GLOB_DAT.
8263         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8264         relocaiton can be R_ALPHA_GLOB_DAT.
8265         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8267 2017-03-01  Zack Weinberg  <zackw@panix.com>
8269         * include/libc-pointer-arith.h: New file.  Define
8270         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8271         PTR_ALIGN_DOWN here.
8272         * include/libc-internal.h: Definitions of above macros
8273         moved from here.  Don't include libc-diag.h anymore either.
8274         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8275         Don't include libc-internal.h.
8277         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8278         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8279         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8280         * string/strcoll_l.c, sysdeps/nacl/brk.c
8281         * sysdeps/unix/clock_settime.c
8282         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8283         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8284         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8285         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8286         Don't include libc-internal.h.
8288         * elf/get-dynamic-info.h, iconv/loop.c
8289         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8290         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8291         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8292         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8293         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8294         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8295         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8296         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8297         * sysdeps/ieee754/ldbl-128/k_tanl.c
8298         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8299         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8300         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8301         Include libc-diag.h instead of libc-internal.h.
8303         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8304         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8305         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8306         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8307         * sysdeps/unix/sysv/linux/spawni.c
8308         * sysdeps/x86_64/nptl/tls.h:
8309         Include libc-pointer-arith.h instead of libc-internal.h.
8311         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8312         * sysdeps/x86_64/atomic-machine.h:
8313         Add multiple include guard.
8315         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8316         * string/strcasestr.c: No need to include config.h.
8317         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8318         sys/auxv.h. Don't include sysdep.h.
8319         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8321         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8322         DL_LOOKUP_ADDRESS.
8323         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8324         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8325         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8326         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8327         of ARTIFICIAL_LIMIT.
8328         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8329         declaration of __clone2.
8331 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8333         * scripts/backport-support.sh (latest_commit): New file.
8335 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8337         [BZ #20257]
8338         * inet/Makefile (routines): Add deadline.
8339         (tests-static): Add tst-deadline.
8340         * inet/net-internal.h (struct deadline_current_time)
8341         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8342         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8343         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8344         * inet/deadline.c: New file.
8345         * inet/tst-deadline.c: Likewise.
8346         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8347         tst-udp-timeout, tst-udp-garbage.
8348         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8349         explicitly.
8350         (tst-udp-garbage): Likewise.  Also link against thread library.
8351         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8352         struct layout is part of the ABI.
8353         (clntudp_call): Rework timeout handling.
8354         * sunrpc/tst-udp-garbage.c: New file.
8355         * sunrpc/tst-udp-nonblocking.c: Likewise.
8356         * sunrpc/tst-udp-timeout.c: Likewise.
8358 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8360         [BZ #5010]
8361         * sunrpc/svc.c (svc_is_mapped): Remove.
8362         (svc_unregister): Obtain mapped status while the service is still
8363         registered.
8364         * sunrpc/Makefile [have-thread-library] (tests): Add
8365         tst-svc_register.
8366         (tst-svc_register): Link against libc.so explicitly and the thread
8367         library.
8368         * sunrpc/tst-svc_register.c: New file.
8370 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8372         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8373         * sysdeps/pthread/bits/sigthread.h: Likewise.
8375 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8377         [BZ #21115]
8378         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8379         * sunrpc/Makefile (tests): Add tst-udp-error.
8380         (tst-udp-error): Link against libc.so explicitly.
8381         * sunrpc/tst-udp-error: New file.
8383 2017-02-25  Zack Weinberg  <zackw@panix.com>
8385         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8386         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8388         * sysdeps/generic/math_ldbl.h
8389         * sysdeps/ia64/fpu/math_ldbl.h
8390         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8391         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8392         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8393         * sysdeps/powerpc/fpu/math_ldbl.h
8394         * sysdeps/x86_64/fpu/math_ldbl.h:
8395         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8396         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8397         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8398         Add copyright notices.
8400         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8401         Don't use EXTRACT_WORDS64.
8403         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8404         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8405         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8406         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8407         Include math_ldbl.h, not math_private.h.
8409 2017-02-25  Zack Weinberg  <zackw@panix.com>
8411         * include/libc-diag.h: New file.  Define ignore_value,
8412         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8413         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8415         * include/libc-internal.h: Definitions of above macros moved from
8416         here.  Include libc-diag.h.  Add copyright notice.
8418         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8419         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8420         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8421         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8422         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8423         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8424         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8425         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8426         Include libc-diag.h instead of libc-internal.h.
8428         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8429         call to unsetenv (NULL).
8430         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8431         call to pthread_mutexattr_destroy (NULL).
8433 2017-02-25  Zack Weinberg  <zackw@panix.com>
8435         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8436         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8437         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8438         gets was removed from C++ in C++14.
8439         * include/stdio.h: Remove redundant declaration of gets.
8440         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8441         be declared, since we are testing it.
8442         * stdio-common/Makefile (tst-gets.c): Compile with
8443         -Wno-deprecated-declarations.
8444         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8445         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8446         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8447         Compile with -Wno-deprecated-declarations.
8449 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8451         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8452         numbers.
8454 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8456         * resolv/tst-resolv-qtypes.c (domain):
8457         Change type to const pointer to const char.
8459 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8461         * math/Makefile (libm-tests-generated): Remove variable.
8462         (libm-tests-base-normal): New variable.
8463         (libm-tests-base-finite): Likewise.
8464         (libm-tests-base-inline): Likewise.
8465         (libm-tests-base): Likewise.
8466         (libm-tests-normal): Likewise.
8467         (libm-tests-finite): Likewise.
8468         (libm-tests-inline): Likewise.
8469         (libm-tests-vector): Likewise.
8470         (libm-tests): Define in terms of these new variables.
8471         (libm-tests-for-type): New variable.
8472         (libm-tests.o): Move definition.
8473         (tests): Move addition of $(libm-tests).
8474         (generated): Update for new and removed libm test files.
8475         ($(objpfx)libm-test.c): Remove target.
8476         ($(objpfx)libm-have-vector-test.h): Likewise.
8477         (CFLAGS-test-double-vlen2.c): Remove variable.
8478         (CFLAGS-test-double-vlen4.c): Likewise.
8479         (CFLAGS-test-double-vlen8.c): Likewise.
8480         (CFLAGS-test-float-vlen4.c): Likewise.
8481         (CFLAGS-test-float-vlen8.c): Likewise.
8482         (CFLAGS-test-float-vlen16.c): Likewise.
8483         (CFLAGS-test-float.c): Likewise.
8484         (CFLAGS-test-float-finite.c): Likewise.
8485         (CFLAGS-libm-test-support-float.c): Likewise.
8486         (CFLAGS-test-double.c): Likewise.
8487         (CFLAGS-test-double-finite.c): Likewise.
8488         (CFLAGS-libm-test-support-double.c): Likewise.
8489         (CFLAGS-test-ldouble.c): Likewise.
8490         (CFLAGS-test-ldouble-finite.c): Likewise.
8491         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8492         (libm-test-inline-cflags): New variable.
8493         (CFLAGS-test-ifloat.c): Remove variable.
8494         (CFLAGS-test-idouble.c): Likewise.
8495         (CFLAGS-test-ildouble.c): Likewise.
8496         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8497         dependencies.
8498         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8499         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8500         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8501         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8502         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8503         Likewise.
8504         (dependencies on libm-test-support-*.o): Remove.
8505         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8506         rules using iterators.
8507         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8508         Likewise.
8509         ($(objpfx)libm-test-support-$(o).o): Likewise.
8510         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8511         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8512         instead.
8513         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8514         define rule instead.
8515         * math/README.libm-test: Update.
8516         * math/libm-test-acos.inc: Include libm-test-driver.c.
8517         (do_test): New function.
8518         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8519         (do_test): New function.
8520         * math/libm-test-asin.inc: Include libm-test-driver.c.
8521         (do_test): New function.
8522         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8523         (do_test): New function.
8524         * math/libm-test-atan.inc: Include libm-test-driver.c.
8525         (do_test): New function.
8526         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8527         (do_test): New function.
8528         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8529         (do_test): New function.
8530         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8531         (do_test): New function.
8532         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8533         (do_test): New function.
8534         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8535         (do_test): New function.
8536         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8537         (do_test): New function.
8538         * math/libm-test-carg.inc: Include libm-test-driver.c.
8539         (do_test): New function.
8540         * math/libm-test-casin.inc: Include libm-test-driver.c.
8541         (do_test): New function.
8542         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8543         (do_test): New function.
8544         * math/libm-test-catan.inc: Include libm-test-driver.c.
8545         (do_test): New function.
8546         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8547         (do_test): New function.
8548         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8549         (do_test): New function.
8550         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8551         (do_test): New function.
8552         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8553         (do_test): New function.
8554         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8555         (do_test): New function.
8556         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8557         (do_test): New function.
8558         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8559         (do_test): New function.
8560         * math/libm-test-clog.inc: Include libm-test-driver.c.
8561         (do_test): New function.
8562         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8563         (do_test): New function.
8564         * math/libm-test-conj.inc: Include libm-test-driver.c.
8565         (do_test): New function.
8566         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8567         (do_test): New function.
8568         * math/libm-test-cos.inc: Include libm-test-driver.c.
8569         (do_test): New function.
8570         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8571         (do_test): New function.
8572         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8573         (do_test): New function.
8574         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8575         (do_test): New function.
8576         * math/libm-test-creal.inc: Include libm-test-driver.c.
8577         (do_test): New function.
8578         * math/libm-test-csin.inc: Include libm-test-driver.c.
8579         (do_test): New function.
8580         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8581         (do_test): New function.
8582         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8583         (do_test): New function.
8584         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8585         (do_test): New function.
8586         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8587         (do_test): New function.
8588         * math/libm-test-erf.inc: Include libm-test-driver.c.
8589         (do_test): New function.
8590         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8591         (do_test): New function.
8592         * math/libm-test-exp.inc: Include libm-test-driver.c.
8593         (do_test): New function.
8594         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8595         (do_test): New function.
8596         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8597         (do_test): New function.
8598         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8599         (do_test): New function.
8600         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8601         (do_test): New function.
8602         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8603         (do_test): New function.
8604         * math/libm-test-floor.inc: Include libm-test-driver.c.
8605         (do_test): New function.
8606         * math/libm-test-fma.inc: Include libm-test-driver.c.
8607         (do_test): New function.
8608         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8609         (do_test): New function.
8610         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8611         (do_test): New function.
8612         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8613         (do_test): New function.
8614         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8615         (do_test): New function.
8616         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8617         (do_test): New function.
8618         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8619         (do_test): New function.
8620         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8621         (do_test): New function.
8622         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8623         (do_test): New function.
8624         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8625         (do_test): New function.
8626         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8627         (do_test): New function.
8628         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8629         (do_test): New function.
8630         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8631         (do_test): New function.
8632         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8633         (do_test): New function.
8634         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8635         (do_test): New function.
8636         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8637         (do_test): New function.
8638         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8639         (do_test): New function.
8640         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8641         (do_test): New function.
8642         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8643         (do_test): New function.
8644         * math/libm-test-isless.inc: Include libm-test-driver.c.
8645         (do_test): New function.
8646         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8647         (do_test): New function.
8648         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8649         (do_test): New function.
8650         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8651         (do_test): New function.
8652         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8653         (do_test): New function.
8654         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8655         (do_test): New function.
8656         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8657         (do_test): New function.
8658         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8659         (do_test): New function.
8660         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8661         (do_test): New function.
8662         * math/libm-test-j0.inc: Include libm-test-driver.c.
8663         (do_test): New function.
8664         * math/libm-test-j1.inc: Include libm-test-driver.c.
8665         (do_test): New function.
8666         * math/libm-test-jn.inc: Include libm-test-driver.c.
8667         (do_test): New function.
8668         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8669         (do_test): New function.
8670         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8671         (do_test): New function.
8672         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8673         (do_test): New function.
8674         * math/libm-test-llround.inc: Include libm-test-driver.c.
8675         (do_test): New function.
8676         * math/libm-test-log.inc: Include libm-test-driver.c.
8677         (do_test): New function.
8678         * math/libm-test-log10.inc: Include libm-test-driver.c.
8679         (do_test): New function.
8680         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8681         (do_test): New function.
8682         * math/libm-test-log2.inc: Include libm-test-driver.c.
8683         (do_test): New function.
8684         * math/libm-test-logb.inc: Include libm-test-driver.c.
8685         (do_test): New function.
8686         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8687         (do_test): New function.
8688         * math/libm-test-lround.inc: Include libm-test-driver.c.
8689         (do_test): New function.
8690         * math/libm-test-modf.inc: Include libm-test-driver.c.
8691         (do_test): New function.
8692         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8693         (do_test): New function.
8694         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8695         (do_test): New function.
8696         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8697         (do_test): New function.
8698         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8699         (do_test): New function.
8700         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8701         (do_test): New function.
8702         * math/libm-test-pow.inc: Include libm-test-driver.c.
8703         (do_test): New function.
8704         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8705         (do_test): New function.
8706         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8707         (do_test): New function.
8708         * math/libm-test-rint.inc: Include libm-test-driver.c.
8709         (do_test): New function.
8710         * math/libm-test-round.inc: Include libm-test-driver.c.
8711         (do_test): New function.
8712         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8713         (do_test): New function.
8714         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8715         (do_test): New function.
8716         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8717         (do_test): New function.
8718         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8719         (do_test): New function.
8720         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8721         (do_test): New function.
8722         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8723         (do_test): New function.
8724         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8725         (do_test): New function.
8726         * math/libm-test-significand.inc: Include libm-test-driver.c.
8727         (do_test): New function.
8728         * math/libm-test-sin.inc: Include libm-test-driver.c.
8729         (do_test): New function.
8730         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8731         (do_test): New function.
8732         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8733         (do_test): New function.
8734         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8735         (do_test): New function.
8736         * math/libm-test-tan.inc: Include libm-test-driver.c.
8737         (do_test): New function.
8738         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8739         (do_test): New function.
8740         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8741         (do_test): New function.
8742         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8743         (do_test): New function.
8744         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8745         (do_test): New function.
8746         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8747         (do_test): New function.
8748         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8749         (do_test): New function.
8750         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8751         (do_test): New function.
8752         * math/libm-test-y0.inc: Include libm-test-driver.c.
8753         (do_test): New function.
8754         * math/libm-test-y1.inc: Include libm-test-driver.c.
8755         (do_test): New function.
8756         * math/libm-test-yn.inc: Include libm-test-driver.c.
8757         (do_test): New function.
8758         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8759         (HAVE_VECTOR): Remove macro.
8760         (START): Do not call HAVE_VECTOR.
8761         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8762         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8763         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8764         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8765         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8766         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8767         * math/test-math-vector.h (FUNC_TEST): New macro.
8768         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8769         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8770         (double-vlen4-funcs): Likewise.
8771         (double-vlen4-avx2-funcs): Likewise.
8772         (double-vlen8-funcs): Likewise.
8773         (float-vlen4-funcs): Likewise.
8774         (float-vlen8-funcs): Likewise.
8775         (float-vlen8-avx2-funcs): Likewise.
8776         (float-vlen16-funcs): Likewise.
8777         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8778         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8779         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8780         macro.
8781         (TEST_VECTOR_sin): Likewise.
8782         (TEST_VECTOR_sincos): Likewise.
8783         (TEST_VECTOR_log): Likewise.
8784         (TEST_VECTOR_exp): Likewise.
8785         (TEST_VECTOR_pow): Likewise.
8786         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8787         Likewise.
8788         (TEST_VECTOR_sin): Likewise.
8789         (TEST_VECTOR_sincos): Likewise.
8790         (TEST_VECTOR_log): Likewise.
8791         (TEST_VECTOR_exp): Likewise.
8792         (TEST_VECTOR_pow): Likewise.
8793         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8794         Likewise.
8795         (TEST_VECTOR_sinf): Likewise.
8796         (TEST_VECTOR_sincosf): Likewise.
8797         (TEST_VECTOR_logf): Likewise.
8798         (TEST_VECTOR_expf): Likewise.
8799         (TEST_VECTOR_powf): Likewise.
8800         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8801         Likewise.
8802         (TEST_VECTOR_sinf): Likewise.
8803         (TEST_VECTOR_sincosf): Likewise.
8804         (TEST_VECTOR_logf): Likewise.
8805         (TEST_VECTOR_expf): Likewise.
8806         (TEST_VECTOR_powf): Likewise.
8807         * math/gen-libm-have-vector-test.sh: Remove file.
8808         * math/libm-test.inc: Likewise.
8809         * math/libm-test-support-double.c: Likewise.
8810         * math/libm-test-support-float.c: Likewise.
8811         * math/libm-test-support-ldouble.c: Likewise.
8812         * math/test-double-finite.c: Likewise.: Likewise.
8813         * math/test-double.c: Likewise.
8814         * math/test-float-finite.c: Likewise.
8815         * math/test-float.c: Likewise.
8816         * math/test-idouble.c: Likewise.
8817         * math/test-ifloat.c: Likewise.
8818         * math/test-ildouble.c: Likewise.
8819         * math/test-ldouble-finite.c: Likewise.
8820         * math/test-ldouble.c: Likewise.
8821         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8822         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8823         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8824         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8825         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8826         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8827         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8828         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8829         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8830         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8832 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8833            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8835         * math/Makefile: Add wrappers to gen-libm-calls.
8836         * math/w_acos_template.c: New file.
8837         * math/w_acosh_template.c: Likewise.
8838         * math/w_asin_template.c: Likewise.
8839         * math/w_atan2_template.c: Likewise.
8840         * math/w_atanh_template.c: Likewise.
8841         * math/w_cosh_template.c: Likewise.
8842         * math/w_exp10_template.c: Likewise.
8843         * math/w_exp2_template.c: Likewise.
8844         * math/w_exp_template.c: Likewise.
8845         * math/w_fmod_template.c: Likewise.
8846         * math/w_hypot_template.c: Likewise.
8847         * math/w_j0_template.c: Likewise.
8848         * math/w_j1_template.c: Likewise.
8849         * math/w_jn_template.c: Likewise.
8850         * math/w_lgamma_r_template.c: Likewise.
8851         * math/w_lgamma_template.c: Likewise.
8852         * math/w_log10_template.c: Likewise.
8853         * math/w_log2_template.c: Likewise.
8854         * math/w_log_template.c: Likewise.
8855         * math/w_pow_template.c: Likewise.
8856         * math/w_remainder_template.c: Likewise.
8857         * math/w_sinh_template.c: Likewise.
8858         * math/w_sqrt_template.c: Likewise.
8859         * math/w_tgamma_template.c: Likewise.: Likewise.
8860         * sysdeps/generic/math-type-macros-double.h
8861         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8862         the new wrappers.
8863         * sysdeps/generic/math-type-macros-float.h: Likewise.
8864         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8866 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8868         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8869         New enum constant and macro.
8871         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8872         kernel version to 4.10.
8874 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8876         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8878 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8882 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8884         * sysdeps/powerpc/tst-set_ppr.c: New file.
8885         Implement test cases for __ppc_set_ppr_* functions.
8886         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8887         in the list of tests.
8889 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8891         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8892         instead of test-skeleton.c.
8893         (do_test): Replaced pthread_create and pthread_join with
8894         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8895         Removed unneeded status variable.
8896         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8897         instead of test-skeleton.c.
8898         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8900 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8902         [BZ #20313]
8903         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8904         201605L, for Unicode 9.
8906 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8908         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8909         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8910         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8911         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8912         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8913         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8915 2017-02-19  Zack Weinberg  <zackw@panix.com>
8917         * rt/tst-mqueue4.c: Include stdint.h.
8919 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8921         * sysdeps/arm/libm-test-ulps: Update.
8922         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8923         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8924         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8926 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8928         [BZ #21029]
8929         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8930         * sysdeps/unix/sysv/linux/i386/Makefile
8931         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8932         (uses-6-syscall-arguments): Remove.
8933         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8934         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8935         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8936         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8937         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8938         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8939         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8940         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8941         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8942         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8943         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8944         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8945         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8946         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8947         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8948         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8949         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8950         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8951         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8952         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8953         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8954         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8955         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8956         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8957         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8958         Likewise.
8959         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8960         Likewise.
8961         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8962         Likewise.
8963         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8964         Likewise.
8965         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8966         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8967         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8968         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8969         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8970         ebp on inline assembly.
8971         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8972         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8973         Set if CAN_USE_REGISTER_ASM_EBP is set.
8975 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8977         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8978         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8980 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8982         * math/auto-libm-test-in: Add tests of catan and catanh.
8983         * math/auto-libm-test-out-catan: New generated file.
8984         * math/auto-libm-test-out-catanh: Likewise.
8985         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8986         Move tests with finite inputs, except divide-by-zero cases, to
8987         auto-libm-test-in.
8988         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8989         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8990         (libm-test-funcs-noauto): Remove catan and catanh.
8991         * sysdeps/i386/fpu/libm-test-ulps: Update.
8992         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8995         * math/auto-libm-test-in: Add tests of casin and casinh.
8996         * math/auto-libm-test-out-casin: New generated file.
8997         * math/auto-libm-test-out-casinh: Likewise.
8998         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8999         Move tests with finite inputs to auto-libm-test-in.
9000         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
9001         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
9002         (libm-test-funcs-noauto): Remove casin and casinh.
9003         * sysdeps/i386/fpu/libm-test-ulps: Update.
9004         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9007         * math/auto-libm-test-in: Add tests of cacos and cacosh.
9008         * math/auto-libm-test-out-cacos: New generated file.
9009         * math/auto-libm-test-out-cacosh: Likewise.
9010         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
9011         Move tests with finite inputs to auto-libm-test-in.
9012         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
9013         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
9014         (libm-test-funcs-noauto): Remove cacos and cacosh.
9015         * sysdeps/i386/fpu/libm-test-ulps: Update.
9016         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9019         Revert:
9020         2017-02-16  Zack Weinberg  <zackw@panix.com>
9022         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9023         Don't include init-arch.h.
9024         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9025         Don't include init-arch.h.
9027 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9029         [BZ #21171]
9030         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
9031         +Inf and raise divide-by-zero when x is negative.
9032         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
9033         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
9034         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
9035         -Inf and raise divide-by-zero when x = +-0.
9036         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9037         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9038         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9039         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9040         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9041         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9042         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9044 2017-02-16  Zack Weinberg  <zackw@panix.com>
9046         * scripts/build-many-glibcs.py (bot_build_mail): If the
9047         bot_config does not contain all of the necessary email-
9048         related settings, just print a warning and continue.
9050 2017-02-16  Zack Weinberg  <zackw@panix.com>
9052         * crypt/md5.h: Test _LIBC with #if defined, not #if.
9053         * dirent/opendir-tst1.c: Include sys/stat.h.
9054         * dirent/tst-fdopendir.c: Include sys/stat.h.
9055         * dirent/tst-fdopendir2.c: Include stdlib.h.
9056         * dirent/tst-scandir.c: Include stdbool.h.
9057         * elf/tst-auditmod1.c: Include link.h and stddef.h.
9058         * elf/tst-tls15.c: Include stdlib.h.
9059         * elf/tst-tls16.c: Include stdlib.h.
9060         * elf/tst-tls17.c: Include stdlib.h.
9061         * elf/tst-tls18.c: Include stdlib.h.
9062         * iconv/tst-iconv6.c: Include endian.h.
9063         * iconvdata/bug-iconv11.c: Include limits.h.
9064         * io/test-utime.c: Include stdint.h.
9065         * io/tst-faccessat.c: Include sys/stat.h.
9066         * io/tst-fchmodat.c: Include sys/stat.h.
9067         * io/tst-fchownat.c: Include sys/stat.h.
9068         * io/tst-fstatat.c: Include sys/stat.h.
9069         * io/tst-futimesat.c: Include sys/stat.h.
9070         * io/tst-linkat.c: Include sys/stat.h.
9071         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
9072         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
9073         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
9074         * io/tst-openat.c: Include stdbool.h.
9075         * io/tst-readlinkat.c: Include sys/stat.h.
9076         * io/tst-renameat.c: Include sys/stat.h.
9077         * io/tst-symlinkat.c: Include sys/stat.h.
9078         * io/tst-unlinkat.c: Include stdbool.h.
9079         * libio/bug-memstream1.c: Include stdlib.h.
9080         * libio/bug-wmemstream1.c: Include stdlib.h.
9081         * libio/tst-fwrite-error.c: Include stdlib.h.
9082         * libio/tst-memstream1.c: Include stdlib.h.
9083         * libio/tst-memstream2.c: Include stdlib.h.
9084         * libio/tst-memstream3.c: Include stdlib.h.
9085         * malloc/tst-interpose-aux.c: Include stdint.h.
9086         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
9087         * nptl/tst-basic7.c: Include limits.h.
9088         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
9089         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
9090         * nptl/tst-cancel4_1.c: Include stddef.h.
9091         * nptl/tst-cancel4_2.c: Include stddef.h.
9092         * nptl/tst-cond16.c: Include limits.h.
9093         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9094         * nptl/tst-cond18.c: Include limits.h.
9095         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9096         * nptl/tst-cond4.c: Include stdint.h.
9097         * nptl/tst-cond6.c: Include stdint.h.
9098         * nptl/tst-stack2.c: Include limits.h.
9099         * nptl/tst-stackguard1.c: Include stddef.h.
9100         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
9101         * nptl/tst-tls4moda.c: Include stddef.h.
9102         Don't include stdio.h, unistd.h, or tls.h.
9103         * nptl/tst-tls4modb.c: Include stddef.h.
9104         Don't include stdio.h, unistd.h, or tls.h.
9105         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
9106         * posix/tst-getaddrinfo2.c: Include stdio.h.
9107         * posix/tst-getaddrinfo5.c: Include stdio.h.
9108         * posix/tst-pathconf.c: Include sys/stat.h.
9109         * posix/tst-posix_fadvise-common.c: Include stdint.h.
9110         * posix/tst-preadwrite-common.c: Include sys/stat.h.
9111         * posix/tst-regex.c: Include stdint.h.
9112         Don't include spawn.h or spawn_int.h.
9113         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
9114         * posix/tst-vfork3.c: Include sys/stat.h.
9115         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
9116         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
9117         * resolv/tst-resolv-search.c: Include stdlib.h.
9118         * stdio-common/tst-fmemopen2.c: Include stdint.h.
9119         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
9120         * stdlib/test-canon.c: Include sys/stat.h.
9121         * stdlib/tst-tls-atexit.c: Include stdbool.h.
9122         * string/test-memchr.c: Include stdint.h.
9123         * string/tst-cmp.c: Include stdint.h.
9124         * sysdeps/pthread/tst-timer.c: Include stdint.h.
9125         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
9126         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
9127         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9128         Don't include init-arch.h.
9129         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9130         Don't include init-arch.h.
9131         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
9132         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
9133         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
9134         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
9135         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
9136         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
9137         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
9138         * time/clocktest.c: Include stdint.h.
9139         * time/tst-posixtz.c: Include stdint.h.
9140         * timezone/tst-timezone.c: Include stdint.h.
9142 2017-02-16  Zack Weinberg  <zackw@panix.com>
9144         * string/string.h [__USE_MISC]: Include strings.h.
9145         (__bzero, bcmp, bcopy, bzero, index, rindex)
9146         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
9147         (ffs, ffsl, ffsll): Don't declare.
9148         * string/strings.h: Do not suppress the file if string.h has
9149         already been included.
9150         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
9151         annotations.
9152         (index, rindex): Define inline forwarders even if
9153         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
9154         (ffs): Use __attribute_const__.
9155         (ffsl, ffsll): Declare here.
9156         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
9157         have now been standardized.
9158         * include/string.h (__bzero): Declare here.
9160         * bits/types.h: Move to posix/bits.
9161         * include/bits/types.h: New wrapper.
9163 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
9165         * string/bits/string2.h (strcmp): Remove define.
9166         (__strcmp_cg): Likewise.
9167         (strncmp): Likewise.
9169 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
9171         * include/string.h: Add __cplusplus check.
9173 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9175         [BZ #21134]
9176         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9177         "divide by zero" exception when the input is zero.
9178         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9179         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9180         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9181         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9182         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9184 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
9186         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9187         and include ...
9188         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
9189         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9190         to, and include ...
9191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
9192         file.
9193         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9194         and include ...
9195         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
9196         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9197         and include ...
9198         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
9199         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9200         and include ...
9201         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
9202         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9203         and include ...
9204         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
9205         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9206         to, and include ...
9207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
9208         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9209         and include ...
9210         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
9212 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
9214         * math/libm-test-support.h: Do not include <math-tests-arch.h>
9215         here.
9216         * math/libm-test-support.c (libm_test_init): Do not call
9217         INIT_ARCH_EXT here.
9218         * math/libm-test-driver.c: Include <math-tests-arch.h>.
9219         (main): Call INIT_ARCH_EXT.
9221 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9223         [BZ #21130]
9224         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9225         with the "invalid" exception raised when x is -Inf.
9226         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9228 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
9230         * string/bits/string2.h (strchr): Remove define.
9232 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
9234         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9235         tst-avx512.
9236         (test-extras): Add tst-avx-aux and tst-avx512-aux.
9237         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9238         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9239         ($(objpfx)tst-sse): New rule.
9240         ($(objpfx)tst-avx): Likewise.
9241         ($(objpfx)tst-avx512): Likewise.
9242         (CFLAGS-tst-avx-aux.c): New.
9243         (CFLAGS-tst-avxmod.c): Likewise.
9244         (CFLAGS-tst-avx512-aux.c): Likewise.
9245         (CFLAGS-tst-avx512mod.c): Likewise.
9246         * sysdeps/x86_64/tst-avx-aux.c: New file.
9247         * sysdeps/x86_64/tst-avx.c: Likewise.
9248         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9249         * sysdeps/x86_64/tst-avx512.c: Likewise.
9250         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9251         * sysdeps/x86_64/tst-avxmod.c: Likewise.
9252         * sysdeps/x86_64/tst-sse.c: Likewise.
9253         * sysdeps/x86_64/tst-ssemod.c: Likewise.
9255 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9257         * math/auto-libm-test-in: Add more tests of csin and csinh.
9258         * math/auto-libm-test-out-csin: Regenerated.
9259         * math/auto-libm-test-out-csinh: Likewise.
9260         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9261         auto-libm-test-in.
9262         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9264 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9266         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9267         libm-compat-calls-auto.
9268         (libm-compat-calls): Likewise.
9269         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9270         w_lgamma_compatF and k_standardF (merged from the items above).
9271         (libm-routines): Use libm-compat-calls, instead of
9272         libm-compat-calls-auto, with type-foreach.
9274 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9276         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9277         macro.
9278         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9279         (CFLAGS-test-ifloat.c): ... this.  Remove
9280         -U__LIBC_INTERNAL_MATH_INLINES.
9281         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9282         (CFLAGS-test-idouble.c): ... this.  Remove
9283         -U__LIBC_INTERNAL_MATH_INLINES.
9284         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9285         (CFLAGS-test-ildouble.c): ... this.  Remove
9286         -U__LIBC_INTERNAL_MATH_INLINES.
9288 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9290         * math/libm-test-support.c: New file.  Content from
9291         math/libm-test-driver.c.
9292         * math/libm-test-support.h: Likewise.
9293         * math/libm-test-support-double.c: New file.
9294         * math/libm-test-support-float.c: Likewise.
9295         * math/libm-test-support-ldouble.c: Likewise.
9296         * math/libm-test-driver.c: Remove main comment and header
9297         includes.  Include libm-test-support.h.
9298         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9299         (flag_test_errno): Remove static.
9300         (flag_test_exceptions): Likewise.
9301         (flag_test_finite): Likewise.
9302         (flag_test_inline): Likewise.
9303         (flag_test_mathvec): Likewise.
9304         (test_msg): Likewise.
9305         (NO_EXCEPTION): Remove.
9306         (INVALID_EXCEPTION): Likewise.
9307         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9308         (OVERFLOW_EXCEPTION): Likewise.
9309         (UNDERFLOW_EXCEPTION): Likewise.
9310         (INEXACT_EXCEPTION): Likewise.
9311         (INVALID_EXCEPTION_OK): Likewise.
9312         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9313         (OVERFLOW_EXCEPTION_OK): Likewise.
9314         (UNDERFLOW_EXCEPTION_OK): Likewise.
9315         (NO_INEXACT_EXCEPTION): Likewise.
9316         (EXCEPTIONS_OK): Likewise.
9317         (IGNORE_ZERO_INF_SIGN): Likewise.
9318         (TEST_NAN_SIGN): Likewise.
9319         (TEST_NAN_PAYLOAD): Likewise.
9320         (NO_TEST_INLINE): Likewise.
9321         (XFAIL_TEST): Likewise.
9322         (ERRNO_UNCHANGED): Likewise.
9323         (ERRNO_EDOM): Likewise.
9324         (ERRNO_ERANGE): Likewise.
9325         (IGNORE_RESULT): Likewise.
9326         (NON_FINITE): Likewise.
9327         (TEST_SNAN): Likewise.
9328         (NO_TEST_MATHVEC): Likewise.
9329         (__CONCATX): Likewise.
9330         (TYPE_MIN): Likewise.
9331         (TYPE_TRUE_MIN): Likewise.
9332         (TYPE_MAX): Likewise.
9333         (MIN_EXP): Likewise.
9334         (MAX_EXP): Likewise.
9335         (MANT_DIG): Likewise.
9336         (FSTR_MAX): Likewise.
9337         (ulp_idx): Likewise.
9338         (qtype_str): Remove static.
9339         (TEST_COND_binary32): Remove.
9340         (TEST_COND_binary64): Likewise.
9341         (TEST_COND_binary128): Likewise.
9342         (TEST_COND_ibm128): Likewise.
9343         (TEST_COND_intel96): Likewise.
9344         (TEST_COND_m68k96): Likewise.
9345         (TEST_COND_ibm128_libgcc): Likewise.
9346         (XFAIL_IBM128_LIBGCC): Likewise.
9347         (PAYLOAD_DIG): Likewise.
9348         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9349         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9350         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9351         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9352         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9353         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9354         (TEST_COND_long32): Likewise.
9355         (TEST_COND_long64): Likewise.
9356         (TEST_COND_before_rounding): Likewise.
9357         (TEST_COND_after_rounding): Likewise.
9358         (ulps_file_name): Likewise.
9359         (ulps_file): Likewise.
9360         (output_ulps): Likewise.
9361         (output_dir): Likewise.
9362         (noErrors): Likewise.
9363         (noTests): Likewise.
9364         (noExcTests): Likewise.
9365         (noErrnoTests): Likewise.
9366         (verbose): Likewise.
9367         (output_max_error): Likewise.
9368         (output_points): Likewise.
9369         (ignore_max_ulp): Likewise.
9370         (max_error): Likewise.
9371         (real_max_error): Likewise.
9372         (imag_max_error): Likewise.
9373         (prev_max_error): Likewise.
9374         (prev_real_max_error): Likewise.
9375         (prev_imag_max_error): Likewise.
9376         (max_valid_error): Likewise.
9377         (TYPE_DECIMAL_DIG): Likewise.
9378         (TYPE_HEX_DIG): Likewise.
9379         (fmt_ftostr): Likewise.
9380         (compare_ulp_data): Likewise.
9381         (find_ulps): Likewise.
9382         (init_max_error): Likewise.
9383         (set_max_error): Likewise.
9384         (print_float): Likewise.
9385         (print_screen): Likewise.
9386         (print_screen_max_error): Likewise.
9387         (update_stats): Likewise.
9388         (print_function_ulps): Likewise.
9389         (print_complex_function_ulps): Likewise.
9390         (fpstack_test): Likewise.
9391         (print_max_error): Likewise.
9392         (print_complex_max_error): Likewise.
9393         (test_single_exception): Likewise.
9394         (test_exceptions): Likewise.
9395         (test_single_errno): Likewise.
9396         (test_errno): Likewise.
9397         (ULPDIFF): Likewise.
9398         (ulp): Likewise.
9399         (check_float_internal): Likewise.
9400         (check_float): Likewise.
9401         (check_complex): Likewise.
9402         (check_int): Likewise.
9403         (check_long): Likewise.
9404         (check_bool): Likewise.
9405         (check_longlong): Likewise.
9406         (check_intmax_t): Likewise.
9407         (check_uintmax_t): Likewise.
9408         (enable_test): Likewise.
9409         (matherr): Likewise.
9410         (initialize): Likewise.
9411         (options): Likewise.
9412         (doc): Remove static.
9413         (argp): Likewise.
9414         (parse_opt): Remove.
9415         (check_ulp): Likewise.
9416         (libm_test_init): Likewise.
9417         (libm_test_finish): Likewise.
9418         * math/Makefile (libm-test-support): New variable.
9419         (test-extras): Add libm-test-support files.
9420         (extra-test-objs): Likewise.
9421         (CFLAGS-libm-test-support-float.c): New variable.
9422         (CFLAGS-libm-test-support-double.c): Likewise.
9423         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9424         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9425         libm-test-support objects.
9427 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9429         * math/Makefile (libm-calls): Move w_exp...
9430         (libm-compat-calls-auto): Here.
9432         * math/w_expl.c: Add suffix "_compat" to filename.
9433         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9434         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9435         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9436         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9437         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9438         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9439         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9440         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9442         * math/w_expl_compat.c: New file, copied from above.
9443         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9444         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9445         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9446         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9447         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9448         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9449         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9450         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9452         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9453         to filename.
9454         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9456         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9457         copied from above and adjusted for the new filenames.
9458         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9460 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9462         * math/Makefile (libm-calls): Move w_lgammaF...
9463         (libm-compat-calls-auto): Here.
9465         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9466         * math/w_lgammaf.c: Likewise.
9467         * math/w_lgammal.c: Likewise.
9469         * math/w_lgamma_compat2.c: New file, copied from above.
9470         * math/w_lgammaf_compat2.c: Likewise.
9471         * math/w_lgammal_compat2.c: Likewise.
9473 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9475         * math/Makefile (libm-calls): Move w_lgammaF_r...
9476         (libm-compat-calls-auto): Here.
9478         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9479         * math/w_lgammaf_r.c: Likewise.
9480         * math/w_lgammal_r.c: Likewise.
9481         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9482         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9483         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9485         * math/w_lgamma_r_compat.c: New file, copied from above.
9486         * math/w_lgammaf_r_compat.c: Likewise.
9487         * math/w_lgammal_r_compat.c: Likewise.
9488         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9489         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9490         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9492         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9493         to filename.
9494         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9496         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9497         copied from above and adjusted for the new filenames.
9498         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9500 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9502         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9503         calculation in SYSCALL_ERROR_HANDLER().
9505 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9507         * manual/contrib.texi: Fix typo.
9509 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9511         [BZ #21109]
9512         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9513         tunable_val_t as argument.
9514         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9515         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9516         argument.
9517         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9519 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9521         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9522         Add PTRACE_EVENT_STOP.
9523         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9524         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9525         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9526         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9527         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9528         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9530 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9532         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9533         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9534         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9535         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9536         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9537         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9538         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9539         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9540         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9541         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9543         [BZ #21112]
9544         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9545         12 bits zero.
9546         (cp_l): Update for new value of cp_h.
9547         * math/auto-libm-test-in: Add another test of pow.
9548         * math/auto-libm-test-out-pow: Regenerated.
9550 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9552         * manual/contrib.texi: Fix typo.
9554 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9556         [BZ #15998]
9557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9558         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9561 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9563         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9564         STRCHR as __strchr_power8.
9565         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9566         strlen as __strlen_power8.
9568 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9570         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9571         unaligned load for shorter strings.
9572         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9574 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9576         * math/libm-test-driver.c (flag_test_errno): New variable.
9577         (flag_test_exceptions): Likewise.
9578         (flag_test_finite): Likewise.
9579         (flag_test_inline): Likewise.
9580         (flag_test_mathvec): Likewise.
9581         (test_msg): Likewise.
9582         (ulp_idx): Likewise.
9583         (qtype_str): Likewise.
9584         (ULP_IDX): Remove macro.
9585         (QTYPE_STR): Likewise.
9586         (find_ulps): Use ulp_idx not ULP_IDX.
9587         (print_function_ulps): Use qtype_str, printed with %s, not
9588         QTYPE_STR, printed with concatentation to format string.
9589         (print_complex_function_ulps): Likewise.
9590         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9591         (test_errno): Use flag_test_errno not TEST_ERRNO.
9592         (enable_test): Use flag_test_inline, flag_test_finite and
9593         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9594         TEST_MATHVEC.
9595         (libm_test_init): New function.  Factored out of main.
9596         (libm_test_finish): Likewise.
9597         (main): Call libm_test_init and libm_test_finish and move most
9598         code to those functions.
9600         * math/libm-test-driver.c (STRX): New macro.
9601         (STR): Likewise.
9602         (STR_FLOAT): Likewise.
9603         (STR_VEC_LEN): Likewise.
9604         (TEST_MSG): Likewise.  Define here instead of expecting to be
9605         defined by including file.
9606         * math/test-double-finite.c (TEST_MSG): Remove macro.
9607         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9608         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9609         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9610         * math/test-double.c (TEST_MSG): Likewise.
9611         * math/test-float-finite.c (TEST_MSG): Likewise.
9612         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9613         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9614         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9615         * math/test-float.c (TEST_MSG): Likewise.
9616         * math/test-idouble.c (TEST_MSG): Likewise.
9617         * math/test-ifloat.c (TEST_MSG): Likewise.
9618         * math/test-ildouble.c (TEST_MSG): Likewise.
9619         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9620         * math/test-ldouble.c (TEST_MSG): Likewise.
9622         * math/libm-test.inc: Move all tests of individual functions to
9623         libm-test-*.inc and #include libm-test-*.c files.
9624         (acos_test_data): Remove.
9625         (acos_test): Likewise.
9626         (acosh_test_data): Likewise.
9627         (acosh_test): Likewise.
9628         (asin_test_data): Likewise.
9629         (asin_test): Likewise.
9630         (asinh_test_data): Likewise.
9631         (asinh_test): Likewise.
9632         (atan_test_data): Likewise.
9633         (atan_test): Likewise.
9634         (atanh_test_data): Likewise.
9635         (atanh_test): Likewise.
9636         (atan2_test_data): Likewise.
9637         (atan2_test): Likewise.
9638         (cabs_test_data): Likewise.
9639         (cabs_test): Likewise.
9640         (cacos_test_data): Likewise.
9641         (cacos_test): Likewise.
9642         (cacosh_test_data): Likewise.
9643         (cacosh_test): Likewise.
9644         (canonicalize_test_data): Likewise.
9645         (canonicalize_test): Likewise.
9646         (carg_test_data): Likewise.
9647         (carg_test): Likewise.
9648         (casin_test_data): Likewise.
9649         (casin_test): Likewise.
9650         (casinh_test_data): Likewise.
9651         (casinh_test): Likewise.
9652         (catan_test_data): Likewise.
9653         (catan_test): Likewise.
9654         (catanh_test_data): Likewise.
9655         (catanh_test): Likewise.
9656         (cbrt_test_data): Likewise.
9657         (cbrt_test): Likewise.
9658         (ccos_test_data): Likewise.
9659         (ccos_test): Likewise.
9660         (ccosh_test_data): Likewise.
9661         (ccosh_test): Likewise.
9662         (ceil_test_data): Likewise.
9663         (ceil_test): Likewise.
9664         (cexp_test_data): Likewise.
9665         (cexp_test): Likewise.
9666         (cimag_test_data): Likewise.
9667         (cimag_test): Likewise.
9668         (clog_test_data): Likewise.
9669         (clog_test): Likewise.
9670         (clog10_test_data): Likewise.
9671         (clog10_test): Likewise.
9672         (conj_test_data): Likewise.
9673         (conj_test): Likewise.
9674         (copysign_test_data): Likewise.
9675         (copysign_test): Likewise.
9676         (cos_test_data): Likewise.
9677         (cos_test): Likewise.
9678         (cosh_test_data): Likewise.
9679         (cosh_test): Likewise.
9680         (cpow_test_data): Likewise.
9681         (cpow_test): Likewise.
9682         (cproj_test_data): Likewise.
9683         (cproj_test): Likewise.
9684         (creal_test_data): Likewise.
9685         (creal_test): Likewise.
9686         (csin_test_data): Likewise.
9687         (csin_test): Likewise.
9688         (csinh_test_data): Likewise.
9689         (csinh_test): Likewise.
9690         (csqrt_test_data): Likewise.
9691         (csqrt_test): Likewise.
9692         (ctan_test_data): Likewise.
9693         (ctan_test): Likewise.
9694         (ctanh_test_data): Likewise.
9695         (ctanh_test): Likewise.
9696         (erf_test_data): Likewise.
9697         (erf_test): Likewise.
9698         (erfc_test_data): Likewise.
9699         (erfc_test): Likewise.
9700         (exp_test_data): Likewise.
9701         (exp_test): Likewise.
9702         (exp10_test_data): Likewise.
9703         (exp10_test): Likewise.
9704         (pow10_test): Likewise.
9705         (exp2_test_data): Likewise.
9706         (exp2_test): Likewise.
9707         (expm1_test_data): Likewise.
9708         (expm1_test): Likewise.
9709         (fabs_test_data): Likewise.
9710         (fabs_test): Likewise.
9711         (fdim_test_data): Likewise.
9712         (fdim_test): Likewise.
9713         (floor_test_data): Likewise.
9714         (floor_test): Likewise.
9715         (fma_test_data): Likewise.
9716         (fma_test): Likewise.
9717         (fmax_test_data): Likewise.
9718         (fmax_test): Likewise.
9719         (fmaxmag_test_data): Likewise.
9720         (fmaxmag_test): Likewise.
9721         (fmin_test_data): Likewise.
9722         (fmin_test): Likewise.
9723         (fminmag_test_data): Likewise.
9724         (fminmag_test): Likewise.
9725         (fmod_test_data): Likewise.
9726         (fmod_test): Likewise.
9727         (fpclassify_test_data): Likewise.
9728         (fpclassify_test): Likewise.
9729         (frexp_test_data): Likewise.
9730         (frexp_test): Likewise.
9731         (fromfp_test_data): Likewise.
9732         (fromfp_test): Likewise.
9733         (fromfpx_test_data): Likewise.
9734         (fromfpx_test): Likewise.
9735         (getpayload_test_data): Likewise.
9736         (getpayload_test): Likewise.
9737         (hypot_test_data): Likewise.
9738         (hypot_test): Likewise.
9739         (ilogb_test_data): Likewise.
9740         (ilogb_test): Likewise.
9741         (iscanonical_test_data): Likewise.
9742         (iscanonical_test): Likewise.
9743         (iseqsig_test_data): Likewise.
9744         (iseqsig_test): Likewise.
9745         (isfinite_test_data): Likewise.
9746         (isfinite_test): Likewise.
9747         (finite_test): Likewise.
9748         (isgreater_test_data): Likewise.
9749         (isgreater_test): Likewise.
9750         (isgreaterequal_test_data): Likewise.
9751         (isgreaterequal_test): Likewise.
9752         (isinf_test_data): Likewise.
9753         (isinf_test): Likewise.
9754         (isless_test_data): Likewise.
9755         (isless_test): Likewise.
9756         (islessequal_test_data): Likewise.
9757         (islessequal_test): Likewise.
9758         (islessgreater_test_data): Likewise.
9759         (islessgreater_test): Likewise.
9760         (isnan_test_data): Likewise.
9761         (isnan_test): Likewise.
9762         (isnormal_test_data): Likewise.
9763         (isnormal_test): Likewise.
9764         (issignaling_test_data): Likewise.
9765         (issignaling_test): Likewise.
9766         (issubnormal_test_data): Likewise.
9767         (issubnormal_test): Likewise.
9768         (isunordered_test_data): Likewise.
9769         (isunordered_test): Likewise.
9770         (iszero_test_data): Likewise.
9771         (iszero_test): Likewise.
9772         (j0_test_data): Likewise.
9773         (j0_test): Likewise.
9774         (j1_test_data): Likewise.
9775         (j1_test): Likewise.
9776         (jn_test_data): Likewise.
9777         (jn_test): Likewise.
9778         (lgamma_test_data): Likewise.
9779         (lgamma_test): Likewise.
9780         (gamma_test): Likewise.
9781         (llogb_test_data): Likewise.
9782         (llogb_test): Likewise.
9783         (lrint_test_data): Likewise.
9784         (lrint_test): Likewise.
9785         (llrint_test_data): Likewise.
9786         (llrint_test): Likewise.
9787         (log_test_data): Likewise.
9788         (log_test): Likewise.
9789         (log10_test_data): Likewise.
9790         (log10_test): Likewise.
9791         (log1p_test_data): Likewise.
9792         (log1p_test): Likewise.
9793         (log2_test_data): Likewise.
9794         (log2_test): Likewise.
9795         (logb_test_data): Likewise.
9796         (logb_test): Likewise.
9797         (lround_test_data): Likewise.
9798         (lround_test): Likewise.
9799         (llround_test_data): Likewise.
9800         (llround_test): Likewise.
9801         (modf_test_data): Likewise.
9802         (modf_test): Likewise.
9803         (nearbyint_test_data): Likewise.
9804         (nearbyint_test): Likewise.
9805         (nextafter_test_data): Likewise.
9806         (nextafter_test): Likewise.
9807         (nextup_test_data): Likewise.
9808         (nextup_test): Likewise.
9809         (nextdown_test_data): Likewise.
9810         (nextdown_test): Likewise.
9811         (nexttoward_test_data): Likewise.
9812         (nexttoward_test): Likewise.
9813         (pow_test_data): Likewise.
9814         (pow_test): Likewise.
9815         (remainder_test_data): Likewise.
9816         (remainder_test): Likewise.
9817         (drem_test): Likewise.
9818         (remquo_test_data): Likewise.
9819         (remquo_test): Likewise.
9820         (rint_test_data): Likewise.
9821         (rint_test): Likewise.
9822         (round_test_data): Likewise.
9823         (round_test): Likewise.
9824         (roundeven_test_data): Likewise.
9825         (roundeven_test): Likewise.
9826         (scalb_test_data): Likewise.
9827         (scalb_test): Likewise.
9828         (scalbn_test_data): Likewise.
9829         (scalbn_test): Likewise.
9830         (ldexp_test): Likewise.
9831         (scalbln_test_data): Likewise.
9832         (scalbln_test): Likewise.
9833         (setpayload_test_data): Likewise.
9834         (setpayload_test): Likewise.
9835         (setpayloadsig_test_data): Likewise.
9836         (setpayloadsig_test): Likewise.
9837         (signbit_test_data): Likewise.
9838         (signbit_test): Likewise.
9839         (sin_test_data): Likewise.
9840         (sin_test): Likewise.
9841         (sincos_test_data): Likewise.
9842         (sincos_test): Likewise.
9843         (sinh_test_data): Likewise.
9844         (sinh_test): Likewise.
9845         (sqrt_test_data): Likewise.
9846         (sqrt_test): Likewise.
9847         (tan_test_data): Likewise.
9848         (tan_test): Likewise.
9849         (tanh_test_data): Likewise.
9850         (tanh_test): Likewise.
9851         (tgamma_test_data): Likewise.
9852         (tgamma_test): Likewise.
9853         (totalorder_test_data): Likewise.
9854         (totalorder_test): Likewise.
9855         (totalordermag_test_data): Likewise.
9856         (totalordermag_test): Likewise.
9857         (trunc_test_data): Likewise.
9858         (trunc_test): Likewise.
9859         (ufromfp_test_data): Likewise.
9860         (ufromfp_test): Likewise.
9861         (ufromfpx_test_data): Likewise.
9862         (ufromfpx_test): Likewise.
9863         (y0_test_data): Likewise.
9864         (y0_test): Likewise.
9865         (y1_test_data): Likewise.
9866         (y1_test): Likewise.
9867         (yn_test_data): Likewise.
9868         (yn_test): Likewise.
9869         (significand_test_data): Likewise.
9870         (significand_test): Likewise.
9871         * math/Makefile (auto-libm-test-out-files): Remove variable.
9872         (libm-test-funcs-noauto): New variable.
9873         (libm-test-funcs-all): Likewise.
9874         (libm-test-c-auto): Likewise.
9875         (libm-test-c-noauto): Likewise.
9876         (libm-tests-generated): Add $(libm-test-c-auto) and
9877         $(libm-test-c-noauto).
9878         (generated): Do not add auto-libm-test-out.
9879         (libm-test-c-auto-obj): New variable.
9880         (libm-test-c-noauto-obj): Likewise.
9881         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9882         ($(libm-test-c-noauto-obj)): New static pattern rule.
9883         ($(libm-test-c-auto-obj)): Likewise.
9884         (libm-test-incs): New variable.
9885         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9886         and pass it to gen-libm-have-vector-test.sh.
9887         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9888         be passed on command line.
9889         * math/libm-test-acos.inc: New file.  Content from
9890         math/libm-test.inc.
9891         * math/libm-test-acosh.inc: Likewise.
9892         * math/libm-test-asin.inc: Likewise.
9893         * math/libm-test-asinh.inc: Likewise.
9894         * math/libm-test-atan.inc: Likewise.
9895         * math/libm-test-atan2.inc: Likewise.
9896         * math/libm-test-atanh.inc: Likewise.
9897         * math/libm-test-cabs.inc: Likewise.
9898         * math/libm-test-cacos.inc: Likewise.
9899         * math/libm-test-cacosh.inc: Likewise.
9900         * math/libm-test-canonicalize.inc: Likewise.
9901         * math/libm-test-carg.inc: Likewise.
9902         * math/libm-test-casin.inc: Likewise.
9903         * math/libm-test-casinh.inc: Likewise.
9904         * math/libm-test-catan.inc: Likewise.
9905         * math/libm-test-catanh.inc: Likewise.
9906         * math/libm-test-cbrt.inc: Likewise.
9907         * math/libm-test-ccos.inc: Likewise.
9908         * math/libm-test-ccosh.inc: Likewise.
9909         * math/libm-test-ceil.inc: Likewise.
9910         * math/libm-test-cexp.inc: Likewise.
9911         * math/libm-test-cimag.inc: Likewise.
9912         * math/libm-test-clog.inc: Likewise.
9913         * math/libm-test-clog10.inc: Likewise.
9914         * math/libm-test-conj.inc: Likewise.
9915         * math/libm-test-copysign.inc: Likewise.
9916         * math/libm-test-cos.inc: Likewise.
9917         * math/libm-test-cosh.inc: Likewise.
9918         * math/libm-test-cpow.inc: Likewise.
9919         * math/libm-test-cproj.inc: Likewise.
9920         * math/libm-test-creal.inc: Likewise.
9921         * math/libm-test-csin.inc: Likewise.
9922         * math/libm-test-csinh.inc: Likewise.
9923         * math/libm-test-csqrt.inc: Likewise.
9924         * math/libm-test-ctan.inc: Likewise.
9925         * math/libm-test-ctanh.inc: Likewise.
9926         * math/libm-test-erf.inc: Likewise.
9927         * math/libm-test-erfc.inc: Likewise.
9928         * math/libm-test-exp.inc: Likewise.
9929         * math/libm-test-exp10.inc: Likewise.
9930         * math/libm-test-exp2.inc: Likewise.
9931         * math/libm-test-expm1.inc: Likewise.
9932         * math/libm-test-fabs.inc: Likewise.
9933         * math/libm-test-fdim.inc: Likewise.
9934         * math/libm-test-floor.inc: Likewise.
9935         * math/libm-test-fma.inc: Likewise.
9936         * math/libm-test-fmax.inc: Likewise.
9937         * math/libm-test-fmaxmag.inc: Likewise.
9938         * math/libm-test-fmin.inc: Likewise.
9939         * math/libm-test-fminmag.inc: Likewise.
9940         * math/libm-test-fmod.inc: Likewise.
9941         * math/libm-test-fpclassify.inc: Likewise.
9942         * math/libm-test-frexp.inc: Likewise.
9943         * math/libm-test-fromfp.inc: Likewise.
9944         * math/libm-test-fromfpx.inc: Likewise.
9945         * math/libm-test-getpayload.inc: Likewise.
9946         * math/libm-test-hypot.inc: Likewise.
9947         * math/libm-test-ilogb.inc: Likewise.
9948         * math/libm-test-iscanonical.inc: Likewise.
9949         * math/libm-test-iseqsig.inc: Likewise.
9950         * math/libm-test-isfinite.inc: Likewise.
9951         * math/libm-test-isgreater.inc: Likewise.
9952         * math/libm-test-isgreaterequal.inc: Likewise.
9953         * math/libm-test-isinf.inc: Likewise.
9954         * math/libm-test-isless.inc: Likewise.
9955         * math/libm-test-islessequal.inc: Likewise.
9956         * math/libm-test-islessgreater.inc: Likewise.
9957         * math/libm-test-isnan.inc: Likewise.
9958         * math/libm-test-isnormal.inc: Likewise.
9959         * math/libm-test-issignaling.inc: Likewise.
9960         * math/libm-test-issubnormal.inc: Likewise.
9961         * math/libm-test-isunordered.inc: Likewise.
9962         * math/libm-test-iszero.inc: Likewise.
9963         * math/libm-test-j0.inc: Likewise.
9964         * math/libm-test-j1.inc: Likewise.
9965         * math/libm-test-jn.inc: Likewise.
9966         * math/libm-test-lgamma.inc: Likewise.
9967         * math/libm-test-llogb.inc: Likewise.
9968         * math/libm-test-llrint.inc: Likewise.
9969         * math/libm-test-llround.inc: Likewise.
9970         * math/libm-test-log.inc: Likewise.
9971         * math/libm-test-log10.inc: Likewise.
9972         * math/libm-test-log1p.inc: Likewise.
9973         * math/libm-test-log2.inc: Likewise.
9974         * math/libm-test-logb.inc: Likewise.
9975         * math/libm-test-lrint.inc: Likewise.
9976         * math/libm-test-lround.inc: Likewise.
9977         * math/libm-test-modf.inc: Likewise.
9978         * math/libm-test-nearbyint.inc: Likewise.
9979         * math/libm-test-nextafter.inc: Likewise.
9980         * math/libm-test-nextdown.inc: Likewise.
9981         * math/libm-test-nexttoward.inc: Likewise.
9982         * math/libm-test-nextup.inc: Likewise.
9983         * math/libm-test-pow.inc: Likewise.
9984         * math/libm-test-remainder.inc: Likewise.
9985         * math/libm-test-remquo.inc: Likewise.
9986         * math/libm-test-rint.inc: Likewise.
9987         * math/libm-test-round.inc: Likewise.
9988         * math/libm-test-roundeven.inc: Likewise.
9989         * math/libm-test-scalb.inc: Likewise.
9990         * math/libm-test-scalbln.inc: Likewise.
9991         * math/libm-test-scalbn.inc: Likewise.
9992         * math/libm-test-setpayload.inc: Likewise.
9993         * math/libm-test-setpayloadsig.inc: Likewise.
9994         * math/libm-test-signbit.inc: Likewise.
9995         * math/libm-test-significand.inc: Likewise.
9996         * math/libm-test-sin.inc: Likewise.
9997         * math/libm-test-sincos.inc: Likewise.
9998         * math/libm-test-sinh.inc: Likewise.
9999         * math/libm-test-sqrt.inc: Likewise.
10000         * math/libm-test-tan.inc: Likewise.
10001         * math/libm-test-tanh.inc: Likewise.
10002         * math/libm-test-tgamma.inc: Likewise.
10003         * math/libm-test-totalorder.inc: Likewise.
10004         * math/libm-test-totalordermag.inc: Likewise.
10005         * math/libm-test-trunc.inc: Likewise.
10006         * math/libm-test-ufromfp.inc: Likewise.
10007         * math/libm-test-ufromfpx.inc: Likewise.
10008         * math/libm-test-y0.inc: Likewise.
10009         * math/libm-test-y1.inc: Likewise.
10010         * math/libm-test-yn.inc: Likewise.
10011         * math/README.libm-test: Update.
10013         * math/gen-auto-libm-tests.c: Update comment about use of program.
10014         (generate_output): Add argument FUNCTION.
10015         (main): Require extra argument.  Pass function name to
10016         generate_output.
10017         * math/Makefile (generated): Add auto-libm-test-out.
10018         (libm-test-funcs-auto): New variable.
10019         (auto-libm-test-out-files): New variable.
10020         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
10021         Concatenate those files to form $(objpfx)auto-libm-test-out and
10022         use it as input to gen-libm-test.pl.
10023         * math/README.libm-test: Update.
10024         * math/auto-libm-test-out: Remove.
10025         * math/auto-libm-test-out-acos: New generated file.
10026         * math/auto-libm-test-out-acosh: Likewise.
10027         * math/auto-libm-test-out-asin: Likewise.
10028         * math/auto-libm-test-out-asinh: Likewise.
10029         * math/auto-libm-test-out-atan: Likewise.
10030         * math/auto-libm-test-out-atan2: Likewise.
10031         * math/auto-libm-test-out-atanh: Likewise.
10032         * math/auto-libm-test-out-cabs: Likewise.
10033         * math/auto-libm-test-out-carg: Likewise.
10034         * math/auto-libm-test-out-cbrt: Likewise.
10035         * math/auto-libm-test-out-ccos: Likewise.
10036         * math/auto-libm-test-out-ccosh: Likewise.
10037         * math/auto-libm-test-out-cexp: Likewise.
10038         * math/auto-libm-test-out-clog: Likewise.
10039         * math/auto-libm-test-out-clog10: Likewise.
10040         * math/auto-libm-test-out-cos: Likewise.
10041         * math/auto-libm-test-out-cosh: Likewise.
10042         * math/auto-libm-test-out-cpow: Likewise.
10043         * math/auto-libm-test-out-csin: Likewise.
10044         * math/auto-libm-test-out-csinh: Likewise.
10045         * math/auto-libm-test-out-csqrt: Likewise.
10046         * math/auto-libm-test-out-ctan: Likewise.
10047         * math/auto-libm-test-out-ctanh: Likewise.
10048         * math/auto-libm-test-out-erf: Likewise.
10049         * math/auto-libm-test-out-erfc: Likewise.
10050         * math/auto-libm-test-out-exp: Likewise.
10051         * math/auto-libm-test-out-exp10: Likewise.
10052         * math/auto-libm-test-out-exp2: Likewise.
10053         * math/auto-libm-test-out-expm1: Likewise.
10054         * math/auto-libm-test-out-fma: Likewise.
10055         * math/auto-libm-test-out-hypot: Likewise.
10056         * math/auto-libm-test-out-j0: Likewise.
10057         * math/auto-libm-test-out-j1: Likewise.
10058         * math/auto-libm-test-out-jn: Likewise.
10059         * math/auto-libm-test-out-lgamma: Likewise.
10060         * math/auto-libm-test-out-log: Likewise.
10061         * math/auto-libm-test-out-log10: Likewise.
10062         * math/auto-libm-test-out-log1p: Likewise.
10063         * math/auto-libm-test-out-log2: Likewise.
10064         * math/auto-libm-test-out-pow: Likewise.
10065         * math/auto-libm-test-out-sin: Likewise.
10066         * math/auto-libm-test-out-sincos: Likewise.
10067         * math/auto-libm-test-out-sinh: Likewise.
10068         * math/auto-libm-test-out-sqrt: Likewise.
10069         * math/auto-libm-test-out-tan: Likewise.
10070         * math/auto-libm-test-out-tanh: Likewise.
10071         * math/auto-libm-test-out-tgamma: Likewise.
10072         * math/auto-libm-test-out-y0: Likewise.
10073         * math/auto-libm-test-out-y1: Likewise.
10074         * math/auto-libm-test-out-yn: Likewise.
10076         * math/Makefile (generated): Do not include libm-test.stmp.
10077         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
10078         on $(objpfx)libm-test.stmp.
10079         ($(objpfx)libm-test.stmp): Remove rule.
10080         ($(objpfx)libm-test-ulps.h): New rule.
10081         ($(objpfx)libm-test.c): Likewise.
10082         ($(objpfx)libm-have-vector-test.h): Likewise.
10083         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
10084         individual generated files, not libm-test.stmp.
10086         * math/gen-libm-test.pl ($output_dir): Remove variable.
10087         ($srcdir): Likewise.
10088         ($opt_a): New variable.
10089         ($opt_c): Likewise.
10090         ($opt_C): Likewise.
10091         ($opt_H): Likewise.
10092         (-n): Make option take argument and use it as NewUlps output.
10093         (-a): New option.  Use its argument for auto-libm-test-out input.
10094         (-c): New option.  Use its argument for libm-test.inc input.
10095         (-C): New option.  Use its argument for libm-test.c output.
10096         (-H): New option.  Use its argument for libm-test-ulps.h output.
10097         (top level): Only process inputs needed to generate outputs
10098         specified by command-line options.  Only generate outputs
10099         specified by command-line options.
10100         * math/README.libm-test: Update example gen-libm-test.pl command.
10101         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
10102         commands.
10103         (regen-ulps): Likewise.
10105 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
10107         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
10108         * include/string.h (index): Remove define.
10109         (rindex): Likewise.
10110         * misc/getttyent.c (__getttyent): Rename index to strchr.
10111         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
10112         * sunrpc/rpc_main.c (mkfile_output): Likewise.
10114 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10116         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
10117         * math/libm-test.inc: Move all contents, other than tests of
10118         individual functions, to libm-test-driver.c.
10119         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
10120         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
10121         [!FE_UPWARD] (FE_UPWARD): Likewise.
10122         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
10123         (NO_EXCEPTION): Likewise.
10124         (INVALID_EXCEPTION): Likewise.
10125         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
10126         (OVERFLOW_EXCEPTION): Likewise.
10127         (UNDERFLOW_EXCEPTION): Likewise.
10128         (INEXACT_EXCEPTION): Likewise.
10129         (INVALID_EXCEPTION_OK): Likewise.
10130         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10131         (OVERFLOW_EXCEPTION_OK): Likewise.
10132         (UNDERFLOW_EXCEPTION_OK): Likewise.
10133         (NO_INEXACT_EXCEPTION): Likewise.
10134         (EXCEPTIONS_OK): Likewise.
10135         (IGNORE_ZERO_INF_SIGN): Likewise.
10136         (TEST_NAN_SIGN): Likewise.
10137         (TEST_NAN_PAYLOAD): Likewise.
10138         (NO_TEST_INLINE): Likewise.
10139         (XFAIL_TEST): Likewise.
10140         (ERRNO_UNCHANGED): Likewise.
10141         (ERRNO_EDOM): Likewise.
10142         (ERRNO_ERANGE): Likewise.
10143         (IGNORE_RESULT): Likewise.
10144         (NON_FINITE): Likewise.
10145         (TEST_SNAN): Likewise.
10146         (NO_TEST_MATHVEC): Likewise.
10147         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
10148         (__CONCATX): Likewise.
10149         (TYPE_MIN): Likewise.
10150         (TYPE_TRUE_MIN): Likewise.
10151         (TYPE_MAX): Likewise.
10152         (MIN_EXP): Likewise.
10153         (MAX_EXP): Likewise.
10154         (MANT_DIG): Likewise.
10155         (FSTR_MAX): Likewise.
10156         (ULP_IDX): Likewise.
10157         (QTYPE_STR): Likewise.
10158         (TEST_COND_binary32): Likewise.
10159         (TEST_COND_binary64): Likewise.
10160         (TEST_COND_binary128): Likewise.
10161         (TEST_COND_ibm128): Likewise.
10162         (TEST_COND_intel96): Likewise.
10163         (TEST_COND_m68k96): Likewise.
10164         (TEST_COND_ibm128_libgcc): Likewise.
10165         (XFAIL_IBM128_LIBGCC): Likewise.
10166         (PAYLOAD_DIG): Likewise.
10167         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10168         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10169         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10170         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10171         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10172         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10173         (TEST_COND_long32): Likewise.
10174         (TEST_COND_long64): Likewise.
10175         (TEST_COND_before_rounding): Likewise.
10176         (TEST_COND_after_rounding): Likewise.
10177         (lit_pi_3_m_4_d): Likewise.
10178         (lit_pi_3_m_4_ln10_m_d): Likewise.
10179         (lit_pi_2_ln10_m_d): Likewise.
10180         (lit_pi_4_ln10_m_d): Likewise.
10181         (lit_pi_ln10_d): Likewise.
10182         (lit_pi_2_d): Likewise.
10183         (lit_pi_4_d): Likewise.
10184         (lit_pi): Likewise.
10185         (lit_e): Likewise.
10186         (ulps_file_name): Likewise.
10187         (ulps_file): Likewise.
10188         (output_ulps): Likewise.
10189         (output_dir): Likewise.
10190         (noErrors): Likewise.
10191         (noTests): Likewise.
10192         (noExcTests): Likewise.
10193         (noErrnoTests): Likewise.
10194         (verbose): Likewise.
10195         (output_max_error): Likewise.
10196         (output_points): Likewise.
10197         (ignore_max_ulp): Likewise.
10198         (plus_zero): Likewise.
10199         (minus_zero): Likewise.
10200         (plus_infty): Likewise.
10201         (minus_infty): Likewise.
10202         (qnan_value_pl): Likewise.
10203         (qnan_value): Likewise.
10204         (snan_value_pl): Likewise.
10205         (snan_value): Likewise.
10206         (max_value): Likewise.
10207         (min_value): Likewise.
10208         (min_subnorm_value): Likewise.
10209         (snan_value_ld): Likewise.
10210         (max_error): Likewise.
10211         (real_max_error): Likewise.
10212         (imag_max_error): Likewise.
10213         (prev_max_error): Likewise.
10214         (prev_real_max_error): Likewise.
10215         (prev_imag_max_error): Likewise.
10216         (max_valid_error): Likewise.
10217         (TYPE_DECIMAL_DIG): Likewise.
10218         (TYPE_HEX_DIG): Likewise.
10219         (fmt_ftostr): Likewise.
10220         (compare_ulp_data): Likewise.
10221         (find_ulps): Likewise.
10222         (init_max_error): Likewise.
10223         (set_max_error): Likewise.
10224         (print_float): Likewise.
10225         (print_screen): Likewise.
10226         (print_screen_max_error): Likewise.
10227         (update_stats): Likewise.
10228         (print_function_ulps): Likewise.
10229         (print_complex_function_ulps): Likewise.
10230         (fpstack_test): Likewise.
10231         (print_max_error): Likewise.
10232         (print_complex_max_error): Likewise.
10233         (test_single_exception): Likewise.
10234         (test_exceptions): Likewise.
10235         (test_single_errno): Likewise.
10236         (test_errno): Likewise.
10237         (ULPDIFF): Likewise.
10238         (ulp): Likewise.
10239         (check_float_internal): Likewise.
10240         (check_float): Likewise.
10241         (check_complex): Likewise.
10242         (check_int): Likewise.
10243         (check_long): Likewise.
10244         (check_bool): Likewise.
10245         (check_longlong): Likewise.
10246         (check_intmax_t): Likewise.
10247         (check_uintmax_t): Likewise.
10248         (enable_test): Likewise.
10249         (struct test_f_f_data): Likewise.
10250         (struct test_ff_f_data): Likewise.
10251         (struct test_fj_f_data): Likewise.
10252         (struct test_fi_f_data): Likewise.
10253         (struct test_fl_f_data): Likewise.
10254         (struct test_if_f_data): Likewise.
10255         (struct test_fff_f_data): Likewise.
10256         (struct test_fiu_M_data): Likewise.
10257         (struct test_fiu_U_data): Likewise.
10258         (struct test_c_f_data): Likewise.
10259         (struct test_f_f1_data): Likewise.
10260         (struct test_fF_f1_data): Likewise.
10261         (struct test_ffI_f1_data): Likewise.
10262         (struct test_c_c_data): Likewise.
10263         (struct test_cc_c_data): Likewise.
10264         (struct test_f_i_data): Likewise.
10265         (struct test_ff_i_data): Likewise.
10266         (struct test_f_l_data): Likewise.
10267         (struct test_f_L_data): Likewise.
10268         (struct test_fFF_11_data): Likewise.
10269         (struct test_Ff_b1_data): Likewise.
10270         (IF_ROUND_INIT_): Likewise.
10271         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10272         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10273         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10274         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10275         (ROUND_RESTORE_): Likewise.
10276         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10277         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10278         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10279         (ROUND_RESTORE_FE_UPWARD): Likewise.
10280         (RM_): Likewise.
10281         (RM_FE_DOWNWARD): Likewise.
10282         (RM_FE_TONEAREST): Likewise.
10283         (RM_FE_TOWARDZERO): Likewise.
10284         (RM_FE_UPWARD): Likewise.
10285         (COMMON_TEST_SETUP): Likewise.
10286         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10287         (COMMON_TEST_CLEANUP): Likewise.
10288         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10289         (RUN_TEST_f_f): Likewise.
10290         (RUN_TEST_LOOP_f_f): Likewise.
10291         (RUN_TEST_fp_f): Likewise.
10292         (RUN_TEST_LOOP_fp_f): Likewise.
10293         (RUN_TEST_2_f): Likewise.
10294         (RUN_TEST_LOOP_2_f): Likewise.
10295         (RUN_TEST_ff_f): Likewise.
10296         (RUN_TEST_LOOP_ff_f): Likewise.
10297         (RUN_TEST_LOOP_fj_f): Likewise.
10298         (RUN_TEST_fi_f): Likewise.
10299         (RUN_TEST_LOOP_fi_f): Likewise.
10300         (RUN_TEST_fl_f): Likewise.
10301         (RUN_TEST_LOOP_fl_f): Likewise.
10302         (RUN_TEST_if_f): Likewise.
10303         (RUN_TEST_LOOP_if_f): Likewise.
10304         (RUN_TEST_fff_f): Likewise.
10305         (RUN_TEST_LOOP_fff_f): Likewise.
10306         (RUN_TEST_fiu_M): Likewise.
10307         (RUN_TEST_LOOP_fiu_M): Likewise.
10308         (RUN_TEST_fiu_U): Likewise.
10309         (RUN_TEST_LOOP_fiu_U): Likewise.
10310         (RUN_TEST_c_f): Likewise.
10311         (RUN_TEST_LOOP_c_f): Likewise.
10312         (RUN_TEST_f_f1): Likewise.
10313         (RUN_TEST_LOOP_f_f1): Likewise.
10314         (RUN_TEST_fF_f1): Likewise.
10315         (RUN_TEST_LOOP_fF_f1): Likewise.
10316         (RUN_TEST_fI_f1): Likewise.
10317         (RUN_TEST_LOOP_fI_f1): Likewise.
10318         (RUN_TEST_ffI_f1_mod8): Likewise.
10319         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10320         (RUN_TEST_Ff_b1): Likewise.
10321         (RUN_TEST_LOOP_Ff_b1): Likewise.
10322         (RUN_TEST_Ffp_b1): Likewise.
10323         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10324         (RUN_TEST_c_c): Likewise.
10325         (RUN_TEST_LOOP_c_c): Likewise.
10326         (RUN_TEST_cc_c): Likewise.
10327         (RUN_TEST_LOOP_cc_c): Likewise.
10328         (RUN_TEST_f_i): Likewise.
10329         (RUN_TEST_LOOP_f_i): Likewise.
10330         (RUN_TEST_f_i_tg): Likewise.
10331         (RUN_TEST_LOOP_f_i_tg): Likewise.
10332         (RUN_TEST_ff_b): Likewise.
10333         (RUN_TEST_LOOP_ff_b): Likewise.
10334         (RUN_TEST_ff_i_tg): Likewise.
10335         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10336         (RUN_TEST_f_b): Likewise.
10337         (RUN_TEST_LOOP_f_b): Likewise.
10338         (RUN_TEST_f_b_tg): Likewise.
10339         (RUN_TEST_LOOP_f_b_tg): Likewise.
10340         (RUN_TEST_f_l): Likewise.
10341         (RUN_TEST_LOOP_f_l): Likewise.
10342         (RUN_TEST_f_L): Likewise.
10343         (RUN_TEST_LOOP_f_L): Likewise.
10344         (RUN_TEST_fFF_11): Likewise.
10345         (RUN_TEST_LOOP_fFF_11): Likewise.
10346         (VEC_SUFF): Likewise.
10347         (STR_CONCAT): Likewise.
10348         (STR_CON3): Likewise.
10349         (HAVE_VECTOR): Likewise.
10350         (START): Likewise.
10351         (END): Likewise.
10352         (END_COMPLEX): Likewise.
10353         (ALL_RM_TEST): Likewise.
10354         (matherr): Likewise.
10355         (initialize): Likewise.
10356         (options): Likewise.
10357         (doc): Likewise.
10358         (parse_opt): Likewise.
10359         (argp): Likewise.
10360         (check_ulp): Likewise.
10361         (main): Likewise.
10362         (do_test): New function.  Call tests of individual functions
10363         previously called from main.
10365         * math/libm-test.inc: Remove comment listing functions tested and
10366         not tested.
10368 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10370         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10371         (allocate_stack): Remove COLORING_INCREMENT usage.
10372         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10373         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10375 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10377         * manual/libm-err-tab.pl (@all_functions): Change to
10378         %all_functions.  Initialize as empty.
10379         (parse_ulps): Add to %all_functions based on functions found in
10380         ulps files.  Ignore results for non-default rounding modes and
10381         vector functions.
10382         (print_platforms): Use %all_platforms.
10383         * manual/math.texi (Errors in Math Functions): Document omissions
10384         from the table.
10386         * math/Makefile (before-compile): Remove.
10388 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10390         [BZ #21075]
10391         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10392         unused assignment.
10393         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10395 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10397         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10398         Add __glibc_unlikely hint.
10400 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10402         [BZ #16640]
10403         * sysdeps/i386/i686/strtok.S: Remove file.
10404         * sysdeps/i386/i686/strtok_r.S: Likewise.
10405         * sysdeps/i386/strtok.S: Likewise.
10406         * sysdeps/i386/strtok_r.S: Likewise.
10407         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10408         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10409         * sysdeps/x86_64/strtok.S: Likewise.
10410         * sysdeps/x86_64/strtok_r.S: Likewise.
10412         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10413         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10414         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10415         (__ASSUME_FADVISE64_AS_64_64): Define.
10416         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10417         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10418         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10419         __ALIGNMENT_ARG usage.
10420         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10421         __NR_fadvise64_64 if it is not defined.
10423 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10425         * version.h (RELEASE): Set to "development"
10426         (VERSION): Set to 2.25.90.
10427         * NEWS: Add 2.26 section.
10429         * version.h (RELEASE): Set to "stable"
10430         (VERSION): Set to 2.25.
10431         * include/features.h (__GLIBC_MINOR__): Set to 25.
10433         * manual/contrib.texi: Add more contributors from this release
10434         and past releases.
10436         * NEWS (2.25): Add list of bugs fixed.
10438         * NEWS: Add missing news items.
10440 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10442         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10443         parent if child exited in that manner.  Print WEXITSTATUS
10444         instead of the raw status.
10445         (do_test_prep): Rename to do_test.
10446         (do_test): Return the result of run_executable_sgid.
10447         (TEST_FUNCTION_ARGV): Adjust.
10449 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10450             Florian Weimer  <fweimer@redhat.com>
10451             Carlos O'Donell  <carlos@redhat.com>
10453         [BZ #20915]
10454         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10455         Do not initialize DTV.
10456         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10458 2017-02-03  David S. Miller  <davem@davemloft.net>
10460         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10468         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10469         (libm-sysdep_routines): Update.
10470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10475         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10476         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10477         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10478         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10480         Likewise.
10481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10483         Likewise.
10484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10486         Likewise.
10487         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10489         Likewise.
10490         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10492         (libm-sysdep_routines): Update.
10494 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10496         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10497         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10498         against unrelocated shared library.
10499         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10501 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10503         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10504         * elf/tst-env-setuid-tunables.c
10505         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10506         GLIBC_TUNABLES is removed in a setgid process.
10508         [BZ #21073]
10509         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10510         * elf/dl-tunables.c (tunables_strdup): Remove.
10511         (get_next_env): Also return the previous envp.
10512         (parse_tunables): Erase tunables of category
10513         TUNABLES_SECLEVEL_SXID_ERASE.
10514         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10515         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10516         (__tunables_init)[TUNABLES_FRONTEND ==
10517         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10518         after parsing.
10519         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10520         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10521         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10522         to security_level.
10523         * elf/dl-tunables.list: Add security_level annotations for all
10524         tunables.
10525         * scripts/gen-tunables.awk: Recognize and generate enum values
10526         for security_level.
10527         * elf/tst-env-setuid.c: New test case.
10528         * elf/tst-env-setuid-tunables: new test case.
10529         * elf/Makefile (tests-static): Add them.
10531 2017-02-01  Richard Henderson  <rth@twiddle.net>
10533         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10534         adjusting the byte count.
10536 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10538         * conform/Makefile (linknamespace-libs): Define.
10540         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10541         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10542         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10543         operands.
10545 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10547         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10549 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10551         [BZ #21081]
10552         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10553         (L(stosb)): Add VZEROUPPER before ret.
10555 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10556             Alexey Makhalov <amakhalov@vmware.com>
10557             Florian Weimer <fweimer@redhat.com>
10559         [BZ #20116]
10560         * nptl/pthread_create.c: Document concurrency notes.
10561         Enhance thread creation notes.
10562         (create_thread): Use bool *stopped_start.
10563         (START_THREAD_DEFN): Comment ownership of PD.
10564         (__pthread_create_2_1): Add local bool stopped_start and use
10565         that instead of pd->stopped_start where appropriate.
10566         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10567         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10568         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10569         * nptl/tst-create-detached.c: New file.
10570         * nptl/Makefile (tests): Add tst-create-detached.
10571         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10572         Reference the enhanced thread creation notes.
10573         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10574         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10575         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10576         (__pthread_current_priority): Likewise.
10577         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10578         xpthread_attr_init, xpthread_attr_setdetachstate, and
10579         xpthread_attr_setstacksize.
10580         * support/xpthread_attr_destroy.c: New file.
10581         * support/xpthread_attr_init.c: New file.
10582         * support/xpthread_attr_setdetachstate.c: New file.
10583         * support/xpthread_attr_setstacksize.c: New file.
10584         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10585         xpthread_attr_init, xpthread_attr_setdetachstate, and
10586         xpthread_attr_setstacksize.
10588 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10590         * nptl/Makefile (tests): Add tst-robust-fork.
10591         * nptl/tst-robust-fork.c: New file.
10592         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10593         xpthread_mutex_consistent, xpthread_mutex_destroy,
10594         xpthread_mutex_init, xpthread_mutexattr_destroy,
10595         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10596         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10597         xpthread_mutexattr_settype.
10598         * support/xmmap.c: New file.
10599         * support/xmunmap.c: Likewise.
10600         * support/xpthread_mutex_consistent.c: Likewise.
10601         * support/xpthread_mutex_destroy.c: Likewise.
10602         * support/xpthread_mutex_init.c: Likewise.
10603         * support/xpthread_mutexattr_destroy.c: Likewise.
10604         * support/xpthread_mutexattr_init.c: Likewise.
10605         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10606         * support/xpthread_mutexattr_setpshared.c: Likewise.
10607         * support/xpthread_mutexattr_setrobust.c: Likewise.
10608         * support/xpthread_mutexattr_settype.c: Likewise.
10609         * support/xthread.h (xpthread_mutexattr_destroy)
10610         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10611         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10612         (xpthread_mutexattr_settype, xpthread_mutex_init)
10613         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10614         * support/xunistd.h (xmmap, xmunmap): Likewise.
10616 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10618         * string/Makefile (xtests): Add comment.
10619         (LOCALES): Add en_GB.UTF-8.
10620         (tst-strcoll-overflow.out): Depend on generated locales.
10621         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10622         (SIZE, TIMEOUT): Update comments.
10623         (do_test): Define as static.  Fail test if setlocale fails.
10624         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10625         messages.
10626         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10627         TIMEOUT at 300 seconds should be enough to run this test
10628         successfully.
10630 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10632         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10633         /* FALLTHRU */ comments.
10635 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10637         [BZ #21053]
10638         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10639         constants instead of the old R* ones.
10640         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10641         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10642         (NGREG): ... to this, to fit in with other architectures.
10643         (gpregset_t): Use new NGREG macro.
10644         [__USE_GNU]: Remove condition; all architectures other than tile
10645         are unconditional.
10646         (R*): Rename to REG_R*.
10648 2017-01-20  DJ Delorie  <dj@redhat.com>
10650         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10651         (tunable_set_val_if_valid_range_signed) ... this, and ...
10652         (tunable_set_val_if_valid_range_unsigned) ... this.
10653         (tunable_initialize): Call the correct one of the above based on type.
10655 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10657         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10658         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10659         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10660         * sysdeps/microblaze/libm-test-ulps: Likewise.
10661         * sysdeps/sh/libm-test-ulps: Likewise.
10663         * math/README.libm-test: Update list of characters for input and
10664         output types.
10666 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10668         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10669         (__lll_unlock_elision): Fix adapt_count decrement.
10671 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10673         * README.pretty-printers (Known issues): Warn about printers not
10674         always covering everything.
10675         * nptl/nptl-printers.py (MutexPrinter): Change output.
10676         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10678 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10680         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10681         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10682         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10683         (__lll_lock_elision): Do not test futex before starting a
10684         transaction.  Use __glibc_likely instead of __builtin_expect.
10685         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10686         (__lll_trylock_elision): Do not test futex before starting a
10687         transaction.  Use __glibc_likely instead of __builtin_expect.
10689 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10691         * po/Makefile (update-translations): New target.
10693 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10695         [BZ #21061]
10696         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10698 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10700         * elf/dl-tunables (get_next_env): Always advance envp.
10701         * stdlib/tst-empty-env.c: New test case.
10702         * stdlib/Makefile (tests): Use it.
10704 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10706         [BZ #21047]
10707         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10708         name for instruction.
10709         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10711 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10713         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10714         for make install.
10716 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10718         * po/bg.po: Merge from Translation Project.
10719         * po/fr.po: Likewise.
10720         * po/ko.po: Likewise.
10721         * po/nl.po: Likewise.
10722         * po/sv.po: Likewise.
10724 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10726         * manual/install.texi (Tools for Compilation): Update GCC version
10727         known to work to build glibc.
10728         * INSTALL: Regenerated.
10730 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10732         [BZ #21006]
10733         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10735 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10737         [BZ #21045]
10738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10739         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10740         to __sigprocmask.
10742 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10744         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10745         wrap-around.
10746         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10748         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10750 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10752         * NEWS: Fix typo.
10754 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10756         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10757         barriers and comments.
10758         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10759         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10760         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10762 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10764         [BZ #19402]
10765         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10766         mutexes.
10768 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10770         [BZ #20985]
10771         * nptl/Makefile: Adapt.
10772         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10773         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10774         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10775         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10776         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10777         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10778         lll_robust* functions and adapt.
10779         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10780         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10781         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10782         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10783         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10784         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10785         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10786         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10787         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10788         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10789         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10790         * nptl/lowlevelrobustlock.c: Remove file.
10791         * nptl/lowlevelrobustlock.sym: Likewise.
10792         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10793         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10795 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10797         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10799 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10801         * po/cs.po: Merge translations from the Translation Project.
10802         * po/de.po: Likewise.
10803         * po/pl.po: Likewise.
10804         * po/ru.po: Likewise.
10805         * po/tr.po: Likewise.
10806         * po/uk.po: Likewise.
10807         * po/vi.po: Likewise.
10808         * po/zh_CN.po: Likewise.
10810 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10812         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10814         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10815         object.
10817 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10819         [BZ #16458]
10820         * bits/uintn-identity.h: New file.
10821         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10822         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10823         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10824         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10825         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10826         * string/endian.h: Include <bits/uintn-identity.h>.
10827         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10828         __uint16_identity.
10829         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10830         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10831         __uint32_identity.
10832         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10833         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10834         __uint64_identity.
10835         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10836         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10837         __uint16_identity.
10838         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10839         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10840         __uint32_identity.
10841         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10842         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10843         __uint64_identity.
10844         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10845         * string/Makefile (headers): Add bits/uintn-identity.h.
10846         (tests): Add test-endian-types.
10847         * string/test-endian-types.c: New file.
10848         * inet/Makefile (tests): Add test-hnto-types.
10849         * inet/test-hnto-types.c: New file.
10851 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10853         * po/be.po: Update from Translation Project.
10854         * po/bg.po: Likewise.
10855         * po/ca.po: Likewise.
10856         * po/cs.po: Likewise.
10857         * po/da.po: Likewise.
10858         * po/de.po: Likewise.
10859         * po/el.po: Likewise.
10860         * po/eo.po: Likewise.
10861         * po/es.po: Likewise.
10862         * po/fi.po: Likewise.
10863         * po/fr.po: Likewise.
10864         * po/gl.po: Likewise.
10865         * po/hr.po: Likewise.
10866         * po/hu.po: Likewise.
10867         * po/ia.po: Likewise.
10868         * po/id.po: Likewise.
10869         * po/it.po: Likewise.
10870         * po/ja.po: Likewise.
10871         * po/ko.po: Likewise.
10872         * po/lt.po: Likewise.
10873         * po/nb.po: Likewise.
10874         * po/nl.po: Likewise.
10875         * po/pl.po: Likewise.
10876         * po/pt_BR.po: Likewise.
10877         * po/ru.po: Likewise.
10878         * po/rw.po: Likewise.
10879         * po/sk.po: Likewise.
10880         * po/sl.po: Likewise.
10881         * po/sv.po: Likewise.
10882         * po/tr.po: Likewise.
10883         * po/uk.po: Likewise.
10884         * po/vi.po: Likewise.
10885         * po/zh_CN.po: Likewise.
10886         * po/zh_TW.po: Likewise.
10888 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10890         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10891         -Wformat-truncation instead of -Wformat-length.
10892         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10893         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10894         GCC 7.
10895         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10896         (do_test): Ignore -Wformat-truncation for GCC 7.
10898         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10899         buffer used to print long int value.
10901         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10902         one byte.  Print it with %ld, cast to long int.
10904 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10906         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10907         (re.fullmatch, subprocess.run): Likewise.
10909 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10911         * po/libc.pot: Regenerate.
10913 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10915         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10916         (min_strlen): Likewise.
10917         (disable_tunable): Likewise.
10918         (maybe_disable_malloc_check): Rename to
10919         maybe_enable_malloc_check.
10920         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10921         if /etc/suid-debug file exists.
10922         (__tunables_init): Update caller.
10923         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10924         secure.
10926 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10928         * nptl/DESIGN-rwlock.txt: Remove.
10929         * nptl/lowlevelrwlock.sym: Remove.
10930         * nptl/Makefile: Add new tests.
10931         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10932         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10933         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10934         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10935         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10936         PTHREAD_RWLOCK_FUTEX_USED): New.
10937         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10938         implementation.
10939         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10940         (__pthread_rwlock_rdlock): Adapt.
10941         * nptl/pthread_rwlock_timedrdlock.c
10942         (pthread_rwlock_timedrdlock): Adapt.
10943         * nptl/pthread_rwlock_timedwrlock.c
10944         (pthread_rwlock_timedwrlock): Adapt.
10945         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10946         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10947         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10948         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10949         (__pthread_rwlock_wrlock): Adapt.
10950         * nptl/tst-rwlock10.c: Adapt.
10951         * nptl/tst-rwlock11.c: Adapt.
10952         * nptl/tst-rwlock17.c: New file.
10953         * nptl/tst-rwlock18.c: New file.
10954         * nptl/tst-rwlock19.c: New file.
10955         * nptl/tst-rwlock2b.c: New file.
10956         * nptl/tst-rwlock8.c: Adapt.
10957         * nptl/tst-rwlock9.c: Adapt.
10958         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10959         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10960         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10961         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10962         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10963         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10964         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10965         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10966         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10967         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10968         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10969         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10970         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10971         (pthread_rwlock_t): Adapt.
10972         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10973         (pthread_rwlock_t): Adapt.
10974         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10975         * nptl/nptl-printers.py (): Adapt.
10976         * nptl/nptl_lock_constants.pysym: Adapt.
10977         * nptl/test-rwlock-printers.py: Adapt.
10978         * nptl/test-rwlockattr-printers.c: Adapt.
10979         * nptl/test-rwlockattr-printers.py: Adapt.
10981 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10983         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10984         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10985         (fma_test_data): Likewise.
10986         (hypot_test_data): Likewise.
10987         (log1p_test_data): Likewise.
10988         (modf_test_data): Likewise.
10989         (pow_test_data): Likewise.
10990         (remainder_test_data): Likewise.
10991         (remquo_test_data): Likewise.
10992         (scalb_test_data): Likewise.
10993         (scalbn_test_data): Likewise.
10994         (scalbln_test_data): Likewise.
10995         * math/gen-libm-test.pl (parse_args): Transform
10996         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10997         on the rounding mode.
10999 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
11001         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
11002         xfail-rounding:ibm128-libgcc automatically to tests overflowing
11003         and those that can underflow to zero.
11004         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
11005         add others.
11006         * math/auto-libm-test-out: Regenerated.
11008         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
11009         supported.
11010         (feholdexcept_tests): Skip tests requiring exceptions or rounding
11011         modes support if not supported.
11013         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
11014         Add libc.so PLT entry.
11015         (__tls_get_addr): Make ld.so PLT entry optional.
11017 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11019         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
11020         * string/bits/string3.h: ... here.
11022 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
11024         [BZ #21028]
11025         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
11026         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
11027         if EXCEPTION_TESTS returns false.
11029 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11031         [BZ #20558]
11032         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
11033         strings_fortified.h.
11034         [__USE_MISC] (bzero): Likewise.
11035         [__USE_MISC] (explicit_bzero): Likewise.
11036         * string/strings.h: Include strings_fortified.h.
11037         * string/Makefile (headers): Add strings_fortified.h.
11038         * string/bits/strings_fortified.h: New file.
11039         * include/bits/strings_fortified.h: Likewise.
11041 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
11043         * elf/tst-tls13.c (TIMEOUT): Remove.
11044         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
11045         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
11046         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
11047         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
11048         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
11050         [BZ #21026]
11051         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
11052         (readahead): New syscall entry.
11054 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11056         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
11057         around tests of strncat with large sizes.
11059         * malloc/tst-malloc.c: Include <libc-internal.h>.
11060         (do_test): Disable -Walloc-size-larger-than= around tests of
11061         malloc with negative sizes.
11062         * malloc/tst-mcheck.c: Include <libc-internal.h>.
11063         (do_test): Disable -Walloc-size-larger-than= around tests of
11064         malloc and realloc with negative sizes.
11065         * malloc/tst-realloc.c: Include <libc-internal.h>.
11066         (do_test): Disable -Walloc-size-larger-than= around tests of
11067         realloc with negative sizes.
11069         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
11070         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
11071         allowed to 16 ulps.
11072         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
11073         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
11074         * math/auto-libm-test-out: Regenerated.
11076 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11078         * math/Makefile (libm-calls): Move wrappers...
11079         (libm-compat-call-auto): Here.
11080         (libm-routines): Add items in libm-compat-calls-auto.
11081         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
11082         the filenames of the wrappers that have been renamed.
11083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
11084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11086         * math/w_acos.c: Add _compat suffix to filename.
11087         * math/w_acosf.c: Likewise.
11088         * math/w_acosh.c: Likewise.
11089         * math/w_acoshf.c: Likewise.
11090         * math/w_acoshl.c: Likewise.
11091         * math/w_acosl.c: Likewise.
11092         * math/w_asin.c: Likewise.
11093         * math/w_asinf.c: Likewise.
11094         * math/w_asinl.c: Likewise.
11095         * math/w_atan2.c: Likewise.
11096         * math/w_atan2f.c: Likewise.
11097         * math/w_atan2l.c: Likewise.
11098         * math/w_atanh.c: Likewise.
11099         * math/w_atanhf.c: Likewise.
11100         * math/w_atanhl.c: Likewise.
11101         * math/w_cosh.c: Likewise.
11102         * math/w_coshf.c: Likewise.
11103         * math/w_coshl.c: Likewise.
11104         * math/w_exp10.c: Likewise.
11105         * math/w_exp10f.c: Likewise.
11106         * math/w_exp10l.c: Likewise.
11107         * math/w_exp2.c: Likewise.
11108         * math/w_exp2f.c: Likewise.
11109         * math/w_exp2l.c: Likewise.
11110         * math/w_fmod.c: Likewise.
11111         * math/w_fmodf.c: Likewise.
11112         * math/w_fmodl.c: Likewise.
11113         * math/w_hypot.c: Likewise.
11114         * math/w_hypotf.c: Likewise.
11115         * math/w_hypotl.c: Likewise.
11116         * math/w_j0.c: Likewise.
11117         * math/w_j0f.c: Likewise.
11118         * math/w_j0l.c: Likewise.
11119         * math/w_j1.c: Likewise.
11120         * math/w_j1f.c: Likewise.
11121         * math/w_j1l.c: Likewise.
11122         * math/w_jn.c: Likewise.
11123         * math/w_jnf.c: Likewise.
11124         * math/w_jnl.c: Likewise.
11125         * math/w_log10.c: Likewise.
11126         * math/w_log10f.c: Likewise.
11127         * math/w_log10l.c: Likewise.
11128         * math/w_log2.c: Likewise.
11129         * math/w_log2f.c: Likewise.
11130         * math/w_log2l.c: Likewise.
11131         * math/w_log.c: Likewise.
11132         * math/w_logf.c: Likewise.
11133         * math/w_logl.c: Likewise.
11134         * math/w_pow.c: Likewise.
11135         * math/w_powf.c: Likewise.
11136         * math/w_powl.c: Likewise.
11137         * math/w_remainder.c: Likewise.
11138         * math/w_remainderf.c: Likewise.
11139         * math/w_remainderl.c: Likewise.
11140         * math/w_scalb.c: Likewise.
11141         * math/w_scalbf.c: Likewise.
11142         * math/w_scalbl.c: Likewise.
11143         * math/w_sinh.c: Likewise.
11144         * math/w_sinhf.c: Likewise.
11145         * math/w_sinhl.c: Likewise.
11146         * math/w_sqrt.c: Likewise.
11147         * math/w_sqrtf.c: Likewise.
11148         * math/w_sqrtl.c: Likewise.
11149         * math/w_tgamma.c: Likewise.
11150         * math/w_tgammaf.c: Likewise.
11151         * math/w_tgammal.c: Likewise.
11153         * math/w_acos_compat.c: New file copied from above and
11154         adjusted for new #includes path
11155         * math/w_acosf_compat.c: Likewise.
11156         * math/w_acosh_compat.c: Likewise.
11157         * math/w_acoshf_compat.c: Likewise.
11158         * math/w_acoshl_compat.c: Likewise.
11159         * math/w_acosl_compat.c: Likewise.
11160         * math/w_asin_compat.c: Likewise.
11161         * math/w_asinf_compat.c: Likewise.
11162         * math/w_asinl_compat.c: Likewise.
11163         * math/w_atan2_compat.c: Likewise.
11164         * math/w_atan2f_compat.c: Likewise.
11165         * math/w_atan2l_compat.c: Likewise.
11166         * math/w_atanh_compat.c: Likewise.
11167         * math/w_atanhf_compat.c: Likewise.
11168         * math/w_atanhl_compat.c: Likewise.
11169         * math/w_cosh_compat.c: Likewise.
11170         * math/w_coshf_compat.c: Likewise.
11171         * math/w_coshl_compat.c: Likewise.
11172         * math/w_exp10_compat.c: Likewise.
11173         * math/w_exp10f_compat.c: Likewise.
11174         * math/w_exp10l_compat.c: Likewise.
11175         * math/w_exp2_compat.c: Likewise.
11176         * math/w_exp2f_compat.c: Likewise.
11177         * math/w_exp2l_compat.c: Likewise.
11178         * math/w_fmod_compat.c: Likewise.
11179         * math/w_fmodf_compat.c: Likewise.
11180         * math/w_fmodl_compat.c: Likewise.
11181         * math/w_hypot_compat.c: Likewise.
11182         * math/w_hypotf_compat.c: Likewise.
11183         * math/w_hypotl_compat.c: Likewise.
11184         * math/w_j0_compat.c: Likewise.
11185         * math/w_j0f_compat.c: Likewise.
11186         * math/w_j0l_compat.c: Likewise.
11187         * math/w_j1_compat.c: Likewise.
11188         * math/w_j1f_compat.c: Likewise.
11189         * math/w_j1l_compat.c: Likewise.
11190         * math/w_jn_compat.c: Likewise.
11191         * math/w_jnf_compat.c: Likewise.
11192         * math/w_jnl_compat.c: Likewise.
11193         * math/w_log10_compat.c: Likewise.
11194         * math/w_log10f_compat.c: Likewise.
11195         * math/w_log10l_compat.c: Likewise.
11196         * math/w_log2_compat.c: Likewise.
11197         * math/w_log2f_compat.c: Likewise.
11198         * math/w_log2l_compat.c: Likewise.
11199         * math/w_log_compat.c: Likewise.
11200         * math/w_logf_compat.c: Likewise.
11201         * math/w_logl_compat.c: Likewise.
11202         * math/w_pow_compat.c: Likewise.
11203         * math/w_powf_compat.c: Likewise.
11204         * math/w_powl_compat.c: Likewise.
11205         * math/w_remainder_compat.c: Likewise.
11206         * math/w_remainderf_compat.c: Likewise.
11207         * math/w_remainderl_compat.c: Likewise.
11208         * math/w_scalb_compat.c: Likewise.
11209         * math/w_scalbf_compat.c: Likewise.
11210         * math/w_scalbl_compat.c: Likewise.
11211         * math/w_sinh_compat.c: Likewise.
11212         * math/w_sinhf_compat.c: Likewise.
11213         * math/w_sinhl_compat.c: Likewise.
11214         * math/w_sqrt_compat.c: Likewise.
11215         * math/w_sqrtf_compat.c: Likewise.
11216         * math/w_sqrtl_compat.c: Likewise.
11217         * math/w_tgamma_compat.c: Likewise.
11218         * math/w_tgammaf_compat.c: Likewise.
11219         * math/w_tgammal_compat.c: Likewise.
11221         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11222         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11223         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11224         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11225         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11226         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11227         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11228         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11229         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11230         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11231         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11232         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11233         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11234         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11235         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11236         * sysdeps/ia64/fpu/w_powl.c: Likewise.
11237         * sysdeps/ia64/fpu/w_powf.c: Likewise.
11238         * sysdeps/ia64/fpu/w_pow.c: Likewise.
11239         * sysdeps/ia64/fpu/w_logl.c: Likewise.
11240         * sysdeps/ia64/fpu/w_logf.c: Likewise.
11241         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11242         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11243         * sysdeps/ia64/fpu/w_log2.c: Likewise.
11244         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11245         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11246         * sysdeps/ia64/fpu/w_log10.c: Likewise.
11247         * sysdeps/ia64/fpu/w_log.c: Likewise.
11248         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11249         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11250         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11251         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11252         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11253         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11254         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11255         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11256         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11257         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11258         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11259         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11260         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11261         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11262         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11263         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11264         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11265         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11266         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11267         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11268         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11269         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11270         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11271         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11272         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11273         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11274         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11275         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11276         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11277         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11278         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11279         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11280         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11281         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11282         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11283         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11284         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11285         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11286         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11287         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11288         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11289         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11290         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11291         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11292         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11293         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11294         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11295         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11296         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11297         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11298         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11299         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11300         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11301         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11302         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11303         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11304         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11305         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11306         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11307         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11308         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11309         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11310         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11311         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11312         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11313         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11314         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11315         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11316         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11317         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11318         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11319         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11320         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11322         Likewise.
11323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11324         Likewise.
11325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11327         Likewise.
11328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11329         Likewise.
11330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11331         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11332         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11333         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11335         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11336         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11341         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11343         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11344         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11346         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11347         and adjusted for new #includes path
11348         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11349         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11350         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11351         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11352         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11353         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11354         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11355         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11356         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11357         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11358         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11359         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11360         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11361         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11362         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11363         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11364         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11365         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11366         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11367         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11368         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11369         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11370         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11371         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11372         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11373         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11374         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11375         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11376         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11377         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11378         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11379         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11380         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11381         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11382         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11383         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11384         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11385         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11386         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11387         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11388         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11389         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11390         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11391         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11392         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11393         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11394         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11395         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11396         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11397         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11398         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11399         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11400         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11401         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11402         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11403         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11404         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11405         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11406         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11407         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11408         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11409         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11410         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11411         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11412         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11413         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11414         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11415         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11416         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11417         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11418         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11419         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11420         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11421         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11422         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11423         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11424         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11425         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11426         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11427         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11428         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11429         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11430         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11431         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11432         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11433         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11434         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11435         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11436         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11437         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11438         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11439         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11440         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11441         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11442         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11443         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11444         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11445         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11446         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11448         Likewise.
11449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11450         Likewise.
11451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11452         Likewise.
11453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11454         Likewise.
11455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11456         Likewise.
11457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11458         Likewise.
11459         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11460         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11461         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11462         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11463         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11464         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11466         Likewise.
11467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11468         Likewise.
11469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11470         Likewise.
11471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11472         Likewise.
11473         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11474         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11475         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11476         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11478 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11480         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11481         __jmp_buf_internal_tag.
11483         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11484         preserve NaN payload if [__mips_nan2008].
11485         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11487         [BZ #21022]
11488         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11490 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11492         * sysdeps/i386/fpu/libm-test-ulps: Update.
11494 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11496         * sysdeps/ia64/strcat.c: Remove file.
11497         * sysdeps/powerpc/strcat.c: Likewise.
11498         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11499         C implementation.
11500         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11501         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11503 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11504             Steven Munroe  <sjmunroe@us.ibm.com>
11505             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11507         [BZ #20822]
11508         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11509         (__lll_lock_elision): Access adapt_count via C11 atomics.
11510         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11511         (__lll_trylock_elision): Likewise.
11512         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11513         (__lll_unlock_elision):  Update adapt_count variable inside the
11514         critical section using C11 atomics.
11516 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11518         * math/test-fenvinline.c (do_test): Disable tests of raised
11519         exceptions if !EXCEPTION_TESTS (FLOAT).
11521 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11523         [BZ #19390]
11524         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11525         maximum string size.
11526         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11527         in pointer addition.
11528         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11529         Likewise.
11531 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11533         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11534         passed to tst-ldconfig-X.sh.
11536 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11538         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11540 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11542         [BZ #21019]
11543         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11544         New syscall entry.
11545         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11546         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11547         lseek.
11549         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11550         power4 glibc for powerpc-linux-gnu.
11552 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11554         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11555         semctl.
11557 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11559         * math/test-nearbyint-except.c: Include <stdbool.h>.
11560         (any_supported): New variable.
11561         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11562         set any_supported.
11563         (do_test): Return 77 if no floating-point type supported
11564         exceptions.
11566         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11567         condition on [__mips_hard_float].
11569 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11571         [BZ #21014]
11572         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11573         in pointer addition.
11574         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11576 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11578         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11579         new condvar.
11581 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11583         * scripts/build-many-glibcs.py (Context.checkout): Default
11584         binutils version to 2.28 branch.
11586 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11588         * support/support_format_netent.c (support_format_netent): Work
11589         around alpha struct netent definition difference.
11591 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11593         * support/xwrite.c (xwrite): Use %td for pointer difference.
11595 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11597         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11598         have-tunables only.
11599         (tests-static): Add tst-malloc-usable-static-tunables for
11600         have-tunables only.
11602 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11604         * scripts/config.guess: Update to version 2017-01-01.
11605         * scripts/config.sub: Update to version 2017-01-01.
11607         * NEWS: Update copyright dates.
11608         * catgets/gencat.c (print_version): Likewise.
11609         * csu/version.c (banner): Likewise.
11610         * debug/catchsegv.sh: Likewise.
11611         * debug/pcprofiledump.c (print_version): Likewise.
11612         * debug/xtrace.sh (do_version): Likewise.
11613         * elf/ldconfig.c (print_version): Likewise.
11614         * elf/ldd.bash.in: Likewise.
11615         * elf/pldd.c (print_version): Likewise.
11616         * elf/sotruss.sh: Likewise.
11617         * elf/sprof.c (print_version): Likewise.
11618         * iconv/iconv_prog.c (print_version): Likewise.
11619         * iconv/iconvconfig.c (print_version): Likewise.
11620         * locale/programs/locale.c (print_version): Likewise.
11621         * locale/programs/localedef.c (print_version): Likewise.
11622         * login/programs/pt_chown.c (print_version): Likewise.
11623         * malloc/memusage.sh (do_version): Likewise.
11624         * malloc/memusagestat.c (print_version): Likewise.
11625         * malloc/mtrace.pl: Likewise.
11626         * manual/libc.texinfo: Likewise.
11627         * nptl/version.c (banner): Likewise.
11628         * nscd/nscd.c (print_version): Likewise.
11629         * nss/getent.c (print_version): Likewise.
11630         * nss/makedb.c (print_version): Likewise.
11631         * posix/getconf.c (main): Likewise.
11632         * scripts/test-installation.pl: Likewise.
11633         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11635         * All files with FSF copyright notices: Update copyright dates
11636         using scripts/update-copyrights.
11637         * intl/plural.c: Regenerated.
11638         * locale/programs/charmap-kw.h: Likewise.
11639         * locale/programs/locfile-kw.h: Likewise.
11641 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11643         [BZ #20593]
11644         Update DNS RR type definitions.
11645         * scripts/gen-rrtypes.py: New file.
11646         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11647         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11648         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11649         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11650         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11651         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11652         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11653         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11654         ns_t_ta, ns_t_dlv.
11655         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11656         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11657         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11658         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11659         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11660         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11661         Define.
11662         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11663         entry for ns_t_zxfr.
11665 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11667         [BZ #18784]
11668         CVE-2015-5180
11669         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11670         T_UNSPEC.  Adjust value.
11671         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11672         * resolv/res_query.c (__libc_res_nquery): Likewise.
11673         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11674         QTYPEs.
11675         * resolv/tst-resolv-qtypes.c: New file.
11676         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11677         (tst-resolv-qtypes): Link against libresolv and libpthread.
11679 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11681         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11683 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11685         * manual/tunables.texi: New chapter.
11686         * manual/Makefile (chapters): Add it.
11687         * manual/probes.texi (@node): Point to the Tunables chapter.
11689         * Makeconfig (have-tunables): Check for non-negative instead
11690         of positive.
11691         * configure.ac: Add 'valstring' as a valid value for
11692         --enable-tunables.
11693         * configure: Regenerate.
11694         * elf/Makefile (have-tunables): Check for non-negative instead
11695         of positive.
11696         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11697         dl-tunables.c.
11698         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11699         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11700         (tunables_strdup): Likewise.
11701         (disable_tunables): Likewise.
11702         (parse_tunables): Likewise.
11703         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11704         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11705         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11706         (TUNABLES_FRONTEND_yes): New macro, define as
11707         TUNABLES_FRONTEND_valstring by default.
11708         * manual/install.texi: Document new acceptable values for
11709         --enable-tunables.
11710         * INSTALL: Regenerate.
11712         * config.make.in (have-loop-to-function): Define.
11713         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11714         -fno-tree-loop-distribute-patterns.
11715         * elf/dl-tunables.c: Include libc-internals.h.
11716         (GLIBC_TUNABLES): New macro.
11717         (tunables_strdup): New function.
11718         (parse_tunables): New function.
11719         (min_strlen): New function.
11720         (__tunables_init): Use the new functions and macro.
11721         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11722         * malloc/tst-malloc-usable-tunables.c: New test case.
11723         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11724         * malloc/Makefile (tests, tests-static): Add tests.
11726         * manual/install.texi: Add --enable-tunables option.
11727         * INSTALL: Regenerate.
11728         * README.tunables: New file.
11729         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11730         (before-compile): Generate dl-tunable-list.h early.
11731         * config.h.in: Add HAVE_TUNABLES.
11732         * config.make.in: Add have-tunables.
11733         * configure.ac: Add --enable-tunables option.
11734         * configure: Regenerate.
11735         * csu/init-first.c (__libc_init_first): Move
11736         __libc_init_secure earlier...
11737         * csu/init-first.c (LIBC_START_MAIN):... to here.
11738         Include dl-tunables.h, libc-internal.h.
11739         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11740         binaries.
11741         * elf/Makefile (dl-routines): Add dl-tunables.
11742         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11743         namespace.
11744         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11745         only when !HAVE_TUNABLES.
11746         * elf/rtld.c (process_envvars): Likewise.
11747         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11748         (_dl_sysdep_start): Call __tunables_init.
11749         * elf/dl-tunable-types.h: New file.
11750         * elf/dl-tunables.c: New file.
11751         * elf/dl-tunables.h: New file.
11752         * elf/dl-tunables.list: New file.
11753         * malloc/tst-malloc-usable-static.c: New test case.
11754         * malloc/Makefile (tests-static): Add it.
11755         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11756         Define TUNABLE_NAMESPACE.
11757         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11758         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11759         callback functions.
11760         (ptmalloc_init): Set tunable values.
11761         * scripts/gen-tunables.awk: New file.
11762         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11763         (_dl_sysdep_start): Call __tunables_init.
11765 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11767         * resolv/resolv.h (RES_BLAST): Deprecate.
11768         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11769         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11770         to RES_BLAST.
11772 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11774         [BZ #19582]
11775         Deprecate RES_USE_INET6.
11776         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11777         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11778         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11779         RES_USE_INET6.
11780         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11781         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11782         (_nss_nisplus_gethostbyaddr_r): Likewise.
11783         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11784         of res_use_inet6.
11785         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11786         instead of RES_USE_INET6.
11787         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11788         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11789         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11790         Likewise.
11791         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11792         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11793         Likewise.
11794         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11795         (_nss_dns_gethostbyname_r): Likewise.
11796         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11797         alternate RES_USE_INET6 handling.
11798         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11799         instead of RES_USE_INET6.
11800         * resolv/res_init.c (res_setoptions): Likewise.
11801         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11802         * resolv/resolv-internal.h: New file.
11803         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11804         make the deprecation warning non-fatal.
11805         * resolv/README (Using the resolver in multi-threaded code): Drop
11806         reference to RES_USE_INET6.
11807         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11808         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11810 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11812         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11813         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11814         tst-resolv-search.
11815         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11816         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11817         with libresolv and libpthread.
11818         * resolv/tst-bug18665.c: New file.
11819         * resolv/tst-bug18665-tcp: Likewise.
11820         * resolv/tst-res_use_inet6: Likewise.
11821         * resolv/tst-resolv-basic: Likewise.
11822         * resolv/tst-resolv-network: Likewise.
11823         * resolv/tst-resolv-search: Likewise.
11824         * support/Makefile (libsupport-routines): Add check_addrinfo,
11825         check_dns_packet, check_hostent, check_netent, resolv_test,
11826         support_format_address_family, support_format_addrinfo,
11827         support_format_dns_packet, support_format_herrno,
11828         support_format_hostent, support_format_netent, support_run_diff,
11829         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11830         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11831         xstrdup, xwrite.
11832         * support/check_addrinfo.c: New file.
11833         * support/check_dns_packet.c: Likewise.
11834         * support/check_hostent.c: Likewise.
11835         * support/check_netent.c: Likewise.
11836         * support/check_nss.h: Likewise.
11837         * support/format_nss.h: Likewise.
11838         * support/resolv_test.c: Likewise.
11839         * support/resolv_test.h: Likewise.
11840         * support/run_diff.h: Likewise.
11841         * support/support_format_address_family.c: Likewise.
11842         * support/support_format_addrinfo.c: Likewise.
11843         * support/support_format_dns_packet.c: Likewise.
11844         * support/support_format_herrno.c: Likewise.
11845         * support/support_format_hostent.c: Likewise.
11846         * support/support_format_netent.c: Likewise.
11847         * support/support_run_diff.c: Likewise.
11848         * support/xaccept.c: Likewise.
11849         * support/xbind.c: Likewise.
11850         * support/xconnect.c: Likewise.
11851         * support/xfclose.c: Likewise.
11852         * support/xfopen.c: Likewise.
11853         * support/xgetsockname.c: Likewise.
11854         * support/xlisten.c: Likewise.
11855         * support/xmemstream.c: Likewise.
11856         * support/xmemstream.h: Likewise.
11857         * support/xpoll.c: Likewise.
11858         * support/xpthread_once.c: Likewise.
11859         * support/xrecvfrom.c: Likewise.
11860         * support/xsendto.c: Likewise.
11861         * support/xsetsockopt.c: Likewise.
11862         * support/xstdio.h: Likewise.
11863         * support/xstrdup.c: Likewise.
11864         * support/support.h (xstrdup): Declare.
11865         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11866         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11867         * support/xthread.h (xpthread_once): Likwise.
11868         * support/xunistd.h (xwrite): Declare.
11870 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11872         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11873         (test_verbose): Declare.
11874         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11875         * support/support_test_main.c (default_options): Likewise.
11876         (usage, support_test_main): Handle 'v'.
11877         (test_verbose): Define.
11878         * support/tst-support_record_failure.c (do_test): Use
11879         test_verbose.
11880         * support/tst-support_record_failure-2.sh (different_status): Add
11881         --verbose test.
11883 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11885         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11886         test failures are recorded.
11887         * support/check.c (support_print_failure_impl): Call
11888         support_record_failure.
11889         (support_exit_failure_impl): Call support_record_failure if status
11890         indicates failure.
11891         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11892         * support/xasprintf.c (xasprintf): Likewise.
11893         * support/xfork.c (xfork): Likewise.
11894         * support/xpthread_check_return.c (xpthread_check_return):
11895         Likewise.
11896         * support/xsocket.c (xsocket): Likeweise.
11897         * support/xwaitpid.c (xwaitpid): Likewise.
11898         * support/support_record_failure.c (struct test_failures): Adjust
11899         to coding style.
11900         * support/support_test_verify_impl.c (support_test_verify_impl):
11901         Adjust error messages.
11902         * support/tst-support_record_failure-2.sh (different_status):
11903         Adjust error messages.
11905 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11907         * support/namespace.h: New file.
11908         * support/support_become_root.c: Likewise.
11909         * support/support_enter_network_namespace.c: Likewise.
11910         * support/tst-support-namespace.c: Likewise.
11911         * support/xsocket.c: Likewise.
11912         * support/xsocket.h: Likewise.
11913         * support/Makefile (libsupport-routines): Add support_become_root,
11914         support_enter_network_namespace, xsocket.
11915         (tests): Add tst-support-namespace.
11917 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11919         [BZ #17252]
11920         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11921         __USE_GNU.
11923 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11925         [BZ #13165]
11926         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11927         use new algorithm.
11928         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11929         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11930         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11931         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11932         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11933         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11934         __condvar_cleanup_waiting, __condvar_dec_grefs,
11935         __pthread_cond_wait_common): New.
11936         (__condvar_cleanup): Remove.
11937         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11938         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11939         Likewise.
11940         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11941         Likewise.
11942         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11943         * nptl/tst-cond1.c: Add comment.
11944         * nptl/tst-cond20.c (do_test): Adapt.
11945         * nptl/tst-cond22.c (do_test): Likewise.
11946         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11947         structure.
11948         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11949         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11950         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11951         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11952         Likewise.
11953         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11954         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11955         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11956         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11957         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11958         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11959         Likewise.
11960         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11961         Likewise.
11962         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11963         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11964         (COND_CLOCK_BITS): Adapt.
11965         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11966         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11967         __PTHREAD_COND_SHARED_MASK): New.
11968         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11969         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11970         * nptl/nptl_lock_constants.pysym: Adapt.
11971         * nptl/test-cond-printers.py: Adapt.
11972         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11973         cond_compat_check_and_clear): Adapt.
11974         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11975         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11976         (__pthread_cond_timedwait): ... and move here.
11977         * nptl/DESIGN-condvar.txt: Remove file.
11978         * nptl/lowlevelcond.sym: Likewise.
11979         * nptl/pthread_cond_timedwait.c: Likewise.
11980         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11981         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11984         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11985         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11986         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11988         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11990         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11992         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11997 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11999         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12000         (fromfp): New declaration.
12001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
12002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
12003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
12004         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
12005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
12006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
12007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
12008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
12009         * math/math.h: Include <bits/types.h>.
12010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
12011         constant and macro.
12012         (FP_INT_DOWNWARD): Likewise.
12013         (FP_INT_TOWARDZERO): Likewise.
12014         (FP_INT_TONEARESTFROMZERO): Likewise.
12015         (FP_INT_TONEAREST): Likewise.
12016         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
12017         (fromfpf): Likewise.
12018         (fromfpl): Likewise.
12019         (ufromfp): Likewise.
12020         (ufromfpf): Likewise.
12021         (ufromfpl): Likewise.
12022         (fromfpx): Likewise.
12023         (fromfpxf): Likewise.
12024         (fromfpxl): Likewise.
12025         (ufromfpx): Likewise.
12026         (ufromfpxf): Likewise.
12027         (ufromfpxl): Likewise.
12028         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
12029         s_fromfpxF and s_ufromfpxF.
12030         * math/gen-fromfp-tests.py: New file.
12031         * math/gen-fromfp-tests-inputs: Likewise.
12032         * math/libm-test.inc: Include <stdint.h>
12033         (check_intmax_t): New function.
12034         (check_uintmax_t): Likewise.
12035         (struct test_fiu_M_data): New type.
12036         (struct test_fiu_U_data): Likewise.
12037         (RUN_TEST_fiu_M): New macro.
12038         (RUN_TEST_LOOP_fiu_M): Likewise.
12039         (RUN_TEST_fiu_U): Likewise.
12040         (RUN_TEST_LOOP_fiu_U): Likewise.
12041         (fromfp_test_data): New array.
12042         (fromfp_test): New function.
12043         (fromfpx_test_data): New array.
12044         (fromfpx_test): New function.
12045         (ufromfp_test_data): New array.
12046         (ufromfp_test): New function.
12047         (ufromfpx_test_data): New array.
12048         (ufromfpx_test): New function.
12049         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
12050         ufromfpx_test.
12051         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
12052         characters.
12053         * math/test-tgmath-ret.c: Include <stdint.h>.
12054         (rm): New variable.
12055         (width): Likewise.
12056         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
12057         called function.
12058         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
12059         CHECK_RET_CONST_TYPE.
12060         (CHECK_RET_CONST_DOUBLE): Likewise.
12061         (CHECK_RET_CONST_LDOUBLE): Likewise.
12062         (CHECK_RET_CONST): Take extra arguments and pass them to calls
12063         macros.
12064         (fromfp): New CHECK_RET_CONST call.
12065         (ufromfp): Likewise.
12066         (fromfpx): Likewise.
12067         (ufromfpx): Likewise.
12068         (do_test): Call check_return_fromfp, check_return_ufromfp,
12069         check_return_fromfpx and check_return_ufromfpx.
12070         * math/test-tgmath.c: Include <stdint.h>
12071         (NCALLS): Increase to 138.
12072         (F(compile_test)): Initialize i.  Call fromfp functions.
12073         (F(fromfp)): New function.
12074         (F(fromfpx)): Likewise.
12075         (F(ufromfp)): Likewise.
12076         (F(ufromfpx)): Likewise.
12077         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
12078         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
12079         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
12080         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
12081         ufromfpxl.
12082         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
12083         ufromfp and ufromfpx.
12084         * math/fromfp.h: New file.
12085         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
12086         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
12087         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
12088         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
12089         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
12090         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
12091         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
12092         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
12093         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
12094         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
12095         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
12096         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
12097         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
12098         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
12099         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
12100         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
12101         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
12102         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
12103         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
12104         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
12105         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
12106         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
12107         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
12108         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
12109         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
12110         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
12111         ufromfp, fromfpx and ufromfpx.
12112         (CFLAGS-nldbl-fromfp.c): New variable.
12113         (CFLAGS-nldbl-fromfpx.c): Likewise.
12114         (CFLAGS-nldbl-ufromfp.c): Likewise.
12115         (CFLAGS-nldbl-ufromfpx.c): Likewise.
12116         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
12117         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
12118         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
12119         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
12120         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
12121         * sysdeps/nacl/libm.abilist: Update.
12122         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12123         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12124         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12125         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12126         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12127         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12128         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12129         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12130         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12135         Likewise.
12136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12137         Likewise.
12138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12139         Likewise.
12140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12141         Likewise.
12142         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12148         Likewise.
12149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12150         Likewise.
12151         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12155 2016-12-30  Florian Weimer  <fweimer@redhat.com>
12157         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
12158         compat-gethnamaddr.
12159         (CPPFLAGS): Remove.
12160         * resolv/gethnamaddr.c: Rename ...
12161         * resolv/compat-gethnamaddr.c: ... to this file.
12162         (_endhtent): Make static.
12163         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
12164         symbol.
12165         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
12166         compat symbol.
12167         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
12168         symbol.
12169         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12170         Turn into compat symbol.
12171         * include/resolv.h (_endhtent): Remove declaration.
12173 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
12175         * bits/types.h (__intmax_t): New typedef.
12176         (__uintmax_t): Likewise.
12177         * sysdeps/generic/stdint.h: Include <bits/types.h>.
12178         (intmax_t): Define using __intmax_t.
12179         (uintmax_t): Define using __uintmax_t.
12181         * support/Makefile (tests-special): Make definition conditional on
12182         [$(run-built-tests) = yes].
12183         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12184         on [$(run-built-tests) = yes].
12186 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12188         * Rules (tests): Add tests-printers-programs to tests to be
12189         built.
12191 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12193         * sysvipc/Makefile (tests): Add test-sysvshm.
12194         * sysvipc/test-sysvshm.c: New file.
12196         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12197         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12198         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12199         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12200         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12201         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12202         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12203         Likewise.
12204         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12205         Likewise.
12206         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12207         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12208         is defined.
12210         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12211         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12212         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12213         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12214         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12215         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12216         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12217         Likewise.
12218         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12219         Likewise.
12220         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12221         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12222         defined.
12224         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12225         oldshmctl.
12226         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12227         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12228         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12229         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12230         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12231         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12232         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12233         Likewise.
12234         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12235         Likewise.
12236         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12237         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12238         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12239         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12240         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12241         implementation.
12242         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12243         if it is defined.
12245         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12246         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12247         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12248         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12249         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12250         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12251         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12252         Likewise.
12253         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12254         Likewise.
12255         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12256         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12257         Define to __NR_osf_shmat.
12258         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12259         defined.
12261         * sysvipc/Makefile (tests): Add test-sysvsem.
12262         * sysvipc/test-sysvsem.c: New file.
12264         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12265         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12266         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12267         Likewise.
12268         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12269         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12270         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12271         Likewise.
12272         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12273         Likewise.
12274         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12275         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12276         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12277         add a comment about s390 syscall difference from default one.
12278         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12279         syscall if it is defined.
12281         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12282         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12283         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12284         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12285         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12286         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12287         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12288         Likewise.
12289         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12290         Likewise.
12291         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12292         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12293         defined.
12295         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12296         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12297         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12298         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12299         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12300         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12301         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12302         Likewise.
12303         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12304         Likewise.
12305         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12306         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12307         if it is defined.
12309         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12310         oldsemctl.
12311         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12312         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12313         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12314         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12315         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12316         implementation.
12317         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12318         syscall if it is defined.
12319         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12320         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12321         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12322         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12323         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12324         Likewise.
12325         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12327         * sysvipc/Makefile (tests): Add test-sysvmsg.
12328         * sysvipc/test-sysvmsg.c: New file.
12329         * support/check.h (FAIL_UNSUPPORTED): New define.
12331         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12332         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12333         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12334         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12335         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12336         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12337         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12338         Likewise.
12339         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12340         Likewise.
12341         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12342         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12343         define.
12345         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12346         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12347         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12348         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12349         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12350         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12351         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12352         Likewise.
12353         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12354         Likewise.
12355         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12356         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12357         if defined.
12359         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12360         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12361         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12362         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12363         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12364         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12365         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12366         Likewise.
12367         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12368         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12369         Likewise.
12370         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12371         if defined.
12372         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12374         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12375         oldmsgctl.
12376         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12377         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12378         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12379         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12380         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12381         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12382         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12383         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12384         Likewise.
12385         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12386         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12387         implementation.
12388         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12389         if defined.
12391         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12392         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12393         definition and define its own.
12394         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12395         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12396         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12397         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12398         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12399         definitions to common header.
12400         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12401         operation from ipc_ops.h.
12403         * sysdeps/unix/sysv/linux/kernel-features.h
12404         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12405         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12406         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12407         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12408         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12409         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12410         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12411         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12412         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12413         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12414         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12415         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12416         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12417         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12418         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12420 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12422         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12423         overflow in pointer addition.
12425 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12427         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12428         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12429         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12430         (strchr): Add __strchr_power8 to list of strchr functions.
12431         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12432         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12433         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12434         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12435         (strchr): Add __strchr_power8 to ifunc list.
12436         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12437         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12438         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12439         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12441 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12443         * support/Makefile (libsupport-routines): Add
12444         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12445         (tests): Add tst-support_record_failure.
12446         (tests-special): tst-support_record_failure-2.
12447         (tst-support_record_failure-2.out): Depend on
12448         tst-support_record_failure-2.sh and tst-support_record_failure.
12449         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12450         (support_test_verify_impl, support_record_failure)
12451         (support_report_failure, support_report_failure_reset): Declare.
12452         * support/support_test_main.c (adjust_exit_status): New function.
12453         (support_test_main): Call it to incorporate record test failures.
12454         * support/support_test_verify_impl.c: New file.
12455         * support/support_record_failure.c: Likewise.
12456         * support/tst-support_record_failure.c: Likewise.
12457         * support/tst-support_record_failure-2.sh: Likewise.
12458         * support/xunistd.h: Likewise.
12459         * support/xfork.c: Likewise.
12460         * support/xwaitpid.c: Likewise.
12462 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12464         * scripts/check-c++-types.sh: Add comments.
12466 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12468         [BZ #19514]
12469         * resolv/res_send.c: Fix typo in comment.
12470         * sysdeps/i386/i386-mcount.S: Likewise.
12471         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12472         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12473         * sysdeps/sparc/sparc-mcount.S: Likewise.
12475 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12477         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12478         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12479         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12480         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12481         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12482         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12483         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12484         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12486 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12488         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12490 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12492         [BZ #17252]
12493         * posix/unistd.h (getentropy): Declare.
12495 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12497         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12498         Remove.
12499         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12500         (cmd): Remove spoof, nospoof, spoofalert.
12501         (parse_line): Ignore spoof-related lines.
12502         (do_init): Do not process RESOLV_SPOOF_CHECK.
12504 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12506         [BZ #20964]
12507         sunrpc: Always obtain AF_INET addresses from NSS.
12508         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12509         * sunrpc/rpc_gethostbyname.c: New file.
12510         * sunrpc/Makefile (routines): Add it.
12511         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12512         * sunrpc/clnt_simp.c (callrpc): Likewise.
12513         * sunrpc/getrpcport.c (getrpcport): Likewise.
12515 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12517         * sunrpc/rpcinfo.c: Remove.
12518         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12520 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12522         [BZ #19387]
12523         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12524         addition.
12525         * string/test-memchr.c (do_test): Remove alignment limitation.
12526         (test_main): Add test that trigger BZ #19387.
12528 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12530         [BZ #7065]
12531         Enable stack protectore if requested by ./configure.
12532         * Makeconfig (+stack-protector): New variable.
12533         (+cflags): Use it.
12535 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12537         [BZ #7065]
12538         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12539         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12540         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12541         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12542         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12544 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12546         [BZ #7065]
12547         * login/Makefile (pt_chown-cflags): Remove.
12548         * nscd/Makefile (CFLAGS-nscd): Likewise.
12549         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12551 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12553         [BZ #7065]
12554         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12555         non-libc-linking testcase.
12557 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12558             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12559             Florian Weimer  <fweimer@redhat.com>
12561         [BZ #7065]
12562         PLT avoidance for __stack_chk_fail*.
12563         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12564         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12565         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12566         __stack_chk_fail_local alias.
12567         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12568         (__stack_chk_fail): Turn into hidden reference to
12569         __stack_chk_fail_local.
12571 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12573         [BZ #7065]
12574         * configure.ac: Add check for unsupported stack-protection level.
12575         (libc_cv_predef_stack_protector): Remove.
12576         (no_ssp): New variable.
12577         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12578         (stack_protector): Set to -fno-stack-protector similarly.
12579         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12580         (libc_cv_asm_set_directive): Likewise.
12581         (libc_cv_protected_data): Likewise.
12582         (libc_cv_z_combreloc): Likewise.
12583         (libc_cv_hashstyle): Likewise.
12584         (libc_cv_has_glob_dat): Likewise.
12585         (libc_cv_output_format): Likewise.
12586         (libc_cv_output_format): Likewise.
12587         (libc_cv_ehdr_start): Likewise.
12588         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12589         (LIBC_LINKER_FEATURE): Likewise.
12590         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12592 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12594         [BZ #7065]
12595         * elf/Makefile (dummy-stack-chk-fail): New.
12596         (librtld.map): Use it.
12598 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12600         [BZ #7065]
12601         Compile the dynamic linker without stack protection.
12602         * elf/Makefile (elide-stack-protector): New.
12603         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12604         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12605         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12606         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12608 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12610         [BZ #7065]
12611         * config.make.in (have-ssp, no-stack-protector): New.
12612         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12613         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12614         (CFLAGS-sbrk.op): Likewise.
12615         (CFLAGS-brk.o): Likewise.
12616         (CFLAGS-brk.op): Likewise.
12617         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12618         (CFLAGS-wordcopy.c): Likewise.
12620 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12622         [BZ #7065]
12623         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12624         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12625         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12626         (__ifunc_resolver): Use it.
12627         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12628         inhibit_stack_protector.
12629         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12630         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12631         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12632         (foo_protected_ifunc): Likewise.
12633         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12634         (foo_protected_ifunc): Likewise.
12635         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12636         * sysdeps/nacl/nacl_interface_query.c
12637         (nacl_interface_query_ifunc): Likewise.
12638         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12639         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12640         Likewise.
12641         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12642         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12643         the generated vDSO syscall resolver.
12645 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12646             Florian Weimer  <fweimer@redhat.com>
12648         [BZ #7065]
12649         Initialize the stack guard earlier when linking statically.
12650         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12651         (__pthread_initialize_minimal): Declare.
12652         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12653         declaration.
12654         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12655         stack canary and apply_irel initialization up.  Call
12656         __pthread_initialize_minimal only if linked in.
12657         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12658         constant values.
12659         (__pthread_initialize_minimal): Remove.
12660         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12661         (__pthread_initialize_minimal_internal): Do not call
12662         __libc_setup_tls.
12664 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12666         [BZ #7065]
12667         * configure.ac (libc_cv_ssp): Move up.
12668         (libc_cv_ssp_strong): Likewise.
12669         (libc_cv_ssp_all): New.
12670         (stack_protector): Augment, adding -fstack-protector-all.
12671         (no_stack_protector): New.
12672         (STACK_PROTECTOR_LEVEL): New.
12673         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12674         * manual/install.texi (--enable-stack-protector): Document it.
12675         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12677 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12679         * README.pretty-printers: Must specify CPPFLAGS-* also.
12680         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12681         (CPPFLAGS-test-mutex-printers.c): Define.
12682         (CPPFLAGS-test-condattr-printers.c): Define.
12683         (CPPFLAGS-test-cond-printers.c): Define.
12684         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12685         (CPPFLAGS-test-rwlock-printers.c): Define.
12687         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12688         (tests): Add tst-cancel-getpwuid_r.
12689         * nss/tst-cancel-getpwuid_r.c: New file.
12691         [BZ #11941]
12692         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12693         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12694         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12695         tst-nodelete-dlclose.
12696         (modules-names): Add tst-nodelete-dlclose-dso and
12697         tst-nodelete-dlclose-plugin.
12698         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12699         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12700         ($(objpfx)tst-nodelete-dlclose): Define.
12701         ($(objpfx)tst-nodelete-dlclose.out): Define.
12703 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12705         * scripts/test_printers_common.py: Log GDB output in case of
12706         Python detection failure.
12708 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12710         * configure.ac: Check for python3 or python.
12711         * configure: Regenerated.
12712         * config.make.in (PYTHON): New variable.
12713         * benchtests/Makefile: Don't define PYTHON.
12714         (bench): Define target only if PYTHON was defined.
12715         * Rules: Don't define PYTHON.
12716         Define pretty printer targets only if PYTHON was defined.
12717         (tests-printers): Add to tests-unsupported if PYTHON is not
12718         found.
12719         (python-flags, python-invoke): Remove.
12720         (tests-printers-out): Use PYTHON instead of python-invoke.
12722 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12724         [BZ #20978]
12725         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12726         Compare name == NULL, not name != NULL.
12728         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12729         trailing whitespace removed.
12730         * scripts/config.guess: Update to version 2016-10-02.
12731         * scripts/config.sub: Update to version 2016-11-19.
12732         * scripts/install-sh: Update to version 2016-01-11.22.
12733         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12734         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12736 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12738         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12739         (do_one_test) Restore original string so iteration works.
12740         * string/string-inlines.c (do_test): Create better input strings.
12741         (test_main) Reduce number of testruns.
12742         * string/string-inlines.c (__old_strsep_1c): New function.
12743         (__old_strsep_2c): Likewise.
12744         (__old_strsep_3c): Likewise.
12745         * string/strsep.c (__strsep): Remove case of small delim string.
12746         Call strcspn directly rather than strpbrk.
12747         * string/bits/string2.h (__strsep): Remove define.
12748         (__strsep_1c): Remove.
12749         (__strsep_2c): Remove.
12750         (__strsep_3c): Remove.
12751         (strsep): Remove.
12752         * sysdeps/unix/sysv/linux/internal_statvfs.c
12753         (__statvfs_getflags): Rename to __strsep.
12755 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12757         * csu/libc-tls.c (_dl_tls_setup): Remove.
12758         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12759         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12760         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12762 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12764         [BZ #7065]
12765         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12766         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12768 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12769             Florian Weimer  <fweimer@redhat.com>
12771         [BZ #7065]
12772         * csu/Makefile (tests): Empty assignment and document it.
12773         (tests-static): Remove.
12774         * csu/tst-empty.c: Move to...
12775         * misc/tst-empty.c: ... here.  Switch to new test driver.
12776         * csu/tst-atomic.c: Move to...
12777         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12778         * csu/tst-atomic-long.c: Move to...
12779         * misc/tst-atomic-long.c: ... here.
12780         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12781         tst-atomic-long.
12782         (tests-static): Add tst-empty.
12784 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12786         * manual/nss.texi: Change incorrect @vtable to @table.
12787         * manual/arith.texi: Convert @tables of variables to @vtables
12788         and remove unnecessary indexing.
12789         * manual/filesys.texi: Likewise.
12790         * manual/llio.texi: Likewise.
12791         * manual/memory.texi: Likewise.
12792         * manual/process.texi: Likewise.
12793         * manual/resource.texi: Likewise.
12794         * manual/search.texi: Likewise.
12795         * manual/signal.texi: Likewise.
12796         * manual/socket.texi: Likewise.
12797         * manual/stdio.texi: Likewise.
12798         * manual/sysinfo.texi: Likewise.
12799         * manual/syslog.texi: Likewise.
12800         * manual/terminal.texi: Likewise.
12801         * manual/time.texi: Likewise.
12802         * manual/users.texi: Likewise.
12804 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12806         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12807         (roundeven): New declaration.
12808         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12809         macro.
12810         * math/Versions (roundeven): New libm symbol at version
12811         GLIBC_2.25.
12812         (roundevenf): Likewise.
12813         (roundevenl): Likewise.
12814         * math/Makefile (libm-calls): Add s_roundevenF.
12815         * math/libm-test.inc (roundeven_test_data): New array.
12816         (roundeven_test): New function.
12817         (main): Call roundeven_test.
12818         * math/test-tgmath.c (NCALLS): Increase to 134.
12819         (F(compile_test)): Call roundeven.
12820         (F(roundeven)): New function.
12821         * manual/arith.texi (Rounding Functions): Document roundeven,
12822         roundevenf and roundevenl.
12823         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12824         * include/math.h (roundeven): Use libm_hidden_proto.
12825         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12826         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12827         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12828         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12829         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12830         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12831         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12832         roundeven.
12833         (CFLAGS-nldbl-roundeven.c): New variable.
12834         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12835         * sysdeps/nacl/libm.abilist: Update.
12836         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12837         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12838         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12839         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12840         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12841         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12842         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12843         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12844         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12845         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12846         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12847         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12849         Likewise.
12850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12851         Likewise.
12852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12853         Likewise.
12854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12855         Likewise.
12856         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12857         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12858         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12859         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12860         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12861         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12862         Likewise.
12863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12864         Likewise.
12865         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12866         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12867         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12869 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12871         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12872         preprocessor indentation inside #if.
12874 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12876         * math/libm-test.inc (fmt_ftostr): New function.
12877         (print_float, check_float_internal): Replace some uses of
12878         FTOSTR with uses of fmt_ftostr.
12879         (print_max_error, print_complex_max_error, print_function_ulps)
12880         (print_complex_function_ulps): Remove uses of the macros
12881         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12882         * math/test-double.h (FTOSTR): Define to strfromd.
12883         (PRINTF_EXPR): Delete.
12884         (PRINTF_XEXPR): Likewise.
12885         (PRINTF_NEXPR): Likewise.
12886         * math/test-float.h (FTOSTR): Define to strfromf.
12887         (PRINTF_EXPR): Delete.
12888         (PRINTF_XEXPR): Likewise.
12889         (PRINTF_NEXPR): Likewise.
12890         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12891         (PRINTF_EXPR): Delete.
12892         (PRINTF_XEXPR): Likewise.
12893         (PRINTF_NEXPR): Likewise.
12895 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12897         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12898         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12899         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12900         (__lll_lock_elision): Decrement adapt_count while unlocking
12901         instead of before locking.
12902         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12903         (__lll_trylock_elision): Likewise.
12904         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12905         (__lll_unlock_elision): Likewise.
12907 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12909         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12910         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12911         Use __libc_tbegin_retry macro.
12913 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12915         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12916         Add -msoft-float.
12917         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12918         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12919         Use __libc_t* transaction macros instead of __builtin_t*.
12920         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12921         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12923 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12925         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12926         (__lll_lock_elision): Use atomics to load / store adapt_count.
12927         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12928         (__lll_trylock_elision): Likewise.
12930 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12932         Do not require memset elimination in explicit_bzero test.
12933         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12934         (enum test_expectation): Add NO_EXPECTATIONS.
12935         (subtests): NO_EXPECTATIONS for ordinary clear.
12936         (check_test_buffer): Handle NO_EXPECTATIONS.
12937         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12939 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12941         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12942         (fmaxmag): New declaration.
12943         (fminmag): Likewise.
12944         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12945         macro.
12946         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12947         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12948         (fmaxmagf): Likewise.
12949         (fmaxmagl): Likewise.
12950         (fminmag): Likewise.
12951         (fminmagf): Likewise.
12952         (fminmagl): Likewise.
12953         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12954         * math/s_fmaxmag_template.c: New file.
12955         * math/s_fminmag_template.c: Likewise.
12956         * math/libm-test.inc (fmaxmag_test_data): New array.
12957         (fmaxmag_test): New function.
12958         (fminmag_test_data): New array.
12959         (fminmag_test): New function.
12960         (main): Call fmaxmag_test and fminmag_test.
12961         * math/test-tgmath.c (NCALLS): Increase to 132.
12962         (F(compile_test)): Call fmaxmag and fminmag.
12963         (F(fminmag)): New function.
12964         (F(fmaxmag)): Likewise.
12965         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12966         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12967         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12968         fminmag.
12969         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12970         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12971         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12972         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12973         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12974         and fminmag.
12975         (CFLAGS-nldbl-fmaxmag.c): New variable.
12976         (CFLAGS-nldbl-fminmag.c): Likewise.
12977         * sysdeps/nacl/libm.abilist: Update.
12978         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12979         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12980         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12981         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12982         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12983         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12984         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12985         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12986         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12987         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12988         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12989         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12991         Likewise.
12992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12993         Likewise.
12994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12995         Likewise.
12996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12997         Likewise.
12998         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12999         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13000         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13002         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13004         Likewise.
13005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13006         Likewise.
13007         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13009         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13011 2016-12-19  Torvald Riegel  <triegel@redhat.com>
13013         [BZ #20973]
13014         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
13015         wake-up in robust mutexes.
13016         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13018 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13020         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
13021         (CFLAGS-bench-fmaxf.c): New rule.
13022         (CFLAGS-bench-fminf.c): Likewise.
13023         * benchtests/fmaxf-inputs: New file.
13024         * benchtests/fminf-inputs: Likewise.
13026         * benchtests/Makefile (bench-math): Add fmin and fmax.
13027         (CFLAGS-bench-fmax.c): New rule.
13028         (CFLAGS-bench-fmin.c): Likewise.
13029         * benchtests/fmax-inputs: New file.
13030         * benchtests/fmin-inputs: Likewise.
13032         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
13033         parenthesis.
13034         (CMDLINE_PROCESS): Define using function instead of macro.
13035         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
13036         of test-skeleton.
13037         * benchtests/bench-memchr.c: Likewise.
13038         * benchtests/bench-memcmp.c: Likewise.
13039         * benchtests/bench-memcpy-large.c: Likewise.
13040         * benchtests/bench-memcpy.c: Likewise.
13041         * benchtests/bench-memmem.c: Likewise.
13042         * benchtests/bench-memmove-large.c: Likewise.
13043         * benchtests/bench-memmove.c: Likewise.
13044         * benchtests/bench-memset-large.c: Likewise.
13045         * benchtests/bench-memset.c: Likewise.
13046         * benchtests/bench-rawmemchr.c: Likewise.
13047         * benchtests/bench-strcasecmp.c: Likewise.
13048         * benchtests/bench-strcasestr.c: Likewise.
13049         * benchtests/bench-strcat.c: Likewise.
13050         * benchtests/bench-strchr.c: Likewise.
13051         * benchtests/bench-strcmp.c: Likewise.
13052         * benchtests/bench-strcpy.c: Likewise.
13053         * benchtests/bench-strcpy_chk.c: Likewise.
13054         * benchtests/bench-strlen.c: Likewise.
13055         * benchtests/bench-strncasecmp.c: Likewise.
13056         * benchtests/bench-strncmp.c: Likewise.
13057         * benchtests/bench-strncpy.c: Likewise.
13058         * benchtests/bench-strnlen.c: Likewise.
13059         * benchtests/bench-strpbrk.c: Likewise.
13060         * benchtests/bench-strrchr.c: Likewise.
13061         * benchtests/bench-strsep.c: Likewise.
13062         * benchtests/bench-strspn.c: Likewise.
13063         * benchtests/bench-strstr.c: Likewise.
13064         * benchtests/bench-strtok.c: Likewise.
13066 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13068         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
13069         stepping identification.
13070         (init_cpu_features): Add handle of Haswell.
13072 2016-11-25  Jim Meyering  <meyering@fb.com>
13074         [BZ #20386]
13075         Let gcc detect assert(a = 1) errors.
13076         * assert/assert.h (assert): Rewrite, retaining the old definintion
13077         when required, but otherwise putting the expression as-is in an "if"
13078         expression (hence, with no added parentheses) within a statement
13079         expression.
13081 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13083         * benchtests/Makefile (binaries-benchset): Depend on libsupport
13084         DSO.
13086 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
13088         * Rules (python-flags, python-invoke): New.
13089         ($(test-printers-out)): Use $(python-flags).
13091 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13093         * manual/arith.texi (Math Error Reporting): Document that sNaN
13094         arguments are not considered domain errors.
13096 2016-12-16  Zack Weinberg <zackw@panix.com>
13097             Florian Weimer <fweimer@redhat.com>
13098             Nick Mathewson <nickm@torproject.org>
13100         * string/explicit_bzero.c: New routine.
13101         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
13102         * string/Makefile (routines, strop-tests, tests): Add them.
13103         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
13104         * string/string.h [__USE_MISC]: Declare explicit_bzero.
13106         * debug/explicit_bzero_chk.c: New routine.
13107         * debug/Makefile (routines): Add it.
13108         * debug/tst-chk1.c: Test fortification of explicit_bzero.
13109         * string/bits/string3.h: Fortify explicit_bzero.
13111         * manual/string.texi: Document explicit_bzero.
13112         * NEWS: Mention addition of explicit_bzero.
13114         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
13115         data before returning, using explicit_bzero.
13116         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
13117         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13118         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13120         * include/string.h: Redirect internal uses of explicit_bzero
13121         to __explicit_bzero_chk[_internal].
13122         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
13123         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
13124         * sysdeps/arm/nacl/libc.abilist
13125         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13126         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13127         * sysdeps/unix/sysv/linux/arm/libc.abilist
13128         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13129         * sysdeps/unix/sysv/linux/i386/libc.abilist
13130         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13131         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13132         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13133         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13134         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13135         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13136         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13137         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13138         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13143         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13144         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13145         * sysdeps/unix/sysv/linux/sh/libc.abilist
13146         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13147         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13150         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13151         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13152         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13153         Add entries for explicit_bzero and __explicit_bzero_chk.
13155 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13157         * math/fenv.h
13158         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
13159         (FE_SNANS_ALWAYS_SIGNAL): New macro.
13160         * math/test-fe-snans-always-signal.c: New file.
13161         * math/Makefile (tests): Add test-fe-snans-always-signal.
13162         (CFLAGS-test-fe-snans-always-signal.c): New variable.
13163         * manual/arith.texi (Infinity and NaN): Document
13164         FE_SNANS_ALWAYS_SIGNAL.
13166 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13168         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13169         bracket.
13171 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13173         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13174         before calling execv.
13176 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13178         [BZ #20971]
13179         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13180         overflow in pointer addition.
13181         * string/test-memchr.c (do_test): Add an argument to pass as
13182         the size on memchr.
13183         (test_main): Add check for SIZE_MAX.
13185 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13187         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13188         (libm-calls): Add w_scalblnF.
13189         * math/w_scalbln.c: Remove.
13190         * math/w_scalblnf.c: Likewise.
13191         * math/w_scalblnl.c: Likewise.
13192         * math/w_scalbln_template.c: New file with type-generic
13193         implementation based on math/w_scalbln.c.
13194         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13195         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13197 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13199         [BZ #20947]
13200         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13201         either is a signaling NaN.
13202         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
13203         follow fmaxl more closely.
13204         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13205         when either is a signaling NaN.
13206         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13207         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13208         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13209         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13210         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13211         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13212         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13213         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13214         (fmin_test_data): Likewise.
13216 2016-12-15  Andreas Schwab  <schwab@suse.de>
13218         * support/support_test_main.c (support_test_main): Don't shadow
13219         file-local variable test_pid.
13221 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13223         [BZ #20947]
13224         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13225         either is a signaling NaN.
13226         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13228 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13230         [BZ #20947]
13231         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13232         when either is a signaling NaN.
13233         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13235         * bits/long-double.h: New file.
13236         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13237         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13238         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13239         * sysdeps/mips/bits/long-double.h: Likewise.
13240         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13241         * math/Makefile (headers): Add bits/long-double.h.
13242         * misc/sys/cdefs.h: Include <bits/long-double.h>.
13243         * stdlib/strtold.c: Include <bits/long-double.h> instead of
13244         <bits/wordsize.h>.
13245         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13246         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13247         * math/math.h: Do not include <bits/mathdef.h>.
13248         * sysdeps/aarch64/bits/mathdef.h: Remove file.
13249         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13250         inclusion.
13251         * sysdeps/ia64/bits/mathdef.h: Remove file.
13252         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13253         * sysdeps/mips/bits/mathdef.h: Likewise.
13254         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13255         * sysdeps/s390/bits/mathdef.h: Likewise.
13256         * sysdeps/sparc/bits/mathdef.h: Likewise.
13257         * sysdeps/x86/bits/mathdef.h: Likewise.
13258         * sysdeps/s390/s390-32/bits/wordsize.h
13259         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13260         conditional code.
13261         * sysdeps/s390/s390-64/bits/wordsize.h
13262         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13263         Likewise.
13264         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13265         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13266         Likewise.
13267         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13268         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13269         Likewise.
13270         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13271         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13272         Likewise.
13274         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13275         <linux/falloc.h>.
13276         (FALLOC_FL_KEEP_SIZE): Remove.
13277         (FALLOC_FL_PUNCH_HOLE): Likewise.
13278         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13279         (FALLOC_FL_ZERO_RANGE): Likewise.
13281 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13283         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13285 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13287         * sysdeps/unix/sysv/linux/renameat.c: New file.
13288         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13290         * sysdeps/unix/sysv/linux/rename.c: New file.
13291         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13293 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13295         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13296         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13297         * string/strtok_r.c (__strtok_r): Optimize for performance.
13298         * string/string-inlines.c (__old_strtok_r_1c): New function.
13299         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13301 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13303         * math/Makefile (gen-libm-calls): Add w_log1pF.
13304         (libm-calls): Remove w_log1pF.
13305         * math/w_log1p.c: Remove.
13306         * math/w_log1pf.c: Likewise.
13307         * math/w_log1pl.c: Likewise.
13308         * math/w_log1p_template.c: New file with type-generic
13309         implementation based on math/w_log1p.c.
13310         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13311         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13313 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13315         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13317 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13319         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13320         kernel version to 4.9.
13322 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13324         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13325         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13327 2016-12-13  Andreas Schwab  <schwab@suse.de>
13329         * sysdeps/powerpc/dl-procinfo.c: Don't define
13330         _dl_powerpc_platforms.
13331         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13332         constants instead of referencing _dl_powerpc_platforms.
13333         (_dl_platform_string): Remove.
13335 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13337         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13339 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13341         * Rules (binaries-shared-tests, binaries-pie-tests)
13342         (binaries-static-tests): Link with $(link-extra-libs-tests).
13343         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13344         Remove $(link-extra-libs-tests).
13346 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13348         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13349         (sysdep_routines): Add strncmp_power9.
13350         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13351         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13352         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13353         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13354         (strncmp): Add __strncmp_power9 to ifunc list.
13355         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13357 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13359         [BZ #17252]
13360         Add getentropy, getrandom.
13361         * stdlib/sys/random.h: New file.
13362         (headers): Add it.
13363         * stdlib/Makefile (routines): Add getentropy, getrandom.
13364         (tests): Add tst-getrandom.
13365         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13366         * stdlib/getentropy.c: New file.
13367         * stdlib/getrandom.c: Likewise.
13368         * stdlib/tst-getrandom.c: Likewise.
13369         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13370         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13371         * manual/crypt.texi (Unpredictable Bytes): New section.
13372         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13373         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13374         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13375         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13376         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13377         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13378         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13379         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13380         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13381         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13382         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13383         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13384         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13385         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13386         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13387         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13389         Likewise.
13390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13391         Likewise.
13392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13394         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13395         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13396         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13397         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13398         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13401         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13402         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13403         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13405 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13407         [BZ #20956]
13408         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13409         as additional compiler barriers.
13410         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13411         (fn2, do_test): Declare with external linkage.
13412         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13413         (do_test): Declare with external linkage.
13414         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13415         (do_test): Declare with external linkage.
13416         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13417         (do_test): Declare with external linkage.
13419 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13421         * support/support_test_main.c (support_test_main): Use correct
13422         timeout.
13424 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13425             Florian Weimer  <fweimer@redhat.com>
13427         [BZ #16421]
13428         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13429         and __u6_addr32 members.
13430         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13431         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13432         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13433         Use __u6_addr32.
13434         * inet/tst-checks.c: Use <support/test-driver.c>
13435         * inet/tst-checks-posix.c: New file.
13436         * inet/Makefile (tests): Add it.
13437         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13439 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13441         New subdirectory support for build and test infrastructure.
13442         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13443         setting install-lib.
13444         * Makeconfig (link-extra-libs-tests): Define.
13445         (+link-pie-tests, +link-static-tests, +link-tests): Use
13446         link-extra-libs-tests.
13447         (rpath-dirs, all-subdirs): Add support.
13448         (built-modules): Add libsupport.
13449         (libsupport): Define.
13450         * support: New directory.
13451         * support/Makefile: New file.
13452         * support/check.c: Likewise.
13453         * support/check.h: Likewise.
13454         * support/delayed_exit.c: Likewise.
13455         * support/ignore_stderr.c: Likewise.
13456         * support/oom_error.c: Likewise.
13457         * support/set_fortify_handler.c: Likewise.
13458         * support/support.h: Likewise.
13459         * support/temp_file-internal.h: Likewise.
13460         * support/temp_file.c: Likewise.
13461         * support/test-driver.c: Likewise.
13462         * support/test-driver.h: Likewise.
13463         * support/test_main.c: Likewise.
13464         * support/write_message.c: Likewise.
13465         * support/xasprintf.c: Likewise.
13466         * support/xcalloc.c: Likewise.
13467         * support/xmalloc.c: Likewise.
13468         * support/xpthread_barrier_destroy.c: Likewise.
13469         * support/xpthread_barrier_init.c: Likewise.
13470         * support/xpthread_barrier_wait.c: Likewise.
13471         * support/xpthread_cancel.c: Likewise.
13472         * support/xpthread_check_return.c: Likewise.
13473         * support/xpthread_cond_wait.c: Likewise.
13474         * support/xpthread_create.c: Likewise.
13475         * support/xpthread_detach.c: Likewise.
13476         * support/xpthread_join.c: Likewise.
13477         * support/xpthread_mutex_lock.c: Likewise.
13478         * support/xpthread_mutex_unlock.c: Likewise.
13479         * support/xpthread_sigmask.c: Likewise.
13480         * support/xpthread_spin_lock.c: Likewise.
13481         * support/xpthread_spin_unlock.c: Likewise.
13482         * support/xrealloc.c: Likewise.
13483         * support/xsignal.h: Likewise.
13484         * support/xthread.h: Likewise.
13485         * support_tempfile.h: Likewise.
13486         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13487         (TEST_DATA_LIMIT): Remove unused macro.
13488         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13489         <support/check.h>.
13490         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13491         (ignore_stderr, set_fortify_handler): Remove.  Now in
13492         <support/support.h>.
13493         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13494         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13495         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13496         (xpthread_join): Remove.  Now in <support/xthread.h>.
13497         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13498         Introduce legacy wrappers.
13499         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13500         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13501         (write_message): Remove.
13502         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13503         test-skeleton.c.
13504         * io/test-open-tmpfile: Likewise.
13505         * io/tst-posix_fallocate-common.c: Likewise.
13506         * libio/tst-fseek.c: Likewise.
13507         * malloc/tst-malloc-backtrace.c: Likewise.
13508         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13509         * malloc/tst-malloc-thread-exit.c: Likewise.
13510         * nptl/tst-cancel7.c: Likewise.
13511         * nptl/tst-cleanup0.c: Likewise.
13512         * posix/tst-posix_fadvise-common.c: Likewise.
13513         * rt/tst-shm.c: Likewise.
13514         * time/bug-getdate1.c: Likewise.
13515         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13516         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13517         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13519 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13521         * Rules [$(run-built-tests) != no] (tests-expected): Add
13522         $(tests-printers).
13523         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13525 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13527         [BZ #20539]
13528         * math/Makefile (install-lib-ldscripts): Add libm.a.
13529         (install_subdir): Remove.
13530         (install-others): Add.
13531         ($(inst_libdir)/libm.a): Add rule for installation as
13532         linker script.
13533         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13535 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13537         * INSTALL: Regenerated.
13538         * Makeconfig: Add comments and whitespace to make the control flow
13539         clearer.
13540         (+link-printers-tests, +link-pie-printers-tests,
13541         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13542         built-rtld-LDFLAGS, link-libc-rpath,
13543         link-libc-tests-after-rpath-link,
13544         link-libc-printers-tests): New.
13545         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13546         link-libc-tests): Use the new variables as required.
13547         * Makerules ($(py-const)): New rule.
13548         generated: Add $(py-const).
13549         * README.pretty-printers: New file.
13550         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13551         (others): Depend on $(py-const).
13552         (tests): Depend on $(tests-printers-programs) or
13553         $(tests-printers-out),
13554         as required.  Pass $(tests-printers) to merge-test-results.sh.
13555         * manual/install.texi: Add requirements for testing the pretty
13556         printers.
13557         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13558         tests-printers, CFLAGS-test-mutexattr-printers.c
13559         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13560         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13561         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13562         * nptl/nptl-printers.py: New file.
13563         * nptl/nptl_lock_constants.pysym: Likewise.
13564         * nptl/test-cond-printers.c: Likewise.
13565         * nptl/test-cond-printers.py: Likewise.
13566         * nptl/test-condattr-printers.c: Likewise.
13567         * nptl/test-condattr-printers.py: Likewise.
13568         * nptl/test-mutex-printers.c: Likewise.
13569         * nptl/test-mutex-printers.py: Likewise.
13570         * nptl/test-mutexattr-printers.c: Likewise.
13571         * nptl/test-mutexattr-printers.py: Likewise.
13572         * nptl/test-rwlock-printers.c: Likewise.
13573         * nptl/test-rwlock-printers.py: Likewise.
13574         * nptl/test-rwlockattr-printers.c: Likewise.
13575         * nptl/test-rwlockattr-printers.py: Likewise.
13576         * scripts/gen-py-const.awk: Likewise.
13577         * scripts/test_printers_common.py: Likewise.
13578         * scripts/test_printers_exceptions.py: Likewise.
13580 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13582         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13583         argument.
13584         (Glibc.build_glibc): Strip installed shared libraries if
13585         requested.
13586         (get_parser): Add --strip option.
13587         (main): Update Context call.
13589 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13590             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13592         [BZ #20847]
13593         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13594         array bounds for else branch.
13595         (__execvpe): Style fixes.
13596         * posix/tst-vfork3.c (run_script): New function.
13597         (create_script): Likewise.
13598         (do_test): Use run_script internal function.
13599         (do_prepare): Use create_script internal function.
13601 2016-12-07  Andreas Schwab  <schwab@suse.de>
13603         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13604         (__elision_available): Don't declare.
13605         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13606         (__elision_available): Don't define.
13607         (elision_init): Don't set __elision_available.
13609 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13611         [BZ #20940]
13612         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13613         return Inf for arguments Inf and sNaN.
13614         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13615         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13616         Likewise.
13617         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13618         Likewise.
13619         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13620         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13621         for arguments Inf and sNaN.  When returning a NaN, compute it by
13622         arithmetic on the arguments.
13623         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13624         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13625         arguments.
13627 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13629         [BZ #20916]
13630         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13631         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13632         to compute result.
13633         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13634         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13636 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13638         * include/atomic.h (__atomic_check_size_ls): New.
13639         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13640         atomic_store_release): Use it.
13641         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13642         (elision_adapt, ELIDE_LOCK): Use atomics.
13643         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13644         atomics and improve code comments.
13645         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13646         (__lll_trylock_elision): Likewise.
13648 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13650         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13651         programs.
13653 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13655         [BZ #20916]
13656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13657         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13658         arguments to compute result.
13659         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13660         1 for arguments (sNaN, 0) or (1, sNaN).
13661         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13662         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13664         [BZ #20919]
13665         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13666         NaN first argument when raised to power 0.
13667         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13668         raising to power zero.
13669         * math/w_powf.c (__powf): Likewise.
13670         * math/w_powl.c (__powl): Likewise.
13671         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13672         pow (0, 0) or pow (NaN, 0).
13674 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13676         [BZ #20918]
13677         * configure.ac: Test for static NSS cryptographic libraries and set
13678         libc_cv_static_nss_crypt.
13679         * configure: Regenerate.
13680         * config.make.in (static-nss-crypt): Define.
13681         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13682         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13683         (CFLAGS-tst-linkall-static.c): Define.
13684         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13685         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13686         ($(objpfx)tst-linkall-static): Define.
13687         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13688         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13690 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13692         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13693         (one-hundred, tst-tls-many-dynamic-modules): Define.
13694         (modules-names): Add $(tst-tls-many-dynamic-modules).
13695         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13696         macros.
13697         (tst-tls-manydynamic): Link against libdl, libpthread.
13698         (tst-tls-manydynamic.out): The test needs the test modules at run
13699         time.
13700         * elf/tst-tls-manydynamic.c: New file.
13701         * elf/tst-tls-manydynamic.h: Likewise.
13702         * elf/tst-tls-manydynamicmod.c: Likewise.
13704 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13706         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13707         (TLS_DTV_UNALLOCATED): Add.
13708         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13709         offsets.
13711 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13713         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13715 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13717         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13718         Add -fno-optimize-sibling-calls.
13720 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13722         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13723         New declaration.
13724         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13725         macro.
13726         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13727         New macro.
13728         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13730         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13731         (llogbf): Likewise.
13732         (llogbl): Likewise.
13733         * math/Makefile (gen-libm-calls): Add w_llogbF.
13734         (tests): Add test-fp-llogb-constants.
13735         * math/w_llogb_template.c: New file.  Based on
13736         math/w_ilogb_template.c.
13737         * math/libm-test.inc (llogb_test_data): New array.
13738         (llogb_test): New function.
13739         (main): Call llogb_test.
13740         * math/test-fp-llogb-constants.c: New file.  Based on
13741         math/test-fp-ilogb-constants.c.
13742         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13743         (do_test): Call check_return_llogb.
13744         * math/test-tgmath.c (NCALLS): Increase to 126.
13745         (F(compile_test)): Call llogb.
13746         (F(llogb)): New function.
13747         * manual/math.texi (Exponents and Logarithms): Document llogb,
13748         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13749         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13750         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13751         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13752         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13753         (CFLAGS-nldbl-llogb.c): New variable.
13754         * sysdeps/nacl/libm.abilist: Update.
13755         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13756         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13768         Likewise.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13770         Likewise.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13772         Likewise.
13773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13774         Likewise.
13775         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13776         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13777         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13778         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13779         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13781         Likewise.
13782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13783         Likewise.
13784         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13785         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13786         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13788 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13790         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13791         _Float128 instead of long double.
13792         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13794         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13795         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13796         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13797         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13798         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13799         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13800         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13801         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13802         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13803         Likewise.
13805 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13807         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13808         Remove redirection to __strrchr_ppc.
13810 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13812         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13813         (sysdep_routines): Add strcmp_power9.
13814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13815         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13816         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13817         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13818         (strcmp): Add __strcmp_power9 to ifunc list.
13819         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13821 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13823         * bits/fp-logb.h: New file.
13824         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13825         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13826         * sysdeps/x86/bits/fp-logb.h: Likewise.
13827         * math/Makefile (headers): Add bits/fp-logb.h.
13828         * math/math.h: Include <bits/fp-logb.h>.
13829         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13830         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13831         * bits/mathdef.h (FP_ILOGB0): Remove.
13832         (FP_ILOGBNAN): Likewise.
13833         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13834         (FP_ILOGBNAN): Likewise.
13835         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13836         (FP_ILOGBNAN): Likewise.
13837         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13838         (FP_ILOGBNAN): Likewise.
13839         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13840         (FP_ILOGBNAN): Likewise.
13841         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13842         (FP_ILOGBNAN): Likewise.
13843         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13844         (FP_ILOGBNAN): Likewise.
13845         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13846         (FP_ILOGBNAN): Likewise.
13847         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13848         (FP_ILOGBNAN): Likewise.
13849         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13850         (FP_ILOGBNAN): Likewise.
13852         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13853         time module.
13854         (Context.__init__): Initialize self.logsdir_old.
13855         (Context.run_builds): Handle bot action.
13856         (Context.bot_cycle): Copy logs directory before running builds.
13857         (Context.bot_run_self): Take argument for whether to check
13858         subprocess result.  Flush stdout before running subprocess.
13859         (Context.bot): New function.
13860         (get_parser): Allow bot action.
13862 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13864         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13865         Import email.mime.text, email.utils and smtplib modules.
13866         (Context.__init__): Initialize self.bot_config_json.
13867         (Context.run_builds): Handle bot-cycle action.
13868         (Context.load_bot_config_json): New function.
13869         (Context.part_build_old): Likewise.
13870         (Context.bot_cycle): Likewise.
13871         (Context.bot_build_mail): Likewise.
13872         (Context.bot_run_self): Likewise.
13873         (get_parser): Allow bot-cycle action.
13875 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13877         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13878         Remove redirection to __stpcpy_ppc.
13880 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13882         Remove __libc_memalign from ld.so because it is unused.
13883         * elf/dl-minimal.c: Update comment on the malloc implementation.
13884         (malloc): Renamed from __libc_memalign, replacing the original
13885         malloc implementation.  Replace the align parameter with
13886         MALLOC_ALIGNMENT.
13887         * elf/Versions (ld): Update comment and remove __libc_memalign.
13888         * sysdeps/nacl/ld.abilist: Likewise.
13889         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13890         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13891         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13892         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13893         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13894         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13895         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13898         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13899         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13900         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13901         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13905         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13906         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13907         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13908         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13909         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13910         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13912         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13913         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13914         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13915         * sysdeps/generic/localplt.data (ld.so): Likewise.
13916         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13917         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13918         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13919         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13920         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13921         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13922         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13923         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13924         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13926         (ld.so): Likewise.
13927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13928         (ld.so): Likewise.
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13930         Likewise.
13931         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13932         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13933         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13934         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13935         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13937 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13939         [BZ #16628]
13940         Implement _dl_catch_error, _dl_signal_error in libc.so.
13941         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13942         (catch_hook): Define as thread-local or regular variable,
13943         depending on DL_ERROR_BOOTSTRAP.
13944         (CATCH_HOOK): Remove.
13945         (dl_signal_error, _dl_catch_error): Use
13946         catch_hook.  Add hidden definition for libc.
13947         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13948         for DL_ERROR_BOOTSTRAP only.
13949         * elf/dl-error.c: New file.
13950         * elf/dl-error-minimal.c: Likewise.
13951         * elf/tst-latepthread.c: Likewise.
13952         * elf/tst-latepthreadmod.c: Likewise.
13953         * elf/Makefile (routines): Add dl-error.
13954         (dl-routines): Remove dl-error.
13955         (rtld-routines): Add dl-error-minimal.
13956         [build-shared] (tests): Add tst-latepthread.
13957         (module-names): Add tst-latepthreadmod.
13958         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13959         symbol.
13960         (tst-latepthreadmod.so): Link against libpthread.
13961         (tst-latepthread): Link against libdbl.
13962         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13963         _dl_catch_error.
13964         [ld] (GLIBC_PRIVATE): Likewise.
13965         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13966         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13967         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13968         directly.
13969         * elf/dl-tsd.c: Remove file.
13970         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13971         _dl_catch_error, _dl_signal_error.
13972         (_dl_initial_error_catch_tsd): Remove definition.
13973         (do_preload): Remove initialization of dl_error_catch_tsd.
13974         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13975         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13976         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13977         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13978         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13979         set dl_error_catch_tsd.
13980         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13981         _dl_error_catch_tsd member.
13982         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13983         members.
13984         (_dl_initial_error_catch_tsd): Remove declaration.
13985         (_dl_dprintf): Provide definition for use outside of ld.so.
13986         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13987         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13988         prototype for libc.
13989         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13990         _dl_catch_error.
13991         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13992         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13993         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13994         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13995         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13996         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13997         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13998         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13999         Likewise.
14000         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
14001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
14002         (ld.so): Likewise.
14003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14004         (ld.so): Likewise.
14005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
14006         Likewise.
14007         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
14008         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
14009         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
14010         Likewise.
14011         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
14012         Likewise.
14013         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
14015 2016-11-30  Florian Weimer  <fweimer@redhat.com>
14017         [BZ #4099]
14018         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
14019         _IO_BUFSIZ (8192).
14021 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
14023         * PROJECTS: Remove file.
14025 2016-11-29  Florian Weimer  <fweimer@redhat.com>
14027         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
14029 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
14030             Steve Ellcey  <sellcey@caviumnetworks.com>
14032         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
14033         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
14034         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
14035         fxstatat.
14036         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
14037         lxstat.
14038         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
14039         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
14040         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
14041         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
14042         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
14043         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
14044         __xstat.
14046 2016-11-29  Florian Weimer  <fweimer@redhat.com>
14048         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
14049         Define.
14050         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
14051         definition.
14053 2016-11-29  Florian Weimer  <fweimer@redhat.com>
14055         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
14056         version and turn into strong alias.  Remove compat symbol.
14058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14059         (__longjmp): Remove.
14061 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
14063         * bits/fp-fast.h: New file.
14064         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
14065         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
14066         * math/Makefile (headers): Add bits/fp-fast.h.
14067         * math/math.h: Include <bits/fp-fast.h>.
14068         * bits/mathdef.h (FP_FAST_FMA): Remove.
14069         (FP_FAST_FMAF): Likewise.
14070         (FP_FAST_FMAL): Likewise.
14071         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
14072         (FP_FAST_FMAF): Likewise.
14073         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
14074         (FP_FAST_FMAF): Likewise.
14075         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
14076         (FP_FAST_FMAF): Likewise.
14077         (FP_FAST_FMAL): Likewise.
14078         * sysdeps/arm/bits/mathdef.h: Remove file.
14079         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
14080         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14081         * sysdeps/tile/bits/mathdef.h: Likewise.
14083 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
14085         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
14086         * math/w_ilogb.c: Remove.
14087         * math/w_ilogbf.c: Likewise.
14088         * math/w_ilogbl.c: Likewise.
14089         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
14090         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
14091         * math/Makefile (gen-libm-calls): Add w_ilogbF.
14092         (libm-calls): Remove w_ilogbF.
14093         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
14094         (LDOUBLE_ilogbl_libm_version): New macro.
14096         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
14098         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
14099         [!__STRICT_ANSI__ && !__cplusplus].
14101 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
14103         [BZ #20750]
14104         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
14105         of PIC.
14107 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14108             Yury Norov  <ynorov@caviumnetworks.com>
14109             Steve Ellcey  <sellcey@caviumnetworks.com>
14111         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
14112         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
14113         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
14114         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
14115         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
14116         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
14117         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
14118         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
14119         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
14120         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
14121         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
14122         to get correct reg name for ILP32.
14123         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
14124         (RELA_SIZE): New Macro.
14125         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
14126         to support ILP32.
14127         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
14128         cast for ILP32 mode.
14129         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
14130         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
14131         * sysdeps/aarch64/memset.S (__memset): Ditto.
14132         * sysdeps/aarch64/strchr.S (strchr): Ditto.
14133         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
14134         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
14135         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
14136         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
14137         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
14138         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
14139         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
14140         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
14141         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
14142         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
14143         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
14144         change PTR_MANGLE call to use register numbers instead of names.
14145         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
14146         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
14147         ILP32 mode, change PTR_MANGLE calls to use register numbers.
14148         * sysdeps/aarch64/start.S (_start): Ditto.
14149         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
14150         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
14151         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
14152         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
14153         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
14154         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
14155         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
14156         Make defined values dependent on __ILP32__.
14157         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
14158         (sem_t): Change __align type.
14159         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14160         PTR_SIZE): New Macros.
14161         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14162         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14163         Set when in ILP32 mode.
14164         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14165         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14166         Set elf flags for ILP32.
14167         (add_system_dir): Set ILP32 library directories.
14168         * sysdeps/unix/sysv/linux/aarch64/init-first.c
14169         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14170         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14171         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14172         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14173         New Macros.
14174         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14176 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
14178         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14179         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14180         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14182 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
14184         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14185         <asm/cachectl.h>.
14187 2016-11-27  Zack Weinberg  <zackw@panix.com>
14189         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14190         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14192 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14194         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14195         error_t to fix usage in C++ programs.
14197 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
14199         * scripts/build-many-glibcs.py: Import datetime module.
14200         (Context.__init__): Load JSON build state.  Initialize list of
14201         status logs.
14202         (Context.run_builds): Update saved build state.
14203         (Context.add_makefile_cmdlist): Update list of status logs.
14204         (Context.load_build_state_json): New function.
14205         (Context.store_build_state_json): Likewise.
14206         (Context.clear_last_build_state): Likewise.
14207         (Context.update_build_state): Likewise.
14208         (CommandList.status_logs): Likewise.
14210 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
14212         * scripts/build-many-glibcs.py (Context.__init__): Save text of
14213         script being executed.
14214         (Context.get_script_text): New function.
14215         (Context.exec_self): Likewise.
14216         (Context.checkout): Re-exec script if changed by checkout process.
14218 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14220         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14221         (setpayloadsig): New declaration.
14222         * math/Versions (setpayloadsig): New libm symbol at version
14223         GLIBC_2.25.
14224         (setpayloadsigf): Likewise.
14225         (setpayloadsigl): Likewise.
14226         * math/Makefile (libm-calls): Add s_setpayloadsigF.
14227         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14228         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14229         (setpayloadsig_test_data): New array.
14230         (setpayloadsig_test): New function.
14231         (main): Call setpayloadsig_test.
14232         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14233         setpayloadsigf and setpayloadsigl.
14234         * manual/libm-err-tab.pl: Update comment on interfaces without
14235         ulps tabulated.
14236         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14237         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14238         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14239         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14240         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14241         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14242         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14243         setpayloadsig.
14244         (CFLAGS-nldbl-setpayloadsig.c): New variable.
14245         * sysdeps/nacl/libm.abilist: Update.
14246         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14247         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14248         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14249         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14250         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14251         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14252         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14253         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14254         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14255         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14256         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14257         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14259         Likewise.
14260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14261         Likewise.
14262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14263         Likewise.
14264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14265         Likewise.
14266         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14267         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14268         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14269         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14270         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14272         Likewise.
14273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14274         Likewise.
14275         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14276         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14277         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14279         * scripts/build-many-glibcs.py: Import json module.
14280         (Context.__init__): Take replace_sources argument.  Load
14281         versions.json.
14282         (Context.load_versions_json): New function.
14283         (Context.store_json): Likewise.
14284         (Context.store_versions_json): Likewise.
14285         (Context.set_component_version): Likewise.
14286         (Context.checkout): Update versions.json.  Check for and handle
14287         changes of version.  Prefer previously explicitly specified
14288         version to default version.
14289         (Context.checkout_vcs): Return a revision identifier.
14290         (Context.git_checkout): Likewise.
14291         (Context.gcc_checkout): Likewise.
14292         (get_parser): Add --replace-sources option.
14293         (main): Pass replace_sources argument to Context call.
14295 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14297         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14298         * nptl/allocatestack.c (allocate_stack): Likewise.
14299         (__reclaim_stacks): Likewise.
14300         (setxid_signal_thread): Obtain pid through syscall.
14301         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14302         (sighandle_setxid): Likewise.
14303         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14304         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14305         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14306         Likewise.
14307         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14308         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14309         comment.
14310         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14311         * nptl/descr.h (struct pthread): Change comment about pid value.
14312         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14313         pid assert.
14314         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14315         Do not set pid value.
14316         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14317         pid cache check.
14318         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14319         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14320         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14321         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14322         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14323         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14324         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14325         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14326         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14327         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14328         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14329         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14330         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14331         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14332         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14333         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14334         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14335         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14336         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14337         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14338         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14339         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14340         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14341         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14342         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14345         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14346         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14347         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14348         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14349         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14350         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14351         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14352         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14353         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14354         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14355         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14356         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14357         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14358         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14359         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14360         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14363         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14364         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14365         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14366         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14367         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14368         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14369         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14370         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14371         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14372         struct access.
14373         (clone_test): Remove function.
14374         (do_test): Rewrite to take in consideration pid is not cached anymore.
14376 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14378         * bits/flt-eval-method.h: New file.
14379         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14380         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14381         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14382         * math/Makefile (headers): Add bits/flt-eval-method.h.
14383         * math/math.h: Include <bits/flt-eval-method.h>.
14384         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14385         [__USE_ISOC99] (double_t): Likewise.
14386         * bits/mathdef.h (float_t): Remove.
14387         (double_t): Likewise.
14388         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14389         (double_t): Likewise.
14390         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14391         (double_t): Likewise.
14392         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14393         (double_t): Likewise.
14394         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14395         (double_t): Likewise.
14396         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14397         (double_t): Likewise.
14398         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14399         (double_t): Likewise.
14400         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14401         (double_t): Likewise.
14402         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14403         (double_t): Likewise.
14404         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14405         (double_t): Likewise.
14406         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14407         (double_t): Likewise.
14408         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14409         (double_t): Likewise.
14410         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14411         (double_t): Likewise.
14412         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14413         (double_t): Likewise.
14415 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14417         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14418         instead of PIC.
14420 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14422         [BZ #20859]
14423         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14424         (-0x7fffffff) instead of 0x80000001.
14425         * math/test-fp-ilogb-constants.c: New file.
14426         * math/Makefile (tests): Add test-fp-ilogb-constants.
14428 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14430         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14431         (_init): Use it in place of hardcoded R_MIPS_JALR.
14432         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14433         (_init): Use it in place of hardcoded R_MIPS_JALR.
14434         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14435         (_init): Use it in place of hardcoded R_MIPS_JALR.
14437 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14439         [BZ #20787]
14440         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14441         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14442         (double_t): Do not define to double if [__x86_64__] when
14443         __FLT_EVAL_METHOD__ is nonzero.
14444         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14445         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14446         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14447         test-flt-eval-method-387 and test-flt-eval-method-sse.
14448         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14449         variable.
14450         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14452 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14454         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14455         use of -fno-isolate-erroneous-paths options for tilepro.
14457 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14459         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14460         structure initialization is no longer needed.
14462 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14464         [BZ #20855]
14465         * bits/mathdef.h (float_t): Define to float.
14466         * math/test-flt-eval-method.c: New file.
14467         * math/Makefile (tests): Add test-flt-eval-method.
14468         (CFLAGS-test-flt-eval-method.c): New variable.
14470 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14472         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14473         and __fstatfs.  Make them aliases of __fstatfs64 if
14474         STATFS_IS_STATFS64 is set to non-zero.
14475         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14476         and __statfs64.
14477         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14478         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14479         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14480         for __statfs and statfs.
14481         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14482         to 0.
14483         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14484         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14485         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14486         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14487         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14488         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14491         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14492         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14493         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14494         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14496 2016-11-22  Andreas Schwab  <schwab@suse.de>
14498         * misc/mkstemp.c: Include <fcntl.h>.
14499         * misc/mkstemps.c: Likewise.
14500         * misc/mkostemp.c: Likewise.
14501         * misc/mkostemps.c: Likewise.
14503 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14505         [BZ #20847]
14506         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14507         array bounds.
14508         (__execvpe): Likewise.
14510 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14512         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14513         -fno-isolate-erroneous-paths options for tilepro.
14515 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14517         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14518         to 0 when in 32 bit mode.
14519         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14520         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14521         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14522         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14524         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14525         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14526         XSTAT_IS_XSTAT64 test.
14527         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14528         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14529         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14530         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14531         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14532         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14533         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14534         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14535         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14536         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14537         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14539 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14541         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14542         (setpayload): New declaration.
14543         * math/Versions (setpayload): New libm symbol at version
14544         GLIBC_2.25.
14545         (setpayloadf): Likewise.
14546         (setpayloadl): Likewise.
14547         * math/Makefile (libm-calls): Add s_setpayloadF.
14548         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14549         test_Ff_b1_data.
14550         (RUN_TEST_Ff_b1): New macro.
14551         (RUN_TEST_LOOP_Ff_b1): Likewise.
14552         (canonicalize_test_data): Update type.
14553         (setpayload_test_data): New array.
14554         (setpayload_test): New function.
14555         (main): Call setpayload_test.
14556         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14557         setpayloadf and setpayloadl.
14558         * manual/libm-err-tab.pl: Update comment on interfaces without
14559         ulps tabulated.
14560         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14561         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14562         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14563         Likewise.
14564         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14565         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14566         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14570         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14572         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14573         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14574         setpayload.
14575         (CFLAGS-nldbl-setpayload.c): New variable.
14576         * sysdeps/nacl/libm.abilist: Update.
14577         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14578         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14587         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14588         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14590         Likewise.
14591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14592         Likewise.
14593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14594         Likewise.
14595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14596         Likewise.
14597         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14598         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14599         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14600         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14601         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14603         Likewise.
14604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14605         Likewise.
14606         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14607         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14608         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14610 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14612         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14613         * include/unistd.h: Extend comment about __access_noerrno return
14614         semantics.
14615         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14616         (access_common): Correct typo for EACCES.
14618 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14620         * sysdeps/tile/math-tests.h: New file.
14622         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14623         (__old_set_dataplane): Rename from set_dataplane and make a
14624         compatibility symbol.
14625         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14626         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14627         sys/dataplane.h.
14629 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14631         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14632         script quote words in command output to log suitably for input to
14633         the shell.
14635 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14636             Maciej W. Rozycki  <macro@imgtec.com>
14638         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14639         `.Lno_weak_fn' label.
14640         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14641         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14643 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14644             Yury Norov  <ynorov@caviumnetworks.com>
14646         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14647         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14648         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14649         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14650         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14651         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14652         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14653         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14654         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14655         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14656         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14657         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14658         (sysdep_routines): Remove oldgetrlimit64.
14659         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14660         (sysdep_routines): Likewise.
14661         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14662         (sysdep_routines): Likewise.
14663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14664         [$(subdir) = resource] (sysdep_routines): Likewise.
14665         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14666         [$(subdir) = resource] (sysdep_routines): Likewise.
14667         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14668         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14669         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14670         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14671         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14672         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14673         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14674         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14675         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14676         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14677         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14678         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14679         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14680         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14681         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14682         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14683         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14684         setrlimit and getrlimit.
14685         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14686         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14687         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14690         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14691         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14692         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14693         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14694         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14695         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14696         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14697         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14698         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14699         (__old_getrlimit64): Add compatibility symbol.
14700         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14702 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14704         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14705         newly built gmp, mpfr and mpc.
14707         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14709 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14711         * conform/Makefile (linknamespace-libs): Rename to
14712         linknamespace-libs-thr.
14713         (linknamespace-libs-posix): New variable.
14714         (linknamespace-libs-xsi): Likewise.
14715         (linknamespace-libs-XPG3): Include libcrypt.a.
14716         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14717         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14718         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14719         (linknamespace-libs-XOPEN2K): Likewise.
14720         (linknamespace-libs-XOPEN2K8): Likewise.
14721         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14723         [BZ #20829]
14724         * stdio-common/Versions (__snprintf): Add to version
14725         GLIBC_PRIVATE.
14726         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14727         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14728         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14729         of snprintf.
14730         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14732 2016-11-16  Zack Weinberg  <zackw@panix.com>
14734         * string/string.h: Remove obsolete comment stating that
14735         strcoll_l and strxfrm_l have not yet been standardized.
14737 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14739         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14740         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14741         __access_noerrno.
14742         * io/access.c (__access_noerrno): New function.
14743         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14744         (hurd_fail_seterrno): Likewise.
14745         (access_common): Likewise.
14746         (__access_noerrno): Likewise.
14747         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14748         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14749         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14750         macro.
14752 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14754         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14755         Only declare fpregs if [__SH_FPU_ANY__].
14757 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14759         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14760         Make code unconditional.
14761         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14763 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14765         * manual/sysinfo.texi (S_APPEND): Delete.
14766         (S_IMMUTABLE): Likewise.
14768 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14769             Magnus Granberg  <zorry@gentoo.org>
14770             Mike Frysinger  <vapier@gentoo.org>
14772         [BZ #20662]
14773         * configure.ac (libc_cv_predef_stack_protector): Also check for
14774         __stack_chk_fail_local symbols.
14775         * configure: Regenerated.
14777 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14779         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14780         (libc_hidden_def): Remove redefinition.
14781         (__sigsetjmp): Add hidden definition.
14782         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14783         (libc_hidden_def): Remove redefinition.
14784         (__sigsetjmp): Add hidden definition.
14786 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14788         * scripts/build-many-glibcs.py (os.path): Do not import.
14789         (Context): Inherit explicitly from object.  Remove blank line
14790         between class and docstring.
14791         (Config): Likewise.
14792         (Glibc): Likewise.
14793         (Command): Likewise.
14794         (CommandList): Likewise.
14795         (Context.write_files): Store chmod mode in a variable.
14797         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14798         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14799         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14801 2016-11-14  Zack Weinberg  <zackw@panix.com>
14803         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14804         creating or re-creating it.
14806         * string/bits/string2.h: Fix typo in comment.
14808 2016-11-14  Zack Weinberg  <zackw@panix.com>
14810         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14811         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14812         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14813         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14814         of redirected function names.
14816         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14817         as well.  Document that MESSAGE must be a single string literal.
14819 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14821         * scripts/build-many-glibcs.py: New file.
14823         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14824         (do_test): Disable -Wmaybe-uninitialized around uses of
14825         except_mask.
14827         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14829 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14831         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14832         (atomic_store_release): Provide tilepro-specific implementations.
14834 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14836         * math/math.h (__MATH_TG): New macro.
14837         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14838         [__USE_ISOC99] (signbit): Likewise.
14839         [__USE_ISOC99] (isfinite): Likewise.
14840         [__USE_ISOC99] (isnan): Likewise.
14841         [__USE_ISOC99] (isinf): Likewise.
14842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14845         __MATH_TG and __MATH_EVAL_FMT2.
14846         * sysdeps/generic/math_private.h (fabs_tg): Define using
14847         __MATH_TG.
14848         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14849         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14850         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14851         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14852         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14853         macro.
14854         (__iscanonical): Likewise.
14855         (iscanonical): Define using __MATH_TG.
14857 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14859         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14860         guards.
14862         * sysdeps/unix/sysv/linux/access.c: New file.
14863         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14865 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14867         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14868         and __WORDSIZE32_PTRDIFF_LONG.
14870 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14872         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14874 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14876         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14877         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14878         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14879         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14880         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14882         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14883         * sysdeps/unix/sysv/linux/truncate.c: New file.
14884         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14885         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14886         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14887         Remove.
14888         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14889         Likewise.
14891         * posix/tst-truncate-common.c: New file.
14892         * posix/tst-truncate.c: Use tst-truncate-common.c.
14893         * posix/tst-truncate64.c: Likewise and add LFS tests.
14894         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14895         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14896         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14897         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14898         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14900         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14901         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14902         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14903         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14904         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14905         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14906         Remove.
14907         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14908         Likewise.
14910 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14912         [BZ #20790]
14913         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14914         to MAXLINESIZE.
14915         * sunrpc/bug20790.x: New file.
14916         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14917         variable.
14918         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14919         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14921         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14923         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14925         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14926         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14927         calloc, realloc, free, memalign and __libc_memalign rather than
14928         making them optional.
14930         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14931         for libc.so.
14933 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14935         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14936         ptw-lseek64.
14937         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14938         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14939         Likewise.
14940         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14941         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14942         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14943         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14944         * sysdeps/unix/sysv/linux/lseek.c: New file.
14945         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14946         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14947         __libc_lseek64 from auto-generation.
14948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14949         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14951 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14953         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14954         * nptl/tst-cleanup1.c (do_test): Likewise.
14955         * nptl/tst-cleanup3.c (do_test): Likewise.
14956         * nptl/tst-key1.c (do_test): Likewise.
14957         * nptl/tst-key2.c (tf, do_test): Likewise.
14958         * nptl/tst-key3.c (tf, do_test): Likewise.
14959         * nptl/tst-stdio1.c (do_test): Likewise.
14960         * nptl/tst-stdio2.c (do_test): Likewise.
14962         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14963         * nptl/tst-kill6.c (handler): Likewise.
14964         * nptl/tst-tls2.c (CB): Likewise.
14965         * nptl/tst-tls3.c (CB): Likewise.
14967 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14969         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14971 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14972             Steve Ellcey  <sellcey@caviumnetworks.com>
14974         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14975           __ASSUME_ST_INO_64_BIT as 0
14976         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14977         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14978           over the code where __ASSUME_ST_INO_64_BIT is used.
14979         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14980         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14981         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14983 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14985         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14986         Document ABI exposure of the __kind offset.
14987         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14988         Mention reason for the __kind offset exposure in the ABI.
14989         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14990         Likewise.
14991         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14992         Likewise.
14993         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14994         Likewise.
14995         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14996         (struct __pthread_mutex_s): Likewise.
14997         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14998         Likewise.
14999         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15000         Likewise.
15001         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15002         Likewise.
15003         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15004         Likewise.
15005         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15006         Likewise.
15007         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15008         Likewise.
15009         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
15010         (struct __pthread_mutex_s): Likewise.
15011         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15012         (struct __pthread_mutex_s): Likewise.
15013         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
15014         Likewise.
15016 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
15018         * test-skeleton.c: Document do_test usage.
15020 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
15022         * iconv/gconv.h (__gconv_info): Define __data element using a
15023         zero-length array.
15025 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
15027         * math/test-tgmath2.c: Split up test function.
15029 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15031         * Rules (tests-expected): New variable, depending on
15032         $(run-built-tests).
15033         (tests): Pass $(tests-expected) to merge-test-results.sh, not
15034         $(tests).
15036         * Rules [$(run-built-tests) = no] (tests): Do not depend on
15037         $(tests-unsupported).
15039 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15041         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
15042         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
15044 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15046         [BZ #20768]
15047         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
15048         __fegetenv instead of fegetenv.
15050         [BZ #14139]
15051         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
15052         (find_files): Obtain platform name from libm-test-ulps-name and
15053         store in %pplatforms.
15054         (canonicalize_platform): Remove.
15055         (print_platforms): Use $pplatforms directly.
15056         (by_platforms): Do not allow for platforms missing from
15057         %pplatforms.
15058         * sysdeps/aarch64/libm-test-ulps-name: New file.
15059         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
15060         * sysdeps/arm/libm-test-ulps-name: Likewise.
15061         * sysdeps/generic/libm-test-ulps-name: Likewise.
15062         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
15063         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
15064         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
15065         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
15066         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
15067         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
15068         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
15069         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
15070         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
15071         * sysdeps/nios2/libm-test-ulps-name: Likewise.
15072         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
15073         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
15074         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
15075         * sysdeps/sh/libm-test-ulps-name: Likewise.
15076         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
15077         * sysdeps/tile/libm-test-ulps-name: Likewise.
15078         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
15080         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
15082         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
15083         (test-xfail-check-execstack): New variable.
15085         * sysdeps/mips/localplt.data: New file.
15087 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
15088             Steve Ellcey  <sellcey@caviumnetworks.com>
15090         * bits/wordsize.h: Add documentation.
15091         * sysdeps/aarch64/bits/wordsize.h : New file
15092         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
15093         definitions.
15094         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
15095         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
15096         with #if instead of #ifdef.
15097         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
15098         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
15099         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
15100         Add or change defines.
15101         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
15102         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15103         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
15104         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
15105         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15106         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15107         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
15108         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15109         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
15110         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15111         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
15112         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
15113         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
15114         * sysdeps/x86/bits/wordsize.h: Likewise.
15116 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
15117             Kevin Petit  <kevin.petit@arm.com>
15119         * sysdeps/aarch64/memchr.S (__memchr): New file.
15121 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15123         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
15125 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
15127         [BZ #19398]
15128         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
15129         $(linknamespace-symlists-tests).
15131 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
15133         * time/tst-strptime2.c: Ignore -Wformat-length warning.
15135 2016-11-02  Florian Weimer  <fweimer@redhat.com>
15136             Carlos O'Donell  <carlos@redhat.com>
15138         [Bug #20729]
15139         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
15140         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
15141         for -Os related change.
15143 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
15145         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
15147 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
15149         [BZ #19673]
15150         * manual/math.texi (Exponents and Logarithms): Correct description
15151         of clog10.
15153 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
15155         [Bz #20729]
15156         * locale/weight.h: Include libc-internal.h.
15157         * locale/weightwc.h: Likewise.
15158         * nptl/nptl_dbP.h: Likewise.
15160 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
15162         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15163         when it is MACH_PORT_NULL.
15165 2016-10-31  Andreas Schwab  <schwab@suse.de>
15167         [BZ #20707]
15168         * posix/glob.c (glob): Initialize pglob before checking for
15169         GLOB_BRACE.  Don't call glob recursively if pattern contains no
15170         valid brace expression despite GLOB_BRACE.
15171         * posix/globtest.sh: Test it.
15173 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15175         [BZ #20729]
15176         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15177         Define.
15178         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15179         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15180         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15181         for seq2.back_us and seq1.back_us only for -Os compiles.
15182         * locale/weightwc.h (findix): Likewise.
15183         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15184         DB_GET_FIELD_ADDRESS only for -Os compiles.
15185         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15186         for slen only for -Os compiles.
15187         * string/strcoll_l.c (get_next_seq): Ignore
15188         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15189         for -Os compiles.
15191         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15192         * include/crypt.h: New file.
15194 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15196         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15197         from test-skeleton.c.
15198         (statclass): Replace calls to write with calls to write_message.
15200 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15202         * math/math.h
15203         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15204         New macro.
15205         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15206         Likewise.
15207         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15208         Likewise.
15209         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15210         SNANL.
15211         * math/test-double.h (snan_value_MACRO): New macro.
15212         * math/test-float.h (snan_value_MACRO): Likewise.
15213         * math/test-ldouble.h (snan_value_MACRO): Likewise.
15214         * math/libm-test.inc (issignaling_test_data): Add tests of
15215         snan_value_MACRO.
15217 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15219         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15220         behavior when eliding a lock not held by the current thread.
15221         * sysdeps/powerpc/nptl/elide.h: Likewise.
15223 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15225         [BZ #20728]
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15227         branch to _exit() by a function call.
15229 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15231         * malloc/malloc.c: Update chunk layout comments.
15232         (chunk_main_arena): Update comment.
15234 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15236         * crypt/sha256.c, crypt/sha256-block.c,
15237         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15238         sha256_process_block to __sha256_process_block.
15239         * crypt/sha512.c, crypt/sha512-block.c,
15240         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15241         sha512_process_block to __sha512_process_block.
15243 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15245         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15247         * math/test-nan-overflow.c: Include stdlib.h for malloc.
15249 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
15251         [BZ #20019]
15252         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15253         definition in unrelocated shared library.
15254         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15256 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15258         [BZ #20729]
15259         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15260         * sysdeps/unix/sysv/linux/i386/Makefile
15261         (uses-6-syscall-arguments): Define.
15262         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15263         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15264         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15265         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15266         Likewise.
15267         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15268         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15269         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15270         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15271         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15272         (CFLAGS-fallocate64.os): Likewise.
15273         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15274         (CFLAGS-pthread_rwlock_timedrdlock.os)
15275         (CFLAGS-pthread_rwlock_timedwrlock.o)
15276         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15277         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15278         (CFLAGS-sem_timedwait.os): Likewise.
15280 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15282         * elf/tst-linkall-static.c: New file.
15283         * elf/Makefile (tests-static): Add tst-linkall-static.
15284         (tst-linkall-static): Link against static libraries.
15286 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15288         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15289         mmaped chunks.
15291 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15293         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15294         members to mchunk_prev_size, mchunk_size.
15295         (chunk_main_arena): Reverse sense and rename from
15296         chunk_non_main_arena.
15297         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15298         mchunk_size instead of size.
15299         (set_non_main_arena): Define.
15300         (chunksize): Use chunksize_nomask instead of direct member access.
15301         (chunksize_nomask): Define.
15302         (next_chunk): Use chunksize instead of direct member access.
15303         (prev_size, set_prev_size): Define.
15304         (prev_chunk): Use prev_size instead of direct member access.
15305         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15306         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15307         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15308         (mchunk_prev_size, mchunk_size): Poison tokens.
15309         (unlink): Use chunksize_nomask, prev_size accessors.
15310         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15311         (do_check_free_chunk): Use prev_size accessor.
15312         (sysmalloc): Use set_prev_size, set_head accessors.
15313         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15314         (__libc_free): Use chunksize_nomask accessor.
15315         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15316         chunk_main_arena accessors.
15317         (_int_free): Use chunksize_nomask, prev_size accessors.
15318         (malloc_consolidate): Use chunksize, prev_size accessors.
15319         (_int_realloc): Use chunksize_nomask accessor.
15320         (_int_memalign): Use set_prev_size accessor.
15321         (__malloc_info): Use chunksize_nomask accessor.
15322         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15323         accessors.
15324         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15325         (heap_trim): Use chunksize_nomask, prev_size accessors.
15327 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15329         [BZ #19380]
15330         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15331         for inexact results.
15332         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15333         of inexact result where mpfr_subnormalize is the only inexact
15334         step.
15335         * stdlib/tst-strtod-round-data.h: Regenerated.
15336         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15337         Define to 0.
15338         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15340 2016-10-27  David S. Miller  <davem@davemloft.net>
15342         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15344 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15346         * malloc/malloc.c (do_set_mallopt_check): New function.
15347         (do_set_mmap_threshold): Likewise.
15348         (do_set_mmaps_max): Likewise.
15349         (do_set_top_pad): Likewise.
15350         (do_set_perturb_byte): Likewise.
15351         (do_set_trim_threshold): Likewise.
15352         (do_set_arena_max): Likewise.
15353         (do_set_arena_test): Likewise.
15354         (__libc_mallopt): Use them.
15356 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15358         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15359         (canonicalize): New declaration.
15360         * math/Versions (canonicalize): New libm symbol at version
15361         GLIBC_2.25.
15362         (canonicalizef): Likewise.
15363         (canonicalizel): Likewise.
15364         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15365         * math/s_canonicalize_template.c: New file.
15366         * math/libm-test.inc: Update comment on functions tested and
15367         testing of NaN payloads.
15368         (TEST_NAN_PAYLOAD): New macro.
15369         (NO_TEST_INLINE): Update value.
15370         (XFAIL_TEST): Likewise.
15371         (ERRNO_UNCHANGED): Likewise.
15372         (ERRNO_EDOM): Likewise.
15373         (ERRNO_ERANGE): Likewise.
15374         (IGNORE_RESULT): Likewise.
15375         (NON_FINITE): Likewise.
15376         (TEST_SNAN): Likewise.
15377         (NO_TEST_MATHVEC): Likewise.
15378         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15379         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15380         (struct test_Ffp_b1_data): New type.
15381         (RUN_TEST_Ffp_b1): New macro.
15382         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15383         (canonicalize_test_data): New array.
15384         (canonicalize_test): New function.
15385         (main): Call canonicalize_test.
15386         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15387         canonicalizef and canonicalizel.
15388         * manual/libm-err-tab.pl: Update comment on interfaces without
15389         ulps tabulated.
15390         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15391         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15392         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15393         canonicalize.
15394         (CFLAGS-nldbl-canonicalize.c): New variable.
15395         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15396         to ...
15397         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15398         ... here.
15399         (do_test): Also test canonicalizel.
15400         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15401         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15402         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15403         file.
15404         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15405         Use libm_hidden_def.
15406         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15407         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15408         (do_test): Also test canonicalizel.
15409         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15410         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15411         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15412         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15413         libm_hidden_def.
15414         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15415         macro.
15416         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15417         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15418         * sysdeps/nacl/libm.abilist: Update.
15419         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15420         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15421         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15422         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15423         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15424         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15425         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15428         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15429         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15430         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15432         Likewise.
15433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15434         Likewise.
15435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15436         Likewise.
15437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15438         Likewise.
15439         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15440         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15445         Likewise.
15446         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15447         Likewise.
15448         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15449         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15450         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15452         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15453         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15454         getpayload.
15455         (CFLAGS-nldbl-getpayload.c): New variable.
15457 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15459         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15460         integer from the format string.
15462 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15464         [BZ #19473]
15465         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15466         declarations.
15467         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15468         weak aliases.
15469         * malloc/hooks.c (__malloc_get_state): Remove definition.
15470         (malloc_get_state): New stub implementation as
15471         compatibility symbol.
15472         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15473         compat symbol.
15474         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15475         malloc_set_state.
15476         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15478 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15480         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15481         (names): Turn into concatenation of strings.
15482         (gconv_init): Adapt iteration over names.
15484 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15486         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15487         make const.
15488         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15489         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15490         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15491         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15492         character in sbconv.
15493         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15494         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15495         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15497 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15499         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15501         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15502         (M_TRIM_THRESHOLD): Likewise.
15504         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15505         (M_ARENA_MAX): Likewise.
15506         * malloc/malloc.c: Remove obsolete comment.
15508         * manual/memory.texi: Add environment variable alternatives to
15509         setting mallopt parameters.
15511 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15513         * include/atomic.h
15514         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15515         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15517 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15519         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15520         * stdlib/tst-strfrom.h: New file.
15521         * stdlib/tst-strfrom.c: New file.
15522         * stdlib/tst-strfrom-locale.c: New file.
15524         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15525         * stdlib/bug-strtod2.c: Likewise.
15526         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15527         * stdlib/tst-strtod6.c: Likewise.
15528         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15530 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15532         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15533         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15534         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15535         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15536         * stdlib/stdlib.h (strfromd): New declaration.
15537         (strfromf): Likewise.
15538         (strfroml): Likewise.
15539         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15540         strfrom.
15541         * stdlib/strfromd.c: New file.
15542         * stdlib/strfromf.c: Likewise.
15543         * stdlib/strfroml.c: Likewise.
15544         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15545         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15546         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15547         * sysdeps/arm/nacl/libc.abilist: Update.
15548         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15549         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15550         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15551         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15552         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15553         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15554         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15555         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15559         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15560         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15561         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15566         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15567         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15568         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15569         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15570         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15571         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15573         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15574         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15575         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15577 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15579         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15580         instead of cmpli.
15581         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15582         instead of cmpli.
15584 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15586         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15587         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15588         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15589         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15590         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15591         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15593 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15595         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15596         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15597         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15598         SYSCALL_LL64_PRW.
15599         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15600         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15601         __ASSUME_PRW_DUMMY_ARG.
15602         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15603         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15604         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15605         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15606         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15607         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15609 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15611         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15613 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15615         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15616         "C++", to override a potential extern "C" directive around the
15617         header file inclusion.
15619 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15621         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15623 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15625         * sysdeps/powerpc/fpu/fenv_private.h:
15626         (_FPU_MASK_ALL): Rename to...
15627         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15628         XE FPSCR bits.
15630         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15632         (_FPU_MASK_ROUNDING): Rename to...
15633         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15634         NI bits.
15636         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15637         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15638         bits and rounding bits.
15640         (__libc_feholdbits_ppc): New inline function to mask, set,
15641         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15642         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15643         (libc_feholdexcept_setround_ppc): Likewise.
15645         (__libc_femergeenv_ppc): New function to dynamically mask both
15646         old and new FP environments and merge.
15647         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15648         (libc_feresetround_ppc): Likewise.
15649         (libc_feupdateenv_test_ppc): Likewise.
15650         (libc_feupdateenv_ppc): Likewise.
15652         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15653         of ISA RN bits, and update macro names.
15654         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15655         effectively the same as the previously mentioned function.
15657         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15658         usage with fe_resetround_ppc.
15660         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15661         to be used.
15662         (libc_feholdexcept_setround_ctxf): Likewise.
15663         (libc_feholdexcept_setround_ctxl): Likewise.
15665 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15667         [BZ #20715]
15668         * math/math.h [__cplusplus] (iszero): Define as function template.
15669         * math/Makefile [CXX] (tests): Add test-math-iszero.
15670         (CFLAGS-test-math-iszero.cc): Set.
15671         * math/test-math-iszero.cc: New file.
15673 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15675         [BZ #20660]
15676         * sysdeps/arm/e_sqrt.c: New file.
15677         * sysdeps/arm/e_sqrtf.c: Likewise.
15679 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15681         [BZ #20718]
15682         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15683         not use floating-point comparisons to test sign.
15684         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15685         Likewise.
15687         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15688         (getpayload): New declaration.
15689         * math/Versions (getpayload): New libm symbol at version
15690         GLIBC_2.25.
15691         (getpayloadf): Likewise.
15692         (getpayloadl): Likewise.
15693         * math/Makefile (libm-calls): Add s_getpayloadF.
15694         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15695         (struct test_f_f_data): Add comment.
15696         (RUN_TEST_fp_f): New macro.
15697         (RUN_TEST_LOOP_fp_f): Likewise.
15698         (getpayload_test_data): New array.
15699         (getpayload_test): New function.
15700         (main): Call getpayload_test.
15701         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15702         descriptor.
15703         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15704         getpayloadf and getpayloadl.
15705         * manual/libm-err-tab.pl: Update comment on interfaces without
15706         ulps tabulated.
15707         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15708         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15709         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15710         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15711         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15712         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15713         * sysdeps/nacl/libm.abilist: Update.
15714         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15715         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15716         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15717         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15718         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15719         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15720         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15721         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15722         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15723         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15724         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15725         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15727         Likewise.
15728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15729         Likewise.
15730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15731         Likewise.
15732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15733         Likewise.
15734         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15735         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15736         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15737         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15738         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15740         Likewise.
15741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15742         Likewise.
15743         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15744         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15745         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15747 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15749         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15750         tst-fallocate{64}.
15751         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15752         on syscall return.
15754 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15756         [BZ #20689]
15757         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15758         usable.
15760 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15762         * sysdeps/generic/nan-high-order-bit.h: New file.
15763         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15764         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15765         * sysdeps/hppa/math_private.h: Remove file.
15766         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15767         not define here.
15768         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15769         <nan-high-order-bit.h>.
15770         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15771         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15772         <nan-high-order-bit.h>.
15773         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15774         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15775         <nan-high-order-bit.h>.
15776         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15777         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15778         <nan-high-order-bit.h>.
15779         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15780         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15781         <nan-high-order-bit.h>.
15782         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15783         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15784         <nan-high-order-bit.h>.
15785         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15786         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15787         <nan-high-order-bit.h>.
15788         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15789         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15790         <nan-high-order-bit.h>.
15791         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15792         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15793         <nan-high-order-bit.h>.
15794         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15795         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15796         <nan-high-order-bit.h>.
15797         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15798         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15799         <nan-high-order-bit.h>.
15800         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15801         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15802         <nan-high-order-bit.h>.
15803         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15804         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15805         <nan-high-order-bit.h>.
15806         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15807         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15808         <nan-high-order-bit.h>.
15809         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15810         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15811         <nan-high-order-bit.h>.
15812         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15813         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15814         <nan-high-order-bit.h>.
15815         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15816         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15817         <nan-high-order-bit.h>.
15818         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15819         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15820         <nan-high-order-bit.h>.
15821         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15823 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15825         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15827 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15829         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15830         abort-instr.h.
15831         (EFAULT): Remove conditional define.
15832         (ENOSYS): Likewise.
15833         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15834         instead of conditional branch instructions.
15836 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15838         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15839         (totalordermag): New declaration.
15840         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15841         New macro.
15842         * math/Versions (totalordermag): New libm symbol at version
15843         GLIBC_2.25.
15844         (totalordermagf): Likewise.
15845         (totalordermagl): Likewise.
15846         * math/Makefile (libm-calls): Add s_totalordermagF.
15847         * math/libm-test.inc (totalordermag_test_data): New array.
15848         (totalordermag_test): New function.
15849         (main): Call totalordermag_test.
15850         * math/test-tgmath.c (NCALLS): Increase to 125.
15851         (F(compile_test)): Call totalordermag.
15852         (F(totalordermag)): New function.
15853         * manual/arith.texi (FP Comparison Functions): Document
15854         totalordermag, totalordermagf and totalordermagl.
15855         * manual/libm-err-tab.pl: Update comment on interfaces without
15856         ulps tabulated.
15857         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15858         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15859         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15860         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15861         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15862         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15863         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15864         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15865         totalordermag.
15866         (CFLAGS-nldbl-totalordermag.c): New variable.
15867         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15868         (do_test): Also test totalordermagl.
15869         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15870         Likewise.
15871         * sysdeps/nacl/libm.abilist: Update.
15872         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15873         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15874         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15875         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15876         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15877         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15878         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15879         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15880         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15881         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15882         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15883         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15885         Likewise.
15886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15887         Likewise.
15888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15889         Likewise.
15890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15891         Likewise.
15892         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15893         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15894         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15895         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15896         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15898         Likewise.
15899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15900         Likewise.
15901         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15902         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15903         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15905 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15907         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15908         boolean.
15910 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15912         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15913         raising FE_INVALID with feraisexcept in case where part of
15914         argument is infinite, subtract that part of argument from itself.
15915         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15916         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15917         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15919 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15921         * math/libm-test.inc (totalorder_test_data): Add more tests.
15923 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15925         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15926         Undefine weak_alias and add a comment why mips64 require
15927         versioning.
15929 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15931         [BZ #20647]
15932         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15933         maximum CPUID level is less than 2.
15935 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15937         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15938         (totalorder): New declaration.
15939         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15940         New macro.
15941         * math/Versions (totalorder): New libm symbol at version
15942         GLIBC_2.25.
15943         (totalorderf): Likewise.
15944         (totalorderl): Likewise.
15945         * math/Makefile (libm-calls): Add s_totalorderF.
15946         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15947         string.
15948         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15949         (qnan_value_pl): Likewise.
15950         (snan_value_pl): Likewise.
15951         (qnan_value): Define using qnan_value_pl.
15952         (snan_value): Define using snan_value_pl.
15953         (struct test_ff_i_data): Add comment about which tests use this
15954         structure.
15955         (RUN_TEST_ff_b): New macro.
15956         (RUN_TEST_LOOP_ff_b): Likewise.
15957         (totalorder_test_data): New array.
15958         (totalorder_test): New function.
15959         (main): Call totalorder_test.
15960         * math/test-tgmath.c (NCALLS): Increase to 122.
15961         (F(compile_test)): Call totalorder.
15962         (F(totalorder)): New function.
15963         * manual/arith.texi (FP Comparison Functions): Document
15964         totalorder, totalorderf and totalorderl.
15965         * manual/libm-err-tab.pl: Update comment on interfaces without
15966         ulps tabulated.
15967         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15968         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15969         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15970         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15971         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15972         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15973         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15974         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15975         totalorder.
15976         (CFLAGS-nldbl-totalorder.c): New variable.
15977         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15978         file.
15979         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15980         Add test-totalorderl-ldbl-128ibm.
15981         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15982         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15983         test-totalorderl-ldbl-96.
15984         * sysdeps/nacl/libm.abilist: Update.
15985         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15986         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15987         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15988         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15989         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15990         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15991         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15992         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15993         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15994         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15995         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15996         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15998         Likewise.
15999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16000         Likewise.
16001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16002         Likewise.
16003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16004         Likewise.
16005         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16006         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16007         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16008         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16009         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16011         Likewise.
16012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16013         Likewise.
16014         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16015         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16016         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16018 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16020         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
16021         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
16022         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
16023         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
16024         remove ENOSYS implementation.
16025         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
16026         Consolidate all Linux implementations.
16028 2016-10-11  Florian Weimer  <fweimer@redhat.com>
16030         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
16031         * resolv/herror.c (herror): Cast away const-ness.
16032         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
16033         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
16035 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
16037         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
16038         instead of M_NAN + M_NAN.
16039         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
16041 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16043         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
16044         unused variable 'p'.
16046 2016-10-09  Alan Modra  <amodra@gmail.com>
16047             Andreas Schwab  <schwab@linux-m68k.org>
16049         [BZ #20554]
16050         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
16051         [PIC && !SHARED]: Set up PIC register for PLT call.
16053 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
16055         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
16056         conditional on value of [__FLT_EVAL_METHOD__].
16057         * math/test-iseqsig-excess-precision.c: New file.
16058         * math/Makefile (tests): Add test-iseqsig-excess-precision.
16060 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16062         * math/s_iseqsig_template.c: Include math-private.h.
16064         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
16065         * posix/tst-posix_fadvise.c: New file.
16066         * posix/tst-posix_fadvise64.c: Likewise.
16067         * posix/tst-posix_fadvise-common.c: Likewise.
16068         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16069         (__ASSUME_FADVISE64_64_6ARG): Define.
16070         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16071         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
16072         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16073         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
16074         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
16075         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
16076         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
16077         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
16078         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
16079         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
16080         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
16081         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
16082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
16084         Likewise.
16085         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
16086         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
16087         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
16088         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16089         Alias to __posix_fadvise64_l32.
16090         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
16091         Add compat definition to posix_fadvise64.
16092         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16093         Add versioned definition to posix_fadvise64.
16094         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
16095         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
16096         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
16097         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
16098         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
16100         * io/Makefile (tests): Add tst-posix_fallocate and
16101         tst-posix_fallocate64.
16102         * io/tst-posix_fallocate-common.c: New file.
16103         * io/tst-posix_fallocate.c: Likewise.
16104         * io/tst-posix_fallocate64.c: Likewise.
16105         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
16106         file.
16107         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
16108         Likewise.
16109         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
16110         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
16111         Likewise.
16112         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
16113         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
16114         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
16115         SYSCALL_LL to pass both offset and len arguments.
16116         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
16117         Likewise.
16118         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
16119         __libc_pwrite64 alias used by posix_fallocate64.
16121         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16122         tst-fallocate64.
16123         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16124         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16125         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16126         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16127         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16128         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16129         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16130         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16131         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16132         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16133         macro on offset argument.
16134         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16135         SYSCALL_LL64 on offset argument.
16137         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16138         tst-fallocate64.
16139         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16140         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16141         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16142         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16143         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16144         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16145         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16146         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16147         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16148         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16149         macro on offset argument.
16150         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16151         SYSCALL_LL64 on offset argument.
16152         * test-skeleton.c (FAIL_RET): Add macro.
16153         (FAIL_EXIT): Likewise.
16154         (FAIL_EXIT1): Likewise.
16155         (_FAIL): Likewise.
16157 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16159         [BZ #20629]
16160         resolv: Remove RES_USEBSTRING and its implementation.
16161         * resolv/resolv.h (RES_USEBSTRING): Remove.
16162         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16163         (digitvalue, encode_bitstring, decode_bitstring): Remove.
16164         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16165         (labellen): Remove extended label types support.
16166         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
16167         * resolv/res_init.c (res_setoptions): Likewise.
16168         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16170 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16172         resolv: Remove RES_NOIP6DOTINT and its implementation.
16173         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16174         (RES_NOIP6DOTINT): Remove.
16175         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16176         handling.
16177         * resolv/res_debug.c (p_option): Likewise.
16178         * resolv/res_init.c (res_setoptions): Likewise.
16179         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16181 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16183         resolv: Deprecate unimplemented flags.
16184         * misc/sys/cdefs.h (__glibc_macro_warning1)
16185         (__glibc_macro_warning): Define.
16186         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16187         (RES_KEEPTSIG): Mark as deprecated.
16188         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16189         RES_NOCHECKNAME, RES_KEEPTSIG.
16190         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16192 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16194         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16195         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16196         Use strong_alias to create symbols for glibc verison 2.19.
16198 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16200         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16202 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16204         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16206 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16208         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16210 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16212         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16213         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16214         in header for using it as type for ifunc function because __GI_* symbols
16215         for ppc32 do not target the ifunc symbols.
16216         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16218 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16220         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16221         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16222         libc_ifunc_hidden_def.
16223         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16224         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16225         Redirect ifunced function in header for using it as type of ifunc'ed
16226         function. Redefine libc_hidden_def to use fallback non ifunc'ed
16227         function for __GI_* symbol.
16228         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16229         * include/libc-symbols.h
16230         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16232 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16234         [BZ #20478]
16235         * sysdeps/s390/multiarch/ifunc-resolve.h
16236         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16237         to create ifunc symbols.
16238         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16239         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16240         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16241         for using it as type for ifunc function.
16242         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16243         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16244         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16245         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16246         * sysdeps/s390/multiarch/strcat.c: Likewise.
16247         * sysdeps/s390/multiarch/strchr.c: Likewise.
16248         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16249         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16250         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16251         * sysdeps/s390/multiarch/strlen.c: Likewise.
16252         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16253         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16254         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16255         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16256         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16257         * sysdeps/s390/multiarch/strspn.c: Likewise.
16258         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16259         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16260         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16261         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16262         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16263         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16264         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16265         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16266         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16267         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16268         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16269         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16271 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16273         * include/libc-symbols.h (__ifunc_resolver):
16274         New macro is used by __ifunc* macros.
16275         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16276         depending on HAVE_GCC_IFUNC.
16277         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16278         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16280         Redirect ifunced function in header for using as type for ifunc function.
16281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16285         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16286         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16287         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16288         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16289         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16290         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16291         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16292         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16293         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16294         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16300         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16301         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16302         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16303         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16304         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16305         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16306         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16307         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16308         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16309         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16310         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16311         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16312         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16313         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16315         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16316         instead of libc_ifunc() macro.
16317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16318         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16320 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16322         * config.h.in (HAVE_GCC_IFUNC): New undef.
16323         * configure.ac: Add check if gcc supports attribute ifunc feature.
16324         * configure: Regenerated.
16325         * manual/install.texi: Add recommendation for gcc with
16326         indirect-function support.
16327         * INSTALL: Regenerated.
16329 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16331         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16332         macro.
16333         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16334         (__iseqsig): New declaration.
16335         * math/s_iseqsig_template.c: New file.
16336         * math/Versions (__iseqsigf): New libm symbol at version
16337         GLIBC_2.25.
16338         (__iseqsig): Likewise.
16339         (__iseqsigl): Likewise.
16340         * math/libm-test.inc (iseqsig_test_data): New array.
16341         (iseqsig_test): New function.
16342         (main): Call iseqsig_test.
16343         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16344         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16345         * manual/libm-err-tab.pl: Update comment on interfaces without
16346         ulps tabulated.
16347         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16348         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16349         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16350         * sysdeps/nacl/libm.abilist: Update.
16351         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16352         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16353         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16354         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16355         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16356         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16357         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16358         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16359         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16360         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16361         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16362         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16364         Likewise.
16365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16366         Likewise.
16367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16368         Likewise.
16369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16370         Likewise.
16371         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16372         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16373         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16374         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16375         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16377         Likewise.
16378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16379         Likewise.
16380         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16381         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16382         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16384 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16386         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16387         do_sincos_2, sloww, sloww1): Update comments.
16389         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16390         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16392         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16393         K boolean and rename it.
16394         (__sin): Adjust.
16395         (__cos): Adjust.
16397 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16398             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16400         * manual/nss.texi: Fix typos in the manual.
16402 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16404         * manual/contrib.texi: Fix typos in the manual.
16406         * manual/maint.texi: Fix typos in the manual.
16408         * manual/install.texi: Fix typos in the manual.
16409         * INSTALL: Regenerated.
16411         * manual/lang.texi: Fix typos in the manual.
16413         * manual/probes.texi: Fix typos in the manual.
16415         * manual/threads.texi: Fix typos in the manual.
16417         * manual/debug.texi: Fix typos in the manual.
16419         * manual/crypt.texi: Fix typos in the manual.
16421         * manual/conf.texi: Fix typos in the manual.
16423         * manual/sysinfo.texi: Fix typos in the manual.
16425         * manual/users.texi: Fix typos in the manual.
16427         * manual/job.texi: Fix typos in the manual.
16429         * manual/process.texi: Fix typos in the manual.
16431         * manual/argp.texi: Fix typos in the manual.
16432         * manual/getopt.texi: Likewise.
16433         * manual/startup.texi: Likewise.
16435         * manual/signal.texi: Fix typos in the manual.
16437         * manual/setjmp.texi: Fix typos in the manual.
16439         * manual/resource.texi: Fix typos in the manual.
16441         * manual/time.texi: Fix typos in the manual.
16443         * manual/arith.texi: Fix typos in the manual.
16445         * manual/math.texi: Fix typos in the manual.
16447         * manual/syslog.texi: Fix typos in the manual.
16449         * manual/terminal.texi: Fix typos in the manual.
16451         * manual/socket.texi: Fix typos in the manual.
16453         * manual/filesys.texi: Fix typos in the manual.
16455         * manual/llio.texi: Fix typos in the manual.
16457         * manual/stdio.text: Fix typos in the manual.
16459 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16461         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16462         instead of K1.
16464         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16465         SHIFT_QUADRANT and make it bool.
16466         (do_sincos_2): Likewise.
16467         (sloww): Likewise.
16468         (sloww1): Likewise.
16469         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16470         (__cos): Likewise.
16472 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16474         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16476 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16478         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16479         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16480         0x7fffffffL].
16481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16483 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16485         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16486         inline by __inline__.
16487         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16488         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16489         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16490         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16491         sigset_t from signal.h.
16492         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16493         which is already required.
16495 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16497         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16499 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16501         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16502         (struct tcp_repair_window): New type.
16504 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16506         * libio/tst-memstream3.c: Include string.h.
16508 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16510         [BZ #18241]
16511         [BZ #20181]
16512         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16513         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16514         write position is at the end the buffer.
16515         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16516         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16517         (_IO_str_seekoff): Set correct offset from negative displacement and
16518         set EINVAL for invalid ones.
16519         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16520         buffer length.
16521         (_IO_wstr_switch_to_get_mode): New function.
16522         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16523         set EINVAL for invalid ones.
16524         * libio/tst-memstream3.c: New file.
16525         * libio/tst-wmemstream3.c: Likewise.
16526         * manual/examples/memstrm.c: Remove warning when priting size_t.
16528 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16530         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16531         macro to use __builtin_fma.
16532         * sysdeps/x86_64/fpu/dla.h: Remove file.
16534         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16535         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16536         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16538 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16540         [BZ #20292]
16541         * elf/Makefile (routines): Add dl-addr-obj.
16542         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16543         tst-_dl_addr_inside_object.
16544         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16545         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16546         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16547         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16548         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16549         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16550         * elf/dl-open.c: Likewise.
16551         * elf/dl-addr-obj.c: New file.
16552         * elf/tst-_dl_addr_inside_object.c: New file.
16554 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16556         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16557         <bits/iscanonical.h>.
16558         * bits/iscanonical.h: New file.
16559         * math/s_iscanonicall.c: Likewise.
16560         * math/Versions (__iscanonicall): New libm symbol at version
16561         GLIBC_2.25.
16562         * math/libm-test.inc (iscanonical_test_data): New array.
16563         (iscanonical_test): New function.
16564         (main): Call iscanonical_test.
16565         * math/Makefile (headers): Add bits/iscanonical.h.
16566         (type-ldouble-routines): Add s_iscanonicall.
16567         * manual/arith.texi (Floating Point Classes): Document
16568         iscanonical.
16569         * manual/libm-err-tab.pl: Update comment on interfaces without
16570         ulps tabulated.
16571         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16572         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16573         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16574         Likewise.
16575         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16576         test-iscanonical-ldbl-128ibm.
16577         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16578         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16579         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16580         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16581         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16582         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16583         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16585         Likewise.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16587         Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16589         Likewise.
16590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16591         Likewise.
16592         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16593         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16595 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16597         * string/bits/string3.h: Remove C++ style comments.
16599 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16601         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16602         instead of ternary condition.
16603         (do_sincos_2): Likewise.
16604         (__sin): Likewise.
16605         (__cos): Likewise.
16606         (slow): Likewise.
16607         (sloww): Likewise.
16608         (sloww1): Likewise.
16609         (bsloww): Likewise.
16610         (bsloww1): Likewise.
16612         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16613         instead of ternary condition.
16614         (do_sin_slow): Likewise.
16615         (do_sincos_1): Likewise.
16616         (do_sincos_2): Likewise.
16617         (__cos): Likewise.
16618         (sloww): Likewise.
16619         (sloww1): Likewise.
16620         (sloww2): Likewise.
16621         (bsloww): Likewise.
16622         (bsloww1): Likewise.
16623         (bsloww2): Likewise.
16625         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16626         check from here...
16627         (slow2): ... and here...
16628         (__sin): ... to here.
16630 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16632         * math/math.h
16633         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16634         Cast argument to its own type.
16635         * math/test-iszero-excess-precision.c: New file.
16636         * math/Makefile (tests): Add test-iszero-excess-precision.
16637         (CFLAGS-test-iszero-excess-precision.c): New variable.
16639 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16641         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16642         field, add err field.
16643         (__spawni_child): Report error through err member instead of pipe.
16644         (__spawnix): Likewise.
16646 2016-09-28  Zack Weinberg  <zackw@panix.com>
16648         * scripts/check-installed-headers.sh: Generalize treatment of
16649         sys/elf.h to all target architectures.
16651         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16652         deleted typedef ucontext_t.
16654 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16656         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16657         (__INTERNAL_SYSCALL1): Likewise.
16658         (__INTERNAL_SYSCALL2): Likewise.
16659         (__INTERNAL_SYSCALL3): Likewise.
16660         (__INTERNAL_SYSCALL4): Likewise.
16661         (__INTERNAL_SYSCALL5): Likewise.
16662         (__INTERNAL_SYSCALL6): Likewise.
16663         (__INTERNAL_SYSCALL7): Likewise.
16664         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16665         (__INTERNAL_SYSCALL_NARGS): Likewise.
16666         (__INTERNAL_SYSCALL_DISP): Likewise.
16667         (INTERNAL_SYSCALL_CALL): Likewise.
16668         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16669         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16670         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16671         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16672         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16673         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16674         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16675         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16676         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16677         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16678         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16679         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16680         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16682 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16684         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16685         macro.
16686         * math/libm-test.inc (iszero_test_data): New array.
16687         (iszero_test): New function.
16688         (main): Call iszero_test.
16689         * manual/arith.texi (Floating Point Classes): Document iszero.
16690         * manual/libm-err-tab.pl: Update comment on interfaces without
16691         ulps tabulated.
16693 2016-09-23  Zack Weinberg  <zackw@panix.com>
16695         * scripts/check-installed-headers.sh: New script.
16696         * Rules: In each directory that defines header files to be installed,
16697         run check-installed-headers.sh on them as a special test.
16698         * Makefile: Likewise for the headers installed at top level.
16700         * include/aliases.h, include/alloca.h, include/argz.h
16701         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16702         * include/elf.h, include/envz.h, include/err.h
16703         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16704         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16705         * include/link.h, include/malloc.h, include/mcheck.h
16706         * include/mntent.h, include/netinet/ether.h
16707         * include/nss.h, include/obstack.h, include/printf.h
16708         * include/pty.h, include/resolv.h, include/rpc/auth.h
16709         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16710         * include/rpc/clnt.h, include/rpc/des_crypt.h
16711         * include/rpc/key_prot.h, include/rpc/netdb.h
16712         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16713         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16714         * include/rpc/rpc_msg.h, include/rpc/svc.h
16715         * include/rpc/svc_auth.h, include/rpc/xdr.h
16716         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16717         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16718         * include/rpcsvc/ypupd.h, include/shadow.h
16719         * include/stdio_ext.h, include/sys/epoll.h
16720         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16721         * include/sys/prctl.h, include/sys/profil.h
16722         * include/sys/statfs.h, include/sys/sysctl.h
16723         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16724         * sysdeps/arm/nacl/include/bits/setjmp.h
16725         * sysdeps/mips/include/sys/asm.h
16726         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16727         * sysdeps/unix/sysv/linux/include/sys/timex.h
16728         * sysdeps/x86/fpu/include/bits/fenv.h:
16729         Add #ifndef _ISOMAC guard around internal declarations.
16730         Add multiple-inclusion guard if not already present.
16732 2016-09-23  Zack Weinberg  <zackw@panix.com>
16734         * sysdeps/generic/sys/ucontext.h
16735         * sysdeps/arm/sys/ucontext.h
16736         * sysdeps/i386/sys/ucontext.h
16737         * sysdeps/m68k/sys/ucontext.h
16738         * sysdeps/mips/sys/ucontext.h
16739         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16740         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16741         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16742         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16743         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16744         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16745         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16746         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16747         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16748         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16749         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16750         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16751         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16752         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16753         Include both bits/sigcontext.h and bits/sigstack.h.
16754         Fix grammar error in comment, if present.
16756         * bits/sigstack.h
16757         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16758         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16759         * sysdeps/unix/sysv/linux/bits/sigstack.h
16760         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16761         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16762         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16763         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16764         * bits/sigcontext.h
16765         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16766         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16767         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16768         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16769         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16770         as well as signal.h, if this was not already allowed.  Request
16771         definition of size_t if necessary.  Minimize semantically-null
16772         differences across files.
16774 2016-09-23  Zack Weinberg  <zackw@panix.com>
16776         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16777         Remove all logic conditional on __need macros.  Move all the
16778         conditionally defined types to their own headers...
16779         * time/bits/types/clock_t.h: Define clock_t here.
16780         * time/bits/types/clockid_t.h: Define clockid_t here.
16781         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16782         * time/bits/types/struct_timespec.h: Define struct timespec here.
16783         * time/bits/types/struct_timeval.h: Define struct timeval here.
16784         * time/bits/types/struct_tm.h: Define struct tm here.
16785         * time/bits/types/time_t.h: Define time_t here.
16786         * time/bits/types/timer_t.h: Define timer_t here.
16787         * time/Makefile: Install the new headers.
16789         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16790         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16791         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16792         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16793         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16794         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16795         * sysdeps/unix/sysv/linux/bits/resource.h
16796         * sysdeps/unix/sysv/linux/bits/timex.h
16797         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16798         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16799         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16800         * sysdeps/unix/sysv/linux/sys/acct.h
16801         * sysdeps/unix/sysv/linux/sys/timerfd.h
16802         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16803         * time/sys/time.h, time/sys/timeb.h
16804         Use the new bits/types headers.
16806         * include/time.h: Remove __need logic.
16807         * include/bits/time.h
16808         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16809         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16810         * include/bits/types/struct_itimerspec.h
16811         * include/bits/types/struct_timespec.h
16812         * include/bits/types/struct_timeval.h
16813         * include/bits/types/struct_tm.h:
16814         New wrapper headers.
16816 2016-09-23  Zack Weinberg  <zackw@panix.com>
16818         * sysdeps/mach/hurd/net/if_ppp.h
16819         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16820         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16821         if __USE_MISC is defined, to ensure struct ifreq is declared.
16823         * inet/netinet/ether.h: Condition all function prototypes
16824         on __USE_MISC, to ensure struct ether_addr is declared.
16826         * socket/bits/types/struct_osockaddr.h: New header.
16827         * include/bits/types/struct_osockaddr.h: New wrapper.
16828         * socket/Makefile: Install the new header.
16829         * socket/sys/socket.h, inet/protocols/talkd.h:
16830         Refer to bits/types/struct_osockaddr.h for the definition of
16831         struct osockaddr.
16833 2016-09-23  Zack Weinberg  <zackw@panix.com>
16835         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16836         * inet/protocols/routed.h, inet/protocols/talkd.h
16837         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16838         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16839         * sysdeps/generic/netinet/if_ether.h
16840         * sysdeps/generic/netinet/in_systm.h
16841         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16842         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16843         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16844         * sysdeps/mach/hurd/net/if_arp.h
16845         * sysdeps/mach/hurd/net/if_ppp.h
16846         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16847         * sysdeps/unix/sysv/linux/bits/in.h
16848         * sysdeps/unix/sysv/linux/net/ethernet.h
16849         * sysdeps/unix/sysv/linux/net/if_arp.h
16850         * sysdeps/unix/sysv/linux/net/if_ppp.h
16851         * sysdeps/unix/sysv/linux/net/if_shaper.h
16852         * sysdeps/unix/sysv/linux/net/route.h
16853         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16854         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16855         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16856         * sysdeps/unix/sysv/linux/netipx/ipx.h
16857         * sysdeps/unix/sysv/linux/sys/acct.h
16858         * include/arpa/nameser.h, include/resolv.h:
16859         Change all uses of u_char to unsigned char,
16860         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16861         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16862         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16863         and u_int64_t and u_quad_t to uint64_t.
16865         * mach/sys/reboot.h: Remove two casts of integer literals
16866         to the types they already have.
16868         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16869         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16870         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16871         from referring to 'unsigned char' to 'uint8_t' for consistency with
16872         the macro definition below.
16874         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16875         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16876         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16877         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16878         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16879         * sysdeps/unix/sysv/linux/sys/acct.h
16880         * include/arpa/nameser.h, include/resolv.h:
16881         Fix indentation disrupted by mechanical edits.
16883         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16884         * sysdeps/generic/netinet/in_systm.h
16885         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16886         * sysdeps/gnu/netinet/udp.h
16887         * sysdeps/unix/sysv/linux/net/ethernet.h
16888         * sysdeps/unix/sysv/linux/net/if_arp.h
16889         * sysdeps/unix/sysv/linux/net/if_ppp.h
16890         * sysdeps/unix/sysv/linux/net/if_shaper.h
16891         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16892         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16893         * sysdeps/unix/sysv/linux/netipx/ipx.h
16894         * sysdeps/unix/sysv/linux/sys/acct.h
16895         Include stdint.h for uintNN_t definitions.
16896         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16898 2016-09-23  Zack Weinberg  <zackw@panix.com>
16900         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16901         * sysdeps/unix/sysv/linux/netrose/rose.h:
16902         Include sys/socket.h and netax25/ax25.h.
16904         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16905         * resolv/arpa/nameser_compat.h:
16906         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16908         * sysdeps/unix/sysv/linux/sys/quota.h:
16909         Use __caddr_t instead of caddr_t.
16910         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16911         Use __clockid_t instead of clockid_t.
16913         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16915         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16916         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16917         expanding it.
16919         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16920         Define __glibc_c99_flexarr_available to 1 when the compiler
16921         supports C99-compatible flexible array members, 0 otherwise.
16922         * sysdeps/unix/sysv/linux/bits/socket.h
16923         * sysdeps/mach/hurd/bits/socket.h
16924         * bits/socket.h: Use __glibc_c99_flexarr_available in
16925         definitions of struct cmsghdr and CMSG_DATA.
16927 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16929         * manual/nss.texi (NSS Modules Interface): Adjust function return
16930         type to enum nss_status.  Document errnop argument.  Clarify
16931         h_errnop semantics.  Fix cross-reference formatting.
16932         (NSS Module Function Internals): Mention that *errnop needs to be
16933         set on failure, but not to zero.
16935 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16937         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16938         (get_random_name): New functions.
16939         (check_wrapper_flags_mode): Use linkat to give the new file a name
16940         determined by get_random_name.
16941         (do_test): Add calls to test open64 and openat64.
16943 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16945         * test-skeleton.c: Remove #include <stdarg.h>.
16947 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16949         [BZ #19826]
16950         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16951         initialization of static TLS entries.
16952         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16953         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16955 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16957         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16958         _hurd_malloc_fork_prepare.
16959         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16960         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16961         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16962         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16963         (_hurd_fork_child_hook): Drop malloc_fork_child.
16964         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16965         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16966         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16967         after locking locks (notably hurd_dtable_lock). Call
16968         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16969         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16970         __malloc_fork_unlock_child.
16971         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16973 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16975         * soft-fp/extendhftf2.c: New.
16976         * soft-fp/fixhfti.c: Likewise.
16977         * soft-fp/fixunshfti.c: Likewise.
16978         * soft-fp/floattihf.c: Likewise.
16979         * soft-fp/floatuntihf.c: Likewise.
16980         * soft-fp/half.h: Likewise.
16981         * soft-fp/trunctfhf2.c: Likewise.
16983 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16985         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16986         macro.
16987         * math/libm-test.inc (issubnormal_test_data): New array.
16988         (issubnormal_test): New function.
16989         * manual/arith.texi (Floating Point Classes): Document
16990         issubnormal.
16991         * manual/libm-err-tab.pl: Update comment on interfaces without
16992         ulps tabulated.
16994         * sysdeps/generic/stdint.h: Define
16995         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16996         <bits/libc-header-start.h> instead of including <features.h>.
16997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
17000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
17001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
17002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
17003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
17004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
17005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
17006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
17007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
17008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
17009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
17010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
17011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
17012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
17013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
17014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
17015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
17016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
17017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
17018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
17019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
17020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
17021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
17022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
17023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
17024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
17025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
17026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
17027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
17028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
17029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
17030         * manual/arith.texi (Integers): Document these macros for types
17031         specified by width properties.
17032         * manual/lang.texi (Width of Type): Document these macros for
17033         other standard typedefs.
17034         * stdlib/tst-width-stdint.c: New file.
17035         * stdlib/Makefile (tests): Add tst-width-stdint.
17037 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17039         [BZ #20016]
17040         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
17041         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
17042         Move ...
17043         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
17044         ... here, as compatibility symbols in a new file.
17045         * resolv/Makefile (libresolv-routines): Add compat-hooks.
17046         * resolv/res_init.c (__res_vinit): Adjust member names.
17047         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
17048         * resolv/resolv.h (res_sendhookact, res_send_qhook)
17049         (res_send_rhook): Remove.
17050         (struct __res_state): Rename qhook, rhook members.
17052 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17054         malloc: Use __libc_lock wrappers.
17055         * malloc/arena.c (list_lock, free_list_lock): Define using
17056         __libc_lock_define_initialized.
17057         (arena_lock): Adjust formatting.
17058         * malloc/malloc.c (struct malloc_state): Define mutex using
17059         __libc_lock_define.
17060         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
17061         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
17062         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
17063         (mutex_unlock, mutex_trylock): Remove.
17064         (__pthread_initialize): Remove unused macro.
17065         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
17066         (mutex_unlock, mutex_trylock): Remove.
17068 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17070         [BZ #20592]
17071         Remove RR type classification macros.
17072         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
17073         (ns_t_udp_p, ns_t_xfr_p): Remove.
17075 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17077         Remove misleading version information.
17078         * resolv/arpa/nameser.h (__NAMESER): Remove.
17079         * resolv/arpa/nameser_compat.h (__BIND): Remove.
17081 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17083         Remove the always-defined BIND_4_COMPAT macro.
17084         * resolv/arpa/nameser.h: Unconditionally include
17085         <arpa/nameser_compat.h>.
17086         (BIND_4_COMPAT): Remove.
17087         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
17089 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17091         [BZ #20591]
17092         Remove obsolete DNSSEC support.
17093         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
17094         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
17095         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
17096         (ns_verify_tcp, ns_verify_tcp_init): Remove.
17097         (ns_cert_types): Add comment.
17098         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
17099         separately.
17100         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
17101         (dst_s_dns_key_id): Remove.
17102         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
17103         variables.
17105 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17107         [BZ #20524]
17108         * manual/string.texi (String/Array Comparison): Clarify the
17109         strverscmp behavior.
17111 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17113         * test-skeleton.c (xasprintf): Add function.
17114         * io/tst-open-tmpfile.c: New test.
17115         * io/Makefile (tests): Add it.
17117 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17119         Avoid running $(CXX) during build to obtain header file paths.
17120         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
17121         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
17122         * Makerules (cstdlib, cmath): Remove variables.  Use
17123         $(c++-cstdlib-header), $(c++-cmath-header) instead.
17124         * configure: Regenerate.
17126 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17128         * Makeconfig (all-object-suffixes): Include .op only if
17129         $(build-profile).
17131 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17133         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
17134         conditionals.  Do not define PATH_MAX.
17136 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17138         * posix/Makefile (tests): Add tst-spawn3.
17139         * posix/tst-spawn3.c: New file.
17140         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
17141         if it is already opened for open action.
17143         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
17144         all signals when executing the clone vfork child.
17145         (SIGALL_SET): Remove macro.
17147         * nptl/Makefile (tests): Add tst-exec5.
17148         * nptl/tst-exec5.c: New file.
17149         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
17150         asynchronous cancellation.
17152 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17154         * hurd/exc2signal.c: #include <hurd/signal.h>
17155         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
17156         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
17157         accordingly.
17158         * mach/mach_error.c (mach_error): Fix old-style function definition.
17159         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17161 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17163         * math/Makefile (libm-calls): Remove s_nanF.
17164         (gen-libm-calls): Add s_nanF.
17166         * math/s_nan.c: Refactor into ...
17167         * math/s_nan_template.c: New file.
17169         * math/s_nanf.c: Removed.
17170         * math/s_nanl.c: Removed.
17171         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17172         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17174         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17175         (LDOUBLE_nanl_libm_version): New macro.
17177         * sysdeps/generic/math-type-macros-double.h:
17178         (M_STRTO_NAN): New macro.
17179         * sysdeps/generic/math-type-macros-float.h: Likewise.
17180         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17182         * sysdeps/generic/math-type-macros.h: Document
17183         M_STRTO_NAN.
17185 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17187         * math/s_nanf.c: Remove __nanf undef.
17188         * math/s_nan.c: Remove __nan undef.
17189         * math/s_nanl.c: Remove __nanl undef.
17191         * sysdeps/generic/math_private.h (__nan): Remove macro
17192         override.
17193         (__nanf): Likewise.
17194         (__nanl): Likewise.
17196 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17198         * math/Makefile (gen-all-calls): New variable.
17199         (generated): Replace gen-libm-calls with gen-all-calls.
17200         (gen-libm-templates.stmp): Likewise.  Also, ensure
17201         the output directory exists or is created and add
17202         dependency on the Makefile.
17203         (calls): Move s_ldexpF into gen-calls.
17204         (gen-calls): New variable.
17206         * math/s_ldexpf.c: Removed.
17207         * math/s_ldexpl.c: Removed.
17208         * math/s_ldexp.c: Refactored into ...
17209         * math/s_ldexp_template.c: New file.
17211         * sysdeps/generic/math-type-macros-double.h: Remove
17212         redundant fall-through definition of declare_mgen_alias.
17213         (declare_mgen_alias_2): New macro.
17215         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17216         New macro for function aliased to two exported symbols.
17218         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17219         new template file.
17220         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17222 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17224         * Makeconfig (all-object-suffixes): Remove .og.
17225         * Makerules (elide-routines.og): Remove.
17226         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17227         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17228         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17230 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17232         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17233         .os objects.
17235 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17237         [BZ #20615]
17238         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17239         fpu directory by non-fpu.
17240         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17241         on non-fpu directory from a fpu directory.
17243 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
17245         * include/limits.h: Define
17246         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17247         <bits/libc-header-start.h> instead of including <features.h>.
17248         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17259         * manual/lang.texi (Width of Type): Document these macros.
17260         * stdlib/tst-width.c: New file.
17261         * stdlib/Makefile (tests): Add tst-width.
17263 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17265         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17266         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17268 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17270         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17271         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17272         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17274 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17276         [BZ #18243]
17277         * rt/Makefile (test): Add tst-shm-cancel.
17278         * rt/tst-shm-cancel.c: New file.
17279         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17281         [BZ #18243]
17282         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17283         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17284         definition.
17285         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17286         uncontended case.
17287         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17288         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17289         (tf): Fix check for uncontended case.
17290         (do_test): Likewise.
17291         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17292         (tf): Fix check for uncontended case.
17293         (do_test): Likewise.
17294         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17295         (tf): Fix check for uncontended case.
17296         (do_test): Likewise.
17297         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17298         (tf): Fix check for uncontended case.
17299         (do_test): Likewise.
17301         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17302         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17304         [BZ #15765]
17305         * nptl/Makefile (tests): Add tst-sem16.
17306         * nptl/tst-sem16.c: New file.
17307         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17309         * nptl/sem_open.c (sem_open): Init pad value to 0.
17310         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17311         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17313 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17315         [BZ #20611]
17316         * inet/Makefile (routines): Add inet6_scopeid_pton.
17317         (tests): Add tst-inet6_scopeid_pton.
17318         * inet/inet6_scopeid_pton.c: New file.
17319         * inet/net-internal.h: Likewise.
17320         * inet/tst-inet6_scopeid_pton.c: New test.
17321         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17322         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17325 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17327         Remove support for compiling wrappers with PTW.
17328         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17329         * nptl/Makefile (pthread-compat-wrappers): Define.
17330         (libpthread-routines): Use pthread-compat-wrappers.
17331         * sysdeps/unix/sysv/linux/alpha/Makefile
17332         (libpthread-routines, libpthread-shared-only-routines): Remove
17333         ptw- prefix.
17334         * sysdeps/s390/nptl/Makefile
17335         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17336         * sysdeps/ia64/nptl/Makefile
17337         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17338         * sysdeps/nacl/Makefile (libpthread-routines): Use
17339         pthread-compat-wrappers to filter the routines list instead of the
17340         ptw- prefix.
17342 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17344         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17345         with L() and remove explicit suffix, convert real literals
17346         which can be equivalentally substituted with integers, and
17347         transform -L(x) to L(-x).
17349         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17350         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17351         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17352         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17353         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17354         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17355         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17356         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17357         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17358         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17359         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17360         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17361         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17362         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17363         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17364         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17365         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17366         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17367         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17368         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17369         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17370         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17371         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17372         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17373         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17374         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17375         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17376         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17377         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17378         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17379         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17380         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17381         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17382         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17383         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17384         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17385         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17386         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17387         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17388         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17389         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17390         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17391         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17392         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17393         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17394         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17395         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17396         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17397         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17398         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17400 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17402         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17404 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17406         * malloc/Makefile (tests): Remove individual static test names
17407         and just add all of tests-static.
17409         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17411 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17413         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17414         file.
17416         * sysdeps/sparc/fpu/fegetmode.c: New file.
17417         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17419         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17420         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17422         * sysdeps/s390/fpu/fegetmode.c: New file.
17423         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17425         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17426         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17427         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17428         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17429         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17430         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17432         * sysdeps/mips/fpu/fegetmode.c: New file.
17433         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17435         * sysdeps/m68k/fpu/fegetmode.c: New file.
17436         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17438         * sysdeps/ia64/fpu/fegetmode.c: New file.
17439         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17441         * sysdeps/hppa/fpu/fegetmode.c: New file.
17442         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17444         * sysdeps/arm/fegetmode.c: New file.
17445         * sysdeps/arm/fesetmode.c: Likewise.
17447         * sysdeps/alpha/fpu/fegetmode.c: New file.
17448         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17450         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17451         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17453         * math/fegetmode.c: New file.
17454         * math/fesetmode.c: Likewise.
17455         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17456         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17457         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17458         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17459         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17460         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17461         declaration.
17462         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17463         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17464         typedef.
17465         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17466         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17467         (femode_t): New typedef.
17468         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17469         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17470         (femode_t): New typedef.
17471         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17472         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17473         (femode_t): New typedef.
17474         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17475         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17476         (femode_t): New typedef.
17477         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17478         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17479         (femode_t): New typedef.
17480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17481         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17482         (femode_t): New typedef.
17483         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17484         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17485         (femode_t): New typedef.
17486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17487         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17488         (femode_t): New typedef.
17489         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17490         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17491         (femode_t): New typedef.
17492         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17493         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17494         (femode_t): New typedef.
17495         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17496         declaration.
17497         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17498         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17499         (femode_t): New typedef.
17500         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17501         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17502         (femode_t): New typedef.
17503         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17504         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17505         (femode_t): New typedef.
17506         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17507         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17508         (femode_t): New typedef.
17509         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17510         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17511         (femode_t): New typedef.
17512         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17513         * manual/arith.texi (FE_DFL_MODE): Document macro.
17514         (fegetmode): Document function.
17515         (fesetmode): Likewise.
17516         * math/Versions (fegetmode): New libm symbol at version
17517         GLIBC_2.25.
17518         (fesetmode): Likewise.
17519         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17520         (tests): Add test-femode and test-femode-traps.
17521         * math/test-femode-traps.c: New file.
17522         * math/test-femode.c: Likewise.
17523         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17524         alias for __fe_dfl_env.
17525         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17526         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17527         (__fe_dfl_mode): Likewise.
17528         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17529         version GLIBC_2.25.
17530         * sysdeps/nacl/libm.abilist: Update.
17531         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17532         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17533         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17534         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17535         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17536         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17537         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17538         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17539         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17540         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17541         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17542         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17544         Likewise.
17545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17546         Likewise.
17547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17548         Likewise.
17549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17550         Likewise.
17551         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17552         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17553         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17554         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17555         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17557         Likewise.
17558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17559         Likewise.
17560         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17561         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17562         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17564 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17566         [BZ #20495]
17567         [BZ #20508]
17568         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17569         processors, set Use_dl_runtime_resolve_slow and set
17570         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17571         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17572         New.
17573         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17574         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17575         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17576         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17577         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17578         if Use_dl_runtime_resolve_opt is set.  Use
17579         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17580         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17581         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17582         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17583         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17584         New.
17585         (_dl_runtime_resolve_opt): Likewise.
17586         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17587         defined.
17589 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17591         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17592         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17594 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17596         Convert malloc to __libc_lock.  Automated part, using this Perl
17597         s/// command:
17598           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17599             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17600         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17601         conversion.
17603 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17605         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17606         (linknamespace-symlists-tests): Likewise.
17607         (linknamespace-header-tests): Likewise.
17609 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17611         [BZ #19810]
17612         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17613         * elf/tst-noload.c: New test case.
17614         * elf/Makefile (tests): Add tst-noload.
17616 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17618         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17620         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17621         not any more.
17623         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17625 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17627         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17628         (do_cos_slow): Likewise.
17629         (do_sin): Likewise.
17630         (do_sin_slow): Likewise.
17631         (slow): Likewise.
17632         (slow1): Likewise.
17633         (slow2): Likewise.
17634         (sloww): Likewise.
17635         (sloww1): Likewise.
17636         (sloww2): Likewise.
17637         (bsloww): Likewise.
17638         (bsloww1): Likewise.
17639         (bsloww2): Likewise.
17640         (cslow2): Likewise.
17642         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17644         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17645         arguments.  Consolidate input partitioning from callers here.
17646         (do_cos_slow): Likewise.
17647         (do_sin): Likewise.
17648         (do_sin_slow): Likewise.
17649         (do_sincos_1): Remove the no longer necessary input partitioning.
17650         (do_sincos_2): Likewise.
17651         (__sin): Likewise.
17652         (__cos): Likewise.
17653         (slow1): Likewise.
17654         (slow2): Likewise.
17655         (sloww1): Likewise.
17656         (sloww2): Likewise.
17657         (bsloww1): Likewise.
17658         (bsloww2): Likewise.
17659         (cslow2): Likewise.
17661 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17663         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17664         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17665         outside of allocated array.
17667 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17669         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17670         instead of MB_CUR_MAX to avoid variable-length array.
17672 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17674         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17675         (type-double-routines): Add k_rem_pio2.
17676         (type-float-routines): Add k_rem_pio2f.
17678         * sysdeps/generic/math_private.h:
17679         (__kernel_rem_pio2l): Removed.
17681         * math/k_rem_pio2l.c: Removed.
17682         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17683         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17684         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17685         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17687 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17689         * math/Makefile (gen-libm-calls): Add s_fmin
17690         (libm-calls): Remove above.
17692         * math/s_fmin.c: Refactor into ...
17693         * math/s_fmin_template.c: New file.
17695         * math/s_fminf.c: Removed.
17696         * math/s_fminl.c: Removed.
17697         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17698         (LDOUBLE_fmin_libm_version): New macro.
17700         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17701         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17703 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17705         * math/Makefile: (gen-libm-calls): Add s_fmax.
17706         (libm-calls): Remove above.
17708         * math/s_fmax.c: Refactor into ...
17709         * math/s_fmax_template.c: New file.
17710         * math/s_fmaxf.c: Removed.
17711         * math/s_fmaxl.c: Removed.
17713         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17714         (LDOUBLE_fmaxl_libm_version): New macro.
17716         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17717         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17719         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17720         s_fmin.c to pick the aarch64 version of the file.
17721         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17722         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17724 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17726         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17727         (libm-calls): Remove above.
17729         * math/s_nextdown.c: Refactor into ...
17730         * math/s_nextdown_template.c: New file.
17731         * math/s_nextdownf.c: Removed.
17732         * math/s_nextdownl.c: Removed.
17734         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17736 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17738         * math/Makefile (gen-libm-calls): Add s_fdim.
17739         (libm-calls): Move to above.
17741         * math/s_fdim.c: Renamed and refactored into to ...
17742         * math/s_fdim_template.c: New file.
17743         * math/s_fdiml.c: Removed.
17744         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17745         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17747         * sysdeps/generic/math-type-macros-double.h:
17748         (declare_mgen_alias): Don't declare if already declared.
17749         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17750         Likewise.
17752         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17753         (declare_mgen_alias): Don't declare if already declared.
17754         (M_LIBM_NEED_COMPAT): Likewise.
17755         (declare_mgen_libm_compat): Likewise.
17756         (LDOUBLE_fdiml_libm_version): New macro.
17758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17759         Include math/s_fdim.c now that ldbl-opt version is not needed.
17760         (declare_mgen_alias): New macro to disable aliasing.
17762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17763         (declare_mgen_alias): Likewise.
17764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17765         (declare_mgen_alias): Likewise.
17766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17767         (declare_mgen_alias): Likewise.
17768         (M_LIBM_NEED_COMPAT): Likewise.
17770 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17772         [BZ #20525]
17773         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17774         Include <linux/quota.h>.
17775         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17776         and btodb.
17777         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17778         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17779         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17780         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17781         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17782         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17783         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17784         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17785         types.
17786         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17787         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17789 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17791         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17792         (gammal_positive): Fix spacing.
17793         (__ieee754_gammal_r): Likewise.
17795 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17797         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17798         (_Float128): Define as long double, always.
17799         (L): Apply long double type suffix, always.
17801         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17802         _Float128, excepting comments.
17804         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17805         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17806         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17807         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17808         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17809         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17810         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17811         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17812         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17813         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17814         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17815         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17816         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17817         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17818         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17819         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17820         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17821         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17822         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17823         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17824         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17825         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17826         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17827         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17828         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17829         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17830         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17831         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17832         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17833         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17834         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17835         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17836         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17837         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17838         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17839         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17840         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17841         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17842         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17843         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17844         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17845         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17846         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17847         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17848         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17849         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17850         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17851         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17852         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17853         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17854         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17855         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17856         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17857         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17858         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17859         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17860         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17861         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17862         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17863         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17864         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17865         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17866         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17867         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17868         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17869         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17870         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17871         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17873         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17874         _Float128, and include math_private.h.
17875         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17878         long double semantics.
17879         (_Float128): Likewise.
17880         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17881         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17882         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17883         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17885 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17887         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17888         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17889         * sysdeps/s390/configure: Regenerated.
17890         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17891         instruction for raising over-/underflow if z196 zarch is supported
17892         by default.
17893         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17895 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17897         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17898         it point to a dumb buffer for RPC to fill it.
17900 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17902         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17903         instead of if/else.
17904         (do_sin_slow): Likewise.
17905         (do_sincos_1): Use fabs instead of if/else.
17906         (do_sincos_2): Likewise.
17907         (__sin): Likewise.
17908         (__cos): Likewise.
17909         (slow2): Likewise.
17910         (sloww): Likewise.
17911         (sloww1): Likewise.  Drop argument M.
17912         (sloww2): Use fabs instead of if/else.
17913         (bsloww): Likewise.
17914         (bsloww1): Likewise.
17915         (bsloww2): Likewise.
17917         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17918         fall through comment.
17919         (do_sincos_1): Likewise.
17921         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17922         Consolidate switch cases 0 and 2.
17924 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17926         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17927         (libm-calls): Remove the above.
17929         * math/s_cexp_template.c: Update using type-generic macros.
17930         * math/s_clog10_template.c: Likewise.
17931         * math/s_cpow_template.c: Likewise.
17932         * math/s_clog_template.c: Likewise.
17933         * math/s_cproj_template.c: Likewise.
17934         * math/s_csqrt_template.c: Likewise.
17936         * math/s_cexp.c: Removed.
17937         * math/s_cexpf.c: Removed.
17938         * math/s_cexpl.c: Removed.
17939         * math/s_clog10.c: Removed.
17940         * math/s_clog10f.c: Removed.
17941         * math/s_clog10l.c: Removed.
17942         * math/s_cpow.c: Removed.
17943         * math/s_cpowf.c: Removed.
17944         * math/s_cpowl.c: Removed.
17945         * math/s_clog.c: Removed.
17946         * math/s_clogf.c: Removed.
17947         * math/s_clogl.c: Removed.
17948         * math/s_cproj.c: Removed.
17949         * math/s_cprojf.c: Removed.
17950         * math/s_cprojl.c: Removed.
17951         * math/s_csqrt.c: Removed.
17952         * math/s_csqrtf.c: Removed.
17953         * math/s_csqrtl.c: Removed.
17955         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17956         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17957         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17958         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17959         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17960         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17962         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17963         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17964         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17965         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17966         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17967         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17968         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17969         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17970         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17971         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17972         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17974         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17975         version.
17977         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17978         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17979         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17980         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17982 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17984         * s_cexp_template.c: Copy of s_cexp.c.
17985         * s_clog_template.c: Copy of s_clog.c.
17986         * s_clog10_template.c: Copy of s_clog10.c.
17987         * s_cpow_template.c: Copy of s_cpow.c.
17988         * s_cproj_template.c: Copy of s_cproj.c.
17989         * s_csqrt_template.c: Copy of s_csqrt.c.
17991 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17993         [BZ #20517]
17994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17995         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17996         exported.
17998 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
18000         * math/fetestexceptflag.c: New file.
18001         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
18002         Stefan Liebler.
18003         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
18004         (fetestexceptflag): New function declaration.
18005         * manual/arith.texi (fetestexceptflag): Document function.
18006         * math/Versions (fetestexceptflag): New libm symbol at version
18007         GLIBC_2.25.
18008         * math/Makefile (libm-support): Add fetestexceptflag.
18009         (tests): Add test-fetestexceptflag.
18010         * math/test-fetestexceptflag.c: New file.
18011         * sysdeps/nacl/libm.abilist: Update.
18012         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18013         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18014         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18015         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18016         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18017         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18018         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18019         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18020         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18021         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18022         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18023         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18025         Likewise.
18026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18027         Likewise.
18028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18029         Likewise.
18030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18031         Likewise.
18032         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18033         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18034         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18035         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18036         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18038         Likewise.
18039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18040         Likewise.
18041         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18042         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18045 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18047         [BZ #20432]
18048         Avoid strong references to malloc-internal symbols when linking
18049         statically, to support statically interposed mallocs.
18050         * include/libc-symbols.h (call_function_static_weak): New macro.
18051         * malloc/Makefile (tests): Add tst-interpose-nothread,
18052         tst-interpose-thread, tst-interpose-static-nothread,
18053         tst-interpose-static-thread.
18054         (tests-static): Add tst-interpose-static-nothread,
18055         tst-interpose-static-thread.
18056         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
18057         tst-interpose-aux-thread.o.
18058         (test-extras): Add tst-interpose-aux-nothread,
18059         tst-interpose-aux-thread.
18060         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
18061         tst-interpose-aux-nothread.o.
18062         (tst-interpose-thread, tst-interpose-static-thread): Link with
18063         tst-interpose-aux-thread.o and libthread.
18064         * malloc/tst-interpose-aux-nothread.c: New file.
18065         * malloc/tst-interpose-aux-thread.c: Likewise.
18066         * malloc/tst-interpose-aux.c: Likewise.
18067         * malloc/tst-interpose-aux.h: Likewise.
18068         * malloc/tst-interpose-nothread.c: Likewise.
18069         * malloc/tst-interpose-skeleton.c: Likewise.
18070         * malloc/tst-interpose-static-nothread.c: Likewise.
18071         * malloc/tst-interpose-static-thread.c: Likewise.
18072         * malloc/tst-interpose-thread.c: Likewise.
18073         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
18074         * sysdeps/mach/hurd/fork.c (__fork): Only call
18075         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18076         __malloc_fork_unlock_child if defined.
18077         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18079 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18081         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
18082         timespec C99 designated initialization.
18084 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18086         [BZ #19946]
18087         Avoid expected SIGALRM signals.
18088         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
18089         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
18090         (xpthread_create, xpthread_detach, xpthread_join)
18091         (delayed_exit_thread, delayed_exit): New functions.
18092         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
18093         (tf): Use xpthread_cond_wait.
18094         (do_test): Likewise.  Replace alarm with delayed_exit.
18095         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18096         (do_test): Call delayed_exit.  Report failure.
18097         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18098         (do_test): Call delayed_exit.
18099         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18100         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
18101         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18102         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
18103         error.
18104         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18105         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
18106         error.
18107         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
18108         (do_test): Call delayed_exit.
18109         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
18110         (do_test): Call delayed_exit.
18111         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
18112         (do_test): Call delayed_exit instead of alarm.  Use
18113         xpthread_mutex_lock.
18114         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
18115         (do_test): Call delayed_exit instead of alarm.  Use
18116         xpthread_mutex_lock.
18117         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
18118         (do_test): Call delayed_exit instead of alarm.
18119         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
18120         (do_test): Call delayed_exit instead of alarm.  Use
18121         xpthread_spin_lock.
18122         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
18123         (do_test): Call delayed_exit instead of alarm.  Use
18124         xpthread_join.
18126 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18128         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
18129         adjust CFA when allocating register save area on re-aligned
18130         stack.
18132 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18134         * string/tst-cmp.c: New test.
18135         * string/Makefile (tests): Add it.
18137 2016-08-25  Mark Wielaard  <mark@klomp.org>
18139         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
18140         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
18141         (check_tree_recurse): Use newly defined accessors.
18142         (check_tree): Likewise.
18143         (maybe_split_for_insert): Likewise.
18144         (__tfind): Likewise.
18145         (__tdelete): Likewise.
18146         (trecurse): Likewise.
18147         (tdestroy_recurse): Likewise.
18148         (__tsearch): Likewise. And add asserts for malloc alignment.
18149         (__twalk): Cast root to node in case CHECK_TREE is defined.
18151 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18153         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
18155 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18157         * math/Makefile (libm-gen-calls): Add
18158         catan, catanh, ctan, ctanh.
18159         (libm-calls): Remove the above.
18161         * math/s_catan_template.c: Update using type-generic macros.
18162         * math/s_catanh_template.c: Likewise.
18163         * math/s_ctan_template.c: Likewise.
18164         * math/s_ctanh_template.c: Likewise.
18166         * math/s_catanf.c: Removed.
18167         * math/s_catan.c: Removed.
18168         * math/s_catanl.c: Removed.
18169         * math/s_catanhf.c: Removed.
18170         * math/s_catanh.c: Removed.
18171         * math/s_catanhl.c: Removed.
18172         * math/s_ctanf.c: Removed.
18173         * math/s_ctan.c: Removed.
18174         * math/s_ctanl.c: Removed.
18175         * math/s_ctanhf.c: Removed.
18176         * math/s_ctanh.c: Removed.
18177         * math/s_ctanhl.c: Removed.
18179         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18180         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18181         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18182         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18183         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18184         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18186         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18187         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18188         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18189         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18191 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18193         * s_catan_template.c: Copy of s_catan.c.
18194         * s_catanh_template.c: Copy of s_catanh.c.
18195         * s_ctan_template.c: Copy of s_ctan.c.
18196         * s_ctanh_template.c: Copy of s_ctanh.c.
18198 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18200         * math/Makefile (gen-libm-calls): Move
18201         casin, casinh, csin, csinh here.
18202         (libm-calls): Remove the above.
18204         * math/s_casin_template.c: Update using type-generic macros.
18205         * math/s_casinh_template.c: Likewise.
18206         * math/s_csin_template.c: Likewise.
18207         * math/s_csinh_template.c: Likewise.
18208         * math/k_casinh_template.c: Likewise.
18210         * math/s_casinf.c: Removed.
18211         * math/s_casin.c: Removed.
18212         * math/s_casinl.c: Removed.
18213         * math/s_casinh.c: Removed.
18214         * math/s_casinhf.c: Removed.
18215         * math/s_casinhl.c: Removed.
18216         * math/s_csin.c: Removed.
18217         * math/s_csinf.c: Removed.
18218         * math/s_csinl.c: Removed.
18219         * math/s_csinh.c: Removed.
18220         * math/s_csinhf.c: Removed.
18221         * math/s_csinhl.c: Removed.
18222         * math/k_casinh.c: Removed.
18223         * math/k_casinhf.c: Removed.
18224         * math/k_casinhl.c: Removed.
18226         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18227         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18228         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18229         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18231         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18232         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18233         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18234         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18235         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18236         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18237         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18238         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18240         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18241         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18242         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18243         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18245         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18246         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18247         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18248         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18250 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18252         * s_casin_template.c: Copy of s_casin.c.
18253         * s_casinh_template.c: Copy of s_casinh.c.
18254         * s_csin_template.c: Copy of s_csin.c.
18255         * s_csinh_template.c: Copy of s_csinh.c.
18256         * k_casinh_template.c: Copy of k_casinh.c.
18258 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18260         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18262 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18264         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18265         (mul_split) Remove, rename as mul_splitl, remove
18266         redundant float.h include, and include via mul_splitl.h
18268         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18269         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18270         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18271         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18272         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18274         * math/mul_splitl.h: New file.
18276         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18277         Move into mul_split.h, and remove redundant float.h include.
18279         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18280         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18281         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18282         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18284         * math/mul_split.h: New file.
18286 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18288         * math/Makefile (libm-gen-calls): Move
18289         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18290         (libm-calls): Remove above.
18292         * math/s_cacos_template.c: Update using type-generic macros.
18293         * math/s_cacosh_template.c: Likewise.
18294         * math/s_ccos_template.c: Likewise.
18295         * math/s_ccosh_template.c: Likewise.
18297         * math/s_cacosf.c: Removed.
18298         * math/s_cacos.c: Removed.
18299         * math/s_cacosl.c: Removed.
18300         * math/s_cacoshf.c: Removed.
18301         * math/s_cacosh.c: Removed.
18302         * math/s_cacoshl.c: Removed.
18303         * math/s_ccosf.c: Removed.
18304         * math/s_ccos.c: Removed.
18305         * math/s_ccosl.c: Removed.
18306         * math/s_ccoshf.c: Removed.
18307         * math/s_ccosh.c: Removed.
18308         * math/s_ccoshl.c: Removed.
18310         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18311         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18312         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18313         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18314         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18315         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18317         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18318         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18319         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18320         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18322         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18323         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18324         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18325         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18327 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18329         * s_cacos_template.c: Copy of s_cacos.c.
18330         * s_cacosh_template.c: Copy of s_cacosh.c.
18331         * s_ccos_template.c: Copy of s_ccos.c.
18332         * s_ccosh_template.c: Copy of s_ccosh.c.
18334 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18336         * stdlib/tst-strtod-round-skeleton.c:
18337         Refactored from tst-strtod-round.c.
18339         (L_): New macro to apply literal modifier.
18340         (FNPFX): New macro to select str or wcs prefix.
18341         (CHAR): New macro to choose wchar_t or char.
18342         (STRM): New macro to choose printf for tested character type.
18344         (STRTO): New macro to choose appropriate string -> real function.
18345         (FNPFXS): Stringitized version of FNPFX.
18346         (STR): Support for above macro.
18347         (STRX): Likewise.
18349         (TEST): Update with above macros.
18350         (test): Likewise.
18351         (GEN_ONE_TEST): Likewise.
18352         (test_in_one_mode): Likewise.
18354         * stdlib/tst-strtod-round.c: New file.
18355         * wcsmbs/tst-wcstod-round.c: New file.
18357         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18358         (tst-wcstod-round): Add libm depencency for fesetround.
18360 2016-08-19  Zack Weinberg  <zackw@panix.com>
18362         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18364 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18366         [BZ #20477]
18367         * resolv/res_hconf.c (do_init): Use atomic access.
18368         * resolv/res_hconf.h: Add comments.
18369         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18370         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18371         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18373 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18375         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18376         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18377         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18378         Likewise.
18380 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18382         [BZ #16907]
18383         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18384         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18385         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18386         (__attribute__): Remove definition.
18388 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18390         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18391         Remove unused sqrtl declaration.
18393 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18395         * math/Makefile: (gen-libm-templates.stmp): New rule.
18396         (libm-calls): Move carg conj cimag and cabs into ...
18397         (gen-libm-calls): New variable.
18398         (generated): Inform Make objects from gen-libm-calls
18399         may be generated.
18401         * sysdeps/generic/math-type-macros.h: New file.
18402         * sysdeps/generic/math-type-macros-float.h: Likewise.
18403         * sysdeps/generic/math-type-macros-double.h: Likewise.
18404         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18405         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18406         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18408         * math/cabs.c: Refactor into
18409         * math/cabs_template.c: new file.
18410         * math/cabsf.c: Removed.
18411         * math/cabsl.c: Removed.
18412         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18413         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18415         * math/carg.c: Refactor into
18416         * math/carg_template.c: new file.
18417         * math/cargf.c: Removed.
18418         * math/cargl.c: Removed.
18419         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18420         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18422         * math/conj.c: Refactor into
18423         * math/conj_template.c: new file.
18424         * math/conjf.c: Removed.
18425         * math/conjl.c: Removed.
18426         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18427         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18429         * math/cimag.c: Refactor into
18430         * math/cimag_template.c: new file.
18431         * math/cimagf.c: Removed.
18432         * math/cimagl.c: Removed.
18433         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18434         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18436         * math/cimag.c: Refactor into
18437         * math/cimag_template.c: new file.
18438         * math/cimagf.c: Removed.
18439         * math/cimagl.c: Removed.
18440         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18441         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18443 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18445         Reduce time to expected nptl/tst-once5 failure.
18446         * nptl/tst-once5.cc (TIMEOUT): Define.
18448 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18450         [BZ #20452]
18451         Avoid additional copies of objects in libc.a in static libraries.
18452         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18453         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18454         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18455         rt-sysdep.
18456         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18457         Add nptl-sysdep.
18458         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18459         Add ptw-sysdep.
18460         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18461         rt-sysdep.
18462         * sysdeps/unix/sysv/linux/alpha/Makefile
18463         (libpthread-shared-only-routines): Add ptw-sysdep,
18464         ptw-sigprocmask, ptw-rt_sigaction.
18465         * sysdeps/unix/sysv/linux/ia64/Makefile
18466         (librt-shared-only-routines): Add rt-sysdep.
18467         * sysdeps/unix/sysv/linux/i386/Makefile
18468         (libpthread-shared-only-routines): Add libc-do-syscall.
18469         * sysdeps/unix/sysv/linux/microblaze/Makefile
18470         (libpthread-shared-only-routines): Add sysdep.
18471         * sysdeps/unix/sysv/linux/powerpc/Makefile
18472         (librt-shared-only-routines): Add rt-sysdep.
18473         (libpthread-shared-only-routines): Add sysdep.
18474         * sysdeps/unix/sysv/linux/s390/Makefile
18475         (librt-shared-only-routines): Add rt-sysdep.
18476         * sysdeps/unix/sysv/linux/sparc/Makefile
18477         (librt-shared-only-routines): Add rt-sysdep.
18478         (libpthread-shared-only-routines): Add sysdep.
18479         * sysdeps/unix/sysv/linux/tile/Makefile
18480         (libpthread-shared-only-routines): Likewise.
18482 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18484         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18485         Mask implicit bit out of unpacked value.
18486         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18490         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18492         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18494         * sysdeps/s390/fpu/fesetexcept.c: New file.
18496         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18497         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18498         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18500         * sysdeps/mips/fpu/fesetexcept.c: New file.
18502         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18504         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18506         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18508         * sysdeps/arm/fesetexcept.c: New file.
18510         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18512         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18514         * math/fesetexcept.c: New file.
18515         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18516         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18517         * math/fenv.h: Define
18518         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18519         <bits/libc-header-start.h> instead of including <features.h>.
18520         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18521         declaration.
18522         * manual/arith.texi (fesetexcept): Document function.
18523         * math/Versions (fesetexcept): New libm symbol at version
18524         GLIBC_2.25.
18525         * math/Makefile (libm-support): Add fesetexcept.
18526         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18527         * math/test-fesetexcept.c: New file.
18528         * math/test-fesetexcept-traps.c: Likewise.
18529         * sysdeps/nacl/libm.abilist: Update.
18530         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18531         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18532         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18533         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18534         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18535         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18536         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18537         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18538         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18539         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18540         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18541         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18543         Likewise.
18544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18545         Likewise.
18546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18547         Likewise.
18548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18549         Likewise.
18550         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18551         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18552         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18553         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18554         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18556         Likewise.
18557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18558         Likewise.
18559         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18560         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18561         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18563 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18565         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18566         New.
18567         (do_test): Apply default_stack_size_in_mb if not set.
18568         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18570 2016-08-15  Andreas Schwab  <schwab@suse.de>
18572         [BZ #20435]
18573         CVE-2016-6323
18574         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18575         as .cantunwind.
18577 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18579         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18580         comment from fraiseexcpt.c.
18582         * math/test-fexcept.c (feraiseexcept_exact): New function.
18583         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18584         (test_except): Likewise.
18586 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18588         [BZ #20455]
18589         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18590         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18591         to be restored.
18593         * math/test-fexcept-traps.c: New file.
18594         * math/test-fexcept.c: Likewise.
18595         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18596         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18597         macro.
18598         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18599         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18601 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18603         * include/atomic.h (atomic_fetch_and_relaxed,
18604         atomic_fetch_and_release, atomic_fetch_or_release,
18605         atomic_fetch_xor_release): New.
18607 2016-08-06  Christian Seiler  <christian@iwakd.de>
18609         [BZ #20444]
18610         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18611         MACH_PORT_NULL.
18613 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18615         * math/s_fdim.c: Avoid alias renamed.
18616         * math/s_fdimf.c: Likewise.
18617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18618         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18619         Add s_fdimf-vis3, s_fdim-vis3.
18620         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18621         (CFLAGS-s_fdim-vis3.c): Likewise.
18622         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18623         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18625 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18628         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18629         Remove s_fdimf-vis3, s_fdim-vis3.
18630         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18631         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18638         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18639         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18641 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18643         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18644         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18645         -Wa,-Av9a -mvis.
18647 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18649         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18650         LIT() to individual constants in simple expressions
18651         after splitting on spaces.
18652         (_apply_lit): Rename replaced version, and use it to
18653         apply to what appears to be a token.
18655         * math/libm-test.inc: Fix many, many issues with
18656         spacing.
18658 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18660         * math/math.h: Move comment about <bits/mathdef.h> definitions
18661         above inclusion of <bits/mathdef.h>.  Do not mention
18662         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18664 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18666         * include/atomic.h (atomic_exchange_relaxed): New.
18668 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18670         * math/e_scalb.c: Do not include <fenv.h>.
18671         (invalid_fn): Do calculation resulting in NaN instead of raising
18672         FE_INVALID and returning a NaN explicitly.
18673         * math/e_scalbf.c: Do not include <fenv.h>.
18674         (invalid_fn): Do calculation resulting in NaN instead of raising
18675         FE_INVALID and returning a NaN explicitly.
18676         * math/e_scalbl.c: Do not include <fenv.h>.
18677         (invalid_fn): Do calculation resulting in NaN instead of raising
18678         FE_INVALID and returning a NaN explicitly.
18680 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18682         * po/de.po: Updated from Translation Project.
18683         * po/fi.po: Likewise.
18684         * po/sv.po: Likewise.
18686 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18688         [BZ #20452]
18689         Use sysdep.o from libc.a in static libraries.
18690         * sysdeps/unix/sysv/linux/i386/Makefile
18691         (libpthread-shared-only-routines): Add sysdep.
18692         (librt-shared-only-routines): Likewise.
18694 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18696         * math/tgmath.h (nextdown): Define if
18697         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18698         (nextup): Likewise.
18700         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18701         macro.
18702         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18703         Document.
18704         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18705         Document macro.
18706         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18707         (exp10f): Likewise.
18708         (exp10l): Likewise.
18709         * math/bits/mathcalls.h (exp10): Declare if
18710         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18712         * manual/arith.texi (nextup): Fix typo in last change.
18714 2016-08-03  Zack Weinberg  <zackw@panix.com>
18716         [BZ #19239]
18717         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18718         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18719         define major, minor, and makedev to issue deprecation warnings on use.
18720         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18721         previously-activated deprecation warnings for these macros and prevent
18722         subsequent inclusions of this header from having any effect.
18723         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18724         including <sys/sysmacros.h>, and undefine it again afterward.
18726 2016-08-03  Zack Weinberg  <zackw@panix.com>
18728         * sysdeps/generic/sys/sysmacros.h: Delete file.
18729         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18730         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18731         * bits/sysmacros.h: ... here; this encoding is now the generic
18732         encoding.  Now defines only the following macros:
18733         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18734         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18735         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18737         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18738         bits/sysmacros.h and the above new macros to generate the
18739         public implementations of major, minor, and makedev.
18740         * misc/tst-makedev.c: New test.
18741         * include/sys/sysmacros.h: New wrapper.
18743         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18744         (routines): Add makedev.
18745         (tests): Add tst-makedev.
18746         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18747         gnu_dev_makedev.
18748         * posix/Makefile (headers): Remove sys/sysmacros.h.
18749         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18751         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18752         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18753         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18754         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18755         * sysdeps/unix/sysv/linux/arm/libc.abilist
18756         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18757         * sysdeps/unix/sysv/linux/i386/libc.abilist
18758         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18759         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18760         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18761         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18762         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18763         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18764         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18765         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18766         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18771         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18772         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18773         * sysdeps/unix/sysv/linux/sh/libc.abilist
18774         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18775         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18778         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18779         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18780         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18781         Add GLIBC_2.25.
18783         * include/features.h (__glibc_clang_prereq): New macro.
18784         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18785         (__attribute_deprecated_msg__): New macros.
18787 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18789         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18790         macro.
18791         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18792         * manual/arith.texi (issignaling): Document as ISO from TS
18793         18661-1:2014.
18794         (nextup): Likewise.
18795         (nextupf): Likewise.
18796         (nextupl): Likewise.
18797         (nextdown): Likewise.
18798         (nextdownf): Likewise.
18799         (nextdownl): Likewise.
18800         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18801         macro.
18802         * math/math.h: Define
18803         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18804         <bits/libc-header-start.h> instead of including <features.h>.
18805         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18806         [__USE_GNU].
18807         * math/bits/mathcalls.h (nextdown): Declare if
18808         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18809         (nextup): Likewise.
18810         (__issignaling): Likewise.
18812 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18814         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18815         check, and remove __glibc_likely hint
18816         from FP_INFINITE check.
18817         * s_csinhf.c (__csinhf): Likewise.
18819         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18820         hint from FP_INFINITE check.
18821         * s_csinhl.c (__csinhl): Likewise.
18823 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18825         * math/Makefile (libm-calls): Insert F placeholder into
18826         object names.  Move w_lgamma_compat* routines into
18827         (libm-compat-calls): New variable.
18828         (libm-compat-calls-ldouble-yes): New variable.
18829         (calls): Insert F placeholder.
18830         (generated): Redefine using new type-foreach macro call.
18831         (routines): Likewise.
18833         (types): New variable to hold a list of symbolic names
18834         for each type supported by the target machine.
18835         (libm-routines): Redefine using new types variable.
18836         (type-foreach): macro to replace fooF with the
18837         appropriately suffixed foo for each types.
18839         (type-ldouble-suffix): New variable.
18840         (type-ldouble-routines): Likewise.
18841         (type-ldouble-yes): Likewise.
18842         (type-double-suffix): Likewise.
18843         (type-double-routines): Likewise.
18844         (type-float-suffix): Likewise.
18845         (type-float-routines): Likewise.
18847         (dbl-only-routines): Remove.
18848         (long-c-yes): Likewise.
18849         (long-m-routines): Likewise.
18850         (long-m-support): Likewise.
18851         (long-m-yes): Likewise.
18852         (test-longdouble-yes): Likewise.
18854         (test-float.o): Simplify by increasing the scope of the
18855         recipe which adds libm-test.stmp to the vector types.
18856         (test-ifloat.o): Likewise.
18857         (test-float-finite.o): Likewise.
18858         (test-double.o): Likewise
18859         (test-idouble.o): Likewise.
18860         (test-double-finite.o): Likewise.
18861         (test-ldouble.o): Likewise
18862         (test-ildoubl.o): Likewise.
18863         (test-ldouble-finite.o): Likewise.
18865         (libm-tests): Redefine type tests using foreach and the
18866         list of types in types.
18868         (CPPFLAGS-test-ildoubl.c): Rename to
18869         (CPPFLAGS-test-ildouble.c): New variable
18871         * math/test-ildoubl.c: Rename to
18872         * math/test-ildouble.c: New file.
18874 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18876         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18877         Use fabsl instead of fabs.
18878         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18879         Likewise.
18880         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18881         Add long double suffix to constant to ensure proper
18882         promotion to long double.
18884 2016-08-03  Tom Tromey  <tom@tromey.com>
18886         [BZ #20311]
18887         * nptl_db/Makefile (headers): Add proc_service.h.
18888         * nptl_db/proc_service.h: Add include guard.  Use
18889         __BEGIN/__END_DECLS.
18890         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18891         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18892         arguments.
18895 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18897         [BZ #17730]
18898         Avoid using memalign for TCB allocations.
18899         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18900         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18901         Avoid alignment gap in the TLS_DTV_AT_TP case.
18902         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18903         determine the pointer to free.
18904         * nptl/tst-tls3-malloc.c: New test.
18905         * nptl/Makefile (tests): Add it.
18906         (tst-tls3-malloc): Link with libdl, libpthread.
18907         (LDFLAGS-tst-tls3-malloc): Set.
18908         (tst-tls3-malloc.out): Depend on DSO used in test.
18910 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18912         [BZ #17730]
18913         Avoid using memalign for TLS allocations.
18914         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18915         is_static member with to_free member.
18916         (union dtv): Use struct dtv_pointer.
18917         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18918         dtv_pointer instead of is_static.
18919         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18920         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18921         instead of val.
18922         (allocate_dtv_entry): New function.
18923         (allocate_and_init): Return struct dtv_pointer.  Call
18924         allocate_dtv_entry instead of __libc_memalign.
18925         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18926         instead of val.
18927         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18928         instead of is_static.  Adjust call to allocate_and_init.
18929         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18930         struct dtv_pointer instead of val.
18932 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18934         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18935         (MALLOC_ALIGN_MASK): Move ...
18936         * malloc/malloc-internal.h: ... to here.
18937         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18939 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18941         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18942         (UDP_ENCAP_GTP1U): Likewise.
18944         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18945         (PF_MAX): Update value.
18946         (AF_QIPCRTR): New macro.
18948 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18950         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18951         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18952         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18953         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18954         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18955         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18956         s_truncf-vis3, s_trunc-vis3.
18957         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18958         (CFLAGS-s_ceil-vis3.c): Likewise.
18959         (CFLAGS-s_floorf-vis3.c): Likewise.
18960         (CFLAGS-s_floor-vis3.c): Likewise.
18961         (CFLAGS-s_truncf-vis3.c): Likewise.
18962         (CFLAGS-s_trunc-vis3.c): Likewise.
18963         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18967         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18971         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18972         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18974         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18976 2016-08-02  David S. Miller  <davem@davemloft.net>
18978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18979         (__nearbyint_vis3): Don't check for sNaN before float register is
18980         loaded with the incoming argument.
18981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18982         (__nearbyintf_vis3): Likewise.
18983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18984         Likewise.
18985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18986         Likewise.
18988         * string/test-strncmp.c (do_test_limit): Make sure the test data
18989         stream is aligned as required for the type "CHAR".
18990         (do_test): Likewise.
18992 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18994         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18995         by beq instructions jumping to the end of the function.
18996         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18997         clobber list. Use "i" constraint instead of "X".
18998         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18999         of "X".
19001 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
19003         * bits/libc-header-start.h: New file.
19004         * Makefile (headers): Add bits/libc-header-start.h.
19005         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
19006         (__GLIBC_USE): New macro.
19007         * libio/stdio.h: Define
19008         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19009         <bits/libc-header-start.h> instead of including <features.h>.
19010         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
19011         (open_memstream): Likewise.
19012         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
19013         (__asprintf): Likewise.
19014         (asprintf): Likewise.
19015         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
19016         (getdelim): Likewise.
19017         (getline): Likewise.
19018         * string/string.h: Define
19019         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19020         <bits/libc-header-start.h> instead of including <features.h>.
19021         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
19022         (strndup): Likewise.
19023         * wcsmbs/wchar.h: Define
19024         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19025         <bits/libc-header-start.h> instead of including <features.h>.
19026         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
19027         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
19029 2016-08-02  Florian Weimer  <fweimer@redhat.com>
19031         Support linking against compatibility symbols, for use in tests.
19032         * include/libc-symbols.h (symbol_version_reference): New macro.
19033         (symbol_version): Use it.
19034         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
19035         (compat_symbol): Use compat_symbol_reference.
19036         (compat_symbol_1, compat_symbol_2): Remove.
19037         (compat_symbol_reference, compat_symbol_reference_1)
19038         (compat_symbol_reference_2): New macro.  Use
19039         symbol_version_reference.
19041 2016-08-02  Florian Weimer  <fweimer@redhat.com>
19043         [BZ #19469]
19044         * malloc/Makefile (CPPFLAGS): Compile tests with
19045         -DTEST_NO_MALLOPT.
19046         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
19048 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
19050         [BZ #20033]
19051         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
19052         finite version.
19053         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
19054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
19055         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
19056         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
19057         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
19058         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
19059         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
19060         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
19061         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
19062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
19063         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
19064         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
19065         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
19066         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
19067         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
19068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
19069         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
19070         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
19071         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
19072         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
19073         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
19074         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
19075         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
19076         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
19077         in zero power.
19079 2016-08-02  Florian Weimer  <fweimer@redhat.com>
19081         [BZ #20370]
19082         * malloc/arena.c (get_free_list): Update comment.  Assert that
19083         arenas on the free list have no attached threads.
19084         (remove_from_free_list): New function.
19085         (reused_arena): Call it.
19087 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
19089         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
19090         when it is a NaN.
19091         [_IEEE_FP_INEXACT] Remove.
19092         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
19093         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
19094         when it is a NaN.
19095         [_IEEE_FP_INEXACT] Remove.
19096         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
19097         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
19098         when it is a NaN.
19099         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
19100         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
19101         when its absolute value is greater than 0x1.0p52.
19102         [_IEEE_FP_INEXACT] Remove.
19103         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
19104         when its absolute value is greater than 0x1.0p23.
19105         [_IEEE_FP_INEXACT] Remove.
19107 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
19109         * version.h (RELEASE): Set to "development"
19110         (VERSION): Set to 2.24.90.
19111         * NEWS: Add 2.25 section.
19113         * version.h (RELEASE): Set to "stable"
19114         (VERSION): Set to 2.24.
19115         * include/features.h (__GLIBC_MINOR__): Set to 24.
19117         * NEWS: Add 2.24 fixed bugs.
19118         * po/libc.pot: Regenerate.
19120 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
19122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19123         [$(subdir) = math] (libm-sysdep_routines): Remove.
19124         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19125         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
19126         s_truncf-vis3, s_trunc-vis3.
19127         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19129         file.
19130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
19131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
19132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
19136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
19137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
19139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
19140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
19141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
19142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
19143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
19144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
19145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
19149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
19150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
19151         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
19152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19157         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
19158         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19163         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19164         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19165         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19166         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19167         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19168         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19169         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19170         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19171         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19172         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19174 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
19176         [BZ #20384]
19177         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19178         test-double-libmvec-sincos-avx-main.o,
19179         test-double-libmvec-sincos-avx2-main.o,
19180         test-double-libmvec-sincos-main.o,
19181         test-float-libmvec-sincosf-avx-main.o,
19182         test-float-libmvec-sincosf-avx2-main.o and
19183         test-float-libmvec-sincosf-main.o.
19184         test-float-libmvec-sincosf-avx512-main.o.
19185         ($(objpfx)test-double-libmvec-sincos): Also link with
19186         $(objpfx)test-double-libmvec-sincos-main.o.
19187         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19188         $(objpfx)test-double-libmvec-sincos-avx-main.o.
19189         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19190         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19191         ($(objpfx)test-float-libmvec-sincosf): Also link with
19192         $(objpfx)test-float-libmvec-sincosf-main.o.
19193         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19194         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19195         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19196         test-double-libmvec-sincos-avx512-main.o and
19197         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19198         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19199         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19200         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19201         (CFLAGS-test-double-libmvec-sincos.c): Removed.
19202         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19203         (CFLAGS-test-double-libmvec-sincos-main.c): New.
19204         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19205         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19206         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19207         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19208         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19209         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19210         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19211         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19212         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19213         -DREQUIRE_AVX2.
19214         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19215         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19216         -DREQUIRE_AVX512F.
19217         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19218         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19219         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19220         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19221         file.
19222         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19223         Likewise.
19224         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19225         Likewise.
19226         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19227         Likewise.
19228         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19229         Likewise.
19230         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19231         Likewise.
19232         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19233         Likewise.
19234         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19235         Likewise.
19237 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
19239         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19241 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
19243         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19244         and typo in a comment about AT_HWCAP entry.
19246 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19248         * sysdeps/aarch64/libm-test-ulps: Updated.
19250 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19252         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19253         of r13 as it is not restored in mvcle case.
19255 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
19257         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19258         Rename "ret" to "__ret".
19259         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19260         inline_syscall5, inline_syscall6): Likewise.
19262 2016-07-19   Will Newton  <will.newton@gmail.com>
19264         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19265         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19266         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19267         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19268         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19270 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19272         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19273         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19274         -mfpmath=387 with $(rtld-CFLAGS).
19275         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19276         $(rtld-CFLAGS).
19278 2016-07-18   Ross Burton  <ross.burton@intel.com>
19279              Khem Raj  <raj.khem@gmail.com>
19281         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19282         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19283         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19284         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19285         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19286         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19287         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19288         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19289         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19290         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19291         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19292         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19293         R_METAG_TLS_DTPOFF): New.
19295 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19296             Matt Clay  <mclay@lycos.com>
19298         [BZ #20357]
19299         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19300         to call __mpsin/__mpcos and to negate values.
19301         * math/auto-libm-test-in: Add test.
19302         * math/auto-libm-test-out: Regenerate.
19304 2016-07-18  Zack Weinberg  <zackw@panix.com>
19306         * grp/Makefile: Don't install the internal header grp-merge.h.
19308 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19310         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19312 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19314         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19316 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19318         [BZ #15368]
19319         * sysdeps/unix/sysv/linux/nptl-signals.h
19320         (__nptl_clear_internal_signals): New function.
19321         (__libc_signal_block_all): Likewise.
19322         (__libc_signal_block_app): Likewise.
19323         (__libc_signal_restore_set): Likewise.
19324         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19325         implementation.
19326         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19327         the cached pid/tid value in pthread structure.
19329 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19331         [BZ #20347]
19332         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19334 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19336         [BZ #20348]
19337         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19338         preadv64, pwrite64 and pwritev64.
19340 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19342         [BZ #20350]
19343         * posix/tst-preadwrite.c: Renamed to ...
19344         * posix/tst-preadwrite-common.c: This.
19345         (PREAD): Removed.
19346         (PWRITE): Likewise.
19347         (STRINGIFY): Likewise.
19348         (STRINGIFY2): Likewise.
19349         (do_prepare): Make it static and remove function arguments.
19350         (do_test): Likewise.
19351         (PREPARE): Updated.
19352         (TEST_FUNCTION): New.
19353         (name): Make it static.
19354         (fd): Likewise.
19355         (do_prepare): Use create_temp_file.
19356         (do_test): Renamed to ...
19357         (do_test_with_offset): This.  Make it static and accept offset.
19358         Properly check return value of PWRITE and PREAD.  Return bytes
19359         read.  Don't close fd nor unlink name.
19360         * posix/tst-preadwrite.c: Rewrite.
19361         * posix/tst-preadwrite64.c: Likewise.
19363 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19365         [BZ #20309]
19366         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19367         -mtls-dialect=gnu2 works.
19368         * configure: Regenerated.
19369         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19370         (tests): Add tst-gnu2-tls1.
19371         (modules-names): Add tst-gnu2-tls1mod.
19372         ($(objpfx)tst-gnu2-tls1): New.
19373         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19374         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19375         * elf/tst-gnu2-tls1.c: New file.
19376         * elf/tst-gnu2-tls1mod.c: Likewise.
19377         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19378         bytes for push in the PLT entry to align the stack.
19380 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19382         [BZ #20349]
19383         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19385 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19387         [BZ #18707]
19388         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19389         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19391 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19393         * sysdeps/unix/sysv/linux/sysdep.h
19394         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19395         guards.
19396         * misc/tst-preadvwritev-common.c: New file.
19397         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19398         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19399         a check for files larger than 2GB.
19401         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19402         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19403         * sysdeps/unix/sysv/linux/pread.c
19404         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19405         __OFF_T_MATCHES_OFF64_T.
19406         * sysdeps/unix/sysv/linux/pread64.c
19407         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19408         * sysdeps/unix/sysv/linux/preadv.c
19409         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19410         * sysdeps/unix/sysv/linux/preadv64.c
19411         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19412         * sysdeps/unix/sysv/linux/pwrite.c
19413         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19414         * sysdeps/unix/sysv/linux/pwrite64.c
19415         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19416         * sysdeps/unix/sysv/linux/pwritev.c
19417         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19418         * sysdeps/unix/sysv/linux/pwritev64.c
19419         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19421 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19423         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19424         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19426 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19428         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19430 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19432         [BZ #20240]
19433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19434         (CFLAGS-s_modf-ppc32.c): New variable.
19435         (CFLAGS-s_modff-ppc32.c): Likewise.
19436         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19437         (CFLAGS-s_modf-ppc64.c): Likewise.
19438         (CFLAGS-s_modff-ppc64.c): Likewise.
19440 2016-07-07  Andreas Schwab  <schwab@suse.de>
19442         [BZ #20263]
19443         * nptl/tst-robust10.c: New test.
19444         * nptl/Makefile (tests): Add tst-robust10.
19446 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19448         [BZ #20263]
19449         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19451 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19453         * sysdeps/s390/linkmap.h (struct link_map_machine):
19454         Remove member gotplt and add member jmprel.
19455         * sysdeps/s390/s390-32/dl-machine.h
19456         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19457         instead of gotplt with &got[3].
19458         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19459         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19461 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19463         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19465 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19467         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19468         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19469         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19470         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19471         * libio/vtables.c (_IO_vtable_check)
19472         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19473         * libio/libioP.h (IO_set_accept_foreign_vtables)
19474         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19476 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19478         [BZ #20314]
19479         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19480         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19481         $(common-objpfx)cmath.
19482         ($(common-objpfx)cstdlib): New target.
19483         ($(common-objpfx)cmath): Likewise.
19485 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19487         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19489 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19491         [BZ #20327]
19492         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19493         are not part of the string.
19495 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19497         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19498         * nptl/tst-cancel4-common.h (fifoname): New variable.
19499         (fifofd): Likewise.
19500         (cl_fifo): New function.
19501         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19502         SIGINT.
19503         (tf_open): Add early cancel test.
19505 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19507         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19509 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19511         * sysdeps/generic/ldsodefs.h
19512         (dl_symbol_visibility_binds_local_p): New inline function.
19513         * elf/dl-addr.c (determine_info): Treat hidden and internal
19514         symbols as local.
19515         * elf/dl-lookup.c (do_lookup_x): Likewise.
19516         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19518 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19520         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19521         invalid exception for a sNaN input.
19522         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19523         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19524         (__nearbyint_vis3): Likewise
19525         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19526         (__nearbyintf_vis3): Likewise
19527         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19528         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19529         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19530         Likewise.
19531         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19532         Likewise.
19534 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19536         [BZ #20139]
19537         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19538         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19539         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19540         2.24 or above.
19541         (HAVE_AVX512_ASM_SUPPORT): Removed.
19542         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19543         * sysdeps/x86_64/configure: Regenerated.
19544         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19545         check unconditional.
19546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19547         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19548         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19549         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19550         Likewise.
19551         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19552         Likewise.
19553         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19554         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19555         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19556         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19557         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19558         Likewise.
19559         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19560         Likewise.
19561         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19562         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19563         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19564         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19565         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19566         Likewise.
19567         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19568         Likewise.
19569         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19570         Likewise.
19571         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19572         Likewise.
19573         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19574         Likewise.
19575         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19576         Likewise.
19577         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19578         Likewise.
19579         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19580         Likewise.
19581         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19582         Likewise.
19583         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19584         Likewise.
19585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19586         Likewise.
19588 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19590         [BZ #20024]
19591         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19592         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19593         of this implementation of vector function.
19594         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19596         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19597         Likewise.
19598         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19600         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19601         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19602         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19603         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19604         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19605         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19606         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19607         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19608         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19609         for testing vector sincos with fixed ABI.
19610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19611         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19616         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19617         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19618         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19619         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19620         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19621         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19622         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19623         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19624         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19625         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19627 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19629         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19631 2016-06-30  Anton Blanchard  <anton@samba.org>
19633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19634         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19635         s_sinf-ppc64.
19636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19639         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19641 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19644         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19645         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19646         e_expf-ppc64.
19647         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19648         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19650         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19652 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19654         [BZ #20277]
19655         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19656         when SHARED is defined.
19658 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19660         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19661         (index_arch_Prefer_ERMS): Likewise.
19662         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19663         __memcpy_erms for Prefer_ERMS.
19664         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19665         (__memmove_erms): Enabled for libc.a.
19666         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19667         __memmove_erms or Prefer_ERMS.
19668         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19669         __mempcpy_erms for Prefer_ERMS.
19670         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19671         __memset_erms for Prefer_ERMS.
19673 2016-06-30  Andreas Schwab  <schwab@suse.de>
19675         [BZ #20262]
19676         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19677         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19678         of memory.
19680 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19682         [BZ #18645]
19683         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19684         (test-extras): Add tst-cleanupx4aux.
19685         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19686         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19687         tst-cleanupx4aux.o.
19688         * nptl/tst-cleanupx4aux.c: New file.
19690 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19692         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19694 2016-06-29  Andreas Schwab  <schwab@suse.de>
19696         [BZ #20260]
19697         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19698         address before the beginning of the string as an integer to avoid
19699         array-bounds warning.
19701 2016-06-28  Richard Henderson  <rth@redhat.com>
19703         * elf/elf.h (EM_BPF): New.
19704         (EM_NUM): Update.
19705         (R_BPF_NONE, R_BPF_MAP_FD): New.
19707         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19708         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19709         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19710         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19711         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19712         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19713         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19714         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19715         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19716         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19717         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19718         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19719         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19720         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19721         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19722         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19723         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19724         (EM_NUM): Update.
19726 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19728         [BZ #18960]
19729         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19730         Set _nl_current_LC_CATEGORY_used to two instead of one.
19732 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19734         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19735         (do_test): ... this.
19736         (TEST_FUNCTION): New macro.
19737          Include test-skeleton.c.
19738         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19739         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19741 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19743         [BZ #15479]
19744         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19745         floating-point environment rather than just control word.
19746         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19747         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19748         floating-point environment, with "invalid" exceptions merged in,
19749         rather than just control word.
19750         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19751         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19752         "inexact" exceptions.
19754         [BZ #15479]
19755         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19756         floating-point environment rather than just control word.
19757         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19758         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19759         floating-point environment, with "invalid" exceptions merged in,
19760         rather than just control word.
19761         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19762         * math/libm-test.inc (floor_test_data): Do not allow spurious
19763         "inexact" exceptions.
19765         [BZ #15479]
19766         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19767         floating-point environment rather than just control word.
19768         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19769         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19770         floating-point environment, with "invalid" exceptions merged in,
19771         rather than just control word.
19772         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19773         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19774         "inexact" exceptions.
19776 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19778         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19779         __libc_vfork.
19780         (__vfork) [IS_IN (libc)]: Remove alias.
19781         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19782         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19783         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19785 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19787         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19788         of atomic_compare_and_exchange_bool_rel.
19789         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19790         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19791         catomic_compare_and_exchange_bool_rel): Remove.
19792         * sysdeps/aarch64/atomic-machine.h
19793         (atomic_compare_and_exchange_bool_rel): Likewise.
19794         * sysdeps/alpha/atomic-machine.h
19795         (atomic_compare_and_exchange_bool_rel): Likewise.
19796         * sysdeps/arm/atomic-machine.h
19797         (atomic_compare_and_exchange_bool_rel): Likewise.
19798         * sysdeps/mips/atomic-machine.h
19799         (atomic_compare_and_exchange_bool_rel): Likewise.
19800         * sysdeps/microblaze/atomic-machine.h
19801         ( __arch_compare_and_exchange_bool_8_rel,
19802         __arch_compare_and_exchange_bool_16_rel): Likewise.
19803         * sysdeps/powerpc/atomic-machine.h
19804         ( __arch_compare_and_exchange_bool_8_rel,
19805         __arch_compare_and_exchange_bool_16_rel): Likewise.
19806         * sysdeps/powerpc/powerpc32/atomic-machine.h
19807         ( __arch_compare_and_exchange_bool_32_rel,
19808         __arch_compare_and_exchange_bool_64_rel): Likewise.
19809         * sysdeps/powerpc/powerpc64/atomic-machine.h
19810         ( __arch_compare_and_exchange_bool_32_rel,
19811         __arch_compare_and_exchange_bool_64_rel): Likewise.
19812         * sysdeps/tile/atomic-machine.h
19813         (atomic_compare_and_exchange_bool_rel): Likewise.
19815 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19817         [BZ #20296]
19818         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19819         when either argument is a NaN.
19820         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19821         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19823         * math/libm-test.inc (snan_value_ld): New macro.
19824         (isgreater_test_data): Add sNaN tests.
19825         (isgreaterequal_test_data): Likewise.
19826         (isless_test_data): Likewise.
19827         (islessequal_test_data): Likewise.
19828         (islessgreater_test_data): Likewise.
19829         (isunordered_test_data): Likewise.
19830         (nextafter_test_data): Likewise.
19831         (nexttoward_test_data): Likewise.
19832         (remainder_test_data): Likewise.
19833         (remquo_test_data): Likewise.
19834         (significand_test_data): Likewise.
19835         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19837 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19839         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19840         environment macros are defined.
19841         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19843 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19845         [BZ #20191]
19846         Implement vtable verification in libio.
19847         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19848         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19849         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19850         _IO_new_file_init_internal instead of _IO_file_init.
19851         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19852         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19853         * libio/Makefile (routines): Add vtables.
19854         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19855         (_IO_init): Remove, not for internal use.
19856         (_IO_init_internal): Declare, internal replacement for _IO_init.
19857         (_IO_file_init): Remove, not for internal use.
19858         (_IO_new_file_init): Remove, not for internal use.
19859         (_IO_new_file_init_internal): Declare, internal replacement for
19860         _IO_new_file_init.
19861         (_IO_old_file_init): Remove, not for internal use.
19862         (_IO_old_file_init_internal): Declare, internal replacement for
19863         _IO_old_file_init.
19864         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19865         internal use.
19866         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19867         Declare.
19868         (libio_vtable): New macro.
19869         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19870         functions.
19871         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19872         _IO_new_file_init.
19873         (_IO_new_file_init): New externally visible wrapper which disables
19874         vtable verification.
19875         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19876         Define as vtables.
19877         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19878         (_IO_init): New externally visible wrapper which disables
19879         vtable verification.
19880         * libio/iofdopen.c (_IO_new_fdopen): Call
19881         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19882         comment.
19883         * libio/iofopen.c (__fopen_internal): Call
19884         _IO_new_file_init_internal instead of _IO_file_init.
19885         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19886         Define as vtables.
19887         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19888         _IO_new_file_init_internal instead of _IO_file_init.
19889         * libio/iopopen.c (_IO_new_popen): Likewise.
19890         (_IO_proc_jumps): Define as vtable.
19891         * libio/iovdprintf.c (_IO_vdprintf): Call
19892         _IO_new_file_init_internal instead of _IO_file_init.
19893         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19894         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19895         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19896         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19897         _IO_old_file_init.
19898         (_IO_old_file_init): New externally visible wrapper which disables
19899         vtable verification.
19900         (_IO_old_file_jumps): Define as vtable.
19901         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19902         _IO_old_file_init_internal instead of _IO_old_file_init.
19903         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19904         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19905         (_IO_old_proc_jumps): Define as vtable.
19906         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19907         Define as vtables.
19908         * libio/vtables.c: New file.
19909         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19910         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19911         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19912         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19913         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19914         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19915         instead of _IO_init.
19917 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19919         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19921 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19923         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19924         potentially unused.
19926 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19928         * test-skeleton.c (write_message): New function.
19929         * malloc/tst-mallocfork2.c (write_message): Remove.
19930         * debug/tst-longjmp_chk2.c (write_indented): New function.
19931         (write_message): Remove.
19932         (stackoverflow_handler): Call write_indented.
19934 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19936         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19937         "inexact" exceptions after fnstenv.
19938         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19939         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19940         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19942 2015-06-22  Zack Weinberg  <zackw@panix.com>
19944         * sysdeps/generic/bits/hwcap.h: Moved to ...
19945         * bits/hwcap.h: Here.
19947 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19949         * sysdeps/aarch64/memcpy.S (memcpy):
19950         Further tuning for performance.
19952 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19954         [BZ #20284]
19955         * malloc/arena.c (reused_arena): Do not return NULL if we start
19956         out with a non-corrupted arena.
19958 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19960         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19961         * misc/tst-preadvwritev.c: New file.
19962         * misc/tst-preadvwritev64.c: Likewise.
19963         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19964         usage.
19965         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19966         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19967         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19968         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19970 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19972         [BZ #19654]
19973         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19974         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19975         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19976         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19977         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19978         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19979         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19980         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19981         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19982         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19983         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19984         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19985         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19986         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19987         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19988         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19989         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19990         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19991         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19992         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19993         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19994         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19995         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19996         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19997         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19998         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
20000 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
20002         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
20003         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
20005 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
20007         * sysdeps/aarch64/memcpy.S (memcpy):
20008         Rewrite of optimized memcpy and memmove.
20009         * sysdeps/aarch64/memmove.S (memmove): Remove
20010         memmove code (merged into memcpy.S).
20012 2016-06-20  Florian Weimer  <fweimer@redhat.com>
20014         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
20015         * sysdeps/generic/dl-dtv.h: New file.
20016         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20017         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
20018         (dtv_t): Remove.
20019         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20020         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
20021         (dtv_t): Remove.
20022         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20023         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
20024         (dtv_t): Remove.
20025         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20026         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
20027         (dtv_t): Remove.
20028         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20029         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
20030         (dtv_t): Remove.
20031         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20032         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
20033         (dtv_t): Remove.
20034         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20035         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
20036         (dtv_t): Remove.
20037         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
20038         (dtv_t): Remove.
20039         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20040         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
20041         (dtv_t): Remove.
20042         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20043         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
20044         (dtv_t): Remove.
20045         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20046         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
20047         (dtv_t): Remove.
20048         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20049         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
20050         (dtv_t): Remove.
20051         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20052         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
20053         (dtv_t): Remove.
20054         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20055         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
20056         (dtv_t): Remove.
20057         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20058         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
20059         (dtv_t): Remove.
20060         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20061         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
20062         (dtv_t): Remove.
20064 2016-06-20  Florian Weimer  <fweimer@redhat.com>
20066         Revert symbol poisoning of  __malloc_initialize_hook.
20067         * include/stdc-predef.h (__malloc_initialize_hook): Remove
20068         poisoning.
20069         * malloc/Makefile: Remove un-poisoning.
20070         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
20071         instead of old__malloc_initialize_hook.
20072         * malloc/malloc-hooks.h: Likewise.
20073         * malloc/malloc.c: Likewise.
20074         * malloc/mcheck-init.c: Likewise.
20076 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
20078         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
20080 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
20082         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
20083         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
20084         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
20085         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
20087 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20089         * NEWS: Mention addition of nextup and nextdown.
20090         * manual/arith.texi: Document nextup and nextdown.
20091         * manual/libm-err-tab.pl: Add nextup and nextdown.
20092         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
20093         * math/Versions (libm): Add GLIBC_2.24.
20094         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
20095         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20096         Add new test.
20097         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
20098         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
20099         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
20100         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
20101         (nextup_test_data): Likewise.
20102         (nextdown_test_data): Likewise.
20103         * math/s_nextdown.c: New file.
20104         * math/s_nextdownf.c: Likewise.
20105         * math/s_nextdownl.c: Likewise.
20106         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
20107         F(nextup): New function.
20108         F(nextdown): Likewise.
20109         * math/tgmath.h: Add nextup and nextdown.
20110         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
20111         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
20112         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
20113         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
20114         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
20115         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
20116         Add nextup and nextdown.
20117         (CFLAGS-nldbl-nextup.c): New variable.
20118         (CFLAGS-nldbl-nextdown.c): Likewise.
20119         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
20120         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
20121         * sysdeps/nacl/libm.abilist: Update.
20122         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20123         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20124         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20125         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20126         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20127         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20128         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20129         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20130         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20131         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20132         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20133         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20136         Likewise.
20137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20139         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20140         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20141         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20142         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20143         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
20145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
20146         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20147         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
20149         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20151 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20153         * manual/pattern.texi: Fix typos & grammar errors.
20155 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20157         * manual/search.texi: Fix typos & grammar errors.
20159 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20161         * manual/message.texi: Fix typos & grammar errors.
20163 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
20165         * manual/contrib.texi: Fix spelling typos.
20166         * manual/crypt.texi: Likewise.
20167         * manual/filesys.texi: Likewise.
20168         * manual/locale.texi: Likewise.
20169         * manual/message.texi: Likewise.
20170         * manual/nss.texi: Likewise.
20171         * manual/string.texi: Likewise.
20173 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20175         * manual/locale.texi: Fix typos & grammar errors.
20177 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20179         * manual/charset.texi: Fix typos & grammar errors.
20181 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20183         * manual/string.texi: Fix typos.
20185 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20187         * manual/ctype.texi: Fix typos.
20189 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20191         * manual/memory.texi: Fix various typos & grammar errors.
20193 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
20195         [BZ #20255]
20196         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
20197         * math/libm-test.inc (fdim_test_data): Add another test.
20199         [BZ #6796]
20200         [BZ #20255]
20201         [BZ #20256]
20202         * math/s_fdim.c: Include <math_private.h>.
20203         (__fdim): Use math_narrow_eval on result.
20204         * math/s_fdimf.c: Include <math_private.h>.
20205         (__fdimf): Use math_narrow_eval on result.
20206         * sysdeps/i386/fpu/s_fdim.S: Remove file.
20207         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20208         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20209         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20210         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20211         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20212         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20213         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20214         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20215         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20216         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20217         * math/libm-test.inc (fdim_test_data): Expect errno setting on
20218         overflow.  Add sNaN tests.
20220         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20221         fpclassify.
20222         * math/s_fdimf.c (__fdimf): Likewise.
20223         * math/s_fdiml.c (__fdiml): Likewise.
20225 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20227         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20228         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20229         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20230         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20231         ifunc'ed strcasecmp/strncasecmp.
20232         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20233         [EALIGN]: Removed.
20234         [END]: Likewise.
20235         [__strcasecmp]: Define instead of the above to control symbol name.
20236         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20237         for __strcasecmp_power8.
20238         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20239         for __strncasecmp_power8.
20240         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20242         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20243         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20244         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20245         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20247 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
20249         [BZ #20252]
20250         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20251         arguments when second argument is a NaN.
20252         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20253         qNaN tests.
20255         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20256         (conj_test_data): Likewise.
20257         (copysign_test_data): Likewise.
20258         (creal_test_data): Likewise.
20259         (fma_test_data): Likewise.
20260         (fmod_test_data): Likewise.
20262         [BZ #20250]
20263         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20264         itself.
20265         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20266         zero input to itself.
20267         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20268         Likewise.
20269         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20270         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20271         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20272         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20273         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20275 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20277         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20278         * nptl/tst-cancel4-common.c: New file.
20279         * nptl/tst-cancel4-common.h: Likewise.
20280         * nptl/tst-cancel4.c: Move common definitions to
20281         tst-cancel4-common.{c,h} file.
20282         * nptl/tst-cancel4_1.c: New test.
20283         * nptl/tst-cancel4_2.c: New test.
20285 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20287         [BZ #20248]
20288         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20289         (write_message): New function.
20290         (stackoverflow_handler): Call it instead of printf, to avoid
20291         excessive stack usage by printf.
20292         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20294 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20296         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20297         (prio_inherit_missing): Remove define.
20298         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20299         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20300         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20301         Likewise.
20302         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20303         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20304         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20305         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20306         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20307         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20309 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20311         [BZ #19670]
20312         [BZ #19672]
20314         * io/test-lfs.c (do_prepare): Use xmalloc.
20315         * io/tst-fcntl.c (do_prepare): Likewise.
20316         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20317         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20318         * login/tst-utmp.c (do_prepare): Likewise.
20319         * posix/tst-exec.c (do_prepare): Likewise.
20320         * posix/tst-pathconf.c (prepare): Likewise.
20321         * posix/tst-spawn.c (do_prepare): Likewise.
20322         * posix/tst-truncate.c (do_prepare): Likewise.
20323         * rt/tst-aio.c (do_prepare): Likewise.
20324         * rt/tst-aio64.c (do_prepare): Likewise.
20326 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20328         [BZ #20237]
20329         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20330         (get*ent): Set entidx to NULL during initialization.  If entidx is
20331         NULL, start iteration from the beginning.
20333 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20335         * malloc/malloc.c (musable): Return correct size for dumped fake
20336         mmapped chunk.
20338 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20340         [BZ #20222]
20341         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20342         (_IO_cookie_write): Likewise.
20343         (_IO_cookie_seek): Likewise.
20344         (_IO_cookie_close): Likewise.
20345         (_IO_old_cookie_seek): Likewise.
20346         (set_callbacks): New function.
20347         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20349 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20351         * locale/programs/localedef.c (oldstyle_tables): Remove.
20352         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20354 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20356         [BZ #20240]
20357         * math/Makefile (CFLAGS-s_modf.c): New variable.
20358         (CFLAGS-s_modff.c): Likewise.
20359         (CFLAGS-s_modfl.c): Likewise.
20360         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20362 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20364         [BZ #20215]
20365         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20366         [!__GNUC_PREREQ (3,2)]: Likewise.
20368 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20370         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20371         (msghdr.msg_controllen): Likewise.
20372         (cmsghdr.cmsg_len): Likewise.
20373         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20374         ptw-oldsendmsg.
20375         (CFLAGS-oldrecvmsg.c): Remove rule.
20376         (CFLAGS-oldsendmsg.c): Likewise.
20377         (CFLAGS-recvmsg.c): Add rule.
20378         (CFLAGS-sendmsg.c): Likewise.
20379         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20380         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20381         (CFLAGS-recvmsg.c): Remove rule.
20382         (CFLAGS-sendmsg.c): Likewise.
20383         (CFLAGS-oldrecvmsg.c): Likewise.
20384         (CFLAGS-oldsendmsg.c): Likewise.
20385         (CFLAGS-recvmmsg.c): Likewise.
20386         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20387         to kernel defined interfaces.
20388         (msghdr.msg_controllen): Likewise.
20389         (cmsghdr.cmsg_len): Likewise.
20390         (msghdr.__glibc_reserved1): Remove member.
20391         (msghdr.__glibc_reserved2): Likewise.
20392         (cmsghdr.__glibc_reserved1): Likewise.
20393         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20394         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20395         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20396         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20397         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20398         version.
20399         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20400         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20401         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20402         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20403         Remove recvmsg and sendmsg.
20404         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20405         Likewise.
20406         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20407         Likewise.
20408         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20409         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20410         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20411         Likewise.
20412         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20413         Likewise.
20414         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20415         [libc] (GLIBC_2.24): Likewise.
20416         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20417         Likewise.
20418         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20419         Likewise.
20420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20421         [libc] (GLIBC_2.24): Likewise.
20422         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20423         Likewise.
20424         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20425         Likewise.
20426         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20427         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20428         Likewise.
20429         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20430         Likewise.
20431         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20432         Likewise.
20433         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20434         Likewise.
20435         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20436         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20437         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20438         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20439         version for {recv,send,recm,sendm}msg.
20440         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20441         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20442         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20443         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20444         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20445         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20446         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20447         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20448         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20449         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20450         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20451         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20453         Likewise.
20454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20455         Likewise.
20456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20458         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20459         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20460         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20461         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20462         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20463         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20464         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20466         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20467         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20468         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20470 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20472         [BZ #19564]
20473         Remove __malloc_initialize_hook from the API.
20474         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20475         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20476         #pragma GCC poison.
20477         * malloc/malloc-hooks.h: New file.
20478         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20479         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20480         (old__malloc_initialize_hook): Rename from
20481         __malloc_initialize_hook to evade poisoning.  Turn into compat
20482         symbol.
20483         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20484         __malloc_initialize_hook.
20485         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20486         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20487         * manual/memory.texi (Hooks for Malloc): Remove
20488         __malloc_initialize_hook.  Adjust hook example.
20490 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20492         [BZ #20235]
20493         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20494         itself.
20495         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20496         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20498         [BZ #20234]
20499         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20500         infinity or NaN input to itself.
20502         [BZ #20233]
20503         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20504         to itself.
20506         [BZ #20232]
20507         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20508         itself.
20510 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20512         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20513         __libc_start_main via GOT.
20515 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20517         * sysdeps/x86_64/memcopy.h: New file.
20518         * sysdeps/x86_64/wordcopy.c: Likewise.
20520 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20522         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20523         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20524         <cstdlib>.
20525         (optimization_barrier): New.
20526         (do_test): Use it.  Call quick_exit in the global namespace.
20527         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20528         instead of <cstdlib>, <thread>.
20529         (optimization_barrier): New.
20530         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20531         Call quick_exit in the global namespace.
20532         (do_test): Call optimization_barrier.  Use pthread_create,
20533         pthread_join instead of std::thread.
20535 2016-06-09  Andreas Schwab  <schwab@suse.de>
20537         [BZ #19755]
20538         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20539         new entries in auto-propagate mode.
20540         * nscd/grpcache.c (cache_addgr): Likewise.
20542 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20544         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20545         New functions.
20546         (add_temp_file): Use them.
20548 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20550         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20552 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20554         [BZ #20229]
20555         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20556         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20557         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20559         [BZ #20228]
20560         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20561         itself.
20562         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20563         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20565         [BZ #20227]
20566         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20567         itself.
20568         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20569         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20570         * math/libm-test.inc (log_test_data): Add sNaN tests.
20572         [BZ #20226]
20573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20574         itself.
20575         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20576         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20577         (exp10_test_data): Likewise.
20578         (expm1_test_data): Likewise.
20580         [BZ #20225]
20581         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20582         itself.
20583         * math/s_ldexpf.c (__ldexpf): Likewise.
20584         * math/s_ldexpl.c (__ldexpl): Likewise.
20585         * math/w_scalbln.c (__w_scalbln): Likewise.
20586         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20587         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20588         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20589         (scalbln_test_data): Likewise.
20591         [BZ #20224]
20592         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20593         argument to itself.
20594         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20596 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20598         [BZ #19776]
20599         * sysdeps/x86_64/memcpy.S: Make it dummy.
20600         * sysdeps/x86_64/mempcpy.S: Likewise.
20601         * sysdeps/x86_64/memmove.S: New file.
20602         * sysdeps/x86_64/memmove_chk.S: Likewise.
20603         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20604         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20605         * sysdeps/x86_64/memmove.c: Removed.
20606         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20607         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20608         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20609         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20610         Likewise.
20611         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20612         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20613         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20614         memcpy-sse2-unaligned, memmove-avx-unaligned,
20615         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20616         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20617         (__libc_ifunc_impl_list): Replace
20618         __memmove_chk_avx512_unaligned_2 with
20619         __memmove_chk_avx512_unaligned.  Remove
20620         __memmove_chk_avx_unaligned_2.  Replace
20621         __memmove_chk_sse2_unaligned_2 with
20622         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20623         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20624         with __memmove_avx512_unaligned.  Replace
20625         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20626         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20627         with __memcpy_chk_avx512_unaligned.  Remove
20628         __memcpy_chk_avx_unaligned_2.  Replace
20629         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20630         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20631         Replace __memcpy_avx512_unaligned_2 with
20632         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20633         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20634         with __mempcpy_chk_avx512_unaligned.  Remove
20635         __mempcpy_chk_avx_unaligned_2.  Replace
20636         __mempcpy_chk_sse2_unaligned_2 with
20637         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20638         Replace __mempcpy_avx512_unaligned_2 with
20639         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20640         Replace __mempcpy_sse2_unaligned_2 with
20641         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20642         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20643         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20644         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20645         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20646         (ENTRY): Removed.
20647         (END): Likewise.
20648         (ENTRY_CHK): Likewise.
20649         (libc_hidden_builtin_def): Likewise.
20650         Don't include ../memcpy.S.
20651         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20652         __memcpy_chk_avx512_unaligned_erms and
20653         __memcpy_chk_avx512_unaligned.  Use
20654         __memcpy_chk_avx_unaligned_erms and
20655         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20656         Default to __memcpy_chk_sse2_unaligned.
20657         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20658         Change function suffix from unaligned_2 to unaligned.
20659         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20660         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20661         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20662         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20663         (ENTRY): Removed.
20664         (END): Likewise.
20665         (ENTRY_CHK): Likewise.
20666         (libc_hidden_builtin_def): Likewise.
20667         Don't include ../mempcpy.S.
20668         (mempcpy): New.  Add a weak alias.
20669         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20670         __mempcpy_chk_avx512_unaligned_erms and
20671         __mempcpy_chk_avx512_unaligned.  Use
20672         __mempcpy_chk_avx_unaligned_erms and
20673         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20674         Default to __mempcpy_chk_sse2_unaligned.
20676 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20678         [BZ #19881]
20679         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20680         into ...
20681         * sysdeps/x86_64/memset.S: This.
20682         (__bzero): Removed.
20683         (__memset_tail): Likewise.
20684         (__memset_chk): Likewise.
20685         (memset): Likewise.
20686         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20687         defined.
20688         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20689         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20690         (__memset_zero_constant_len_parameter): Check SHARED instead of
20691         PIC.
20692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20693         memset-avx2 and memset-sse2-unaligned-erms.
20694         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20695         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20696         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20697         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20698         (__bzero): Enabled.
20699         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20700         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20701         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20702         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20703         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20704         (memset): Removed.
20705         (__memset_chk): Likewise.
20706         (MEMSET_SYMBOL): New.
20707         (libc_hidden_builtin_def): Replace __memset_sse2 with
20708         __memset_sse2_unaligned.
20709         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20710         __memset_chk_sse2 and __memset_chk_avx2 with
20711         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20712         Use __memset_chk_sse2_unaligned_erms or
20713         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20714         __memset_chk_avx512_unaligned_erms and
20715         __memset_chk_avx512_unaligned.
20717 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20719         * math/gen-auto-libm-test.c (fp_format_desc): remove
20720         suffix member.
20721         (output_generic_value): Remove usage of suffix member,
20722         and the resulting unuse of the fp_format argument.
20723         (output_for_one_input_case): Remove unused fp_format
20724         parameter.
20726         * math/auto-libm-test-out: Regenerate.
20728         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20729         usage with TEST_COND_ibm128.
20730         (TEST_COND_flt_32): Remove.
20731         (TEST_COND_dbl_64): Remove.
20732         (TEST_COND_ldbl_96_intel): Remove.
20733         (TEST_COND_ldbl_96_m68k): Remove.
20734         (TEST_COND_ldbl_128): Remove.
20736 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20738         * auto-libm-test-in:
20739         Replace flt-32 usage with binary32.
20740         Replace dbl-64 usage with binary64.
20741         Replace ldbl-intel-96 usage with intel96.
20742         Replace ldbl-m68k-96 usage with m68k96.
20743         Replace ldbl-128ibm usage with ibm128.
20744         Replace ldbl-128 usage with binary128.
20746         * auto-libm-test-out: Regenerate.
20748 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20750         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20751         (parse_ulps): Dynamically generate type name matching
20752         string from all_floats.
20753         (get_ulps): Generate the ulps as an array instead.
20754         (output_ulps): Dynamically compose the type based
20755         on the number of supported formats, and print
20756         the indices as type specific helper macros.
20758         * math/libm-test.inc: Remove comment about CHOOSE.
20759         (ulp_data): Generate the type in libm-test-ulps.h.
20760         (ULP_IDX): New macro.
20761         (find_ulps): Update usage of max_ulp.
20763         * math/test-double-vlen2.h (CHOOSE): Remove.
20764         * math/test-double-vlen4.h (CHOOSE): Likewise.
20765         * math/test-double-vlen8.h (CHOOSE): Likewise.
20766         * math/test-float.c (CHOOSE): Likewise.
20767         * math/test-float-finite.c (CHOOSE): Likewise.
20768         * math/test-double.c (CHOOSE): Likewise.
20769         * math/test-double-finite.c (CHOOSE): Likewise.
20770         * math/test-idouble.c (CHOOSE): Likewise.
20771         * math/test-ifloat.c (CHOOSE): Likewise.
20772         * math/test-ildoubl.c (CHOOSE): Likewise.
20773         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20774         * math/test-ldouble.c (CHOOSE): Likewise.
20776         * math/test-float.h (TEST_FLOAT): Remove.
20777         * math/test-double.h (TEST_DOUBLE): Likewise.
20778         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20780 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20782         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20783         (parse_args): Strip C suffix from floating point literals
20784         typed with 'f' and wrap them with LIT().
20786         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20787         (test_ff_f_data_nexttoward): Rename to
20788         (test_fj_f_data): New struct.
20789         (nexttoward_test_data): Relabel tests as
20790         TEST_fj_f instead of TEST_ff_f.
20792 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20794         Emacs bug 23726.
20795         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20796         (__libc_realloc): Correct size computation for dumped fake mmapped
20797         chunks.
20799 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20801         [BZ #20219]
20802         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20803         to itself.
20804         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20806         [BZ #20218]
20807         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20808         to itself.
20809         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20811 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20813         [BZ #20195]
20814         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20815         check to ...
20816         (init_cpu_features): Here.
20818 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20820         [BZ #20214]
20821         * sysdeps/unix/sysv/linux/bits/in.h
20822         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20823          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20824         Define to 1.
20825         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20826          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20827         Define to 0.
20828         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20829         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20831 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20833         [BZ #20198]
20834         * stdlib/Makefile (tests): Add tst-quick_exit, and
20835         tst-thread-quick_exit.
20836         [ifeq ($(have-cxx-thread_local),yes)]
20837         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20838         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20839         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20840         (LDLIBS-tst-thread-quick_exit): Likewise.
20841         [ifneq ($(have-cxx-thread_local),yes)]
20842         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20843         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20844         If run_dtors is true call __call_tls_dtors.
20845         (exit): Call __run_exit_handlers with run_dtors set to true.
20846         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20847         definition.
20848         * stdlib/quick_exit.c (quick_exit): Remove function.
20849         (__new_quick_exit): New function.
20850         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20851         function.
20852         * stdlib/tst-quick_exit.cc: New file.
20853         * stdlib/tst-thread-quick_exit.cc: New file.
20854         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20855         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20856         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20857         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20858         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20859         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20860         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20861         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20862         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20863         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20864         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20865         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20866         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20867         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20868         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20869         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20874         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20875         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20876         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20877         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20878         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20881         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20882         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20883         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20885 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20887         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20888         a typo in comments.
20890 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20892         [BZ #20213]
20893         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20894         argument to itself.
20895         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20897 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20899         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20900         required flags.
20901         (CFLAGS-pwritev64.c): Likewise.
20902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20904         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20905         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20906         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20907         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20908         syscall from auto-generation.
20909         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20910         [WORDSIZE == 64] (pwritev64): Remove macro.
20911         [!PWRITEV] (PWRITEV): Likewise.
20912         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20913         [!PWRITEV] (PWRITE): Likewise.
20914         [!PWRITEV] (OFF_T): Likewise.
20915         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20916         (LO_HI_LONG): Remove macro.
20917         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20918         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20919         (PWRITEV): Remove macro.
20920         (PWRITEV_REPLACEMENTE): Likewise.
20921         (PWRITE): Likewise.
20922         (OFF_T): Likewise.
20923         (pwritev64): New function.
20924         * nptl/tst-cancel4.c (tf_writev): Add test.
20926         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20927         required flags.
20928         (CFLAGS-preadv64.c): Likewise.
20929         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20930         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20931         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20932         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20933         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20934         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20935         syscall from auto-generation.
20936         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20937         [WORDSIZE == 64] (preadv64): Remove macro.
20938         [!PREADV] (PREADV): Likewise.
20939         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20940         [!PREADV] (PREAD): Likewise.
20941         [!PREADV] (OFF_T): Likewise.
20942         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20943         (LO_HI_LONG): Remove macro.
20944         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20945         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20946         (PREADV): Remove macro.
20947         (PREADV_REPLACEMENTE): Likewise.
20948         (PREAD): Likewise.
20949         (OFF_T): Likewise.
20950         (preadv64): New function.
20951         * nptl/tst-cancel4.c (tf_preadv): Add test.
20953 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20955         [BZ #20212]
20956         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20957         argument to itself.
20958         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20960 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20962         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20963         New symbol defined as libc_hidden_def.
20964         (strcasestr): Became a weak alias to __strcasestr.
20965         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20966         according to multi-arch support.  Move __stpncpy hidden
20967         definition from here to...
20968         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20969         symbol stpncpy.
20970         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20971         libc_hidden_builtin_def.
20972         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20973         memset symbol to use when multi-arch support is available.
20975 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20977         * dlfcn/tst-rec-dlopen.c: Include string.h.
20979 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20981         * manual/install.texi: Remove mention of --without-tls
20982         * INSTALL: Regenerate.
20984 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20986         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20987         Remove.
20988         (call_function, interposed_malloc_called): New variables.
20989         (malloc): New function.
20990         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20991         and clear call_function as needed.
20993 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20995         * include/wchar.h (__wmemset): Use __typeof.
20997 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20999         * include/wchar.h (__wmemset): Declare function without typeof.
21001 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
21003         [BZ #20205]
21004         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
21005         exponent when incrementing negative subnormal with low mantissa
21006         word zero.
21007         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
21008         Add another test.
21010 2016-06-03  Florian Weimer  <fweimer@redhat.com>
21012         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
21013         __wmemset instead of wmemset.
21015 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
21017         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
21018         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
21019         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
21020         __USE_KERNEL_IPV6_DEFS to 0.
21021         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
21022         Update comment.
21024 2016-06-01  Florian Weimer  <fweimer@redhat.com>
21026         [BZ #19861]
21027         Do not use IFUNC resolver with potentially unrelocated symbol.
21028         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
21029         (DEFINE_FORK): Remove macro and inline definition.
21030         (fork_alias): Renamed from fork_ifunc.
21031         (__fork_alias): Renamed from __fork_ifunc.
21033 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
21035         [BZ 19653]
21036         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
21037         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
21039 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21041         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
21042         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
21043         i386-linux-gnu).
21044         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
21045         Set to no.
21046         * sysdeps/mach/hurd/configure: Refresh.
21048 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21050         [BZ #20178]
21051         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
21052         on failure instead of exit.
21054 2016-05-30  Roland McGrath  <roland@hack.frob.com>
21056         [BZ #3629]
21057         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
21058         of POSIX.1-2008.
21060 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21062         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
21063           Use PLT entry for calling _hurd_self_sigstate.
21065 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
21067         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
21068         available logical processors with SMT level type sharing L2
21069         cache for Intel processors.
21071 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21073         [BZ #20160]
21074         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
21075         argument to itself before returning the result.
21076         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21077         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21078         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21079         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21080         Likewise.
21081         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21082         Likewise.
21083         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
21084         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
21085         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21086         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21087         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21088         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21090         [BZ #20160]
21091         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
21092         argument to itself before returning the result.
21093         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21094         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21095         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21096         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
21097         Likewise.
21098         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21099         Likewise.
21100         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
21101         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
21102         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
21103         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21104         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21105         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21107 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21109         * libm-test.inc: Replace usage of M_El with
21110         (lit_e): New macro.
21112 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21114         * libm-test.inc: Replace usage of M_PI_4l with
21115         (lit_pi_4_d): New macro.
21117 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21119         * libm-test.inc: Replace usage of M_PIl with
21120         (lit_pi): New macro.
21122 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21124         * libm-test.inc: Replace usage of M_PI2l with
21125         (lit_pi_2_d): New macro.
21127         * math/test-double.h (LITM): New macro.
21128         * math/test-float.h (LITM): Likewise.
21129         * math/test-ldouble.h (LITM): Likewise.
21131 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21133         * libm-test.inc (M_PI_34l): Rename to
21134         (lit_pi_3_m_4_d): New Macro.
21135         (M_PI_34_LOG10El): Rename to
21136         (lit_pi_3_m_4_ln10_m_d): New Macro.
21137         (M_PI2_LOG10El): Rename to
21138         (lit_pi_2_ln10_m_d):  New Macro.
21139         (M_PI4_LOG10El): Rename to
21140         (lit_pi_4_ln10_m_d):  New Macro.
21141         (M_PI_LOG10El): Rename to
21142         (lit_pi_ln10_d):  New Macro.
21144 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21146         [BZ #20157]
21147         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
21148         determine whether to negate low half if [_ARCH_PPCGR], and integer
21149         comparison otherwise.
21150         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21151         determine whether to negate low half.
21153         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
21154         (NO_TEST_INLINE_DOUBLE): Likewise.
21155         (TEST_COND_x86_64): Likewise.
21156         (TEST_COND_x86): Likewise.
21157         (M_PI_6l): Likewise.
21159 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21161         * math/libm-test.inc:
21162         (TEST_FLOAT): Change usage to TEST_COND_binary32.
21163         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21164         (TEST_LDOUBLE): Update usage to evaluate as true if
21165         the guarded tests match the property being tested.
21166         (LDBL_MAX_EXP): Change to MAX_EXP.
21167         (LDBL_MIN_EXP): Change to MIN_EXP.
21168         (LDBL_MANT_DIG): Change to MANT_DIG, except for
21169         nexttoward tests.
21171 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21173         * math/libm-test.inc:
21174         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21175         (TYPE_MIN): Likewise.
21176         (TYPE_TRUE_MIN): Likewise.
21177         (TYPE_MAX): Likewise.
21178         (MIN_EXP): Likewise.
21179         (MAX_EXP): Likewise.
21180         (MANT_DIG): Likewise.
21182         (FSTR_MAX): New macro.
21183         (__CONCATX): Likewise.
21184         (QTYPE_STR): Likewise.
21185         (TEST_COND_binary32): Likewise.
21186         (TEST_COND_binary64): Likewise.
21187         (TEST_COND_binary128): Likewise.
21188         (TEST_COND_ibm128): Likewise.
21189         (TEST_COND_intel96): Likewise.
21190         (TEST_COND_m68k96): Likewise.
21192         (TEST_COND_flt_32): Redefine as equivalent format test macro.
21193         (TEST_COND_dbl_64): Likewise.
21194         (TEST_COND_ldbl_96_intel): Likewise.
21195         (TEST_COND_ldbl_96_m68k): Likewise.
21196         (TEST_COND_ldbl_128): Likewise.
21197         (TEST_COND_ldbl_128ibm): Likewise.
21199         (plus_zero): Redefine using LIT macro.
21200         (minus_zero): Likewise.
21201         (plus_infty): Redefine as (INF).
21202         (minux_infty): Redefine as (-INF).
21203         (max_value): Redefine as TYPE_MAX.
21204         (min_value): Redefine as TYPE_MIN.
21205         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21207         (print_float): Refactor to use snprintf to convert FLOAT values
21208         to string. This brings it closer to dropin replacement of strtof
21209         for the TS 18661 defined types.
21210         (update_stats): Likewise.
21211         (print_complex_function_ulps): Likewise.
21212         (print_max_error): Likewise.
21213         (print_complex_max_error): Likewise.
21214         (check_float_internal): Likewise.
21216         * math/test-float.h (PREFIX): New macro.
21217         (LIT): Likewise.
21218         (TYPE_STR): Likewise.
21219         (FTOSTR): Likewise.
21221         * math/test-double.h (PREFIX): New macro.
21222         (LIT): Likewise.
21223         (TYPE_STR): Likewise.
21224         (FTOSTR): Likewise.
21226         * math/test-ldouble.h (PREFIX): New macro.
21227         (LIT): Likewise.
21228         (TYPE_STR): Likewise.
21229         (FTOSTR): Likewise.
21231 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21233         [BZ #20156]
21234         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21235         to itself when zero or not finite.
21236         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21237         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21238         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21239         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21241 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
21243         [BZ #20153]
21244         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21245         x * x + x for infinities and NaNs.
21247         [BZ #20151]
21248         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21249         argument to itself before returning result.
21250         (__ieee754_y0l): Likewise.
21251         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21252         (__ieee754_y1l).
21254         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21255         (atan_test_data): Likewise.
21256         (ceil_test_data): Likewise.
21257         (cos_test_data): Likewise.
21258         (cosh_test_data): Likewise.
21259         (erf_test_data): Likewise.
21260         (exp2_test_data): Likewise.
21261         (fabs_test_data): Likewise.
21262         (floor_test_data): Likewise.
21263         (ilogb_test_data): Likewise.
21264         (j0_test_data): Likewise.
21265         (j1_test_data): Likewise.
21266         (jn_test_data): Likewise.
21267         (lgamma_test_data): Likewise.
21268         (lrint_test_data): Likewise.
21269         (llrint_test_data): Likewise.
21270         (logb_test_data): Likewise.
21271         (lround_test_data): Likewise.
21272         (llround_test_data): Likewise.
21273         (nearbyint_test_data): Likewise.
21274         (rint_test_data): Likewise.
21275         (round_test_data): Likewise.
21276         (sin_test_data): Likewise.
21277         (sincos_test_data): Likewise.
21278         (sinh_test_data): Likewise.
21279         (sqrt_test_data): Likewise.
21280         (tan_test_data): Likewise.
21281         (tanh_test_data): Likewise.
21282         (tgamma_test_data): Likewise.
21283         (trunc_test_data): Likewise.
21284         (y0_test_data): Likewise.
21285         (y1_test_data): Likewise.
21286         (yn_test_data): Likewise.
21288         * math/libm-test.inc: Update comment about NaN testing.
21289         (TEST_SNAN): New macro.
21290         (snan_value): Likewise.
21291         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21292         (fpclassify_test_data): Add sNaN tests.
21293         (isfinite_test_data): Likewise.
21294         (isinf_test_data): Likewise.
21295         (isnan_test_data): Likewise.
21296         (isnormal_test_data): Likewise.
21297         (issignaling_test_data): Likewise.
21298         (signbit_test_data): Likewise.
21299         * math/gen-libm-test.pl (%beautify): Add snan_value.
21300         (show_exceptions): Add argument $test_snan.
21301         (parse_args): Handle snan_value as non-finite.  Update call to
21302         show_exceptions.
21303         * math/Makefile (libm-test-no-inline-cflags): Add
21304         -fsignaling-nans.
21306 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21308         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21309         (CFLAGS-oldsendmsg.c): Add rule.
21310         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21311         Correct recvmsg symbol name.
21312         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21313         Likewise.
21315 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21317         * sysdeps/unix/sysv/linux/Makefile
21318         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21319         oldsendmmsg.
21320         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21321         sendmmsg.
21322         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21323         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21324         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21325         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21327         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21328         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21330         Likewise.
21331         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21332         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21333         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21334         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21335         iovlen and controllen fields to adjust to POSIX specification.
21336         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21338         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21339         and change to correct expected type.
21340         (msghdr.msg_controllen): Likewise.
21341         (cmsghdr.cmsg_len): Likewise.
21342         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21343         expected POSIX assumption about the size.
21344         (msghdr.msg_controllen): Likewise.
21345         (msghdr.__glibc_reserved1): Likewise.
21346         (msghdr.__glibc_reserved2): Likewise.
21347         (cmsghdr.cmsg_len): Likewise.
21348         (cmsghdr.__glibc_reserved1): Likewise.
21349         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21350         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21351         (CFLAGS-sendmsg.c): Remove rule.
21352         (CFLAGS-recvmsg.c): Likewise.
21353         (CFLAGS-oldsendmsg.c): Add rule.
21354         (CFLAGS-oldrecvmsg.c): Likewise.
21355         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21356         recvmsg and sendmsg.
21357         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21358         Likewise.
21359         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21360         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21361         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21362         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21363         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21364         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21365         Likewise.
21366         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21367         Likewise.
21368         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21369         Likewise.
21370         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21371         Likewise.
21372         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21373         Likewise.
21374         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21375         Likewise.
21376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21377         (GLIBC_2.24): Likewise.
21378         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21379         Likewise.
21380         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21381         Likewise.
21382         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21383         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21384         Likewise.
21385         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21386         Likewise.
21387         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21388         Likewise.
21389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21390         (GLIBC_2.24): Likewise.
21391         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21392         Likewise.
21393         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21394         Likewise.
21395         * sysdeps/unix/sysv/linux/Makefile
21396         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21397         (CFLAGS-sendmsg.c): Add rule.
21398         (CFLAGS-recvmsg.c): Likewise.
21399         (CFLAGS-oldsendmsg.c): Likewise.
21400         (CFLAGS-oldrecvmsg.c): Likewise.
21401         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21402         initialization.
21403         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21404         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21405         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21406         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21407         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21408         iovlen and controllen fields to adjust to POSIX specification.
21409         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21410         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21411         added recvmsg and sendmsg.
21412         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21413         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21414         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21415         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21416         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21417         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21418         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21419         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21420         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21421         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21422         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21423         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21425         Likewise.
21426         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21428         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21429         Likewise.
21430         Likewise.
21431         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21432         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21433         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21434         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21435         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21436         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21438         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21440         Likewise.
21441         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21442         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21444         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21445         from auto-generation.
21446         (sendmsg): Likewise.
21447         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21448         (sendmsg): Likewise.
21449         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21450         (sendmsg): Likewise.
21451         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21452         (sendmsg): Likewise.
21453         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21454         (sendmsg): Likewise.
21455         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21456         (sendmsg): Likewise.
21457         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21458         Likewise.
21459         (sendmsg): Likewise.
21460         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21461         (sendmsg): Likewise.
21462         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21463         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21464         Remove.
21465         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21466         Likewise.
21467         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21468         Undefine.
21469         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21470         Likewise.
21471         * sysdeps/unix/sysv/linux/kernel-features.h
21472         (__ASSUME_SENDMSG_SYSCALL): Define.
21473         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21474         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21475         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21476         Remove.
21477         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21478         Likewise.
21479         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21480         Undefine.
21481         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21482         Likewise.
21483         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21485         Remove.
21486         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21487         Likewise.
21488         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21489         Undefine.
21490         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21491         Likewise.
21492         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21493         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21494         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21495         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21496         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21497         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21498         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21499         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21500         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21502 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21504         * stdlib/gen-tst-strtod-round.c: Add backslash to
21505         compile command in comment.
21506         (printfp): Remove the literal suffix, and define an infinite
21507         value as INF to avoid expansion clash with INFINITY.
21508         (round_str): Remove the literal suffix.
21509         (round_for_all): Likewise, remove the now duplicate ldbl-64
21510         entry, and remove some magic constants.
21512         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21513         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21514         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21515         (_CONCAT): New macro.
21516         (CONCAT): Likewise.
21517         (CHOOSE_ld): Likewise.
21518         (CHOOSE_f): Likewise.
21519         (CHOOSE_d): Likewise.
21520         (FTYPE_MEMBER): Likewise.
21521         (BOOL_MEMBER): Likewise.
21522         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21523         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21524         (_XNTRY): Likewise.
21525         (XNTRY): Likewise.
21526         (_ENTRY): Likewise.
21527         (ENTRY): Likewise.
21528         (test_exactness): Generate members via macro.
21529         (test_results): Likewise.
21530         (test): Update members.
21531         (TEST): Redefine using new macros.
21532         (INF): New macro.
21533         (fetestmodes): New structure.
21534         (do_test): Refactor to be type generic.
21535         (test_in_one_mode): Refactor duplicate code into
21536         (GEN_ONE_TEST): New macro.
21538         * stdlib/tst-strtod-round-data.h: Regenerate.
21540         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21541         Extend to pass additional arbitrary parameters to
21542         generators.
21544 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21546         [BZ #15479]
21547         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21548         floating-point state after first floating-point operation on
21549         input.  Restore full floating-point state instead of just rounding
21550         mode.
21551         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21552         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21553         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21554         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21555         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21557         [BZ #15479]
21558         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21559         floating-point state after first floating-point operation on
21560         input.  Restore full floating-point state instead of just rounding
21561         mode.
21562         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21563         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21564         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21565         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21566         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21568 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21570         [BZ #19727]
21571         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21572         valid high surrogate.
21573         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21574         of an utf16 surrogate.
21575         * iconv/gconv_simple.c (BODY): Likewise.
21576         * iconvdata/bug-iconv12.c: New file.
21577         * iconvdata/Makefile (tests): Add bug-iconv12.
21579 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21581         [BZ #19726]
21582         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21583         outptrp in case of an illegal input.
21584         * iconv/tst-iconv6.c: New file.
21585         * iconv/Makefile (tests): Add tst-iconv6.
21587 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21589         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21590         an error in case of a value in range of an utf16 low surrogate.
21592 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21594         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21595         an error in case of a value in range of an utf16 low surrogate.
21597 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21599         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21600         Move to ...
21601         * sysdeps/s390/Makefile: ... here.
21602         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21603         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21604         (BRANCH_ON_COUNT): New define.
21605         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21606         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21607         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21608         run on s390-32, too.
21609         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21610         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21611         run on s390-32, too.
21612         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21613         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21614         run on s390-32, too.
21616 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21618         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21619         etf3eh or new vector loop-variant.
21621 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21623         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21624         etf3eh or new vector loop-variant.
21626 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21628         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21629         or new vector loop-variant.
21631 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21633         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21634         Rename to TR_LOOP and usage of tr instead of troo instruction.
21636 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21638         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21639         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21641 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21643         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21644         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21645         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21646         New override define.
21647         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21649 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21651         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21652         * sysdeps/s390/configure.ac: Add test for S390 vector register
21653         support in gcc.
21654         * sysdeps/s390/configure: Regenerated.
21656 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21658         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21659         Install file from $(objpfx)gconv-modules.
21660         ($(objpfx)gconv-modules): Concatenate architecture specific file
21661         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21662         * sysdeps/s390/gconv-modules: New file.
21663         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21664         Deleted.
21665         ($(objpfx)gconv-modules-s390): Deleted.
21666         (sysdeps-gconv-modules): New variable.
21668 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21670         [BZ #15479]
21671         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21672         of immediate operand to rounding instruction.
21673         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21674         Likewise.
21675         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21676         Likewise.
21677         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21678         Likewise.
21680 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21682         * math/libm-test.inc (MIN_EXP): Directly define as
21683         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21685 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21687         * math/libm-test.inc (MANT_DIG): Directly define as
21688         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21690 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21692         * stdlib/gen-tst-strtod-round.c (main):
21693           Change usage to more closely match the generated
21694           output.  Add usage and compilation instructions.
21695           (string_to_fp): Add and use FILE* parameter as
21696           output target.
21697           (print_fp): Likewise.
21698           (round_str): Likewise.
21699           (round_for_all): Likewise.
21700         * stdlib/tst-strtod-round.c (tests): Move into
21701         * stdlib/tst-strtod-round-data.h: New file.
21703 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21705         [BZ #15479]
21706         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21707         (__round): Do not force "inexact" exception.
21708         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21709         variable.
21710         (__round): Do not force "inexact" exception.
21711         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21712         (__roundf): Do not force "inexact" exception.
21713         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21714         (__roundl): Do not force "inexact" exception.
21715         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21716         (__roundl): Do not force "inexact" exception.
21717         * math/libm-test.inc (round_test_data): Do not allow spurious
21718         "inexact" exceptions.
21720         [BZ #15479]
21721         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21722         exception in comment.
21723         (huge): Remove variable.
21724         (__floor): Do not force "inexact" exception.
21725         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21726         "inexact" exception in comment.
21727         (huge): Remove variable.
21728         (__floor): Do not force "inexact" exception.
21729         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21730         exception in comment.
21731         (huge): Remove variable.
21732         (__floorf): Do not force "inexact" exception.
21733         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21734         exception in comment.
21735         (huge): Remove variable.
21736         (__floorl): Do not force "inexact" exception.
21738         [BZ #15479]
21739         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21740         exception in comment.
21741         (huge): Remove variable.
21742         (__ceil): Do not force "inexact" exception.
21743         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21744         "inexact" exception in comment.
21745         (huge): Remove variable.
21746         (__ceil): Do not force "inexact" exception.
21747         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21748         (__ceilf): Do not force "inexact" exception.
21749         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21750         exception in comment.
21751         (huge): Remove variable.
21752         (__ceill): Do not force "inexact" exception.
21754 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21756         * config.h.in (BIND_NOW): New.
21757         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21758         * configure: Regenerated.
21759         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21760         indirect branch via the GOT slot.
21762 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21764         [BZ #19765]
21765         * sysdeps/s390/mempcpy.S: New File.
21766         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21767         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21768         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21769         Add mempcpy variants.
21770         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21771         (memcpy): Adjust to be usable from mempcpy entry point.
21772         (__memcpy_mvcle): Likewise.
21773         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21774         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21775         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21776         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21777         (__memcpy_z10): Likewise.
21778         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21780 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21782         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21783         Remove __GI_ symbol.
21784         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21785         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21786         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21787         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21788         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21789         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21791 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21793         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21794         Use cghi instead of chi to compare 64bit value.
21796 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21798         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21799         Jump to 1MB check before executing mvc-loop.
21801 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21803         [BZ #6527]
21804         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21805         unconditionally.
21806         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21808 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21810         * stdlib/tst-strtod6.c (do_test): Use new type generic
21811         invocation of the test function.
21812         (test): Refactor into ...
21813         (TEST_STRTOD): New macro base function.
21815 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21817         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21818         (TEST_STRTOD): New macro.
21819         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21821 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21823         * stdlib/tst-strtod6.c (do_test): Use new type generic
21824         invocation of the test function.
21825         (test): Refactor into ...
21826         (TEST_STRTOD): New macro base function.
21828 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21830         CVE-2016-4429
21831         [BZ #20112]
21832         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21833         payload.
21835 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21837         [BZ #20111]
21838         * bits/sockaddr.h (_SS_SIZE): Define.
21839         * bits/socket.h (_SS_SIZE): Remove.
21840         (_SS_PADSIZE): Adjust to account for all padding.
21841         (struct sockaddr_storage): Update comment.  Avoid implicit
21842         padding.
21843         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21844         (_SS_PADSIZE): Adjust to account for all padding.
21845         (struct sockaddr_storage): Update comment.  Avoid implicit
21846         padding.
21847         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21848         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21849         (_SS_PADSIZE): Adjust to account for all padding.
21850         (struct sockaddr_storage): Update comment.  Avoid implicit
21851         padding.
21852         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21853         __SS_SIZE is 126 in this version.
21854         * inet/tst-sockaddr.c: New file.
21855         * inet/Makefile (tests): Add tst-sockaddr.c
21856         (tst-sockaddr.c): Compile with non-strict aliasing.
21858 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21860         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21861         [XPG3 || XPG4].
21862         (NL_ARGMAX): Also expect for [XPG3].
21863         (NL_LANGMAX): Likewise.
21864         (NL_MSGMAX): Likewise.
21865         (NL_NMAX): Likewise.
21866         (NL_SETMAX): Likewise.
21867         (NL_TEXTMAX): Likewise.
21868         (NZERO): Likewise.
21869         (TMP_MAX): Likewise.
21870         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21871         variable.
21873         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21874         (PF_MAX): Update value.
21875         (AF_KCM): New macro.
21876         (SOL_NETBEUI): Likewise.
21877         (SOL_LLC): Likewise.
21878         (SOL_DCCP): Likewise.
21879         (SOL_NETLINK): Likewise.
21880         (SOL_TIPC): Likewise.
21881         (SOL_RXRPC): Likewise.
21882         (SOL_PPPOL2TP): Likewise.
21883         (SOL_BLUETOOTH): Likewise.
21884         (SOL_PNPIPE): Likewise.
21885         (SOL_RDS): Likewise.
21886         (SOL_IUCV): Likewise.
21887         (SOL_CAIF): Likewise.
21888         (SOL_ALG): Likewise.
21889         (SOL_NFC): Likewise.
21890         (SOL_KCM): Likewise.
21891         (MSG_BATCH): New enum value and macro.
21893 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21895         [BZ #18185]
21896         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21897         sharing L2 cache to 2 for Knights Landing.
21899 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21901         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21902         (FTW_DP): Do not expect for [XPG3 || XPG4].
21903         (FTW_SL): Do not expect for [XPG3].
21904         (FTW_SLN): Likewise.
21905         (FTW_PHYS): Likewise.
21906         (FTW_MOUNT): Likewise.
21907         (FTW_DEPTH): Likewise.
21908         (FTW_CHDIR): Likewise.
21909         (nftw): Likewise.
21910         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21911         variable.
21913 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21915         * manual/errno.texi: Fix various typos & grammar errors.
21917 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21919         * manual/intro.texi: Fix duplicated typo.
21921 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21923         [BZ #13304]
21924         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21925         <float.h>, <math_private.h> and <stdlib.h>.
21926         (add_split): New function.
21927         (mul_split): Likewise.
21928         (ext_val): New typedef.
21929         (store_ext_val): New function.
21930         (mul_ext_val): New function.
21931         (compare): New function.
21932         (add_split_ext): New function.
21933         (__fmal): After checking for Inf, NaN and zero, compute result as
21934         an exact sum of scaled double values in round-to-nearest before
21935         adding those up and adjusting for other rounding modes.
21936         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21937         tests of fma.
21938         * math/auto-libm-test-out: Regenerated.
21940 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21942         [BZ #20119]
21943         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21944         processor level type mask for CPUID with EAX == 11.
21946 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21948         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21949         logical threads if the HTT bit is 0.
21950         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21951         (index_cpu_HTT): Likewise.
21952         (reg_HTT): Likewise.
21954 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21956         [BZ #20115]
21957         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21958         Remove alignments on jump targets.
21960 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21962         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21963         (getpwent): Likewise.
21964         (setpwent): Likewise.
21965         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21966         variable.
21968         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21969         (remque): Likewise.
21970         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21971         variable.
21973 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21975         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21976         not being tested.
21978 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21980         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21981         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21982         call.
21983         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21984         (__condvar_cleanup1): Likewise.
21986 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21988         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21989         New
21990         (__pthread_unwind): Renamed to ...
21991         (PTHREAD_UNWIND): This.
21992         (__pthread_enable_asynccancel): Replace
21993         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21995 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21997         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21998         (CLONE_NEWCGROUP): New macro.
22000         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
22001         (Q_GETNEXTQUOTA): New macro.
22003 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22005         [BZ #19907]
22006         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
22007         buffer updated by the previous run.
22008         * string/test-memcpy.c (do_one_test): Likewise.
22009         * benchtests/bench-memmove.c (do_one_test): Add a comment.
22010         * string/test-memmove.c (do_one_test): Likewise.
22012 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
22014         [BZ #20094]
22015         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
22016         not [__USE_XOPEN].
22017         (unlockpt): Likewise.
22018         (ptsname): Likewise.
22019         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
22020         variable.
22022         [BZ #20076]
22023         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
22024         instead of [__USE_UNIX98].
22025         (S_ISSOCK): Likewise.
22026         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
22027         variable.
22029         [BZ #20074]
22030         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
22031         [__USE_POSIX].
22032         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
22033         variable.
22035         [BZ #20051]
22036         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
22037         (ttyslot): Do not declare.
22038         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
22039         (ttyslot): New prototype.
22040         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
22041         variable.
22042         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22044 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22046         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
22048 2016-05-13  Florian Weimer  <fweimer@redhat.com>
22050         Fix race condition in tst-mallocfork2, use fewer resources.
22051         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
22052         to current process group.
22053         (signal_sender): Yield in the non-sleeping case.
22055 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
22057         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
22058         (ecvt): Likewise.
22059         (fcvt): Likewise.
22060         (gcvt): Likewise.
22061         (getsubopt): Likewise.
22062         (grantpt): Likewise.
22063         (initstate): Likewise.
22064         (l64a): Likewise.
22065         (mktemp): Likewise.
22066         (mkstemp): Likewise.
22067         (ptsname): Likewise.
22068         (random): Likewise.
22069         (realpath): Likewise.
22070         (setstate): Likewise.
22071         (srandom): Likewise.
22072         (ttyslot): Likewise.
22073         (unlockpt): Likewise.
22074         (valloc): Likewise.
22076         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
22077         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
22078         variable.
22080 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22082         [BZ #20072]
22083         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
22084         init_cpu_features only if SHARED is defined.
22085         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
22087 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22089         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
22090         non-inclusive caches on Intel processors.
22092 2016-05-13  Florian Weimer  <fweimer@redhat.com>
22094         * malloc/malloc.c (dumped_main_arena_start)
22095         (dumped_main_arena_end): New variables.
22096         (DUMPED_MAIN_ARENA_CHUNK): New macro.
22097         (do_check_chunk): Skip dumped fake mmapped chunks.
22098         (munmap_chunk): Likewise.
22099         (__libc_free): Do not adjust statistics for fake mmapped chunks.
22100         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
22101         mmapped chunks.
22102         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
22103         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
22104         and dumped_main_arena_end to cover the dumped heap.
22106 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
22108         * conform/data/time.h-data (getdate_err): Do not expect for
22109         [XPG3].
22110         (getdate): Likewise.
22111         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
22112         variable.
22114         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
22115         (F_ULOCK): Likewise.
22116         (F_TEST): Likewise.
22117         (F_TLOCK): Likewise.
22118         (useconds_t): Likewise.
22119         (intptr_t): Do not expect for [XPG3] or [XPG4].
22120         (brk): Do not expect for [XPG3]
22121         (fchown): Likewise.
22122         (fchdir): Likewise.
22123         (ftruncate): Likewise.
22124         (getdtablesize): Likewise.
22125         (gethostid): Likewise.
22126         (getpagesize): Likewise.
22127         (getpgid): Likewise.
22128         (getsid): Likewise.
22129         (getwd): Likewise.
22130         (lchown): Likewise.
22131         (lockf): Likewise.
22132         (readlink): Likewise.
22133         (sbrk): Likewise.
22134         (setpgrp): Likewise.
22135         (setregid): Likewise.
22136         (setreuid): Likewise.
22137         (symlink): Likewise.
22138         (sync): Likewise.
22139         (truncate): Likewise.
22140         (ualarm): Likewise.
22141         (usleep): Likewise.
22142         (vfork): Likewise.
22143         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
22144         variable.
22146         [BZ #20054]
22147         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
22148         not [__USE_UNIX98].
22149         * conform/data/unistd.h-data (gethostname): Do not expect for
22150         [XPG3].
22152         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
22153         [!POSIX] (S_IFBLK): Likewise.
22154         [!POSIX] (S_IFCHR): Likewise.
22155         [!POSIX] (S_IFIFO): Likewise.
22156         [!POSIX] (S_IFREG): Likewise.
22157         [!POSIX] (S_IFDIR): Likewise.
22158         [!POSIX] (S_IFLNK): Likewise.
22159         [!POSIX] (S_IFSOCK): Likewise.
22160         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22161         variable.
22162         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22164 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
22166         * sysdeps/aarch64/memset.S (__memset):
22167         Rewrite of optimized memset.
22169 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22171         [BZ #19703]
22172         Partially async-signal-safe fork for single-threaded processes.
22173         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22174         variable.  Do not acquire and reset/release malloc and libio locks
22175         in single-threaded processes.
22176         * malloc/tst-mallocfork2.c: New file.
22177         * malloc/Makefile (tests): Add it.
22179 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22181         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22182         argument.  Use scratch buffer instead of extend_alloca.
22183         (gethosts): Use scratch buffer instead of extend_alloca.
22184         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
22185         extend_alloca.
22186         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22188 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
22190         [BZ #20055]
22191         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22192         instead of [__USE_UNIX98].
22193         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22194         [__USE_UNIX98].
22195         * conform/data/termios.h-data (tcgetsid): Do not expect for
22196         [XPG3].
22197         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22198         variable.
22199         (test-xfail-XPG4/termios.h/conform): Likewise.
22201 2016-05-11  Florian Weimer  <fweimer@redhat.com>
22203         Do not use mcheck in localedef.
22204         * locale/programs/localedef.c (turn_on_mcheck)
22205         (__malloc_initialize_hook): Remove.
22207 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22209         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22210         * sysdeps/s390/s390-64/Makefile: Likewise.
22212 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22214         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22215         Remove ifunc-defines.sym.
22216         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22217         Likewise.
22218         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22219         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22220         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22221         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22222         rtld-global-offsets.sym.
22223         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22224         * sysdeps/x86/cpu-features-offsets.sym: This.
22225         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22226         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22228 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
22230         [BZ #20073]
22231         * io/sys/stat.h (fchmod): Declare for
22232         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22233         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22234         variable.
22236         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22237         [XPG3] (S_IFSOCK): Likewise.
22238         [XPG3] (S_ISVTX): Likewise.
22239         [XPG3] (S_ISLNK): Likewise.
22240         [XPG3] (S_ISSOCK): Likewise.
22241         [XPG3] (fchmod): Likewise.
22242         [XPG3] (lstat): Likewise.
22243         [XPG3] (mknod): Likewise.
22245         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22246         [XPG3].  Expect type long and XFAIL for [XPG4].
22247         (st_blocks): Likewise.
22249         [BZ #20044]
22250         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22251         (pthread_atfork): New prototype.
22252         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22253         variable.
22255         [BZ #20043]
22256         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22257         prototype.
22259 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22261         [BZ #20017]
22262         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22263         gmtime.
22265 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22267         [BZ #19994]
22268         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22269         flag in _res.options.
22271 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22273         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22274         [XPG3 || XPG4].
22275         (blksize_t): Likewise.
22276         (clockid_t): Likewise.
22277         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22278         variable.
22279         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22281 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22283         * sysdeps/unix/sysv/linux/s390/init-first.c:
22284         Add VDSO_SYMBOL(getcpu).
22285         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22286         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22287         Add VDSO_SYMBOL(getcpu).
22288         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22289         New define HAVE_GETCPU_VSYSCALL.
22290         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22292 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22294         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22295         instead of <sysdeps/x86_64/cacheinfo.c>.
22296         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22297         * sysdeps/x86/cacheinfo.c: Here.
22299 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22301         * malloc/malloc-internal.h: Adjust header file guard.
22303 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22305         [BZ #19787]
22306         * inet/getnameinfo.c (check_sprintf_result): New function.
22307         (CHECKED_SNPRINTF): New macro.
22308         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22309         to the host buffer.
22310         (gni_host_local): Use checked_copy to copy the host name.
22311         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22312         (gni_serv_local): Use checked_copy to copy the service name.
22313         (getnameinfo): Remove unnecessary truncation of result buffers.
22315 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22317         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22318         in case of inet_ntop failure.
22320 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22322         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22323         avoid long lines.
22324         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22325         variables.
22326         (gni_host_inet, gni_host_local): Add comment.
22327         (gni_host): Add comment.  Use temporary to avoid long lines.
22329 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22331         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22332         registers specifiers where general purpose registers specifiers should
22333         have been used.
22335 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22337         [BZ #19779]
22338         CVE-2016-1234
22339         Avoid copying names of directory entries.
22340         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22341         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22342         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22343         (struct readdir_result): New type.
22344         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22345         (GL_READDIR): New macros.
22346         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22347         (convert_dirent, convert_dirent64): New functions.
22348         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22349         convert_dirent64.  Adjust references to the readdir result.
22350         * sysdeps/unix/sysv/linux/i386/glob64.c:
22351         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22352         * posix/bug-glob2.c (LONG_NAME): Define.
22353         (filesystem): Add LONG_NAME.
22354         (my_DIR): Increase the size of room_for_dirent.
22356 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22358         [BZ #20041]
22359         * misc/sys/select.h (__need_timespec): Only define if
22360         [__USE_XOPEN2K].
22361         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22362         variable.
22363         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22364         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22365         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22367 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22368             Segher Boessenkool  <segher@gcc.gnu.org>
22370         [BZ #20004]
22371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22372         (__novec_swapcontext): Add missing load.
22374 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22376         [BZ #20023]
22377         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22378         <time.h>.
22379         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22380         variable.
22381         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22383 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22386         flags CLONE_VM compare.
22388 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22390         [BZ #20031]
22391         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22392         completely empty.
22394 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22396         [BZ #19573]
22397         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22398         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22399         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22400         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22401         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22402         (hesiod_free_list): Mark as hidden.
22403         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22404         res_set, res_get.
22405         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22406         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22407         (hesiod_init): Remove obsolete res_ninit call.
22408         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22409         (hesiod_bind): Do not call init.
22410         (get_txt_records): Use res_mkquery, res_send instead of
22411         res_nmkquery, res_nsend.
22412         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22413         instead of _nss_hesiod_init.
22414         (_nss_hesiod_initgroups_dyn): Likewise.
22415         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22416         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22417         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22419 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22421         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22422         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22424 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22426         * hesiod/hesiod.h: Remove RCS keyword.
22427         * hesiod/hesiod_p.h: Likewise.
22429         * hesiod/hesiod.c: Likewise.
22431 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22433         [BZ #12450]
22434         * locale/iso-639.def: Add Samogitian/sgs.
22436 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22438         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22440         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22442 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22443             Carlos O'Donell  <carlos@redhat.com>
22445         [BZ #19072]
22446         * grp/Makefile (headers): Add grp-merge.h
22447         (routines): Add grp-merge.
22448         * grp/getgrgid_r.c: Include grp-merge.h.
22449         (DEEPCOPY_FN): Define.
22450         (MERGE_FN): Define.
22451         * grp/getgrname_r.c: Include grp-merge.h.
22452         (DEEPCOPY_FN): Define.
22453         (MERGE_FN): Define.
22454         * grp/grp-merge.c: New file.
22455         * grp/grp-merge.h: New file.
22456         * include/grp-merge.h: New file.
22457         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22458         __copy_grp@GLIBC_PRIVATE.
22459         * manual/nss.texi (Actions in the NSS configuration): Describe
22460         return, continue, and merge.
22461         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22462         (DEEPCOPY_FN): Define.
22463         (MERGE_FN): Define.
22464         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22465         (DEEPCOPY_FN): Define.
22466         (MERGE_FN): Define.
22467         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22468         [!MERGE_FN]: Define __merge_einval.
22469         (CHECK_MERGE): Define.
22470         (REENTRANT_NAME): Process merge if do_merge is true.
22471         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22472         (__nss_getent_r): Likewise.
22473         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22474         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22476 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22478         [BZ #20012]
22479         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22480         length to calculate the buffer to read.
22481         (fmemopen_write): Set the buffer position based on bytes written.
22482         (fmemopen_seek): Return EINVAL for invalid whence modes.
22484         [BZ #19957]
22485         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22486         tst-getpid2.
22487         (test): Add tst-clone2.
22488         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22489         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22490         pid/tid fields for CLONE_VM.
22491         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22492         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22493         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22494         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22495         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22496         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22497         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22498         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22500         Likewise.
22501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22502         Likewise.
22503         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22504         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22505         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22506         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22507         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22508         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22509         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22510         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22512 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22514         [BZ #19642]
22515         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22516         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22517         (gni_serv_local, gni_serv): New functions extracted from
22518         getnameinfo.
22519         (getnameinfo): Call gni_host and gni_serv to perform the
22520         processing.  Always free scratch buffer.
22522 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22524         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22525         remaining bytes in the dest string, with zeros.
22527 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22529         [BZ #20010]
22530         CVE-2016-3706
22531         * sysdeps/posix/getaddrinfo.c
22532         (convert_hostent_to_gaih_addrtuple): New function.
22533         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22534         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22535         AF_INET data.
22537 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22539         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22540         callback function gl_readdir.
22541         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22542         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22543         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22544         memcpy to copy the name.
22545         * manual/pattern.texi (Calling Glob): Document requirements for
22546         implementations of the gl_readdir callback function.
22547         * manual/examples/mkdirent.c: New example.
22548         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22549         per the manual guidance.
22550         * posix/tst-gnuglob.c (my_readdir): Likewise.
22552 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22554         [BZ #20014]
22555         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22556         not [__USE_POSIX].
22557         (getchar_unlocked): Likewise.
22558         (putc_unlocked): Likewise.
22559         (putchar_unlocked): Likewise.
22560         (flockfile): Likewise.
22561         (ftrylockfile): Likewise.
22562         (funlockfile): Likewise.
22563         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22564         variable.
22565         (test-xfail-XPG4/stdio.h/conform): Likewise.
22567         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22568         Expect constant.
22569         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22570         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22571         variable.
22572         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22573         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22575         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22576         [__USE_LARGEFILE64] (off64_t): Likewise.
22577         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22578         variable.
22580 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22582         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22584 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22586         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22587         * resolv/res_init.c: Likewise.
22588         * resolv/res_mkquery.c: Likewise.
22590 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22592         * resolv/res_init.c (isascii): Do not define.  Use definition in
22593         <ctype.h>.
22594         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22595         (LOG_AUTH): Remove.
22596         (SPRINTF): Remove, adjust caller.
22597         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22599 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22601         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22602         SUNSECURITY conditional.
22603         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22605 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22607         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22608         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22609         Remove BSD-related preprocessor conditionals.
22610         * conf/portability.h: Remove.
22612 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22614         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22615         * resolv/res_data.c: Likewise.
22617 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22619         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22620         * resolv/res_data.c: Remove code conditional on ultrix.
22622 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22624         * resolv/res_init.c (RFC1535): Do not define.  Remove
22625         RFC1535 preprocessor conditionals.
22626         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22627         because there configuration options which make the resolver
22628         behavior different.
22630 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22632         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22633         RESOLVSORT preprocessor conditionals.
22634         * resolv/nss_dns/dns-host.c: Likewise.
22635         * resolv/res_init.c: Likewise.
22637 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22639         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22640         is never defined.
22642 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22644         * inet/inet_lnaof.c: Remove SCSS keyword.
22645         * inet/inet_mkadr.c: Likewise.
22646         * inet/inet_net.c: Likewise.
22647         * inet/inet_netof.c: Likewise.
22648         * inet/rcmd.c: Likewise.
22649         * inet/rexec.c: Likewise.
22650         * inet/ruserpass.c: Likewise.
22652 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22654         * resolv/inet_addr.c: Remove _LIBC conditionals.
22655         * resolv/res_data.c: Likewise.
22656         * resolv/res_init.c: Likewise.
22657         * resolv/res_mkquery.c: Likewise.
22658         * resolv/res_libc.c: Update comment.
22659         * resolv/README: Update.
22661 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22663         * resolv/gethnamaddr.c: Remove SCSS keyword.
22664         * resolv/herror.c: Likewise.
22665         * resolv/inet_addr.c: Likewise.
22666         * resolv/inet_net_ntop.c: Likewise.
22667         * resolv/inet_net_pton.c: Likewise.
22668         * resolv/inet_neta.c: Likewise.
22669         * resolv/inet_ntop.c: Likewise.
22670         * resolv/inet_pton.c: Likewise.
22671         * resolv/ns_date.c: Remove RCS keyword.
22672         * resolv/ns_name.c: Likewise.
22673         * resolv/ns_netint.c: Likewise.
22674         * resolv/ns_parse.c: Likewise.
22675         * resolv/ns_print.c: Likewise.
22676         * resolv/ns_samedomain.c: Likewise.
22677         * resolv/ns_ttl.c: Likewise.
22678         * resolv/nsap_addr.c: Likewise.
22679         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22680         * resolv/res_data.c: Remove RCS keyword.
22681         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22682         * resolv/res_init.c: Likewise.
22683         * resolv/res_mkquery.c: Likewise.
22684         * resolv/res_query.c: Likewise.
22685         * resolv/res_send.c: Likewise.
22687 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22689         * conform/data/stdio.h-data (fdopen): Expect also for
22690         [XPG3 || XPG4].
22692         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22693         (fseeko): Likewise.
22694         (ftello): Likewise.
22695         (ftrylockfile): Likewise.
22696         (funlockfile): Likewise.
22697         (getc_unlocked): Likewise.
22698         (getchar_unlocked): Likewise.
22699         (putc_unlocked): Likewise.
22700         (putchar_unlocked): Likewise.
22702 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22704         [BZ #19868]
22705         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22706         DNS packet syntax checks (which were not needed before).  Skip
22707         over non-PTR records.
22709 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22711         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22712         definition.  Include <stddef.h> instead.
22714 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22716         [BZ #19831]
22717         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22718         function.
22719         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22720         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22722 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22724         [BZ #19862]
22725         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22726         (getanswer_r): Do not call syslog.
22727         (gaih_getanswer_slice): Likewise.
22728         * resolv/gethnamaddr.c (AskedForGot): Remove.
22729         (getanswer): Do not call syslog.
22730         (gethostbyaddr): Likewise.
22732 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22734         * conform/data/signal.h-data (union sigval): Expect also if
22735         [XOPEN2K].
22736         (struct sigevent): Likewise.
22737         (SIGEV_NONE): Likewise.
22738         (SIGEV_SIGNAL): Likewise.
22739         (SIGEV_THREAD): Likewise.
22740         (SIGRTMIN): Likewise.
22741         (SIGRTMAX): Likewise.
22742         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22743         variable.
22744         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22746 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22748         [BZ #19830]
22749         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22750         (gaih_getanswer_slice): Likewise.
22751         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22752         Also check for availability of RR metadata.
22754 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22756         [BZ #19825]
22757         * resolv/res_send.c (send_vc): Remove early *resplen2
22758         initialization.  Set *resplen2 on socket error.  Call
22759         close_and_return_error for other errors.
22761 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22763         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22764         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22765         (SCM_IUCV_TRGCLS): New define.
22767 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22769         [BZ #20005]
22770         * libio/fmemopen.c (fmemopen_write): Update internal position after
22771         write.
22772         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22773         * stdio-common/tst-fmemopen4.c: New file..
22775 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22777         [BZ #19996]
22778         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22779         not [__USE_XOPEN2K].
22780         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22781         variable.
22783         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22784         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22785         variable.
22787         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22788         [__USE_XOPEN2K8].
22789         [__USE_LARGEFILE64] (off64_t): Likewise.
22790         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22791         variable.
22793 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22795         [BZ #19989]
22796         * libio/stdio.h (cuserid): Do not declare if
22797         [__USE_XOPEN2K && !__USE_GNU].
22798         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22799         variable.
22801 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22803         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22804         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22805         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22806         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22807         ifunc'ed strcspn.
22808         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22809         [EALIGN]: Removed.
22810         [END]: Likewise
22811         [STRSPN]: Define instead of the above to control symbol name.
22812         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22813         New file.
22814         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22815         Likewise.
22816         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22817         Likewise.
22818         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22819         Likewise.
22820         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22821         [INITIAL_MASK]: New macro.
22822         [STRCSPN]: Likewise.
22823         [UPDATE_MASK]: Likewise.
22824         [USE_AS_STRCSPN]: Likewise.
22826 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22828         [BZ #19931]
22829         * stdio-common/tst-vfprintf-width-prec.c: New file.
22830         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22831         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22832         (generated): Add mtrace-related files.
22833         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22834         (tst-%-mem.out): New pattern rule, replaces
22835         tst-printf-bz18872-mem.out.
22836         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22837         specifier, deallocate any previously allocated work buffer.
22839 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22841         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22842         Add nop before __startcontext, add explaining comments.
22844 2016-04-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22846         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22847         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22848         completely different API.
22850         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22851         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22852         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22853         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22854         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22855         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22856         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22857         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22858         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22859         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22861 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22863         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22865 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22867         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22868         when it is the default of 0.
22870 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22872         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22873         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22874         (sysdep_routines): Add new strcasestr targets.
22875         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22876         (__libc_ifunc_impl_list): Likewise.
22877         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22878         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22879         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22880         * sysdeps/powerpc/powerpc64/power8/Makefile:
22881         New file to add strcasestr-ppc64 to sysdep_routines.
22882         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22883         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22885 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22887         * benchtests/Makefile (wcsmbs-benchset): Include only for
22888         native builds and runs.
22889         (LOCALES): Likewise.
22890         (bench-build): Build timing-type here instead of the bench
22891         target.  Generate locale only for native builds.
22892         * benchtests/README: Add note for cross-building.
22894         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22896         * benchtests/README: Update README to include instructions on
22897         using bench-build.
22899         * Makefile.in (bench-build): New target.
22900         * Rules (PHONY): Add bench-build target.
22901         * benchtests/Makefile (bench): Depend on bench-build.
22902         (bench-build): New target.
22904 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22906         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22907         profil_reply_port.
22908         (profile_waiter): Do not initialize profil_reply_port.
22909         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22910         frequency instead of tick length in us.
22912 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22914         [BZ #18712]
22915         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22916         (__old_mempcpy_small): Likewise.
22917         (__old_strcpy_small): Likewise.
22918         (__old_stpcpy_small): Likewise.
22919         (__old_strpbrk_c2): Fix compat symbol name.
22920         (__old_strpbrk_c3): Likewise.
22921         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22922         (__mempcpy_small): Remove.
22923         (__strcpy_small): Remove.
22924         (__stpcpy_small): Remove.
22926 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22928         [BZ #19400]
22929         * locale/iso-639.def: Add the Talossan/tzl language.
22931 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22933         [BZ #16983]
22934         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22935         comment.  Add "ln" to strchr check on postal_fmt.
22937 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22939         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22940         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22941         tel_dom_fmt.
22943 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22945         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22946         (sysdep_routines): Added __strlen_power8.
22947         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22948         __strlen_power8 entry.
22949         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22950         Implementation for POWER8.
22951         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22952         for __strlen_power8.
22953         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22954         Implementation for POWER8.
22956 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22958         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22960 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22962         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22963         Goldmont and Airmont processors.
22965 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22967         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22968         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22969         (__STRING2_SMALL_GET32): Remove.
22970         (memset): Remove.
22971         (__memset_1): Remove.
22972         (__memset_gc): Remove.
22973         (__mempcpy): Remove.
22974         (mempcpy): Remove.
22975         (__mempcpy_args): Remove.
22976         (strchr): Remove.
22977         (strcpy): Remove.
22978         (strcpy_args): Remove.
22979         (__stpcpy_args): Remove.
22980         (__strcmp_cc): Remove.
22981         (__strcmp_gc): Remove.
22982         (strstr): Remove.
22984 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22986         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22987         * nis/nis_call.c (nis_server_cache_add): Likewise.
22989 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22991         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22993 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22995         * malloc/arena.c (__malloc_fork_lock_parent)
22996         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22997         internal_function attribute.
22999 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
23001         * stdio-common/printf_fp.c (__printf_fp_l):
23002         Rename ___printf_fp_l to __printf_fp_l and
23003         remove strong alias. Use libc_hidden_def instead
23004         of ldbl_hidden_def macro.
23006 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23008         Remove malloc hooks from fork handler.  They are no longer needed
23009         because malloc runs right before fork, and no malloc calls from
23010         other fork handlers are not possible anymore.
23011         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
23012         declarations.
23013         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
23014         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
23015         (atfork_recursive_cntr): Remove.
23016         (__malloc_fork_lock_parent): Do not override malloc hooks and
23017         thread_arena.
23018         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
23019         thread_arena.
23020         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
23021         thread_arena instead of save_arena.
23023 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23025         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
23026         (thread_atfork, thread_atfork_static): Remove.
23027         * sysdeps/mach/hurd/malloc-machine.h:
23028         (thread_atfork, thread_atfork_static): Remove.
23030 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23032         [BZ #19431]
23033         Run the malloc fork handler as late as possible to avoid deadlocks.
23034         * malloc/malloc-internal.h: New file.
23035         * malloc/malloc.c: Include it.
23036         * malloc/arena.c (ATFORK_MEM): Remove.
23037         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
23038         Update comment.
23039         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
23040         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
23041         Remove outdated comment.
23042         (ptmalloc_init): Do not call thread_atfork.  Remove
23043         thread_atfork_static.
23044         * malloc/tst-malloc-fork-deadlock.c: New file.
23045         * Makefile (tests): Add tst-malloc-fork-deadlock.
23046         (tst-malloc-fork-deadlock): Link against libpthread.
23047         * manual/memory.texi (Aligned Memory Blocks): Update safety
23048         annotation comments.
23049         * sysdeps/nptl/fork.c (__libc_fork): Call
23050         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
23051         __malloc_fork_unlock_child.
23052         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
23054 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23056         [BZ #19613]
23057         Remove union wait.
23058         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
23059         (w_stopsig, w_stopval): Remove.
23060         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
23061         stat_loc argument.
23062         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
23063         (__WAIT_STATUS_DEFN): Remove.
23064         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23065         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
23066         (wait, wait3, wait4): Use int * for the stat_loc argument.
23067         * posix/wait.c (__wait): Likewise.
23068         * posix/wait3.c (__wait3): Likewise.
23069         * posix/wait4.c (__wait4): Likewise.
23070         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
23071         (__WAIT_STATUS_DEFN): Remove.
23072         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23073         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
23074         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
23075         argument.
23076         * sysdeps/posix/wait.c (__libc_wait): Likewise.
23077         * sysdeps/posix/wait3.c (__wait3): Likewise.
23078         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
23079         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23080         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
23081         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
23082         stat_loc argument.
23083         * manual/process.texi (BSD Wait Functions): Remove union wait.
23085 2016-04-13  Andreas Schwab  <schwab@suse.de>
23087         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
23088         (test-extras): Add tst-tlsalign-vars.
23089         * math/Makefile: Wrap long lines.
23090         (libm-vec-test-wrappers): Define.
23091         (test-extras): Add $(libm-vec-test-wrappers).
23092         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
23093         * nss/Makefile (extra-test-objs): Add nss_test1.os.
23094         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
23095         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
23096         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
23097         (extra-test-objs): Add corresponding objects.
23099 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
23101         [BZ #19928]
23102         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
23103         New.
23104         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
23105         times of shared cache size.
23106         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
23107         (VMOVNT): New.
23108         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
23109         (VMOVNT): Likewise.
23110         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23111         (VMOVNT): Likewise.
23112         (VMOVU): Changed to movups for smaller code sizes.
23113         (VMOVA): Changed to movaps for smaller code sizes.
23114         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
23115         comments.
23116         (PREFETCH): New.
23117         (PREFETCH_SIZE): Likewise.
23118         (PREFETCHED_LOAD_SIZE): Likewise.
23119         (PREFETCH_ONE_SET): Likewise.
23120         Rewrite to use forward and backward loops, which move 4 vector
23121         registers at a time, to support overlapping addresses and use
23122         non temporal store if size is above the threshold and there is
23123         no overlap between destination and source.
23125 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
23127         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
23128         Include dl-vdso.
23129         * sysdeps/unix/sysv/linux/mips/Versions: Add
23130         __vdso_clock_gettime.
23131         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
23132         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
23133         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
23134         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
23135         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
23136         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
23137         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23138         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23139         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23141 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23143         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
23144         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
23145         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23147         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23148         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23151         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
23152         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
23153         syscalls generation.
23154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23155         [__NR_pwrite64] (__NR_write): Remove define.
23156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23157         [__NR_pwrite64] (__NR_write): Remove define.
23158         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
23159         Remove define.
23160         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23161         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23162         Remove define.
23163         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23164         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23165         Linux implementation as base.
23166         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23168         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23169         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23170         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23174         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23175         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23176         syscall generation.
23177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23178         [__NR_pread64] (__NR_pread): Remove define.
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23180         [__NR_pread64] (__NR_pread): Likewise.
23181         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23182         define.
23183         (__libc_pread): Use SYSCALL_LL macro on offset argument.
23184         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23185         Remove define.
23186         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23187         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23188         Linux implementation as base.
23189         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23190         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23191         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23193         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23194         definition.
23195         (__ALIGNMENT_COUNT): Likewise.
23196         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23197         (__ALIGNMENT_COUNT): Likewise.
23198         (SYSCALL_LL): New define.
23199         (SYSCALL_LL64): Likewise.
23200         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23201         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23202         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23203         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23205         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23206         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23207         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23208         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23209         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23210         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23212 2016-04-11  Florian Weimer  <fweimer@redhat.com>
23214         [BZ #19865]
23215         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23216         original buffer before retry.
23218 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23220         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23221         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23222         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23223         GLRO(dl_auxv) list.
23224         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23225         including <ldsodefs.h>.
23226         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23228 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
23230         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23231         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23232         $(CPPFLAGS).
23234 2016-04-09  Khem Raj  <raj.khem@gmail.com>
23236         [BZ #17950]
23237         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23238         Add -mfpmath=387.
23240 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
23242         * sysdeps/i386/configure.ac: Change == to = when calling test.
23243         * sysdeps/x86_64/configure.ac: Likewise.
23244         * sysdeps/i386/configure: Regenerated.
23245         * sysdeps/x86_64/configure: Likewise.
23247 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
23249         [BZ #16137]
23250         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23251         * benchtests/bench-strcoll.c (input_files): Likewise.
23252         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23253         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23254         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23256 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
23258         [BZ #19929]
23259         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23260         [__USE_XOPEN2K8 && !__USE_GNU].
23261         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23262         variable.
23264         [BZ #19925]
23265         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23266         define if [!__USE_MISC && __USE_XOPEN2K].
23267         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23268         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23269         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23270         Likewise.
23271         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23272         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23273         variable.
23274         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23276 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23278         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23279         (sysdep_routines): Add new strspn targets.
23280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23281         (__libc_ifunc_impl_list): Add strspn.
23282         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23283         New file.
23284         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23285         Likewise.
23286         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23287         Likewise.
23288         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23289         Likewise.
23291 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23293         * misc/hsearch_r.c: Include <limits.h>.
23295 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23297         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23299 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23301         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23302         (MEMCPY_SYMBOL): New.
23303         (MEMPCPY_SYMBOL): Likewise.
23304         (MEMMOVE_CHK_SYMBOL): Likewise.
23305         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23306         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23307         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23308         Provide alias for memcpy in libc.a and ld.so.
23310 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23312         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23313         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23314         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23315         Disabled fro now.
23316         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23317         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23319 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23321         * benchtests/Makefile (string-benchset): Add memcpy-large,
23322         memmove-large and memset-large.
23323         * benchtests/bench-memcpy-large.c: New file.
23324         * benchtests/bench-memmove-large.c: Likewise.
23325         * benchtests/bench-memmove-large.c: Likewise.
23326         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23328 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23330         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23331         32-bit displacement to avoid long nop between instructions.
23333 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23335         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23336         a comment on VMOVU and VMOVA.
23338 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23340         [BZ #19633]
23341         Use specified locale for number formatting in strfmon_l.
23342         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23343         (__nl_lookup_word): New inline functions.
23344         * include/printf.h (__print_fp_l): Declare.
23345         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23346         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23347         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23348         (___printf_fp): New function.
23349         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23350         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23351         * stdlib/tst-strfmon_l.c (do_test): New test.
23352         * stdlib/Makefile (tests): Add kt.
23353         (LOCALES): Build additional locales.
23354         (tst-strfmon_l.out): Require locales.
23356 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23358         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23359         if not in libc.
23360         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23361         Likewise.
23362         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23363         Likewise.
23364         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23365         Likewise.
23367 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23369         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23370         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23371         with unaligned_erms.
23372         (__memmove_erms): Skip if source == destination.
23373         (__memmove_unaligned_erms): Don't check source == destination
23374         first.
23376 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23378         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23379         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23381 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23383         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23384         * string/strspn.c (strspn): Likewise.
23386 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23388         * benchtests/bench-memset.c (do_test): Support 64-byte
23389         alignment.
23390         (test_main): Test 64-byte alignment.
23392 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23394         * benchtests/bench-memmove.c (test_main): Test 64-byte
23395         alignment.
23397 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23399         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23401 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23403         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23404         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23405         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23407         * string/strpbrk.c (strpbrk): Rewrite function.
23408         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23409         (__strpbrk_c2): Likewise.
23410         (__strpbrk_c3): Likewise.
23411         * string/string-inlines.c
23412         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23413         Likewise.
23414         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23415         Likewise.
23417         * string/strspn.c (strcspn): Rewrite function.
23418         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23419         (__strspn_c1): Remove inline function.
23420         (__strspn_c2): Likewise.
23421         (__strspn_c3): Likewise.
23422         * string/string-inlines.c
23423         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23424         compatibility symbol.
23425         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23426         Likewise.
23427         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23428         Likewise.
23429         * string/string-inlines.c: Include generic version.
23431 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23432             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23434         * string/Version (libc): Add GLIBC_2.24.
23435         * string/strcspn.c (strcspn): Rewrite function.
23436         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23437         (__strcspn_c1): Remove inline function.
23438         (__strcspn_c2): Likewise.
23439         (__strcspn_c3): Likewise.
23440         * string/string-inline.c
23441         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23442         compatibility symbol.
23443         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23444         Likewise.
23445         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23446         Likewise.
23447         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23449 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23451         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23452         Use ahi instead of aghi to adjust stack pointer.
23454 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23456         [BZ #19853]
23457         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23458         TEST to take significant digits as second parameter.
23459         [TEST]: Redefine in terms of TEST_N taking 30
23460         significant digits.
23461         (do_test): Add test case to demonstrate precision
23462         failure in the ldbl-128ibm printf.
23463         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23464         (__mpn_extract_long_double): Carry 7 extra intermediate
23465         bits of precision to aide computing difference when
23466         signs differ.
23468 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23470         [BZ #19881]
23471         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23472         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23473         memset-avx512-unaligned-erms.
23474         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23475         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23476         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23477         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23478         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23479         __memset_sse2_unaligned_erms, __memset_erms,
23480         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23481         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23482         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23483         file.
23484         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23485         Likewise.
23486         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23487         Likewise.
23488         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23489         Likewise.
23491 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23493         [BZ #19776]
23494         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23495         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23496         memmove-avx512-unaligned-erms.
23497         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23498         (__libc_ifunc_impl_list): Test
23499         __memmove_chk_avx512_unaligned_2,
23500         __memmove_chk_avx512_unaligned_erms,
23501         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23502         __memmove_chk_sse2_unaligned_2,
23503         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23504         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23505         __memmove_avx512_unaligned_erms, __memmove_erms,
23506         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23507         __memcpy_chk_avx512_unaligned_2,
23508         __memcpy_chk_avx512_unaligned_erms,
23509         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23510         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23511         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23512         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23513         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23514         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23515         __mempcpy_chk_avx512_unaligned_erms,
23516         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23517         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23518         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23519         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23520         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23521         __mempcpy_erms.
23522         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23523         file.
23524         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23525         Likewise.
23526         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23527         Likewise.
23528         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23529         Likewise.
23531 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23533         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23534         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23535         (La_s390_64_regs): Likewise.
23536         (La_s390_32_retval): Append vector register lrv_v24.
23537         (La_s390_64_retval): Likeweise.
23538         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23539         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23540         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23541         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23543 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23545         [BZ #19916]
23546         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23547         to create a non-vector/vector version for _dl_runtime_resolve and
23548         _dl_runtime_profile. Move implementation to ...
23549         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23550         (_dl_runtime_resolve) Save and restore fpr/vrs.
23551         (_dl_runtime_profile) Save and restore vrs and fix some issues
23552         if _dl_call_pltexit is called.
23553         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23554         Choose the correct resolver function if running on a machine with vx.
23555         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23556         to create a non-vector/vector version for _dl_runtime_resolve and
23557         _dl_runtime_profile. Move implementation to ...
23558         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23559         (_dl_runtime_resolve) Save and restore fpr/vrs.
23560         (_dl_runtime_profile) Save and restore vrs and fix some issues
23561         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23562         Choose the correct resolver function if running on a machine with vx.
23564 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23566         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23568 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23570         [BZ #19509]
23571         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23572         skip_map != NULL.
23573         * elf/tst-dlsym-error.c: New file.
23574         * elf/Makefile (tests): Add tst-dlsym-error.
23575         (tst-dlsym-error): Link against libdl.
23577 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23579         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23580         (__ASSUME_FUTIMESAT): Remove macro.
23581         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23583 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23585         [BZ #19879]
23586         CVE-2016-3075
23587         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23588         copy name.
23590 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23592         [BZ #19837]
23593         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23594         error if parse_line fails.
23596 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23598         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23599         (index_cpu_ERMS): Likewise.
23600         (reg_ERMS): Likewise.
23602 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23604         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23605         PER_LINUX_FDPIC): Add.
23607 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23609         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23610         memcpy-avx512-no-vzeroupper.
23611         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23612         to ...
23613         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23614         (MEMCPY): Don't define.
23615         (MEMCPY_CHK): Likewise.
23616         (MEMPCPY): Likewise.
23617         (MEMPCPY_CHK): Likewise.
23618         (MEMPCPY_CHK): Renamed to ...
23619         (__mempcpy_chk_avx512_no_vzeroupper): This.
23620         (MEMPCPY_CHK): Renamed to ...
23621         (__mempcpy_chk_avx512_no_vzeroupper): This.
23622         (MEMCPY_CHK): Renamed to ...
23623         (__memmove_chk_avx512_no_vzeroupper): This.
23624         (MEMCPY): Renamed to ...
23625         (__memmove_avx512_no_vzeroupper): This.
23626         (__memcpy_avx512_no_vzeroupper): New alias.
23627         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23629 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23631         [BZ #18858]
23632         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23633         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23634         and mempcpy-avx512-no-vzeroupper.
23635         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23636         New.
23637         (MEMPCPY): Likewise.
23638         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23639         (MEMPCPY_CHK): New.
23640         (MEMPCPY): Likewise.
23641         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23642         (MEMPCPY): Likewise.
23643         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23644         (MEMPCPY): Likewise.
23645         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23646         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23647         Likewise.
23648         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23649         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23651 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23652              Amit Pawar  <Amit.Pawar@amd.com>
23654         [BZ #19583]
23655         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23656         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23657         processors.  Set Fast_Copy_Backward for AMD Excavator
23658         processors.
23659         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23660         New.
23661         (index_arch_Fast_Unaligned_Copy): Likewise.
23662         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23663         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23665 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23667         [BZ #19791]
23668         * resolv/res_send.c (close_and_return_error): New function.
23669         (send_dg): Initialize *resplen2 after reopen failure.  Call
23670         close_and_return_error for error returns.  On error paths without
23671         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23672         successful return.
23674 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23676         [BZ #19860]
23677         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23678         zero if the compiler does not provide the AVX512F bit.
23680 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23682         [BZ #19848]
23683         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23684         from 8 to 4.
23685         (__ieee754_powl): Compare integer exponent against 4 not 8.
23686         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23687         from 8 to 4.
23688         (__ieee754_powl): Compare integer exponent against 4 not 8.
23689         * math/auto-libm-test-in: Add more tests of pow.
23690         * math/auto-libm-test-out: Regenerated.
23691         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23694 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23696         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23697         Make code unconditional.
23698         [!__NR_utimensat]: Remove conditional code.
23699         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23700         Make code unconditional.
23701         [!__NR_utimensat]: Remove conditional code.
23702         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23703         Make code unconditional.
23704         [!__NR_utimensat]: Remove conditional code.
23706 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23708         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23709         Make code unconditional.
23711 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23713         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23714         call-clobbered %eax on retry path.
23715         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23717 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23719         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23720         Don't set %rcx twice before "rep movsb".
23722 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23724         [BZ #19583]
23725         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23726         inline.  Check family before setting family, model and
23727         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23728         bits here.
23729         (init_cpu_features): Replace HAS_CPU_FEATURE and
23730         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23731         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23732         for Intel processors with usable AVX2.  Call get_common_indeces
23733         for other processors with family == NULL.
23734         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23735         (CPU_FEATURES_ARCH_P): Likewise.
23736         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23737         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23739 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23741         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23742         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23743         $(shared-thread-library) instead of hardcoding the path to libpthread.
23745 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23747         * sysdeps/unix/sysv/linux/kernel-features.h
23748         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23749         * sysdeps/unix/sysv/linux/getdents.c
23750         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23751         [!have_no_getdents64_defined]: Likewise.
23752         (__GETDENTS): Remove __have_no_getdents64 conditional.
23754 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23756         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23757         Remove macro.
23758         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23759         <kernel-features.h>.
23760         (signalfd) [__NR_signalfd4]: Make code unconditional.
23761         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23763 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23765         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23766         style.
23768 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23770         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23771         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23772         __pthread_unwind.
23773         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23774         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23775         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23776         (__condvar_cleanup1): Likewise.
23778 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23780         [BZ #19822]
23781         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23782         move it to the final $@ location.
23784 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23786         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23787         access where posix_spawn success and pid argument is null.
23788         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23789         success case.
23791 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23793         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23795         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23797         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23798         and __fcntl.
23799         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23800         __fcntl only.
23801         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23802         adding attribute_hidden to __open and __fcntl.
23804         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23805         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23806         depend on libc-modules.h,
23807         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23809 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23811         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23812         Remove macro.
23813         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23814         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23815         entry.
23817         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23818         Remove macro.
23819         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23820         include <kernel-features.h>.
23821         [!__ASSUME_FALLOCATE]: Remove conditional code.
23822         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23824 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23826         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23827         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23828         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23829         (_ZGVdN4v_cos_avx2): Likewise.
23830         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23831         (_ZGVdN4v_cos): Likewise.
23832         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23833         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23834         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23835         (_ZGVdN4v_exp_avx2): Likewise.
23836         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23837         (_ZGVdN4v_exp): Likewise.
23838         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23839         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23840         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23841         (_ZGVdN4v_log_avx2): Likewise.
23842         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23843         (_ZGVdN4v_log): Likewise.
23844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23845         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23846         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23847         (_ZGVdN4vv_pow_avx2): Likewise.
23848         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23849         (_ZGVdN4vv_pow): Likewise.
23850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23851         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23852         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23853         (_ZGVdN4v_sin_avx2): Likewise.
23854         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23855         (_ZGVdN4v_sin): Likewise.
23856         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23857         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23858         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23859         (_ZGVdN4vvv_sincos_avx2): Likewise.
23860         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23861         (_ZGVdN4vvv_sincos): Likewise.
23862         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23863         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23864         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23865         (_ZGVbN4v_cosf_sse4): Likewise.
23866         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23867         (_ZGVdN8v_cosf_avx2): Likewise.
23868         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23869         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23871         (_ZGVbN4v_expf_sse4): Likewise.
23872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23873         (_ZGVdN8v_expf_avx2): Likewise.
23874         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23875         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23876         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23877         (_ZGVbN4v_logf_sse4): Likewise.
23878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23879         (_ZGVdN8v_logf_avx2): Likewise.
23880         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23881         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23882         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23883         (_ZGVbN4vv_powf_sse4): Likewise.
23884         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23885         (_ZGVdN8vv_powf_avx2): Likewise.
23886         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23887         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23888         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23889         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23890         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23891         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23892         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23893         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23894         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23895         (_ZGVbN4v_sinf_sse4): Likewise.
23896         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23897         (_ZGVdN8v_sinf_avx2): Likewise.
23898         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23899         Use JUMPTARGET to call callee.
23900         (WRAPPER_IMPL_SSE2_ff): Likewise.
23901         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23902         (WRAPPER_IMPL_AVX): Likewise.
23903         (WRAPPER_IMPL_AVX_ff): Likewise.
23904         (WRAPPER_IMPL_AVX_fFF): Likewise.
23905         (WRAPPER_IMPL_AVX512): Likewise.
23906         (WRAPPER_IMPL_AVX512_ff): Likewise.
23907         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23908         Likewise.
23909         (WRAPPER_IMPL_SSE2_ff): Likewise.
23910         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23911         (WRAPPER_IMPL_AVX): Likewise.
23912         (WRAPPER_IMPL_AVX_ff): Likewise.
23913         (WRAPPER_IMPL_AVX_fFF): Likewise.
23914         (WRAPPER_IMPL_AVX512): Likewise.
23915         (WRAPPER_IMPL_AVX512_ff): Likewise.
23916         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23918 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23920         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23921         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23922         qualifier.
23923         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23924         internal_function qualifiers.
23926 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23928         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23929         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23930         * math/atest-exp.c (exp_mpn): Mark chk unused.
23931         * math/atest-exp2.c (exp_mpn): Likewise.
23932         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23933         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23935 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23937         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23938         Remove macro.
23939         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23940         <kernel-features.h>.
23941         [__NR_ppoll]: Make code unconditional.
23942         [!__ASSUME_PPOLL]: Remove conditional code.
23944         * sysdeps/unix/sysv/linux/kernel-features.h
23945         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23946         (__ASSUME_ACCEPT4): Likewise.
23947         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23948         Define.
23949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23950         Likewise.
23951         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23952         Likewise.
23953         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23954         Likewise.
23955         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23956         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23957         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23958         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23959         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23960         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23961         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23962         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23963         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23964         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23965         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23966         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23967         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23968         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23969         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23970         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23971         Likewise.
23972         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23973         Likewise.
23974         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23975         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23976         0x040300].
23977         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23978         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23979         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23980         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23981         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23982         0x030300].
23983         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23984         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23985         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23986         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23987         0x040300].
23988         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23989         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23990         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23991         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23992         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23993         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23994         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23995         0x030300].
23996         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23997         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23998         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23999         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24000         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24001         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24002         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24003         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24004         * sysdeps/unix/sysv/linux/s390/kernel-features.h
24005         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
24006         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
24007         0x040300].
24008         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24009         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24010         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24011         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24012         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24013         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24014         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24015         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24016         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24017         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24018         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24019         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24020         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24021         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24022         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
24023         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24024         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24025         Likewise.
24026         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24027         Likewise.
24029 2016-03-15  Andreas Schwab  <schwab@suse.de>
24031         [BZ #19257]
24032         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
24033         statp->_u._ext.nscount as loop count.
24035 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24037         * math/test-signgam-finite-c99.c: Also #undef
24038         __LIBC_INTERNAL_MATH_INLINES.
24039         * math/test-signgam-main.c: Likewise.
24041 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
24043         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
24044         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
24045         (MADV_FREE): Likewise.
24046         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
24047         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
24048         EPOLLEXCLUSIVE.
24050 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
24052         * timezone/README: Remove mention of checktab.awk. Mention wiki
24053         SharedSourceFiles.
24055 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24057         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
24058         WUNTRACED.
24060 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24062         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
24063         order to match the type of p when calling atomic_exchange_acq().
24065 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24067         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
24068         cfi_offset calls.
24069         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
24070         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
24071         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
24072         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
24073         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
24075 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
24077         * timezone/checktab.awk: Removed.
24079 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
24081         * manual/math.texi (Errors in Math Functions): Document relaxed
24082         accuracy goals for IBM long double.
24083         * math/libm-test.inc (test_exceptions): Always allow spurious
24084         "underflow" and "inexact" exceptions for IBM long double.
24086 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
24088         [BZ #19762]
24089         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24090         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
24091         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
24092         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
24093         (bit_arch_*): This for feature array.
24094         (bit_*): Renamed to ...
24095         (bit_cpu_*): This for cpu array.
24096         (index_*): Renamed to ...
24097         (index_arch_*): This for feature array.
24098         (index_*): Renamed to ...
24099         (index_cpu_*): This for cpu array.
24100         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
24101         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24102         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
24103         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
24104         bit_##name with index_cpu_##name and bit_cpu_##name.
24105         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
24106         bit_##name with index_arch_##name and bit_arch_##name.
24108 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
24110         [BZ #19792]
24111         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
24112         Terminate FDE before return label.
24114 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
24116         [BZ #19790]
24117         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
24118         (rintl): Define as macro.
24119         [USE_AS_NEARBYINTL] (__rintl): Likewise.
24120         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
24121         of fesetround.  Ensure results are evaluated before end of scope.
24122         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
24123         USE_AS_NEARBYINTL and include s_rintl.c.
24124         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
24125         Disable exception traps in new environment.
24126         (libc_feholdsetround_ppc_ctx): Likewise.
24128 2016-03-08  Roland McGrath  <roland@hack.frob.com>
24130         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
24131         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
24132         (tst_audit10_aux) [__AVX512F__]: ... here.
24134 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
24136         * include/sys/auxv.h: New file.
24138 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
24140         [BZ #19759]
24141         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
24143 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24145         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
24146         operand modifier.
24147         (feclearexcept): Likewise.
24149 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24151         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
24152         to reflect the entire 32-bit HWCAP.
24153         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
24154         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
24156 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
24158         [BZ #19783]
24159         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24160         $(test-via-rtld-prefix).
24161         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24163 2016-03-08  Florian Weimer  <fweimer@redhat.com>
24165         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24166         union wait.  Report any non-zero exit status as error.
24168 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24170         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24171         configured with --enable-hardcoded-path-in-tests.
24173 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
24175         [BZ #19677]
24176         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24177         (__ieee754_remainderl): Put zero low parts in canonical form.
24178         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24179         file.  Based on
24180         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24181         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24182         with wrapper round test-fmodrem-ldbl-128ibm.c.
24183         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24184         file.
24185         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24186         Likewise.
24187         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24188         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24190 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24192         [BZ #19610]
24193         * elf/ldconfig.c (opt_link): Update comment.
24194         (options): Update help string for option -X.
24195         (search_dir): Unlink stale symbolic link only if updating symbolic
24196         links.
24197         * elf/tst-ldconfig-X.sh: New file.
24198         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24199         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24201 2016-03-07  Andreas Schwab  <schwab@suse.de>
24203         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24204         needed arguments.
24206 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
24208         [BZ #15333]
24209         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24210         to lstat64.
24212 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24214         * libio/filedoalloc.c (isatty): Remove.
24215         (local_isatty): Add comment.  Call __isatty directly.
24216         (_IO_file_doallocate): Update comment.  Assume _LIBC.
24217         * libio/wfiledoalloc.c (isatty): Remove.
24218         (_IO_wfile_doallocate): Update comment.
24220 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24222         [BZ #19269]
24223         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24224         tst-audit4-aux.o.
24225         (tst-audit10): Depend on tst-audit10-aux.o.
24226         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24227         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24228         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24229         instead of inline AVX code.
24230         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24231         instead of inline AVX512 code.
24232         * sysdeps/x86_64/tst-audit4-aux.c: New file
24233         * sysdeps/x86_64/tst-audit10-aux.c: New file
24235         [BZ #19648]
24236         * test-skeleton.c (main): Do not set RLIMIT_DATA.
24238 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24240         [BZ #14750]
24241         [BZ #10354]
24242         [BZ #18433]
24243         * include/sched.h (__clone): Add hidden prototype.
24244         (__clone2): Likewise.
24245         * include/unistd.h (__dup): Likewise.
24246         * posix/Makefile (tests): Add tst-spawn2.
24247         * posix/tst-spawn2.c: New file.
24248         * sysdeps/posix/dup.c (__dup): Add hidden definition.
24249         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24250         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24251         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24252         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24253         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24254         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24255         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24256         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24257         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24258         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24260         Likewise.
24261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24262         Likewise.
24263         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24264         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24265         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24266         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24267         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24268         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24269         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24270         * sysdeps/unix/sysv/linux/nptl-signals.h
24271         (____nptl_is_internal_signal): New function.
24272         * sysdeps/unix/sysv/linux/spawni.c: New file.
24274         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24275         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24276         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24277         * posix/tst-execvp2.c (do_test): Likewise.
24278         * posix/tst-execvp3.c (do_test): Likewise.
24279         * posix/tst-execvp4.c (do_test): Likewise.
24280         * posix/tst-execvpe1.c: New file.
24281         * posix/tst-execvpe2.c: Likewise.
24282         * posix/tst-execvpe3.c: Likewise.
24283         * posix/tst-execvpe4.c: Likewise.
24284         * posix/tst-execvpe5.c: Likewise.
24285         * posix/tst-execvpe6.c: Likewise.
24287         [BZ #19534]
24288         * posix/execl.c (execl): Remove dynamic memory allocation.
24289         * posix/execle.c (execle): Likewise.
24290         * posix/execlp.c (execlp): Likewise.
24292 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24294         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24295         Replace .text with .text.avx512.
24296         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24297         Likewise.
24299 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24301         * sysdeps/generic/libnsl.abilist: New file.
24302         * sysdeps/generic/libutil.abilist: New file.
24304 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24306         [BZ #19762]
24307         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24308         HAS_ARCH_FEATURE with Fast_Rep_String.
24309         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24310         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24311         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24312         Likewise.
24313         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24314         Likewise.
24315         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24316         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24317         Likewise.
24318         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24319         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24320         Likewise.
24322 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24324         [BZ #19745]
24325         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24326         with *%rax in call.
24328 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24330         [BZ #19745]
24331         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24332         with *__libc_start_main@GOTPCREL(%rip) in call.
24334 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24336         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24337         inside conditional for nonempty $(CXX).
24339         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24340         nonempty.
24342         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24343         to test for empty $(CXX) rather than $(CXX) of "no".
24345 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24347         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24349 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24350             H.J. Lu  <hongjiu.lu@intel.com>
24352         [BZ #18880]
24353         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24354         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24355         enable __memcpy_ssse3_back.
24357 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24359         [BZ #19758]
24360         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24361         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24363 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24365         [BZ #19490]
24366         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24367         (__fentry__): Likewise.
24369 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24371         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24372         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24374 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24376         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24377         __mcount_internal directly.
24378         (C_LABEL(__fentry__)): Likewise.
24379         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24380         directly.
24382 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24384         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24385         (__start_context): Call __setcontext directly.
24387 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24389         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24390         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24391         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24392         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24393         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24394         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24395         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24396         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24397         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24398         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24399         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24400         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24401         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24402         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24403         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24404         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24405         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24406         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24407         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24408         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24409         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24411         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24412         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24413         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24414         Remove conditional code.
24415         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24416         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24417         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24418         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24419         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24420         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24421         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24422         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24423         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24424         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24425         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24426         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24428 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24430         * NEWS (2.23): Fix typo in bug 19048 text.
24432 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24434         [BZ #14259]
24435         * Makeconfig: Rename msgcatdir to localedir.
24436         Rename inst_msgcatdir to inst_localedir.
24437         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24438         * config.make.in: Add localedir.
24439         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24440         (ldd-rewrite): Likewise.
24441         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24442         (install-others): Use inst_localedir.
24443         (CPPFLAGS): Use localedir.
24444         * locale/Makefile (locale-CPPFLAGS): Likewise.
24445         * po/Makefile (mo-installed): Use inst_localedir.
24447         [BZ #19575]
24448         * localedata/charmaps/GB18030: Update comments regarding PAU to
24449         non-PUA mappings.
24451 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24453         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24454         test for header.
24455         * sysdeps/unix/sysv/linux/configure: Regenerated.
24456         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24457         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24458         Remove conditional code.
24459         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24461         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24462         Define to 3.2.0.
24463         (arch_minimum_kernel): Likewise.
24464         * sysdeps/unix/sysv/linux/configure: Regenerated.
24465         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24466         Define to 2.6.32.
24467         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24468         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24469         (arch_minimum_kernel): Define to 2.6.32.
24470         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24471         * README: Document Linux 3.2 requirement.
24472         * manual/install.texi (Linux): Document Linux 3.2 headers
24473         requirement.
24474         * INSTALL: Regenerated.
24476 2016-02-24  Andreas Schwab  <schwab@suse.de>
24478         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24479         if !NO_LONG_DOUBLE.
24481 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24483         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24484         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24486 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24488         [BZ #19512]
24489         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24491 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24493         * posix/tst-dir.c: Include libc-internal.h.
24495 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24497         [BZ #19056]
24498         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24499         * manual/filesys.texi (Reading/Closing Directory): Mention
24500         deprecaion.
24501         * posix/tst-dir.c (main): Disable deprecation warning in test.
24503 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24505         [BZ #19679]
24506         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24507         Renamed to ...
24508         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24509         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24510         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24511         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24512         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24513         * sysdeps/x86_64/dl-trampoline.h
24514         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24515         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24517 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24519         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24521 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24523         * elf/elf.h (R_386_GOT32X): New.
24524         (R_386_NUM): Update.
24525         (R_X86_64_GOTPCRELX: New.
24526         (R_X86_64_REX_GOTPCRELX): New.
24527         (R_X86_64_NUM): Update.
24529 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24531         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24533 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24535         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24536         assign attr->stackaddr to it, and adjust it down when
24537         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24538         [_STACK_GROWS_UP]: Delete assert.
24539         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24540         Implement stack grows up logic.
24541         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24542         stack grows up logic.
24544 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24546         * NEWS: Update with 2.24 template.
24548 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24550         [BZ #19678]
24551         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24552         Ensure +0.0 is returned when taking the next value below the least
24553         positive value.
24555 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24557         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24558         available.  Do not define NO_THREADS.
24559         * malloc/malloc.c: Do not check NO_THREADS.
24560         * malloc/arena.c: Likewise.
24562 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24564         * malloc/malloc.c (__libc_mallinfo): Update comment.
24565         (struct malloc_par): Remove max_total_mem member, it was always 0.
24566         (int_mallinfo): Store 0 into usmblks (no functional change).
24567         * malloc/hooks.c (struct malloc_state): Document that
24568         max_total_mem is always 0.
24569         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24570         always 0.
24571         * manual/memory.texi (Statistics of Malloc): Likewise.
24573 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24575         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24576         * malloc/arena.c (arena_max): Remove.
24577         (heap_trim, _int_new_arena): Do not update arena_max.
24579 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24581         * resolv/res_init.c (res_ninit): Update comment.
24583 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24585         [BZ #19505]
24586         * posix/spawn_int.h: Add headers and include guard.
24587         (__spawn_valid_fd): New function.
24588         * posix/spawn_faction_addopen.c
24589         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24590         * posix/spawn_faction_addclose.c
24591         (posix_spawn_file_actions_addclose): Likewise.
24592         * posix/spawn_faction_adddup2.c
24593         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24594         second file descriptor.
24595         * posix/spawn_valid_fd.c: New file.
24596         * posix/tst-posix_spawn-fd.c: New file.
24597         * posix/Makefile (routines): Add spawn_valid_fd.
24598         (tests): Add tst-posix_spawn-fd.
24600 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24602         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24603         (do_test): Limit the number of arenas, so that we can use fewer
24604         outer threads.  Limit timeout to 3 seconds, in preparation for a
24605         larger TIMEOUT value.
24607 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24609         [BZ #19674]
24610         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24611         sign in overflowing and underflowing results when overflow or
24612         underflow is detected early.  Include sign in result before rather
24613         than after scaling.
24615         [BZ #19603]
24616         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24617         (__ieee754_remainderl): Adjust sign of integer version of low part
24618         when taking absolute value of high part.
24619         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24620         * math/libm-test.inc (remainder_test_data): Add another test.
24621         (remquo_test_data): Likewise.
24623 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24625         [BZ #19602]
24626         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24627         equal high parts and both low parts zero specially.
24628         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24629         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24630         Add test-fmodl-ldbl-128ibm.
24632         [BZ #19595]
24633         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24634         common logic for all cases of shifting subnormal results.  Do not
24635         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24636         exponent to ldbl_insert_mantissa in subnormal case.
24638         [BZ #19594]
24639         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24640         on high and low parts then adjust result and use
24641         ldbl_canonicalize_int if needed.
24643         [BZ #19593]
24644         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24645         on high part and __floor or __ceil on low part then use
24646         ldbl_canonicalize_int if needed.
24648         [BZ #19592]
24649         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24650         high and low parts then use ldbl_canonicalize_int if needed.
24652         [BZ #17899]
24653         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24654         New function.
24655         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24656         on high and low parts then use ldbl_canonicalize_int if needed.
24658 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24660         * configure: Regenerated.
24662         * po/libc.pot: Regenerated.
24664         * po/be.po: Updated translation.
24665         * po/bg.po: Likewise.
24666         * po/ca.po: Likewise.
24667         * po/cs.po: Likewise.
24668         * po/da.po: Likewise.
24669         * po/el.po: Likewise.
24670         * po/eo.po: Likewise.
24671         * po/es.po: Likewise.
24672         * po/fi.po: Likewise.
24673         * po/fr.po: Likewise.
24674         * po/gl.po: Likewise.
24675         * po/hr.po: Likewise.
24676         * po/hu.po: Likewise.
24677         * po/ia.po: Likewise.
24678         * po/id.po: Likewise.
24679         * po/it.po: Likewise.
24680         * po/ja.po: Likewise.
24681         * po/lt.po: Likewise.
24682         * po/nb.po: Likewise.
24683         * po/nl.po: Likewise.
24684         * po/pt_BR.po: Likewise.
24685         * po/rw.po: Likewise.
24686         * po/sk.po: Likewise.
24687         * po/sl.po: Likewise.
24688         * po/sv.po: Likewise.
24689         * po/tr.po: Likewise.
24690         * po/zh_CN.po: Likewise.
24691         * po/zh_TW.po: Likewise.
24693         * version.h (RELEAES): Set to "development".
24694         (VERSION): Set to 2.23.90.
24696         * version.h (RELEASE): Set to "stable".
24697         (VERSION): Set to 2.23.
24698         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24700         * NEWS: Updated fixed bugs.
24702 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24703             Wilco Dijkstra  <wdijkstr@arm.com>
24705         [BZ #19462]
24706         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24707         (_STRING_INLINE_unaligned): This.
24708         * include/string.h: Include <string_private.h>.
24709         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24710         _STRING_INLINE_unaligned.
24711         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24712         (_STRING_INLINE_unaligned): New.
24713         * sysdeps/aarch64/string_private.h: New file.
24714         * sysdeps/generic/string_private.h: Likewise.
24715         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24716         * sysdeps/s390/string_private.h: Likewise.
24717         * sysdeps/x86/string_private.h: Likewise.
24718         * sysdeps/m68k/m680x0/m68020/bits/string.h
24719         (_STRING_ARCH_unaligned): Renamed to ...
24720         (_STRING_INLINE_unaligned): This.
24721         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24722         to ...
24723         (_STRING_INLINE_unaligned): This.
24724         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24725         to ...
24726         (_STRING_INLINE_unaligned): This.
24727         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24728         to ...
24729         (_STRING_INLINE_unaligned): This.
24731 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24732             H.J. Lu  <hongjiu.lu@intel.com>
24734         [BZ #19590]
24735         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24736         relocation.
24738 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24740         [BZ #18665]
24741         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24742         *herrno_p.
24743         (gaih_getanswer): Document functional behviour. Return tryagain
24744         if any result is tryagain.
24745         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24746         when freed.
24747         * resolv/res_send.c: Add copyright text.
24748         (__libc_res_nsend): Document that MAXPACKET is expected.
24749         (send_vc): Document. Remove buffer reuse.
24750         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24751         size of the buffer. Add Dprint for truncated UDP buffer.
24753 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24755         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24756         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24757         * INSTALL: Regenerate.
24759 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24760             Jonathan Wakely  <jwakely@redhat.com>
24761             Carlos O'Donell  <carlos@redhat.com>
24763         [BZ 19439]
24764         * math/Makefile (tests): Add test-math-isinff.
24765         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24766         * math/bits/mathcalls.h [__USE_MISC]: Use
24767         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24768         functions not in C++11 and which don't conflict e.g. isinff,
24769         isinfl etc.
24770         * math/test-math-isinff.cc: New file.
24772 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24774         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24776 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24778         [BZ #19529]
24779         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24781 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24783         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24785 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24787         [BZ #19550]
24788         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24789         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24790         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24791         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24792         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24793         New syscall entry.
24794         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24795         New syscall entry.
24796         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24797         syscall entry.
24799 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24801         [BZ #18240]
24802         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24803         unsigned int wraparound.
24805 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24807         [BZ #18240]
24808         * misc/bug18240.c: New test.
24809         * misc/Makefile (tests): Add it.
24811 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24812             Joseph Myers  <joseph@codesourcery.com>
24814         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24815         load in branch delay slot when less than a word of input left.
24817 2016-01-27  Andreas Schwab  <schwab@suse.de>
24819         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24820         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24821         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24822         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24824 2016-01-26  David S. Miller  <davem@davemloft.net>
24826         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24828 2016-01-25  David S. Miller  <davem@davemloft.net>
24830         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24831         __sqrtl_finite.
24832         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24833         instead using versioned_symbol.
24834         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24835         of entries.
24837         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24838         __sqrtl_finite to GLIBC_2.23
24840 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24842         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24844 2016-01-25  Andreas Schwab  <schwab@suse.de>
24846         [BZ #17514]
24847         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24848         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24849         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24850         * nptl/tst-mutex-errorcheck.c: New file.
24852 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24854         [BZ #18560]
24855         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24856         (IPCOP_semop): Likewise.
24857         (IPCOP_semget): Likewise.
24858         (IPCOP_semctl): Likewise.
24859         (IPCOP_msgsnd): Likewise.
24860         (IPCOP_msgrcv): Likewise.
24861         (IPCOP_msgget): Likewise.
24862         (IPCOP_msgctl): Likewise.
24863         (IPCOP_shmat): Likewise.
24864         (IPCOP_shmdt): Likewise.
24865         (IPCOP_shmget): Likewise.
24866         (IPCOP_shmctl): Likewise.
24868 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24870         * string/tst-endian.c: Include <libc-internal.h>.
24871         (do_test): Ignore tautological-compare warnings around
24872         "htobeXX (beXXtoh (i)) != i" and
24873         "htoleXX (leXXtoh (i)) != i" if-statements.
24875 2016-01-24  David S. Miller  <davem@davemloft.net>
24877         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24878         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24879         alias.
24880         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24881         __sqrtl_finite.
24883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24885 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24887         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24888         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24889         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24891 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24893         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24894         (thread_func): Use new function to simplify barrier check.
24895         (do_test): Use new function to simplify checking barrier exit
24896         code, and actually join the child thread.
24898 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24900         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24901         semicolon.
24902         (__libc_tend): Likewise.
24903         (__libc_tabort): Likewise.
24905 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24907         * sysdeps/nios2/libm-test-ulps: Update.
24908         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24909         (__gtsf2): Likewise.
24910         (__unorddf2): Likewise.
24911         (__unordsf2): Likewise.
24912         (__ledf2): Likewise.
24914 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24916         * nis/nis_table.c (__follow_path): Disable diagnostic for
24917         uninitialized variable that is a false positive for gcc 4.7.
24918         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24920 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24922         * sysdeps/nacl/lowlevellock-futex.h
24923         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24924         Always evaluate PRIVATE argument.
24926 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24928         [BZ #19490]
24929         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24930         (pthread_cond_broadcast): Use ENTRY/END
24931         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24932         (pthread_cond_signal): Likewise.
24933         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24934         Likewise.
24935         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24936         Likewise.
24937         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24938         Likewise.
24940 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24942         * sysdeps/ieee754/dbl-64/s_finite.c
24943         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24944         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24945         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24946         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24947         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24950         (__gtsf2): Add as optional for libc.so.
24951         (__unordsf2): Likewise.
24952         (__signbit): Remove for libc.so.
24953         (__signbitl): Likewise.
24955 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24957         * iconvdata/bug-iconv11.c (test_ibm93x):
24958         Use %zu printf format specifier for size_t argument.
24960 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24962         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24963         already-recorded ulps.
24964         * sysdeps/arm/libm-test-ulps: Regenerated.
24965         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24966         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24967         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24969 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24970             Paul Pluzhnikov  <ppluzhnikov@google.com>
24972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24973         assembler not supporting AVX-512.
24975 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24977         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24979 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24981         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24982         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24984         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24986         * sysdeps/arm/libm-test-ulps: Regenerated.
24988 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24990         [BZ #19451]
24991         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24993 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24995         [BZ #19486]
24996         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24997         * sysdeps/generic/fix-fp-int-convert-overflow.h
24998         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24999         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
25000         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
25001         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
25002         Likewise.
25003         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
25004         Avoid conversions to long int where inexact exceptions
25005         could be raised.
25006         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
25007         Likewise.
25008         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
25009         Avoid conversions to long long int where inexact exceptions
25010         could be raised.
25011         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
25012         Likewise.
25014 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
25016         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
25017         * configure: Regenerated.
25019 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
25021         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
25023 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
25025         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
25026         outside of comment.
25028 2016-01-15  Torvald Riegel  <triegel@redhat.com>
25030         * nptl/tst-barrier1.c: Add description on first line.
25031         * nptl/tst-barrier2.c: Likewise.
25032         * nptl/tst-barrier3.c: Likewise.
25033         * nptl/tst-barrier4.c: Likewise.
25034         * nptl/tst-barrier5.c: Likewise.
25036 2016-01-15  Torvald Riegel  <triegel@redhat.com>
25038         [BZ #18868]
25039         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
25041 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
25043         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
25044         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25045         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
25046         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
25047         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
25048         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
25049         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25050         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25051         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25052         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25053         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25055 2016-01-15  Torvald Riegel  <triegel@redhat.com>
25057         [BZ #13065]
25058         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
25059         new implementation.
25060         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
25061         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
25062         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
25063         (BARRIER_IN_THRESHOLD): New macro.
25064         * nptl/pthread_barrierattr_setpshared.c
25065         (pthread_barrierattr_setpshared): Clean up.
25066         * nptl/tst-barrier4.c: Correct comment.
25067         * nptl/tst-barrier5.c: New file.
25068         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
25069         (gen-as-const-headers): Remove lowlevelbarrier.sym.
25070         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
25071         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
25072         * nptl/lowlevelbarrier.sym: Remove.
25073         * nptl/DESIGN-barrier.txt: Remove.
25074         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
25075         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
25076         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
25077         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
25078         error.
25079         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
25080         implementation.
25082 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25084         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
25085         (do_child): Mask SIGRTMIN while thr is running.
25087 2016-01-15  Martin Sebor  <msebor@redhat.com>
25089         [BZ #19432]
25090         * iconvdata/Makefile: Add bug-iconv11.
25091         * iconvdata/bug-iconv11.c: New test.
25092         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
25093         * iconvdata/ibm933.c: Same.
25094         * iconvdata/ibm935.c: Same.
25095         * iconvdata/ibm937.c: Same.
25096         * iconvdata/ibm939.c: Same.
25098 2016-01-15  Martin Sebor  <msebor@redhat.com>
25100         [BZ #19443]
25101         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
25102         [DEBUG] (_ufc_set_bits): Declare used.
25103         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
25104         [DEBUG] (print_all): Declare used.
25105         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
25106         operands of the ternary ?: expression to target type.
25107         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
25108         calling the undeclared abort.
25109         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
25111 2016-01-15  Martin Sebor  <msebor@redhat.com>
25113         [BZ #18755]
25114         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
25115         warnings.
25116         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
25117         (__gai_create_helper_thread): Same.
25118         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
25119         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
25120         to suppress -Wmaybe-uninitialized warnings.
25122 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
25124         [BZ #19465]
25125         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
25126         inside if.
25127         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25128         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25129         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25131 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
25133         [BZ #19466]
25134         * time/tst-mktime2.c (time_t_max): Removed.
25135         (time_t_min): Likewise.
25136         (TYPE_SIGNED): New.
25137         (TYPE_MINIMUM): Likewise.
25138         (TYPE_MAXIMUM): Likewise.
25139         (TIME_T_MIN): Likewise.
25140         (TIME_T_MAX): Likewise.
25141         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
25142         and TIME_T_MIN.
25143         (do_test): Likewise.
25145 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
25147         [BZ #19467]
25148         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25149         index_Fast_Unaligned_Load flag for Excavator family CPUs.
25151 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
25153         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
25155 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
25157         * benchtests/Makefile (PYTHON): Define.
25158         (bench-func): Use $(PYTHON) to run python scripts.
25159         ($(objpfx)bench-%.c): Likewise.
25161 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
25163         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25164         leading slash when `file_name' is "/".
25166 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
25168         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25169         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25170         Likewise.
25171         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25172         Likewise.
25173         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25174         Likewise.
25175         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25176         enum constant and macro.
25177         (PTRACE_SETSIGMASK): Likewise.
25178         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25179         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25180         (PTRACE_GETSIGMASK): Likewise.
25181         (PTRACE_SETSIGMASK): Likewise.
25182         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25183         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25184         Likewise.
25185         (PTRACE_SETSIGMASK): Likewise.
25186         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25187         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25188         (PTRACE_GETSIGMASK): Likewise.
25189         (PTRACE_SETSIGMASK): Likewise.
25190         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25191         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25192         Likewise.
25193         (PTRACE_SETSIGMASK): Likewise.
25194         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25195         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25196         Likewise.
25197         (PTRACE_SETSIGMASK): Likewise.
25198         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25199         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25200         Likewise.
25201         (PTRACE_SETSIGMASK): Likewise.
25202         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25204 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
25205             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25207         [BZ #19439]
25208         * math/bits/mathcalls.h
25209         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25210         prototype.
25211         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25213 2016-01-11  Andreas Schwab  <schwab@suse.de>
25215         [BZ #19253]
25216         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25217         cache when TZDEFRULES was used.
25218         * time/tst-tzname.c: New file.
25219         * time/Makefile (test): Add tst-tzname.
25220         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25221         * timezone/Makefile (test-zones): Add $(posixrules-file).
25222         ($(testdata)/$(posixrules-file)): New rule.
25224 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
25226         Fix doc quoting problems with Texinfo 5
25227         Without this change, in the info file output, Texinfo 5 quotes code
25228         in text with undirected single quotes 'like this' and generates
25229         code examples that with many PDF readers cannot be cut out of PDFs
25230         and pasted into code.
25231         * manual/libc.texinfo: Configure the libc manual like the GNU
25232         Emacs manual, by using @documentencoding and setting
25233         txicodequoteundirected and txicodequotebacktick.  This way,
25234         Texinfo 5 quotes code in text with directed single quotes ‘like
25235         this’ and produces examples that can be cut out of PDFs.  This
25236         change causes Texinfo 5 to generate info files that contain UTF-8
25237         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
25238         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
25240 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25242         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25243         __libc_tabort, __libc_tend): New wrappers that enforce compiler
25244         barriers to their respective compiler built-ins.
25245         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25246         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25247         * sysdeps/powerpc/sysdep.h: Likewise.
25248         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25249         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25250         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25252 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
25254         * scripts/config.guess: Revert previous shebang change.
25255         * scripts/config.sub: Likewise.
25256         * scripts/mkinstalldirs: Likewise.
25258 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25260         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25261         PPC_FEATURE2_HAS_IEEE128.
25262         * sysdeps/powerpc/dl-procinfo.c:
25263         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25265 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25267         [BZ #19415]
25268         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25269         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25270         (_dl_lookup_address): Rewrite using function resolver trampoline.
25271         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25272         two bits in address.
25274 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25276         * longlong.h: Change !__SHMEDIA__ to
25277         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25278         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25280 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25281             Joseph Myers  <joseph@codesourcery.com>
25282             Mark Shinwell  <shinwell@codesourcery.com>
25283             Andrew Stubbs  <ams@codesourcery.com>
25284             Rich Felker <dalias@libc.org>
25286         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25288 2016-01-07  Richard Henderson  <rth@redhat.com>
25290         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25292 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25294         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25295         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25296         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25297         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25298         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25300 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25301             Joseph Myers  <joseph@codesourcery.com>
25303         * timezone/private.h: Update from tzcode 2015g.
25304         * timezone/tzfile.h: Likewise.
25305         * timezone/tzselect.ksh: Likewise.
25306         * timezone/zdump.c: Likewise.
25307         * timezone/zic.c: Likewise.
25308         * timezone/ialloc.c: Remove file.
25309         * timezone/scheck.c: Likewise.
25310         * timezone/Makefile (extra-objs): Remove variable.
25311         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25312         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25313         -Wno-maybe-uninitialized.
25314         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25315         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25316         (CFLAGS-ialloc.c): Remove variable.
25317         (CFLAGS-scheck.c): Likewise.
25318         * timezone/README: Update list of files from tzcode.
25320 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25322         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25323         instead of __fxprintf when _LIBC is undefined.
25325 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25327         * catgets/test-gencat.sh: Remove space after shebang.
25328         * conform/GlibcConform.pm: Likewise.
25329         * conform/check-header-lists.sh: Likewise.
25330         * conform/conformtest.pl: Likewise.
25331         * conform/linknamespace.pl: Likewise.
25332         * conform/list-header-symbols.pl: Likewise.
25333         * debug/catchsegv.sh: Likewise.
25334         * elf/genrtldtbl.awk: Likewise.
25335         * elf/tst-pathopt.sh: Likewise.
25336         * elf/tst-rtld-load-self.sh: Likewise.
25337         * grp/tst_fgetgrent.sh: Likewise.
25338         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25339         * iconvdata/gen-8bit-gap.sh: Likewise.
25340         * iconvdata/gen-8bit.sh: Likewise.
25341         * iconvdata/run-iconv-test.sh: Likewise.
25342         * intl/tst-gettext.sh: Likewise.
25343         * intl/tst-gettext2.sh: Likewise.
25344         * intl/tst-gettext4.sh: Likewise.
25345         * intl/tst-gettext6.sh: Likewise.
25346         * intl/tst-translit.sh: Likewise.
25347         * io/ftwtest-sh: Likewise.
25348         * libio/test-freopen.sh: Likewise.
25349         * locale/gen-translit.pl: Likewise.
25350         * malloc/tst-mtrace.sh: Likewise.
25351         * manual/check-safety.sh: Likewise.
25352         * manual/libc-texinfo.sh: Likewise.
25353         * manual/tsort.awk: Likewise.
25354         * manual/xtract-typefun.awk: Likewise.
25355         * nptl/tst-cancel-wrappers.sh: Likewise.
25356         * nptl/tst-tls6.sh: Likewise.
25357         * posix/globtest.sh: Likewise.
25358         * posix/tst-getconf.sh: Likewise.
25359         * posix/wordexp-tst.sh: Likewise.
25360         * scripts/check-c++-types.sh: Likewise.
25361         * scripts/check-local-headers.sh: Likewise.
25362         * scripts/config.guess: Likewise.
25363         * scripts/config.sub: Likewise.
25364         * scripts/cpp: Likewise.
25365         * scripts/cross-test-ssh.sh: Likewise.
25366         * scripts/documented.sh: Likewise.
25367         * scripts/evaluate-test.sh: Likewise.
25368         * scripts/gen-libc-abis: Likewise.
25369         * scripts/gen-sorted.awk: Likewise.
25370         * scripts/list-fixed-bugs.py: Likewise.
25371         * scripts/merge-test-results.sh: Likewise.
25372         * scripts/mkinstalldirs: Likewise.
25373         * scripts/rellns-sh: Likewise.
25374         * scripts/test-installation.pl: Likewise.
25375         * scripts/update-copyrights: Likewise.
25376         * stdio-common/tst-printf.sh: Likewise.
25377         * stdio-common/tst-unbputc.sh: Likewise.
25378         * stdlib/tst-fmtmsg.sh: Likewise.
25379         * stdlib/tst-setcontext3.sh: Likewise.
25380         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25381         * sysdeps/unix/make-syscalls.sh: Likewise.
25383 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25385         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25386         asm stw with atomic_exchange_rel.  Add explanatory comment.
25387         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25388         Likewise.
25390 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25392         [BZ #19122]
25393         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25394         * sysdeps/generic/dl-unistd.h: New file.
25395         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25397 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25399          [BZ #19122]
25400          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25401          * sysdeps/generic/dl-mman.h: New file.
25402          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25404 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25406         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25407         trailing whitespace removed.
25408         * scripts/config.guess: Update to version 2016-01-01.
25409         * scripts/config.sub: Update to version 2016-01-01.
25410         * scripts/move-if-change: Update from gnulib.
25412 2016-01-04  Anton Blanchard  <anton@samba.org>
25414         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25415         for array indices.
25416         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25418 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25420         * NEWS: Update copyright dates.
25421         * catgets/gencat.c (print_version): Likewise.
25422         * csu/version.c (banner): Likewise.
25423         * debug/catchsegv.sh: Likewise.
25424         * debug/pcprofiledump.c (print_version): Likewise.
25425         * debug/xtrace.sh (do_version): Likewise.
25426         * elf/ldconfig.c (print_version): Likewise.
25427         * elf/ldd.bash.in: Likewise.
25428         * elf/pldd.c (print_version): Likewise.
25429         * elf/sotruss.sh: Likewise.
25430         * elf/sprof.c (print_version): Likewise.
25431         * iconv/iconv_prog.c (print_version): Likewise.
25432         * iconv/iconvconfig.c (print_version): Likewise.
25433         * locale/programs/locale.c (print_version): Likewise.
25434         * locale/programs/localedef.c (print_version): Likewise.
25435         * login/programs/pt_chown.c (print_version): Likewise.
25436         * malloc/memusage.sh (do_version): Likewise.
25437         * malloc/memusagestat.c (print_version): Likewise.
25438         * malloc/mtrace.pl: Likewise.
25439         * manual/libc.texinfo: Likewise.
25440         * nptl/version.c (banner): Likewise.
25441         * nscd/nscd.c (print_version): Likewise.
25442         * nss/getent.c (print_version): Likewise.
25443         * nss/makedb.c (print_version): Likewise.
25444         * posix/getconf.c (main): Likewise.
25445         * scripts/test-installation.pl: Likewise.
25446         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25448         * All files with FSF copyright notices: Update copyright dates
25449         using scripts/update-copyrights.
25450         * intl/plural.c: Regenerated.
25451         * locale/programs/charmap-kw.h: Likewise.
25452         * locale/programs/locfile-kw.h: Likewise.
25454 2016-01-02  Helge Deller  <deller@gmx.de>
25456         [BZ #19285]
25457         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25458         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25459         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25460         (MADV_xxK_PAGES): Remove.
25462 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25464         [BZ #15421]
25465         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25466         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25467         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25468         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25470 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25472         [BZ #19408]
25473         * sysdeps/unix/sysv/linux/personality.c: New file.
25474         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25475         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25476         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25477         (sysdep_routines): Add personality.
25478         (tests): Add tst-personality.
25479         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25480         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25481         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25482         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25483         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25484         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25485         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25486         Likewise.
25487         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25488         Likewise.
25489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25490         Likewise.
25491         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25492         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25493         Likewise.
25495 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25497         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25498         (PATH_ARM_SYSTYPE): Remove.
25499         (PATH_CPUINFO): Likewise.
25500         (IO_BASE_FOOTBRIDGE): Likewise.
25501         (IO_SHIFT_FOOTBRIDGE): Likewise.
25502         (struct platform): Likewise.
25503         (init_iosys): Remove compatibility code for 2.4 kernels.
25504         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25506 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25508         * malloc/tst-malloc-thread-fail.c: New file.
25509         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25510         (tst-malloc-thread-fail): Link against libpthread.
25512 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25514         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25515         (get_parser): New function.
25516         (main): New function.
25518 2015-12-29  Rob Wu  <rob@robwu.nl>
25520         [BZ #19369]
25521         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25523 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25525         [BZ #19270]
25526         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25528 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25530         [BZ #15421]
25531         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25533 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25535         [BZ #13690]
25536         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25537         after releasing it.
25538         (__lll_robust_unlock): Likewise.
25539         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25540         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25541         (lll_robust_unlock): Likewise.
25542         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25543         Prevent warnings in callers.
25545 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25547         * malloc/arena.c (list_lock): Update comment.
25549 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25551         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25552         __parse_hwcap_and_convert_at_platform to libc.a.
25554 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25556         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25557         platform and feature support for POWER9.
25558         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25559         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25560         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25561         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25562         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25563         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25564         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25565         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25567 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25569         Harmonize generic stdio-lock support with nptl
25571         This fixes build when _IO_funlockfile is a macro, fixes build where
25572         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25573         stack unwind.
25575         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25576         _IO_release_lock ): Use cleanup attribute on new
25577         _IO_acquire_lock_file variable instead of assuming that
25578         _IO_release_lock will be called.
25579         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25580         _IO_acquire_lock_needs_exceptions_enabled.
25581         (_IO_acquire_lock_clear_flags2): New macro.
25583 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25585         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25587 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25589         [BZ #19182]
25590         * malloc/arena.c (list_lock): Document lock ordering requirements.
25591         (free_list_lock): New lock.
25592         (ptmalloc_lock_all): Comment on free_list_lock.
25593         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25594         (detach_arena): Update comment.  free_list_lock is now needed.
25595         (_int_new_arena): Use free_list_lock around detach_arena call.
25596         Acquire arena lock after list_lock.  Add comment, including FIXME
25597         about incorrect synchronization.
25598         (get_free_list): Switch to free_list_lock.
25599         (reused_arena): Acquire free_list_lock around detach_arena call
25600         and attached threads counter update.  Add two FIXMEs about
25601         incorrect synchronization.
25602         (arena_thread_freeres): Switch to free_list_lock.
25603         * malloc/malloc.c (struct malloc_state): Update comments to
25604         mention free_list_lock.
25606 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25608         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25609         Remove functions.
25610         (sloww, sloww1): Accept argument to offset quadrant.
25611         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25612         quadrant.
25613         (__sin, __cos): Consolidate common code into new functions.
25614         (reduce_sincos_1, do_sincos_1): New functions.
25615         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25617         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25618         code to new functions.
25619         (reduce_sincos_2, do_sincos_2): New functions.
25620         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25622         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25623         common code for sincos.
25624         (__cos) [!IN_SINCOS]: Likewise.
25625         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25626         New function.
25627         (__sincos): Use it.
25629 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25631         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25632         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25633         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25635 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25637         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25638         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25639         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25640         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25641         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25642         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25643         index_Prefer_No_VZEROUPPER): New feature.
25644         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25645         Prefer_No_VZEROUPPER for Knights Landing.
25647 015-12-18  Torvald Riegel  <triegel@redhat.com>
25649         * math/atest-exp2.c (mp_exp_m1): Remove.
25651 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25653         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25654         syscalls.
25655         (__SYSCALL0): New macro.
25656         (__SYSCALL1): Likewise.
25657         (__SYSCALL2): Likewise.
25658         (__SYSCALL3): Likewise.
25659         (__SYSCALL4): Likewise.
25660         (__SYSCALL5): Likewise.
25661         (__SYSCALL6): Likewise.
25662         (__SYSCALL_CONCAT_X): Likewise.
25663         (__SYSCALL_CONCAT): Likewise.
25664         (__SYSCALL_DIST): Likewise.
25665         (__SYSCALL_CALL): Likewise.
25667 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25669         [BZ #19363]
25670         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25672 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25674         [BZ #19375]
25675         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25676         negative subnormals.
25678 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25681         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25682         (INTERNAL_SYSCALL_NCS): Use it.
25683         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25685 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25687         [BZ #19243]
25688         * malloc/arena.c (get_free_list): Remove assert and adjust
25689         reference count handling.  Add comment about reused_arena
25690         interaction.
25691         (reused_arena): Add comments abount get_free_list interaction.
25692         * malloc/tst-malloc-thread-exit.c: New file.
25693         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25694         (tst-malloc-thread-exit): Link against libpthread.
25696 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25698         [BZ #19367]
25699         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25700         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25701         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25702         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25703         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25705 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25707         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25708         Silvermont optimizations for Knights Landing.
25710 2015-12-15  Andreas Schwab  <schwab@suse.de>
25712         [BZ #17197]
25713         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25714         immediately after emitting SI.
25715         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25716         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25717         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25718         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25719         * iconvdata/bug-iconv10.c: New file.
25720         * iconvdata/Makefile (tests): Add bug-iconv10.
25721         ($(objpfx)bug-iconv10.out): New rule.
25723 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25725         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25726         aliasing violation.
25728 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25730         [BZ #18472]
25731         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25732         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25733         conditionals for them.
25734         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25735         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25736         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25737         sys/kdaemon.h.
25738         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25739         compat-only syscall, obsoleted in glibc 2.23.
25740         (create_module): Likewise.
25741         (get_kernel_syms): Likewise.
25742         (query_module): Likewise.
25743         (uselib): Likewise.
25744         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25746 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25748         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25749         <linux/version.h>.
25750         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25751         conditional code.
25752         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25753         and ioshift_name initialization.
25755 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25757         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25758         Fix indentation.
25760 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25762         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25764 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25766         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25768 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25769             Jakub Wilk  <jwilk@debian.org>
25771         [BZ #19347]
25772         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25773         to change the group of the device to the tty group.
25775 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25777         Split large string section; add truncation advice
25778         * manual/examples/strncat.c: Remove.
25779         This example was misleading, as the code would have undefined
25780         behavior if "hello" was longer than SIZE.  Anyway, the manual
25781         shouldn't encourage strncpy+strncat for this sort of thing.
25782         * manual/string.texi (Copying Strings and Arrays): Split into
25783         three sections Copying Strings and Arrays, Concatenating Strings,
25784         and Truncating Strings, as this section was way too long.  All
25785         cross-referenced changed.  Add advice about string-truncation
25786         functions.  Remove misleading strncat example.
25788 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25790         * manual/nss.texi (NSS Modules Interface): Document
25791         NSS_STATUS_NOTFOUND and SUCCESS.
25793 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25795         [BZ 18568]
25796         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25797         201505L, for Unicode 8.
25799 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25801         * locale/C-translit.h: Regenerate.
25803 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25805         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25806         and U+0153.
25808 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25810         [BZ #19351]
25811         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25812         expanding log(1+z), compare z rather than its square with epsilon
25813         to determine when to avoid evaluating the expansion.
25815         [BZ #19350]
25816         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25817         Increase overflow threshold.
25819         [BZ #19349]
25820         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25821         when small.
25823         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25825         New macro.
25826         [__LINUX_KERNEL_VERSION >= 0x040300]
25827         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25828         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25829         Likewise.
25830         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25831         Likewise.
25832         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25833         Likewise.
25834         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25835         Likewise.
25836         [__LINUX_KERNEL_VERSION >= 0x040300]
25837         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25838         [__LINUX_KERNEL_VERSION >= 0x040300]
25839         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25840         [__LINUX_KERNEL_VERSION >= 0x040300]
25841         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25842         [__LINUX_KERNEL_VERSION >= 0x040300]
25843         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25844         [__LINUX_KERNEL_VERSION >= 0x040300]
25845         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25846         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25847         Likewise.
25848         [__LINUX_KERNEL_VERSION >= 0x040300]
25849         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25850         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25851         Likewise.
25852         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25853         Likewise.
25854         [__LINUX_KERNEL_VERSION >= 0x040300]
25855         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25856         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25857         Likewise.
25858         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25859         Likewise.
25860         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25861         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25862         Likewise.
25863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25864         Likewise.
25865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25866         Likewise.
25867         [__LINUX_KERNEL_VERSION >= 0x040300]
25868         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25869         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25870         Likewise.
25871         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25872         Likewise.
25873         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25874         Likewise.
25875         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25876         Likewise.
25877         [__LINUX_KERNEL_VERSION >= 0x040300]
25878         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25879         [__LINUX_KERNEL_VERSION >= 0x040300]
25880         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25881         [__LINUX_KERNEL_VERSION >= 0x040300]
25882         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25883         [__LINUX_KERNEL_VERSION >= 0x040300]
25884         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25885         [__LINUX_KERNEL_VERSION >= 0x040300]
25886         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25887         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25888         Likewise.
25889         [__LINUX_KERNEL_VERSION >= 0x040300]
25890         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25891         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25892         Likewise.
25893         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25894         Likewise.
25895         [__LINUX_KERNEL_VERSION >= 0x040300]
25896         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25897         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25898         Likewise.
25899         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25900         Likewise.
25901         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25902         (__ASSUME_SOCKET_SYSCALL): Likewise.
25903         (__ASSUME_BIND_SYSCALL): Likewise.
25904         (__ASSUME_CONNECT_SYSCALL): Likewise.
25905         (__ASSUME_LISTEN_SYSCALL): Likewise.
25906         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25907         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25908         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25909         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25910         (__ASSUME_SEND_SYSCALL): Likewise.
25911         (__ASSUME_SENDTO_SYSCALL): Likewise.
25912         (__ASSUME_RECV_SYSCALL): Likewise.
25913         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25914         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25915         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25916         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25917         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25918         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25919         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25920         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25921         Likewise.
25922         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25923         Likewise.
25924         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25925         Likewise.
25926         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25927         Likewise.
25928         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25929         Likewise.
25930         [__LINUX_KERNEL_VERSION >= 0x020625]
25931         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25932         [__LINUX_KERNEL_VERSION >= 0x020625]
25933         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25934         [__LINUX_KERNEL_VERSION >= 0x020625]
25935         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25936         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25937         Likewise.
25938         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25939         Likewise.
25940         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25941         Likewise.
25942         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25943         Likewise.
25944         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25945         Likewise.
25946         [__LINUX_KERNEL_VERSION >= 0x020625]
25947         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25948         [__LINUX_KERNEL_VERSION >= 0x020625]
25949         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25950         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25951         Likewise.
25952         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25953         Likewise.
25955 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25957         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25958         record the current if the current ABI and CPU support the FP64
25959         extension.
25960         (has-modd-spreg): Define to record the current if the current ABI and
25961         CPU support 32-bit floating point values in odd FPU registers.
25962         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25963         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25964         $(has-modd-spreg) equals yes.
25965         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25966         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25967         $(has-modd-spreg) equal yes.
25969 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25971         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25972         basename.
25974 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25976         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25977         (bench-string): ... here.
25978         (bench): Add bench-string.
25979         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25980         to *-benchset to reflect what they are.
25981         (benchset): Adjust.
25983         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25984         cos-inputs.
25986 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25988         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25989         __attribute__ ((__simd__)) for vector math function declarations.
25991 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25993         Fix typo in strncat, wcsncat manual entries
25994         * manual/string.texi (Copying and Concatenation): Fix typos in
25995         sample implementations of strncat and wcsncat, by having them use
25996         the old value of the destination length, not the new one.
25998 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
26000         [BZ #16961]
26001         [BZ #16962]
26002         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
26003         string on the stack for strtod.
26004         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
26005         a string on the stack for strtof.
26006         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
26007         constructing a string on the stack for strtold.
26008         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
26009         __strtold_nan to GLIBC_PRIVATE.
26010         * math/test-nan-overflow.c: New file.
26011         * math/test-nan-payload.c: Likewise.
26012         * math/Makefile (tests): Add test-nan-overflow and
26013         test-nan-payload.
26015 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26017         Consistency about byte vs character in string.texi
26018         * manual/string.texi (String and Array Utilities):
26019         Distinguish more carefully among bytes, multibyte characters,
26020         and wide characters.  Use "byte" when talking about C 'char',
26021         to distinguish it more clearly from multibyte characters.
26022         Say "wide character" or "multibyte character" instead of
26023         "character", when a wide or multibyte character is intended.
26024         Similarly for "multibyte string" versus "string".
26025         Define these terms more carefully.
26027 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
26029         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
26030         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
26031         Likewise.
26032         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26033         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26034         * sysdeps/sh/math_private.h: New file.
26035         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
26036         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
26037         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
26038         long double function name.
26039         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26040         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26041         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26042         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
26045         Remove __finitel, __isinfl, and __isnanl.
26046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26047         Likewise.
26048         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26050         Remove __finitel.
26051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26052         Likewise.
26053         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26055 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
26057         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
26058         installed libmvec_nonshared.a.
26060 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26062         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
26063         (sysdep_routines): Likewise.
26064         (sysdep-rtld-routines): Likewise.
26065         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
26066         [$(subdir) = nptl](tests-static): test-get_hwcap-static
26067         * sysdeps/powerpc/Versions: Added new
26068         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
26069         * sysdeps/powerpc/hwcapinfo.c: New file.
26070         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
26071         and parse hwcap, hwcap2 and platform number information.
26072         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
26073         to store HWCAP+HWCAP2 and platform number.
26074         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
26075         for HWCAP+HWCAP2 and platform number in the TCB.
26076         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
26077         the HWCAP, HWCAP2 and platform number in the TCB.
26078         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
26079         (TLS_INIT_TP): Included calls to add the hwcap and
26080         at_platform values in the TCB in TP initialization.
26081         (TLS_DEFINE_INIT_TP): Likewise.
26082         (THREAD_GET_HWCAP): New macro.
26083         (THREAD_SET_HWCAP): Likewise.
26084         (THREAD_GET_AT_PLATFORM): Likewise.
26085         (THREAD_SET_AT_PLATFORM): Likewise.
26086         * sysdeps/powerpc/powerpc32/dl-machine.h:
26087         (dl_platform_init): New function that calls
26088         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
26089         powerpc32.
26090         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
26091         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
26092         this functionality, static linking case.
26093         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
26094         linking case.
26095         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
26096         __parse_hwcap_and_convert_at_platform for the static linking case.
26097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
26098         Included the new __parse_hwcap_and_convert_at_platform symbol in the
26099         ABI list for GLIBC 2.23.
26100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
26101         Likewise.
26102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
26103         Likewise.
26105 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
26107         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
26108         * configure: Regenerate.
26109         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
26110         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
26112 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
26114         * iconvdata/ibm930.c: Add comment explaining encoding uses.
26115         * iconvdata/ibm933.c: Likewise.
26116         * iconvdata/ibm935.c: Likewise.
26117         * iconvdata/ibm937.c: Likewise.
26118         * iconvdata/ibm939.c: Likewise.
26120 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26122         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
26123         pthread_join.
26124         * nptl/tst-cancel21.c (tf): Likewise.
26126 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26128         [BZ #19313]
26129         * bits/typesizes.h (__CPU_MASK_TYPE): New.
26130         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26131         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26132         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
26133         Likewise.
26134         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
26135         Likewise.
26136         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
26137         Likewise.
26138         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
26139         Likewise.
26140         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
26141         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
26142         unsigned long int with __CPU_MASK_TYPE.
26144 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26146         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26148 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
26150         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
26151         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
26152         t512.x.
26153         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
26155 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
26157         [BZ #19214]
26158         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
26159         argument to return extended model.  Update family and model
26160         with extended family and model when family == 0x0f.
26161         (init_cpu_features): Updated.
26163 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26165         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26166         signed off_t, so 32bit bigger than 2GiB values are fine actually.
26168         * sysdeps/mach/hurd/mmap64.c: New file.
26170 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
26172         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26173         rights for its main user thread in NEWTASK.
26175 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
26177         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26178         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26180 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
26182         [BZ #14259]
26183         * Makeconfig: Rename localedir to complocaledir.
26184         Rename inst_localedir to inst_complocaledir.
26185         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26186         * config.make.in: Use complocaledir and libc_cv_complocaledir.
26187         * configure.ac: Use libc_cv_complocaledir.
26188         * configure: Regenerate.
26189         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26190         -DCOMPLOCALEDIR.
26191         * locale/findlocale.c: Use COMPLOCALEDIR.
26192         * locale/loadarchive.c: Likewise.
26193         * locale/programs/locale.c: Likewise.
26194         * locale/programs/localedef.c: Likewise.
26195         * locale/programs/locarchive.c: Likewise.
26196         * localedata/Makefile: Use inst_complocaledir.
26197         * sysdeps/gnu/configure: Regenerate.
26198         * sysdeps/hppa/configure: Regenerate.
26199         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26200         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26202         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26203         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26204         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26205         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26207 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
26209         [BZ #19058]
26210         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26211         AS_NEEDED.
26212         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26213         workaround.
26214         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26215         libmvec-static-only-routines): Added new file.
26216         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26218 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26220         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26221         of interrupted RPC instead of restoring it.
26223         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26224         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26225         libc_hidden_def.
26226         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26227         into initialized data instead of common. Define rtld_hidden_data_def.
26228         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26229         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26230         libc_hidden_def.
26231         (if_freenameindex): Add libc_hidden_weak.
26232         (if_nameindex): Add libc_hidden_weak.
26233         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26234         __open64.
26235         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26236         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26237         * sysdeps/mach/nanosleep.c: Include <time.h>
26238         (__nanosleep): Rename to __libc_nanosleep.
26239         (__nanosleep): Add weak_alias.
26240         (nanosleep): Update alias.
26242 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
26244         * stdlib/strtod_nan.c: New file.
26245         * stdlib/strtod_nan_double.h: Likewise.
26246         * stdlib/strtod_nan_float.h: Likewise.
26247         * stdlib/strtod_nan_main.c: Likewise.
26248         * stdlib/strtod_nan_narrow.h: Likewise.
26249         * stdlib/strtod_nan_wide.h: Likewise.
26250         * stdlib/strtof_nan.c: Likewise.
26251         * stdlib/strtold_nan.c: Likewise.
26252         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26253         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26254         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26255         * wcsmbs/wcstod_nan.c: Likewise.
26256         * wcsmbs/wcstof_nan.c: Likewise.
26257         * wcsmbs/wcstold_nan.c: Likewise.
26258         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26259         strtold_nan.
26260         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26261         wcstof_nan.
26262         * include/stdlib.h (__strtof_nan): Declare and use
26263         libc_hidden_proto.
26264         (__strtod_nan): Likewise.
26265         (__strtold_nan): Likewise.
26266         (__wcstof_nan): Likewise.
26267         (__wcstod_nan): Likewise.
26268         (__wcstold_nan): Likewise.
26269         * include/wchar.h (____wcstoull_l_internal): Declare.
26270         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26271         (____strtoull_l_internal): Remove declaration.
26272         (STRTOF_NAN): Define macro.
26273         (SET_MANTISSA): Remove macro.
26274         (STRTOULL): Likewise.
26275         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26276         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26277         (STRTOF_NAN): Define macro.
26278         (SET_MANTISSA): Remove macro.
26279         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26280         (SET_MANTISSA): Remove macro.
26281         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26282         macro.
26283         (SET_MANTISSA): Remove macro.
26284         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26285         macro.
26286         (SET_MANTISSA): Remove macro.
26287         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26288         (SET_MANTISSA): Remove macro.
26289         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26290         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26291         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26293         [BZ #19266]
26294         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26295         upper case and lower case letters inside NAN(), not using TOLOWER.
26296         * stdlib/tst-strtod-nan-locale-main.c: New file.
26297         * stdlib/tst-strtod-nan-locale.c: Likewise.
26298         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26299         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26300         Depend on $(gen-locales).
26301         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26302         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26303         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26304         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26305         Depend on $(gen-locales).
26306         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26308 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26310         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26312         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26314         __finitel, __isinfl, and __isnanl.
26315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26316         Likewise.
26317         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26319         __finitel.
26320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26321         Likewise.
26322         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26324 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26326         * malloc/memusage.c (me): Remove redundant getenv call.
26328 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26330         [BZ #19143]
26331         [BZ #19164]
26332         * nptl/check-cpuset.h: Remove.
26333         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26334         Remove CPU set size check.
26335         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26336         Likewise.
26337         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26338         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26339         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26340         (__pthread_setaffinity_new): Remove CPU set size check.
26341         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26342         (__kernel_cpumask_size): Remove.
26343         (__sched_setaffinity_new): Remove CPU set size check.
26344         * manual/threads.texi (Default Thread Attributes): Remove stale
26345         reference to check_cpuset_attr, determine_cpumask_size in comment.
26346         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26347         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26348         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26349         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26350         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26351         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26352         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26353         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26354         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26355         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26356         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26357         skeleton test file.
26358         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26359         tst-affinity-pid.
26361 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26363         * scripts/update-abilist.sh: New file.
26364         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26365         * Makerules (update-all-abi-%, update-all-abi)
26366         (subdir_update-all-abi): New targets.
26367         * elf/Makefile (update-all-abi): New target.
26369 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26371         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26372         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26373         (__libc_lock_define_initialized): Use it.
26374         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26375         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26376         * malloc/malloc.c (main_arena): Likewise.
26377         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26378         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26380 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26382         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26383         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26384         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26385         (PTRACE_O_MASK): Update value.
26386         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26387         New value in enum __ptrace_setoptions.
26388         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26389         (PTRACE_O_MASK): Update value.
26390         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26391         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26392         (PTRACE_O_MASK): Update value.
26393         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26394         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26395         (PTRACE_O_MASK): Update value.
26396         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26397         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26398         (PTRACE_O_MASK): Update value.
26399         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26400         New value in enum __ptrace_setoptions.
26401         (PTRACE_O_MASK): Update value.
26402         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26403         New value in enum __ptrace_setoptions.
26404         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26405         (PTRACE_O_MASK): Update value.
26407         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26408         New macro.
26409         (PACKET_AUXDATA): Likewise.
26410         (PACKET_ORIGDEV): Likewise.
26411         (PACKET_VERSION): Likewise.
26412         (PACKET_HDRLEN): Likewise.
26413         (PACKET_RESERVE): Likewise.
26414         (PACKET_TX_RING): Likewise.
26415         (PACKET_LOSS): Likewise.
26416         (PACKET_VNET_HDR): Likewise.
26417         (PACKET_TX_TIMESTAMP): Likewise.
26418         (PACKET_TIMESTAMP): Likewise.
26419         (PACKET_FANOUT): Likewise.
26420         (PACKET_TX_HAS_OFF): Likewise.
26421         (PACKET_QDISC_BYPASS): Likewise.
26422         (PACKET_ROLLOVER_STATS): Likewise.
26423         (PACKET_FANOUT_DATA): Likewise.
26424         (PACKET_MR_UNICAST): Likewise.
26426         [BZ #19242]
26427         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26428         (TOUPPER): Likewise.
26429         * stdlib/tst-strtol-locale-main.c: New file.
26430         * stdlib/tst-strtol-locale.c: Likewise.
26431         * stdlib/Makefile (tests): Add tst-strtol-locale.
26432         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26433         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26434         Depend on $(gen-locales).
26435         * wcsmbs/tst-wcstol-locale.c: New file.
26436         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26437         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26438         tr_TR.ISO-8859-9.
26439         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26440         Depend on $(gen-locales).
26442 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26444         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26445         __glibc_likely instead of __builtin_expect.  After falling back to
26446         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26447         system interface to register the code pages as occupied.
26449 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26451         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26452         [!ARM_MATH_PRIVATE_H].
26453         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26454         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26455         [!HPPA_MATH_PRIVATE_H].
26456         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26457         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26458         to [!I386_MATH_PRIVATE_H].
26459         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26460         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26461         Change guard to [!M68K_MATH_PRIVATE_H].
26462         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26463         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26464         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26465         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26466         macro.
26467         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26468         [!MIPS_MATH_PRIVATE_H].
26469         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26470         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26471         [!NIO2_MATH_PRIVATE_H].
26472         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26473         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26474         [!TILE_MATH_PRIVATE_H].
26475         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26477         [BZ #15421]
26478         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26479         initialize with 0 and define as weak alias of __signgam.
26480         * include/math.h [!_ISOMAC] (__signgam): Declare.
26481         * math/Makefile (libm-calls): Add w_lgamma_compat.
26482         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26483         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26484         test-signgam-ullong-init.
26485         (tests-static): Add test-signgam-uchar-static,
26486         test-signgam-uchar-init-static, test-signgam-uint-static,
26487         test-signgam-uint-init-static, test-signgam-ullong-static and
26488         test-signgam-ullong-init-static.
26489         (CFLAGS-test-signgam-uchar.c): New variable.
26490         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26491         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26492         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26493         (CFLAGS-test-signgam-uint.c): Likewise.
26494         (CFLAGS-test-signgam-uint-init.c): Likewise.
26495         (CFLAGS-test-signgam-uint-static.c): Likewise.
26496         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26497         (CFLAGS-test-signgam-ullong.c): Likewise.
26498         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26499         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26500         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26501         * math/Versions (libm): Add GLIBC_2.23.
26502         * math/lgamma-compat.h: New file.
26503         * math/test-signgam-main.c: Likewise.
26504         * math/test-signgam-uchar-init-static.c: Likewise.
26505         * math/test-signgam-uchar-init.c: Likewise.
26506         * math/test-signgam-uchar-static.c: Likewise.
26507         * math/test-signgam-uchar.c: Likewise.
26508         * math/test-signgam-uint-init-static.c: Likewise.
26509         * math/test-signgam-uint-init.c: Likewise.
26510         * math/test-signgam-uint-static.c: Likewise.
26511         * math/test-signgam-uint.c: Likewise.
26512         * math/test-signgam-ullong-init-static.c: Likewise.
26513         * math/test-signgam-ullong-init.c: Likewise.
26514         * math/test-signgam-ullong-static.c: Likewise.
26515         * math/test-signgam-ullong.c: Likewise.
26516         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26517         wrapper of w_lgamma_main.c.
26518         * math/w_lgamma_compat.c: New file.
26519         * math/w_lgamma_compatf.c: Likewise.
26520         * math/w_lgamma_compatl.c: Likewise.
26521         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26522         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26523         defining compatibility symbols.
26524         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26525         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26526         wrapper of w_lgammaf_main.c.
26527         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26528         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26529         defining compatibility symbols.
26530         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26531         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26532         wrapper of w_lgammal_main.c.
26533         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26534         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26535         defining compatibility symbols.
26536         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26537         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26538         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26539         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26540         <lgamma-compat.h>.
26541         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26542         (__ieee754_gamma): Define as alias.
26543         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26544         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26545         <lgamma-compat.h>.
26546         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26547         (__ieee754_gammaf): Define as alias.
26548         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26549         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26550         <lgamma-compat.h>.
26551         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26552         (__ieee754_gammal): Define as alias.
26553         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26554         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26555         <math/w_lgamma_compat.c>.
26556         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26557         Define as alias of __lgamma_compat and use in defining lgammal.
26558         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26559         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26560         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26561         (USE_AS_COMPAT): New macro.
26562         (LGAMMA_OLD_VER): Undefine and redefine.
26563         (lgammal): Do not define here.
26564         (gammal): Only define here if [GAMMA_ALIAS].
26565         * conform/linknamespace.pl (@whitelist): Remove signgam.
26566         * sysdeps/nacl/libm.abilist: Update.
26567         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26568         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26569         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26570         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26571         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26572         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26573         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26574         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26575         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26576         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26577         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26578         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26580         Likewise.
26581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26582         Likewise.
26583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26584         Likewise.
26585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26586         Likewise.
26587         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26588         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26589         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26590         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26591         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26593         Likewise.
26594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26595         Likewise.
26596         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26597         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26598         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26600 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26602         [BZ #16364]
26603         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26604         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26606 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26608         * sysdeps/s390/fpu/bits/mathinline.h:
26609         Use __asm__ [__volatile__] instead of asm [volatile].
26610         * sysdeps/s390/abort-instr.h: Likewise.
26611         * sysdeps/s390/atomic-machine.h: Likewise.
26612         * sysdeps/s390/bits/string.h: Likewise.
26613         * sysdeps/s390/dl-tls.h: Likewise.
26614         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26615         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26616         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26617         * sysdeps/s390/fpu/fesetround.c: Likewise.
26618         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26619         * sysdeps/s390/fpu/s_fma.c: Likewise.
26620         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26621         * sysdeps/s390/memusage.h: Likewise.
26622         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26623         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26624         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26625         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26626         * sysdeps/s390/nptl/tls.h: Likewise.
26627         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26628         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26629         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26630         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26631         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26632         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26633         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26634         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26635         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26636         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26637         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26638         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26639         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26640         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26641         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26642         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26643         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26644         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26645         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26646         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26647         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26648         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26649         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26651 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26652             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26654         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26655         Add lwarx hint, and use macro for acquire instruction.
26656         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26657         Likewise.
26658         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26659         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26660         update to use new atomic macros.
26662 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26664         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26665         (__lll_trylock_elision): Fix setting of adapt_count.
26666         * sysdeps/unix/sysv/linux/powerpc/htm.h
26667         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26668         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26669         (_ABORT_SYSCALL): Renumber, and clarify definition.
26670         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26672 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26674         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26675         after system headers to prevent MIN/MAX redefinition.  Define
26676         HAVE_ALLOCA to preserve builtin alloca usage.
26678 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26680         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26681         static and don't set or restore rounding.
26682         (__cos)[IN_SINCOS]: Likewise.
26683         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26684         (__sincos): Set and restore rounding mode.  Remove check for infinite
26685         or NaN input.
26687         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26689         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26690         as used.
26692 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26694         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26696 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26698         * config.make.in (have-glob-dat-reloc): New.
26699         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26700         target supports GLOB_DAT relocaton. AC_SUBST.
26701         * configure: Regenerated.
26702         * elf/Makefile (tests): Add tst-prelink.
26703         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26704         (tst-prelink-ENV): New.
26705         ($(objpfx)tst-prelink-conflict.out): Likewise.
26706         ($(objpfx)tst-prelink-cmp.out): Likewise.
26707         * sysdeps/x86/tst-prelink.c: Moved to ...
26708         * elf/tst-prelink.c: Here.
26709         * sysdeps/x86/tst-prelink.exp: Moved to ...
26710         * elf/tst-prelink.exp: Here.
26711         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26712         (tst-prelink-ENV): Removed.
26713         ($(objpfx)tst-prelink-conflict.out): Likewise.
26714         ($(objpfx)tst-prelink-cmp.out): Likewise.
26715         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26717 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #14551]
26720         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26721         (__mpn_construct_long_double): If high part overflows to infinity,
26722         set errno and recompute overflowed result of the correct sign.
26723         * sysdeps/ieee754/ldbl-128ibm/Makefile
26724         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26725         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26726         $(libm).
26727         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26729 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26731         [BZ #15479]
26732         [BZ #19238]
26733         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26734         floating-point state after first operation on input.  Restore full
26735         state rather than just rounding mode.
26736         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26737         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26738         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26740         [BZ #19235]
26741         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26742         add 0.5 to integer arguments.
26743         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26744         Likewise.
26745         (.LC2): New object.
26747 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26749         * scripts/pylintrc (reports): Set to no.
26751 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26753         * elf/dl-load.c (open_verify): Take new argument FD.
26754         Skip __open call if passed FD is not -1.
26755         (_dl_map_object, open_path): Update callers.
26756         * elf/dl-sysdep-open.h: New file.
26757         * elf/dl-load.c: Include it.
26758         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26759         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26760         * sysdeps/nacl/dl-sysdep-open.h: New file.
26761         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26762         from libc to rtld.
26764 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26766         [BZ #19228]
26767         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26768         and restore full floating-point state.
26769         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26770         Likewise.
26771         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26772         Likewise.
26773         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26774         Likewise.
26775         * math/test-nearbyint-except-2.c: New file.
26776         * math/Makefile (tests): Add test-nearbyint-except-2.
26778 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26780         [BZ #19178]
26781         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26782         (tst-prelink-ENV): New.
26783         ($(objpfx)tst-prelink-conflict.out): Likewise.
26784         ($(objpfx)tst-prelink-cmp.out): Likewise.
26785         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26786         * sysdeps/x86/tst-prelink.c: New file.
26787         * sysdeps/x86/tst-prelink.exp: Likewise.
26789 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26791         * math/auto-libm-test-in: Add another test of pow.
26792         * math/auto-libm-test-out: Regenerated.
26793         * math/libm-test.inc (pow_test_data): Add another test.
26795 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26797         [BZ #19219]
26798         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26799         weak_alias to nearbyintl.
26801 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26803         * sysdeps/aarch64/bits/string.h: New file.
26804         (_STRING_ARCH_unaligned): Define.
26806 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26808         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26809         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26810         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26811         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26814 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26816         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26817         for original name of the DSO.  Add it to the name list of the DSO
26818         if it is actually given.
26819         (_dl_map_object): Keep track of whether an audit module rewrote
26820         the file name.  If yes, pass the original name to
26821         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26822         debugging is enabled, log the change of the file name.
26823         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26824         _dl_map_object_from_fd.
26825         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26826         * elf/tst-audit11.c: New file
26827         * elf/tst-auditmod11.c: New file.
26828         * elf/tst-audit11mod1.c: New file.
26829         * elf/tst-audit11mod2.c: New file.
26830         * elf/tst-audit11mod2.map: New file.
26831         * elf/tst-audit12.c: New file
26832         * elf/tst-auditmod12.c: New file.
26833         * elf/tst-audit12mod1.c: New file.
26834         * elf/tst-audit12mod2.c: New file.
26835         * elf/tst-audit12mod2.map: New file.
26836         * elf/tst-audit12mod3.c: New file.
26838 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26840         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26841         Don't create weak aliases,
26842         because versioned symbols are created later.
26843         * sysdeps/s390/s390-32/setjmp.S
26844         (setjmp, _setjmp): Remove weak and rename to an unique name
26845         in SHARED case due to existing versioned symbols.
26846         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26847         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26848         (getcontext): Create weak alias only in non SHARED case.
26849         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26851 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26853         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26854         (__ASSUME_*_SYSCALL) Define new macros.
26855         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26856         Remove socketcall syscalls.
26857         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26858         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26859         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26860         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26861         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26862         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26864 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26866         [BZ #12926]
26867         Terminate process on invalid netlink response.
26868         * sysdeps/unix/sysv/linux/netlinkaccess.h
26869         (__netlink_assert_response): Declare.
26870         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26871         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26872         (sysdep_routines): Add netlink_assert_response.
26873         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26874         __netlink_assert_response.
26875         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26876         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26877         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26878         __netlink_assert_response.
26880 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26882         [BZ #19178]
26883         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26884         (RTYPE_CLASS_PLT): Likewise.
26885         (RTYPE_CLASS_COPY): Likewise.
26886         (RTYPE_CLASS_TLS): Likewise.
26887         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26888         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26889         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26890         DL_DEBUG_PRELINK.
26892 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26894         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26895         calls with argument -0.5.
26896         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26898         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26899         (libc_cv_z_nodlopen): Likewise.
26900         (libc_cv_z_initfirst): Likewise.
26901         * configure: Regenerated.
26903 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26905         Simplify abilist format to be line-based.
26906         * scripts/abilist.awk: Collect descriptors in the descs variable.
26907         (emit): Write descs variable and sort it
26908         externally, with sort.
26909         * sysdeps/**/*.abilist: Convert to new format.
26911 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26913         [BZ #11460]
26914         * io/Makefile (routines): Add fts64.
26915         (tests): Add tst-fts and tst-fts-lfs.
26916         (CFLAGS-fts64.c): New.
26917         * io/Versions (GLIBC_2.23): New.
26918         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26919         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26920         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26921         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26922         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26923         (FTSENT64): Likewise.
26924         (fts64_children): Likewise.
26925         (fts64_close): Likewise.
26926         (fts64_open): Likewise.
26927         (fts64_read): Likewise.
26928         (fts64_set): Likewise.
26929         * io/fts64.c: New file.
26930         * io/tst-fts.c: New test.
26931         * io/tst-fts-lfs.c: Likewise.
26932         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26933         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26934         fts64_set.
26935         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26936         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26937         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26938         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26939         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26940         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26941         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26942         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26943         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26944         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26945         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26946         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26947         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26949         Likewise.
26950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26951         Likewise.
26952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26954         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26955         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26956         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26957         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26958         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26959         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26961         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26962         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26963         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26964         * sysdeps/wordsize-64/fts.c: New file.
26965         * sysdeps/wordsize-64/fts64.c: Likewise.
26966         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26967         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26968         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26969         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26971 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26973         * math/libm-test.inc (NON_FINITE): New macro.
26974         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26975         * math/gen-libm-test.pl (show_exceptions): Add argument
26976         $non_finite.
26977         (parse_args): Update call to show_exceptions.
26978         * math/test-math-finite.h: New file.
26979         * math/test-math-no-finite.h: Likewise.
26980         * math/test-double-finite.c: Likewise.
26981         * math/test-float-finite.c: Likewise.
26982         * math/test-ldouble-finite.c: Likewise.
26983         * math/test-double.c: Include "test-math-no-finite.h".
26984         * math/test-float.c: Include "test-math-no-finite.h".
26985         * math/test-ldouble.c: Include "test-math-no-finite.h".
26986         * math/test-math-inline.h (TEST_FINITE): New macro.
26987         * math/test-math-vector.h (TEST_FINITE): Likewise.
26988         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26989         (libm-tests): Add test-float-finite and test-double-finite.
26990         ($(objpfx)test-float-finite.o): New dependency on
26991         $(objpfx)libm-test.stmp.
26992         ($(objpfx)test-double-finite.o): Likewise.
26993         ($(objpfx)test-ldouble-finite.o): Likewise.
26994         (libm-test-no-inline-cflags): New variable.
26995         (libm-test-finite-cflags): Likewise.
26996         (CFLAGS-test-float-finite.c): Likewise.
26997         (CFLAGS-test-double-finite.c): Likewise.
26998         (CFLAGS-test-ldouble-finite.c): Likewise.
26999         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
27000         (CFLAGS-test-double.c): Likewise.
27001         (CFLAGS-test-ldouble.c): Likewise.
27003 2015-11-05  Roland McGrath  <roland@hack.frob.com>
27005         * io/fcntl.c (__fcntl): Add ... to prototype.
27006         * misc/ioctl.c (__ioctl): Likewise.
27007         * misc/syscall.c (syscall): Likewise.
27009 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
27011         * scripts/list-fixed-bugs.py: New file.
27013         [BZ #19213]
27014         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
27015         returned for argument 1.
27016         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
27017         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
27018         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
27019         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
27020         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
27021         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
27023         [BZ #19211]
27024         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
27025         __USE_XOPEN], not if [!__USE_ISOC99].
27026         (lgammaf): Likewise.
27027         (lgammal): Likewise.
27028         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
27029         (gammaf): Likewise.
27030         (gammal): Likewise.
27031         * math/test-signgam-finite-c11.c: New file.
27032         * math/test-signgam-finite-c99.c: Likewise.
27033         * math/test-signgam-finite.c: Likewise.
27034         * math/Makefile (tests): Add test-signgam-finite,
27035         test-signgam-finite-c99 and test-signgam-finite-c11.
27036         (CFLAGS-test-signgam-finite.c): New variable.
27037         (CFLAGS-test-signgam-finite-c99.c): Likewise.
27038         (CFLAGS-test-signgam-finite-c11.c): Likewise.
27040         [BZ #19212]
27041         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
27042         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
27043         500].
27044         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
27045         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
27046         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
27047         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
27048         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
27049         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
27050         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
27051         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
27052         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
27053         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
27055         [BZ #19209]
27056         * math/bits/math-finite.h (ldexp): Remove declaration.
27057         (ldexpf): Likewise.
27058         (ldexpl): Likewise.
27060         [BZ #19205]
27061         * math/bits/math-finite.h (acosf): Condition declaration on
27062         [__USE_ISOC99].
27063         (acosl): Likewise.
27064         (acoshf): Likewise.
27065         (acoshl): Likewise.
27066         (asinf): Likewise.
27067         (asinl): Likewise.
27068         (atan2f): Likewise.
27069         (atan2l): Likewise.
27070         (atanhf): Likewise.
27071         (atanhl): Likewise.
27072         (coshf): Likewise.
27073         (coshl): Likewise.
27074         (expf): Likewise.
27075         (expl): Likewise.
27076         (fmodf): Likewise.
27077         (fmodl): Likewise.
27078         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
27079         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
27080         (j0l): Likewise.
27081         (y0f): Likewise.
27082         (y0l): Likewise.
27083         (j1f): Likewise.
27084         (j1l): Likewise.
27085         (y1f): Likewise.
27086         (y1l): Likewise.
27087         (jnf): Likewise.
27088         (jnl): Likewise.
27089         (ynf): Likewise.
27090         (ynl): Likewise.
27091         (lgammaf_r): Condition declaration on [__USE_ISOC99].
27092         (lgammal_r): Likewise.
27093         (__lgamma_r_finite): New declaration.
27094         (__lgammaf_r_finite): Likewise.
27095         (__lgammal_r_finite): Likewise.
27096         (lgamma): Use __lgamma_r_finite.
27097         (lgammaf): Condition definition on [__USE_ISOC99].  Use
27098         __lgammaf_r_finite.
27099         (lgammal): Condition definition on [__USE_ISOC99].  Use
27100         __lgammal_r_finite.
27101         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
27102         __lgamma_r_finite.
27103         (gammaf): Condition definition on [__USE_ISOC99].  Use
27104         __lgammaf_r_finite.
27105         (gammal): Condition definition on [__USE_ISOC99].  Use
27106         __lgammal_r_finite.
27107         (logf): Condition declaration on [__USE_ISOC99].
27108         (logl): Likewise.
27109         (log10f): Likewise.
27110         (log10l): Likewise.
27111         (ldexpf): Likewise.
27112         (ldexpl): Likewise.
27113         (powf): Likewise.
27114         (powl): Likewise.
27115         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
27116         __USE_ISOC99].
27117         (remainderf): Condition declaration on [__USE_ISOC99].
27118         (remainderl): Likewise.
27119         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
27120         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
27121         (scalbl): Likewise.
27122         (sinhf): Condition declaration on [__USE_ISOC99].
27123         (sinhl): Likewise.
27124         (sqrtf): Likewise.
27125         (sqrtl): Likewise.
27127 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27129         * sysdeps/arm/atomic-machine.h
27130         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27131         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27132         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
27133         Remove conditional code.
27134         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27135         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27136         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
27137         Change conditional to [__ASSEMBLER__].
27138         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27139         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
27140         [!__ASSEMBLER__].
27141         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
27142         code.
27143         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
27144         conditional macro definitions.
27145         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
27146         (__arch_compare_and_exchange_val_16_acq): Likewise.
27147         (__arch_compare_and_exchange_val_32_acq): Likewise.
27148         (atomic_exchange_and_add): Likewise.
27149         (atomic_add): Likewise.
27150         (atomic_add_negative): Likewise.
27151         (atomic_add_zero): Likewise.
27152         (atomic_bit_set): Likewise.
27153         (atomic_bit_test_set): Likewise.
27154         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
27155         code unconditional.
27156         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27158         * math/test-math-errno.h: New file.
27159         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27160         empty.
27161         (TEST_ERRNO): New macro.
27162         (TEST_EXCEPTIONS): Likewise.
27163         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27164         (TEST_EXCEPTIONS): Likewise.
27165         * math/test-math-vector.h (TEST_ERRNO): Likewise.
27166         * math/test-double.c: Include "test-math-errno.h".
27167         * math/test-float.c: Likewise.
27168         * math/test-ldouble.c: Likewise.
27169         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27170         code unconditional.
27171         (test_exceptions): Only run code if TEST_EXCEPTIONS.
27172         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27173         unconditional.
27174         (test_errno): Only run code if TEST_ERRNO.
27175         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27177 2015-11-04  Florian Weimer  <fweimer@redhat.com>
27179         * nptl/tst-once5.cc: Remove attribution.
27181 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27183         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27184         sqrt, tan, tanh, y0, y1 and yn.
27185         * math/auto-libm-test-out: Regenerated.
27186         * math/libm-test.inc (scalb_test_data): Add more tests.
27187         (scalbn_test_data): Likewise.
27188         (scalbln_test_data): Likewise.
27189         (signbit_test_data): Likewise.
27190         (sin_test_data): Likewise.
27191         (sincos_test_data): Likewise.
27192         (sinh_test_data): Likewise.
27193         (sqrt_test_data): Likewise.
27194         (tan_test_data): Likewise.
27195         (tanh_test_data): Likewise.
27196         (tgamma_test_data): Likewise.
27197         (y0_test_data): Likewise.
27198         (y1_test_data): Likewise.
27199         (yn_test_data): Likewise.
27200         (significand_test_data): Likewise.
27201         * sysdeps/i386/fpu/libm-test-ulps: Update.
27203 2015-11-03  David Kastrup  <dak@gnu.org>
27205         [BZ #18604]
27206         * assert/assert.h (assert): Don't macro-expand failed assertion
27207         expression in error message.
27208         * malloc/malloc.c (assert): Likewise.
27210 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
27212         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27213         test.
27214         * configure: Regenerated.
27216 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
27218         * math/libm-test.inc (modf_test_data): Add more tests.
27219         (nearbyint_test_data): Likewise.
27220         (nextafter_test_data): Likewise.
27221         (nexttoward_test_data): Likewise.
27222         (pow_test_data): Likewise.
27223         (remainder_test_data): Likewise.
27224         (remquo_test_data): Likewise.
27225         (rint_test_data): Likewise.
27227         [BZ #19201]
27228         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27229         Check for zero remainder in case of large exponents and ensure
27230         correct sign of result in that case.
27231         * math/libm-test.inc (remainder_test_data): Add more tests.
27233         [BZ #6799]
27234         * math/s_nextafter.c: Include <errno.h>.
27235         (__nextafter): Set errno on overflow and underflow.
27236         * math/s_nexttowardf.c: Include <errno.h>.
27237         (__nexttowardf): Set errno on overflow and underflow.
27238         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27239         (__nextafterl): Set errno on overflow and underflow.
27240         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27241         (__nexttoward): Set errno on overflow and underflow.
27242         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27243         (__nexttowardf): Set errno on overflow and underflow.
27244         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27245         (__nextafterf): Set errno on overflow and underflow.
27246         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27247         (__nextafterl): Set errno on overflow and underflow.
27248         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27249         (__nexttoward): Set errno on overflow and underflow.
27250         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27251         (__nexttowardf): Set errno on overflow and underflow.
27252         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27253         (__nextafterl): Set errno on overflow and underflow.
27254         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27255         (__nexttoward): Set errno on overflow and underflow.
27256         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27257         (__nexttowardf): Set errno on overflow and underflow.
27258         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27259         (__nexttoward): Set errno on overflow and underflow.
27260         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27261         (__nexttowardf): Set errno on overflow and underflow.
27262         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27263         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27264         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27265         (__nextafterl): Set errno on overflow and underflow.
27266         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27267         setting to be missing on overflow.  Add more tests.
27268         (nexttoward_test_data): Likewise.
27270         * configure.ac (libc_cv_initfini_array): Remove configure test.
27271         * configure: Regenerated.
27273 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27275         [BZ #19189]
27276         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27277         non-finite argument handle arguments with negative sign.
27279         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27280         result from infinite argument.
27281         (j1_test_data): Likewise.
27282         (jn_test_data): Likewise.
27283         (y0_test_data): Likewise.
27284         (y1_test_data): Likewise.
27285         (yn_test_data): Likewise.
27287         [BZ #16171]
27288         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27289         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27290         * math/w_remainderf.c (dremf): Define as weak alias of
27291         __remainderf.
27292         * math/w_remainderl.c (dreml): Define as weak alias of
27293         __remainderl.
27294         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27295         __remainder.
27296         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27297         __remainderf.
27298         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27299         __remainderl.
27300         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27301         weak alias of remainderl.
27302         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27303         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27304         alias of __remainder.
27305         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27306         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27307         strong alias of __remainderl.
27308         (dreml): Use long_double_symbol.
27309         * math/Makefile (libm-calls): Remove w_drem.
27310         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27311         (CFLAGS-nldbl-drem.c): Remove variable.
27312         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27313         * math/w_drem.c: Remove file.
27314         * math/w_dremf.c: Likewise.
27315         * math/w_dreml.c: Likewise.
27316         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27317         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27318         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27320         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27321         * sysdeps/i386/configure: Regenerated.
27322         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27323         * sysdeps/x86_64/configure: Regenerated.
27325         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27326         test.
27327         (libc_cv_visibility_attribute): Likewise.
27328         (libc_cv_protected_data): Test unconditionally.
27329         (libc_cv_broken_visibility_attribute): Remove configure test.
27330         (libc_cv_have_sdata_section): Test unconditionally.
27331         * configure: Regenerated.
27333         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27334         * include/scratch_buffer.h: Include <stddef.h> instead of
27335         <libc-internal.h>.
27336         (struct scratch_buffer): Use max_align_t instead of
27337         libc_max_align_t.
27339 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27341         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27342         instead of extend_alloca.  Change control flow to avoid a goto.
27343         Remove assert which is trivially always true.
27345 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27347         [BZ #16068]
27348         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27349         (FE_ALL_EXCEPT_X86): New macro.
27350         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27351         FE_ALL_EXCEPT.  Ensure precision control is included in
27352         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27353         handle "denormal operand exception" and clear FZ and DAZ bits.
27354         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27355         (FE_ALL_EXCEPT_X86): New macro.
27356         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27357         FE_ALL_EXCEPT.  Ensure precision control is included in
27358         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27359         handle "denormal operand exception" and clear FZ and DAZ bits.
27360         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27361         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27362         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27363         test-fenv-x87 and test-fenv-sse-2.
27364         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27366         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27367         * math/test-double.h (BUILD_COMPLEX): New macro.
27368         * math/test-float.h (BUILD_COMPLEX): Likewise.
27369         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27371         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27372         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27373         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27375         instead of DBL_DENORM_MIN in comment.
27376         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27377         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27378         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27379         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27380         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27381         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27383 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27385         [BZ #19048]
27386         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27387         attached_threads member.
27388         (main_arena): Initialize attached_threads.
27389         * malloc/arena.c (list_lock): Update comment.
27390         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27391         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27392         (deattach_arena): New function.
27393         (_int_new_arena): Initialize arena reference count and deattach
27394         replaced arena.
27395         (get_free_list, reused_arena): Update reference count and deattach
27396         replaced arena.
27397         (arena_thread_freeres): Update arena reference count and only put
27398         unreferenced arenas on the free list.
27400 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27402         [BZ #19181]
27403         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27404         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27405         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27406         * math/test-fenv-clear-main.c: New file.
27407         * math/test-fenv-clear.c: Likewise.
27408         * math/Makefile (tests): Add test-fenv-clear.
27409         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27410         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27411         test-fenv-clear-sse.
27412         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27414         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27415         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27416         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27418 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27420         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27421         static libc.
27423 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27425         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27426         test.
27427         * sysdeps/i386/configure: Regenerated.
27428         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27429         test.
27430         * sysdeps/x86_64/configure: Regenerated.
27431         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27432         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27433         memset-avx2 unconditionally instead of conditionally on
27434         [$(config-cflags-avx2) = yes].
27435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27436         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27437         unconditional.
27438         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27439         * sysdeps/x86_64/multiarch/memset_chk.S
27440         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27441         to [IS_IN (libc) && SHARED].
27443 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27445         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27446         configure test.
27447         * sysdeps/arm/configure: Regenerated.
27448         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27449         Define variable if not already defined.
27451         [BZ #17404]
27452         * sysdeps/mips/atomic-machine.h
27453         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27454         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27455         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27457         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27458         unconditional.
27459         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27460         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27461         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27462         unconditional.
27463         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27464         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27465         unconditional.
27466         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27467         * stdlib/setenv.c
27468         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27469         code unconditional.
27470         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27471         Remove conditional code.
27472         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27473         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27474         unconditional.
27475         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27476         code.
27477         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27478         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27479         unconditional.
27480         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27481         code.
27482         * sysdeps/ieee754/ldbl-128/k_tanl.c
27483         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27484         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27485         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27486         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27487         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27488         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27489         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27490         unconditional.
27491         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27492         code.
27493         * sysdeps/ieee754/ldbl-96/k_tanl.c
27494         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27495         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27497         * nptl/tst-initializers1-c11.c: New file.
27498         * nptl/tst-initializers1-gnu11.c: Likewise.
27499         * nptl/Makefile (tests): Add these new tests.
27500         (CFLAGS-tst-initializers1-c11.c): New variable.
27501         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27503         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27504         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27505         instead of -std=gnu99.
27506         * configure.ac (systemtap): Test with -std=gnu11 instead of
27507         -std=gnu99.
27508         * configure: Regenerated.
27509         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27510         in compilation command in comment.
27512         * sysdeps/nptl/configure.ac: Remove file.
27513         * sysdeps/nptl/configure: Remove generated file.
27514         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27515         * configure: Regenerated.
27516         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27517         * config.make.in (have-forced-unwind): Remove variable.
27518         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27519         unconditional.
27520         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27521         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27522         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27523         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27524         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27525         unconditional.
27527 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27529         [BZ #19174]
27530         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27531         .skip_lock_out_of_tbegin_retries.
27532         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27533         (__lll_lock_elision): Likewise, and respect a value of
27534         try_tbegin <= 0.
27536 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27538         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27539         statement.
27541 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27543         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27544         variable.
27545         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27546         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27548         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27549         of -std=c1x -D_ISOC11_SOURCE.
27551         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27552         * configure: Regenerated.
27553         * manual/install.texi (Tools for Compilation): Document
27554         requirement for GCC 4.7 or later.
27555         * INSTALL: Regenerated.
27557 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
27559         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27560         on CNT to a conditional jump to 'puntdata'.
27562 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27564         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27565         (libc_cv_gcc_tls_model_attr): Likewise.
27566         * configure: Regenerated.
27568         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27569         * configure: Regenerated.
27570         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27572 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27574         * configure.ac (old_glibc_headers): Remove configure test.
27575         * configure: Regenerated.
27576         * config.make.in (old-glibc-headers): Remove variable.
27577         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27578         (install): Remove dependency on remove-old-headers.
27579         (headers2_0): Remove variable.
27580         (remove-old-headers): Remove rule.
27582         * configure.ac (libc_cv_dot_text): Remove configure test.
27583         (libc_cv_asm_set_directive): Use .text instead of
27584         ${libc_cv_dot_text} in configure test.
27585         * configure: Regenerated.
27587 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27589         [BZ #19168]
27590         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27592 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27594         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27595         not support static linking.
27596         * configure: Regenerate.
27598 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27600         * math/libm-test.inc (check_float_internal): Do not special-case
27601         errors up to 0.5 ulp.
27603         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27604         log2.
27605         * math/auto-libm-test-out: Regenerated.
27606         * math/libm-test.inc (MAX_EXP): New macro.
27607         (ilogb_test_data): Add more tests.
27608         (isfinite_test_data): Likewise.
27609         (isgreater_test_data): Likewise.
27610         (isgreaterequal_test_data): Likewise.
27611         (isinf_test_data): Likewise.
27612         (isless_test_data): Likewise.
27613         (islessequal_test_data): Likewise.
27614         (islessgreater_test_data): Likewise.
27615         (isnan_test_data): Likewise.
27616         (isnormal_test_data): Likewise.
27617         (issignaling_test_data): Likewise.
27618         (isunordered_test_data): Likewise.
27619         (j0_test_data): Likewise.
27620         (j1_test_data): Likewise.
27621         (jn_test_data): Likewise.
27622         (lgamma_test_data): Likewise.
27623         (log_test_data): Likewise.
27624         (log10_test_data): Likewise.
27625         (log1p_test_data): Likewise.
27626         (log2_test_data): Likewise.
27627         (logb_test_data): Likewise.
27628         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27630         [BZ #18611]
27631         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27632         avoid excess range and precision on underflow.
27633         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27634         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27635         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27636         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27637         underflow.
27638         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27639         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27640         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27641         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27642         * math/auto-libm-test-in: Do not allow missing errno setting for
27643         tests of j1 and jn.
27644         * math/auto-libm-test-out: Regenerated.
27646 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27648         [BZ #15491]
27649         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27650         floating-point environment instead of clearing all exceptions.
27651         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27652         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27653         merging in "invalid" exceptions from frndint.
27654         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27655         * math/test-nearbyint-except.c: New file.
27656         * math/Makefile (tests): Add test-nearbyint-except.
27658 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27660         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27662         * sysdeps/tile/libm-test-ulps: Regenerated.
27664 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27667         (__NR_sync_file_range2): Assume it is always defined.
27668         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27669         (__NR_sync_file_range): Assume it is always defined.
27671 2015-10-22  Andreas Schwab  <schwab@suse.de>
27673         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27674         INTERNAL_SYSCALL_ERRNO.
27675         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27676         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27677         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27678         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27679         Likewise.
27680         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27682 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27684         * io/tst-fcntl.c (fd): New static variable.
27685         (do_prepare): Open temporary file here....
27686         (do_test): ...not here.
27688         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27690 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27692         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27693         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27694         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27695         Moved before "#ifdef __ASSEMBLER__".
27697 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27699         [BZ #19156]
27700         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27701         arguments very close to 0.
27703 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27705         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27706         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27708 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27710         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27711         New.  Defined for GCC 5 and above when not compiling for
27712         profiling.
27713         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27715         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27716         Renamed to ...
27717         (CFLAGS-epoll_pwait.o): This.
27718         (CFLAGS-mmap.c): Renamed to ...
27719         (CFLAGS-mmap.o): This.
27720         (CFLAGS-mmap64.c): Renamed to ...
27721         (CFLAGS-mmap64.o): This.
27722         (CFLAGS-epoll_pwait.os): New.
27723         (CFLAGS-mmap.os): Likewise.
27724         (CFLAGS-mmap64.os): Likewise.
27725         (CFLAGS-semtimedop.os): Likewise.
27726         (CFLAGS-semtimedop.c): Renamed to ...
27727         (CFLAGS-semtimedop.o): This.
27729 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27731         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27732         warning message.
27734 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27736         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27737         * Makefile ($(objpfx)c++-types-check.out): Filter out
27738         $(+gccwarn-c) instead of -Wstrict-prototypes.
27740         * io/fts.c (fts_open): Convert to prototype-style function
27741         definition.
27742         * malloc/mcheck.c (mcheck): Likewise.
27743         (mcheck_pedantic): Likewise.
27744         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27745         internal_function.
27746         (re_search_internal): Likewise.
27747         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27748         prototype-style function definition.
27749         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27750         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27751         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27752         (xdr_utmpptr): Likewise.
27753         (xdr_utmparr): Likewise.
27754         (xdr_utmpidle): Likewise.
27755         (xdr_utmpidleptr): Likewise.
27756         (xdr_utmpidlearr): Likewise.
27758         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27759         log, log10 and log2.
27760         * math/auto-libm-test-out: Regenerated.
27761         * math/libm-test.inc (fmod_test_data): Add more tests.
27762         (fpclassify_test_data): Likewise.
27763         (frexp_test_data): Likewise.
27764         (hypot_test_data): Likewise.
27765         (ilogb_test_data): Likewise.
27767 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27769         * debug/fortify_fail.c (__fortify_fail): Convert to
27770         prototype-style function definition.  Use internal_function.
27771         * libio/genops.c (save_for_backup): Convert to prototype-style
27772         function definition.
27773         * libio/wgenops.c (save_for_wbackup): Likewise.
27774         * login/grantpt.c (grantpt): Likewise.
27775         * login/ptsname.c (ptsname): Likewise.
27776         (__ptsname_r): Likewise.
27777         * login/unlockpt.c (unlockpt): Likewise.
27778         * mach/msgserver.c (__mach_msg_server): Likewise.
27779         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27780         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27781         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27782         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27783         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27784         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27785         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27786         Likewise.
27787         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27788         internal_function.
27789         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27790         prototype-style function definition.
27791         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27792         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27793         (__pthread_create_2_0): Likewise.
27794         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27795         * nptl/register-atfork.c (__register_atfork): Likewise.
27796         * posix/glob.c (glob): Likewise.
27797         * posix/regcomp.c (re_comp): Likewise.
27798         * posix/regexec.c (re_exec): Likewise.
27799         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27800         [!__STDC__]: Remove conditional code.
27801         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27802         [!__STDC__]: Remove conditional code.
27803         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27804         [!__STDC__]: Remove conditional code.
27805         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27806         [!__STDC__]: Remove conditional code.
27807         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27808         [!__STDC__]: Remove conditional code.
27809         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27810         [!__STDC__]: Remove conditional code.
27811         * stdlib/mul.c [__STDC__]: Make code unconditional.
27812         [!__STDC__]: Remove conditional code.
27813         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27814         [!__STDC__]: Remove conditional code.
27815         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27816         [!__STDC__]: Remove conditional code.
27817         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27818         function definition.
27819         (STRTOF): Likewise.
27820         * stdlib/strtod_l.c (__STRTOF): Likewise.
27821         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27822         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27823         (__strtol_l): Likewise.
27824         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27825         [!__STDC__]: Remove conditional code.
27826         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27827         definition.
27828         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27829         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27830         type.
27831         (__strcasecmp): Convert to prototype-style function definition.
27832         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27833         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27834         type.
27835         (__strncasecmp): Convert to prototype-style function definition.
27836         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27837         * sunrpc/xdr.c (xdr_union): Likewise.
27838         * sunrpc/xdr_array.c (xdr_array): Likewise.
27839         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27840         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27841         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27842         Likewise.
27843         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27844         Likewise.
27845         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27846         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27847         Likewise.
27848         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27849         (LOCALE_PARAM_PROTO): Likewise.
27850         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27851         argument type.
27852         (ut_argument_spec): Remove macro.
27853         (ut_argument_spec_iso): Rename to ut_argument_spec.
27854         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27855         prototype-style function definition.
27856         (memcpy_uppcase): Likewise.
27857         (__strftime_internal): Likewise.
27858         (my_strftime): Likewise.
27859         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27860         (LOCALE_PARAM_DECL): Likewise.
27861         [_LIBC] (LOCALE_PARAM): Include argument type.
27862         (__strptime_internal): Convert to prototype-style function
27863         definition.
27864         (strptime): Likewise.
27865         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27866         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27867         type.
27868         (__wcscasecmp): Convert to prototype-style function definition.
27869         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27870         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27871         type.
27872         (__wcsncasecmp): Convert to prototype-style function definition.
27874         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27875         function definition.
27876         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27877         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27878         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27879         * elf/dl-minimal.c (_itoa): Likewise.
27880         * hurd/hurdmalloc.c (malloc): Likewise.
27881         (free): Likewise.
27882         (realloc): Likewise.
27883         * inet/inet6_option.c (inet6_option_space): Likewise.
27884         (inet6_option_init): Likewise.
27885         (inet6_option_append): Likewise.
27886         (inet6_option_alloc): Likewise.
27887         (inet6_option_next): Likewise.
27888         (inet6_option_find): Likewise.
27889         * io/ftw.c (FTW_NAME): Likewise.
27890         (NFTW_NAME): Likewise.
27891         (NFTW_NEW_NAME): Likewise.
27892         (NFTW_OLD_NAME): Likewise.
27893         * libio/iofwide.c (_IO_fwide): Likewise.
27894         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27895         (_IO_str_init_static): Likewise.
27896         (_IO_str_init_readonly): Likewise.
27897         (_IO_str_overflow): Likewise.
27898         (_IO_str_underflow): Likewise.
27899         (_IO_str_count): Likewise.
27900         (_IO_str_seekoff): Likewise.
27901         (_IO_str_pbackfail): Likewise.
27902         (_IO_str_finish): Likewise.
27903         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27904         (_IO_wstr_overflow): Likewise.
27905         (_IO_wstr_underflow): Likewise.
27906         (_IO_wstr_count): Likewise.
27907         (_IO_wstr_seekoff): Likewise.
27908         (_IO_wstr_pbackfail): Likewise.
27909         (_IO_wstr_finish): Likewise.
27910         * locale/programs/localedef.c (normalize_codeset): Likewise.
27911         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27912         (add_locales_to_archive): Likewise.
27913         (delete_locales_from_archive): Likewise.
27914         * malloc/malloc.c (__libc_mallinfo): Likewise.
27915         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27916         * misc/tsearch.c (__tfind): Likewise.
27917         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27918         * nptl/pthread_attr_getdetachstate.c
27919         (__pthread_attr_getdetachstate): Likewise.
27920         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27921         Likewise.
27922         * nptl/pthread_attr_getinheritsched.c
27923         (__pthread_attr_getinheritsched): Likewise.
27924         * nptl/pthread_attr_getschedparam.c
27925         (__pthread_attr_getschedparam): Likewise.
27926         * nptl/pthread_attr_getschedpolicy.c
27927         (__pthread_attr_getschedpolicy): Likewise.
27928         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27929         Likewise.
27930         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27931         Likewise.
27932         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27933         Likewise.
27934         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27935         Likewise.
27936         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27937         (__pthread_attr_init_2_0): Likewise.
27938         * nptl/pthread_attr_setdetachstate.c
27939         (__pthread_attr_setdetachstate): Likewise.
27940         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27941         Likewise.
27942         * nptl/pthread_attr_setinheritsched.c
27943         (__pthread_attr_setinheritsched): Likewise.
27944         * nptl/pthread_attr_setschedparam.c
27945         (__pthread_attr_setschedparam): Likewise.
27946         * nptl/pthread_attr_setschedpolicy.c
27947         (__pthread_attr_setschedpolicy): Likewise.
27948         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27949         Likewise.
27950         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27951         Likewise.
27952         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27953         Likewise.
27954         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27955         Likewise.
27956         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27957         Likewise.
27958         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27959         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27960         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27961         use internal_function.
27962         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27963         prototype-style function definition.
27964         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27965         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27966         internal_function.
27967         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27968         Convert to prototype-style function definition.
27969         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27970         Likewise.
27971         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27972         Likewise.
27973         (__pthread_mutex_unlock): Likewise.
27974         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27975         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27976         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27977         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27978         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27979         * nss/makedb.c (process_input): Likewise.
27980         * posix/fnmatch.c (__strchrnul): Likewise.
27981         (__wcschrnul): Likewise.
27982         (fnmatch): Likewise.
27983         * posix/fnmatch_loop.c (FCT): Likewise.
27984         * posix/glob.c (globfree): Likewise.
27985         (__glob_pattern_type): Likewise.
27986         (__glob_pattern_p): Likewise.
27987         * posix/regcomp.c (re_compile_pattern): Likewise.
27988         (re_set_syntax): Likewise.
27989         (re_compile_fastmap): Likewise.
27990         (regcomp): Likewise.
27991         (regerror): Likewise.
27992         (regfree): Likewise.
27993         * posix/regexec.c (regexec): Likewise.
27994         (re_match): Likewise.
27995         (re_search): Likewise.
27996         (re_match_2): Likewise.
27997         (re_search_2): Likewise.
27998         (re_search_stub): Likewise.  Use internal_function
27999         (re_copy_regs): Likewise.
28000         (re_set_registers): Convert to prototype-style function
28001         definition.
28002         (prune_impossible_nodes): Likewise.  Use internal_function.
28003         * resolv/inet_net_pton.c (inet_net_pton): Convert to
28004         prototype-style function definition.
28005         (inet_net_pton_ipv4): Likewise.
28006         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28007         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
28008         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28009         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
28010         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28011         Make variadic.
28012         * time/strptime_l.c (localtime_r): Convert to prototype-style
28013         function definition.
28014         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28015         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28016         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28017         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28019         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
28020         definition.
28021         (_ufc_doit_r): Likewise.
28022         * crypt/crypt_util.c (_ufc_copymem): Likewise.
28023         (_ufc_output_conversion_r): Likewise.
28024         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
28025         * inet/rcmd.c (rcmd_af): Likewise.
28026         (rcmd): Likewise.
28027         (ruserok_af): Likewise.
28028         (ruserok): Likewise.
28029         (ruserok2_sa): Likewise.
28030         (ruserok_sa): Likewise.
28031         (iruserok_af): Likewise.
28032         (iruserok): Likewise.
28033         (__ivaliduser): Likewise.
28034         (__validuser2_sa): Likewise.
28035         * inet/rexec.c (rexec_af): Likewise.
28036         (rexec): Likewise.
28037         * inet/ruserpass.c (ruserpass): Likewise.
28038         * locale/programs/xmalloc.c (xcalloc): Likewise.
28039         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
28040         * math/w_drem.c (__drem): Likewise.
28041         * math/w_dremf.c (__dremf): Likewise.
28042         * math/w_dreml.c (__dreml): Likewise.
28043         * misc/daemon.c (daemon): Likewise.
28044         * resolv/res_debug.c (p_fqnname): Likewise.
28045         * stdlib/div.c (div): Likewise.
28046         * string/memcmp.c (memcmp_bytes): Likewise.
28047         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
28048         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
28050         * crypt/cert.c (main): Convert to prototype-style function
28051         definition.
28052         * io/pipe.c (__pipe): Likewise.
28053         * io/pipe2.c (__pipe2): Likewise.
28054         * misc/futimesat.c (futimesat): Likewise.
28055         * misc/utimes.c (__utimes): Likewise.
28056         * posix/execve.c (__execve): Likewise.
28057         * posix/execvp.c (execvp): Likewise.
28058         * posix/execvpe.c (__execvpe): Likewise.
28059         * posix/fexecve.c (fexecve): Likewise.
28060         * socket/socketpair.c (socketpair): Likewise.
28061         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28062         * stdlib/erand48.c (erand48): Likewise.
28063         * stdlib/erand48_r.c (__erand48_r): Likewise.
28064         * stdlib/jrand48.c (jrand48): Likewise.
28065         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
28066         * stdlib/lcong48.c (lcong48): Likewise.
28067         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
28068         * stdlib/nrand48.c (nrand48): Likewise.
28069         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
28070         * stdlib/seed48.c (seed48): Likewise.
28071         * stdlib/seed48_r.c (__seed48_r): Likewise.
28072         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
28073         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
28074         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
28076 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28078         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
28079         * configure: Regenerated.
28080         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
28081         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
28082         unconditional.
28083         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28084         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28085         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28086         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
28087         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
28088         unconditional.
28089         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28091         * posix/Makefile (CFLAGS-regex.c): Remove variable.
28092         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
28094         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
28095         function definition.
28096         * crypt/crypt_util.c (__encrypt_r): Likewise.
28097         * libio/genops.c (_IO_no_init): Likewise.
28098         * libio/iofopncook.c (_IO_fopencookie): Likewise.
28099         (_IO_old_fopencookie): Likewise.
28100         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28101         * libio/iogetline.c (_IO_getline): Likewise.
28102         (_IO_getline_info): Likewise.
28103         * libio/iogetwline.c (_IO_getwline): Likewise.
28104         (_IO_getwline_info): Likewise.
28105         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
28106         * libio/vswprintf.c (_IO_vswprintf): Likewise.
28107         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
28108         (find_entry): Likewise.
28109         (iterate_table): Likewise.
28110         (lookup): Likewise.
28111         * login/forkpty.c (forkpty): Likewise.
28112         * misc/hsearch_r.c (__hsearch_r): Likewise.
28113         * misc/select.c (__select): Likewise.
28114         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
28115         Likewise.
28116         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
28117         Likewise.
28118         * nptl/old_pthread_cond_timedwait.c
28119         (__pthread_cond_timedwait_2_0): Likewise.
28120         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28121         * nptl/pthread_barrierattr_getpshared.c
28122         (pthread_barrierattr_getpshared): Likewise.
28123         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
28124         Likewise.
28125         * nptl/pthread_mutex_setprioceiling.c
28126         (pthread_mutex_setprioceiling): Likewise.
28127         * nptl/pthread_mutexattr_getprioceiling.c
28128         (pthread_mutexattr_getprioceiling): Likewise.
28129         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28130         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28131         Likewise.
28132         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28133         Likewise.
28134         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
28135         Likewise.
28136         * socket/recvfrom.c (__recvfrom): Likewise.
28137         * socket/sendto.c (__sendto): Likewise.
28138         * socket/setsockopt.c (__setsockopt): Likewise.
28139         * stdio-common/_itoa.c (_itoa): Likewise.
28140         * stdio-common/_itowa.c (_itowa): Likewise.
28141         * stdio-common/reg-printf.c (__register_printf_specifier):
28142         Likewise.
28143         (__register_printf_function): Likewise.
28144         * stdio-common/tempname.c (__path_search): Likewise.
28145         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
28146         * stdlib/mul_1.c (mpn_mul_1): Likewise.
28147         * stdlib/random_r.c (__initstate_r): Likewise.
28148         * stdlib/setenv.c (__add_to_environ): Likewise.
28149         * stdlib/submul_1.c (mpn_submul_1): Likewise.
28150         * streams/getpmsg.c (getpmsg): Likewise.
28151         * streams/putmsg.c (putmsg): Likewise.
28152         * streams/putpmsg.c (putpmsg): Likewise.
28153         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
28154         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28155         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
28156         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28157         * sunrpc/pm_getport.c (pmap_getport): Likewise.
28158         * sunrpc/svc_udp.c (cache_get): Likewise.
28159         * sunrpc/xdr_array.c (xdr_vector): Likewise.
28160         * sysdeps/mach/hurd/getcwd.c
28161         (__canonicalize_directory_name_internal): Likewise.
28162         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28163         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28164         * sysdeps/mach/hurd/select.c (__select): Likewise.
28165         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28166         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28167         * sysdeps/sparc/nptl/pthread_barrier_init.c
28168         (__pthread_barrier_init): Likewise.
28169         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28170         (__pthread_cond_timedwait): Likewise.
28171         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28172         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28173         Likewise.
28174         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28175         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28176         Likewise.
28177         * sysvipc/semtimedop.c (semtimedop): Likewise.
28178         * time/setitimer.c (__setitimer): Likewise.
28179         * time/strftime_l.c (emacs_strftime): Likewise.
28181 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28183         * config.make.in (have-ssp): Delete.
28184         (stack-protector): New variable.
28185         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
28186         cache test for -fstack-protector-strong.  Export stack_protector to
28187         the best ssp flag.
28188         * configure: Regenerated.
28189         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28190         * nscd/Makefile (CFLAGS-nscd): Likewise.
28191         * resolv/Makefile (CFLAGS-libresolv): Likewise.
28193 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
28195         [BZ #19122]
28196         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28197         attribute_hidden.
28199 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28201         [BZ #18743]
28202         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28203         code to...
28204         (ELIDE_LOCK): ...here.
28205         (__get_new_count): New function with part of the code from
28206         __elide_lock that updates the value of adapt_count after a
28207         transaction abort.
28208         (__elided_trylock): Moved this code to...
28209         (ELIDE_TRYLOCK): ...here.
28211 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28213         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28214         * configure: Regenerate.
28215         * INSTALL: Regenerate.
28216         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28217         and tweak grammar.
28219 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
28221         * login/programs/pt_chown.c: Include signal.h
28222         (main): Clear any signal mask from the parent process.
28224 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28226         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28227         * configure: Regenerated.
28228         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28229         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28230         $(gnu89-inline-CFLAGS).
28232         * configure.ac (libc_cv_asm_weak_directive): Remove configure
28233         test.
28234         (libc_cv_asm_weakext_directive): Likewise.
28235         * configure: Regenerated.
28236         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28237         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28238         * include/libc-symbols.h
28239         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28240         #error.
28241         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28242         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28244         * sysdeps/arm/backtrace.c (__backtrace): Convert to
28245         prototype-style function definition.
28246         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28247         * sysdeps/i386/ffs.c (__ffs): Likewise.
28248         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28249         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28250         Likewise.
28251         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28252         Likewise.
28253         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28255         Likewise.
28256         * sysdeps/m68k/ffs.c (__ffs): Likewise.
28257         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28258         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28259         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28260         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28261         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28262         * sysdeps/mach/hurd/access.c (__access): Likewise.
28263         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28264         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28265         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28266         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28267         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28268         (cthread_getspecific): Likewise.
28269         (cthread_setspecific): Likewise.
28270         (__libc_getspecific): Likewise.
28271         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28272         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28273         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28274         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28275         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28276         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28277         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28278         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28279         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28280         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28281         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28282         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28283         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28284         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28285         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28286         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28287         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28288         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28289         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28290         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28291         * sysdeps/mach/hurd/link.c (__link): Likewise.
28292         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28293         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28294         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28295         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28296         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28297         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28298         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28299         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28300         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28301         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28302         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28303         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28304         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28305         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28306         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28307         * sysdeps/mach/hurd/send.c (__send): Likewise.
28308         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28309         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28310         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28311         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28312         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28313         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28314         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28315         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28316         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28317         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28318         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28319         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28320         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28321         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28322         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28323         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28324         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28325         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28326         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28327         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28328         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28329         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28330         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28331         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28332         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28333         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28334         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28335         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28336         * sysdeps/posix/alarm.c (alarm): Likewise.
28337         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28338         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28339         * sysdeps/posix/dup.c (__dup): Likewise.
28340         * sysdeps/posix/dup2.c (__dup2): Likewise.
28341         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28342         (main): Likewise.
28343         * sysdeps/posix/flock.c (__flock): Likewise.
28344         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28345         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28346         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28347         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28348         * sysdeps/posix/isatty.c (__isatty): Likewise.
28349         * sysdeps/posix/killpg.c (killpg): Likewise.
28350         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28351         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28352         * sysdeps/posix/raise.c (raise): Likewise.
28353         * sysdeps/posix/remove.c (remove): Likewise.
28354         * sysdeps/posix/rename.c (rename): Likewise.
28355         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28356         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28357         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28358         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28359         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28360         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28361         * sysdeps/posix/sigset.c (sigset): Likewise.
28362         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28363         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28364         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28365         * sysdeps/posix/time.c (time): Likewise.
28366         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28367         (ttyname): Likewise.
28368         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28369         * sysdeps/posix/utime.c (utime): Likewise.
28370         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28371         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28372         Likewise.
28373         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28374         (pthread_spin_trylock): Likewise.
28375         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28376         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28377         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28378         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28379         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28380         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28381         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28382         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28383         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28384         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28385         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28386         * sysdeps/s390/ffs.c (__ffs): Likewise.
28387         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28388         Likewise.
28389         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28390         Likewise.
28391         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28392         Likewise.
28393         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28394         (pthread_barrier_destroy): Likewise.
28395         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28396         (__pthread_barrier_wait): Likewise.
28397         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28398         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28399         (__pthread_barrier_wait): Likewise.
28400         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28401         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28402         (memcmp_not_common_alignment): Likewise.
28403         (MEMCMP): Likewise.
28404         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28405         (_wordcopy_fwd_dest_aligned): Likewise.
28406         (_wordcopy_bwd_aligned): Likewise.
28407         (_wordcopy_bwd_dest_aligned): Likewise.
28408         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28409         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28410         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28411         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28412         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28413         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28414         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28415         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28416         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28417         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28418         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28419         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28420         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28421         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28422         * sysdeps/unix/stime.c (stime): Likewise.
28423         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28424         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28425         Likewise.  Use internal_function.
28426         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28427         Convert to prototype-style function definition.
28428         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28429         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28430         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28431         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28432         Likewise.  Use internal_function.
28433         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28434         prototype-style function definition
28435         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28436         Likewise.
28437         (__getlogin_r): Likewise.
28438         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28439         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28440         (__pthread_cond_broadcast): Likewise.
28441         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28442         (__pthread_cond_destroy): Likewise.
28443         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28444         (__pthread_cond_init): Likewise.
28445         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28446         (__pthread_cond_signal): Likewise.
28447         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28448         (__pthread_cond_wait): Likewise.
28449         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28450         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28451         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28452         Likewise.
28453         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28454         Likewise.
28455         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28456         Likewise.
28457         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28458         Likewise.
28459         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28461         (__ftruncate64): Likewise.
28462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28463         (truncate64): Likewise.
28464         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28465         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28466         (pthread_getcpuclockid): Likewise.
28467         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28468         Likewise.
28469         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28470         Likewise.
28471         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28472         Likewise.
28473         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28474         Likewise.
28475         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28476         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28477         (__libc_sigaction): Likewise.
28478         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28479         Likewise.
28480         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28481         (__sigprocmask): Likewise.
28482         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28483         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28484         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28485         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28486         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28487         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28488         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28489         Likewise.
28490         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28491         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28492         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28493         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28494         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28495         Likewise.
28496         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28497         (__sigprocmask): Likewise.
28498         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28499         (cfgetispeed): Likewise.
28500         (cfsetospeed): Likewise.
28501         (cfsetispeed): Likewise.
28502         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28503         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28504         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28505         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28506         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28507         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28508         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28509         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28510         Likewise.
28511         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28512         Likewise.
28513         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28514         Likewise.
28515         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28516         Likewise.
28517         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28519 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28521         sunrpc: Rewrite with explicit TLS access using __thread.
28522         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28523         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28524         directly.
28525         (__rpc_thread_variables): Access thread_rpc_vars directly.
28526         Eliminate redundant assignment of the tvp variable.
28528 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28530         malloc: Rewrite with explicit TLS access using __thread.
28531         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28532         (tsd_setspecific, tsd_getspecific): Remove.
28533         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28534         (tsd_setspecific, tsd_getspecific): Likewise.
28535         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28536         (tsd_setspecific, tsd_getspecific): Likewise.
28537         * malloc/arena.c (thread_arena): New TLS variable.
28538         (arena_key): Remove variable.
28539         (arena_get): Use thread_arena.
28540         (arena_lookup): Remove macro.
28541         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28542         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28543         (_int_new_arena, get_free_list, reused_arena)
28544         (arena_thread_freeres): Use thread_arena.
28545         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28546         tsd_getspecific, tsd_setspecific from safety annotations.
28547         (Allocating Cleared Space): Remove arena_lookup from safety
28548         annotations.
28550 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28552         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28553         struct scratch_buffer instead of extend_alloca.
28555 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28557         * sysdeps/unix/sysv/linux/kernel-features.h
28558         (__ASSUME_SOCK_CLOEXEC): Remove.
28559         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28560         (__have_paccept): Remove unused macro.
28561         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28562         * misc/syslog.c (openlog_internal): Remove fallback code for
28563         !__ASSUME_SOCK_CLOEXEC.
28564         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28565         missing SOCK_CLOEXEC.
28566         * nscd/connections.c (have_sock_cloexec): Remove definition.
28567         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28568         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28569         !__ASSUME_SOCK_CLOEXEC.
28570         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28571         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28572         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28573         definition.
28574         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28575         code for !__ASSUME_SOCK_CLOEXEC.
28577 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28579         [BZ #18982]
28580         * manual/stdio.texi (Variable Arguments Output): Add portability
28581         note, explaining that vfprintf clobbers the va_list pointer.
28583 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28585         * math/libm-test.inc (fabs_test_data): Add more tests.
28586         (fdim_test_data): Likewise.
28587         (fma_test_data): Likewise.
28588         (fmax_test_data): Likewise.
28589         (fmin_test_data): Likewise.
28590         (fmod_test_data): Likewise.
28592 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28594         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28595         data.
28597 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28599         * math/libm-test.inc (ceil_test_data): Add more tests and more
28600         expectations for "inexact".
28601         (floor_test_data): Add more tests.
28602         (round_test_data): Likewise.
28603         (trunc_test_data): Likewise.
28605         * crypt/cert.c (good_bye): Convert to prototype-style function
28606         definition.
28607         (get8): Likewise.
28608         (put8): Likewise.
28609         * crypt/crypt-entry.c (crypt): Likewise.
28610         (__fcrypt): Likewise.
28611         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28612         (_ufc_set_bits): Likewise.
28613         (_ufc_clearmem): Likewise.
28614         (__init_des_r): Likewise.
28615         (shuffle_sb): Likewise.
28616         (shuffle_sb): Likewise.
28617         (_ufc_setup_salt_r): Likewise.
28618         (_ufc_mk_keytab_r): Likewise.
28619         (_ufc_dofinalperm_r): Likewise.
28620         (encrypt): Likewise.
28621         (__setkey_r): Likewise.
28622         (setkey): Likewise.
28623         * crypt/md5.c (md5_init_ctx): Likewise.
28624         (md5_read_ctx): Likewise.
28625         (md5_finish_ctx): Likewise.
28626         (md5_stream): Likewise.
28627         (md5_buffer): Likewise.
28628         (md5_process_bytes): Likewise.
28629         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28630         (__sha256_finish_ctx): Likewise.
28631         (__sha256_process_bytes): Likewise.
28632         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28633         (__sha512_finish_ctx): Likewise.
28634         (__sha512_process_bytes): Likewise.
28635         * ctype/isctype.c (__isctype): Likewise.
28636         * debug/backtrace.c (__backtrace): Likewise.
28637         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28638         * debug/fgets_chk.c (__fgets_chk): Likewise.
28639         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28640         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28641         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28642         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28643         * debug/memset_chk.c (__memset_chk): Likewise.
28644         * debug/strcat_chk.c (__strcat_chk): Likewise.
28645         * debug/strncat_chk.c (__strncat_chk): Likewise.
28646         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28647         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28648         * dirent/dirfd.c (dirfd): Likewise.
28649         * dirent/getdents.c (__getdirentries): Likewise.
28650         * dirent/getdents64.c (getdirentries64): Likewise.
28651         * dirent/rewinddir.c (__rewinddir): Likewise.
28652         * dirent/seekdir.c (seekdir): Likewise.
28653         * dirent/telldir.c (telldir): Likewise.
28654         * elf/sln.c (makesymlinks): Likewise.
28655         (makesymlink): Likewise.
28656         * gmon/gmon.c (__moncontrol): Likewise.
28657         (__monstartup): Likewise.
28658         (write_hist): Likewise.
28659         (write_call_graph): Likewise.
28660         (write_bb_counts): Likewise.
28661         * grp/setgroups.c (setgroups): Likewise.
28662         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28663         * inet/inet_net.c (inet_network): Likewise.
28664         * inet/inet_netof.c (inet_netof): Likewise.
28665         * inet/rcmd.c (rresvport_af): Likewise.
28666         (rresvport): Likewise.
28667         * io/access.c (__access): Likewise.
28668         * io/chdir.c (__chdir): Likewise.
28669         * io/chmod.c (__chmod): Likewise.
28670         * io/chown.c (__chown): Likewise.
28671         * io/close.c (__close): Likewise.
28672         * io/creat.c (creat): Likewise.
28673         * io/creat64.c (creat64): Likewise.
28674         * io/dup.c (__dup): Likewise.
28675         * io/dup2.c (__dup2): Likewise.
28676         * io/dup3.c (__dup3): Likewise.
28677         * io/euidaccess.c (__euidaccess): Likewise.
28678         * io/faccessat.c (faccessat): Likewise.
28679         * io/fchmod.c (__fchmod): Likewise.
28680         * io/fchmodat.c (fchmodat): Likewise.
28681         * io/fchown.c (__fchown): Likewise.
28682         * io/fchownat.c (fchownat): Likewise.
28683         * io/fcntl.c (__fcntl): Likewise.
28684         * io/flock.c (__flock): Likewise.
28685         * io/fts.c (fts_load): Likewise.
28686         (fts_close): Likewise.
28687         (fts_read): Likewise.
28688         (fts_set): Likewise.
28689         (fts_children): Likewise.
28690         (fts_build): Likewise.
28691         (fts_stat): Likewise.
28692         (fts_sort): Likewise.
28693         (fts_alloc): Likewise.
28694         (fts_lfree): Likewise.
28695         (fts_palloc): Likewise.
28696         (fts_padjust): Likewise.
28697         (fts_maxarglen): Likewise.
28698         (fts_safe_changedir): Likewise.
28699         * io/getwd.c (getwd): Likewise.
28700         * io/isatty.c (__isatty): Likewise.
28701         * io/lchown.c (__lchown): Likewise.
28702         * io/link.c (__link): Likewise.
28703         * io/linkat.c (linkat): Likewise.
28704         * io/lseek.c (__libc_lseek): Likewise.
28705         * io/mkdir.c (__mkdir): Likewise.
28706         * io/mkdirat.c (mkdirat): Likewise.
28707         * io/mkfifo.c (mkfifo): Likewise.
28708         * io/mkfifoat.c (mkfifoat): Likewise.
28709         * io/open.c (__libc_open): Likewise.
28710         * io/open64.c (__libc_open64): Likewise.
28711         * io/readlink.c (__readlink): Likewise.
28712         * io/readlinkat.c (readlinkat): Likewise.
28713         * io/rmdir.c (__rmdir): Likewise.
28714         * io/symlink.c (__symlink): Likewise.
28715         * io/symlinkat.c (symlinkat): Likewise.
28716         * io/ttyname.c (ttyname): Likewise.
28717         * io/ttyname_r.c (__ttyname_r): Likewise.
28718         * io/umask.c (__umask): Likewise.
28719         * io/unlink.c (__unlink): Likewise.
28720         * io/unlinkat.c (unlinkat): Likewise.
28721         * io/utime.c (utime): Likewise.
28722         * libio/clearerr.c (clearerr): Likewise.
28723         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28724         * libio/feof.c (_IO_feof): Likewise.
28725         * libio/feof_u.c (feof_unlocked): Likewise.
28726         * libio/ferror.c (_IO_ferror): Likewise.
28727         * libio/ferror_u.c (ferror_unlocked): Likewise.
28728         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28729         * libio/fileno.c (__fileno): Likewise.
28730         * libio/fputc.c (fputc): Likewise.
28731         * libio/fputc_u.c (fputc_unlocked): Likewise.
28732         * libio/fputwc.c (fputwc): Likewise.
28733         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28734         * libio/freopen.c (freopen): Likewise.
28735         * libio/freopen64.c (freopen64): Likewise.
28736         * libio/fseek.c (fseek): Likewise.
28737         * libio/fseeko.c (fseeko): Likewise.
28738         * libio/fseeko64.c (fseeko64): Likewise.
28739         * libio/ftello.c (__ftello): Likewise.
28740         * libio/ftello64.c (ftello64): Likewise.
28741         * libio/fwide.c (fwide): Likewise.
28742         * libio/genops.c (_IO_un_link): Likewise.
28743         (_IO_link_in): Likewise.
28744         (_IO_least_marker): Likewise.
28745         (_IO_switch_to_main_get_area): Likewise.
28746         (_IO_switch_to_backup_area): Likewise.
28747         (_IO_switch_to_get_mode): Likewise.
28748         (_IO_free_backup_area): Likewise.
28749         (_IO_switch_to_put_mode): Likewise.
28750         (__overflow): Likewise.
28751         (__underflow): Likewise.
28752         (__uflow): Likewise.
28753         (_IO_setb): Likewise.
28754         (_IO_doallocbuf): Likewise.
28755         (_IO_default_underflow): Likewise.
28756         (_IO_default_uflow): Likewise.
28757         (_IO_default_xsputn): Likewise.
28758         (_IO_sgetn): Likewise.
28759         (_IO_default_xsgetn): Likewise.
28760         (_IO_sync): Likewise.
28761         (_IO_default_setbuf): Likewise.
28762         (_IO_default_seekpos): Likewise.
28763         (_IO_default_doallocate): Likewise.
28764         (_IO_init): Likewise.
28765         (_IO_old_init): Likewise.
28766         (_IO_default_sync): Likewise.
28767         (_IO_default_finish): Likewise.
28768         (_IO_default_seekoff): Likewise.
28769         (_IO_sputbackc): Likewise.
28770         (_IO_sungetc): Likewise.
28771         (_IO_set_column): Likewise.
28772         (_IO_set_column): Likewise.
28773         (_IO_adjust_column): Likewise.
28774         (_IO_get_column): Likewise.
28775         (_IO_init_marker): Likewise.
28776         (_IO_remove_marker): Likewise.
28777         (_IO_marker_difference): Likewise.
28778         (_IO_marker_delta): Likewise.
28779         (_IO_seekmark): Likewise.
28780         (_IO_unsave_markers): Likewise.
28781         (_IO_nobackup_pbackfail): Likewise.
28782         (_IO_default_pbackfail): Likewise.
28783         (_IO_default_seek): Likewise.
28784         (_IO_default_stat): Likewise.
28785         (_IO_default_read): Likewise.
28786         (_IO_default_write): Likewise.
28787         (_IO_default_showmanyc): Likewise.
28788         (_IO_default_imbue): Likewise.
28789         (_IO_iter_next): Likewise.
28790         (_IO_iter_file): Likewise.
28791         * libio/getc.c (_IO_getc): Likewise.
28792         * libio/getwc.c (_IO_getwc): Likewise.
28793         * libio/iofclose.c (_IO_new_fclose): Likewise.
28794         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28795         * libio/iofflush.c (_IO_fflush): Likewise.
28796         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28797         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28798         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28799         * libio/iofgets.c (_IO_fgets): Likewise.
28800         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28801         * libio/iofgetws.c (fgetws): Likewise.
28802         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28803         * libio/iofopen64.c (_IO_fopen64): Likewise.
28804         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28805         (_IO_cookie_write): Likewise.
28806         (_IO_cookie_seek): Likewise.
28807         (_IO_cookie_close): Likewise.
28808         (_IO_cookie_seekoff): Likewise.
28809         (_IO_old_cookie_seek): Likewise.
28810         * libio/iofputs.c (_IO_fputs): Likewise.
28811         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28812         * libio/iofputws.c (fputws): Likewise.
28813         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28814         * libio/iofread.c (_IO_fread): Likewise.
28815         * libio/iofread_u.c (__fread_unlocked): Likewise.
28816         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28817         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28818         * libio/ioftell.c (_IO_ftell): Likewise.
28819         * libio/iofwrite.c (_IO_fwrite): Likewise.
28820         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28821         * libio/iogets.c (_IO_gets): Likewise.
28822         * libio/iopadn.c (_IO_padn): Likewise.
28823         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28824         (_IO_new_popen): Likewise.
28825         (_IO_new_proc_close): Likewise.
28826         * libio/ioputs.c (_IO_puts): Likewise.
28827         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28828         (_IO_seekoff): Likewise.
28829         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28830         (_IO_seekpos): Likewise.
28831         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28832         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28833         * libio/ioungetc.c (_IO_ungetc): Likewise.
28834         * libio/ioungetwc.c (ungetwc): Likewise.
28835         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28836         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28837         * libio/iowpadn.c (_IO_wpadn): Likewise.
28838         * libio/libc_fatal.c (__libc_fatal): Likewise.
28839         * libio/memstream.c (__open_memstream): Likewise.
28840         (_IO_mem_sync): Likewise.
28841         (_IO_mem_finish): Likewise.
28842         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28843         (_IO_old_file_close_it): Likewise.
28844         (_IO_old_file_finish): Likewise.
28845         (_IO_old_file_fopen): Likewise.
28846         (_IO_old_file_attach): Likewise.
28847         (_IO_old_file_setbuf): Likewise.
28848         (_IO_old_do_write): Likewise.
28849         (old_do_write): Likewise.
28850         (_IO_old_file_underflow): Likewise.
28851         (_IO_old_file_overflow): Likewise.
28852         (_IO_old_file_sync): Likewise.
28853         (_IO_old_file_seekoff): Likewise.
28854         (_IO_old_file_write): Likewise.
28855         (_IO_old_file_xsputn): Likewise.
28856         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28857         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28858         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28859         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28860         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28861         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28862         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28863         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28864         (_IO_old_popen): Likewise.
28865         (_IO_old_proc_close): Likewise.
28866         * libio/oldpclose.c (__old_pclose): Likewise.
28867         * libio/pclose.c (__new_pclose): Likewise.
28868         * libio/peekc.c (_IO_peekc_locked): Likewise.
28869         * libio/putc.c (_IO_putc): Likewise.
28870         * libio/putc_u.c (putc_unlocked): Likewise.
28871         * libio/putchar.c (putchar): Likewise.
28872         * libio/putchar_u.c (putchar_unlocked): Likewise.
28873         * libio/putwc.c (putwc): Likewise.
28874         * libio/putwc_u.c (putwc_unlocked): Likewise.
28875         * libio/putwchar.c (putwchar): Likewise.
28876         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28877         * libio/rewind.c (rewind): Likewise.
28878         * libio/setbuf.c (setbuf): Likewise.
28879         * libio/setlinebuf.c (setlinebuf): Likewise.
28880         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28881         * libio/vscanf.c (_IO_vscanf): Likewise.
28882         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28883         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28884         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28885         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28886         (_IO_switch_to_main_wget_area): Likewise.
28887         (_IO_switch_to_wbackup_area): Likewise.
28888         (_IO_wsetb): Likewise.
28889         (_IO_wdefault_pbackfail): Likewise.
28890         (_IO_wdefault_finish): Likewise.
28891         (_IO_wdefault_uflow): Likewise.
28892         (__woverflow): Likewise.
28893         (__wuflow): Likewise.
28894         (__wunderflow): Likewise.
28895         (_IO_wdefault_xsputn): Likewise.
28896         (_IO_wdefault_xsgetn): Likewise.
28897         (_IO_wdoallocbuf): Likewise.
28898         (_IO_wdefault_doallocate): Likewise.
28899         (_IO_switch_to_wget_mode): Likewise.
28900         (_IO_free_wbackup_area): Likewise.
28901         (_IO_switch_to_wput_mode): Likewise.
28902         (_IO_sputbackwc): Likewise.
28903         (_IO_sungetwc): Likewise.
28904         (_IO_adjust_wcolumn): Likewise.
28905         (_IO_init_wmarker): Likewise.
28906         (_IO_wmarker_delta): Likewise.
28907         (_IO_seekwmark): Likewise.
28908         (_IO_unsave_wmarkers): Likewise.
28909         * libio/wmemstream.c (open_wmemstream): Likewise.
28910         (_IO_wmem_sync): Likewise.
28911         (_IO_wmem_finish): Likewise.
28912         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28913         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28914         * locale/programs/simple-hash.c (init_hash): Likewise.
28915         (delete_hash): Likewise.
28916         (insert_entry): Likewise.
28917         (set_entry): Likewise.
28918         (next_prime): Likewise.
28919         (is_prime): Likewise.
28920         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28921         (xmalloc): Likewise.
28922         (xrealloc): Likewise.
28923         * locale/programs/xstrdup.c (xstrdup): Likewise.
28924         * localedata/collate-test.c (xstrcoll): Likewise.
28925         * localedata/xfrm-test.c (xstrcmp): Likewise.
28926         * login/getlogin_r.c (__getlogin_r): Likewise.
28927         * login/getpt.c (__posix_openpt): Likewise.
28928         * login/login_tty.c (login_tty): Likewise.
28929         * login/setlogin.c (setlogin): Likewise.
28930         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28931         (mach_msg_destroy_port): Likewise.
28932         (mach_msg_destroy_memory): Likewise.
28933         * malloc/mcheck.c (flood): Likewise.
28934         * misc/acct.c (acct): Likewise.
28935         * misc/brk.c (__brk): Likewise.
28936         * misc/chflags.c (chflags): Likewise.
28937         * misc/chroot.c (chroot): Likewise.
28938         * misc/fchflags.c (fchflags): Likewise.
28939         * misc/fstab.c (getfsspec): Likewise.
28940         (getfsfile): Likewise.
28941         * misc/fsync.c (fsync): Likewise.
28942         * misc/ftruncate.c (__ftruncate): Likewise.
28943         * misc/ftruncate64.c (__ftruncate64): Likewise.
28944         * misc/getdomain.c (getdomainname): Likewise.
28945         (getdomainname): Likewise.
28946         * misc/gethostname.c (__gethostname): Likewise.
28947         * misc/getpass.c (getpass): Likewise.
28948         * misc/getttyent.c (skip): Likewise.
28949         (value): Likewise.
28950         * misc/gtty.c (gtty): Likewise.
28951         * misc/hsearch.c (hsearch): Likewise.
28952         (hcreate): Likewise.
28953         * misc/hsearch_r.c (__hcreate_r): Likewise.
28954         (__hdestroy_r): Likewise.
28955         * misc/ioctl.c (__ioctl): Likewise.
28956         * misc/mkdtemp.c (mkdtemp): Likewise.
28957         * misc/mkostemp.c (mkostemp): Likewise.
28958         * misc/mkostemp64.c (mkostemp64): Likewise.
28959         * misc/mkostemps.c (mkostemps): Likewise.
28960         * misc/mkostemps64.c (mkostemps64): Likewise.
28961         * misc/mkstemp.c (mkstemp): Likewise.
28962         * misc/mkstemp64.c (mkstemp64): Likewise.
28963         * misc/mkstemps.c (mkstemps): Likewise.
28964         * misc/mkstemps64.c (mkstemps64): Likewise.
28965         * misc/mktemp.c (__mktemp): Likewise.
28966         * misc/preadv.c (preadv): Likewise.
28967         * misc/preadv64.c (preadv64): Likewise.
28968         * misc/pwritev.c (pwritev): Likewise.
28969         * misc/pwritev64.c (pwritev64): Likewise.
28970         * misc/readv.c (__readv): Likewise.
28971         * misc/revoke.c (revoke): Likewise.
28972         * misc/setdomain.c (setdomainname): Likewise.
28973         * misc/setegid.c (setegid): Likewise.
28974         * misc/seteuid.c (seteuid): Likewise.
28975         * misc/sethostid.c (sethostid): Likewise.
28976         * misc/sethostname.c (sethostname): Likewise.
28977         * misc/setregid.c (__setregid): Likewise.
28978         * misc/setreuid.c (__setreuid): Likewise.
28979         * misc/sstk.c (sstk): Likewise.
28980         * misc/stty.c (stty): Likewise.
28981         * misc/syscall.c (syscall): Likewise.
28982         * misc/syslog.c (setlogmask): Likewise.
28983         * misc/truncate.c (__truncate): Likewise.
28984         * misc/truncate64.c (truncate64): Likewise.
28985         * misc/ualarm.c (ualarm): Likewise.
28986         * misc/usleep.c (usleep): Likewise.
28987         * misc/ustat.c (ustat): Likewise.
28988         * misc/writev.c (__writev): Likewise.
28989         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28990         * nptl/old_pthread_cond_broadcast.c
28991         (__pthread_cond_broadcast_2_0): Likewise.
28992         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28993         Likewise.
28994         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28995         Likewise.
28996         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28997         Likewise.
28998         * nptl/pt-raise.c (raise): Likewise.
28999         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
29000         Likewise.
29001         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
29002         * nptl/pthread_barrierattr_destroy.c
29003         (pthread_barrierattr_destroy): Likewise.
29004         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29005         Likewise.
29006         * nptl/pthread_barrierattr_setpshared.c
29007         (pthread_barrierattr_setpshared): Likewise.
29008         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29009         Likewise.
29010         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
29011         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29012         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
29013         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
29014         Likewise.
29015         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
29016         Likewise.
29017         * nptl/pthread_condattr_getpshared.c
29018         (pthread_condattr_getpshared): Likewise.
29019         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
29020         Likewise.
29021         * nptl/pthread_condattr_setpshared.c
29022         (pthread_condattr_setpshared): Likewise.
29023         * nptl/pthread_detach.c (pthread_detach): Likewise.
29024         * nptl/pthread_equal.c (__pthread_equal): Likewise.
29025         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
29026         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
29027         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
29028         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
29029         Likewise.
29030         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
29031         Likewise.
29032         * nptl/pthread_mutex_getprioceiling.c
29033         (pthread_mutex_getprioceiling): Likewise.
29034         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
29035         Likewise.
29036         * nptl/pthread_mutexattr_getprotocol.c
29037         (pthread_mutexattr_getprotocol): Likewise.
29038         * nptl/pthread_mutexattr_getpshared.c
29039         (pthread_mutexattr_getpshared): Likewise.
29040         * nptl/pthread_mutexattr_getrobust.c
29041         (pthread_mutexattr_getrobust): Likewise.
29042         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29043         Likewise.
29044         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
29045         Likewise.
29046         * nptl/pthread_mutexattr_setprioceiling.c
29047         (pthread_mutexattr_setprioceiling): Likewise.
29048         * nptl/pthread_mutexattr_setprotocol.c
29049         (pthread_mutexattr_setprotocol): Likewise.
29050         * nptl/pthread_mutexattr_setpshared.c
29051         (pthread_mutexattr_setpshared): Likewise.
29052         * nptl/pthread_mutexattr_setrobust.c
29053         (pthread_mutexattr_setrobust): Likewise.
29054         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
29055         Likewise.
29056         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
29057         Likewise.
29058         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
29059         Likewise.
29060         * nptl/pthread_rwlockattr_getkind_np.c
29061         (pthread_rwlockattr_getkind_np): Likewise.
29062         * nptl/pthread_rwlockattr_getpshared.c
29063         (pthread_rwlockattr_getpshared): Likewise.
29064         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
29065         Likewise.
29066         * nptl/pthread_rwlockattr_setkind_np.c
29067         (pthread_rwlockattr_setkind_np): Likewise.
29068         * nptl/pthread_rwlockattr_setpshared.c
29069         (pthread_rwlockattr_setpshared): Likewise.
29070         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
29071         Likewise.
29072         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
29073         Likewise.
29074         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
29075         Likewise.
29076         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
29077         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
29078         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
29079         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
29080         * nptl/sem_close.c (sem_close): Likewise.
29081         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
29082         * nptl/sem_init.c (__old_sem_init): Likewise.
29083         * nptl/sigaction.c (__sigaction): Likewise.
29084         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29085         * posix/_exit.c (_exit): Likewise.
29086         * posix/alarm.c (alarm): Likewise.
29087         * posix/confstr.c (confstr): Likewise.
29088         * posix/fpathconf.c (__fpathconf): Likewise.
29089         * posix/getgroups.c (__getgroups): Likewise.
29090         * posix/getpgid.c (__getpgid): Likewise.
29091         * posix/group_member.c (__group_member): Likewise.
29092         * posix/pathconf.c (__pathconf): Likewise.
29093         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
29094         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
29095         * posix/setgid.c (__setgid): Likewise.
29096         * posix/setpgid.c (__setpgid): Likewise.
29097         * posix/setuid.c (__setuid): Likewise.
29098         * posix/sleep.c (__sleep): Likewise.
29099         * posix/sysconf.c (__sysconf): Likewise.
29100         * posix/times.c (__times): Likewise.
29101         * posix/uname.c (__uname): Likewise.
29102         * posix/waitid.c (__waitid): Likewise.
29103         * pwd/getpw.c (__getpw): Likewise.
29104         * resolv/base64.c (b64_pton): Likewise.
29105         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29106         * resolv/gethnamaddr.c (Dprintf): Likewise.
29107         (gethostbyname): Likewise.
29108         (gethostbyname2): Likewise.
29109         (gethostbyaddr): Likewise.
29110         (_sethtent): Likewise.
29111         (_gethtbyname): Likewise.
29112         (_gethtbyname2): Likewise.
29113         (_gethtbyaddr): Likewise.
29114         (map_v4v6_address): Likewise.
29115         (map_v4v6_hostent): Likewise.
29116         (addrsort): Likewise.
29117         (ht_sethostent): Likewise.
29118         (ht_gethostbyname): Likewise.
29119         (ht_gethostbyaddr): Likewise.
29120         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
29121         (inet_net_ntop_ipv4): Likewise.
29122         * resolv/inet_neta.c (inet_neta): Likewise.
29123         * resolv/inet_ntop.c (inet_ntop): Likewise.
29124         (inet_ntop4): Likewise.
29125         (inet_ntop6): Likewise.
29126         * resolv/inet_pton.c (__inet_pton): Likewise.
29127         (inet_pton4): Likewise.
29128         (inet_pton6): Likewise.
29129         * resolv/res_debug.c (loc_aton): Likewise.
29130         (loc_ntoa): Likewise.
29131         * resource/getpriority.c (__getpriority): Likewise.
29132         * resource/getrusage.c (__getrusage): Likewise.
29133         * resource/nice.c (nice): Likewise.
29134         * resource/setpriority.c (__setpriority): Likewise.
29135         * resource/setrlimit64.c (setrlimit64): Likewise.
29136         * resource/vlimit.c (vlimit): Likewise.
29137         * resource/vtimes.c (vtimes): Likewise.
29138         * rt/aio_error.c (aio_error): Likewise.
29139         * rt/aio_return.c (aio_return): Likewise.
29140         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
29141         * signal/kill.c (__kill): Likewise.
29142         * signal/killpg.c (killpg): Likewise.
29143         * signal/raise.c (raise): Likewise.
29144         * signal/sigaction.c (__sigaction): Likewise.
29145         * signal/sigaddset.c (sigaddset): Likewise.
29146         * signal/sigaltstack.c (sigaltstack): Likewise.
29147         * signal/sigandset.c (sigandset): Likewise.
29148         * signal/sigblock.c (__sigblock): Likewise.
29149         * signal/sigdelset.c (sigdelset): Likewise.
29150         * signal/sigempty.c (sigemptyset): Likewise.
29151         * signal/sigfillset.c (sigfillset): Likewise.
29152         * signal/sighold.c (sighold): Likewise.
29153         * signal/sigignore.c (sigignore): Likewise.
29154         * signal/sigintr.c (siginterrupt): Likewise.
29155         * signal/sigisempty.c (sigisemptyset): Likewise.
29156         * signal/sigismem.c (sigismember): Likewise.
29157         * signal/signal.c (signal): Likewise.
29158         * signal/sigorset.c (sigorset): Likewise.
29159         * signal/sigpause.c (__sigpause): Likewise.
29160         * signal/sigpending.c (sigpending): Likewise.
29161         * signal/sigprocmask.c (__sigprocmask): Likewise.
29162         * signal/sigrelse.c (sigrelse): Likewise.
29163         * signal/sigreturn.c (__sigreturn): Likewise.
29164         * signal/sigset.c (sigset): Likewise.
29165         * signal/sigsetmask.c (__sigsetmask): Likewise.
29166         * signal/sigstack.c (sigstack): Likewise.
29167         * signal/sigsuspend.c (__sigsuspend): Likewise.
29168         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29169         * signal/sysv_signal.c (__sysv_signal): Likewise.
29170         * socket/accept.c (accept): Likewise.
29171         * socket/accept4.c (__libc_accept4): Likewise.
29172         * socket/bind.c (__bind): Likewise.
29173         * socket/connect.c (__connect): Likewise.
29174         * socket/getpeername.c (getpeername): Likewise.
29175         * socket/getsockname.c (__getsockname): Likewise.
29176         * socket/getsockopt.c (getsockopt): Likewise.
29177         * socket/listen.c (__listen): Likewise.
29178         * socket/recv.c (__recv): Likewise.
29179         * socket/recvmsg.c (__recvmsg): Likewise.
29180         * socket/send.c (__send): Likewise.
29181         * socket/sendmsg.c (__sendmsg): Likewise.
29182         * socket/shutdown.c (shutdown): Likewise.
29183         * socket/sockatmark.c (sockatmark): Likewise.
29184         * socket/socket.c (__socket): Likewise.
29185         * stdio-common/ctermid.c (ctermid): Likewise.
29186         * stdio-common/cuserid.c (cuserid): Likewise.
29187         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29188         * stdio-common/remove.c (remove): Likewise.
29189         * stdio-common/rename.c (rename): Likewise.
29190         * stdio-common/renameat.c (renameat): Likewise.
29191         * stdio-common/tempname.c (__gen_tempname): Likewise.
29192         * stdio-common/xbug.c (InitBuffer): Likewise.
29193         (AppendToBuffer): Likewise.
29194         (ReadFile): Likewise.
29195         * stdlib/a64l.c (a64l): Likewise.
29196         * stdlib/drand48_r.c (drand48_r): Likewise.
29197         * stdlib/getcontext.c (getcontext): Likewise.
29198         * stdlib/getenv.c (getenv): Likewise.
29199         * stdlib/l64a.c (l64a): Likewise.
29200         * stdlib/llabs.c (llabs): Likewise.
29201         * stdlib/lldiv.c (lldiv): Likewise.
29202         * stdlib/lrand48_r.c (lrand48_r): Likewise.
29203         * stdlib/mrand48_r.c (mrand48_r): Likewise.
29204         * stdlib/putenv.c (putenv): Likewise.
29205         * stdlib/random.c (__srandom): Likewise.
29206         (__initstate): Likewise.
29207         (__setstate): Likewise.
29208         * stdlib/random_r.c (__srandom_r): Likewise.
29209         (__setstate_r): Likewise.
29210         (__random_r): Likewise.
29211         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29212         * stdlib/setcontext.c (setcontext): Likewise.
29213         * stdlib/setenv.c (setenv): Likewise.
29214         (unsetenv): Likewise.
29215         * stdlib/srand48.c (srand48): Likewise.
29216         * stdlib/srand48_r.c (__srand48_r): Likewise.
29217         * stdlib/swapcontext.c (swapcontext): Likewise.
29218         * stdlib/system.c (__libc_system): Likewise.
29219         * stdlib/tst-strtod.c (expand): Likewise.
29220         * stdlib/tst-strtol.c (expand): Likewise.
29221         * stdlib/tst-strtoll.c (expand): Likewise.
29222         * streams/fattach.c (fattach): Likewise.
29223         * streams/fdetach.c (fdetach): Likewise.
29224         * streams/getmsg.c (getmsg): Likewise.
29225         * streams/isastream.c (isastream): Likewise.
29226         * string/ffs.c (__ffs): Likewise.
29227         * string/ffsll.c (ffsll): Likewise.
29228         * string/memcmp.c (memcmp_common_alignment): Likewise.
29229         (memcmp_not_common_alignment): Likewise.
29230         (MEMCMP): Likewise.
29231         * string/memcpy.c (memcpy): Likewise.
29232         * string/memmove.c (MEMMOVE): Likewise.
29233         * string/memset.c (memset): Likewise.
29234         * string/rawmemchr.c (RAWMEMCHR): Likewise.
29235         * string/strchrnul.c (STRCHRNUL): Likewise.
29236         * string/strerror.c (strerror): Likewise.
29237         * string/strndup.c (__strndup): Likewise.
29238         * string/strverscmp.c (__strverscmp): Likewise.
29239         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29240         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29241         (clnttcp_freeres): Likewise.
29242         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29243         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29244         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29245         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29246         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29247         (xdr_callhdr): Likewise.
29248         * sunrpc/rpcinfo.c (udpping): Likewise.
29249         (tcpping): Likewise.
29250         (pstatus): Likewise.
29251         (pmapdump): Likewise.
29252         (brdcst): Likewise.
29253         (deletereg): Likewise.
29254         (getprognum): Likewise.
29255         (getvers): Likewise.
29256         (get_inet_address): Likewise.
29257         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29258         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29259         (svcudp_stat): Likewise.
29260         (svcudp_recv): Likewise.
29261         (svcudp_reply): Likewise.
29262         (svcudp_getargs): Likewise.
29263         (svcudp_freeargs): Likewise.
29264         (svcudp_destroy): Likewise.
29265         * sunrpc/xdr.c (xdr_bytes): Likewise.
29266         (xdr_netobj): Likewise.
29267         (xdr_string): Likewise.
29268         (xdr_wrapstring): Likewise.
29269         * sunrpc/xdr_float.c (xdr_float): Likewise.
29270         (xdr_double): Likewise.
29271         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29272         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29273         * sysvipc/ftok.c (ftok): Likewise.
29274         * sysvipc/msgctl.c (msgctl): Likewise.
29275         * sysvipc/msgget.c (msgget): Likewise.
29276         * sysvipc/msgrcv.c (msgrcv): Likewise.
29277         * sysvipc/msgsnd.c (msgsnd): Likewise.
29278         * sysvipc/semget.c (semget): Likewise.
29279         * sysvipc/semop.c (semop): Likewise.
29280         * sysvipc/shmat.c (shmat): Likewise.
29281         * sysvipc/shmctl.c (shmctl): Likewise.
29282         * sysvipc/shmdt.c (shmdt): Likewise.
29283         * sysvipc/shmget.c (shmget): Likewise.
29284         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29285         * termios/speed.c (cfgetospeed): Likewise.
29286         (cfgetispeed): Likewise.
29287         (cfsetospeed): Likewise.
29288         (cfsetispeed): Likewise.
29289         * termios/tcflow.c (tcflow): Likewise.
29290         * termios/tcflush.c (tcflush): Likewise.
29291         * termios/tcgetattr.c (__tcgetattr): Likewise.
29292         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29293         * termios/tcgetsid.c (tcgetsid): Likewise.
29294         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29295         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29296         * time/adjtime.c (__adjtime): Likewise.
29297         * time/dysize.c (dysize): Likewise.
29298         * time/ftime.c (ftime): Likewise.
29299         * time/getitimer.c (__getitimer): Likewise.
29300         * time/gettimeofday.c (__gettimeofday): Likewise.
29301         * time/gmtime.c (__gmtime_r): Likewise.
29302         (gmtime): Likewise.
29303         * time/localtime.c (__localtime_r): Likewise.
29304         (localtime): Likewise.
29305         * time/offtime.c (__offtime): Likewise.
29306         * time/settimeofday.c (__settimeofday): Likewise.
29307         * time/stime.c (stime): Likewise.
29308         * time/strftime_l.c (tm_diff): Likewise.
29309         (iso_week_days): Likewise.
29310         * time/strptime.c (strptime): Likewise.
29311         * time/time.c (time): Likewise.
29312         * time/timespec_get.c (timespec_get): Likewise.
29313         * time/tzset.c (tzset_internal): Likewise.
29314         (compute_change): Likewise.
29315         (__tz_compute): Likewise.
29316         * wcsmbs/btowc.c (__btowc): Likewise.
29317         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29318         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29319         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29320         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29321         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29322         * wcsmbs/wcscat.c (__wcscat): Likewise.
29323         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29324         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29325         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29326         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29327         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29328         * wcsmbs/wcslen.c (__wcslen): Likewise.
29329         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29330         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29331         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29332         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29333         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29334         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29335         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29336         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29337         * wcsmbs/wcstok.c (wcstok): Likewise.
29338         * wcsmbs/wctob.c (wctob): Likewise.
29339         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29340         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29341         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29342         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29343         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29344         * wcsmbs/wmemset.c (__wmemset): Likewise.
29345         * wctype/wcfuncs.c (__towlower): Likewise.
29346         (__towupper): Likewise.
29348         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29349         (lll_unlock_elision): Add adapt_count parameter.
29351 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29353         * sysdeps/nptl/configure.ac: Do not give errors based on the
29354         results of top-level configure tests.
29355         * sysdeps/nptl/configure: Regenerated.
29357         * configure.ac (libc_cv_Bgroup): Remove configure test.
29358         * configure: Regenerated.
29359         * config.make.in (have-Bgroup): Remove variable.
29361         * configure.ac (sizeof_long_double): Remove configure test.
29362         * configure: Regenerated.
29363         * config.make.in (sizeof-long-double): Remove variable.
29365         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29366         * configure: Regenerated.
29367         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29368         variable.
29369         (exceptions): Likewise.
29370         * sysdeps/arm/configure: Regenerated.
29371         * config.make.in (exceptions): Remove variable.
29372         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29373         $(exceptions).
29374         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29375         (CFLAGS-vdprintf_chk.c): Likewise.
29376         (CFLAGS-printf_chk.c): Likewise.
29377         (CFLAGS-fprintf_chk.c): Likewise.
29378         (CFLAGS-vprintf_chk.c): Likewise.
29379         (CFLAGS-vfprintf_chk.c): Likewise.
29380         (CFLAGS-gets_chk.c): Likewise.
29381         (CFLAGS-fgets_chk.c): Likewise.
29382         (CFLAGS-fgets_u_chk.c): Likewise.
29383         (CFLAGS-fread_chk.c): Likewise.
29384         (CFLAGS-fread_u_chk.c): Likewise.
29385         (CFLAGS-wprintf_chk.c): Likewise.
29386         (CFLAGS-fwprintf_chk.c): Likewise.
29387         (CFLAGS-vwprintf_chk.c): Likewise.
29388         (CFLAGS-vfwprintf_chk.c): Likewise.
29389         (CFLAGS-fgetws_chk.c): Likewise.
29390         (CFLAGS-fgetws_u_chk.c): Likewise.
29391         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29392         (CFLAGS-fputc.c): Likewise.
29393         (CFLAGS-fputwc.c): Likewise.
29394         (CFLAGS-freopen64.c): Likewise.
29395         (CFLAGS-freopen.c): Likewise.
29396         (CFLAGS-fseek.c): Likewise.
29397         (CFLAGS-fseeko64.c): Likewise.
29398         (CFLAGS-fseeko.c): Likewise.
29399         (CFLAGS-ftello64.c): Likewise.
29400         (CFLAGS-ftello.c): Likewise.
29401         (CFLAGS-fwide.c): Likewise.
29402         (CFLAGS-genops.c): Likewise.
29403         (CFLAGS-getc.c): Likewise.
29404         (CFLAGS-getchar.c): Likewise.
29405         (CFLAGS-getwc.c): Likewise.
29406         (CFLAGS-getwchar.c): Likewise.
29407         (CFLAGS-iofclose.c): Likewise.
29408         (CFLAGS-iofflush.c): Likewise.
29409         (CFLAGS-iofgetpos64.c): Likewise.
29410         (CFLAGS-iofgetpos.c): Likewise.
29411         (CFLAGS-iofgets.c): Likewise.
29412         (CFLAGS-iofgetws.c): Likewise.
29413         (CFLAGS-iofputs.c): Likewise.
29414         (CFLAGS-iofputws.c): Likewise.
29415         (CFLAGS-iofread.c): Likewise.
29416         (CFLAGS-iofsetpos64.c): Likewise.
29417         (CFLAGS-iofsetpos.c): Likewise.
29418         (CFLAGS-ioftell.c): Likewise.
29419         (CFLAGS-iofwrite.c): Likewise.
29420         (CFLAGS-iogetdelim.c): Likewise.
29421         (CFLAGS-iogetline.c): Likewise.
29422         (CFLAGS-iogets.c): Likewise.
29423         (CFLAGS-iogetwline.c): Likewise.
29424         (CFLAGS-ioputs.c): Likewise.
29425         (CFLAGS-ioseekoff.c): Likewise.
29426         (CFLAGS-ioseekpos.c): Likewise.
29427         (CFLAGS-iosetbuffer.c): Likewise.
29428         (CFLAGS-iosetvbuf.c): Likewise.
29429         (CFLAGS-ioungetc.c): Likewise.
29430         (CFLAGS-ioungetwc.c): Likewise.
29431         (CFLAGS-oldfileops.c): Likewise.
29432         (CFLAGS-oldiofclose.c): Likewise.
29433         (CFLAGS-oldiofgetpos64.c): Likewise.
29434         (CFLAGS-oldiofgetpos.c): Likewise.
29435         (CFLAGS-oldiofsetpos64.c): Likewise.
29436         (CFLAGS-oldiofsetpos.c): Likewise.
29437         (CFLAGS-peekc.c): Likewise.
29438         (CFLAGS-putc.c): Likewise.
29439         (CFLAGS-putchar.c): Likewise.
29440         (CFLAGS-putwc.c): Likewise.
29441         (CFLAGS-putwchar.c): Likewise.
29442         (CFLAGS-rewind.c): Likewise.
29443         (CFLAGS-wfileops.c): Likewise.
29444         (CFLAGS-wgenops.c): Likewise.
29445         (CFLAGS-oldiofopen.c): Likewise.
29446         (CFLAGS-iofopen.c): Likewise.
29447         (CFLAGS-iofopen64.c): Likewise.
29448         (CFLAGS-oldtmpfile.c): Likewise.
29449         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29450         (CFLAGS-fprintf.c): Likewise.
29451         (CFLAGS-printf.c): Likewise.
29452         (CFLAGS-vfwprintf.c): Likewise.
29453         (CFLAGS-vfscanf.c): Likewise.
29454         (CFLAGS-vfwscanf.c): Likewise.
29455         (CFLAGS-fscanf.c): Likewise.
29456         (CFLAGS-scanf.c): Likewise.
29457         (CFLAGS-isoc99_vfscanf.c): Likewise.
29458         (CFLAGS-isoc99_vscanf.c): Likewise.
29459         (CFLAGS-isoc99_fscanf.c): Likewise.
29460         (CFLAGS-isoc99_scanf.c): Likewise.
29461         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29462         (CFLAGS-isoc99_fwscanf.c): Likewise.
29463         (CFLAGS-isoc99_vwscanf.c): Likewise.
29464         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29466         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29467         after mkstemp64.
29468         * login/tst-utmp.c (do_prepare): Likewise.
29469         * rt/tst-aio.c (do_prepare): Likewise.
29470         * rt/tst-aio64.c (do_prepare): Likewise.
29472 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29474         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29475         (__lll_lock_elision): Remove adapt_count decrement...
29476         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29477         (__lll_trylock_elision): Likewise.
29478         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29479         (__lll_unlock_elision): ... to here. And utilize
29480         new adapt_count parameter.
29481         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29482         (__lll_unlock_elision): Update to include adapt_count
29483         parameter.
29484         (lll_unlock_elision): Pass pointer to adapt_count
29485         variable.
29487 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29489         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29490         Add elision adapt_count parameter to list of arguments.
29491         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29492         (lll_unlock_elision): Update with new parameter list
29493         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29494         (lll_unlock_elision): Likewise.
29495         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29496         (lll_unlock_elision): Likewise.
29498 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29500         [BZ #19122]
29501         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29502         attribute_hidden.
29504         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29505         attribute_hidden.
29506         [IS_IN (rtld)] (__strdup): Likewise.
29507         [IS_IN (rtld)] (__strerror_r): Likewise.
29508         [IS_IN (rtld)] (__strsep_g): Likewise.
29509         [IS_IN (rtld)] (memchr): Likewise.
29510         [IS_IN (rtld)] (memcmp): Likewise.
29511         [IS_IN (rtld)] (memcpy): Likewise.
29512         [IS_IN (rtld)] (memmove): Likewise.
29513         [IS_IN (rtld)] (memset): Likewise.
29514         [IS_IN (rtld)] (rawmemchr): Likewise.
29515         [IS_IN (rtld)] (stpcpy): Likewise.
29516         [IS_IN (rtld)] (strchr): Likewise.
29517         [IS_IN (rtld)] (strcmp): Likewise.
29518         [IS_IN (rtld)] (strlen): Likewise.
29519         [IS_IN (rtld)] (strnlen): Likewise.
29520         [IS_IN (rtld)] (strsep): Likewise.
29522         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29523         attribute_hidden.
29524         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29526         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29527         attribute_hidden.
29528         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29530         * include/setjmp.h (__longjmp): Add attribute_hidden.
29531         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29533         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29534         Add attribute_hidden.
29536         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29537         [IS_IN (rtld)] (__open): Likewise.
29538         [IS_IN (rtld)] (__fcntl): Likewise.
29540         * include/dirent.h (__opendirat): Add attribute_hidden.
29541         (__getdents): Likewise.
29542         (__getdents64): Likewise.
29543         (__alloc_dir): Likewise.
29544         [IS_IN (rtld)] (__closedir): Likewise.
29545         [IS_IN (rtld)] (__fdopendir): Likewise.
29546         [IS_IN (rtld)] (__readdir): Likewise.
29547         [IS_IN (rtld)] (__readdir64): Likewise.
29548         [IS_IN (rtld)] (__rewinddir): Likewise.
29550         * include/dlfcn.h (_dl_catch_error): Moved to ...
29551         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29552         attribute_hidden.
29554         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29555         (_itoa_word): Likewise.
29557         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29558         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29559         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29560         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29561         (_dl_higher_prime_number): Likewise.
29562         (_dl_debug_printf_c): Likewise.
29563         (_dl_signal_cerror): Likewise.
29564         (_dl_receive_error): Likewise.
29565         (_dl_reloc_bad_type): Likewise.
29566         (_dl_resolve_conflicts): Likewise.
29567         (_dl_check_all_versions): Likewise.
29568         (_dl_check_map_versions): Likewise.
29569         (_dl_sort_fini): Likewise.
29570         (_dl_debug_initialize): Likewise.
29571         (_dl_init_paths): Likewise.
29572         (_dl_show_auxv): Likewise.
29573         (_dl_next_ld_env_entry): Likewise.
29574         (_dl_important_hwcaps): Likewise.
29575         (_dl_load_cache_lookup): Likewise.
29576         (_dl_update_slotinfo): Likewise.
29577         (_dl_show_scope): Likewise.
29579         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29580         attribute_hidden.
29581         (_wordcopy_fwd_dest_aligned): Likewise.
29582         (_wordcopy_bwd_aligned): Likewise.
29583         (_wordcopy_bwd_dest_aligned): Likewise.
29585         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29586         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29587         Likewise.
29588         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29589         Likewise.
29590         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29592 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29595         GCC 5 requirement.
29597 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29599         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29600         test.
29601         * sysdeps/i386/configure: Regenerated.
29602         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29603         code unconditional.
29605         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29606         test.
29607         (libc_cv_asm_popsection_directive): Likewise.
29608         * configure: Regenerated.
29609         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29610         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29611         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29612         (__make_section_unallocated): Make definition unconditional.
29613         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29614         Remove conditional definition.
29615         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29616         (__make_section_unallocated): Likewise.
29618         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29619         * configure: Regenerated.
29620         * config.make.in (static-libgcc): Remove variable.
29621         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29622         $(static-libgcc).
29623         (build-module-helper): Likewise.
29625         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29626         * configure: Regenerated.
29628 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29630         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29631         (struct char_buffer): New type.
29632         (char_buffer_start, char_buffer_size, char_buffer_error)
29633         (char_buffer_rewind, char_buffer_add): New functions.
29634         (ADDW): Remove macro, replaced by the char_buffer_add function.
29635         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29636         of extend_alloca.  Make control flow more explicit.
29638 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29640         [BZ #19137]
29641         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29642         Add -fomit-frame-pointer.
29643         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29645 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29647         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29648         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29649         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29650         only if !__GNUC_PREREQ (5,0).
29651         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29652         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29653         (INTERNAL_SYSCALL_NCS): Likewise.
29654         (LOADREGS_0): New macro for GCC 5.
29655         (ASMARGS_0): Likewise.
29656         (LOADREGS_1): Likewise.
29657         (ASMARGS_1): Likewise.
29658         (LOADREGS_2): Likewise.
29659         (ASMARGS_2): Likewise.
29660         (LOADREGS_3): Likewise.
29661         (ASMARGS_3): Likewise.
29662         (LOADREGS_4): Likewise.
29663         (ASMARGS_4): Likewise.
29664         (LOADREGS_5): Likewise.
29665         (ASMARGS_5): Likewise.
29666         (LOADREGS_6): Likewise.
29667         (ASMARGS_6): Likewise.
29669 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29671         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29672         -fomit-frame-pointer.
29673         (CFLAGS-mmap64.c): Likewise.
29674         (CFLAGS-semtimedop.c): Likewise.
29675         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29676         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29677         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29678         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29680 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29682         [BZ #18928]
29683         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29684         _dl_pointer_guard member.
29685         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29686         initializer.
29687         (security_init): Always set up pointer guard.
29688         (process_envvars): Do not process LD_POINTER_GUARD.
29690 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29692         [BZ #19134]
29693         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29694         (.LC2): Likewise.
29695         (.LC3): Likewise.
29696         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29698 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29700         [BZ #19129]
29701         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29702         r0 and r1.
29704 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29706         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29708 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29710         * include/stap-probe.h: Fix macro definition formatting.
29712 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29714         [BZ #19074]
29715         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29716         load and store num_ifs.
29718 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29720         [BZ #18822]
29721         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29722         (__sched_getaffinity_new): Add libc_hidden_proto and
29723         libc_hidden_def.
29725 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29727         [BZ #19007]
29728         * scripts/localplt.awk: Also allow GOT references.
29729         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29730         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29731         with "+ REL R_386_GLOB_DAT".
29732         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29733         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29735 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29737         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29738         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29739         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29740         Likewise.
29741         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29742         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29743         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29744         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29745         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29746         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29747         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29748         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29749         Likewise.
29750         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29752 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29754         [BZ #19125]
29755         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29756         <math_private.h> and <stdint.h>.
29757         (__llround): Avoid conversions to and from long long int, and
29758         subtractions, where those might raise spurious exceptions.
29759         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29760         <math_private.h> and <stdint.h>.
29761         (__llroundf): Avoid conversions to and from long long int, and
29762         subtractions, where those might raise spurious exceptions.
29764 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29766         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29767         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29768         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29769         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29770         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29771         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29772         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29773         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29774         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29775         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29776         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29777         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29778         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29779         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29780         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29781         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29782         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29783         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29784         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29785         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29786         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29787         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29788         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29789         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29790         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29791         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29792         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29793         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29794         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29795         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29796         (__xstat64_conv): Likewise.
29797         (__xstat32_conv): Likewise.
29799 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29801         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29802         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29803         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29804         <sysdeps/unix/sysv/linux/sysdep.h>.
29805         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29806         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29807         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29808         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29809         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29810         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29811         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29812         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29813         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29816         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29817         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29818         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29819         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29820         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29821         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29822         (sysdep-dl-routines): Add sysdep.
29823         [$(subdir) == nptl] (libpthread-routines): Likewise.
29824         [$(subdir) == rt] (librt-routines): Likewise.
29825         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29826         PIC when branching to SYSCALL_ERROR_LABEL.
29827         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29828         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29829         <sysdeps/unix/sysv/linux/sysdep.h>.
29830         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29831         (SYSCALL_ERROR_ERRNO): Removed.
29832         (SYSCALL_ERROR_HANDLER): Changed to empty.
29833         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29834         (__syscall_error): New prototype.
29835         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29836         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29838 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29840         [BZ #19124]
29841         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29842         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29843         _dl_runtime_resolve_avx.
29844         (_dl_runtime_profile_avx512): Make it a hidden alias of
29845         _dl_runtime_profile_avx.
29847 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29849         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29850         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29851         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29852         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29854         [BZ #16422]
29855         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29856         New configure test.
29857         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29858         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29859         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29860         <math_private.h> and <stdint.h>.
29861         (__llrint): Avoid conversions to long long int where those might
29862         raise spurious exceptions.
29863         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29864         <math_private.h> and <stdint.h>.
29865         (__llrintf): Avoid conversions to long long int where those might
29866         raise spurious exceptions.
29868 2015-10-12  Andreas Schwab  <schwab@suse.de>
29870         [BZ #18969]
29871         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29872         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29873         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29874         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29875         $(gen-locales).
29876         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29877         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29878         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29879         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29880         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29881         $(gen-locales).
29882         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29883         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29884         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29885         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29886         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29887         ($(objpfx)tst-ftell-active-handler.out)
29888         ($(objpfx)tst-ftell-append.out)
29889         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29890         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29891         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29892         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29893         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29894         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29895         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29896         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29897         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29898         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29899         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29900         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29901         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29902         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29903         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29904         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29905         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29906         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29907         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29908         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29909         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29910         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29911         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29912         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29913         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29914         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29915         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29916         $(gen-locales).
29917         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29918         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29919         $(gen-locales).
29920         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29921         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29922         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29923         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29924         $(gen-locales).
29925         * libio/tst_wprintf2.c (main): Use explicit locale.
29926         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29928 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29930         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29931         __msg_sig_post.
29932         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29934 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29936         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29937         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29939         * sysdeps/arm/libm-test-ulps: Regenerated.
29941         [BZ #15470]
29942         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29944         [BZ #16399]
29945         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29946         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29947         and <fix-fp-int-convert-overflow.h>.
29948         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29949         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29950         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29951         and <fix-fp-int-convert-overflow.h>.
29952         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29953         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29954         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29955         <fix-fp-int-convert-overflow.h>.
29956         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29957         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29958         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29959         <fix-fp-int-convert-overflow.h>.
29960         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29961         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29962         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29963         and <fix-fp-int-convert-overflow.h>.
29964         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29965         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29966         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29967         <limits.h> and <fix-fp-int-convert-overflow.h>.
29968         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29969         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29970         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29971         and <fix-fp-int-convert-overflow.h>.
29972         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29973         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29974         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29975         and <fix-fp-int-convert-overflow.h>.
29976         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29977         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29978         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29980 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29982         [BZ #18589]
29983         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29984         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29985         $(gen-locales).
29987 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29988             Phil Blundell <pb@pbcl.net>
29990         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29991         * nptl/tst-cancel26.c: New file.
29992         * nptl/tst-cancel27.c: Likewise.
29994 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29996         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29997         __ILP32__ isn't defined.
29998         (lrint): Likewise.
29999         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
30000         (lrintf): Likewise.
30001         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
30002         (lrintl): Likewise.
30003         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
30004         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
30005         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
30007 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30009         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
30010         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
30012         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
30013         file.
30014         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
30015         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
30017 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
30019         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
30020         configure test.
30021         * sysdeps/i386/configure: Regenerated.
30022         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
30023         configure test.
30024         * sysdeps/x86_64/configure: Regenerated.
30025         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
30026         Make code unconditional.
30028         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
30029         test.
30030         * sysdeps/i386/configure: Regenerated.
30031         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
30032         test.
30033         * sysdeps/x86_64/configure: Regenerated.
30034         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
30035         Make code unconditional.
30036         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30037         Likewise.
30038         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
30039         Likewise.
30040         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30041         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
30042         code unconditional.
30043         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30044         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
30045         code unconditional.
30046         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30047         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
30048         code unconditional.
30049         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
30050         code unconditional.
30051         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30052         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
30053         code unconditional.
30054         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30055         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
30056         code unconditional.
30057         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30058         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
30059         code unconditional.
30060         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30061         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
30062         code unconditional.
30063         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30064         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
30066         [BZ #19095]
30067         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
30068         mantissa to long int before shifting left.
30070 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
30072         [BZ #19094]
30073         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
30074         <limits.h>.
30075         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30076         when result overflows but exception would not result from cast.
30077         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
30078         <limits.h>.
30079         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30080         when result overflows but exception would not result from cast.
30081         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
30082         <limits.h>.
30083         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30084         when result overflows but exception would not result from cast.
30085         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
30086         <limits.h>.
30087         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30088         when result overflows but exception would not result from cast.
30089         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
30090         <limits.h>.
30091         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30092         when result overflows but exception would not result from cast.
30093         * math/libm-test.inc (lrint_test_data): Add more tests.
30094         (llrint_test_data): Likewise.
30096 2015-10-08  Roland McGrath  <roland@hack.frob.com>
30098         [BZ #18872]
30099         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
30100         Move out from under [$(run-built-tests) = yes] conditional.
30101         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
30102         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
30104 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
30106         [BZ #18589]
30107         * string/Makefile (tests): Add bug-strcoll2.
30108         (LOCALES): Add cs_CZ.UTF-8.
30109         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
30111         [BZ #18589]
30112         * string/bug-strcoll2.c: New file.
30113         * locale/categories.def: Revert commit
30114         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
30115         * locale/langinfo.h: Likewise.
30116         * locale/localeinfo.h: Likewise.
30117         * locale/C-collate.c: Likewise.
30118         * locale/programs/ld-collate.c (collate_output): Likewise.
30119         * string/strcoll_l.c (STRDIFF): Likewise.
30120         (STRCOLL): Likewise.
30121         * wcsmbs/wcscoll_l.c: Likewise.
30123 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
30125         * math/libm-test.inc (lround_test_data): Do not expect the absence
30126         of "inexact" for some tests with non-integer arguments.
30127         (llround_test_data): Likewise.
30129         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
30130         test.
30131         (libc_cv_cc_sse2avx): Likewise.
30132         * sysdeps/i386/configure: Regenerated.
30133         * sysdeps/i386/i686/multiarch/Makefile
30134         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
30135         [$(subdir) = math].
30136         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
30137         code unconditional.
30138         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30139         Likewise.
30140         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
30141         Likewise.
30142         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30143         Likewise.
30144         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
30145         test.
30146         (libc_cv_cc_sse2avx): Likewise.
30147         * sysdeps/x86_64/configure: Regenerated.
30148         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
30149         unconditional.
30150         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
30151         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30152         unconditional.
30153         (_dl_runtime_profile)
30154         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
30155         conditional code.
30156         * sysdeps/x86_64/fpu/multiarch/Makefile
30157         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
30158         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30159         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30160         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30161         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30162         * sysdeps/x86_64/fpu/multiarch/e_log.c
30163         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30164         * sysdeps/x86_64/fpu/multiarch/s_atan.c
30165         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30166         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30167         Likewise.
30168         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30169         Likewise.
30170         * sysdeps/x86_64/fpu/multiarch/s_sin.c
30171         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30172         * sysdeps/x86_64/fpu/multiarch/s_tan.c
30173         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30174         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30175         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30176         (HAVE_SSE2AVX_SUPPORT): Likewise.
30178 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
30180         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30181         instead of #pragma optimize.
30183 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30185         [BZ #17195]
30186         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30187         as is similarly done in systrim and _int_free already.
30189 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30191         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30193 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30195         [BZ #19088]
30196         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30197         <limits.h>.
30198         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30199         overflows but exception would not result from cast.
30200         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30201         and <limits.h>.
30202         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30203         overflows but exception would not result from cast.
30204         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30205         <limits.h>.
30206         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30207         overflows but exception would not result from cast.
30208         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30209         <limits.h>.
30210         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30211         overflows but exception would not result from cast.
30212         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30213         <limits.h>.
30214         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30215         overflows but exception would not result from cast.
30216         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30217         <limits.h>.
30218         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30219         overflows but exception would not result from cast.
30220         * math/libm-test.inc (lround_test_data): Add more tests.
30221         (llround_test_data): Likewise.
30223 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
30225         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30226         (CFLAGS-ialloc.c): Ditto.
30227         (CFLAGS-scheck.c): Ditto.
30229 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30231         [BZ #19086]
30232         * manual/filesys.texi (Storage Allocation): Fix argument order for
30233         posix_fallocate64.
30235 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30237         [BZ #19085]
30238         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30239         exponent below 48 inside case for non-overflowing exponent.
30240         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30242 2015-10-07  Florian Weimer  <fweimer@redhat.com>
30244         * iconvdata/cp737.h (from_idx): Add const.
30245         * iconvdata/cp775.h (from_idx): Likewise.
30247 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30249         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30250         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30251         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30253         [BZ #19079]
30254         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30255         file, conditioned on [!_LP64].
30256         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30257         [!_LP64] (__lround): Do not define as function or alias.
30258         [!_LP64] (lround): Likewise.
30259         [!_LP64] (__lroundl): Likewise.
30260         [!_LP64] (lroundl): Likewise.
30261         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30262         macro.
30263         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30264         Likewise.
30266 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30268         * math/libm-test.inc (lrint_test_data): Add more tests.
30269         (llrint_test_data): Likewise.
30270         (lround_test_data): Likewise.
30271         (llround_test_data): Likewise.
30273         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30274         (llrint_test_data): Add tests used for lrint.
30276         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30277         test.
30278         * sysdeps/i386/configure: Regenerated.
30279         * sysdeps/i386/i686/multiarch/Makefile
30280         [$(config-cflags-sse4) = yes]: Make code unconditional.
30281         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30282         Likewise.
30283         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30284         Likewise.
30285         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30286         test.
30287         * sysdeps/x86_64/configure: Regenerated.
30288         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30289         Make code unconditional.
30290         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30291         Likewise.
30292         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30293         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30295         * scripts/rpm2dynsym.sh: Remove file.
30297 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30299         * configure.ac (libc_cv_cxx_thread_local): Define.
30300         * configure: Regenerate.
30301         * config.make.in (have-cxx-thread_local): Define.
30302         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30303         (LDLIBS-tst-thread_local1): Define.
30304         (tests): Add tst-thread_local1.
30305         [have-cxx-thread_local != yes] (tests-unsupported): Add
30306         tst-thread_local1.
30307         * nptl/tst-thread_local1.cc: New file.
30309 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30311         [BZ #19078]
30312         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30313         (u_thres): Likewise.
30314         (__expl): Determine whether to call __kernel_standard_l based on
30315         value of result, not argument.
30317         * math/libm-test.inc (scalb_test_data): Add more expectations for
30318         the "inexact" exception.
30320         [BZ #19077]
30321         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30322         0.0L for argument 1.0L.
30324         [BZ #19076]
30325         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30326         constant 0.0L when computing infinite result.
30328 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30330         [BZ #10432]
30331         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30332         malloc_usable_size.
30334 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30336         [BZ #19018]
30337         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30338         Mangle function pointer before storing it.
30339         (__call_tls_dtors): Demangle function pointer before calling it.
30341 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30343         [BZ #19012]
30344         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30345         Clean up on failure.
30347 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30349         [BZ #19071]
30350         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30351         long int variable to store possibly incremented high part of
30352         mantissa.
30353         * math/libm-test.inc (lround_test_data): Add tests used for
30354         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30355         for tests requiring 64-bit long.  Do not condition tests on
30356         [TEST_FLOAT] unnecessarily.
30357         (llround_test_data): Add tests used for lround.  Add another
30358         expectation for the "inexact" exception.  Do not condition tests
30359         on [TEST_FLOAT] unnecessarily.
30361         [BZ #887]
30362         [BZ #19049]
30363         [BZ #19050]
30364         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30365         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30366         <fix-int-fp-convert-zero.h>.
30367         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30368         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30369         <fix-int-fp-convert-zero.h>.
30370         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30371         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30372         <fix-int-fp-convert-zero.h>.
30373         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30374         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30375         <fix-int-fp-convert-zero.h>.
30376         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30377         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30378         <fix-int-fp-convert-zero.h>.
30379         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30380         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30381         <fix-int-fp-convert-zero.h>.
30382         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30383         * sysdeps/ieee754/flt-32/s_erff.c: Include
30384         <fix-int-fp-convert-zero.h>.
30385         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30386         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30387         <fix-int-fp-convert-zero.h>.
30388         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30389         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30390         <fix-int-fp-convert-zero.h>.
30391         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30392         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30393         <fix-int-fp-convert-zero.h>.
30394         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30395         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30396         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30397         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30398         file.
30399         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30401 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30405 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30407         [BZ #19059]
30408         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30409         overflowing computation.
30410         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30411         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30412         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30413         Likewise.
30414         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30415         Likewise.
30416         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30417         Likewise.
30418         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30419         Likewise.
30420         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30421         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30422         Likewise.
30423         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30424         Likewise.
30425         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30427         * nss/rewrite_field.c (__nss_rewrite_field): Use
30428         internal_function.
30429         * nss/valid_field.c (__nss_valid_field): Likewise.
30430         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30432 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30434         [BZ #18724]
30435         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30436         (__nss_invalid_field_characters, __nss_valid_field)
30437         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30438         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30439         tst-field.c: New file.
30440         * nss/Makefile (routines): Add valid_field, rewrite_field.
30441         (tests-static): Define unconditionally.
30442         (tests): Include tests-static.
30443         [build-static-nss] (tests-static): Use append.
30444         [build-static-nss] (tests): Remove modification.
30445         * nss/getent.c (print_group): Call putgrent.  Report error.
30446         (print_gshadow): Call putsgent.  Report error.
30447         (print_passwd): Call putpwent.  Report error.
30448         (print_shadow): Call putspent.  Report error.
30449         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30450         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30451         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30452         name, password, directory, shell fields for valid syntax.  Rewrite
30453         GECOS field to match syntax.
30454         * pwd/Makefile (tests): Add tst-putpwent.
30455         * pwd/tst-putpwent.c: New file.
30456         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30457         Check grName, grpasswd, gr_mem fields for valid syntax.
30458         Change loop variable i to size_t.
30459         * grp/Makefile (tests): Add tst-putgrent.
30460         * grp/tst-putgrent.c: New file.
30461         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30462         valid syntax.
30463         * shadow/Makefile (tests): Add tst-putspent.
30464         * shadow/tst-putspent.c: New file.
30465         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30466         sg_mem fields for valid syntax.
30467         * gshadow/Makefile (tests): Add tst-putsgent.
30468         * gshadow/tst-putsgent.c: New file.
30470 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30472         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30473         assembly instructions.
30475 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30477         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30478         prefix from operands.
30480 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30482         [BZ #16347]
30483         [BZ #19046]
30484         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30485         <libc-internal.h>.
30486         (MAXLGM): Do not use diagnostic control macros.
30487         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30488         threshold for ldbl-128ibm.
30489         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30490         instead of multiplying by log then subtracting.
30491         * math/auto-libm-test-in: Add more tests of lgamma.
30492         * math/auto-libm-test-out: Regenerated.
30494         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30495         (TYPE_HEX_DIG): Likewise.
30496         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30497         precisions when printing floating-point numbers.
30498         (check_float_internal): Likewise.
30500 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30502         [BZ #16620]
30503         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30504         of log (10) rounded downward to 48 bits.
30505         (log10_low): Use corresponding low part of log (10).
30507         [BZ #19032]
30508         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30509         compute result as (x - x) / (x - x) not as 0 / 0.
30510         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30511         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30513         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30514         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30515         and expm1.
30516         * math/auto-libm-test-out: Regenerated.
30517         * math/libm-test.inc (acos_test_data): Add more tests.
30518         (asin_test_data): Likewise.
30519         (asinh_test_data): Likewise.
30520         (atan_test_data): Likewise.
30521         (atanh_test_data): Likewise.
30522         (atan2_test_data): Likewise.
30523         (cbrt_test_data): Likewise.
30524         (ceil_test_data): Likewise.
30525         (copysign_test_data): Likewise.
30526         (cos_test_data): Likewise.
30527         (cosh_test_data): Likewise.
30528         (erf_test_data): Likewise.
30529         (erfc_test_data): Likewise.
30530         (exp_test_data): Likewise.
30531         (exp10_test_data): Likewise.
30532         (exp2_test_data): Likewise.
30533         (expm1_test_data): Likewise.
30534         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30536 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30538         [BZ #19006]
30539         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30540         to ...
30541         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30542         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30543         to ...
30544         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30545         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30546         to ...
30547         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30548         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30549         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30550         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30551         to ...
30552         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30553         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30554         Moved to ...
30555         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30556         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30557         Moved to ...
30558         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30559         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30560         to ...
30561         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30562         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30563         Moved to ...
30564         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30565         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30566         to ...
30567         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30568         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30569         Removed.
30570         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30571         Likewise.
30572         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30573         Likewise.
30574         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30575         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30576         Likewise.
30577         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30578         Likewise.
30579         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30580         Likewise.
30581         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30582         Likewise.
30583         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30584         Likewise.
30585         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30586         Likewise.
30587         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30588         Likewise.
30589         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30590         Likewise.
30591         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30592         Likewise.
30593         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30594         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30595         Likewise.
30596         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30597         Likewise.
30598         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30599         Likewise.
30600         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30601         Likewise.
30602         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30603         Likewise.
30604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30605         Replace ../i486/pthread_cond_timedwait.S with
30606         ../pthread_cond_timedwait.S.
30608 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30610         * math/libm-test.inc (acos_test_data): Refine expectations for
30611         errno and "inexact" exceptions.
30612         (acosh_test_data): Likewise.
30613         (asin_test_data): Likewise.
30614         (asinh_test_data): Likewise.
30615         (atan_test_data): Likewise.
30616         (atanh_test_data): Likewise.
30617         (atan2_test_data): Likewise.
30618         (cbrt_test_data): Likewise.
30619         (ceil_test_data): Likewise.
30620         (copysign_test_data): Likewise.
30621         (cosh_test_data): Likewise.
30622         (erf_test_data): Likewise.
30623         (erfc_test_data): Likewise.
30624         (exp_test_data): Likewise.
30625         (exp10_test_data): Likewise.
30626         (exp2_test_data): Likewise.
30627         (expm1_test_data): Likewise.
30628         (fabs_test_data): Likewise.
30629         (floor_test_data): Likewise.
30630         (fma_test_data): Likewise.
30631         (fmax_test_data): Likewise.
30632         (fmin_test_data): Likewise.
30633         (fmod_test_data): Likewise.
30634         (fpclassify_test_data): Likewise.
30635         (frexp_test_data): Likewise.
30636         (hypot_test_data): Likewise.
30637         (ilogb_test_data): Likewise.
30638         (isgreater_test_data): Likewise.
30639         (isgreaterequal_test_data): Likewise.
30640         (isinf_test_data): Likewise.
30641         (isless_test_data): Likewise.
30642         (islessequal_test_data): Likewise.
30643         (islessgreater_test_data): Likewise.
30644         (isnan_test_data): Likewise.
30645         (isnormal_test_data): Likewise.
30646         (issignaling_test_data): Likewise.
30647         (isunordered_test_data): Likewise.
30648         (j0_test_data): Likewise.
30649         (j1_test_data): Likewise.
30650         (jn_test_data): Likewise.
30651         (lgamma_test_data): Likewise.
30652         (lrint_test_data): Likewise.
30653         (llrint_test_data): Likewise.
30654         (log_test_data): Likewise.
30655         (log10_test_data): Likewise.
30656         (log1p_test_data): Likewise.
30657         (log2_test_data): Likewise.
30658         (logb_test_data): Likewise.
30659         (lround_test_data): Likewise.
30660         (llround_test_data): Likewise.
30661         (modf_test_data): Likewise.
30662         (nearbyint_test_data): Likewise.
30663         (nextafter_test_data): Likewise.
30664         (nexttoward_test_data): Likewise.
30665         (pow_test_data): Likewise.
30666         (remainder_test_data): Likewise.
30667         (remquo_test_data): Likewise.
30668         (rint_test_data): Likewise.
30669         (round_test_data): Likewise.
30670         (signbit_test_data): Likewise.
30671         (sinh_test_data): Likewise.
30672         (sqrt_test_data): Likewise.
30673         (tanh_test_data): Likewise.
30674         (tgamma_test_data): Likewise.
30675         (trunc_test_data): Likewise.
30676         (y0_test_data): Likewise.
30677         (y1_test_data): Likewise.
30678         (yn_test_data): Likewise.
30679         (significand_test_data): Likewise.
30681 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30683         * manual/filesys.texi (Storage Allocation): Document that
30684         posix_fallocate emulation fails when fd is open with O_WRONLY.
30686 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30688         [BZ #19016]
30689         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30690         allow more cases with X^2 + Y^2 >= 0.5.
30691         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30692         normal element in sum instead of special-casing based on values of
30693         arguments.
30694         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30695         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30696         -1 as normal element in sum instead of special-casing based on
30697         values of arguments.
30698         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30699         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30700         (__x2y2m1): Update comment.
30701         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30702         as normal element in sum instead of special-casing based on values
30703         of arguments.
30704         * math/s_clog.c (__clog): Handle more cases using log1p without
30705         hypot.
30706         * math/s_clog10.c (__clog10): Likewise.
30707         * math/s_clog10f.c (__clog10f): Likewise.
30708         * math/s_clog10l.c (__clog10l): Likewise.
30709         * math/s_clogf.c (__clogf): Likewise.
30710         * math/s_clogl.c (__clogl): Likewise.
30711         * math/auto-libm-test-in: Add more tests of clog and clog10.
30712         * math/auto-libm-test-out: Regenerated.
30713         * sysdeps/i386/fpu/libm-test-ulps: Update.
30714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30716 2015-09-28  Martin Sebor  <msebor@redhat.com>
30718         [BZ #18969]
30719         * string/Makefile (LOCALES): Define.
30720         (gen-locales.mk): Include.
30721         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30722         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30723         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30724         on setlocale failure.
30726 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30728         [BZ #18985]
30729         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30730         (__strftime_internal): Likewise.
30731         * time/tst-strftime.c (do_bz18985): New test.
30732         (do_test): Call it.
30734 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30736         [BZ #18956]
30737         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30738         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30739         extracting high part.
30740         * math/auto-libm-test-in: Add another test of pow.
30741         * math/auto-libm-test-out: Regenerated.
30742         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30744 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30746         [BZ #18825]
30747         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30748         New macro.
30749         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30750         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30751         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30752         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30753         DBL_NARROW_EVAL, reloading the PIC register as needed.
30754         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30755         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30756         FLT_NARROW_EVAL.  Use separate return path for case when first
30757         argument is NaN.
30758         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30759         DEFINE_LDBL_MIN.
30760         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30761         PIC register.
30762         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30763         math_check_force_underflow_nonneg.
30764         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30765         underflow for subnormal result.
30766         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30767         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30768         math_check_force_underflow_nonneg.
30769         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30770         math_check_force_underflow.
30771         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30772         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30773         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30774         DEFINE_LDBL_MIN.
30775         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30776         * math/auto-libm-test-in: Add more tests of pow.
30777         * math/auto-libm-test-out: Regenerated.
30779 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30781         * nss/bug17079.c (init_test_items): Add diagnostic for
30782         inconsistent entries.
30783         (test_buffer_size): Skip inconsistent entries.
30785 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30787         [BZ #13304]
30788         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30789         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30790         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30792         [BZ #13304]
30793         * sysdeps/microblaze/s_fma.c: New file.
30794         * sysdeps/microblaze/s_fmaf.c: Likewise.
30795         * sysdeps/microblaze/sfp-machine.h: Likewise.
30797 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30799         [BZ #17250]
30800         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30801         member.
30803 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30805         [BZ #18803]
30806         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30807         (MO): New macro.
30808         (__ieee754_hypot) [PIC]: Load PIC register.
30809         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30810         DBL_NARROW_EVAL.
30811         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30812         math_check_force_underflow_nonneg in case where result might be
30813         tiny.
30814         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30815         Likewise.
30816         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30817         Likewise.
30818         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30819         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30820         * math/auto-libm-test-in: Add more tests of hypot.
30821         * math/auto-libm-test-out: Regenerated.
30823 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30825         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30827 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30829         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30830         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30831         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30832         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30833         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30834         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30835         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30837         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30838         LOAD_PIC_REG.
30840         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30841         (FLT_CHECK_FORCE_UFLOW): Likewise.
30842         (DBL_CHECK_FORCE_UFLOW): Likewise.
30843         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30844         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30845         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30846         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30847         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30848         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30849         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30850         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30851         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30852         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30853         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30854         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30855         (flt_min): Replace with use of DEFINE_FLT_MIN.
30856         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30857         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30858         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30859         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30860         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30861         (flt_min): Replace with use of DEFINE_FLT_MIN.
30862         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30863         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30864         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30865         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30866         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30867         (flt_min): Replace with use of DEFINE_FLT_MIN.
30868         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30869         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30870         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30871         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30872         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30873         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30874         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30875         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30876         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30877         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30878         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30879         (flt_min): Replace with use of DEFINE_FLT_MIN.
30880         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30881         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30882         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30883         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30884         main computation.
30885         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30886         (flt_min): Replace with use of DEFINE_FLT_MIN.
30887         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30888         main computation.
30889         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30890         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30891         (MO): New macro.
30892         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30893         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30894         (flt_min): Replace with use of DEFINE_FLT_MIN.
30895         (MO): New macro.
30896         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30897         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30898         (__log1pl): Use MO.
30900         [BZ #19003]
30901         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30902         $(config-cflags-nofma).
30904 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30906         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30908 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30910         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30911         (TWO127): Likewise.
30913         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30914         (min_of_type): Likewise.
30915         (math_check_force_underflow): Likewise.
30916         (math_check_force_underflow_nonneg): Likewise.
30917         (math_check_force_underflow_complex): Likewise.
30918         * math/e_exp2l.c (__ieee754_exp2l): Use
30919         math_check_force_underflow_nonneg.
30920         * math/k_casinh.c (__kernel_casinh): Likewise.
30921         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30922         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30923         * math/s_catan.c (__catan): Use
30924         math_check_force_underflow_complex.
30925         * math/s_catanf.c (__catanf): Likewise.
30926         * math/s_catanh.c (__catanh): Likewise.
30927         * math/s_catanhf.c (__catanhf): Likewise.
30928         * math/s_catanhl.c (__catanhl): Likewise.
30929         * math/s_catanl.c (__catanl): Likewise.
30930         * math/s_ccosh.c (__ccosh): Likewise.
30931         * math/s_ccoshf.c (__ccoshf): Likewise.
30932         * math/s_ccoshl.c (__ccoshl): Likewise.
30933         * math/s_cexp.c (__cexp): Likewise.
30934         * math/s_cexpf.c (__cexpf): Likewise.
30935         * math/s_cexpl.c (__cexpl): Likewise.
30936         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30937         * math/s_clog10.c (__clog10): Likewise.
30938         * math/s_clog10f.c (__clog10f): Likewise.
30939         * math/s_clog10l.c (__clog10l): Likewise.
30940         * math/s_clogf.c (__clogf): Likewise.
30941         * math/s_clogl.c (__clogl): Likewise.
30942         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30943         * math/s_csinf.c (__csinf): Likewise.
30944         * math/s_csinh.c (__csinh): Likewise.
30945         * math/s_csinhf.c (__csinhf): Likewise.
30946         * math/s_csinhl.c (__csinhl): Likewise.
30947         * math/s_csinl.c (__csinl): Likewise.
30948         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30949         * math/s_csqrtf.c (__csqrtf): Likewise.
30950         * math/s_csqrtl.c (__csqrtl): Likewise.
30951         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30952         * math/s_ctanf.c (__ctanf): Likewise.
30953         * math/s_ctanh.c (__ctanh): Likewise.
30954         * math/s_ctanhf.c (__ctanhf): Likewise.
30955         * math/s_ctanhl.c (__ctanhl): Likewise.
30956         * math/s_ctanl.c (__ctanl): Likewise.
30957         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30958         instead of volatile.
30959         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30960         math_check_force_underflow.
30961         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30962         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30963         volatile when forcing underflow.
30964         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30965         math_check_force_underflow_nonneg.
30966         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30967         Likewise.
30968         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30969         math_check_force_underflow.
30970         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30971         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30972         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30973         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30974         math_check_force_underflow_nonneg.
30975         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30976         math_check_force_underflow.
30977         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30978         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30979         instead of volatile.
30980         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30981         math_check_force_underflow.
30982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30983         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30984         math_check_force_underflow_nonneg.
30985         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30986         math_check_force_underflow.
30987         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30988         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30989         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30990         math_check_force_underflow_nonneg.
30991         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30992         Likewise.
30993         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30994         math_check_force_underflow.
30995         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30996         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30997         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30998         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30999         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
31000         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
31001         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31002         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31003         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31004         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
31005         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
31006         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31007         Likewise.
31008         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
31009         math_check_force_underflow_nonneg.
31010         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31011         Likewise.
31012         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
31013         math_check_force_underflow.
31014         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31015         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31016         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31017         Likewise.
31018         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31019         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
31020         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
31021         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
31022         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
31023         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
31024         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
31025         instead of volatile.
31026         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
31027         math_check_force_underflow.
31028         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31029         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
31030         math_check_force_underflow.
31031         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
31032         Likewise.
31033         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31034         Use math_check_force_underflow_nonneg.
31035         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
31036         math_check_force_underflow.
31037         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
31038         Likewise.
31039         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31040         Likewise.
31041         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31042         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31043         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31044         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31045         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
31046         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31047         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31048         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31049         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
31050         math_check_force_underflow_nonneg.
31051         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
31052         math_check_force_underflow.
31053         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31054         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31055         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
31056         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
31057         math_check_force_underflow_nonneg.
31058         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
31059         math_check_force_underflow.
31060         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
31062         instead of volatile.
31063         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
31064         math_check_force_underflow.
31066         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
31067         * stdlib/strtod_l.c: Include <math_private.h>.
31068         (overflow_value): Use math_narrow_eval.
31069         (underflow_value): Likewise.
31070         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31071         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31072         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
31073         (__ieee754_gamma_r): Likewise.
31074         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
31075         Likewise.
31076         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
31077         Likewise.
31078         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
31079         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
31080         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31081         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31082         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
31083         (__ieee754_gammaf_r): Likewise.
31084         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
31085         Likewise.
31086         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
31087         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
31088         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31089         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31090         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
31091         volatile.
31092         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31093         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
31094         math_narrow_eval.
31095         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
31096         Likewise.
31097         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31098         Likewise.
31099         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
31100         Likewise.
31101         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
31102         volatile.
31103         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31104         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
31105         math_narrow_eval.
31106         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31107         Likewise.
31108         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31109         Likewise.
31111 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
31113         * nptl/Versions: Remove ignored symbols.
31115 2015-09-22  Florian Weimer  <fweimer@redhat.com>
31117         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
31118         * nss/Makefile (tests): Update.
31120 2015-09-22  Florian Weimer  <fweimer@redhat.com>
31122         * nss/bug18287.c: New file.
31123         * nss/Makefile (tests): Add bug18287.
31125 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31127         * mach/Versions (__mach_host_self_): Add symbol.
31129 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31131         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
31132         vm_page_size.
31134 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31136         Really fix sysdeps/i386/fpu/s_scalbn.S build
31138         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
31139         (libc: GLIBC_2_22): Remove unused version set.
31141 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31143         * config.make.in (enable-timezone-tools): New variable.
31144         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
31145         (enable_timezone_tools): Export to generated files.
31146         * configure: Regenerate.
31147         * INSTALL: Regenerate.
31148         * manual/install.texi (--disable-timezone-tools): Document new flag.
31149         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
31150         ifeq ($(enable-timezone-tools),yes) check.
31152 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31154         * timezone/Makefile: Revert previous change.
31156         [BZ #18980]
31157         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
31158         (DEFINE_DBL_MIN): Likewise.
31159         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31160         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31161         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31162         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31163         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31164         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31165         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31166         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31167         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31168         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31169         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31170         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31171         (flt_min): Replace with use of DEFINE_FLT_MIN.
31172         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31173         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31174         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31175         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31176         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31177         (flt_min): Replace with use of DEFINE_FLT_MIN.
31178         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31179         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31180         (flt_min): Replace with use of DEFINE_FLT_MIN.
31181         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31182         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31183         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31184         (__ieee754_hypot): Use DBL_NARROW_EVAL.
31185         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31186         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31187         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31188         (__ieee754_pow): Use DBL_NARROW_EVAL.
31189         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31190         (__ieee754_powf): Use FLT_NARROW_EVAL.
31191         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31192         (__ieee754_expf_sse2): Convert double-precision result to single
31193         precision.
31194         * sysdeps/i386/fpu/libm-test-ulps: Update.
31196 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31198         * timezone/Makefile: Ignore unused variable errors due to private.h
31199         (time_t_min) and (time_t_max).
31200         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
31201         Likewise.
31203 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31205         [BZ #18981]
31206         * sysdeps/i386/fpu/i386-math-asm.h: New file.
31207         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31208         (__ieee754_scalb): Use DBL_NARROW_EVAL.
31209         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31210         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31211         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31212         (__scalbn): Use DBL_NARROW_EVAL.
31213         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31214         (__scalbnf): Use FLT_NARROW_EVAL.
31216 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31218         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31219         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31220         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31221         * stdio-common/printf_fp.c (___printf_fp):
31222         Use signbit to get the sign. Use isinf macro to allow inlining.
31223         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31224         * stdio-common/printf_size.c (__printf_size): Likewise.
31226 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31228         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31230 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31232         [BZ #18980]
31233         * sysdeps/generic/math_private.h: Include <float.h>.
31234         (math_narrow_eval): New macro.
31235         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31236         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31237         math_narrow_eval on overflowing return value.
31238         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31239         Likewise.
31240         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31241         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31242         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31243         Likewise.
31244         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31246 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31248         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31249         * math/Makefile: Remove isinf_ns.c.
31250         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31251         * math/multc3.c (__multc3): Likewise.
31252         * math/s_casin.c (__casin): Likewise.
31253         * math/s_casinf.c (__casinf): Likewise.
31254         * math/s_casinl.c (__casinl): Likewise.
31255         * math/s_cproj.c (__cproj): Likewise.
31256         * math/s_cprojf.c (__cprojf): Likewise.
31257         * math/s_cprojl.c (__cprofl): Likewise.
31258         * math/s_ctan.c (__ctan): Likewise.
31259         * math/s_ctanf.c (__ctanf): Likewise.
31260         * math/s_ctanh.c (__ctanh): Likewise.
31261         * math/s_ctanhf.c (__ctanhf): Likewise.
31262         * math/s_ctanhl.c (__ctanhl): Likewise.
31263         * math/s_ctanl.c (__ctanl): Likewise.
31264         * math/w_fmod.c (__fmod): Likewise.
31265         * math/w_fmodf.c (__fmodf): Likewise.
31266         * math/w_fmodl.c (_fmodl): Likewise.
31267         * math/w_remainder.c (__remainder): Likewise.
31268         * math/w_remainderf.c (__remainderf): Likewise.
31269         * math/w_remainderl.c (__remainderl): Likewise.
31270         * math/w_scalb.c (__scalb): Likewise.
31271         * math/w_scalbf.c (__scalbf): Likewise.
31272         * math/w_scalbl.c (__scalbl): Likewise.
31273         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31274         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31275         with isinf.
31276         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31277         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31278         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31279         __isinf_nsf with isinf.
31280         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31281         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31282         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31283         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31284         with isinf.
31285         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31286         __isinf_nsl with isinf.
31287         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31288         with isinf.
31289         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31290         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31291         __isinf_nsl with isinf.
31292         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31293         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31294         with isinf.
31296 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31298         * resolv/base64.c (rcsid): Remove unused static.
31299         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31300         static.  (tqpi1): Likewise.
31301         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31302         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31303         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31304         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31305         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31306         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31307         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31308         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31309         Likewise.
31311 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31313         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31314         <nptl/pthreadP.h>.
31315         (_longjmp_unwind): Use __libc_ptf_call.
31316         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31318 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31320         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31321         * sysdeps/arm/__longjmp.S: Likewise.
31323 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31325         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31326         Use __builtin_signbit.
31327         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31328         Use __builtin_signbitf.
31329         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31330         Use __builtin_signbitl.
31331         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31332         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31334 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31336         [BZ #15367]
31337         [BZ #17441]
31339         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31340         * math/math.h (fpclassify): Use __builtin_fpclassify when
31341         available.  (signbit): Use __builtin_signbit(f/l).
31342         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31343         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31344         (isinf): Use __builtin_isinf_sign.
31346 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31348         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31349         * benchtests/bench-math-inlines.c: New benchmark.
31350         * benchtests/bench-util.h: New file.
31351         * benchtests/bench-util.c: New file.
31352         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31354 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31356         * elf/tst-dlmopen1.c: Define TEST_SO.
31357         (do_test): Use TEST_SO.
31359         * elf/dl-load.c: Include libc-internal.h.
31360         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31362 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31364         [BZ #17887]
31365         * time/strptime_l.c (__strptime_internal): Make %z accept
31366         [+-]HH:MM time zones.
31368 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31370         [BZ #17886]
31371         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31372         valid time zone.
31374 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31376         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31377         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31378         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31379         (__ASSUME_FDATASYNC): Delete.
31381 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31383         * conform/linknamespace.pl: Require weak undefined symbols to be
31384         in the standard namespace.
31385         (%strong_syms): Rename to %seen_syms.
31386         (%strong_seen): Rename to %seen_where.
31388 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31390         [BZ #18970]
31391         * misc/error.c (error): Replace pthread_setcancelstate with
31392         __pthread_setcancelstate.
31393         (error_at_line): Likewise.
31394         * posix/wordexp.c (parse_comm): Likewise.
31395         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31396         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31397         (__pthread_setcancelstate): This.
31398         (pthread_setcancelstate): Add an alias.
31399         * nptl/nptl-init.c (pthread_functions): Replace
31400         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31401         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31402         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31403         hidden_proto.
31404         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31405         it with hidden_def.
31406         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31407         (pthread_setcancelstate): Renamed to ...
31408         (__pthread_setcancelstate): This.
31409         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31410         __libc_ptf_call with __pthread_setcancelstate.
31412 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31413             Andreas Schwab  <schwab@suse.de>
31415         [BZ #17118]
31416         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31417         result when imaginary part of argument is infinite using sine and
31418         cosine.
31419         * math/s_ctanf.c (__ctanf): Likewise.
31420         * math/s_ctanl.c (__ctanl): Likewise.
31421         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31422         of result when real part of argument is infinite using sine and
31423         cosine.
31424         * math/s_ctanhf.c (__ctanhf): Likewise.
31425         * math/s_ctanhl.c (__ctanhl): Likewise.
31426         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31427         (ctanh_test_data): Add more tests of ctanh.
31429 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31431         [BZ #15384]
31432         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31433         bit-mask as in subtraction.
31434         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31435         Likewise.
31436         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31437         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31438         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31440         [BZ #18951]
31441         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31442         underflow exception for small results.
31443         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31444         Likewise.
31445         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31446         Likewise.
31447         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31448         Likewise.
31449         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31450         Likewise.
31451         * math/auto-libm-test-in: Add more tests of tgamma.
31452         * math/auto-libm-test-out: Regenerated.
31454 2015-09-17  Andreas Schwab  <schwab@suse.de>
31456         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31458 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31460         [BZ #18977]
31461         * math/bits/mathcalls.h
31462         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31463         not declare.
31464         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31465         Likewise.
31466         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31467         Likewise.
31468         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31469         Likewise.
31470         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31471         Likewise.
31472         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31473         Likewise.
31474         * conform/data/math.h-data
31475         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31476         function.
31477         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31478         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31479         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31480         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31481         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31482         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31483         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31484         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31485         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31486         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31487         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31489         [BZ #6803]
31490         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31491         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31492         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31493         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31494         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31495         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31496         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31497         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31498         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31499         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31500         Likewise.
31501         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31502         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31503         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31504         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31505         long_double_symbol calls.
31506         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31507         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31508         strong alias of __ldexpl.
31509         (scalbnl): Define using long_double_symbol.
31510         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31511         Remove alias.
31512         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31513         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31514         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31515         (scalbln_test_data): Add more errno expectations.
31517 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31519         Cache the host port like we cache the task port.  This way we do not
31520         need to call the kernel just to get the port.  Furthermore, we no
31521         longer increase the reference count on every invocation of
31522         `mach_host_self'.
31524         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31525         Protect declarations against the macro expansion.
31526         * mach/mach_init.c (__mach_host_self_): New variable.
31527         (mach_init): Initialize `__mach_host_self_'.
31528         * mach/mach_init.h (__mach_host_self_): New declaration.
31529         (__mach_host_self, mach_host_self): New macros.
31530         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31531         Release reference.
31533 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31535         [BZ #4404]
31536         * po/de.po: Update from Translation Project.
31538         [BZ #16415]
31539         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31540         (__expm1l): Remove code to handle positive infinity and overflow.
31541         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31542         variable.
31543         (__expm1l): Remove code to handle positive infinity and overflow.
31545 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31546             Paul Pluzhnikov  <ppluzhnikov@google.com>
31548         [BZ #18872]
31549         * stdio-common/Makefile (tst-printf-bz18872): New test.
31550         (tst-printf-bz18872-mem.out): Likewise.
31551         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31552         * stdio-common/vfprintf.c: Fix memory leaks.
31554 2015-09-16  Andreas Schwab  <schwab@suse.de>
31556         [BZ #17244]
31557         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31558         Remove extra va_start/va_end calls.
31560         [BZ #17243]
31561         * posix/execl.c (execl): Add missing va_end.
31562         * posix/execle.c (execle): Likewise.
31563         * posix/execlp.c (execlp): Likewise.
31565 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31567         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31568         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31570 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31572         [BZ #18967]
31573         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31574         undefine around includes of <bits/mathcalls.h>.
31575         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31576         not declare function.
31577         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31578         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31579         (scalb): Likewise.
31580         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31581         not define macro.
31582         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31583         variable.
31584         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31585         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31586         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31588         [BZ #18857]
31589         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31590         return non-finite argument without doing ordered comparisons on
31591         it.
31593         [BZ #16296]
31594         * math/fenv.h (fegetround): Use __attribute_pure__.
31595         * include/fenv.h (__fegetround): Likewise.
31597         [BZ #18595]
31598         * math/s_ctan.c (__ctan): Force underflow exception for results
31599         whose real or imaginary part has small absolute value.
31600         * math/s_ctanf.c (__ctanf): Likewise.
31601         * math/s_ctanh.c (__ctanh): Likewise.
31602         * math/s_ctanhf.c (__ctanhf): Likewise.
31603         * math/s_ctanhl.c (__ctanhl): Likewise.
31604         * math/s_ctanl.c (__ctanl): Likewise.
31605         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31606         and ctanh.  Add more tests of ctan and ctanh.
31608         [BZ #15918]
31609         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31610         handling of cases where one argument is an infinity.
31612         [BZ #18875]
31613         [BZ #18966]
31614         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31615         (MO): New macro.
31616         (__ieee754_exp10): For small results, force underflow exception
31617         and remove excess range and precision from return value.
31618         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31619         (MO): New macro.
31620         (__ieee754_exp10f): For small results, force underflow exception
31621         and remove excess range and precision from return value.
31622         * math/auto-libm-test-in: Add more tests of exp10.
31623         * math/auto-libm-test-out: Regenerated.
31625 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31627         [BZ #18875]
31628         [BZ #18961]
31629         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31630         (MO): New macro.
31631         (__ieee754_exp): For small results, force underflow exception and
31632         remove excess range and precision from return value.
31633         (__exp_finite): Likewise.
31634         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31635         (MO): New macro.
31636         (__ieee754_expf): For small results, force underflow exception and
31637         remove excess range and precision from return value.
31638         (__expf_finite): Likewise.
31639         * math/auto-libm-test-in: Add more tests of exp.
31640         * math/auto-libm-test-out: Regenerated.
31642         [BZ #16521]
31643         [BZ #18875]
31644         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31645         small results.
31646         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31647         (MO): New macro.
31648         (__ieee754_exp2): For small results, force underflow exception and
31649         remove excess range and precision from return value.
31650         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31651         (MO): New macro.
31652         (__ieee754_exp2f): For small results, force underflow exception
31653         and remove excess range and precision from return value.
31654         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31655         (MO): New macro.
31656         (__ieee754_exp2l): Force underflow exception for small results.
31657         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31658         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31659         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31660         (MO): New macro.
31661         (__ieee754_exp2l): Force underflow exception for small results.
31662         * math/auto-libm-test-in: Add more tests or exp2.
31663         * math/auto-libm-test-out: Regenerated.
31665 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31667         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31669         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31670         /dev/null.
31672 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31674         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31675         io fs process)): Drop spurious backslash.
31677 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31679         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31680         Use sysinfo system call instead of parsing /proc/meminfo.
31681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31682         Likewise.
31684 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31686         [BZ #16985]
31687         * programs/localedef.c (main): Display argv[remaining] when
31688         output_path is NULL.
31690 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31692         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31693         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31694         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31695         tanh.
31696         * math/auto-libm-test-out: Regenerated.
31697         * sysdeps/i386/fpu/libm-test-ulps: Update.
31698         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31699         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31702 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31704         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31705         Use 'override' keyword to freeze the value here, preventing
31706         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31708 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31710         [BZ #14912]
31711         * sysdeps/aarch64/bits/atomic.h: Move to ...
31712         * sysdeps/aarch64/atomic-machine.h: ...here.
31713         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31714         _AARCH64_ATOMIC_MACHINE_H.
31715         * sysdeps/alpha/bits/atomic.h: Move to ...
31716         * sysdeps/alpha/atomic-machine.h: ...here.
31717         * sysdeps/arm/bits/atomic.h: Move to ...
31718         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31719         * bits/atomic.h: Move to ...
31720         * sysdeps/generic/atomic-machine.h: ...here.
31721         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31722         * sysdeps/i386/bits/atomic.h: Move to ...
31723         * sysdeps/i386/atomic-machine.h: ...here.
31724         * sysdeps/ia64/bits/atomic.h: Move to ...
31725         * sysdeps/ia64/atomic-machine.h: ...here.
31726         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31727         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31728         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31729         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31730         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31731         * sysdeps/microblaze/bits/atomic.h: Move to ...
31732         * sysdeps/microblaze/atomic-machine.h: ...here.
31733         * sysdeps/mips/bits/atomic.h: Move to ...
31734         * sysdeps/mips/atomic-machine.h: ...here.
31735         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31736         * sysdeps/powerpc/bits/atomic.h: Move to ...
31737         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31738         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31739         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31740         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31741         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31742         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31743         <atomic-machine.h> instead of <bits/atomic.h>.
31744         * sysdeps/s390/bits/atomic.h: Move to ...
31745         * sysdeps/s390/atomic-machine.h: ...here.
31746         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31747         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31748         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31749         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31750         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31751         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31752         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31753         * sysdeps/tile/bits/atomic.h: Move to ...
31754         * sysdeps/tile/atomic-machine.h: ...here.
31755         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31756         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31757         <sysdeps/tile/atomic-machine.h> instead of
31758         <sysdeps/tile/bits/atomic.h>.
31759         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31760         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31761         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31762         <sysdeps/tile/atomic-machine.h> instead of
31763         <sysdeps/tile/bits/atomic.h>.
31764         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31765         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31766         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31767         <sysdeps/arm/atomic-machine.h> instead of
31768         <sysdeps/arm/bits/atomic.h>.
31769         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31770         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31771         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31772         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31773         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31774         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31775         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31776         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31777         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31778         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31779         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31780         * sysdeps/x86_64/bits/atomic.h: Move to ...
31781         * sysdeps/x86_64/atomic-machine.h: ...here.
31782         * include/atomic.h: Include <atomic-machine.h> instead of
31783         <bits/atomic.h>.
31785         * sysdeps/mips/mips32/libm-test-ulps: Update.
31786         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31788         [BZ #18952]
31789         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31790         not convert non-integer negative arguments to int to determine the
31791         value of signgam.
31792         * math/auto-libm-test-in: Add more tests of lgamma.
31793         * math/auto-libm-test-out: Regenerated.
31795         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31796         cosh, csqrt, erfc, expm1 and lgamma.
31797         * math/auto-libm-test-out: Regenerated.
31798         * sysdeps/i386/fpu/libm-test-ulps: Update.
31799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31801 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31803         [BZ #2542]
31804         [BZ #2543]
31805         [BZ #2558]
31806         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31807         __lgamma_neg for arguments from -28.0 to -2.0.
31808         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31809         __lgamma_negf for arguments from -15.0 to -2.0.
31810         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31811         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31812         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31813         Call __lgamma_negl for arguments from -33.0 to -2.0.
31814         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31815         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31816         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31817         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31818         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31823         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31824         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31825         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31826         (__lgamma_neg): Likewise.
31827         (__lgamma_negl): Likewise.
31828         (__lgamma_product): Likewise.
31829         (__lgamma_productl): Likewise.
31830         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31831         * math/auto-libm-test-in: Add more tests of lgamma.
31832         * math/auto-libm-test-out: Regenerated.
31833         * sysdeps/i386/fpu/libm-test-ulps: Update.
31834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31836 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31838         [BZ #18675]
31839         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31841 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31843         [BZ #14912]
31844         * bits/libc-lock.h: Move to ...
31845         * sysdeps/generic/libc-lock.h: ...here.
31846         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31847         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31848         * sysdeps/mach/hurd/libc-lock.h: ...here.
31849         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31850         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31851         * sysdeps/mach/bits/libc-lock.h: Move to ...
31852         * sysdeps/mach/libc-lock.h: ...here.
31853         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31854         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31855         * sysdeps/nptl/libc-lock.h: ...here.
31856         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31857         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31858         * sysdeps/nptl/libc-lockP.h: ...here.
31859         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31860         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31861         <bits/libc-lock.h>.
31862         * dirent/scandir-tail.c: Likewise.
31863         * dlfcn/dlerror.c: Likewise.
31864         * elf/dl-close.c: Likewise.
31865         * elf/dl-iteratephdr.c: Likewise.
31866         * elf/dl-lookup.c: Likewise.
31867         * elf/dl-open.c: Likewise.
31868         * elf/dl-support.c: Likewise.
31869         * elf/dl-writev.h: Likewise.
31870         * elf/rtld.c: Likewise.
31871         * grp/fgetgrent.c: Likewise.
31872         * gshadow/fgetsgent.c: Likewise.
31873         * gshadow/sgetsgent.c: Likewise.
31874         * iconv/gconv_conf.c: Likewise.
31875         * iconv/gconv_db.c: Likewise.
31876         * iconv/gconv_dl.c: Likewise.
31877         * iconv/gconv_int.h: Likewise.
31878         * iconv/gconv_trans.c: Likewise.
31879         * include/link.h: Likewise.
31880         * inet/getnameinfo.c: Likewise.
31881         * inet/getnetgrent.c: Likewise.
31882         * inet/getnetgrent_r.c: Likewise.
31883         * intl/bindtextdom.c: Likewise.
31884         * intl/dcigettext.c: Likewise.
31885         * intl/finddomain.c: Likewise.
31886         * intl/gettextP.h: Likewise.
31887         * intl/loadmsgcat.c: Likewise.
31888         * intl/localealias.c: Likewise.
31889         * intl/textdomain.c: Likewise.
31890         * libidn/idn-stub.c: Likewise.
31891         * libio/libioP.h: Likewise.
31892         * locale/duplocale.c: Likewise.
31893         * locale/freelocale.c: Likewise.
31894         * locale/newlocale.c: Likewise.
31895         * locale/setlocale.c: Likewise.
31896         * login/getutent_r.c: Likewise.
31897         * login/getutid_r.c: Likewise.
31898         * login/getutline_r.c: Likewise.
31899         * login/utmp-private.h: Likewise.
31900         * login/utmpname.c: Likewise.
31901         * malloc/mtrace.c: Likewise.
31902         * misc/efgcvt.c: Likewise.
31903         * misc/error.c: Likewise.
31904         * misc/fstab.c: Likewise.
31905         * misc/getpass.c: Likewise.
31906         * misc/mntent.c: Likewise.
31907         * misc/syslog.c: Likewise.
31908         * nis/nis_call.c: Likewise.
31909         * nis/nis_callback.c: Likewise.
31910         * nis/nss-default.c: Likewise.
31911         * nis/nss_compat/compat-grp.c: Likewise.
31912         * nis/nss_compat/compat-initgroups.c: Likewise.
31913         * nis/nss_compat/compat-pwd.c: Likewise.
31914         * nis/nss_compat/compat-spwd.c: Likewise.
31915         * nis/nss_nis/nis-alias.c: Likewise.
31916         * nis/nss_nis/nis-ethers.c: Likewise.
31917         * nis/nss_nis/nis-grp.c: Likewise.
31918         * nis/nss_nis/nis-hosts.c: Likewise.
31919         * nis/nss_nis/nis-network.c: Likewise.
31920         * nis/nss_nis/nis-proto.c: Likewise.
31921         * nis/nss_nis/nis-pwd.c: Likewise.
31922         * nis/nss_nis/nis-rpc.c: Likewise.
31923         * nis/nss_nis/nis-service.c: Likewise.
31924         * nis/nss_nis/nis-spwd.c: Likewise.
31925         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31926         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31927         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31928         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31929         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31930         * nis/nss_nisplus/nisplus-network.c: Likewise.
31931         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31932         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31933         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31934         * nis/nss_nisplus/nisplus-service.c: Likewise.
31935         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31936         * nis/ypclnt.c: Likewise.
31937         * nptl/libc_pthread_init.c: Likewise.
31938         * nss/getXXbyYY.c: Likewise.
31939         * nss/getXXent.c: Likewise.
31940         * nss/getXXent_r.c: Likewise.
31941         * nss/nss_db/db-XXX.c: Likewise.
31942         * nss/nss_db/db-netgrp.c: Likewise.
31943         * nss/nss_db/nss_db.h: Likewise.
31944         * nss/nss_files/files-XXX.c: Likewise.
31945         * nss/nss_files/files-alias.c: Likewise.
31946         * nss/nsswitch.c: Likewise.
31947         * posix/regex_internal.h: Likewise.
31948         * posix/wordexp.c: Likewise.
31949         * pwd/fgetpwent.c: Likewise.
31950         * resolv/res_hconf.c: Likewise.
31951         * resolv/res_libc.c: Likewise.
31952         * shadow/fgetspent.c: Likewise.
31953         * shadow/lckpwdf.c: Likewise.
31954         * shadow/sgetspent.c: Likewise.
31955         * socket/opensock.c: Likewise.
31956         * stdio-common/reg-modifier.c: Likewise.
31957         * stdio-common/reg-printf.c: Likewise.
31958         * stdio-common/reg-type.c: Likewise.
31959         * stdio-common/vfprintf.c: Likewise.
31960         * stdio-common/vfscanf.c: Likewise.
31961         * stdlib/abort.c: Likewise.
31962         * stdlib/cxa_atexit.c: Likewise.
31963         * stdlib/fmtmsg.c: Likewise.
31964         * stdlib/random.c: Likewise.
31965         * stdlib/setenv.c: Likewise.
31966         * string/strsignal.c: Likewise.
31967         * sunrpc/auth_none.c: Likewise.
31968         * sunrpc/bindrsvprt.c: Likewise.
31969         * sunrpc/create_xid.c: Likewise.
31970         * sunrpc/key_call.c: Likewise.
31971         * sunrpc/rpc_thread.c: Likewise.
31972         * sysdeps/arm/backtrace.c: Likewise.
31973         * sysdeps/generic/ldsodefs.h: Likewise.
31974         * sysdeps/generic/stdio-lock.h: Likewise.
31975         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31976         * sysdeps/i386/backtrace.c: Likewise.
31977         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31978         * sysdeps/m68k/backtrace.c: Likewise.
31979         * sysdeps/mach/hurd/cthreads.c: Likewise.
31980         * sysdeps/mach/hurd/dirstream.h: Likewise.
31981         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31982         * sysdeps/nptl/malloc-machine.h: Likewise.
31983         * sysdeps/nptl/stdio-lock.h: Likewise.
31984         * sysdeps/posix/dirstream.h: Likewise.
31985         * sysdeps/posix/getaddrinfo.c: Likewise.
31986         * sysdeps/posix/system.c: Likewise.
31987         * sysdeps/pthread/aio_suspend.c: Likewise.
31988         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31989         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31990         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31991         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31992         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31993         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31994         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31995         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31996         * sysdeps/unix/sysv/linux/system.c: Likewise.
31997         * sysdeps/x86_64/backtrace.c: Likewise.
31998         * time/alt_digit.c: Likewise.
31999         * time/era.c: Likewise.
32000         * time/tzset.c: Likewise.
32001         * wcsmbs/wcsmbsload.c: Likewise.
32002         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
32003         instead of <bits/libc-lock.h> in comment.
32005 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
32007         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
32008         Only use .set mips2 if the current ISA is below mips2.
32009         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
32010         Likewise.
32011         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
32012         mips32r2 if the current ISA is below mips32r2.
32013         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
32014         (TLS_IE): Updated to use the TLD_RDHWR macro.
32015         (TLS_LE): Likewise.
32016         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
32017         __ASSEMBLER__ condition.
32019 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32021         Fix parallel build of before-compile targets.
32023         * sysdeps/mach/Makefile ($(patsubst
32024         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
32025         mach-before-compile target.
32026         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32027         io fs process)): Move rule to dedicated hurd-before-compile target.
32029 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32031         Fix rules generating headers in hurd/ and mach/ when initial make call
32032         has subdir= explicitly set.
32034         * sysdeps/mach/Makefile ($(patsubst
32035         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
32036         calling $(MAKE).
32037         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32038         io fs process)): Force subdir to hurd when calling $(MAKE).
32039         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
32040         subdir to mach when calling $(MAKE).
32042 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
32044         Check sysheaders when looking for Mach and Hurd headers
32046         * sysdeps/mach/configure.ac: Add sysheaders check.
32047         * sysdeps/mach/configure: Regenerate.
32048         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
32049         * sysdeps/mach/hurd/configure: Regenerate.
32051 2015-09-04  Roland McGrath  <roland@hack.frob.com>
32053         [BZ #18921]
32054         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
32055         Fix inverted sense of test of 'o_directory_works' value.
32056         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
32057         Bernhard Voelker <mail@bernhard-voelker.de>.
32059 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
32061         [BZ #14912]
32062         * bits/linkmap.h: Move to ...
32063         * sysdeps/generic/linkmap.h: ...here.
32064         * sysdeps/aarch64/bits/linkmap.h: Move to ...
32065         * sysdeps/aarch64/linkmap.h: ...here.
32066         * sysdeps/arm/bits/linkmap.h: Move to ...
32067         * sysdeps/arm/linkmap.h: ...here.
32068         * sysdeps/hppa/bits/linkmap.h: Move to ...
32069         * sysdeps/hppa/linkmap.h: ...here.
32070         * sysdeps/ia64/bits/linkmap.h: Move to ...
32071         * sysdeps/ia64/linkmap.h: ...here.
32072         * sysdeps/mips/bits/linkmap.h: Move to ...
32073         * sysdeps/mips/linkmap.h: ...here.
32074         * sysdeps/s390/bits/linkmap.h: Move to ...
32075         * sysdeps/s390/linkmap.h: ...here.
32076         * sysdeps/sh/bits/linkmap.h: Move to ...
32077         * sysdeps/sh/linkmap.h: ...here.
32078         * sysdeps/x86/bits/linkmap.h: Move to ...
32079         * sysdeps/x86/linkmap.h: ...here.
32080         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
32082 2015-09-04  Andreas Schwab  <schwab@suse.de>
32084         [BZ #18635]
32085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
32086         (__makecontext): Terminate FDE before return label.
32087         (__novec_makecontext): Likewise.
32089 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32091         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
32092         first member of struct sv in syscall macro.
32094 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
32096         [BZ #14912]
32097         * bits/stdio-lock.h: Move to ...
32098         * sysdeps/generic/stdio-lock.h: ...here.
32099         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32100         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
32101         * sysdeps/nptl/stdio-lock.h: ...here.
32102         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32103         * include/libio.h: Include <stdio-lock.h> instead of
32104         <bits/stdio-lock.h>.
32105         * sysdeps/nptl/fork.c: Likewise.
32106         * sysdeps/pthread/flockfile.c: Likewise.
32107         * sysdeps/pthread/ftrylockfile.c: Likewise.
32108         * sysdeps/pthread/funlockfile.c: Likewise.
32110         [BZ #14912]
32111         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
32112         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
32113         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
32114         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
32115         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
32116         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32117         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
32119 2015-09-03  Roland McGrath  <roland@hack.frob.com>
32121         * elf/Makefile (test-xfail-tst-protected1a): New variable.
32122         (test-xfail-tst-protected1b): New variable.
32124 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
32126         [BZ #14912]
32127         * bits/libc-tsd.h: Move to ...
32128         * sysdeps/generic/libc-tsd.h: ...here.
32129         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
32130         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
32131         * sysdeps/mach/hurd/libc-tsd.h: ...here.
32132         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
32133         * include/ctype.h: Include <libc-tsd.h> instead of
32134         <bits/libc-tsd.h>.
32135         * include/rpc/rpc.h: Likewise.
32136         * locale/localeinfo.h: Likewise.
32137         * sunrpc/rpc_thread.c: Likewise.
32138         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
32139         * sysdeps/nptl/malloc-machine.h: Likewise.
32141         * Makefile (headers): Remove bits/libc-lock.h.
32142         * libio/Makefile (headers): Remove bits/stdio-lock.h.
32144         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
32145         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
32146         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
32147         <bits/stdio-lock.h>.
32148         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
32149         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
32151 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
32153         [BZ #18757]
32154         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
32155         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
32156         BZ #18757.
32158 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
32160         * malloc/mtrace.pl: Filter out NULL entries.
32162 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
32164         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32165         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32166         macro.
32168         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32169         (TCP_CC_INFO): Likewise.
32170         (TCP_SAVE_SYN): Likewise.
32171         (TCP_SAVED_SYN): Likewise.
32173 2015-08-31  Brett Neumeier <brett@neumeier.us>
32175         [BZ #18870]
32176         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32178 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
32180         [BZ #18873]
32181         Fix broken overflow check in posix_fallocate
32182         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32183         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32184         Fix parenthesization typo.
32186 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
32188         [BZ #18887]
32189         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32190         tst-mntent-blank-passno.
32191         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32192         * misc/tst-mntent-blank-corrupt.c: New test.
32193         * misc/tst-mntent-blank-passno.c: New test ripped from ...
32194         * misc/tst-mntent.c (do_test): ... here.
32196 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
32198         [BZ #4404]
32199         * po/de.po: Fix SIGALRM typo.
32201 2015-08-28  James Perkins  <james@loowit.net>
32203         * time/tst-strptime2.c (tests): Replace short list of test
32204         strings for strptime %z specifier with code which exhaustively
32205         tests every combination of sign and 0 to 5 digits. Tests for
32206         rejection of invalid strings.
32208 2015-08-28  James Perkins  <james@loowit.net>
32210         [BZ #16141]
32211         * time/strptime_l.c (__strptime_internal): Fix %z minutes
32212         calculation, removing incorrect decimal time rounding, so that
32213         all minute values result in a valid seconds value.
32214         * time/strptime_l.c (__strptime_internal): Extend %z time zone
32215         offset range limits to UTC-99:59 through UTC+99:59 to parse
32216         current and historical use cases.
32217         * time/tst-strptime2.c (tests): Modify and add tests for the
32218         strptime %z input field descriptor, specifically conversion of
32219         minutes to seconds and validating an offset range of -9959 to
32220         +9959.
32222 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32223             Dmitry V. Levin  <ldv@altlinux.org>
32225         [BZ #18877]
32226         * posix/Makefile (tests): Add tst-mmap-offset.
32227         * posix/tst-mmap.c: New file.
32228         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32229         offset calculation for negative values.
32231 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32233         * sysdeps/i386/init-arch.h: New file.
32234         * sysdeps/i386/i586/init-arch.h: Likewise.
32235         * sysdeps/i386/i686/init-arch.h: Likewise.
32236         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32237         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
32238         * sysdeps/x86/cpu-features.h (bit_I586): New.
32239         (bit_I686): Likewise.
32240         (bit_CX8): Likewise.
32241         (bit_CMOV): Likewise.
32242         (index_CX8): Likewise.
32243         (index_CMOV): Likewise.
32244         (index_I586): Likewise.
32245         (index_I686): Likewise.
32246         (reg_CX8): Likewise.
32247         (reg_CMOV): Likewise.
32248         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32249         available at compile-time.
32250         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32251         available at compile-time.
32252         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32253         (USE_I686): Likewise.
32255 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32257         * sysdeps/i386/bcopy.S: New file.
32258         * sysdeps/i386/bzero.S: Likewise.
32259         * sysdeps/i386/memcpy.S: Likewise.
32260         * sysdeps/i386/memmove.S: Likewise.
32261         * sysdeps/i386/mempcpy.S: Likewise.
32262         * sysdeps/i386/memset.S: Likewise.
32263         * sysdeps/i386/bzero.c: Removed.
32264         * sysdeps/i386/memset.c: Likewise.
32265         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32266         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32267         * sysdeps/i386/i586/memset_chk.S: Likewise.
32268         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32269         * sysdeps/i386/memcpy_chk.S: Here.
32270         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32271         * sysdeps/i386/memmove_chk.S: Here.
32272         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32273         * sysdeps/i386/mempcpy_chk.S: Likewise.
32274         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32275         * sysdeps/i386/memset_chk.S: Likewise.
32277 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32279         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32280         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32281         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32282         * soft-fp/fmadf4.c: Ditto.
32283         * soft-fp/fmatf4.c: Ditto.
32285 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32287         * sysdeps/i386/i586/Implies: Removed.
32288         * sysdeps/i386/i686/Implies: Likewise.
32290 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32292         * sysdeps/i386/i486/strlen.S: Moved to ...
32293         * sysdeps/i386/strlen.S: Here.
32295 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32297         * sysdeps/i386/i486/strcat.S: Moved to ...
32298         * sysdeps/i386/strcat.S: Here.
32300 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32302         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32303         * sysdeps/i386/pthread_spin_trylock.S: Here.
32304         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32305         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32307 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32309         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32310         * sysdeps/i386/string-inlines.c: Here.
32312 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32314         * sysdeps/i386/i486/htonl.S: Moved ...
32315         * sysdeps/i386/htonl.S: here.
32317 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32319         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32320         * sysdeps/i386/bits/atomic.h: Here.
32322 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32324         * sysdeps/i386/i486/Versions: Removed.
32326 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32328         [BZ #2898]
32329         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32330         Based on patch by Aurelien Jarno.
32332 2015-08-26  Stan Shebs  <stanshebs@google.com>
32334         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32335         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32337 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32339         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32340         * sysdeps/powerpc/dl-procinfo.c:
32341         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32342         feature so it shows when LD_SHOW_AUXV=1.
32344 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32346         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32347         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32348         definition.  ISA 2.07B no longer requires full sync.
32350 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32352         [BZ #18863]
32353         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32354         (si_call_addr): Define.
32355         (si_syscall): Define.
32356         (si_arch): Define.
32358 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32360         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32361         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32362         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32363         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32364         (__memset_zero_constant_len_parameter): New.
32365         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32366         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32367         (__memset_zero_constant_len_parameter): Don't define if
32368         __memset_chk or USE_AS_BZERO are defined.
32370         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32371         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32372         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32374         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32375         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32376         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32377         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32378         comments.
32379         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32380         -mno-mmx for $(all-rtld-routines).
32381         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32382         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32383         i386.
32385 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32387         * sysdeps/generic/unwind.h
32388         (_Unwind_Word): Use __mode__(__unwind_word__)
32389         instead of __mode__(__word__).
32390         (_Unwind_Sword): Likewise.
32392         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32393         (MAX_NEEDED_INPUT): New define.
32394         (MAX_NEEDED_OUTPUT): New define.
32396         * NEWS: New item for IBM z13 string optimizations.
32398         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32399         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32400         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32401         * sysdeps/s390/multiarch/Makefile
32402         (sysdep_routines): Add memrchr functions.
32403         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32404         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32406         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32407         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32408         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32409         * sysdeps/s390/multiarch/Makefile
32410         (sysdep_routines): Add wmemcmp functions.
32411         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32412         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32413         * benchtests/bench-wmemcmp.c: New File.
32414         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32416         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32417         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32418         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32419         * sysdeps/s390/multiarch/Makefile
32420         (sysdep_routines): Add wmemset functions.
32421         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32422         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32423         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32424         * string/test-memset.c: Add wmemset support.
32425         * wcsmbs/test-wmemset.c: New File.
32426         * wcsmbs/Makefile (strop-tests): Add wmemset.
32427         * benchtests/bench-memset.c: Add wmemset support.
32428         * benchtests/bench-wmemset.c: New File.
32429         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32431         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32432         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32433         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32434         * sysdeps/s390/multiarch/Makefile
32435         (sysdep_routines): Add memccpy functions.
32436         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32437         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32438         * string/memccpy.c: Use MEMCCPY if defined.
32440         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32441         * sysdeps/s390/multiarch/memchr.c: Likewise.
32442         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32443         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32444         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32445         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32446         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32447         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32448         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32449         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32450         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32451         and rawmemchr functions.
32452         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32453         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32454         and wmemchr.
32455         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32456         * string/test-memchr.c: Add wmemchr support.
32457         * wcsmbs/test-wmemchr.c: New File.
32458         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32459         * benchtests/bench-memchr.c: Add wmemchr support.
32460         * benchtests/bench-wmemchr.c: New File.
32461         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32463         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32464         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32465         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32466         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32467         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32468         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32469         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32470         wcscspn functions.
32471         * sysdeps/s390/multiarch/ifunc-impl-list.c
32472         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32473         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32474         * string/test-strcspn.c: Add wcscspn support.
32475         * wcsmbs/test-wcscspn.c: New File.
32476         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32477         * benchtests/bench-strcspn.c: Add wcscspn support.
32478         * benchtests/bench-wcscspn.c: New File.
32479         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32481         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32482         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32483         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32484         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32485         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32486         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32487         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32488         wcspbrk functions.
32489         * sysdeps/s390/multiarch/ifunc-impl-list.c
32490         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32491         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32492         * string/test-strpbrk.c: Add wcspbrk support.
32493         * wcsmbs/test-wcspbrk.c: New File.
32494         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32495         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32496         * benchtests/bench-wcspbrk.c: New File.
32497         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32499         * sysdeps/s390/multiarch/strspn-c.c: New File.
32500         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32501         * sysdeps/s390/multiarch/strspn.c: Likewise.
32502         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32503         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32504         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32505         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32506         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32507         wcsspn functions.
32508         * sysdeps/s390/multiarch/ifunc-impl-list.c
32509         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32510         * string/test-strspn.c: Add wcsspn support.
32511         * wcsmbs/test-wcsspn.c: New File.
32512         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32513         * benchtests/bench-strspn.c: Add wcsspn support.
32514         * benchtests/bench-wcsspn.c: New File.
32515         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32517         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32518         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32519         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32520         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32521         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32522         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32523         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32524         wcsrchr functions.
32525         * sysdeps/s390/multiarch/ifunc-impl-list.c
32526         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32527         * benchtests/bench-wcsrchr.c: New File.
32528         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32530         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32531         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32532         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32533         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32534         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32535         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32536         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32537         wcschrnul functions.
32538         * sysdeps/s390/multiarch/ifunc-impl-list.c
32539         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32540         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32541         * string/test-strchr.c: Add wcschrnul support.
32542         * wcsmbs/test-wcschrnul.c: New File.
32543         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32544         * benchtests/bench-strchr.c: Add wcschrnul support.
32545         * benchtests/bench-wcschrnul.c: New File.
32546         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32548         * sysdeps/s390/multiarch/strchr-c.c: New File.
32549         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32550         * sysdeps/s390/multiarch/strchr.c: Likewise.
32551         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32552         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32553         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32554         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32555         wcschr functions.
32556         * sysdeps/s390/multiarch/ifunc-impl-list.c
32557         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32558         * string/strchr.c (STRCHR): Define and use macro.
32559         * benchtests/bench-wcschr.c: New File.
32560         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32562         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32563         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32564         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32565         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32566         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32567         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32568         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32569         wcsncmp functions.
32570         * sysdeps/s390/multiarch/ifunc-impl-list.c
32571         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32572         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32573         * benchtests/bench-strncmp.c: Add wcsncmp support.
32574         * benchtests/bench-wcsncmp.c: New File.
32575         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32577         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32578         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32579         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32580         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32581         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32582         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32583         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32585         wcscmp functions.
32586         * sysdeps/s390/multiarch/ifunc-impl-list.c
32587         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32588         * string/strcmp.c (STRCMP): Define and use macro.
32589         * benchtests/bench-wcscmp.c: New File.
32590         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32591         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32592         instead of _HAVE_STRING_ARCH_memchr.
32594         * sysdeps/s390/multiarch/strncat-c.c: New File.
32595         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32596         * sysdeps/s390/multiarch/strncat.c: Likewise.
32597         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32598         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32599         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32600         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32601         wcsncat functions.
32602         * sysdeps/s390/multiarch/ifunc-impl-list.c
32603         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32604         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32605         * string/test-strncat.c: Add wcsncat support.
32606         * wcsmbs/test-wcsncat.c: New File.
32607         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32608         * benchtests/bench-strncat.c: Add wcsncat support.
32609         * benchtests/bench-wcsncat.c: New File.
32610         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32612         * sysdeps/s390/multiarch/strcat-c.c: New File.
32613         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32614         * sysdeps/s390/multiarch/strcat.c: Likewise.
32615         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32616         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32617         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32618         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32619         wcscat functions.
32620         * sysdeps/s390/multiarch/ifunc-impl-list.c
32621         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32622         * string/strcat.c (STRCAT): Define and use macro.
32623         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32624         * string/test-strcat.c: Add wcscat support.
32625         * wcsmbs/test-wcscat.c: New File.
32626         * wcsmbs/Makefile (strop-tests): Add wcscat.
32627         * benchtests/bench-strcat.c: Add wcscat support.
32628         * benchtests/bench-wcscat.c: New File.
32629         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32631         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32632         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32633         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32634         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32635         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32636         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32637         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32638         wcpncpy functions.
32639         * sysdeps/s390/multiarch/ifunc-impl-list.c
32640         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32641         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32642         * string/test-stpncpy.c: Add wcpncpy support.
32643         * wcsmbs/test-wcpncpy.c: New File.
32644         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32645         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32646         * benchtests/bench-wcpncpy.c: New File.
32647         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32649         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32650         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32651         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32652         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32653         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32654         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32655         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32656         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32657         wcsncpy functions.
32658         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32659         * sysdeps/s390/multiarch/ifunc-impl-list.c
32660         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32661         * string/test-strncpy.c: Add wcsncpy support.
32662         * wcsmbs/test-wcsncpy.c: New File.
32663         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32664         * benchtests/bench-strncpy.c: Add wcsncpy support.
32665         * benchtests/bench-wcsncpy.c: New File.
32666         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32668         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32669         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32670         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32671         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32672         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32673         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32674         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32675         wcpcpy functions.
32676         * string/stpcpy.c: Use STPCPY if defined.
32677         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32678         * sysdeps/s390/multiarch/ifunc-impl-list.c
32679         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32680         * string/test-stpcpy.c: Add wcpcpy support.
32681         * wcsmbs/test-wcpcpy.c: New File.
32682         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32683         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32684         * benchtests/bench-wcpcpy.c: New File.
32685         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32687         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32688         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32689         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32690         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32691         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32692         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32693         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32694         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32695         wcscpy functions.
32696         * sysdeps/s390/multiarch/ifunc-impl-list.c
32697         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32698         * benchtests/bench-wcscpy.c: New File.
32699         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32701         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32702         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32703         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32704         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32705         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32706         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32707         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32708         wcsnlen functions.
32709         * sysdeps/s390/multiarch/ifunc-impl-list.c
32710         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32711         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32712         * string/test-strnlen.c: Add wcsnlen support.
32713         * wcsmbs/test-wcsnlen.c: New File.
32714         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32715         * benchtests/bench-strnlen.c: Add wcsnlen support.
32716         * benchtests/bench-wcsnlen.c: New File.
32717         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32719         * sysdeps/s390/multiarch/Makefile: New File.
32720         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32721         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32722         * sysdeps/s390/multiarch/strlen.c: Likewise.
32723         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32724         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32725         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32726         * string/strlen.c (STRLEN): Define and use macro.
32727         * sysdeps/s390/multiarch/ifunc-impl-list.c
32728         (IFUNC_VX_IMPL): New macro function.
32729         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32730         * benchtests/Makefile (wcsmbs-bench): New variable.
32731         (string-bench-all): Added wcsmbs-bench.
32732         * benchtests/bench-wcslen.c: New File.
32734         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32735         s390_vx_libc_ifunc2): New macro function.
32737         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32738         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32739         assembler support.
32740         * sysdeps/s390/configure: Regenerated.
32742         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32743         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32745         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32746         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32747         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32749         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32750         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32751         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32752         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32753         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32754         (memcmp, bcmp): Use __memcmp_default as alias source.
32755         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32756         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32757         Rename to __memcmp_default.
32758         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32759         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32760         (memcpy): Use __memcpy_default as alias source.
32761         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32762         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32763         Rename to __memcpy_default.
32764         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32765         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32766         (memset): Use __memset_default as alias source.
32767         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32768         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32769         Rename to __memset_default.
32770         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32771         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32772         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32773         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32774         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32775         (memcmp, bcmp): Use __memcmp_default as alias source.
32776         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32777         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32778         Rename to __memcmp_default.
32779         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32780         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32781         (memcpy): Use __memcpy_default as alias source.
32782         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32783         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32784         Rename to __memcpy_default.
32785         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32786         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32787         (memset): Use __memset_default as alias source.
32788         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32789         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32790         Rename to __memset_default.
32791         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32792         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32794         [BZ #18610]
32795         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32796         __ieee_instruction_pointer to __unused.
32797         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32798         __ieee_instruction_pointer.
32799         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32800         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32801         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32802         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32803         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32804         Mark dxc-field as reserved.
32806 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32808         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32809         if the weak reference is not null.
32811 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32813         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32815         [BZ #11214]
32816         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32818 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32820         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32821         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32822         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32823         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32824         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32825         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32826         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32827         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32828         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32829         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32830         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32831         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32832         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32833         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32834         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32835         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32836         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32837         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32839 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32841         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32842         register other than r0 for tabort, it has special meaning.
32843         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32844         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32845         transaction before starting syscall.
32847 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32849         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32851 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32853         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32855         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32856         * sysdeps/x86_64/rtld-memset.S: Likewise.
32857         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32858         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32859         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32860         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32862         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32864 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
32866         * debug/strcpy_chk.c: Improve performance.
32867         * debug/stpcpy_chk.c: Likewise.
32868         * sysdeps/x86_64/strcpy_chk.S: Remove.
32869         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32871         [BZ #18240]
32872         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32874 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32876         [BZ #15128]
32877         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32878         ifuncmain8.
32879         (modules-names): Add ifuncmod8.
32880         ($(objpfx)ifuncmain8): New rule.
32881         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32882         <cpuid.h>.
32883         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32884         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32885         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32886         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32887         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32888         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32889         * sysdeps/x86_64/ifuncmain8.c: New file.
32890         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32891         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32892         Removed.
32893         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32894         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32895         Change rtld_savespace_sse to __glibc_unused2.
32896         (RTLD_CHECK_FOREIGN_CALL): Removed.
32897         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32898         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32899         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32901 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32903         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32905 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32907         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32908         Unconditionally set __fpcr to avoid uninialized warning.
32909         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32911 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32913         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32914         is corrupt.
32916         * malloc/arena.c (arena_get2): Drop unused argument.
32917         (arena_lock): Adjust.
32918         (arena_get_retry): Likewise.
32920 2015-08-24  Andreas Schwab  <schwab@suse.de>
32922         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32923         Don't define.
32924         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32925         (__ASSUME_IPC64): Don't undef.
32926         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32927         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32928         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32929         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32930         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32931         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32932         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32933         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32934         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32935         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32936         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32937         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32938         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32939         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32940         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32941         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32942         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32943         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32944         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32945         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32946         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32948 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32950         * manual/Makefile (install): Only build manual when perl is available.
32952 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32954         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32955         '#undef memcpy' by '#undef memchr'.
32957 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32959         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32960         memchr not point to the internal __GI_memchr implementation.
32962 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32964         * timezone/Makefile (CFLAGS-zdump.c): Remove
32965         -Wno-strict-prototypes.
32966         (CFLAGS-zic.c): Likewise.
32967         (CFLAGS-ialloc.c): Likewise.
32968         (CFLAGS-scheck.c): Likewise.
32970         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32971         -Wno-error=undef.
32973 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32975         * i386/i686/multiarch/strcasestr-c.c: Removed.
32976         * x86_64/multiarch/strcasestr.c: Likewise.
32977         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32978         Remove strcasestr.
32980 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32982         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32984         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32985         variables for high and low parts before possibly modifying them.
32987 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32989         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32990         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32991         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32992         of "multiarch/init-arch.h".
32993         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32994         * sysdeps/x86/init-arch.h: This.
32996 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32998         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32999         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
33001 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
33003         [BZ #17787]
33004         * manual/macros.texi: Add twoexp macro.
33005         * manual/filesys.texi: Fix exponents.
33006         * manual/llio.texi: Likewise.
33007         * manual/stdio.texi: Likewise.
33009 2015-08-20  Florian Weimer  <fweimer@redhat.com>
33011         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
33012         incorrect use.
33014 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
33016         [BZ #18370]
33017         * math/s_csqrt.c (__csqrt): Force underflow exception for results
33018         whose real or imaginary part has small absolute value.
33019         * math/s_csqrtf.c (__csqrtf): Likewise.
33020         * math/s_csqrtl.c (__csqrtl): Likewise.
33021         * math/auto-libm-test-in: Add more tests of csqrt.
33022         * math/auto-libm-test-out: Regenerated.
33023         * sysdeps/i386/fpu/libm-test-ulps: Update.
33025 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
33027         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
33028         __ppc_set_ppr_very_low): New functions.
33029         * manual/platform.texi: Add documentation about
33030         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
33032 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
33034         * string/stpncpy.c (stpncpy): Improve performance using
33035         __strnlen/memcpy/memset.
33037 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33039         [BZ #18796]
33040         * scripts/test-installation.pl: Don't add -lmvec to build options if
33041         libmvec wasn't built.
33043 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
33045         [BZ #14341]
33046         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
33047         case when there is a gap between DT_REL and DT_JMPREL sections.
33048         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
33049         (LDFLAGS-tst-split-dynreloc): New.
33050         (tst-split-dynreloc-ENV): Likewise.
33051         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
33052         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
33054 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33056         [BZ #18822]
33057         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
33058         attribute_hidden.
33059         (__xstat64_conv): Likewise.
33060         (__xstat32_conv): Likewise.
33062 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33064         [BZ #18822]
33065         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
33066         Don't load %ebx when calling __setcontext.  Call __setcontext
33067         with HIDDEN_JUMPTARGET.
33068         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
33069         libc_hidden_def.
33071 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33073         * sysdeps/i386/i686/Makefile
33074         [$(subdir) == string] (sysdep_routines): Moved to ...
33075         * sysdeps/i386/Makefile: Here.
33076         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
33077         * sysdeps/i386/cacheinfo.c: Here.
33078         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
33079         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
33080         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
33081         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
33083 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33085         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
33086         __i586__ is defined.
33087         (HAS_I686): Defined to 1 if __i686__ is defined.
33089 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
33091         * elf/Makefile [$(have-z-execstack) = yes]
33092         (CPPFLAGS-tst-execstack.c): New variable.
33094         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
33095         conditional to [defined UTMPX || _HAVE_UT_TYPE].
33096         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
33097         UTMPX || _HAVE_UT_TV].
33098         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
33099         UTMPX || _HAVE_UT_TV - 0].
33101 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
33103         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
33104         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
33105         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
33107 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
33109         * sysdeps/powerpc/dl-procinfo.c:
33110         (_dl_powerpc_cap_flags): Added missing strings for some
33111         hwcap features.
33112         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
33114 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
33116         Port the 0x7efe...feff pattern to GCC 6.
33117         See Steve Ellcey's bug report in:
33118         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
33119         * string/memrchr.c (MEMRCHR):
33120         * string/rawmemchr.c (RAWMEMCHR):
33121         * string/strchr.c (strchr):
33122         * string/strchrnul.c (STRCHRNUL):
33123         Rewrite code to avoid issues with signed shift overflow.
33125 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
33127         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
33128         whether cpuid is available only if HAS_CPUID is 0.
33129         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
33130         (HAS_I586): Likewise.
33131         (HAS_I686): Likewise.
33133 2015-08-18  Zack Weinberg  <zackw@panix.com>
33135         * misc/Versions (libc): Add GLIBC_2.23.
33137 2015-08-18  Alan Modra  <amodra@gmail.com>
33139         [BZ #18421]
33140         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
33141         .Lp__global.
33142         (_start): Load %dp via .Lp__global.
33143         [!SHARED]: Use .section .rodata.
33145 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33147         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
33148         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
33150 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33152         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
33153         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
33155 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33157         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
33158         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
33160 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33162         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33163         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33165 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33167         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33168         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33170 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33172         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33173         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33175 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33177         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33179 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33181         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33182         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
33183         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33184         (__ASSUME_LWS_CAS): Delete.
33186 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33188         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33189         * sysdeps/hppa/configure: Regenerated.
33190         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33191         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33192         * sysdeps/hppa/nptl/tls.h: Likewise.
33194 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
33196         [BZ #18823]
33197         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33198         for scaling up small arguments.
33199         * math/s_csqrtf.c (__csqrtf): Likewise.
33200         * math/s_csqrtl.c (__csqrtl): Likewise.
33201         * math/auto-libm-test-in: Add more tests of csqrt.
33202         * math/auto-libm-test-out: Regenerated.
33204 2015-08-17  Andreas Schwab  <schwab@suse.de>
33206         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33207         version set GLIBC_2.19.
33209 2015-08-16  Zack Weinberg  <zackw@panix.com>
33211         [BZ #18681]
33212         * misc/regexp.h: This interface is no longer supported.
33213         Remove all contents, leaving only an #error directive.
33214         * misc/regexp.c (loc1, loc2, locs, step, advance):
33215         Demote to compatibility symbols.
33217 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
33219         [BZ #18084]
33220         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33221         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33222         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33223         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33224         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33225         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33226         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33227         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33228         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33230 2015-08-15  Zack Weinberg  <zackw@panix.com>
33232         [BZ #18795]
33233         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33234         buffer length is known to be too large, not if it's known to be
33235         small enough.
33236         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33237         overflow at runtime, involving a length parameter, twice: once
33238         with a compile-time constant length parameter, once without.
33240 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #18824]
33243         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33244         scaling x * y up instead of down.
33245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33246         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33247         * math/auto-libm-test-in: Add more tests of fma.
33248         * math/auto-libm-test-out: Regenerated.
33250 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33252         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33254 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33256         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33257         unnecessary movq.
33258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33259         Likewise.
33261 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33263         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33264         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33265         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33266         and tgamma.
33267         * math/auto-libm-test-out: Regenerated.
33268         * sysdeps/i386/fpu/libm-test-ulps: Update.
33269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33271         [BZ #16520]
33272         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33273         (__tanh): Force underflow exception for arguments with small
33274         absolute value.
33275         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33276         (__tanhf): Force underflow exception for arguments with small
33277         absolute value.
33278         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33279         (__tanhl): Force underflow exception for arguments with small
33280         absolute value.
33281         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33282         (__tanhl): Force underflow exception for arguments with small
33283         absolute value.
33284         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33285         (__tanhl): Force underflow exception for arguments with small
33286         absolute value.
33287         * math/auto-libm-test-in: Add more tests of tanh.
33288         * math/auto-libm-test-out: Regenerated.
33289         * sysdeps/i386/fpu/libm-test-ulps: Update.
33291 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33293         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33294         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33296 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33298         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33299         <cpuid.h>.
33301 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33303         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33304         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33306 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33308         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33309         Remove $(objpfx)init-arch.o.
33310         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33311         init-arch.
33312         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33313         (INIT_ARCH_EXT): Defined as empty.
33314         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33315         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33316         __init_cpu_features call.  Replace HAS_XXX with
33317         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33318         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33320         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33321         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33322         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33323         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33324         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33325         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33326         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33329         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33330         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33332         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33335         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33338         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33339         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33341         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33342         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33344         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33347         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33348         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33350         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33354 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33356         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33357         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33358         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33359         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33360         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33361         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33362         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33363         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33364         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33365         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33366         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33367         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33368         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33369         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33370         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33371         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33372         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33373         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33374         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33375         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33376         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33377         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33378         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33379         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33380         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33381         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33382         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33383         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33384         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33385         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33386         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33387         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33388         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33389         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33390         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33391         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33392         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33393         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33394         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33395         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33396         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33397         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33398         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33400 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33402         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33403         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33404         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33405         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33406         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33407         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33408         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33409         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33410         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33411         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33412         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33413         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33414         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33415         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33416         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33417         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33418         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33419         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33420         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33421         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33422         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33423         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33424         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33425         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33426         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33427         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33428         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33429         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33430         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33431         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33432         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33433         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33434         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33435         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33436         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33437         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33438         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33439         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33440         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33441         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33442         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33443         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33444         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33446 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33448         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33449         (dl_platform_init): Call init_cpu_features.
33450         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33451         * sysdeps/i386/i686/cacheinfo.c
33452         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33453         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33454         * sysdeps/i386/i686/multiarch/Versions: Removed.
33455         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33456         Removed.
33457         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33458         * sysdeps/unix/sysv/linux/x86/Makefile
33459         (libpthread-sysdep_routines): Remove init-arch.
33460         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33461         <sysdeps/x86_64/dl-procinfo.c> instead of
33462         sysdeps/generic/dl-procinfo.c>.
33463         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33464         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33465         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33466         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33467         [$(subdir) == elf] (tests-static): Add
33468         tst-get-cpu-features-static.
33469         * sysdeps/x86/Versions: New file.
33470         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33471         * sysdeps/x86/cpu-features.c: Likewise.
33472         * sysdeps/x86/cpu-features.h: Likewise.
33473         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33474         * sysdeps/x86/libc-start.c: Likewise.
33475         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33476         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33477         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33478         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33479         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33480         Assume USE_MULTIARCH is defined and don't check it.
33481         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33482         (is_amd): Likewise.
33483         (max_cpuid): Likewise.
33484         (intel_check_word): Likewise.
33485         (__cache_sysconf): Don't call __init_cpu_features.
33486         (__x86_preferred_memory_instruction): Removed.
33487         (init_cacheinfo): Don't call __init_cpu_features. Replace
33488         __cpu_features with GLRO(dl_x86_cpu_features).
33489         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33490         (dl_platform_init): Call init_cpu_features.
33491         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33492         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33493         * sysdeps/x86_64/multiarch/Versions: Removed.
33494         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33495         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33496         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33497         Removed.
33498         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33500 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33502         [BZ #18820]
33503         * libio/Makefile (test-fmemopen-mem): New test.
33504         * libio/test-fmemopen.c (do_bz18820): New test.
33505         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33506         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33508 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33510         [BZ #16734]
33511         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33512         (FREE_BUF): Delete.
33513         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33514         * libio/genops.c (_IO_setb): Use malloc and free directly.
33515         (_IO_default_doallocate, _IO_default_finish): Likewise.
33516         ( _IO_unbuffer_all): Likewise.
33517         ( libc_freeres_fn): Likewise.
33518         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33519         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33520         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33521         (_IO_wdefault_doallocate): Likewise.
33523 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33525         [BZ #18086]
33526         * sysdeps/posix/nice.c (nice): Restore old errno.
33527         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33529 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33531         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33533 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33535         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33536         __bcopy and add a weak_alias to bcopy.
33537         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33538         for static build.
33540         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33541         cleanup macro usage.
33542         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33543         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33545         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33546         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33547         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33548         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33549         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33550         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33551         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33552         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33553         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33554         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33555         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33556         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33558         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33560         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33562         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33563         libc_hidden_def.
33564         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33566         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33567         (sysdep_routines): Add strstr-ppc64.
33568         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33570 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33572         [BZ #18778]
33573         * elf/Makefile (tests): Add Add tst-nodelete2.
33574         (modules-names): Add tst-nodelete2mod.
33575         (tst-nodelete2mod.so-no-z-defs): New.
33576         ($(objpfx)tst-nodelete2): Likewise.
33577         ($(objpfx)tst-nodelete2.out): Likewise.
33578         (LDFLAGS-tst-nodelete2): Likewise.
33579         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33580         out of loop through all loaded libraries.
33581         * elf/tst-nodelete2.c: New file.
33582         * elf/tst-nodelete2mod.c: Likewise.
33583         * elf/tst-znodelete-zlib.cc: Delete.
33585 2015-08-11  Andreas Schwab  <schwab@suse.de>
33587         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33588         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33589         (__openat64_nocancel): Likewise.
33591 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33593         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33594         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33595         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33596         * math/auto-libm-test-out: Regenerated.
33597         * sysdeps/i386/fpu/libm-test-ulps: Update.
33598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33600 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33602         [BZ #18790]
33603         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33604         threshold for returning +/- 1.
33605         * math/auto-libm-test-in: Add more tests of tanh.
33606         * math/auto-libm-test-out: Regenerated.
33607         * sysdeps/i386/fpu/libm-test-ulps: Update.
33609 2015-08-10  Andreas Schwab  <schwab@suse.de>
33611         [BZ #18781]
33612         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33613         MORE_OFLAGS to oflag.
33614         * io/test-lfs.c (do_test): Test openat64.
33616 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33618         [BZ #18789]
33619         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33620         smaller threshold for returning the argument.
33621         * math/auto-libm-test-in: Add more tests of sinh.
33622         * math/auto-libm-test-out: Regenerated.
33623         * sysdeps/i386/fpu/libm-test-ulps: Update.
33625 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33627         [BZ #18674]
33628         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33629         break.
33631 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33633         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33634         (generated): Don't add $(addprefix z.,$(tzfiles)).
33636 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33638         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33639         * scripts/sysd-rules.awk: Likewise.
33641 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33643         * iconvdata/tst-tables.sh: Change echo -n to printf.
33644         * nss/db-Makefile: Likewise.
33645         * posix/tst-getconf.sh: Likewise.
33646         * stdio-common/tst-unbputc.sh: Likewise.
33648 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33650         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33651         MADV_*_PAGES defines behind this feature check.
33653 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33655         [BZ #18480]
33656         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33657         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33658         Define.
33659         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33660         LOAD_REGS_5, LOAD_REGS_6): Update.
33661         (INTERNAL_SYSCALL): Update using new LOAD defines.
33662         (INTERNAL_SYSCALL_NCS): Likewise.
33663         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33665 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33667         [BZ #16734]
33668         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33670 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33672         [BZ #17905]
33673         * catgets/Makefile (tst-catgets-mem): New test.
33674         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33675         * catgets/open_catalog.c (__open_catalog): Likewise.
33676         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33678 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33680         [BZ #18787]
33681         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33682         clobber registers.
33683         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33684         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33685         Cast return to __typeof (oldval).
33687 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33689         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33690         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33691         and delete sys/syscall.h include.
33693 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33695         [BZ #16517]
33696         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33697         (tan): Force underflow exception for arguments with small absolute
33698         value.
33699         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33700         (__kernel_tanf): Force underflow exception for arguments with
33701         small absolute value.
33702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33703         (__kernel_tanl): Force underflow exception for arguments with
33704         small absolute value.
33705         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33706         (__kernel_tanl): Force underflow exception for arguments with
33707         small absolute value.
33708         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33709         (__kernel_tanl): Force underflow exception for arguments with
33710         small absolute value.
33711         * math/auto-libm-test-in: Add more tests of tan.
33712         * math/auto-libm-test-out: Regenerated.
33714 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33716         Fix sysdeps/i386/fpu/s_scalbn.S build
33718         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33720 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33722         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33724 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33726         Fix gcrt0.o compilation
33728         When static-start-installed-name is different from
33729         start-installed-name, we must not use the shared objects.
33731         * csu/Makefile
33732         (extra-objs): Add gmon-start.o when building shared library and
33733         $(static-start-installed-name) is different from
33734         $(start-installed-name).
33735         $(objpfx)g$(static-start-installed-name): When building shared
33736         library and $(static-start-installed-name) is different from
33737         $(static-start-installed-name), revert to non-shared rule,
33738         i.e. using $(objpfx)% and gmon-start.o.
33740 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33742         [BZ #16519]
33743         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33744         (__ieee754_sinh): Force underflow exception for arguments with
33745         small absolute value.
33746         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33747         (__ieee754_sinhf): Force underflow exception for arguments with
33748         small absolute value.
33749         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33750         (__ieee754_sinhl): Force underflow exception for arguments with
33751         small absolute value.
33752         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33753         (__ieee754_sinhl): Force underflow exception for arguments with
33754         small absolute value.
33755         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33756         (__ieee754_sinhl): Force underflow exception for arguments with
33757         small absolute value.
33758         * math/auto-libm-test-in: Add more tests of sinh.
33759         * math/auto-libm-test-out: Regenerated.
33760         * sysdeps/i386/fpu/libm-test-ulps: Update.
33762 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33764         * libio/oldfileops.c: Include unistd.h.
33766 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33768         * stdlib/isomac.c: Include ctype.h.
33770 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33772         * dirent/tst-seekdir.c (main): Converted to ...
33773         (do_test): ... this.
33774         (TEST_FUNCTION): New macro.
33775         Include test-skeleton.c.
33776         * elf/tst-dlmodcount.c (main): Converted to ...
33777         (do_test): ... this.
33778         (TEST_FUNCTION): New macro.
33779         Include test-skeleton.c.
33780         * elf/tst-order-main.c (main): Converted to ...
33781         (do_test): ... this.
33782         (TEST_FUNCTION): New macro.
33783         Include test-skeleton.c.
33784         * elf/tst-pie2.c (main): Converted to ...
33785         (do_test): ... this.
33786         (TEST_FUNCTION): New macro.
33787         Include test-skeleton.c.
33788         * inet/tst-ether_aton.c (main): Converted to ...
33789         (do_test): ... this.
33790         (TEST_FUNCTION): New macro.
33791         Include test-skeleton.c.
33792         * misc/tst-mntent.c (main): Converted to ...
33793         (do_test): ... this.
33794         (TEST_FUNCTION): New macro.
33795         Include test-skeleton.c.
33796         * misc/tst-tsearch.c (main): Converted to ...
33797         (do_test): ... this.
33798         (TEST_FUNCTION): New macro.
33799         Include test-skeleton.c.
33800         * posix/tst-regexloc.c (main): Converted to ...
33801         (do_test): ... this.
33802         (TEST_FUNCTION): New macro.
33803         Include test-skeleton.c.
33804         * resolv/tst-aton.c (main): Converted to ...
33805         (do_test): ... this.
33806         (TEST_FUNCTION): New macro.
33807         Include test-skeleton.c.
33808         * stdio-common/test-fwrite.c (main): Converted to ...
33809         (do_test): ... this.
33810         (TEST_FUNCTION): New macro.
33811         Include test-skeleton.c.
33812         * stdio-common/tst-ferror.c (main): Converted to ...
33813         (do_test): ... this.
33814         (TEST_FUNCTION): New macro.
33815         Include test-skeleton.c.
33816         * stdio-common/tst-printf.c (main): Converted to ...
33817         (do_test): ... this.
33818         (TEST_FUNCTION): New macro.
33819         Include test-skeleton.c.
33820         * stdio-common/tst-printfsz.c (main): Converted to ...
33821         (do_test): ... this.
33822         (TEST_FUNCTION): New macro.
33823         Include test-skeleton.c.
33824         * stdlib/tst-strtod.c (main): Converted to ...
33825         (do_test): ... this.
33826         (TEST_FUNCTION): New macro.
33827         Include test-skeleton.c.
33828         * string/tst-strlen.c (main): Converted to ...
33829         (do_test): ... this.
33830         (TEST_FUNCTION): New macro.
33831         Include test-skeleton.c.
33832         * string/tst-svc.c (main): Converted to ...
33833         (do_test): ... this.
33834         (TEST_FUNCTION): New macro.
33835         Include test-skeleton.c.
33836         * time/tst-strptime.c (main): Converted to ...
33837         (do_test): ... this.
33838         (TEST_FUNCTION): New macro.
33839         Include test-skeleton.c.
33840         * timezone/tst-timezone.c (main): Converted to ...
33841         (do_test): ... this.
33842         (TEST_FUNCTION): New macro.
33843         Include test-skeleton.c.
33845 2015-08-05  Zack Weinberg  <zackw@panix.com>
33847         * misc/regexp.h: Update comments.
33849 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33851         [BZ #18635]
33852         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33853         before return label.
33855 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33857         [BZ #18661]
33858         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33859         when calling __errno_location.
33860         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33861         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33863 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33865         [BZ #18661]
33866         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33867         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33868         __gettimeofday.
33870 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33872         [BZ #18661]
33873         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33874         (__start_context): Don't use pop to restore %rdi so that stack
33875         is aligned to 16 bytes when calling __setcontext.
33877 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33879         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33880         only for libc.
33881         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33883 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33885         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33886         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33887         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33889 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33891         * string/memccpy.c (memccpy):
33892         Improve performance by using memchr/memcpy/__mempcpy.
33894 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33896         * string/strncpy.c (strncpy):
33897         Improve performance by using __strnlen/memcpy.
33899 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33901         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33902         Optimize to avoid an unnecessary FPCR read.
33904 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33906         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33907         Optimize to reduce FPCR/FPSR accesses.
33909 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33911         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33912         dead->data[category] != NULL.
33914 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33916         [BZ #18647]
33917         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33918         and |x| close to 1, use absolute value of x when computing log.
33919         * math/auto-libm-test-in: Add more tests of pow.
33920         * math/auto-libm-test-out: Regenerated.
33922 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33924         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33925         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33926         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33928 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33930         [BZ #18525]
33931         * locales/km_KH: Remove timezone definition.
33932         * locales/lo_LA: Likewise.
33933         * locales/my_MM: Likewise.
33934         * locales/nan_TW@latin: Likewise.
33935         * locales/th_TH: Likewise.
33936         * locales/uk_UA: Likewise.
33938 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33940         [BZ #18265]
33941         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33942         (wcsncat): Likewise.
33943         (wcscmp): Likewise.
33944         (wcsncmp): Likewise.
33946 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33948         * test-skeleton.c (usage): New function.
33949         (main): Call usage when opt is '?'.
33951 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33953         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33954         before first use.
33956 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33958         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33959         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33960         in there too.
33962 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33964         * version.h (RELEASE): Set to "development".
33965         (VERSION): Set to "2.22.90"
33967         * version.h (RELEASE): Set to "stable".
33968         (VERSION): Set to "2.22"
33969         * include/features.h (__GLIBC_MINOR__): Set to 22.
33971 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33973         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33974         Restructure macro to avoid "value computed is not used" warning.
33975         (atomic_compare_and_exchange_val_acq): Likewise.
33977 2015-08-04  Andreas Schwab  <schwab@suse.de>
33979         [BZ #18635]
33980         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33981         ret.
33982         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33984 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33986         * po/pl.po: Updated translation.
33987         * po/uk.po: Likewise.
33988         * po/fi.po: Likewise.
33989         * po/ko.po: Likewise.
33990         * po/ru.po: Likewise.
33991         * po/vi.po: Likewise.
33993 2015-07-31  Zack Weinberg  <zackw@panix.com>
33995         [BZ #18681]
33996         * regexp.h: Add unconditional #warning stating that this header
33997         will be removed soon.  Revise banner comment to match.
33998         (compile): Consistently use ERROR instead of RETURN to report
33999         errors (partial fix for BZ #18681).
34000         * regexp.c: Don't include regexp.h. Remove some unnecessary
34001         declarations.
34003 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
34005         * po/libc.pot: Regenerated.
34007 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34009         [BZ #18740]
34010         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
34011         float-vlen4-arch-ext-cflags): Removed.
34012         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
34013         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
34015 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34017         [BZ #14113]
34018         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
34019         aligned to __aligned__.
34020         (pthread_cond_t, pthread_rwlock_t): Likewise.
34022 2015-07-30  Torvald Riegel  <triegel@redhat.com>
34024         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
34026 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34028         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
34029         (struct sigaction): Change sa_flags from a long to an int, and add
34030         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
34032 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34034         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
34035         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
34036         sysdeps/generic/sysdep.h include.
34037         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
34038         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
34039         sysdeps/hppa/sysdep.h.
34040         (ENTRY, PSEUDO): Undefine before defining.
34042 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34044         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
34045         from scratch to use INTERNAL_SYSCALL.
34047 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
34049         [BZ #18078]
34050         * scripts/check-localplt.awk: Support alternate relocations.
34051         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
34052         sections.
34053         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
34054         malloc entries with + REL R_386_GLOB_DAT.
34055         * sysdeps/x86_64/localplt.data: New file.
34057 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
34059         [BZ #18731]
34060         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
34061         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34062         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34064 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34066         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
34068 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34070         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
34071         directly in terms of __sync_fetch_and_add and delete (int) cast.
34073 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34075         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
34076         the -D_ASM_IA64_CURRENT_H flag.
34078 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34080         [BZ #18641]
34081         * pwd/pwd.h (putpwent): Delete __nonnull markings.
34083 2015-07-27  Andreas Schwab  <schwab@suse.de>
34085         * conform/conformtest.pl (checknamespace): Filter out string
34086         literals while tokenizing.
34088 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
34090         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34091         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
34092         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34094 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
34096         * nptl/tst-join7mod.c: Add #include <string.h>.
34098 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
34100         * sysdeps/nios2/libm-test-ulps: Update.
34102 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
34104         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
34105         Fix order of arguments to the rt_sigprocmask syscall.
34106         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
34107         Likewise.
34109 2015-07-24  Roland McGrath  <roland@hack.frob.com>
34111         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
34113 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34115         [BZ #18457]
34116         * nptl/Makefile (tests): New test case tst-join7.
34117         (modules-names): New test case module tst-join7mod.
34118         * nptl/tst-join7.c: New file.
34119         * nptl/tst-join7mod.c: New file.
34120         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
34121         all translation units in libc.so, libpthread.so and rtld.
34123 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34125         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34127 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34129         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
34130         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
34131         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
34132         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
34133         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
34134         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
34135         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
34136         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
34137         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
34138         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
34139         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
34140         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
34141         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
34142         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34143         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
34144         implementation.
34146 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34148         [BZ #17711]
34149         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34150         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
34151         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34152         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34153         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
34154         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34156 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34158         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
34159         instead of just saying load lock in the comments.
34161 2015-07-23  Roland McGrath  <roland@hack.frob.com>
34163         * sysdeps/unix/Subdirs: Moved ...
34164         * sysdeps/posix/Subdirs: ... here.
34165         * login/pty.h (struct termios, struct winsize): Add forward decls.
34166         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34167         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34168         * sysdeps/arm/nacl/libc.abilist: Updated.
34169         * sysdeps/nacl/libutil.abilist: New file.
34171         * bits/signum.h: Update comments to mention 1003.1-2013 too.
34172         (SIGWINCH): New macro.
34174         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34175         * sysdeps/arm/nacl/libc.abilist: Add it.
34177 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34179         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34181 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34183         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34184         Swap __glibc_reserved0 and sa_flags order.
34186 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34188         [BZ #18657]
34189         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34190         are pending TLS destructor calls.
34191         * include/link.h (struct link_map): Add concurrency note for
34192         L_TLS_DTOR_COUNT.
34193         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34194         Don't touch the link map flag.  Atomically increment
34195         l_tls_dtor_count.
34196         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34197         Avoid taking the load lock and don't touch the link map flag.
34198         * stdlib/tst-tls-atexit-nodelete.c: New test case.
34199         * stdlib/Makefile (tests): Use it.
34200         * stdlib/tst-tls-atexit.c (do_test): dlopen
34201         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
34202         to allow tst-tls-atexit-nodelete test case to use it.
34204 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34206         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34207         to bits/types.h.
34208         (msgqnum_t): New typedef.
34209         (msglen_t): Likewise.
34210         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
34211         and msg_qbytes type to msglen_t.
34213 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34215         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34216         pad0 to __glibc_reserved0.
34217         (struct stat64): Likewise.
34219 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34221         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34222         Change sa_flags from a long to an int and add __glibc_reserved0 before
34223         it for padding.
34225 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34227         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34228         anonymous by deleting "siginfo" name.
34230 2015-07-21  Roland McGrath  <roland@hack.frob.com>
34232         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34233         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34234         rather than __nacl_irt_filename.
34235         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34237         * NEWS: New item for arm-nacl port.
34238         * sysdeps/arm/nacl/libc.abilist: New file.
34239         * sysdeps/nacl/ld.abilist: New file.
34240         * sysdeps/nacl/libBrokenLocale.abilist: New file.
34241         * sysdeps/nacl/libanl.abilist: New file.
34242         * sysdeps/nacl/libcrypt.abilist: New file.
34243         * sysdeps/nacl/libdl.abilist: New file.
34244         * sysdeps/nacl/libm.abilist: New file.
34245         * sysdeps/nacl/libpthread.abilist: New file.
34246         * sysdeps/nacl/libresolv.abilist: New file.
34247         * sysdeps/nacl/librt.abilist: New file.
34249 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
34251         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34252         __startcontext to initialize the new context.
34253         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34254         up CFI directive to forbid further backtracing.
34256 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
34258         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34259         reference.
34260         * charmaps/ANSI_X3.4-1968: Likewise.
34261         * charmaps/BS_4730: Likewise.
34262         * charmaps/BS_VIEWDATA: Likewise.
34263         * charmaps/CP1250: Likewise.
34264         * charmaps/CP1251: Likewise.
34265         * charmaps/CP1252: Likewise.
34266         * charmaps/CP1253: Likewise.
34267         * charmaps/CP1254: Likewise.
34268         * charmaps/CP1255: Likewise.
34269         * charmaps/CP1256: Likewise.
34270         * charmaps/CSN_369103: Likewise.
34271         * charmaps/EBCDIC-DK-NO: Likewise.
34272         * charmaps/GB_1988-80: Likewise.
34273         * charmaps/GREEK-CCITT: Likewise.
34274         * charmaps/GREEK7: Likewise.
34275         * charmaps/INIS-8: Likewise.
34276         * charmaps/ISIRI-3342: Likewise.
34277         * charmaps/ISO_2033-1983: Likewise.
34278         * charmaps/ISO_5427-EXT: Likewise.
34279         * locales/POSIX: Likewise.
34280         * locales/ar_SA: Likewise.
34281         * locales/be_BY: Likewise.
34282         * locales/be_BY@latin: Likewise.
34283         * locales/ca_ES: Likewise.
34284         * locales/cs_CZ: Likewise.
34285         * locales/da_DK: Likewise.
34286         * locales/de_BE: Likewise.
34287         * locales/de_CH: Likewise.
34288         * locales/de_LU: Likewise.
34289         * locales/en_AU: Likewise.
34290         * locales/en_BW: Likewise.
34291         * locales/en_CA: Likewise.
34292         * locales/en_DK: Likewise.
34293         * locales/en_GB: Likewise.
34294         * locales/en_IE: Likewise.
34295         * locales/en_NZ: Likewise.
34296         * locales/en_ZA: Likewise.
34297         * locales/en_ZW: Likewise.
34298         * locales/es_AR: Likewise.
34299         * locales/es_BO: Likewise.
34300         * locales/es_CL: Likewise.
34301         * locales/es_CO: Likewise.
34302         * locales/es_DO: Likewise.
34303         * locales/es_EC: Likewise.
34304         * locales/es_ES: Likewise.
34305         * locales/es_HN: Likewise.
34306         * locales/es_MX: Likewise.
34307         * locales/es_PA: Likewise.
34308         * locales/es_PE: Likewise.
34309         * locales/es_PY: Likewise.
34310         * locales/es_SV: Likewise.
34311         * locales/es_US: Likewise.
34312         * locales/es_UY: Likewise.
34313         * locales/es_VE: Likewise.
34314         * locales/et_EE: Likewise.
34315         * locales/fa_IR: Likewise.
34316         * locales/fo_FO: Likewise.
34317         * locales/fr_CA: Likewise.
34318         * locales/fr_CH: Likewise.
34319         * locales/gv_GB: Likewise.
34320         * locales/he_IL: Likewise.
34321         * locales/hr_HR: Likewise.
34322         * locales/id_ID: Likewise.
34323         * locales/is_IS: Likewise.
34324         * locales/it_CH: Likewise.
34325         * locales/iw_IL: Likewise.
34326         * locales/kl_GL: Likewise.
34327         * locales/ko_KR: Likewise.
34328         * locales/kw_GB: Likewise.
34329         * locales/lg_UG: Likewise.
34330         * locales/lt_LT: Likewise.
34331         * locales/lv_LV: Likewise.
34332         * locales/mi_NZ: Likewise.
34333         * locales/nhn_MX: Likewise.
34334         * locales/nl_BE: Likewise.
34335         * locales/pl_PL: Likewise.
34336         * locales/sk_SK: Likewise.
34337         * locales/sl_SI: Likewise.
34338         * locales/sv_FI: Likewise.
34339         * locales/tl_PH: Likewise.
34340         * locales/tr_TR: Likewise.
34341         * locales/vi_VN: Likewise.
34343 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34345         [BZ #17475]
34346         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34347         of tu_IN and bh_IN.
34349 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34351         [BZ #18694]
34352         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34353         bits/wordsize.h.
34354         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34356 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34358         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34359         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34360         (spawn_thread): New function.
34361         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34362         (do_test): ... here.  Use IS_LOADED to test for its
34363         availability.
34365 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34367         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34369 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34371         [BZ #18696]
34372         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34373         si_addr_bnd.
34374         (si_lower): New.
34375         (si_upper): Likewise.
34377 2015-07-16  David S. Miller  <davem@davemloft.net>
34379         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34381 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34383         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34384         buffer.
34385         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34386         fail output information.
34388 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34391         and strstr-ppc64..
34392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34393         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34394         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34395         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34396         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34398 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34400         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34401         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34402         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34403         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34405 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34407         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34408         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34409         rtld_hidden_proto.
34410         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34412 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34414         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34415         the test can fail.
34417         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34419         [BZ #18676]
34420         * elf/tst-nodelete-opened.c: New test case.
34421         * elf/tst-nodelete-opened-lib.c: New test case module.
34422         * elf/Makefile (tests, modules-names): Use them.
34423         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34424         early.
34426 2015-07-15  David S. Miller  <davem@davemloft.net>
34428         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34429         futex-intenal.h
34430         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34431         * sysdeps/sparc/sparc64/Makefile: Likewise.
34432         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34433         Remove space from macro define.
34434         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34436 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34438         [BZ #17475]
34439         * locale/iso-639.def: Update Bhili and Tulu language codes as
34440         per iso639-3.
34442 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34444         * elf/tst-leaks1.c (main): Converted to ...
34445         (do_test): ... this.
34446         (TEST_FUNCTION): New macro.
34447         Include test-skeleton.c.
34448         * localedata/tst-langinfo.c (main): Converted to ...
34449         (do_test): ... this.
34450         (TEST_FUNCTION): New macro.
34451         Include test-skeleton.c.
34452         * math/test-fpucw.c (main): Converted to ...
34453         (do_test): ... this.
34454         (TEST_FUNCTION): New macro.
34455         Include test-skeleton.c.
34456         * math/test-tgmath.c (main): Converted to ...
34457         (do_test): ... this.
34458         (TEST_FUNCTION): New macro.
34459         Include test-skeleton.c.
34460         * math/test-tgmath2.c (main): Converted to ...
34461         (do_test): ... this.
34462         (TEST_FUNCTION): New macro.
34463         Include test-skeleton.c.
34464         * setjmp/tst-setjmp.c (main): Converted to ...
34465         (do_test): ... this.
34466         (TEST_FUNCTION): New macro.
34467         Include test-skeleton.c.
34468         * stdio-common/tst-sscanf.c (main): Converted to ...
34469         (do_test): ... this.
34470         (TEST_FUNCTION): New macro.
34471         Include test-skeleton.c.
34472         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34473         (do_test): ... this.
34474         (TEST_FUNCTION): New macro.
34475         Include test-skeleton.c.
34477         * elf/tst-audit9.c (main): Converted to ...
34478         (do_test): ... this.
34479         (TEST_FUNCTION): New macro.
34480         Include test-skeleton.c.
34482 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34484         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34486 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34488         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34489         New variable.
34491 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34493         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34495 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34497         * sysdeps/generic/dl-fileid.h: New file.
34498         * sysdeps/posix/dl-fileid.h: New file.
34499         * sysdeps/nacl/dl-fileid.h: New file.
34500         * include/link.h: Include <dl-fileid.h>.
34501         (struct link_map): Replace l_dev and l_ino with l_file_id.
34502         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34503         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34504         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34506 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34508         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34510 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34512         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34513         Add iff $CXX is set.
34514         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34515         Likewise.
34516         (tst-nodelete-zmodiff): Likewise.
34517         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34519 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34521         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34523 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34525         * sysdeps/aarch64/fpu/math_private.h
34526         (define math_opt_barrier): Add AArch64 version.
34527         (math_force_eval): Likewise.
34529 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34531         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34533 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34535         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34536         %ld with %jd and cast to intmax_t.
34537         (do_test_length_zero): Likewise.
34539 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34541         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34543 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34545         * sysdeps/tile/libm-test-ulps: Regenerated.
34547         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34548         Comment out the whole function, not just its body.
34550 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34552         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34553         locks.
34555         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34557 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34559         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34560         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34562 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34564         * sysdeps/nptl/futex-internal.h: New file.
34565         * sysdeps/nacl/futex-internal.h: New file.
34566         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34567         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34568         error checking.
34569         (setxid_unmark_thread): Likewise.
34570         (__nptl_setxid): Likewise.
34571         (__wait_lookup_done): Likewise.
34572         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34573         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34574         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34575         * nptl/pthread_once.c (clear_once_control): Likewise.
34576         (__pthread_once_slow): Likewise.
34577         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34578         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34579         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34580         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34581         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34582         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34583         Likewise.
34584         (__pthread_rwlock_rdlock): Likewise.
34585         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34586         Likewise.
34587         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34588         Likewise.
34589         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34590         Likewise.
34591         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34592         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34593         Likewise.
34594         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34595         __ASSUME_PRIVATE_FUTEX check.
34596         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34597         Check that shared futexes are supported.
34598         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34599         wrappers with error checking.
34600         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34601         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34602         * nptl/pthread_barrierattr_setpshared.c
34603         (pthread_barrierattr_setpshared): Check that shared futexes are
34604         supported.
34605         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34606         Likewise.
34607         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34608         Likewise.
34609         * nptl/sem_init.c (futex_private_if_supported): Remove.
34610         (__new_sem_init): Adapt and check that shared futexes are supported.
34611         * nptl/sem_open.c (sem_open): Likewise.
34612         * nptl/sem_post.c (futex_wake): Remove.
34613         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34614         (do_futex_wait): Use futex wrappers with error checking.
34615         * nptl/sem_wait.c: Include lowlevellock.h.
34616         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34617         Use futex_supports_pshared.
34618         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34619         Use futex wrappers with error checking.
34620         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34621         Likewise.
34622         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34623         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34624         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34625         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34626         (futex_wake): Likewise.
34627         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34628         (do_futex_wait): Use futex wrappers with error checking.
34629         (__new_sem_wait_slow): Update EINTR handling.
34630         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34632 2015-07-09  Martin Sebor  <msebor@redhat.com>
34634         [BZ #18435]
34635         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34636         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34637         * nptl/Makefile (test-xfail-tst-once5): Define.
34639 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34641         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34642         * elf/dl-minimal.c: For readability, reorder some definitions and
34643         introduce more page breaks.  Include <stdio.h>.
34644         (__libc_fatal): New function.
34646         * include/unistd.h: Add rtld_hidden_proto for _exit.
34647         * posix/_exit.c: Add rtld_hidden_def.
34648         * sysdeps/mach/hurd/_exit.c: Likewise.
34649         * sysdeps/nacl/_exit.c: Likewise.
34650         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34651         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34653 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34655         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34656         bndmov encoding with zero displacement.
34658 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34659             H.J. Lu  <hongjiu.lu@intel.com>
34661         [BZ #18134]
34662         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34663         * sysdeps/i386/configure: Regenerated.
34664         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34665         (_dl_runtime_profile): Save and restore Intel MPX return bound
34666         registers when calling _dl_call_pltexit.  Add
34667         PRESERVE_BND_REGS_PREFIX before return.
34668         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34669         (LRV_BND1_OFFSET): Likewise.
34670         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34671         lrv_bnd1.
34672         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34673         typo in bndmov encoding.
34674         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34675         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34676         branch instructions to preserve bounds.
34678 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34681         [GLIBC_2.22]: Add fmemopen.
34683 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34685         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34686         returns an error, also try to use host port from __mach_host_self for
34687         the __vm_wire call.
34688         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34690 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34692         [BZ #18400]
34693         [BZ #18648]
34694         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34695         Fix pr_uid and pr_gid members.
34696         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34697         definition to elf_greg_t.
34699 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34701         [BZ #18383]
34702         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34703         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34704         * sysdeps/arm/configure: Regenerated.
34705         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34706         (test-xfail-tst-tlsalign-static): Variable removed.
34708         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34709         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34710         rather than explicit 'ln -s'.
34712         * resolv/rpc/netdb.h: New file.
34713         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34715 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34717         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34718         length buffers.
34719         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34720         test-skeleton.c.
34722         [BZ #6544]
34723         [BZ #11216]
34724         [BZ #12836]
34725         [BZ #13151]
34726         [BZ #13152]
34727         [BZ #14292]
34728         * include/stdio.h (fmemopen): Remove hidden prototype.
34729         (__fmemopen): Add new hidden prototype.
34730         * libio/Makefile: Add oldfmemopen object.
34731         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34732         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34733         compliance.
34734         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34735         symbol compatibility.
34736         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34737         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34738         fmemopen.
34739         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34740         on append and read mode.
34741         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34742         fmemopen.
34743         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34744         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34745         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34746         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34747         Likewise.
34748         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34749         [GLIBC_2.22]: Likewise.
34750         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34751         Likewise.
34752         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34753         Likewise.
34754         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34755         [GLIBC_2.22]: Likewise.
34756         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34757         [GLIBC_2.22]: Likewise.
34758         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34759         [GLIBC_2.22]: Likewise.
34760         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34761         [GLIBC_2.22]: Likewise.
34762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34763         [GLIBC_2.22]: Likewise.
34764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34765         [GLIBC_2.22]: Likewise.
34766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34767         [GLIBC_2.22]: Likewise.
34768         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34769         Likewise.
34770         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34771         Likewise.
34772         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34773         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34774         [GLIBC_2.22]: Likewise.
34775         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34776         [GLIBC_2.22]: Likewise.
34777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34778         [GLIBC_2.22]: Likewise.
34779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34780         [GLIBC_2.22]: Likewise.
34781         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34782         Likewise.
34783         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34784         Likewise.
34785         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34786         Likewise.
34787         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34788         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34790 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34792         [BZ #18643]
34793         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34794         IPV6_PATHMTU, and IPV6_DONTFRAG.
34796 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34798         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34799         and _IO_UNBUFFERED.
34800         * libio/oldfileops.c: Likewise.
34801         * libio/wfileops.c: Likewise.
34803 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34805         * nscd/selinux.c: Delete selinux/flask.h include.
34807 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34809         [BZ #18641]
34810         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34811         (putpwent): Likewise.
34812         (getpwnam): Likewise.
34813         (getpwent_r): Likewise.
34814         (getpwuid_r): Likewise.
34815         (getpwnam_r): Likewise.
34816         (fgetpwent_r): Likewise.
34818 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34820         [BZ #18557]
34821         * inet/rcmd.c (__validuser2_sa): Check user first to
34822         short-circuit host check.
34824 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34825             Mikhail Ilin  <m.ilin@samsung.com>
34827         [BZ #17833]
34828         * elf/Makefile (tests): Add tst-nodelete.
34829         (modules-names): Add tst-nodelete-uniquemod.
34830         (tst-nodelete-uniquemod.so-no-z-defs): New.
34831         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34832         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34833         ($(objpfx)tst-nodelete): Likewise.
34834         ($(objpfx)tst-nodelete.out): Likewise.
34835         (LDFLAGS-tst-nodelete): Likewise.
34836         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34837         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34838         implement forced object deletion.
34839         (_dl_close): Pass false to _dl_close_worker.
34840         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34841         * elf/tst-nodelete.cc: New file.
34842         * elf/tst-nodeletelib.cc: Likewise.
34843         * elf/tst-znodeletelib.cc: Likewise.
34844         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34846 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34848         [BZ #18508]
34849         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34850         Depend on $(libdl).
34851         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34852         is not called infinitely times.
34853         (backtrace_helper): New function.
34854         (trace_arg): New struct.
34855         (st1): Enlarge stack size.
34856         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34857         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34858         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34859         Likewise.
34861 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34863         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34865 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34867         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34868         Include sys/types.h instead of bits/types.h.
34869         Remove inclusion of bits/wordsize.h.
34871 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34873         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34874         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34875         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34876         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34877         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34878         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34880 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34882         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34883         link-defines.sym.
34884         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34885         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34886         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34887         and LR_SIZE.
34888         * sysdeps/i386/link-defines.sym: New file.
34890 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34892         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34893         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34894         ($(objpfx)tst-audit3): New rule.
34895         ($(objpfx)tst-audit3.out): Likewise.
34896         * sysdeps/i386/tst-audit3.c: New file.
34897         * sysdeps/i386/tst-audit3.h: Likewise.
34898         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34899         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34901 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34903         [BZ #18633]
34904         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34905         pointer in C code.
34906         (__strcat_c): Likewise.
34907         (__strcat_g): Likewise.
34909 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34911         [BZ #18592]
34912         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34914 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34916         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34917         New function.  (__ieee754_sqrtf): New function.
34918         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34919         New function.
34920         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34921         New function.
34923 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34925         * sysdeps/ieee754/support.c: Remove unused file.
34927 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34929         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34930         registers instead of d ones so the layout is kernel abi compatible.
34931         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34932         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34933         Likewise.
34935 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34937         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34939 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34941         [BZ #18619]
34942         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34943         and return argument in case of subnormal argument.
34945 2015-07-01  Martin Sebor  <msebor@redhat.com>
34947         [BZ #18435]
34948         * nptl/Makefile: Add tst-once5.cc.
34949         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34950         Remove macro redefinitions.
34951         * nptl/tst-once5.cc: New test.
34953 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34955         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34957         * sysdeps/arm/libm-test-ulps: Regenerated.
34959         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34960         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34962 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34964         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34965         lll_lock_wait_private and lll_futex_wake probes.
34967         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34968         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34969         Likewise.
34970         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34971         atomic_spin_nop.
34972         * sysdeps/x86_64/bits/atomic.h: Likewise.
34973         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34974         to atomic_spin_nop and move ...
34975         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34976         ... here and ...
34977         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34978         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34979         atomic_spin_nop instead of BUSY_WAIT_NOP.
34980         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34981         Likewise.
34982         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34983         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34984         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34985         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34986         instead of atomic_delay.
34988 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34990         [BZ #18613]
34991         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34992         X_ADJ not X when adjusting exponent.
34993         (__ieee754_gamma_r): Do intermediate computations in
34994         round-to-nearest then adjust overflowing and underflowing results
34995         as needed.
34996         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34997         of X_ADJ not X when adjusting exponent.
34998         (__ieee754_gammaf_r): Do intermediate computations in
34999         round-to-nearest then adjust overflowing and underflowing results
35000         as needed.
35001         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
35002         log of X_ADJ not X when adjusting exponent.
35003         (__ieee754_gammal_r): Do intermediate computations in
35004         round-to-nearest then adjust overflowing and underflowing results
35005         as needed.  Use 1.0L not 1.0f as numerator of division.
35006         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
35007         log of X_ADJ not X when adjusting exponent.
35008         (__ieee754_gammal_r): Do intermediate computations in
35009         round-to-nearest then adjust overflowing and underflowing results
35010         as needed.  Use 1.0L not 1.0f as numerator of division.
35011         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
35012         of X_ADJ not X when adjusting exponent.
35013         (__ieee754_gammal_r): Do intermediate computations in
35014         round-to-nearest then adjust overflowing and underflowing results
35015         as needed.  Use 1.0L not 1.0f as numerator of division.
35016         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
35017         to auto-libm-test-in.
35018         (tgamma_test): Use ALL_RM_TEST.
35019         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
35020         tests of tgamma with spurious-overflow.
35021         * math/auto-libm-test-out: Regenerated.
35022         * math/gen-libm-have-vector-test.sh: Do not check for START.
35023         * sysdeps/i386/fpu/libm-test-ulps: Update.
35024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35026         [BZ #18612]
35027         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
35028         arguments, just return 0.5 times the argument, with underflow
35029         forced as needed.
35030         * math/auto-libm-test-in: Add more tests of j1.
35031         * math/auto-libm-test-out: Regenerated.
35033         [BZ #16559]
35034         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
35035         (__ieee754_j1): Force underflow exception for small results.
35036         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35037         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
35038         (__ieee754_j1f): Force underflow exception for small results.
35039         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35040         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35041         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35042         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
35043         (__ieee754_j1l): Force underflow exception for small results.
35044         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35045         * math/auto-libm-test-in: Add more tests of j1 and jn.
35046         * math/auto-libm-test-out: Regenerated.
35048         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
35049         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
35050         (PF_MPLS): Likewise.
35051         (AF_IB): Likewise.
35052         (AF_MPLS): Likewise.
35053         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
35054         value and macro.
35055         (MS_RMT_MASK): Include MS_LAZYTIME.
35057 2015-06-26  Mel Gorman  <mgorman@suse.de>
35059         [BZ #18502]
35060         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
35061         already minimal.
35063 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
35065         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
35066         (DT_MIPS_NUM): Update.
35067         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
35068         DT_MIPS_RLD_MAP_REL.
35070 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
35072         [BZ #16559]
35073         [BZ #18602]
35074         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
35075         round-to-nearest internally then recompute results that
35076         underflowed to zero in the original rounding mode.
35077         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35078         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35079         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35080         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35081         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
35082         * sysdeps/i386/fpu/libm-test-ulps: Update.
35083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35085 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35087         * NEWS: Fixed description of link with vector math library.
35089 2015-06-25  Andreas Schwab  <schwab@suse.de>
35091         [BZ #18549]
35092         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
35093         * libio/test-fmemopen.c (do_test): Add test for it.
35095 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35097         [BZ #17841]
35098         * Makeconfig (no-pie-ldflag): New.
35099         (+link): Set to $(+link-pie) if default to PIE.
35100         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
35101         * config.make.in (build-pie-default): New.
35102         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
35103         is default.  AC_SUBST.
35104         * configure: Regenerated.
35105         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
35107 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35109         * nptl/descr.h (struct pthread): Change type of field setxid_futex
35110         to 'unsigned int'.
35112         * resolv/gai_misc.h (struct waitlist): Change type of field
35113         counterp to 'volatile unsigned int *'.
35114         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
35115         FUTEXADDR and OLDVAL.
35116         * resolv/getaddrinfo_a.c (getaddrinfo_a):
35117         Give local variable TOTAL type 'volatile unsigned int'.
35118         (struct async_waitlist): Change type of field counter to 'unsigned int'.
35119         * resolv/gai_suspend.c (gai_suspend):
35120         Give local variable CNTR type 'unsigned int'.
35122         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
35123         counterp to 'volatile unsigned int *'.
35124         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
35125         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
35126         (aio_suspend): Give local variable CNTR type 'unsigned int'.
35127         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
35128         Give local variable TOTAL type 'volatile unsigned int'.
35129         (struct async_waitlist): Change type of field counter to 'unsigned int'.
35131 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35133         [BZ #18383]
35134         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
35135         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
35136         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
35137         comment for i386/x86-64.
35138         (test-xfail-tst-tlsalign-extern-static): Removed.
35140 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35142         * math/test-double.h: New file.
35143         * math/test-float.h: Likewise.
35144         * math/test-ldouble.h: Likewise.
35145         * math/test-math-inline.h: Likewise.
35146         * math/test-math-no-inline.h: Likewise.
35147         * math/test-math-scalar.h: Likewise.
35148         * math/test-math-vector.h: Likewise.
35149         * math/test-vec-loop.h: Remove file.  Contents moved into
35150         test-math-vector.h.
35151         * math/libm-test.inc (MATHCONST): Do not document macro.
35152         * math/test-double.c: Include test-double.h, test-math-no-inline.h
35153         and test-math-scalar.h.
35154         (FUNC): Remove macro.
35155         (FUNC_TEST): Likewise.
35156         (FLOAT): Likewise.
35157         (MATHCONST): Likewise.
35158         (PRINTF_EXPR): Likewise.
35159         (PRINTF_XEXPR): Likewise.
35160         (PRINTF_NEXPR): Likewise.
35161         (TEST_DOUBLE): Likewise.
35162         (TEST_MATHVEC): Likewise.
35163         (__NO_MATH_INLINES): Likewise.
35164         * math/test-float.c: Include test-float.h, test-math-no-inline.h
35165         and test-math-scalar.h.
35166         (FUNC): Remove macro.
35167         (FUNC_TEST): Likewise.
35168         (FLOAT): Likewise.
35169         (MATHCONST): Likewise.
35170         (PRINTF_EXPR): Likewise.
35171         (PRINTF_XEXPR): Likewise.
35172         (PRINTF_NEXPR): Likewise.
35173         (TEST_FLOAT): Likewise.
35174         (TEST_MATHVEC): Likewise.
35175         (__NO_MATH_INLINES): Likewise.
35176         * math/test-idouble.c: Include test-double.h, test-math-inline.h
35177         and test-math-scalar.h.
35178         (FUNC): Remove macro.
35179         (FUNC_TEST): Likewise.
35180         (FLOAT): Likewise.
35181         (MATHCONST): Likewise.
35182         (PRINTF_EXPR): Likewise.
35183         (PRINTF_XEXPR): Likewise.
35184         (PRINTF_NEXPR): Likewise.
35185         (TEST_DOUBLE): Likewise.
35186         (TEST_MATHVEC): Likewise.
35187         (TEST_INLINE): Likewise.
35188         (__NO_MATH_INLINES): Likewise.
35189         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35190         test-math-scalar.h.
35191         (FUNC): Remove macro.
35192         (FUNC_TEST): Likewise.
35193         (FLOAT): Likewise.
35194         (MATHCONST): Likewise.
35195         (PRINTF_EXPR): Likewise.
35196         (PRINTF_XEXPR): Likewise.
35197         (PRINTF_NEXPR): Likewise.
35198         (TEST_FLOAT): Likewise.
35199         (TEST_MATHVEC): Likewise.
35200         (TEST_INLINE): Likewise.
35201         (__NO_MATH_INLINES): Likewise.
35202         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35203         and test-math-scalar.h.
35204         (FUNC): Remove macro.
35205         (FUNC_TEST): Likewise.
35206         (FLOAT): Likewise.
35207         (MATHCONST): Likewise.
35208         (PRINTF_EXPR): Likewise.
35209         (PRINTF_XEXPR): Likewise.
35210         (PRINTF_NEXPR): Likewise.
35211         (TEST_LDOUBLE): Likewise.
35212         (TEST_MATHVEC): Likewise.
35213         (TEST_INLINE): Likewise.
35214         (__NO_MATH_INLINES): Likewise.
35215         * math/test-ldouble.c: Include test-ldouble.h,
35216         test-math-no-inline.h and test-math-scalar.h.
35217         (FUNC): Remove macro.
35218         (FUNC_TEST): Likewise.
35219         (FLOAT): Likewise.
35220         (MATHCONST): Likewise.
35221         (PRINTF_EXPR): Likewise.
35222         (PRINTF_XEXPR): Likewise.
35223         (PRINTF_NEXPR): Likewise.
35224         (TEST_LDOUBLE): Likewise.
35225         (TEST_MATHVEC): Likewise.
35226         (__NO_MATH_INLINES): Likewise.
35227         * math/test-double-vlen2.h: Include test-double.h,
35228         test-math-no-inline.h and test-math-vector.h.
35229         (FLOAT): Remove macro.
35230         (FUNC): Likewise.
35231         (MATHCONST): Likewise.
35232         (PRINTF_EXPR): Likewise.
35233         (PRINTF_XEXPR): Likewise.
35234         (PRINTF_NEXPR): Likewise.
35235         (TEST_DOUBLE): Likewise.
35236         (TEST_MATHVEC): Likewise.
35237         (__NO_MATH_INLINES): Likewise.
35238         (CNCT): Likewise.
35239         (CONCAT): Likewise.
35240         (WRAPPER_NAME): Likewise.
35241         (WRAPPER_DECL): Likewise.
35242         (WRAPPER_DECL_ff): Likewise.
35243         (WRAPPER_DECL_fFF): Likewise.
35244         (VECTOR_WRAPPER): Likewise.
35245         (VECTOR_WRAPPER_ff): Likewise.
35246         (VECTOR_WRAPPER_fFF): Likewise.
35247         (VEC_LEN): New macro.
35248         * math/test-double-vlen4.h: Include test-double.h,
35249         test-math-no-inline.h and test-math-vector.h.
35250         (FLOAT): Remove macro.
35251         (FUNC): Likewise.
35252         (MATHCONST): Likewise.
35253         (PRINTF_EXPR): Likewise.
35254         (PRINTF_XEXPR): Likewise.
35255         (PRINTF_NEXPR): Likewise.
35256         (TEST_DOUBLE): Likewise.
35257         (TEST_MATHVEC): Likewise.
35258         (__NO_MATH_INLINES): Likewise.
35259         (CNCT): Likewise.
35260         (CONCAT): Likewise.
35261         (WRAPPER_NAME): Likewise.
35262         (WRAPPER_DECL): Likewise.
35263         (WRAPPER_DECL_ff): Likewise.
35264         (WRAPPER_DECL_fFF): Likewise.
35265         (VECTOR_WRAPPER): Likewise.
35266         (VECTOR_WRAPPER_ff): Likewise.
35267         (VECTOR_WRAPPER_fFF): Likewise.
35268         (VEC_LEN): New macro.
35269         * math/test-double-vlen8.h: Include test-double.h,
35270         test-math-no-inline.h and test-math-vector.h.
35271         (FLOAT): Remove macro.
35272         (FUNC): Likewise.
35273         (MATHCONST): Likewise.
35274         (PRINTF_EXPR): Likewise.
35275         (PRINTF_XEXPR): Likewise.
35276         (PRINTF_NEXPR): Likewise.
35277         (TEST_DOUBLE): Likewise.
35278         (TEST_MATHVEC): Likewise.
35279         (__NO_MATH_INLINES): Likewise.
35280         (CNCT): Likewise.
35281         (CONCAT): Likewise.
35282         (WRAPPER_NAME): Likewise.
35283         (WRAPPER_DECL): Likewise.
35284         (WRAPPER_DECL_ff): Likewise.
35285         (WRAPPER_DECL_fFF): Likewise.
35286         (VECTOR_WRAPPER): Likewise.
35287         (VECTOR_WRAPPER_ff): Likewise.
35288         (VECTOR_WRAPPER_fFF): Likewise.
35289         (VEC_LEN): New macro.
35290         * math/test-float-vlen4.h: Include test-float.h,
35291         test-math-no-inline.h and test-math-vector.h.
35292         (FLOAT): Remove macro.
35293         (FUNC): Likewise.
35294         (MATHCONST): Likewise.
35295         (PRINTF_EXPR): Likewise.
35296         (PRINTF_XEXPR): Likewise.
35297         (PRINTF_NEXPR): Likewise.
35298         (TEST_FLOAT): Likewise.
35299         (TEST_MATHVEC): Likewise.
35300         (__NO_MATH_INLINES): Likewise.
35301         (CNCT): Likewise.
35302         (CONCAT): Likewise.
35303         (WRAPPER_NAME): Likewise.
35304         (WRAPPER_DECL): Likewise.
35305         (WRAPPER_DECL_ff): Likewise.
35306         (WRAPPER_DECL_fFF): Likewise.
35307         (VECTOR_WRAPPER): Likewise.
35308         (VECTOR_WRAPPER_ff): Likewise.
35309         (VECTOR_WRAPPER_fFF): Likewise.
35310         (VEC_LEN): New macro.
35311         * math/test-float-vlen8.h: Include test-float.h,
35312         test-math-no-inline.h and test-math-vector.h.
35313         (FLOAT): Remove macro.
35314         (FUNC): Likewise.
35315         (MATHCONST): Likewise.
35316         (PRINTF_EXPR): Likewise.
35317         (PRINTF_XEXPR): Likewise.
35318         (PRINTF_NEXPR): Likewise.
35319         (TEST_FLOAT): Likewise.
35320         (TEST_MATHVEC): Likewise.
35321         (__NO_MATH_INLINES): Likewise.
35322         (CNCT): Likewise.
35323         (CONCAT): Likewise.
35324         (WRAPPER_NAME): Likewise.
35325         (WRAPPER_DECL): Likewise.
35326         (WRAPPER_DECL_ff): Likewise.
35327         (WRAPPER_DECL_fFF): Likewise.
35328         (VECTOR_WRAPPER): Likewise.
35329         (VECTOR_WRAPPER_ff): Likewise.
35330         (VECTOR_WRAPPER_fFF): Likewise.
35331         (VEC_LEN): New macro.
35332         * math/test-float-vlen16.h: Include test-float.h,
35333         test-math-no-inline.h and test-math-vector.h.
35334         (FLOAT): Remove macro.
35335         (FUNC): Likewise.
35336         (MATHCONST): Likewise.
35337         (PRINTF_EXPR): Likewise.
35338         (PRINTF_XEXPR): Likewise.
35339         (PRINTF_NEXPR): Likewise.
35340         (TEST_FLOAT): Likewise.
35341         (TEST_MATHVEC): Likewise.
35342         (__NO_MATH_INLINES): Likewise.
35343         (CNCT): Likewise.
35344         (CONCAT): Likewise.
35345         (WRAPPER_NAME): Likewise.
35346         (WRAPPER_DECL): Likewise.
35347         (WRAPPER_DECL_ff): Likewise.
35348         (WRAPPER_DECL_fFF): Likewise.
35349         (VECTOR_WRAPPER): Likewise.
35350         (VECTOR_WRAPPER_ff): Likewise.
35351         (VECTOR_WRAPPER_fFF): Likewise.
35352         (VEC_LEN): New macro.
35353         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35354         test-vec-loop.h.
35355         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35356         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35357         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35358         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35359         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35360         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35361         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35363 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35365         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35366         (__getlogin_r): ... this.
35368 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35370         [BZ #18594]
35371         * math/s_ccosh.c (__ccosh): Compare with least normal value
35372         instead of comparing class with FP_SUBNORMAL.
35373         * math/s_ccoshf.c (__ccoshf): Likewise.
35374         * math/s_ccoshl.c (__ccoshl): Likewise.
35375         * math/s_cexp.c (__cexp): Likewise.
35376         * math/s_cexpf.c (__cexpf): Likewise.
35377         * math/s_cexpl.c (__cexpl): Likewise.
35378         * math/s_csin.c (__csin): Likewise.
35379         * math/s_csinf.c (__csinf): Likewise.
35380         * math/s_csinh.c (__csinh): Likewise.
35381         * math/s_csinhf.c (__csinhf): Likewise.
35382         * math/s_csinhl.c (__csinhl): Likewise.
35383         * math/s_csinl.c (__csinl): Likewise.
35384         * math/s_ctan.c (__ctan): Likewise.
35385         * math/s_ctanf.c (__ctanf): Likewise.
35386         * math/s_ctanh.c (__ctanh): Likewise.
35387         * math/s_ctanhf.c (__ctanhf): Likewise.
35388         * math/s_ctanhl.c (__ctanhl): Likewise.
35389         * math/s_ctanl.c (__ctanl): Likewise.
35390         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35391         csin, csinh, ctan and ctanh.
35392         * math/auto-libm-test-out: Regenerated.
35393         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35394         * sysdeps/i386/fpu/libm-test-ulps: Update.
35395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35397 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35399         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35400         return value is wrong, print the expected value too.
35402 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35404         [BZ #18585]
35405         * elf/readlib.c (is_gdb_python_file): New.
35406         (process_file): Don't issue errors on filenames with -gdb.py
35407         suffix.
35409 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35411         * math/auto-libm-test-in: Add more tests of csin and csinh.
35412         * math/auto-libm-test-out: Regenerated.
35413         * math/libm-test.inc (csin_test_data): Remove tests moved to
35414         auto-libm-test-in.
35415         (csinh_test_data): Likewise.
35417         [BZ #18593]
35418         * math/s_csin.c (__csin): Negate before rather than after possibly
35419         overflowing multiplication.
35420         * math/s_csinf.c (__csinf): Likewise.
35421         * math/s_csinh.c (__csinh): Likewise.
35422         * math/s_csinhf.c (__csinhf): Likewise.
35423         * math/s_csinhl.c (__csinhl): Likewise.
35424         * math/s_csinl.c (__csinl): Likewise.
35425         * math/auto-libm-test-in: Add some tests of csin and csinh.
35426         * math/auto-libm-test-out: Regenerated.
35427         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35428         (csinh_test_data): Likewise.
35429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35431         [BZ #18586]
35432         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35433         underflow exception for small results.
35435 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35437         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35438         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35439         variable and included header.
35440         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35442         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35445         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35448         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35449         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35450         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35451         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35452         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35453         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35454         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35455         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35457 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35459         [BZ #16526]
35460         [BZ #16538]
35461         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35462         (__sin): Force underflow exception for arguments with small
35463         absolute value.
35464         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35465         (__kernel_sinf): Force underflow exception for arguments with
35466         small absolute value.
35467         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35468         (__kernel_sincosl): Force underflow exception for arguments with
35469         small absolute value.
35470         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35471         (__kernel_sinl): Force underflow exception for arguments with
35472         small absolute value.
35473         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35474         (__kernel_sincosl): Force underflow exception for arguments with
35475         small absolute value.
35476         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35477         (__kernel_sinl): Force underflow exception for arguments with
35478         small absolute value.
35479         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35480         (__kernel_sinl): Force underflow exception for arguments with
35481         small absolute value.
35482         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35483         (__kernel_sinf): Force underflow exception for arguments with
35484         small absolute value.
35485         * math/auto-libm-test-in: Add more tests of sin and sincos.
35486         * math/auto-libm-test-out: Regenerated.
35488         [BZ #18245]
35489         [BZ #18583]
35490         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35491         (__kernel_standard_l): Use feholdexcept and fesetenv around
35492         conversion to double instead of special-casing overflow and
35493         underflow.
35494         * math/libm-test.inc (fmod_test_data): Add more tests.
35495         (remainder_test_data): Likewise.
35496         (sqrt_test_data): Likewise.
35498 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35500         [BZ #17403]
35501         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35502         atomic_read_barrier, atomic_write_barrier): Define.
35503         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35504         atomic_read_barrier, atomic_write_barrier): Define.
35506 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35508         * math/Makefile [$(PERL) != no]
35509         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35510         dependency on libm-test.stmp below the inclusion of Rules.
35512 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35514         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35515         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35516         and included header.
35517         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35518         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35519         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35520         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35521         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35522         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35525         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35526         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35527         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35528         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35529         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35530         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35531         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35532         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35533         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35534         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35535         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35537 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35539         [BZ #18371]
35540         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35541         intermediate but not final result might underflow.
35542         * math/s_csqrtf.c (__csqrtf): Likewise.
35543         * math/s_csqrtl.c (__csqrtl): Likewise.
35544         * math/auto-libm-test-in: Add more tests of csqrt.
35545         * math/auto-libm-test-out: Regenerated.
35546         * sysdeps/i386/fpu/libm-test-ulps: Update.
35548         [BZ #18219]
35549         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35550         threshold on absolute value of exponent for which scaling is used.
35551         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35552         * math/auto-libm-test-in: Add more tests of exp2.
35553         * math/auto-libm-test-out: Regenerated.
35555 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35557         [BZ #17977]
35558         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35559         when initializing interface list, based on the bug analysis
35560         and the patch proposed by Eric Newton.
35561         * resolv/tst-res_hconf_reorder.c: New test.
35562         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35563         tst-res_hconf_reorder.
35564         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35565         and $(shared-thread-library).
35566         (tst-res_hconf_reorder-ENV): New variable.
35568         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35569         in comment.
35571 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35573         [BZ #16353]
35574         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35575         (__expm1): Force underflow exception for arguments with small
35576         absolute value.
35577         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35578         (__expm1f): Force underflow exception for arguments with small
35579         absolute value.
35580         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35581         (__expm1): Force underflow exception for arguments with small
35582         absolute value.
35583         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35584         (__expm1f): Force underflow exception for arguments with small
35585         absolute value.
35586         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35587         Check for small arguments before calling __expm1.
35588         * math/auto-libm-test-in: Do not mark underflow exceptions as
35589         possibly missing for bug 16353.
35590         * math/auto-libm-test-out: Regenerated.
35592 2015-06-22  Andreas Schwab  <schwab@suse.de>
35594         [BZ #18513]
35595         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35596         PTR queries.
35598 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35600         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35602         * string/strcoll_l.c: Remove unused struct element idxnow.
35604 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35606         [BZ #18569]
35607         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35608         underflow and return argument in case of subnormal argument.
35609         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35610         Likewise.
35611         * math/auto-libm-test-in: Add more tests of expm1.
35612         * math/auto-libm-test-out: Regenerated.
35614         [BZ #16361]
35615         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35616         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35617         tiny results.
35618         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35619         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35620         tiny results.
35621         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35622         mark underflow exceptions as possibly missing for bug 16361.
35623         * math/auto-libm-test-out: Regenerated.
35625 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35627         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35628         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35629         Remove variable.
35630         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35631         (test-xfail-XOPEN2K8/utmpx.h/conform).
35633         * conform/conformtest.pl ($xerrors): New variable.
35634         (note_error): New function.
35635         (compiletest): New argument $xfail.  Use not_error.
35636         (runtest): Likewise.
35637         (top level): Handle xfail- lines.  Update calls to compiletest and
35638         runtest.  Handle xfail- and optional- in headers listed with
35639         allow-header.
35640         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35641         (O_EXEC): Likewise.
35642         (O_SEARCH): Likewise.
35643         * conform/data/stropts.h-data (ioctl): Likewise.
35644         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35645         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35646         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35647         (msghdr.msg_controllen): Likewise.
35648         (cmsghdr.cmsg_len): Likewise.
35649         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35650         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35651         variable.
35652         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35653         (test-xfail-XPG4/stropts.h/conform): Likewise.
35654         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35655         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35656         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35657         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35658         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35659         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35660         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35661         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35662         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35663         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35664         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35665         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35666         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35667         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35668         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35669         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35670         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35671         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35672         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35674 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35676         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35677         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35678         definitions for proper unfolding of __MATHDECL_VEC.
35680 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35682         * benchtests/bench-strcoll.c:
35683         Include string.h.
35684         (main): Remove unused variable res.
35686 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35688         * timezone/Makefile (%/UTC %/Universal):
35689         Generate test-result files for UTC and Universal.
35691 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35693         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35695 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35697         [BZ #16350]
35698         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35699         for arguments with small absolute value.
35700         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35701         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35702         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35703         (__asinh): Force underflow exception for arguments with small
35704         absolute value.
35705         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35706         (__asinhf): Force underflow exception for arguments with small
35707         absolute value.
35708         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35709         (__asinhl): Force underflow exception for arguments with small
35710         absolute value.
35711         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35712         (__asinhl): Force underflow exception for arguments with small
35713         absolute value.
35714         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35715         (__asinhl): Force underflow exception for arguments with small
35716         absolute value.
35717         * math/auto-libm-test-in: Do not mark underflow exceptions as
35718         possibly missing for bug 16350.
35719         * math/auto-libm-test-out: Regenerated.
35721         * include/bits/ipc.h: Remove file.
35722         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35723         variable.
35724         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35725         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35726         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35727         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35728         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35729         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35730         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35731         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35732         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35734         * math/auto-libm-test-in: Remove spurious underflow allowance for
35735         tests of cexp.
35736         * math/auto-libm-test-out: Regenerated.
35738         [BZ #18558]
35739         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35740         unconditional definition.
35741         (MCAST_BLOCK_SOURCE): Likewise.
35742         (MCAST_UNBLOCK_SOURCE): Likewise.
35743         (MCAST_LEAVE_GROUP): Likewise.
35744         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35745         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35746         (MCAST_MSFILTER): Likewise.
35747         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35748         Remove variable.
35749         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35750         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35751         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35752         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35753         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35755 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35757         * NEWS: Mention addition of x86_64 vector sincosf.
35758         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35759         * math/test-float-vlen4.h: Likewise.
35760         * math/test-float-vlen8.h: Likewise.
35761         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35762         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35763         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35764         * sysdeps/x86_64/fpu/Versions: New versions added.
35765         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35766         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35767         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35768         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35769         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35773         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35774         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35775         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35776         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35777         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35778         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35779         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35780         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35781         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35782         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35783         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35784         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35785         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35786         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35787         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35788         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35790         * NEWS: Mention addition of x86_64 vector sincos.
35791         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35792         * math/math.h (__MATHDECL_VEC): New macro.
35793         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35794         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35795         declaration under condition.
35796         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35797         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35798         TEST_VEC_LOOP change.
35799         * math/test-double-vlen4.h: Likewise.
35800         * math/test-double-vlen8.h: Likewise.
35801         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35802         * math/test-float-vlen4.h: Likewise.
35803         * math/test-float-vlen8.h: Likewise.
35804         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35805         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35806         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35807         * sysdeps/x86_64/fpu/Versions: New versions added.
35808         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35809         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35810         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35811         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35817         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35818         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35819         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35820         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35821         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35822         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35823         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35824         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35825         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35826         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35828         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35829         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35830         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35831         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35833         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35834         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35835         redirections for powf.
35836         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35837         * sysdeps/x86_64/fpu/Versions: New versions added.
35838         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35839         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35840         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35841         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35842         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35848         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35849         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35850         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35851         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35852         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35853         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35854         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35855         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35856         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35857         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35858         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35859         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35860         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35861         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35862         * math/test-float-vlen16.h: Fixed 2 argument macro.
35863         * math/test-float-vlen4.h: Likewise.
35864         * math/test-float-vlen8.h: Likewise.
35865         * NEWS: Mention addition of x86_64 vector powf.
35867 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35869         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35870         and redefine.
35871         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35872         and redefine.
35873         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35874         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35875         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35877         [BZ #18553]
35878         * resource/getpriority.c (getpriority): Rename to __getpriority
35879         and define as weak alias of __getpriority.
35880         * resource/setpriority.c (setpriority): Rename to __setpriority
35881         and define as weak alias of __setpriority.
35882         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35883         __getpriority and define as weak alias of __getpriority.
35884         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35885         __setpriority and define as weak alias of __setpriority.
35886         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35887         strong name.
35888         (setpriority): Use __setpriority as strong name.
35889         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35890         __getpriority and define as weak alias of __getpriority.
35891         * include/sys/resource.h (__getpriority): Declare.  Use
35892         libc_hidden_proto.
35893         (__setpriority): Likewise.
35894         (getpriority): Don't use libc_hidden_proto.
35895         (setpriority): Likewise.
35896         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35897         getpriority.  Call __setpriority instead of setpriority.
35898         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35899         Remove variable.
35901         [BZ #18547]
35902         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35903         as weak alias of __getttynam.  Use prototype function definition.
35904         Call __setttyent, __getttyent and __endttyent instead of
35905         setttyent, getttyent and endttyent.
35906         (getttyent): Rename to __getttyent and define as weak alias of
35907         __getttyent.  Call __setttyent instead of setttyent.  Call
35908         __fgets_unlocked instead of fgets_unlocked.
35909         (setttyent): Rename to __setttyent and define as weak alias of
35910         __setttyent.
35911         (endttyent): Rename to __endttyent and define as weak alias of
35912         __endttyent.
35913         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35914         (__setttyent): Likewise.
35915         (__endttyent): Likewise.
35916         (getttyent): Don't use libc_hidden_proto.
35917         (setttyent): Likewise.
35918         (endttyent): Likewise.
35919         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35920         __endttyent instead of setttyent, getttyent and endttyent.
35921         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35922         Remove variable.
35924         [BZ #18546]
35925         * socket/recv.c (__recv): Use libc_hidden_def.
35926         * socket/socket.c (__socket): Likewise.
35927         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35928         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35929         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35930         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35931         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35932         libc_hidden_def.
35933         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35934         libc_hidden_weak.
35935         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35936         Use libc_hidden_proto.
35937         (__recv): Likewise.
35938         * socket/Versions (libc): Export __recv and __socket at version
35939         GLIBC_PRIVATE.
35940         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35941         instead of recv.
35942         (init_mq_netlink): Call __socket instead of socket.
35943         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35944         Remove variable.
35946         [BZ #18545]
35947         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35948         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35949         hidden_weak.
35950         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35951         define as alias of __mq_timedsend.  Use hidden_weak.
35952         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35953         __mq_timedsend as strong name.
35954         (mq_timedreceive): Use __mq_timedreceive as strong name.
35955         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35956         (__mq_timedreceive): Likewise.
35957         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35958         __mq_timedreceive instead of mq_timedreceive.
35959         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35960         instead of mq_timedsend.
35961         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35962         Remove variable.
35964         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35965         hidden_def and hidden_weak instead of libc_hidden_def and
35966         libc_hidden_weak.
35967         (top level): Refer to hidden_def in comment.
35968         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35969         macro.  Use it instead of libc_hidden_def.
35970         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35971         specify __GI_* name explicitly.
35972         (mq_timedreceive): Likewise.
35973         (mq_setattr): Likewise.
35975         [BZ #18544]
35976         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35977         __pthread_barrier_init and define as weak alias of
35978         __pthread_barrier_init.
35979         * sysdeps/sparc/nptl/pthread_barrier_init.c
35980         (pthread_barrier_init): Likewise.
35981         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35982         __pthread_barrier_wait and define as weak alias of
35983         __pthread_barrier_wait.
35984         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35985         (pthread_barrier_wait): Likewise.
35986         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35987         (pthread_barrier_wait): Likewise.
35988         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35989         (pthread_barrier_wait): Likewise.
35990         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35991         (pthread_barrier_wait): Likewise.
35992         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35993         __pthread_barrier_wait at version GLIBC_PRIVATE.
35994         * include/pthread.h (__pthread_barrier_init): Declare.
35995         (__pthread_barrier_wait): Likewise.
35996         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35997         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35998         (helper_thread): Likewise.
35999         (init_mq_netlink): Call __pthread_barrier_init instead of
36000         pthread_barrier_init.
36002         [BZ #18542]
36003         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
36004         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
36005         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
36006         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
36007         vswscanf.
36008         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
36009         Remove variable.
36011         [BZ #18540]
36012         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
36013         strong alias of _IO_fflush.  Use libc_hidden_def.
36014         * libio/iofflush_u.c (fflush_unlocked): Rename to
36015         __fflush_unlocked and define as weak alias of __fflush_unlocked.
36016         Use libc_hidden_weak.
36017         * include/stdio.h (__fflush_unlocked): Declare.  Use
36018         libc_hidden_proto.
36019         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
36020         fflush_unlocked.
36021         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
36022         Remove variable.
36024         [BZ #18539]
36025         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
36026         define as weak alias of __addseverity.
36027         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
36028         Remove variable.
36029         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36030         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36031         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36033         [BZ #18536]
36034         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
36035         (__tfind): Likewise.
36036         (__tdelete): Likewise.
36037         (__twalk): Likewise.
36038         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
36039         __twalk to GLIBC_PRIVATE.
36040         * include/search.h (__tsearch): Use libc_hidden_proto.
36041         (__tfind): Likewise.
36042         (__tdelete): Likewise.
36043         (__twalk): Likewise.
36044         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
36045         Call __tdelete instead of tdelete.
36046         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
36047         tfind.  Call __tsearch instead of tsearch.
36048         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
36049         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
36050         Remove variable.
36051         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36053         [BZ #18534]
36054         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
36055         (dprintf): Define as a weak alias of __dprintf, not a strong
36056         alias.
36057         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
36058         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
36059         dprintf.
36060         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
36061         Remove variable.
36062         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36063         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36065         [BZ #18533]
36066         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
36067         not a strong alias.
36068         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
36069         Remove variable.
36071         [BZ #18532]
36072         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
36073         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
36074         (in6addr_loopback): Rename to __in6addr_loopback and define as
36075         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
36076         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
36077         libc_hidden_proto.
36078         (__in6addr_any): Likewise.
36079         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
36080         in6addr_any.
36081         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
36082         variable.
36083         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36085 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
36087         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
36088         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
36089         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36090         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36091         redirections for pow.
36092         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36093         * sysdeps/x86_64/fpu/Versions: New versions added.
36094         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36095         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36096         build of SSE, AVX2 and AVX512 IFUNC versions.
36097         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
36099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
36100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
36101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
36102         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
36103         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
36104         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
36105         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
36106         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
36107         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
36108         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
36109         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
36110         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
36111         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36112         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36114         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36115         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36116         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36117         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36118         * NEWS: Mention addition of x86_64 vector pow.
36120         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36121         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36122         redirections for expf.
36123         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36124         * sysdeps/x86_64/fpu/Versions: New versions added.
36125         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36126         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36127         build of SSE, AVX2 and AVX512 IFUNC versions.
36128         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
36129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
36130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
36131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
36132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
36133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
36134         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
36135         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
36136         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
36137         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
36138         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
36139         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
36140         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
36141         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36142         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36143         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36144         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36145         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36146         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36147         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36148         * NEWS: Mention addition of x86_64 vector expf.
36150         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
36151         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
36152         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36153         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36154         redirections for exp.
36155         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36156         * sysdeps/x86_64/fpu/Versions: New versions added.
36157         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36158         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36159         build of SSE, AVX2 and AVX512 IFUNC versions.
36160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36166         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36167         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36168         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36169         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36170         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36171         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36172         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36173         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36174         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36176         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36177         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36178         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36179         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36180         * NEWS: Mention addition of x86_64 vector exp.
36182         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36183         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36184         redirections for logf.
36185         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36186         * sysdeps/x86_64/fpu/Versions: New versions added.
36187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36188         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36189         build of SSE, AVX2 and AVX512 IFUNC versions.
36190         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36191         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36194         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36195         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36196         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36197         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36198         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36199         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36200         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36201         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36202         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36203         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36204         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36205         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36206         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36208         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36209         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36210         * NEWS: Mention addition of x86_64 vector logf.
36212         * bits/libm-simd-decl-stubs.h: Added stubs for log.
36213         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36214         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36215         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36216         redirections for log.
36217         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36218         * sysdeps/x86_64/fpu/Versions: New versions added.
36219         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36220         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36221         build of SSE, AVX2 and AVX512 IFUNC versions.
36222         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36223         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36224         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36225         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36226         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36227         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36228         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36229         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36230         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36231         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36232         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36233         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36234         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36235         test.
36236         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36237         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36238         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36239         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36240         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36241         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36242         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36243         * NEWS: Mention addition of x86_64 vector log.
36245 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36247         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36248         cfi_adjust_cfa_offset argument.
36249         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36250         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36252         [BZ #18034]
36253         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36254         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36255         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36256         ordering using ldar.
36257         (_dl_tlsdesc_dynamic): Likewise.
36258         (_dl_tlsdesc_return_lazy): Likewise.
36259         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36260         relaxed atomics instead of volatile and synchronize with release store.
36261         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36262         volatile.
36263         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36265 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36268         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36270         * sysdeps/x86_64/fpu/Versions: New versions added.
36271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36273         build of SSE, AVX2 and AVX512 IFUNC versions.
36274         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36279         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36280         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36281         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36282         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36283         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36284         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36285         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36286         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36287         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36288         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36289         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36290         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36292         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36293         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36294         * NEWS: Mention addition of x86_64 vector sinf.
36296 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36298         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36299         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36300         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36301         Remove variable.
36302         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36303         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36305 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36307         [BZ #18530]
36308         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36309         strong alias of _IO_fputs.  Use libc_hidden_def.
36310         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36311         and define as weak alias of __fputs_unlocked.  Use
36312         libc_hidden_weak.
36313         * include/stdio.h (__fputs_unlocked): Declare.  Use
36314         libc_hidden_proto.
36315         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36316         fputs_unlocked.
36318         [BZ #18529]
36319         * resolv/netdb.h [__USE_POSIX]: Change condition to
36320         [__USE_XOPEN2K].
36321         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36322         not expect.
36323         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36324         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36325         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36326         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36327         [XPG4 || UNIX98] (AI_ALL): Likewise.
36328         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36329         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36330         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36331         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36332         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36333         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36334         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36335         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36336         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36337         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36338         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36339         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36340         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36341         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36342         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36343         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36344         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36345         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36346         [XPG4 || UNIX98] (gai_strerror): Likewise.
36347         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36348         [XPG4 || UNIX98] (getnameinfo): Likewise.
36350         [BZ #18528]
36351         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36352         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36353         __USE_XOPEN2K8].
36354         (getgrent): Likewise.
36355         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36356         expect.
36357         [XPG3 || POSIX2008] (endgrent): Likewise.
36358         [XPG3] (setgrent): Likewise.
36359         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36360         variable.
36361         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36363         [BZ #18527]
36364         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36365         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36366         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36367         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36368         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36369         * include/unistd.h (__getlogin_r): Declare.  Use
36370         libc_hidden_proto.
36371         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36372         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36373         variable.
36374         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36375         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36376         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36378 2015-06-12  Martin Sebor  <msebor@redhat.com>
36380         [BZ #18512]
36381         * Makerules (check-install-supported): New target.
36382         (install): Add check-install-supported as a dependency.
36383         * manual/install.texi (Installing the C Library): Document
36384         that overriding prefix and exec_prefix is not supported.
36385         Mention DESTDIR.
36386         * INSTALL: Regenerate from the above.
36388 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36390         [BZ #18519]
36391         * posix/Versions (libc): Export __libc_pread at version
36392         GLIBC_PRIVATE.
36393         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36394         instead of pread.
36395         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36396         variable.
36398         [BZ #18522]
36399         * misc/efgcvt_r.c
36400         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36401         (cvt_symbol): Use weak_alias instead of strong_alias.
36402         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36403         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36404         Remove variable.
36405         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36406         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36408         [BZ #18520]
36409         * inet/herrno.c (h_errno): Rename to __h_errno.
36410         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36411         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36412         to __h_errno instead of h_errno.
36413         * nptl/herrno.c (h_errno): Rename to __h_errno.
36414         (__h_errno_location): Refer to __h_errno not h_errno.
36415         * resolv/Versions (h_errno): Rename to __h_errno.
36416         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36417         Remove variable.
36418         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36420 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36422         * configure.ac: More strict check for AVX512 assembler support.
36423         * configure: Regenerated.
36425         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36426         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36427         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36428         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36429         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36430         * sysdeps/x86_64/fpu/Versions: New versions added.
36431         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36432         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36433         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36434         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36439         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36440         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36441         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36442         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36443         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36444         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36445         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36446         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36447         test.
36448         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36449         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36451         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36452         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36453         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36454         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36455         * NEWS: Mention addition of x86_64 vector sin.
36457 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36459         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36460         comment.
36462 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36464         [BZ #18479]
36465         * nptl/pt-interp.c: New file.
36466         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36467         Add pt-interp.
36468         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36469         $(common-objpfx)runtime-linker.h.
36471 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36473         * Makeconfig (+interp): Remove unused variable.
36474         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36475         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36476         $(elf-objpfx)runtime-linker.h.
36477         ($(elf-objpfx)runtime-linker.h): Rename to
36478         $(common-objpfx)runtime-linker.h and move ...
36479         * Makerules [$(build-shared) = yes]: ... here.
36480         * elf/interp.c: Include <runtime-linker.h> instead of
36481         <elf/runtime-linker.h>.
36483 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36485         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36486         (__gettimeofday_syscall): Remove vsyscall fallback.
36487         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36488         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36489         Add syscall fallback function.
36490         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36491         if vDSO is not present.
36492         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36493         fallback function.
36494         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36495         present.
36496         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36497         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36499 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36501         [BZ #18497]
36502         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36503         of wcscmp.
36504         (wcscmp): Define as weak alias of WCSCMP.
36505         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36506         wcscoll.
36507         (USE_HIDDEN_DEF): Define.
36508         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36509         __wcscoll.  Don't use libc_hidden_weak.
36510         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36511         wcscmp.
36512         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36513         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36514         __GI_wcscmp.
36515         (weak_alias): Undefine and redefine.
36516         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36517         __wcscmp and define as weak alias of __wcscmp.
36518         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36519         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36520         (__wcscoll): Likewise.
36521         (wcscmp): Don't use libc_hidden_proto.
36522         (wcscoll): Likewise.
36523         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36524         wcscoll.
36525         * posix/regexec.c (check_node_accept_bytes): Likewise.
36526         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36527         variable.
36528         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36529         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36531         [BZ #18507]
36532         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36533         __fstatvfs and define as weak alias of __fstatvfs.  Use
36534         libc_hidden_weak.
36535         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36536         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36537         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36538         Define as alias of __fstatvfs, not fstatvfs.
36539         (fstatvfs64): Likewise.
36540         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36541         Define as alias of __statvfs, not statvfs.
36542         (statvfs64): Likewise.
36543         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36544         Remove variable.
36546 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36549         (HAVE_GETCPU_VSYSCALL): Define.
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36551         (HAVE_GETCPU_VSYSCALL): Likewise.
36552         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36553         * sysdeps/unix/sysv/linux/sched_getcpu.c
36554         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36555         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36556         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36557         prototype.
36558         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36559         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36560         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36561         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36562         Define.
36563         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36564         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36565         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36566         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36568 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36570         * sysdeps/x86_64/fpu/Makefile: New file.
36571         * sysdeps/x86_64/fpu/Versions: New file.
36572         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36573         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36574         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36575         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36576         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36577         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36578         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36579         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36585         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36586         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36587         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36588         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36589         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36590         * sysdeps/x86_64/configure: Regenerated.
36591         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36592         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36593         * manual/install.texi (Configuring and compiling): Document
36594         --disable-mathvec.
36595         * INSTALL: Regenerated.
36596         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36598         * math/Makefile: Added rules for vector tests.
36599         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36600         declaration under condition.
36601         * math/test-double-vlen2.h: New file.
36602         * math/test-double-vlen4.h: New file.
36603         * math/test-double-vlen8.h: New file.
36604         * math/test-vec-loop.h: Added initialization macro.
36605         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36606         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36607         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36608         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36609         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36610         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36612         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36613         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36614         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36615         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36617         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36618         * sysdeps/x86_64/fpu/Versions: New versions added.
36619         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36620         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36621         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36622         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36623         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36624         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36625         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36626         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36627         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36628         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36629         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36630         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36631         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36632         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36633         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36634         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36635         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36636         * NEWS: Mention addition of x86_64 vector cosf.
36638         * math/Makefile: Added CFLAGS for new tests.
36639         * math/test-float-vlen16.h: New file.
36640         * math/test-float-vlen4.h: New file.
36641         * math/test-float-vlen8.h: New file.
36642         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36643         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36644         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36645         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36646         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36647         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36648         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36649         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36651         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36652         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36654 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36656         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36657         * locale/programs/ld-ctype.c: Likewise.
36659 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36661         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36662         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36663         bit_ZMM16_31_state): New macro.
36664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36665         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36667 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36669         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36671 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36673         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36675 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36677         [BZ #18498]
36678         * libio/memstream.c (open_memstream): Rename to __open_memstream
36679         and define as weak alias of __open_memstream.
36680         * include/stdio.h (__open_memstream): Declare.  Use
36681         libc_hidden_proto.
36682         (open_memstream): Don't use libc_hidden_proto.
36683         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36684         open_memstream.
36685         * posix/getopt.c (_getopt_internal_r): Likewise.
36686         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36687         variable.
36688         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36689         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36690         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36692         [BZ #18496]
36693         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36694         instead of wcrtomb.
36696         [BZ #18483]
36697         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36698         [__USE_XOPEN2K8].  Remove redundant #endif.
36699         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36700         Remove redundant #if.
36701         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36702         Remove variable.
36703         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36704         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36706         [BZ #18495]
36707         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36708         (__iswlower): Likewise.
36709         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36710         (__iswlower): Likewise.
36711         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36712         instead of towlower.
36713         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36714         instead of iswlower.  Call __towupper instead of towupper.
36715         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36716         instead of iswalnum.
36718 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36720         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36721         errors to stderr.
36723 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36725         [BZ #15661]
36726         [BZ #17322]
36727         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36728         Check for overflow properly.  Check for O_APPEND.  Ignore large
36729         file system block sizes.  Add comments about problems.
36730         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36731         * manual/filesys.texi (Storage Allocation): New node.
36733 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36735         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36736         cancellable syscalls.
36737         (SYS_ify): Add guard to no redefine it.
36738         (INLINE_SYSCALL): Likewise.
36739         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36740         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36741         SYSCALL_CANCEL instead.
36742         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36743         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36744         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36745         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36746         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36747         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36748         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36749         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36750         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36751         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36752         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36753         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36754         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36755         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36756         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36757         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36758         Likewise.
36759         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36760         (__libc_pread64): Likewise.
36761         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36762         (__libc_preadv): Likewise.
36763         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36764         (__libc_readv64): Likewise.
36765         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36766         (__libc_pwrite): Likewise.
36767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36768         (__libc_pwrite64): Likewise.
36769         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36770         (__libc_pwritev): Likewise.
36771         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36772         (__libc_pwritev64): Likewise.
36773         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36774         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36775         (sync_file_range): Likewise.
36776         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36777         Likewise.
36778         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36779         Likewise.
36780         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36781         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36782         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36783         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36784         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36785         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36786         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36787         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36789         Likewise.
36790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36791         (__libc_read64): Likewise.
36792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36793         Likewise.
36794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36795         Likewise.
36796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36797         Likewise.
36798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36799         Likewise.
36800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36801         (__libc_pread64): Likewise.
36802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36803         Likewise.
36804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36805         (__libc_pwrite64): Likewise.
36806         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36807         (sync_file_range): Likewise.
36808         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36809         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36810         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36811         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36812         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36813         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36814         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36815         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36816         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36817         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36818         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36819         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36820         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36821         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36822         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36823         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36824         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36825         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36826         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36827         Likewise.
36828         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36829         Likewise.
36830         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36831         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36832         Likewise.
36833         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36834         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36835         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36836         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36837         Likewise.
36838         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36839         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36840         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36841         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36842         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36844 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36846         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36847         Include dl-vdso.
36848         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36849         Use VDSO routines for gettimeofday, clock_gettime if
36850         available.
36851         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36852         Declare VDSO symbols.
36853         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36854         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36855         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36856         * sysdeps/unix/sysv/linux/arm/Versions: Add
36857         __vdso_clock_gettime.
36859 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36861         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36862         be an inline implementation regardless of library is built within.
36863         (open_not_cancel_2): Likewise.
36864         (__read_nocancel): Likewise.
36865         (__write_nocancel): Likewise.
36866         (openat_not_cancel): Likewise.
36867         (openat_not_cancel_3): Likewise.
36868         (openat64_not_cancel): Likewise.
36869         (openat64_not_cancel_3): Likewise.
36870         (__close_nocancel): Likewise.
36871         (pause_not_cancel): Likewise.
36872         (nanosleep_not_cancel): Likewise.
36873         (sigsuspend_not_cancel): Likewise.
36875 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36877         [BZ #14958]
36878         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36879         wake-up.
36880         (__pthread_rwlock_rdlock_slow): Likewise.
36881         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36882         Likewise.
36883         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36884         Likewise.
36885         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36886         * nptl/tst-rwlock16.c: New file.
36887         * nptl/Makefile (tests): Add new test.
36889 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36891         [BZ #18324]
36892         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36893         missing wake-up of readers.
36894         * nptl/tst-rwlock15.c: New file.
36895         * nptl/Makefile (tests): Add new test.
36897 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36899         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36900         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36901         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36902         and __nacl_supply_interface_rtld.
36903         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36904         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36905         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36906         Add __nacl_supply_interface_rtld.
36907         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36909 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36911         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36912         isfinite.
36913         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36914         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36916 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36918         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36919         __signbit* with standard C99 macros.
36920         * math/e_exp10l.c: Likewise.
36921         * math/e_exp2l.c: Likewise.
36922         * math/e_scalb.c: Likewise.
36923         * math/e_scalbf.c: Likewise.
36924         * math/e_scalbl.c: Likewise.
36925         * math/s_ldexp.c: Likewise.
36926         * math/s_ldexpf.c: Likewise.
36927         * math/s_ldexpl.c: Likewise.
36928         * math/w_atan2.c: Likewise.
36929         * math/w_atan2f.c: Likewise.
36930         * math/w_atan2l.c: Likewise.
36931         * math/w_cosh.c: Likewise.
36932         * math/w_coshf.c: Likewise.
36933         * math/w_coshl.c: Likewise.
36934         * math/w_exp10.c: Likewise.
36935         * math/w_exp10f.c: Likewise.
36936         * math/w_exp10l.c: Likewise.
36937         * math/w_exp2.c: Likewise.
36938         * math/w_exp2f.c: Likewise.
36939         * math/w_exp2l.c: Likewise.
36940         * math/w_fmod.c: Likewise.
36941         * math/w_fmodf.c: Likewise.
36942         * math/w_fmodl.c: Likewise.
36943         * math/w_hypot.c: Likewise.
36944         * math/w_hypotf.c: Likewise.
36945         * math/w_hypotl.c: Likewise.
36946         * math/w_jnl.c: Likewise.
36947         * math/w_lgamma.c: Likewise.
36948         * math/w_lgamma_r.c: Likewise.
36949         * math/w_lgammaf.c: Likewise.
36950         * math/w_lgammaf_r.c: Likewise.
36951         * math/w_lgammal.c: Likewise.
36952         * math/w_lgammal_r.c: Likewise.
36953         * math/w_pow.c: Likewise.
36954         * math/w_powf.c: Likewise.
36955         * math/w_powl.c: Likewise.
36956         * math/w_remainder.c: Likewise.
36957         * math/w_remainderf.c: Likewise.
36958         * math/w_remainderl.c: Likewise.
36959         * math/w_scalb.c: Likewise.
36960         * math/w_scalbf.c: Likewise.
36961         * math/w_scalbl.c: Likewise.
36962         * math/w_scalbln.c: Likewise.
36963         * math/w_scalblnf.c: Likewise.
36964         * math/w_scalblnl.c: Likewise.
36965         * math/w_sinh.c: Likewise.
36966         * math/w_sinhf.c: Likewise.
36967         * math/w_sinhl.c: Likewise.
36968         * math/w_tgamma.c: Likewise.
36969         * math/w_tgammaf.c: Likewise.
36970         * math/w_tgammal.c: Likewise.
36971         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36972         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36973         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36974         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36975         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36976         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36977         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36978         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36979         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36980         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36981         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36982         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36983         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36984         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36985         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36986         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36987         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36988         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36989         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36990         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36991         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36993         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36994         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36995         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36996         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36997         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36998         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36999         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37000         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37001         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
37002         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
37003         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
37004         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
37005         * stdio-common/printf_fp.c: Likewise.
37006         * stdio-common/printf_fphex.c: Likewise.
37007         * stdio-common/printf_size.c: Likewise.
37009 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
37011         [BZ #18470]
37012         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
37013         strnlen.
37014         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
37015         Remove variable.
37016         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37017         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37018         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37019         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37020         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37021         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37022         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37023         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37024         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37025         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37027         [BZ #18468]
37028         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
37029         weak alias of __wmemchr.  Use libc_hidden_weak.
37030         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
37031         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
37032         instead of wmemchr.
37034 2015-06-02  Roland McGrath  <roland@hack.frob.com>
37036         [BZ #18383]
37037         * elf/tst-tlsalign-extern.c: New file.
37038         * elf/tst-tlsalign-extern-static.c: New file.
37039         * elf/tst-tlsalign-vars.c: New file.
37040         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
37041         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
37042         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
37043         ($(objpfx)tst-tlsalign-extern-static): Likewise.
37044         (test-xfail-tst-tlsalign-extern-static): New variable.
37046 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
37048         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
37049         Use variable name _sc_err instead of err.
37050         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
37051         instead of ret.
37052         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
37053         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
37054         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
37055         (INLINE_SYSCALL): Likewise.
37057         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
37058         * include/string.h (__strnlen): Use libc_hidden_proto.
37059         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
37060         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
37061         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
37062         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
37063         (libc_hidden_def): Undefine and redefine.
37064         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
37065         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
37066         __GI_strnlen.
37067         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
37068         libc_hidden_def.
37069         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
37071         [BZ #18469]
37072         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
37073         weak alias of __towlower.  Use libc_hidden_weak.
37074         (towupper): Rename to __towupper and define as weak alias of
37075         __towupper.  Use libc_hidden_weak.
37076         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
37077         (__towupper): Likewise.
37078         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
37079         __towlower instead of towlower.
37081 2015-06-02  Roland McGrath  <roland@hack.frob.com>
37083         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
37084         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
37086 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37088         * sysdeps/aarch64/libm-test-ulps: Update.
37090 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37092         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
37093         Define.
37094         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
37096         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37097         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37098         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
37099         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
37100         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
37102 2015-06-01  Martin Sebor  <msebor@redhat.com>
37104         [BZ #18116]
37105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37106         (__setcontext): Use extended four-operand version of mtsf whenever
37107         possible.
37108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37109         (__novec_swapcontext): Likewise.
37111 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37113         * benchtests/scripts/compare_bench.py: New file.
37114         * benchtests/scripts/import_bench.py (mean): New function.
37115         (split_list): Likewise.
37116         (do_for_all_timings): Likewise.
37117         (compress_timings): Likewise.
37119         * benchtests/scripts/import_bench.py: New file.
37120         * benchtests/scripts/validate_benchout.py: Import import_bench
37121         instead of jsonschema.
37122         (validate_bench): Remove function.
37123         (main): Use import_bench.
37125 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
37127         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
37128         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
37130 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37134 2015-05-28  Roland McGrath  <roland@hack.frob.com>
37136         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
37137         set THREAD_SELF->tid to a magic value and futex-wake it.
37138         Pass its address to the thread_exit system call.
37139         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
37140         bit is clear.
37141         * sysdeps/nacl/lowlevellock.h: New file.
37142         * sysdeps/nacl/lll_timedwait_tid.c: New file.
37144         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
37145         Add TIMEOUT to current time, don't subtract it.
37147 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
37149         [BZ #2981]
37150         [BZ #18422]
37151         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
37152         ($(objpfx)tst-audit2.out): Also depend on
37153         $(objpfx)tst-auditmod9b.so.
37154         * elf/tst-audit2.c: Include <dlfcn.h>.
37155         (calloc_called): New.
37156         (calloc): Allow to be called more than once.
37157         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
37159 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
37161         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37162         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37164 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
37166         * stdlib/monetary.h: Fix comment.
37168 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
37170         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37171         Avoid using variables in #defines that might cause shadowing.
37172         (INTERNAL_VSYSCALL_CALL): Likewise.
37174 2015-05-26  Roland McGrath  <roland@hack.frob.com>
37176         * sysdeps/nacl/lll_timedlock_wait.c: New file.
37178         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37179         * nptl/lll_timedlock_wait.c: ... to this new file.
37180         * nptl/Makefile (libpthread-routines): Add it.
37181         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37182         * nptl/lll_timedwait_tid.c: ... to this new file.
37183         * nptl/Makefile (libpthread-routines): Add it.
37184         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37185         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37186         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37187         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37188         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37189         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37190         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37191         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37192         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37193         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37195 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37197         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37198         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37199         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37200         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37201         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37203         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37204         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37205         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37206         * sysdeps/unix/sysv/linux/tile/sysdep.h
37207         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37208         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37209         using vDSO syscall macro.
37211 2015-05-26  Andriy Rysin  <arysin@gmail.com>
37213         [BZ #17293]
37214         * uk_UA: Fix sorting order for Ukrainian locale
37216 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
37218         * stdlib/monetary.h: Fix comment.
37220 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37222         [BZ #18234]
37223         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37224         st_mtim and st_ctim members.
37225         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37226         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37227         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37228         (struct stat64): Likewise.
37229         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37230         (struct stat64): Likewise.
37231         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37232         (struct stat64): Likewise.
37234 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37236         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37237         Define and include sysdep-vdso.h.
37238         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37239         Likewise.
37240         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37241         Likewise.
37242         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37243         Define with VDSO_SYMBOL and use PTR_MANGLE.
37244         (__vdso_clock_gettime): Likewise.
37245         (__vdso_clock_getres): Likewise.
37246         (_libc_vdso_platform_setup): Likewise.
37247         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37248         Likewise.
37249         (_libc_vdso_platform_setup): Likewise.
37250         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37251         Likewise.
37252         (__vdso_clock_gettime): Likewise.
37253         (__vdso_clock_getres): Likewise.
37254         (__vdso_get_tbfreq): Likewise.
37255         (__vdso_getcpu): Likewise.
37256         (__vdso_time): Likewise.
37257         (__vdso_sigtramp_rt64): Likewise.
37258         (__vdso_signtramp32): Likewise.
37259         (__vdso_sigtramp_rt32): Likewise.
37260         (_libc_vdso_platform_setup): Likewise.
37261         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37262         Likewise.
37263         (__vdso_clock_gettime): Likewise.
37264         (__vdso_clock_getres): Likewise.
37265         (_libc_vdso_platform_setup): Likewise.
37266         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37267         Likewise.
37268         (__vdso_clock_gettime): Likewise.
37269         (_libc_vdso_platform_setup): Likewise.
37270         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37271         Likewise.
37272         (__vdso_getcpu): Likewise.
37273         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37274         Use VDSO_SYMBOL macro to define.
37275         (__vdso_clock_gettime): Likewise.
37276         (__vdso_clock_getres): Likewise.
37277         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37278         Likewise.
37279         (__vdso_clock_gettime): Likewise.
37280         (__vdso_clock_getres): Likewise.
37281         (__vdso_get_tbfreq): Likewise.
37282         (__vdso_getcpu): Likewise.
37283         (__vdso_time): Likewise.
37284         (__vdso_sigtramp_rt64): Likewise.
37285         (__vdso_signtramp32): Likewise.
37286         (__vdso_sigtramp_rt32): Likewise.
37287         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37288         Likewise.
37289         (__vdso_clock_gettime): Likewise.
37290         (__vdso_clock_getres): Likewise.
37291         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37292         Likewise.
37293         (__vdso_clock_gettime): Likewise.
37294         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37295         Likewise.
37296         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37297         macro.
37298         (INTERNAL_VSYSCALL): Likewise.
37299         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37300         Remove macro.
37301         (INTERNAL_VSYSCALL): Likewise.
37302         (INTERNAL_VSYSCALL_NCS): Likewise.
37303         (INTERNAL_VSYSCALL_CALL): New macro.
37304         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37306         Likewise.
37307         (INTERNAL_VSYSCALL): Likewise.
37308         (INTERNAL_VSYSCALL_NCS): Likewise.
37309         (INTERNAL_VSYSCALL_CALL): New macro.
37310         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37312         (INLINE_VSYSCALL): Remove macro.
37313         (INTERNAL_VSYSCALL): Remove macro.
37314         (INTERNAL_VSYSCALL_NCS): Remove macro.
37315         (INTERNAL_VSYSCALL_CALL): New macro.
37316         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37317         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37318         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37319         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37320         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37322         (INLINE_VSYSCALL): Remove macro.
37323         (INTERNAL_VSYSCALL): Likewise.
37324         (INTERNAL_VSYSCALL_NCS): Likewise.
37325         (INTERNAL_VSYSCALL_CALL): New macro.
37326         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37327         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37328         PTR_DEMANGLE on vDSO pointer.
37329         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37330         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37331         macro.
37332         (INTERNAL_SYSCALL): Likewise.
37333         (INTERNAL_VSYSCALL_NCS): Remove macro.
37334         (INTERNAL_VSYSCALL_CALL): New macro.
37335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37336         Remove macro.
37337         (INTERNAL_VSYSCALL): Likewise.
37338         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37339         sysdep-vdso.h instead of libc-vdso.h.
37340         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37341         definition.
37342         (INLINE_VSYSCALL): Likewise.
37343         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37344         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37345         definition.
37346         (INLINE_VSYSCALL): Likewise.
37347         (INTERNAL_VSYSCALL): Likewise.
37348         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37349         * sysdeps/unix/sysv/linux/timespec_get.c
37350         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37351         (timespec_get): Use ANSI prototype.
37352         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37353         and definition for Linux.
37355 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37357         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37358         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37360 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37362         [BZ #2981]
37363         [BZ #18410]
37364         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37365         for missing DT_PLTRELSZ.
37367 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37369         Remove obsolete aliases that broke 'locale -a'
37370         [BZ #18412]
37371         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
37372         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37373         breaking some applications that use 'locale -a' output.
37374         Change the encoding of this file from Latin-1 to ASCII to avoid
37375         other potential problems with people grepping this file.
37377 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37379         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37380         -fasynchronous-unwind-tables.
37381         (CFLAGS-sendto.c): Likewise.
37382         (CFLAGS-sendmsg.c): Likewise.
37383         (CFLAGS-connect.c): Likewise.
37384         (CFLAGS-recvmsg.c): Likewise.
37385         (CFLAGS-recvfrom.c): Likewise.
37386         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37387         (SOCKETCALL): New macro: non-cancellable socketcall.
37388         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37389         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37390         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37391         * sysdeps/unix/sysv/linux/accept.c: New file.
37392         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37393         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37394         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37395         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37396         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37397         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37398         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37399         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37400         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37401         * sysdeps/unix/sysv/linux/send.c: Likewise.
37402         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37403         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37404         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37405         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37406         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37407         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37408         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37409         prototype.
37410         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37411         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37412         instead of __internal_xxx function.
37413         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37414         prototype.
37415         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37416         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37417         instead of __internal_xxx function.
37418         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37419         prototype.
37420         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37421         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37422         instead of __internal_xxx function.
37423         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37424         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37425         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37426         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37427         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37428         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37429         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37430         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37431         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37432         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37433         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37434         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37435         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37436         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37437         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37438         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37439         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37440         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37441         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37442         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37445         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37446         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37447         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37448         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37449         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37450         * sysdeps/unix/sysv/linux/send.S: Likewise.
37451         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37452         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37453         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37454         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37455         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37456         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37457         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37458         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37459         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37460         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37461         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37462         socketcall is implemented in GLIBC.
37464 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37466         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37467         (__fma): Ignore uninitialized warnings around packing.
37468         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37469         (__fmaf): Ignore uninitialized warnings around packing.
37470         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37471         (__fmal): Ignore uninitialized warnings around packing.
37473         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37474         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37475         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37476         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37478         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37479         switch statement into default case.
37480         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37482         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37483         a conditional in forcing "inexact".
37484         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37485         Likewise.
37487 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37489         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37490         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37491         for each INTERNAL_SYSCALL use.
37493 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37495         [BZ #438]
37496         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37497         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37498         variable.
37500         [BZ #18444]
37501         * string/basename.c (basename): Rename to __basename and define as
37502         weak alias of __basename.  Use libc_hidden_weak.
37503         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37504         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37505         __basename instead of basename.
37506         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37507         Remove variable.
37508         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37510 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37512         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37513         (_IO_JUMPS_FILE_plus): New.
37514         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37515         _IO_CAST_FIELD_ACCESS.
37516         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37517         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37518         * libio/freopen.c (freopen): Likewise.
37519         * libio/freopen64.c (freopen64): Likewise.
37520         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37521         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37522         * libio/iofwide.c (_IO_fwide): Likewise.
37523         * libio/memstream.c (open_memstream): Likewise.
37524         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37525         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37526         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37528 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37530         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37531         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37532         NADJ.
37533         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37534         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37535         NADJ.
37536         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37537         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37538         NADJ.
37540         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37541         (p == 4) case.
37543         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37544         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37545         Remove variable.
37546         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37547         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37548         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37550 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37552         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37553         Adjust jump table label generation macros.
37555 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37557         * stdio-common/vfprintf.c (vfprintf): Move local variables
37558         args_malloced, specs, specs_malloced, and the code after
37559         do_positional to the printf_positional function.
37560         (printf_positional): New function.
37562 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37564         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37565         function.
37566         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37567         STEP4_TABLE, process_arg): Move macro definitions
37568         out of the vfprintf function.  (Cosmetic change only.)
37570 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37572         * benchtests/Makefile (stdio-common-bench): Define.
37573         (benchset): Add stdio-common-bench.
37574         * sprintf-inputs: New file.
37575         * sprintf-source.c: New file.
37577 2015-05-21  Andreas Schwab  <schwab@suse.de>
37579         [BZ #13028]
37580         [BZ #17053]
37581         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37582         of struct __res_state.
37583         * resolv/res_send.c (__libc_res_nsend): Likewise.
37584         (get_nsaddr): New function.
37585         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37586         statp directly.
37588 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37590         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37591         -D_POSIX_C_SOURCE=199506L.
37593         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37595         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37596         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37597         Do not mention otherwise.
37598         [POSIX] (_XOPEN_VERSION): Do not expect.
37599         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37600         [POSIX] (_POSIX2_C_BIND): Likewise.
37601         [POSIX] (_POSIX2_VERSION): Likewise.
37602         [POSIX] (_XOPEN_XPG2): Likewise.
37603         [POSIX] (_XOPEN_XPG3): Likewise.
37604         [POSIX] (_XOPEN_XPG4): Likewise.
37605         [POSIX] (_XOPEN_UNIX): Likewise.
37606         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37607         [POSIX] (_POSIX_BARRIERS): Likewise.
37608         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37609         [POSIX] (_POSIX_CPUTIME): Likewise.
37610         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37611         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37612         [POSIX] (_POSIX_SHELL): Likewise.
37613         [POSIX] (_POSIX_SPAWN): Likewise.
37614         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37615         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37616         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37617         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37618         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37619         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37620         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37621         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37622         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37623         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37624         [POSIX] (_POSIX2_PBS): Likewise.
37625         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37626         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37627         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37628         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37629         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37630         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37631         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37632         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37633         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37634         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37635         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37636         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37637         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37638         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37639         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37640         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37641         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37642         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37643         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37644         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37645         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37646         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37647         [POSIX] (_SC_2_C_BIND): Likewise.
37648         [POSIX] (_SC_2_C_VERSION): Likewise.
37649         [POSIX] (_SC_2_PBS): Likewise.
37650         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37651         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37652         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37653         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37654         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37655         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37656         [POSIX] (_SC_BARRIERS): Likewise.
37657         [POSIX] (_SC_BASE): Likewise.
37658         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37659         [POSIX] (_SC_DEVICE_IO): Likewise.
37660         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37661         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37662         [POSIX] (_SC_FD_MGMT): Likewise.
37663         [POSIX] (_SC_FIFO): Likewise.
37664         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37665         [POSIX] (_SC_FILE_LOCKING): Likewise.
37666         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37667         [POSIX] (_SC_IOV_MAX): Likewise.
37668         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37669         [POSIX] (_SC_NETWORKING): Likewise.
37670         [POSIX] (_SC_PAGE_SIZE): Likewise.
37671         [POSIX] (_SC_PASS_MAX): Likewise.
37672         [POSIX] (_SC_PIPE): Likewise.
37673         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37674         [POSIX] (_SC_REGEXP): Likewise.
37675         [POSIX] (_SC_SHELL): Likewise.
37676         [POSIX] (_SC_SIGNALS): Likewise.
37677         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37678         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37679         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37680         [POSIX] (_SC_USER_GROUPS): Likewise.
37681         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37682         [POSIX] (_SC_STREAMS): Likewise.
37683         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37684         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37685         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37686         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37687         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37688         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37689         [POSIX] (_PC_FILESIZEBITS): Likewise.
37690         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37691         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37692         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37693         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37694         [POSIX] (uid_t): Likewise.
37695         [POSIX] (gid_t): Likewise.
37696         [POSIX] (off_t): Likewise.
37697         [POSIX] (pid_t): Likewise.
37698         [POSIX] (cuserid): Allow.
37699         (_SC_2_CHAR_TERM): Require constant.
37700         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37701         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37702         variable.
37704 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37706         * sysdeps/nacl/pthread-pids.h: New file.
37707         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37708         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37710         * nptl/pthread-pids.h: New file.
37711         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37712         * nptl/nptl-init.c: Include <pthread-pids.h>.
37713         (__pthread_initialize_minimal_internal):
37714         Call __pthread_initialize_pids instead of set_tid_address syscall.
37716         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37717         * sysdeps/posix/usleep.c: ... here.
37719 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37721         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37722         call_pselect6 object.
37723         [$(subdir) = io]: Remove call_sync_file_range object.
37724         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37725         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37726         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37727         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37729 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37731         * math/s_cproj.c: Add include "math_private.h".
37732         * math/s_cprojf.c: Likewise.
37733         * math/s_cprojl.c: Likewise.
37735 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37737         [BZ #18244]
37738         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37739         high mantissa bit when testing whether P is a NaN.
37740         * math/libm-test.inc (remainder_test_data): Add more tests.
37741         (remquo_test_data): Likewise.
37743         [BZ #18049]
37744         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37745         below -32, return the argument, with underflow if subnormal.
37746         * math/auto-libm-test-in: Add more tests of atanh.
37747         * math/auto-libm-test-out: Regenerated.
37749 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37751         [BZ #18434]
37752         * nptl/tst-sem15.c: New file.
37753         * nptl/Makefile (tests): Add it.
37754         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37755         s/<</>>/ to fix typo in EOVERFLOW check.
37756         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37758 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37760         * manual/strings.texi (envz_remove): Fix typo in safety
37761         annotations.
37763 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37764             Steve Ellcey  <sellcey@imgtec.com>
37766         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37767         in order to avoid strict alias warnings.
37768         (iruserok_af): Ditto for ra.
37770 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37772         [BZ #17581]
37773         * malloc/hooks.c
37774         (magicbyte): Convert to a function and avoid returning 0x01.
37775         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37776         (mem2chunk_check): Fix unsigned comparisons to zero.
37777         Hoist defs of sz and magic.
37779 2015-05-19  Richard Henderson  <rth@redhat.com>
37781         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37783         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37785 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37787         [BZ #16159]
37788         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37789         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37790         (reused_arena): Find a non-corrupt arena.
37791         (heap_trim): Pass arena to unlink.
37792         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37793         malloc_printerr.
37794         (top_check): Likewise.
37795         (free_check): Likewise.
37796         (realloc_check): Likewise.
37797         * malloc/malloc.c (malloc_printerr): Add arena argument.
37798         (unlink): Likewise.
37799         (munmap_chunk): Adjust.
37800         (ARENA_CORRUPTION_BIT): New macro.
37801         (arena_is_corrupt): Likewise.
37802         (set_arena_corrupt): Likewise.
37803         (sysmalloc): Use mmap if there are no usable arenas.
37804         (_int_malloc): Likewise.
37805         (__libc_malloc): Don't fail if arena_get returns NULL.
37806         (_mid_memalign): Likewise.
37807         (__libc_calloc): Likewise.
37808         (__libc_realloc): Adjust for additional argument to
37809         malloc_printerr.
37810         (_int_free): Likewise.
37811         (malloc_consolidate): Likewise.
37812         (_int_realloc): Likewise.
37813         (_int_memalign): Don't touch corrupt arenas.
37814         * malloc/tst-malloc-backtrace.c: New test case.
37816         * Makefile (summarize-tests): Fix return value on success.
37818         * manual/string.texi (Envz Functions): Add envz_remove.
37820 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37822         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37823         (invalid_name): New function, broken out of ...
37824         (__opendirat): ... here.  Call it.
37825         (need_isdir_precheck): New function, broken out of ...
37826         (__opendirat): ... here.  Call it.
37827         Use __fxstatat64, not __xstatat64.
37828         (opendir_oflags): New function, broken out of ...
37829         (__opendirat): ... here.  Call it.
37830         (opendir_tail): New function, broken out of ...
37831         (__opendirat): ... here.  Call it.
37832         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37833         opendir_tail, rather than punting to __opendirat.
37834         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37836 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37838         * .gitignore: Ignore generated *.pyc.
37840 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37842         * include/stdio.h: Define __need_wint_t.
37843         * test-skeleton.c: Avoid `for' loop initial declaration.
37844         * nptl/tst-initializers1.c: Use test-skeleton.c.
37846 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37848         [BZ #18418]
37849         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37851 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37853         [BZ #16352]
37854         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37855         (__ieee754_atanh): Force underflow exception for results with
37856         small absolute value.
37857         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37858         (__ieee754_atanhf): Force underflow exception for results with
37859         small absolute value.
37860         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37861         (__ieee754_atanh): Force underflow exception for results with
37862         small absolute value.
37863         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37864         (__ieee754_atanhf): Force underflow exception for results with
37865         small absolute value.
37866         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37867         (__ieee754_atanhl): Force underflow exception for results with
37868         small absolute value.
37869         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37870         (__ieee754_atanhl): Force underflow exception for results with
37871         small absolute value.
37872         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37873         (__ieee754_atanhl): Force underflow exception for results with
37874         small absolute value.
37875         * math/auto-libm-test-in: Do not allow missing underflow
37876         exceptions from atanh.
37877         * math/auto-libm-test-out: Regenerated.
37879         [BZ #18221]
37880         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37881         2**-28 as threshold for returning x or +/- 1/x.
37882         * math/auto-libm-test-in: Add more tests of tan.
37883         * math/auto-libm-test-out: Regenerated.
37885         [BZ #18220]
37886         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37887         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37888         * math/auto-libm-test-in: Add another test of lgamma.
37889         * math/auto-libm-test-out: Regenerated.
37891 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37893         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37894         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37895         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37896         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37897         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37898         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37899         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37900         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37901         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37902         (log1): Use fabs.  (my_log2): Use fabs.
37903         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37904         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37906         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37907         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37908         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37909         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37910         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37911         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37912         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37913         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37915 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37917         [BZ #18217]
37918         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37919         as threshold for returning 1 - x.
37920         * math/auto-libm-test-in: Add more tests of erfc.
37921         * math/auto-libm-test-out: Regenerated.
37923 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37925         [BZ #18196]
37926         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37927         threshold for large arguments.
37928         * math/auto-libm-test-in: Add another test of atan.
37929         * math/auto-libm-test-out: Regenerated.
37931         [BZ #16339]
37932         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37933         (__log1p): Force underflow exception for results with small
37934         absolute value.
37935         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37936         (__log1pf): Force underflow exception for results with small
37937         absolute value.
37938         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37939         (__log1p): Force underflow exception for results with small
37940         absolute value.
37941         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37942         (__log1pf): Force underflow exception for results with small
37943         absolute value.
37944         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37945         (__log1pl): Force underflow exception for results with small
37946         absolute value.
37947         * math/auto-libm-test-in: Do not allow missing underflow
37948         exceptions from log1p.
37949         * math/auto-libm-test-out: Regenerated.
37951 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37952             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37954         [BZ #16704]
37955         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37957 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37959         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37960         (libmvec): New variable.
37961         * configure.ac: Added option for mathvec build.
37962         * configure: Regenerated.
37963         * mathvec/Depend: New file.
37964         * mathvec/Makefile: New file.
37965         * shlib-versions: Added libmvec.
37966         * math/Makefile: Added rule for libm.so installation.
37968         * bits/math-vector.h: New file.
37969         * bits/libm-simd-decl-stubs.h: New header.
37970         * math/Makefile (headers): Added new header
37971         libm-simd-decl-stubs.h.
37972         * math/math.h (__MATHCALL_VEC): New macro.
37974         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37975         for conditions in testing functions.
37976         * math/Makefile: Added call of libm-have-vector-test.sh.
37977         * math/libm-test.inc (HAVE_VECTOR): New macros.
37979         * math/libm-test.inc: START refactored.
37980         * math/test-double.c (TEST_MATHVEC): Add define.
37981         * math/test-float.c: Likewise.
37982         * math/test-idouble.c: Likewise.
37983         * math/test-ifloat.c: Likewise.
37984         * math/test-ildoubl.c: Likewise.
37985         * math/test-ldouble.c: Likewise.
37986         * sysdeps/generic/math-tests-arch.h
37987         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37988         architecture check.
37990         * math/test-double.c (FUNC_TEST): New macro.
37991         * math/test-float.c: Likewise.
37992         * math/test-idouble.c: Likewise.
37993         * math/test-ifloat.c: Likewise.
37994         * math/test-ildoubl.c: Likewise.
37995         * math/test-ldouble.c: Likewise.
37996         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37998 2015-05-13  Roland McGrath  <roland@hack.frob.com>
38000         * sysdeps/nacl/fdopendir.c: New file.
38002         * dirent/scandir-tail.c: New file.
38003         * dirent/scandir64-tail.c: New file.
38004         * dirent/Makefile (routines): Add them.
38005         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
38006         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
38007         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
38008         [!SCANDIR] (SCANDIR_TAIL): New macro.
38009         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
38010         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
38011         (SCANDIRAT): Macro removed.
38012         (SCANDIR_TAIL): New macro.
38013         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
38014         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
38015         (SCANDIRAT): Just call __opendirat and __scandir_tail.
38016         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
38017         (READDIR): Macro removed.
38018         (SCANDIR_TAIL): New macro.
38019         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
38020         (SCANDIR_TAIL): New macro.
38022         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
38023         * dirent/scandir-cancel.c: ... to this new file.
38024         * dirent/Makefile (routines): Add it.
38025         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
38026         * sysdeps/unix/sysv/linux/i386/scandir64.c
38027         (SKIP_SCANDIR_CANCEL): Macro removed.
38028         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
38030         * dirent/tst-scandir.c: New file.
38031         * dirent/tst-scandir64.c: New file.
38032         * dirent/Makefile (tests): Add them.
38034 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
38036         [BZ #18409]
38037         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
38039 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38041         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
38042         list.
38044 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
38046         * benchtests/bench-strcoll.c: New benchmark.
38047         * benchtests/Makefile: Generate locales and run benchmark.
38048         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
38049         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
38050         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
38051         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
38052         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
38053         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
38054         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
38055         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
38056         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
38057         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
38058         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
38059         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
38060         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
38061         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
38062         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
38063         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
38064         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
38065         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
38066         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
38067         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
38068         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
38069         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
38070         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
38071         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
38073 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
38075         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
38076         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38078 2015-05-12  Roland McGrath  <roland@hack.frob.com>
38080         * posix/uname-values.h: New file.
38081         * posix/uname.c: Include that instead of <config-name.h>.
38082         * sysdeps/nacl/uname-values.h: New file.
38083         * sysdeps/arm/nacl/uname-values.h: New file.
38085 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
38087         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
38088         splitting into fields.
38090 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
38092         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
38093         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
38094         * locale/localeinfo.h: Add enum collation_encoding_type.
38095         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
38096         * programs/ld-collate.c (collate_output): Add encoding type info.
38097         * string/strcoll_l.c (STRDIFF): New function.
38098         * (STRCOLL): Use STRDIFF to skip over equal prefix.
38099         * wcsmbs/wcscoll_l.c: Define STRDIFF.
38101 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
38103         [BZ #18397]
38104         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
38105         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
38106         <fpu_control.h> instead of <math/fpu_control.c>.
38107         * sysdeps/mips/mips32/fpu/Makefile: New file.
38109 2015-05-11  Andreas Schwab  <schwab@suse.de>
38111         [BZ #18007]
38112         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
38113         nss_endgrent.
38114         (_nss_compat_endgrent): Call nss_endgrent.
38115         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
38116         nss_endpwent.
38117         (_nss_compat_endpwent): Call nss_endpwent.
38118         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
38119         needent, call nss_setspent only if non-zero.
38120         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
38121         (internal_endspent): Don't call nss_endspent.
38122         (_nss_compat_endspent): Call nss_endspent.
38123         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
38124         Remove.  All uses removed.
38125         (internal_setent): Remove parameter stayopen, add parameter
38126         stream.  Use it instead of global variable.
38127         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
38128         (internal_endent, internal_getent): Add parameter stream.  Use it
38129         instead of global variable.
38130         (CONCAT(_nss_files_end,ENTNAME))
38131         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
38132         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
38133         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
38134         uses removed.
38135         (internal_setent, internal_endent): Add parameter stream.  Use it
38136         instead of global variable.
38137         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
38138         stream.
38139         (get_next_alias): Add parameter stream.
38140         (_nss_files_getaliasent_r): Pass global stream.
38141         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
38142         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
38143         (_nss_files_gethostbyname4_r): Pass local stream to
38144         internal_setent, internal_getent and internal_endent.  Remove
38145         locking.
38147 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38149         * tst-strfmon1.c (tests): Update expected currency symbol.
38151 2015-05-08  Roland McGrath  <roland@hack.frob.com>
38153         * sysdeps/nacl/gethostname.c: New file.
38155 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
38157         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
38158         and sinh.
38159         * math/auto-libm-test-out: Regenerated.
38160         * sysdeps/i386/fpu/libm-test-ulps: Update.
38161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38163 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
38165         [BZ #18125]
38166         * stdlib/tst-setcontext3.c: New file.
38167         * stdlib/tst-setcontext3.sh: New file.
38168         * stdlib/Makefile (tests): Add tst-setcontext3.
38169         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38170         to verify test program created output file.
38171         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38172         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38173         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38174         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38176 2015-05-06  Roland McGrath  <roland@hack.frob.com>
38178         [BZ #18383]
38179         * elf/tst-tlsalign.c: New file.
38180         * elf/tst-tlsalign-static.c: New file.
38181         * elf/tst-tlsalign-lib.c: New file.
38182         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38183         (tests-static): Add tst-tlsalign-static.
38184         (modules-names): Add tst-tlsalign-lib.
38185         (test-xfail-tst-tlsalign): New variable.
38186         (test-xfail-tst-tlsalign-static): New variable.
38188         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38189         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38191 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
38193         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38194         csqrt, erfc, sin and sincos.
38195         * math/auto-libm-test-out: Regenerated.
38196         * sysdeps/i386/fpu/libm-test-ulps: Update.
38197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38199 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38201         * sysdeps/aarch64/libm-test-ulps: Update.
38203 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
38205         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38206         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38207         * math/auto-libm-test-out: Regenerated.
38208         * sysdeps/i386/fpu/libm-test-ulps: Update.
38209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38211 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
38213         [BZ #18265]
38214         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38215         (wcsncpy): Likewise.
38217 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38219         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38220         Assume __ASSUME_FALLOCATE is always true.
38221         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38222         (__posix_fallocate64_l64): Likewise.
38223         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38224         (posix_fallocate): Likewise.
38225         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38226         (__posix_fallocate64_l64): Likewise.
38227         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38228         [!__ASSUME_FALLOCATE]: Add comment.
38230 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38232         * sysdeps/unix/sysv/linux/i386/Makefile
38233         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38234         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38235         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38236         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38237         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38238         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38239         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38241 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
38243         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38244         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38245         tgamma.
38246         * math/auto-libm-test-out: Regenerated.
38247         * sysdeps/i386/fpu/libm-test-ulps: Update.
38248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38250 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38252         * math/auto-libm-test-in: Add more tests of tgamma.
38253         * math/auto-libm-test-out: Regenerated.
38254         * sysdeps/i386/fpu/libm-test-ulps: Update.
38255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38257         * math/auto-libm-test-in: Add more tests of tanh.
38258         * math/auto-libm-test-out: Regenerated.
38259         * sysdeps/i386/fpu/libm-test-ulps: Update.
38260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38262         * math/auto-libm-test-in: Add more tests of tan.
38263         * math/auto-libm-test-out: Regenerated.
38264         * sysdeps/i386/fpu/libm-test-ulps: Update.
38265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38267         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38268         * math/auto-libm-test-out: Regenerated.
38269         * sysdeps/i386/fpu/libm-test-ulps: Update.
38270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38272         * math/auto-libm-test-in: Add another test of pow.
38273         * math/auto-libm-test-out: Regenerated.
38274         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38276         * math/auto-libm-test-in: Add more tests of lgamma.
38277         * math/auto-libm-test-out: Regenerated.
38278         * sysdeps/i386/fpu/libm-test-ulps: Update.
38279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38281         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38282         log1p.
38283         * math/auto-libm-test-out: Regenerated.
38284         * sysdeps/i386/fpu/libm-test-ulps: Update.
38285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38287 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38289         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38290         Elf64_Chdr structs and ELFCOMPRESS constants.
38292 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38294         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38295         expm1.
38296         * math/auto-libm-test-out: Regenerated.
38297         * sysdeps/i386/fpu/libm-test-ulps: Update.
38298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38300         * math/auto-libm-test-in: Add more tests of erf and erfc.
38301         * math/auto-libm-test-out: Regenerated.
38302         * sysdeps/i386/fpu/libm-test-ulps: Update.
38303         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38305 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38307         * config.h.in (HAVE_AARCH64_BE): Add.
38309 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38311         * math/auto-libm-test-in: Add more tests of csqrt.
38312         * math/auto-libm-test-out: Regenerated.
38313         * sysdeps/i386/fpu/libm-test-ulps: Update.
38314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38316         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38317         * math/auto-libm-test-out: Regenerated.
38318         * sysdeps/i386/fpu/libm-test-ulps: Update.
38319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38321         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38323 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38325         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38326         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38328         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38329         (euidaccess, eaccess): Define as weak aliases.
38331         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38332         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38333         but __suseconds_t is often 'long int' so some sources assume that
38334         type is being used (e.g. they use %ld to print tv_usec).
38336 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38338         [BZ #18007]
38339         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38340         (CVE-2014-8121)
38341         * nss/tst-nss-getpwent.c: New file.
38342         * nss/Makefile (tests): Add new test.
38344 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38346         [BZ #18346]
38347         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38348         exponents less than 48 as cases where high part of mantissa needs
38349         examining to determine whether argument is integral.
38350         * math/libm-test.inc (round_test_data): Add more tests.
38352 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38354         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38356 2015-04-27  David S. Miller  <davem@davemloft.net>
38358         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38359         __tls_get_addr.
38360         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38362 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38364         [BZ #18333]
38365         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38367 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38369         [BZ #18333]
38370         * time/tzset.c (parse_tzname): Return error on memory allocation
38371         failure.
38372         * test-skeleton.c (struct temp_name_list): Change type of name
38373         member to non-const.
38374         (add_temp_file): Create a copy of the file name.
38375         (delete_temp_files): Deallocate memory.
38376         (create_temp_file): Add comment.
38378 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38380         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38381         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38383 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38385         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38386         * sysdeps/arm/configure: Regenerated.
38388 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38390         [BZ #17715]
38391         * time/tzfile.c (__tzfile_read): Check for large values of
38392         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38393         * time/tzset.c (__tzstring_len): New function, based on the old
38394         __tzstring function.
38395         (__tzstring): Call __tzstring_len.
38396         (parse_tzname): New helper function extracted from
38397         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38398         the input string.
38399         (parse_offset): New helper function extracted from
38400         __tzset_parse_tz.  Replace switch with fallthrough with
38401         initialization before sscanf.
38402         (parse_rule): Likewise.
38403         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38404         new-style function definition.
38405         * timezone/Makefile (tests): Add tst-tzset.
38406         (tst-tzset.out): Dependencies on time zone files.
38407         (tst-tzset-ENV): Set TZDIR.
38408         (testdata/XT%): Copy crafted time zone files.
38409         * timezone/README: Mention crafted time zone files.
38410         * timezone/testdata/XT1, timezone/testdata/XT2,
38411         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38412         files.
38413         * timezone/tst-tzset.c: New test.
38415 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38417         * Makeconfig (+gccwarn): Remove -Winline.
38419 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38421         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38423 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38425         * NEWS: Mention sysconf() cache information support for s390.
38426         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38428 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38430         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38431         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38432         (__nearbyint): Likewise.
38433         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38434         (copysignl): Likewise.
38436 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38438         [BZ #18287]
38439         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38440         based on padding.  (CVE-2015-1781)
38442 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38444         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38445         libc-vdso.h.
38446         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38447         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38448         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38449         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38450         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38451         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38452         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38453         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38454         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38455         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38456         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38457         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38458         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38459         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38460         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38461         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38462         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38463         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38464         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38465         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38466         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38467         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38468         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38470 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38472         * stdlib/setenv.c (__add_to_environ):
38473         Dump core quickly if setenv (..., NULL, ...) is called.
38474         This time, do it the right way, and pacify GCC with a pragma.
38476 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38478         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38479         IMAP->l_prev cannot be null, and #if out the code for the contrary
38480         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38481         believe that NS (&_dl_ns[NSID]) could point outside the array.
38483         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38484         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38485         before using NSID as an index.
38487 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38489         [BZ #17825]
38490         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38491         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38492         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38494 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38496         Add preliminary port to Google Native Client on ARM.
38497         * abi-tags (.*-.*-nacl.*): New entry.
38498         * sysdeps/arm/nacl: New directory.
38499         * sysdeps/nacl: New directory.
38501 2015-04-16  David S. Miller  <davem@davemloft.net>
38503         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38504         lowlevellock-futex.h
38506 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38508         * sysdeps/tile/configure.ac: New file.
38509         * sysdeps/tile/configure: Regenerated.
38511 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38513         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38514         conditionals for weak_alias and libc_hidden_weak.
38515         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38516         libc_hidden_weak and weak_alias.
38517         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38518         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38519         and weak_alias for static one.
38521 2015-04-15  David S. Miller  <davem@davemloft.net>
38523         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38525 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38527         [BZ #18206]
38528         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38529           Use signed comparision instead of substraction to avoid
38530           overflow bug.
38531         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38532           Take the sign of ret.
38533         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38534           Do not expect precise return values. Only the sign matters.
38535         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38536         * wcsmbs/test-wcsncmp.c: New File.
38537         * string/test-strncmp.c: Add wcsncmp support.
38539 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38541         [BZ #6792]
38542         * math/w_log1p.c: New file.
38543         * math/w_log1pf.c: Likewise.
38544         * math/w_log1pl.c: Likewise.
38545         * math/Makefile (libm-calls): Add w_log1p.
38546         * math/s_log1pl.c (log1pl): Remove weak_alias.
38547         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38548         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38549         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38550         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38551         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38552         [NO_LONG_DOUBLE] (log1pl): Likewise.
38553         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38554         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38555         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38556         (log1p): Remove long_double_symbol.
38557         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38558         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38559         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38560         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38561         remove weak_alias for corresponding log1p function.
38562         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38563         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38564         * sysdeps/ia64/fpu/w_log1p.c: New file.
38565         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38566         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38567         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38569 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38571         [BZ #18247]
38572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38573         decimal exponent by 1.
38574         * stdlib/tst-strtod-round-data: Add more tests.
38575         * stdlib/tst-strtod-round.c (tests): Regenerated.
38577 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38579         * math/auto-libm-test-in: Add more tests of clog and clog10.
38580         * math/auto-libm-test-out: Regenerated.
38581         * sysdeps/i386/fpu/libm-test-ulps: Update.
38582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38584 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38586         * Makeconfig (module-cppflags): Exclude all .v.i files.
38587         (skip-module-cppflags): Variable removed.
38589         * configure.ac (libc_config_ok): Initialize before reading
38590         preconfigure scripts, not after.
38591         * configure: Regenerated.
38593         * test-skeleton.c (TIMEOUT): Move #define to top level.
38594         (main): Grok environment variable TEST_DIRECT.  If set, print
38595         test expectation details into that file and then behave as if
38596         given --direct.
38598 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38600         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38601         warning on 32-bit.
38603 2015-04-08  David S. Miller  <davem@davemloft.net>
38605         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38607 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38609         * math/auto-libm-test-in: Add more tests of atanh.
38610         * math/auto-libm-test-out: Regenerated.
38611         * sysdeps/i386/fpu/libm-test-ulps: Update.
38612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38614         * math/auto-libm-test-in: Add more tests of atan.
38615         * math/auto-libm-test-out: Regenerated.
38616         * sysdeps/i386/fpu/libm-test-ulps: Update.
38617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38619 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38621         * elf/pldd.c (main): Rewrite to use struct
38622         scratch_buffer instead of extend_alloca.
38623         * elf/pldd-xx.c (find_maps): Likewise.
38624         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38625         <alloca.h>.
38626         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38627         scratch_buffer instead of extend_alloca.
38628         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38629         grp/compat-initgroups.c.
38630         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38631         Rewrite to use struct scratch_buffer instead of extend_alloca.
38632         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38633         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38635 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38637         * math/auto-libm-test-in: Add more tests of cbrt.
38638         * math/auto-libm-test-out: Regenerated.
38639         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38641         * math/auto-libm-test-in: Add more tests of cabs.
38642         * math/auto-libm-test-out: Regenerated.
38643         * sysdeps/i386/fpu/libm-test-ulps: Update.
38644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38646         [BZ #18210]
38647         [BZ #18211]
38648         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38649         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38650         computations.
38651         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38652         clog10.
38653         * math/auto-libm-test-out: Regenerated.
38654         * sysdeps/i386/fpu/libm-test-ulps: Update.
38655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38657         [BZ #18197]
38658         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38659         (atan): Set FE_TONEAREST mode for internal computations.
38660         * math/auto-libm-test-in: Add more tests of atan.
38661         * math/auto-libm-test-out: Regenerated.
38663 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38665         [BZ #17930]
38666         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38668 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38670         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38672 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38674         * include/scratch_buffer.h: New file.
38675         * malloc/scratch_buffer_grow.c: Likewise.
38676         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38677         * malloc/scratch_buffer_set_array_size.c: Likewise.
38678         * malloc/tst-scratch_buffer.c: Likewise.
38679         * malloc/Makefile (routines): Add scratch_buffer_grow.
38680         (tests): Add test case.
38681         * malloc/Versions (GLIBC_PRIVATE): Export
38682         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38683         __libc_scratch_buffer_set_array_size.
38685 2015-04-06  Richard Henderson  <rth@redhat.com>
38687         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38688         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38690         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38691         unsigned int before printing.
38693 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38695         [BZ #17596]
38696         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38697         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38699 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38701         * include/libc-internal.h (libc_max_align_t): Define.
38703 2015-04-02  Andreas Schwab  <schwab@suse.de>
38705         [BZ #16850]
38706         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38708 2015-04-02  Mel Gorman  <mgorman@suse.de>
38710         [BZ #17195]
38711         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38712         as well as the main arena.
38714 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38716         [BZ #18185]
38717         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38718         sharing L2 cache to 2 for Silvermont/Knights Landing.
38720 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38722         [BZ #17711]
38723         * config.make.in (have-protected-data): New.
38724         * configure.ac: Check linker support for protected data symbol.
38725         * configure: Regenerated.
38726         * elf/Makefile (modules-names): Add tst-protected1moda and
38727         tst-protected1modb if $(have-protected-data) is yes.
38728         (tests): Add tst-protected1a and tst-protected1b if
38729         $(have-protected-data) is yes.
38730         ($(objpfx)tst-protected1a): New.
38731         ($(objpfx)tst-protected1b): Likewise.
38732         (tst-protected1modb.so-no-z-defs): Likewise.
38733         * elf/tst-protected1a.c: New file.
38734         * elf/tst-protected1b.c: Likewise.
38735         * elf/tst-protected1mod.h: Likewise.
38736         * elf/tst-protected1moda.c: Likewise.
38737         * elf/tst-protected1modb.c: Likewise.
38739 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38741         [BZ #17711]
38742         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38743         indicates it is called from do_lookup_x on relocation against
38744         protected data, skip the data definion in the executable from
38745         copy reloc.
38746         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38747         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38748         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38749         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38750         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38751         otherwise to 0.
38752         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38753         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38754         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38755         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38756         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38757         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38759 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38761         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38762         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38764 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38766         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38767         THREAD_SETMEM_NC.
38768         * sysdeps/x86_64/nptl/tls.h: Ditto.
38770 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38772         * dlfcn/tststatic.c (main): Converted to ...
38773         (do_test): ... this.
38774         (TEST_FUNCTION): New macro.
38775         Include test-skeleton.c.
38777 2015-03-26  Alan Modra  <amodra@gmail.com>
38779         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38780         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38781         zero for undefined weak.
38782         (elf_machine_plt_conflict): Similarly.
38784 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38786         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38787         atanh.
38788         * math/auto-libm-test-out: Regenerated.
38789         * sysdeps/i386/fpu/libm-test-ulps: Update.
38790         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38792         * math/auto-libm-test-in: Add another test of asin.
38793         * math/auto-libm-test-out: Regenerated.
38794         * sysdeps/i386/fpu/libm-test-ulps: Update.
38795         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38797         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38798         Remove macro.
38799         (LLL_EBX_REG): Likewise.
38800         (LLL_ENTER_KERNEL): Likewise.
38802         * math/auto-libm-test-in: Add more tests of asin.
38803         * math/auto-libm-test-out: Regenerated.
38804         * sysdeps/i386/fpu/libm-test-ulps: Update.
38805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38807         [BZ #18138]
38808         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38809         libc_do_syscall_args): New structure.
38810         (INTERNAL_SYSCALL_MAIN_0): New macro.
38811         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38812         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38813         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38814         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38815         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38816         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38817         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38818         Replace conditional definitions by conditional definitions of ....
38819         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38820         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38821         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38822         (libpthread-sysdep_routines): Add libc-do-syscall.
38823         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38824         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38825         to __NR_futex not 240.
38827 2015-03-25  Alan Modra  <amodra@gmail.com>
38829         * NEWS: Advertise TLS optimization.
38830         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38831         (DT_PPC_NUM): Increment.
38832         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38833         (CHECK_STATIC_TLS): Use here.
38834         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38835         TLS descriptors.
38836         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38837         * sysdeps/powerpc/dl-tls.c: New file.
38838         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38839         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38840         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38841         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38846 2015-03-25  Alan Modra  <amodra@gmail.com>
38848         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38849         for overlapping .opd entries" to "support...".
38850         * sysdeps/powerpc/powerpc64/configure: Regenerate
38852 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38854         * math/auto-libm-test-in: Add more tests of acos.
38855         * math/auto-libm-test-out: Regenerated.
38856         * sysdeps/i386/fpu/libm-test-ulps: Update.
38857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38859         * math/auto-libm-test-in: Add more tests of expm1.
38860         * math/auto-libm-test-out: Regenerated.
38861         * sysdeps/i386/fpu/libm-test-ulps: Update.
38862         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38864 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38866         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38867         * math/auto-libm-test-out: Regenerated.
38868         * sysdeps/i386/fpu/libm-test-ulps: Update.
38869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38871         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38874         * math/auto-libm-test-in: Add more tests of log2.
38875         * math/auto-libm-test-out: Regenerated.
38876         * sysdeps/i386/fpu/libm-test-ulps: Update.
38877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38879 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38881         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38882         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38883         _IO_IS_APPENDING bit in READ_WRITE instead.
38885 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38887         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38888         (__determine_cpumask_size): Replace extend_alloca with a
38889         variable-length array.  Do not treat res == 0 as an error.
38891 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38893         [BZ #18100]
38894         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38895         and integer overflow.
38896         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38897         (main): Add integer overflow tests.
38898         * manual/pattern.texi (Calling Wordexp): Document additional use
38899         for WRDE_SYNTAX.
38901 2015-03-23  Alan Modra  <amodra@gmail.com>
38903         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38904         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38905         and false branch of conditional.
38906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38907         Likewise.
38909 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38911         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38912         libc-modules.h
38913         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38914         unused declaration of _hurd_intr_rpc_msg_in_trap.
38915         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38916         defined instead of whether it is non-zero.
38917         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38918         input constraint instead of both input and output constraint.  Use ecx
38919         clobber instead of %ecx.
38920         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38921         mutex_unlock): Use a statement expression instead of an expression list.
38922         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38923         type to vm_size_t instead of vm_address_t.
38924         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38925         defined instead of whether it is non-zero.
38926         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38927         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38928         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38929         comparisons with mapaddr.
38930         * nscd/nscd-client.h: Include <time.h>.
38931         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38932         9th parameter to __vm_region instead of int.
38933         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38934         * scripts/check-local-headers.sh (exclude): Add device/,
38935         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38936         cthreads.h.
38938 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38940         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38941         to account for alignment padding.
38942         * sysdeps/arm/memmove.S: Likewise.
38944 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38946         * sysdeps/unix/sysv/linux/generic/README: New file.
38948 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38950         [BZ #18138]
38951         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38952         (futex_abstimed_wait)
38953         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38954         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38955         of lll_futex_timed_wait.
38957 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38959         [BZ #17542]
38960         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38962 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38964         [BZ #17090]
38965         [BZ #17620]
38966         [BZ #17621]
38967         [BZ #17628]
38968         * NEWS: Update.
38969         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38970         entries with Static TLS too.  Skip entries past the end of the
38971         allocated DTV, from Alan Modra.
38972         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38973         Static TLS DTV entry set up from...
38974         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38975         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38976         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38977         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38978         for Static TLS.
38979         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38980         that the slot we find is associated with the given map before
38981         using its generation count.
38982         * nptl_db/db_info.c: Include ldsodefs.h.
38983         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38984         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38985         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38986         (link_map::l_tls_offset): New struct field.
38987         (dtv_t::counter): Likewise.
38988         (rtld_global): New struct.
38989         (_rtld_global): New rtld variable.
38990         (dl_tls_dtv_slotinfo_list): New rtld global field.
38991         (dtv_slotinfo_list): New struct.
38992         (dtv_slotinfo): Likewise.
38993         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38994         (td_lookup): Rename to...
38995         (td_mod_lookup): ... this.  Use new mod parameter instead of
38996         LIBPTHREAD_SO.
38997         * nptl_db/td_thr_tlsbase.c: Include link.h.
38998         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38999         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
39000         addresses even if the DTV is out of date or missing them.
39001         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
39002         index zero-length arrays.
39003         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
39004         (td_lookup): Make it a macro implemented in terms of...
39005         (td_mod_lookup): ... this declaration.
39006         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
39007         (DB_MAIN_VARIABLE): Likewise.
39009 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39011         [BZ #18134]
39012         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
39014 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
39016         * stdlib/setenv.c (__add_to_environ): Revert previous change.
39018 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
39020         [BZ #18128]
39021         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
39022         (atomic_add, atomic_increment_and_test)
39023         (atomic_decrement_and_test): Fix 64-bit arithmetic.
39025 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
39027         * stdlib/setenv.c (__add_to_environ):
39028         Dump core quickly if setenv (..., NULL, ...) is called.
39030 2015-03-13  Roland McGrath  <roland@hack.frob.com>
39032         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
39033         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
39034         all the necessary asm magic in one place.
39035         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
39036         using those.
39038 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
39040         [BZ #14906]
39041         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
39042         traced file mtime. Use consistent log message.
39043         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
39044         (register_traced_file): Call install_watches. Always set mtime.
39045         (invalidate_cache): Iterate over all trace files. Call install_watches.
39046         (inotify_check_files): Don't inline. Handle watching parent
39047         directories and configuration file movement in and out.
39048         (handle_inotify_events): New function.
39049         (main_loop_poll): Call handle_inotify_events.
39050         (main_loop_epoll): Likewise.
39051         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
39052         (struct traced_file): Use array of inotify fds. Add parent directory,
39053         and basename.
39054         (struct database_dyn): Remove unused file_mtime.
39055         (init_traced_file): New inline function.
39056         (define_traced_file): New macro.
39057         * nss/nss_db/db-init.c: Use define_traced_file.
39058         (_nss_db_init): Use init_traced_file.
39059         * nss/nss_files/files-init.c: Use define_traced_file.
39060         (_nss_files_init): Use init_traced_file.
39062 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
39064         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
39065         [_LIBC]: Do not include <stdlib.h>.
39066         [!_LIBC] (abort): Remove declaration.
39067         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
39068         _FP_STATIC_ASSERT instead of conditionally calling abort.
39069         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
39070         (_FP_EXTEND_CNAN): Likewise.
39071         (FP_TRUNC): Likewise.
39072         (__FP_CLZ): Likewise.
39073         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
39075 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
39077         * manual/string.texi (XPG basename): Fix prototype.
39079 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39081         [BZ #18080]
39082         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
39083         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39084         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
39085         (__setcontext): Likewise.
39086         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
39087         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39088         Call rt_sigprocmask syscall one time to set new signal mask
39089         and retrieve the current signal mask instead of two calls.
39090         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
39091         (__swapcontext): Likewise.
39092         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
39093         * stdlib/tst-setcontext2.c: New file.
39095 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39097         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39099 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
39101         [BZ #18093]
39102         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
39103         the wrong size.
39105 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39107         [BZ #18043]
39108         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
39110 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39112         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
39113         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
39114         Remove define.
39115         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
39116         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39117         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
39118         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
39119         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
39120         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
39121         define.
39122         * nptl_db/td_symbol_list.c (td_lookup): Remove
39123         HAVE_ASM_GLOBAL_DOT_NAME code.
39124         * sysdeps/powerpc/powerpc64/configure.ac: Remove
39125         HAVE_ASM_GLOBAL_DOT_NAME check.
39126         * sysdeps/powerpc/powerpc64/configure: Regenerate.
39127         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
39128         (DOT_LABEL): Remove define.
39129         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
39130         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
39131         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
39132         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
39133         (__TLS_GET_ADDR): Likewise.
39134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
39135         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
39137 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
39139         [BZ #18111]
39140         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
39141         (_FPU_SETCW): Initialize cw from fpsr before storing.
39142         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39143         (fesetexceptflag): Rewrite using fpu_control.h.
39144         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
39146 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
39148         [BZ #18110]
39149         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
39150         asms.
39151         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39153 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
39155         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
39156         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
39157         abort.
39158         (_FP_FMA): Likewise.
39159         (_FP_DIV): Likewise.
39161 2015-03-10  Roland McGrath  <roland@hack.frob.com>
39163         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39164         with 0 in that case.
39165         * Makefile (summarize-tests): New canned sequence, factored out of
39166         commands for targets tests and xtests.  Display summary lines that
39167         don't start with PASS: or XFAIL: rather than ones that do start with
39168         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
39169         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39170         do start with ERROR: or FAIL:.
39171         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39172         (except for [$(build-shared) = yes]).
39173         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39174         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39175         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39176         * nptl/Makefile: Revert 2015-03-04 changes.
39177         [$(CXX) empty] (tests-unsupported): New variable.
39178         * debug/Makefile: Likewise.
39180         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39181         gnulib file.  Replace __attribute with __attribute__ throughout.
39183 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
39185         * sysdeps/hppa/fpu/libm-test-ulps: Update.
39187 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39189         [BZ #18104]
39190         * math/auto-libm-test-in: Add another test of pow.
39191         * math/auto-libm-test-out: Regenerated.
39193 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39195         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39196         $(config-cflags-nofma).
39198 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39200         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39201         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39202         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39203         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39204         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39205         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39206         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39207         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39208         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39209         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39210         Add comment on closing #endif.
39212 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39214         * posix/wordexp.c (CHAR_IN_SET): New macro.
39215         (parse_param): Use it.
39217 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39219         * sysdeps/powerpc/fpu/libm-test-ulps: update.
39221 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39223         [BZ #18043]
39224         * posix/wordexp.c (parse_param): Fix buffer overflow.
39225         * posix/wordexp-test.c (test_case): Add test case.
39227 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39229         [BZ #18042]
39230         * posix/wordexp.c (parse_backtick): Fix off-by-one.
39231         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39233 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39235         [BZ #18043]
39236         * posix/wordexp-test.c (test_case): Add test for BZ #18043
39237         (do_bz18043): Delete.
39238         (at_page_end): New.
39239         (testit): Refactor to have words at the edge of unreadable page.
39241 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39243         [BZ #16734]
39244         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39245         Cleanup read-only streams as well.
39246         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39248 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39250         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39251         <bits/libc-lockP.h>
39253 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
39255         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
39256         on [__KERNEL__].
39257         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39258         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39259         * soft-fp/op-common.h (_FP_DECL): Likewise.
39261 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39263         * elf/ifuncdep2.c (global): Replace
39264         __attribute__((visibility("protected"))) with
39265         asm (".protected global").
39266         * elf/ifuncmod1.c (global): Likewise.
39267         * elf/ifuncmod5.c (global): Likewise.
39269 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39271         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39272         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39274 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39276         * manual/install.texi (Configuring and compiling):
39277         Document test-wrapper-env-only.
39278         * INSTALL: Regenerated.
39280 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39282         [BZ #18043]
39283         * posix/wordexp.c (parse_param): Fix buffer overflow.
39284         * posix/wordexp-test.c (do_bz18043): Add test case.
39286 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39288         * time/tst-strptime2.c (do_test): Ensure failing tests are
39289         reported correctly.
39290         * time/tst-strptime3.c (do_test): Likewise.
39292 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39294         Fix aio_error thread-safety.
39295         * sysdeps/pthread/aio_error.c: New file
39296         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39297         synchronization.
39299 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39301         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39302         (group_number, vfprintf): Use it.
39303         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39304         (JUMP, REF): Use it.
39305         (WORK_BUFFER_SIZE): New enum constant.
39306         (process_arg, vfprintf): Use it.
39308 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39310         * manual/errno.texi (Error Messages): Complete example function
39311         by adding missing #define.
39312         (program_invocation_name): Add statement indicating GNU
39313         extension and reference which header file declares the variable.
39314         (program_invocation_short_name): Likewise.
39316 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39318         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39319         compatibility note.
39321 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39323         * Makeconfig (test-wrapper-env-only): New variable.
39324         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39325         then use that with $(test-wrapper-env-only) rather than using
39326         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39328 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39330         [BZ #18082]
39331         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39332         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39333         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39334         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39335         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39336         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39337         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39338         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39339         Likewise.
39340         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39341         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39342         Likewise.
39343         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39344         Likewise.
39345         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39346         Likewise.
39347         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39348         Likewise.
39349         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39350         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39351         Likewise.
39352         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39353         Likewise.
39354         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39355         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39357 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39359         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39360         (ETH_ALEN): New macro.
39361         (struct ether_addr): Use it for length of ether_addr_octet.
39363         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39364         (setdb): Don't call __nss_configure_lookup for "rpc".
39365         (do_test): Don't call test_rpc.
39366         (output_rpcent, test_rpc): Functions moved ...
39367         * sunrpc/test-rpcent.c: ... to this new file.
39368         * sunrpc/Makefile (tests): Add it.
39370         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39371         __xpg_sigpause.
39372         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39373         * nptl/tst-signal6.c: Likewise.
39374         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39375         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39377         * configure.ac (libc_cv_cxx_link_ok): New check.
39378         Reset CXX to empty if it fails to link.
39379         * configure: Regenerated.
39380         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39381         bug-atexit3-lib only if $(CXX) is nonempty.
39382         * nptl/Makefile (tests): Likewise for tst-cancel24.
39383         (tests, tests-static): Likewise for tst-cancel24-static.
39384         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39385         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39386         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39387         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39389 2015-03-04  Andreas Schwab  <schwab@suse.de>
39391         [BZ #17631]
39392         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39393         for non-GCC compilers.
39394         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39395         Likewise.
39397 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39399         [BZ #17776]
39400         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39401         integer before bitwise and assembly operations.
39402         (feclearexcept): Likewise.
39403         * math/test-fenvinline.c: New file.
39404         * math/Makefile: Add test-fenvinline test.
39406 2015-03-03  Alan Modra  <amodra@gmail.com>
39408         [BZ #16512]
39409         * scripts/localplt.awk: Strip off symbol version.
39410         * NEWS: Mention bug fix.
39412 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39414         * sysdeps/pthread/timer_routines.c
39415         (timer_free_list, thread_free_list, thread_active_list): Make static.
39417 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39419         [BZ #17779]
39420         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39421         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39422         Undefine.
39423         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39424         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39425         Likewise.
39426         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39427         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39428         Likewise.
39430 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39432         [BZ #18036]
39433         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39434         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39436 2015-03-02  Andreas Schwab  <schwab@suse.de>
39438         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39439         variable name.
39441 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39443         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39444         Return error status.
39446 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39448         [BZ #15969]
39449         * locale/findlocale.c (_nl_find_locale): Introduce const
39450         version of loc_name and drop unsafe type casts.
39452 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39454         * dlfcn/tststatic2.c (main): Converted to ...
39455         (do_test): ... this.
39456         (TEST_FUNCTION): New macro.
39457         Include test-skeleton.c.
39459 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39461         [BZ #17711]
39462         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39463         (tests-pie): Add vismain.
39464         (CFLAGS-vismain.c): New.
39465         * elf/vismain.c: Add comments for PIE requirement.
39467 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39469         [BZ #18046]
39470         [BZ #18047]
39471         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39472         0x1p-56L as threshold for just returning the argument.
39473         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39474         0x1p-32L as threshold for just returning the argument.
39475         * math/auto-libm-test-in: Add more tests of atanh.
39476         * math/auto-libm-test-out: Regenerated.
39477         * sysdeps/i386/fpu/libm-test-ulps: Update.
39478         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39480 2015-02-27  Wilco Dijkstra  <wdijkstr@arm.com>
39482         * string/bcopy.c (bcopy): Call memmove for performance.
39484 2015-02-27  Wilco Dijkstra  <wdijkstr@arm.com>
39486         * string/bzero.c (__bzero): Call memset for performance.
39488 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39490         [BZ #18068]
39491         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39492         to 00100000.
39494 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39496         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39498 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39500         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39501         (__kernel_standard): Use CSTR macro when setting exc.name.
39502         * sysdeps/ieee754/Makefile [$(subdir) = math]
39503         (CFLAGS-k_standard.c): Remove variable.
39505         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39506         setting p and q from "else if" to "else".
39507         (qzero): Likewise.
39508         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39509         (qone): Likewise.
39510         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39511         (qzerof): Likewise.
39512         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39513         (qonef): Likewise.
39514         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39515         (qzero): Likewise.
39516         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39517         (qone): Likewise.
39519         [BZ #18038]
39520         [BZ #18039]
39521         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39522         return pi/2 for arguments below 0x1p-113L.
39523         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39524         return pi/2 for arguments below 0x1p-106L.
39525         * math/auto-libm-test-in: Add more tests of acos.
39526         * math/auto-libm-test-out: Regenerated.
39528         [BZ #16351]
39529         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39530         (MO): New macro.
39531         (__ieee754_asin): Force underflow exception for results with small
39532         absolute value.
39533         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39534         (MO): New macro.
39535         (__ieee754_asinf): Force underflow exception for results with
39536         small absolute value.
39537         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39538         (__ieee754_asin): Force underflow exception for results with small
39539         absolute value.
39540         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39541         (__ieee754_asinf): Force underflow exception for results with
39542         small absolute value.
39543         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39544         (__ieee754_asinl): Force underflow exception for results with
39545         small absolute value.
39546         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39547         (__ieee754_asinl): Force underflow exception for results with
39548         small absolute value.
39549         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39550         (__ieee754_asinl): Force underflow exception for results with
39551         small absolute value.
39552         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39553         Include <math.h>.
39554         * math/auto-libm-test-in: Do not mark underflow exceptions as
39555         possibly missing for bug 16351.
39556         * math/auto-libm-test-out: Regenerated.
39558         [BZ #18030]
39559         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39560         of power of 2 down when low part has opposite sign.
39561         * math/libm-test.inc (logb_test_data): Add more tests.
39563 2015-02-26  Andreas Schwab  <schwab@suse.de>
39565         [BZ #18032]
39566         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39567         over collating symbol inside a bracket expression.  Minor cleanup.
39568         * posix/tst-fnmatch3.c (do_test): Add test case.
39570 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39572         [BZ #18029]
39573         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39574         Adjust exponent of power of 2 down when low part has opposite
39575         sign.
39576         * math/libm-test.inc (ilogb_test_data): Add more tests.
39578 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39580         [BZ #15969]
39581         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39582         the previous change.
39584         [BZ #15969]
39585         * locale/findlocale.c (_nl_find_locale): Retry archive search
39586         after alias expansion.
39588 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39590         * iconv/tst-iconv3.c (main): Converted to ...
39591         (do_test): ... this.
39592         (TEST_FUNCTION): New macro.
39593         Include test-skeleton.c.
39595         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39596         (convert): Make function static.
39597         (test_unalign): Likewise.  Add const to argument pointee types.
39598         (main): Replace with static function do_test.
39599         Print "Succeeded." only if RET is zero.
39600         (TEST_FUNCTION): New macro.
39601         Include test-skeleton.c.
39603         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39604         returns a null pointer.
39606 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39608         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39609         to __memcpy_ppc only for static builds.
39611 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39613         [BZ #18020]
39614         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39615         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39616         * math/auto-libm-test-in: Add more tests of asinh.
39617         * math/auto-libm-test-out: Regenerated.
39618         * sysdeps/i386/fpu/libm-test-ulps: Update.
39619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39621 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39623         [BZ #15850]
39624         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39625         and ip6_mtuinfo definitions here.
39626         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39627         in this define too.  Update comment.
39629 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39631         * elf/sprof.c (load_shobj): Tweak error message to match others.
39633 2015-02-24  Kevin Easton  <kevin@guarana.org>
39635         [BZ #16145] (partial fix)
39636         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39637         to reduce lock contention.
39639 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39641         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39642         (struct timex): Update time comment.
39643         (ADJ_SETOFFSET): Define.
39645 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39647         [BZ #18019]
39648         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39649         2**56 not 2**28 as threshold for log (2x) formula.
39650         * math/auto-libm-test-in: Add more tests of acosh.
39651         * math/auto-libm-test-out: Regenerated.
39652         * sysdeps/i386/fpu/libm-test-ulps: Update.
39653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39655 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39657         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39658         parenthesis around the buf assignment.
39659         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39661 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39663         [BZ #16783]
39664         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39665         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39666         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39667         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39668         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39669         * math/libm-test.inc (scalb_test_data): Add more tests.
39671 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39673         [BZ #17916]
39674         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39675         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39677 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39679         [BZ #17523]
39680         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39681         * io/bits/fcntl2.h (open): Use it.
39682         (openat): Likewise.
39683         * io/open.c (__libc_open): Likewise.
39684         * io/open64.c (__libc_open64): Likewise.
39685         * io/open64_2.c (__open64_2): Likewise.
39686         * io/open_2.c (__open_2): Likewise.
39687         * io/openat.c (__openat): Likewise.
39688         * io/openat64.c (__openat64): Likewise.
39689         * io/openat64_2.c (__openat64_2): Likewise.
39690         * io/openat_2.c (__openat_2): Likewise.
39691         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39692         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39693         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39694         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39695         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39696         (__open_nocancel): Likewise.
39697         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39698         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39699         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39701 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39703         [BZ #14841]
39704         * resolv/gethnamaddr.c (getanswer): Skip logging if
39705         RES_USE_DNSSEC is set.
39706         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39708 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39710         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39712 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39714         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39715         201304L, for Unicode 7.
39717 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39719         [BZ #17836]
39720         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39721         shared library.  Add gmon-start.os otherwise.
39722         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39723         $(objpfx)gmon-start.os if builing shared library.
39724         ($(objpfx)g$(static-start-installed-name)): Likewise.
39726 2015-02-23  Andreas Schwab  <schwab@suse.de>
39728         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39730 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39732         [BZ #17269]
39733         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39734         (enlarge_userbuf): Likewise.
39736 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39738         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39739         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39740         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39741         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39743 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39745         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39746         expression inside statement expression.
39748 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39750         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39751         <sysdeps/nptl/lowlevellock.h> and remove macros and
39752         functions that are now defined there.
39753         (SYS_futex): Remove.
39754         (lll_compare_and_swap): Remove.
39755         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39757 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39759         [BZ #17999]
39760         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39761         instead of scandirat.
39762         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39763         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39764         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39765         __scandirat.
39766         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39767         (__scandirat): Declare.  Use libc_hidden_proto.
39768         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39769         Remove variable.
39770         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39772 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39774         [BZ #15319]
39775         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39776         (MO): New macro.
39777         (__ieee754_atan2): For results with small absolute value, force
39778         underflow exception and remove excess range and precision from
39779         return value.
39780         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39781         (MO): New macro.
39782         (__ieee754_atan2f): For results with small absolute value, force
39783         underflow exception and remove excess range and precision from
39784         return value.
39785         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39786         (MO): New macro.
39787         (__atan): For results with small absolute value, force underflow
39788         exception and remove excess range and precision from return value.
39789         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39790         (MO): New macro.
39791         (__atanf): For results with small absolute value, force underflow
39792         exception and remove excess range and precision from return value.
39793         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39794         <math.h>.
39795         (__ieee754_atan2): Force underflow exception for results with
39796         small absolute value.
39797         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39798         <math_private.h>.
39799         (atan): Force underflow exception for results with small absolute
39800         value.
39801         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39802         (__atanf): Force underflow exception for results with small
39803         absolute value.
39804         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39805         <math.h>.
39806         (__atanl): Force underflow exception for results with small
39807         absolute value.
39808         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39809         (__atanl): Force underflow exception for results with small
39810         absolute value.
39811         * sysdeps/x86/fpu/bits/mathinline.h
39812         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39813         (__ieee754_atan2): Only define inline for long double.
39814         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39815         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39816         * math/auto-libm-test-in: Do not mark underflow exceptions as
39817         possibly missing for bug 15319.  Add more tests of atan2.
39818         * math/auto-libm-test-out: Regenerated.
39819         * math/libm-test.inc (casin_test_data): Do not mark underflow
39820         exceptions as possibly missing for bug 15319.
39821         (casinh_test_data): Likewise.
39822         * sysdeps/i386/fpu/libm-test-ulps: Update.
39824 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39826         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39827         * sysdeps/mips/bits/endian.h: Fix comments.
39829 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39831         [BZ #17996]
39832         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39833         (hdestroy_r): Likewise.
39834         (hsearch_r): Likewise.
39835         (__hcreate_r): Declare and use libc_hidden_proto.
39836         (__hdestroy_r): Likewise.
39837         (__hsearch_r): Likewise.
39838         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39839         (hcreate): Call __hcreate_r instead of hcreate_r.
39840         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39841         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39842         as weak alias of __hcreate_r.
39843         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39844         __hdestroy_r.
39845         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39846         __hsearch_r.
39847         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39848         Remove variable.
39849         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39850         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39851         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39852         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39854 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39856         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39857         arena_lock into a single arena_get.
39859 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39861         * dl-reloc.c: Inlucde libc-internal.h.
39862         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39863         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39864         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39865         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39866         (grow_heap): Likewise.
39867         * malloc/malloc.c: Include libc-internal.h.
39868         (do_check_malloc): Call powerof2.
39869         (sysmalloc): Use pagesize. Call ALIGN_UP.
39870         (systrim): Use pagesize.
39871         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39872         (__libc_valloc): Use pagesize.
39873         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39875 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39877         [BZ #17991]
39878         * include/sys/resource.h (__getrlimit64): Declare.  Use
39879         libc_hidden_proto.
39880         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39881         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39882         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39883         getrlimit64.
39884         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39885         __getrlimit64.
39886         [!getrlimit64] (getrlimit64): Define as weak alias of
39887         __getrlimit64.  Use libc_hidden_weak.
39888         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39889         using __getrlimit64 not __new_getrlimit64.
39890         (__GI_getrlimit64): Likewise.
39891         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39892         Likewise.
39893         (__GI_getrlimit64): Likewise.
39894         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39896         (getrlimit): Add __getrlimit64 alias.
39897         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39898         Likewise.
39899         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39900         Remove variable.
39901         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39902         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39904 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39906         * libio/fileops.c: Add missing sys/mman.h
39907         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39909 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39911         * manual/math.texi (Errors in Math Functions): Clarify goals
39912         regarding inexact and underflow exceptions.
39914 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39916         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39917         * sysdeps/mips/memset.S: Ditto.
39919 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39921         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39923 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39925         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39926         (__v1longjmp): Remove versioned symbol.
39927         (__v1siglongjmp): Remove alias and versioned symbol.
39928         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39929         (__v2siglongjmp): Likewise.
39931 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39933         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39935 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39937         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39939 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39941         [BZ #17987]
39942         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39943         zero result does not depend on the sign resulting from
39944         subtraction.
39945         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39946         Likewise.
39947         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39948         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39949         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39950         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39951         * math/libm-test.inc (remquo_test_data): Add more tests.
39953 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39955         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39956         Problem reported by J William Piggott.
39958 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39960         [BZ #17978]
39961         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39962         products 4 * y and 2 * y where those would overflow.
39963         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39964         Likewise.
39965         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39966         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39967         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39968         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39969         * math/libm-test.inc (remquo_test_data): Add more tests.
39971         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39973         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39974         [defined _COMPILING_NEWLIB].
39975         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39976         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39978         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39979         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39981 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39983         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39984         acquired.
39986 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39988         [BZ #17792]
39989         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39990         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39991         HOST_STACK_END_ADDR): Likewise.
39993 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39995         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39996         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39997         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39999 2015-02-13  Roland McGrath  <roland@hack.frob.com>
40001         * sysdeps/generic/c++-types.data: New file.
40002         * sysdeps/generic/ld.abilist: New file.
40003         * sysdeps/generic/libBrokenLocale.abilist: New file.
40004         * sysdeps/generic/libanl.abilist: New file.
40005         * sysdeps/generic/libc.abilist: New file.
40006         * sysdeps/generic/libcrypt.abilist: New file.
40007         * sysdeps/generic/libdl.abilist: New file.
40008         * sysdeps/generic/libm.abilist: New file.
40009         * sysdeps/generic/libpthread.abilist: New file.
40010         * sysdeps/generic/libresolv.abilist: New file.
40011         * sysdeps/generic/librt.abilist: New file.
40013 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
40015         [BZ #17569]
40016         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
40017         Compute absolute value of x as modified by fmod, not original
40018         value of x.
40019         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
40020         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
40021         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
40022         RUN_TEST_ffI_f1_mod8.
40023         (remquo_test_data): Add more tests.
40025 2015-02-13  Roland McGrath  <roland@hack.frob.com>
40027         * sysdeps/init_array/pt-crti.S: New file.
40029 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
40031         [BZ #17967]
40032         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
40033         __builtin_fmaf instead of relying on contraction of a * b + c.
40035 2015-02-12  J William Piggott  <elseifthen@gmx.com>
40037         [BZ #17969]
40038         * manual/time.texi: correct the zoneinfo path in the TZ Variable
40039         node.
40041 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
40043         [BZ #17964]
40044         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
40045         __builtin_fma instead of relying on contraction of a * b + c.
40047 2015-02-12  Roland McGrath  <roland@hack.frob.com>
40049         * Makeconfig (ASFLAGS): Add -Werror=undef.
40050         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
40051         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40052         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
40054         * Makeconfig (after-link): New variable.
40055         (+link-pie, +link-pie-tests): Use it.
40056         (+link-static, +link-static-tests): Likewise.
40057         (+link, +link-tests): Likewise.
40058         * Makerules (build-module, build-module-asneeded): Likewise.
40059         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
40060         Likewise.
40061         * elf/Makefile ($(objpfx)ld.so): Likewise.
40063 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
40065         [BZ #17965]
40066         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
40067         both struct timeval and struct timespec.
40069 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
40071         [BZ #16560]
40072         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40073         and redefine.
40074         (__ieee754_exp2l): Do not multiply small fractional parts by
40075         M_LN2l.
40076         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
40077         small argument.
40078         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40079         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
40080         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
40081         * math/auto-libm-test-in: Add more tests of exp2.
40082         * math/auto-libm-test-out: Regenerated.
40084 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40086         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
40087         unaligned path.
40089 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40091         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
40092         little endian.
40094 2015-02-12  Andreas Schwab  <schwab@suse.de>
40096         [BZ #15790]
40097         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
40098         Filter out elision flags from value returned in kind.
40099         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
40100         * nptl/tst-pthread-mutexattr.c: New file.
40102 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40104         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
40105         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
40106         into gnu-gnu, and update comment to refer to abi-tags.
40108 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
40110         [BZ #15467]
40111         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
40112         (__sincos): Set errno to EDOM for infinite argument.
40113         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
40114         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
40115         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
40116         (__sincosl): Set errno to EDOM for infinite argument.
40117         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
40118         (__sincosl): Set errno to EDOM for infinite argument.
40119         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
40120         (__sincosl): Set errno to EDOM for infinite argument.
40121         * math/libm-test.inc (sincos_test_data): Test errno setting.
40123 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
40125         * string/strxfrm_l.c: Remove #define STRCMP.
40126         * string/strcoll_l.c: Remove #define STRLEN.
40127         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
40128         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
40130 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
40132         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
40133         * sysdeps/mips/mips32/sfp-machine.h: ... here.
40134         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
40135         * sysdeps/mips/mips64/Makefile: ... here.
40136         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
40137         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
40138         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
40139         * sysdeps/mips/mips64/sfp-machine.h: ... here.
40140         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
40141         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
40142         * sysdeps/mips/mips64/n64/Implies: Likewise.
40144 2015-02-10  Roland McGrath  <roland@hack.frob.com>
40146         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40147         <sys/time.h>, <string.h>, and <errno.h>.
40148         (dest_offset, dest_address, value, zero): Remove unused variables.
40149         (ldouble): Remove typedef.
40150         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
40151         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
40152         1).  Fix code style.
40153         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
40154         (check): Function removed.
40155         (CHECK): New macro.
40156         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
40157         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
40158         Don't call set_sigaction_FP and remove_sigaction_FP here.
40159         (ldouble_test): Just use 'long double' as macro argument, no need for
40160         the 'ldouble' typedef.
40161         (do_test): Set up SIGFPE handler at start, using plain signal rather
40162         than sigaction.  Fix code style.
40164 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
40166         [BZ #17949]
40167         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40168         jump label.
40170 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40172         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40173         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40175         * sysdeps/powerpc/configure.ac: Remove file.
40176         * sysdeps/powerpc/configure: Likewise.
40178         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40179         [sysdep_routines]: Remove wordcopy-power6 object.
40180         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40181         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40182         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40183         (__memmove_ppc32): Likewise.
40184         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40185         file.
40186         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40187         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40188         Remove preprocessor.
40190         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40191         [sysdep_routines]: Remove wide chars objects.
40192         [wcsmbs]: New rule for wide char objects.
40194         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40195         Remove wordcopy-power6 obejct.
40196         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40197         Use local call for wordcopy and memcpy symbols.
40198         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40199         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40200         implementation for loader.
40201         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40203         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40204         Remove wordcopy-power7 object.
40205         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40206         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40207         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40208         (_wordcopy_fwd_dest_aligned): Likewise.
40209         (_wordcopy_bwd_aligned): Likewise.
40210         (_wordcopy_bwd_dest_aligned): Likewise.
40212         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40213         Rewrite to call __memmove_ppc instead of include default
40214         implementation.
40216         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40217         Remove wide chars objects.
40218         [wcsmbs]: New rule for wide char objects.
40220 2015-02-09  Andreas Schwab  <schwab@suse.de>
40222         [BZ #17912]
40223         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40224         in terms of __O_DIRECTORY.
40226 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40228         * time/getdate.c: Include <stdbool.h>.
40229         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40230         call PTR_MANGLE.
40231         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40232         PTR_DEMANGLE.
40234 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
40236         Add ersatz _Static_assert on older C hosts
40237         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40238         pre-C11 C platform that is not known to support _Static_assert.
40240 2015-02-07  Richard Braun  <rbraun@sceen.net>
40242         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40243         sigstate.
40244         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40246 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40248         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40249         priority against unexistent AIO_PRIO_DELTA_MAX.
40250         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40251         instead of int.
40252         * misc/fchflags.c (fchflags): Likewise.
40253         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40254         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40255         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40256         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40257         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40258         Declare macros.
40259         [__USE_MISC] (chflags, fchflags): Declare functions.
40260         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40261         EINVAL when nfds is greater than FD_SETSIZE.
40262         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40263         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40264         45.
40265         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40266         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40267         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40268         MACH_RCV_TIMED_OUT.
40269         * hurd/hurd/signal.h (_hurd_self_sigstate,
40270         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40271         Explicit casts from void *.
40272         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40273         * abi-tags: Rename gnu-gnu os into gnu.
40275         [BZ #4719]
40276         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40277         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40278         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40279         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40280         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40281         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40283         [BZ #17944]
40284         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40285         duplicates ADDR->sun_path with sockaddr LEN limitation.
40286         * sysdeps/mach/hurd/connect.c: Include <string.h>
40287         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40288         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40289         * sysdeps/mach/hurd/sendto.c: Likewise.
40290         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40291         implementing it by hand.
40293 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40295         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40296         Use sfi_breg on ldr.
40297         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40298         Likewise.
40300         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40301         it's defined.
40302         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40303         Test SIGSETXID only if it's defined.
40305         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40307         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40308         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40310         * nptl/tst-align2.c: Moved ...
40311         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40312         * nptl/Makefile (tests): Remove tst-align2.
40313         * sysdeps/unix/sysv/linux/Makefile
40314         [$(subdir) = nptl] (tests): Add tst-align-clone.
40315         * nptl/tst-getpid1.c: Moved ...
40316         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40317         * nptl/tst-getpid2.c: Moved ...
40318         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40319         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40320         * sysdeps/unix/sysv/linux/Makefile
40321         [$(subdir) = nptl] (tests): ... here.
40322         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40323         * sysdeps/unix/sysv/linux/Makefile
40324         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40326         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40327         Drop trailing \n from perror argument.  Use return rather than exit.
40329         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40330         on [SA_SIGINFO].
40331         * nptl/tst-cancel21.c (do_test): Likewise.
40332         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40333         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40334         [!SA_SIGINFO]: Make it a stub test.
40336         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40337         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40339         * posix/tst-getlogin.c: Move to ...
40340         * login/tst-getlogin.c: ... here.
40341         * posix/Makefile (tests): Move tst-getlogin to ...
40342         * login/Makefile (tests): ... here.
40344         * libio/tst-atime.c (do_test): Move local variables SV and E
40345         inside [ST_NOATIME] conditional.
40347         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40349         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40351         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40352         (wait_code): New function replaces macro.
40353         Call nanosleep rather than syscall.
40355         * nptl/pt-system.c: Rewritten.  Put everything under
40356         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40357         Use IFUNC to redirect when possible.
40359         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40360         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40361         Use IFUNC to redirect when possible.
40363         * nptl/pt-fork.c: Rewritten.  Put everything under
40364         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40365         Use IFUNC to redirect when possible.
40366         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40368         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40369         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40370         unconditionally nowadays.  This included the only reference to
40371         __vdso_clock_gettime that appears outside libc proper.
40372         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40373         Remove version set (containing only __vdso_clock_gettime).
40374         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40375         Add attribute_hidden.
40376         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40377         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40378         libc_hidden_data_def.
40379         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40380         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40382         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40383         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40384         setrpcent, and getrpcport to ...
40385         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40386         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40387         getrpcbynumber_r, and getrpcent_r to ...
40388         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40389         * inet/getrpcbyname.c: Moved ...
40390         * sunrpc/getrpcbyname.c: ... here.
40391         * inet/getrpcbyname_r.c: Moved ...
40392         * sunrpc/getrpcbyname_r.c: ... here.
40393         * inet/getrpcbynumber.c: Moved ...
40394         * sunrpc/getrpcbynumber.c: ... here.
40395         * inet/getrpcbynumber_r.c: Moved ...
40396         * sunrpc/getrpcbynumber_r.c: ... here.
40397         * inet/getrpcent.c: Moved ...
40398         * sunrpc/getrpcent.c: ... here.
40399         * inet/getrpcent_r.c: Moved ...
40400         * sunrpc/getrpcent_r.c: ... here.
40401         * inet/Makefile (routines): Move those to ...
40402         * sunrpc/Makefile (routines): ... here.
40403         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40404         the $(subdirs) list.
40405         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40406         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40407         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40408         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40410         * elf/Makefile (routines): Include $(all-dl-routines), not just
40411         $(dl-routines).
40412         (rtld-routines): Likewise.  Use = rather than :=.
40413         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40414         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40415         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40416         * sysdeps/arm/Makefile: Likewise.
40417         * sysdeps/i386/Makefile: Likewise.
40418         * sysdeps/x86_64/Makefile: Likewise.
40419         * sysdeps/hppa/Makefile [$(subdir) = elf]
40420         (sysdep_routines, sysdep-rtld-routines): Don't add
40421         $(sysdep-dl-routines) to these.
40422         * sysdeps/ia64/Makefile: Likewise.
40423         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40424         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40425         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40426         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40427         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40428         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40429         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40430         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40431         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40432         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40433         these; sysdep-dl-routines alone is enough.
40435 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40437         [BZ #17932]
40438         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40439         where multiplication results in zero and third argument is finite
40440         and nonzero.
40441         * math/auto-libm-test-in: Add more tests of fma.
40442         * math/auto-libm-test-out: Regenerated.
40444         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40445         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40446         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40447         (_FP_CMP_EQ): Likewise.
40448         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40450         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40451         extra argument CHECK_NAN.  Redefine as wrapper around
40452         _FP_EXTEND_CNAN.
40454 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40456         * version.h (RELEASE): Set to "stable".
40457         (VERSION): Set to "2.21"
40458         * include/features.h (__GLIBC_MINOR__): Set to 21.
40460         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40462 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40463             Paul Eggert  <eggert@cs.ucla.edu>
40465         [BZ #16618]
40466         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40467         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40468         size in bytes. Store needed elements in wpmax. Use needed size
40469         in bytes for extend_alloca.
40471 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40473         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40474         binutls 2.25, and texinfo 5.2.
40475         * INSTALL: Regenerate.
40476         * sysdeps/nios2/configure: Regenerate.
40477         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40478         * manual/contrib.texi: Update.
40479         * po/be.po: Update.
40480         * po/bg.po: Update.
40481         * po/ca.po: Update.
40482         * po/cs.po: Update.
40483         * po/da.po: Update.
40484         * po/de.po: Update.
40485         * po/el.po: Update.
40486         * po/eo.po: Update.
40487         * po/es.po: Update.
40488         * po/fi.po: Update.
40489         * po/fr.po: Update.
40490         * po/gl.po: Update.
40491         * po/hr.po: Update.
40492         * po/hu.po: Update.
40493         * po/ia.po: Update.
40494         * po/id.po: Update.
40495         * po/it.po: Update.
40496         * po/ja.po: Update.
40497         * po/ko.po: Update.
40498         * po/lt.po: Update.
40499         * po/nb.po: Update.
40500         * po/nl.po: Update.
40501         * po/pl.po: Update.
40502         * po/pt_BR.po: Update.
40503         * po/ru.po: Update.
40504         * po/rw.po: Update.
40505         * po/sk.po: Update.
40506         * po/sl.po: Update.
40507         * po/sv.po: Update.
40508         * po/tr.po: Update.
40509         * po/uk.po: Update.
40510         * po/vi.po: Update.
40511         * po/zh_CN.po: Update.
40512         * po/zh_TW.po: Update.
40514         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40515         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40516         * sysdeps/hppa/dl-irel.h: Remove #warning.
40517         * sysdeps/hppa/entry.h: Provide prototype for
40518         __canonicalize_funcptr_for_compare and cast argument.
40519         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40520         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40521         * sysdeps/hppa/sotruss-lib.c: New file.
40522         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40523         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40524         (atomic_compare_and_exchange_bool_acq): Likewise.
40525         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40526         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40528         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40529         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40530         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40532 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40534         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40535         called function in non-PIC case.
40537 2015-01-31  David S. Miller  <davem@davemloft.net>
40539         * sysdeps/sparc/sparc32/bits/atomic.h
40540         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40541         unlock not after it.
40542         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40543         volatile register usage warnings from the compiler.
40545         * sysdeps/sparc/nptl/sem_init.c: Delete.
40546         * sysdeps/sparc/nptl/sem_post.c: Delete.
40547         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40548         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40549         * sysdeps/sparc/sparc32/sem_init.c: New file.
40550         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40551         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40552         padding explicitly initialized.
40553         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40554         padding for in-semaphore spinlock.
40555         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40556         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40557         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40558         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40559         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40560         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40561         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40562         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40563         version.
40564         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40565         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40567 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40569         [BZ #17801]
40570         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40571         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40572         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40573         New.
40574         (index_AVX_Fast_Unaligned_Load): Likewise.
40575         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40576         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40577         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40578         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40579         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40580         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40581         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40582         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40583         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40585 2015-01-29  Andreas Schwab  <schwab@suse.de>
40587         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40589 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40591         [BZ #17892]
40592         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40594 2015-01-28  Martin Sebor  <msebor@redhat.com>
40596         * math/README.libm-test: Clarify. Add "How to read the test output."
40598 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40600         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40601         Define to 0.
40603 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40605         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40606         (__HAVE_64B_ATOMICS): Define to 0.
40608 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40610         [BZ #17885]
40611         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40612         value to set as new flag.
40614         [BZ #16576]
40615         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40616         and use _ARCH_PPCSQ instead.
40617         (__ieee754_sqrt): Likewise.
40618         (__ieee754_sqrtf): Likewise.
40619         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40620         _ARCH_PPCSQ is defined.
40621         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40622         fsqrt instruction.
40623         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40624         _ARCH_PPCSQ is defined.
40625         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40626         fsqrts instruction.
40627         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40629 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40631         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40632         bug (GCC BZ #64739).
40634 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40636         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40637         Mark _retval as used.
40638         (lll_futex_wake_unlock): Likewise.
40639         (lll_futex_timed_wait_requeue_pi): Likewise.
40641         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40642         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40643         register variables.
40645         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40646         libm_hidden_def.
40648         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40649         (__bswap_64): Mark as __always_inline.
40651 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40653         [BZ #15378]
40654         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40655         when none of the search directories exist.
40657 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40659         [BZ #17869]
40660         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40661         power8 in .machine directive.
40663         [BZ #17868]
40664         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40665         set dependency from opd value.
40667 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40669         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40670         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40671         architecture.
40673 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40675         [BZ #17870]
40676         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40677         with uint64_t.
40678         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40679         (uint64_t) 1.
40680         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40681         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40682         Replace 1UL with (uint64_t) 1.
40683         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40684         int with uint64_t.
40686 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40688         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40689         (if_freenameindex): Likewise.
40691         * resource/getrlimit64.c: Add missing libc_hidden_def.
40693 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40695         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40696         __label__.
40697         (_FP_FMA): Likewise.
40698         (_FP_TO_INT_ROUND): Likewise.
40699         (_FP_FROM_INT): Likewise.
40701 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40703         [BZ #16418]
40704         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40705         Make code racy and cancel safe.
40707 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40709         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40710         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40711         attribution.
40713         * pwd/tst-getpw.c: Rewrite.
40715         [BZ #17702]
40716         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40717         (modules-names): Add moddummy1 and moddummy2.
40718         ($(objpfx)tst-rec-dlopen): Define.
40719         * dlfcn/moddummy1.c: New file.
40720         * dlfcn/moddummy2.c: New file.
40721         * dlfcn/tst-rec-dlopen.c: New file.
40722         * elf/dl-cache.c (_dl_load_cache_lookup):
40723         Return char*. Copy result with alloca/strcpy/strdup.
40724         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40725         returns char*. Free cached. If not saving realname
40726         free cached.
40727         * elf/dl-open.c (dl_open_worker): Do not assert that
40728         _r_debug->r_state is RT_CONSISTENT.
40729         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40730         returns char*.
40732 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40733             Carlos O'Donell  <carlos@redhat.com>
40735         [BZ #12674]
40736         * nptl/sem_waitcommon.c: New file.
40737         * nptl/sem_wait.c: Include sem_waitcommon.c.
40738         (__sem_wait_cleanup, do_futex_wait): Remove.
40739         (__new_sem_wait): Adapt.
40740         (__new_sem_trywait): New function.
40741         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40742         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40743         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40744         (sem_timedwait): Adapt.
40745         * nptl/sem_post.c (__new_sem_post): Adapt.
40746         (futex_wake): New function.
40747         (__old_sem_post): Add release MO fence.
40748         * nptl/sem_open.c (sem_open): Adapt.
40749         * nptl/sem_init.c (__new_sem_init): Adapt.
40750         (futex_private_if_supported): New function.
40751         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40752         (__old_sem_getvalue): Add using previous code.
40753         * sysdeps/nptl/internaltypes.h: Adapt.
40754         * nptl/tst-sem13.c (do_test): Adapt.
40755         * nptl/tst-sem11.c (main): Adapt.
40756         * nptl/sem_trywait.c: Remove.
40757         * nptl/DESIGN-sem.txt: Remove.
40758         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40759         (gen-as-const-headers): Remove structsem.sym.
40760         * nptl/structsem.sym: Remove.
40761         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40762         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40763         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40764         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40765         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40766         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40767         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40768         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40769         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40770         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40771         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40772         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40773         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40774         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40775         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40776         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40777         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40778         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40779         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40780         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40781         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40782         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40784 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40786         * INSTALL: Regenerated.
40788         * po/libc.pot: Regenerated.
40790 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40791             Sandra Loosemore  <sandra@codesourcery.com>
40792             Andrew Jenner  <andrew@codesourcery.com>
40793             Joseph Myers  <joseph@codesourcery.com>
40794             Nathan Sidwell  <nathan@codesourcery.com>
40796         * NEWS: Mention new Nios II port.
40797         * sysdeps/nios2/Implies: New file.
40798         * sysdeps/nios2/Makefile: New file.
40799         * sysdeps/nios2/Subdirs: New file.
40800         * sysdeps/nios2/Versions: New file.
40801         * sysdeps/nios2/__longjmp.S: New file.
40802         * sysdeps/nios2/abort-instr.h: New file.
40803         * sysdeps/nios2/backtrace.c: New file.
40804         * sysdeps/nios2/bits/endian.h: New file.
40805         * sysdeps/nios2/bits/fenv.h: New file.
40806         * sysdeps/nios2/bits/link.h: New file.
40807         * sysdeps/nios2/bits/setjmp.h: New file.
40808         * sysdeps/nios2/bsd-_setjmp.S: New file.
40809         * sysdeps/nios2/bsd-setjmp.S: New file.
40810         * sysdeps/nios2/configure: New generated file.
40811         * sysdeps/nios2/configure.ac: New file.
40812         * sysdeps/nios2/crti.S: New file.
40813         * sysdeps/nios2/crtn.S: New file.
40814         * sysdeps/nios2/dl-init.c: New file.
40815         * sysdeps/nios2/dl-machine.h: New file.
40816         * sysdeps/nios2/dl-sysdep.h: New file.
40817         * sysdeps/nios2/dl-tls.h: New file.
40818         * sysdeps/nios2/dl-trampoline.S: New file.
40819         * sysdeps/nios2/gccframe.h: New file.
40820         * sysdeps/nios2/gmp-mparam.h: New file.
40821         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40822         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40823         * sysdeps/nios2/ldsodefs.h: New file.
40824         * sysdeps/nios2/libc-tls.c: New file.
40825         * sysdeps/nios2/libm-test-ulps: New file.
40826         * sysdeps/nios2/machine-gmon.h: New file.
40827         * sysdeps/nios2/math-tests.h: New file.
40828         * sysdeps/nios2/math_private.h: New file.
40829         * sysdeps/nios2/memusage.h: New file.
40830         * sysdeps/nios2/nptl/Makefile: New file.
40831         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40832         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40833         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40834         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40835         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40836         * sysdeps/nios2/nptl/tls.h: New file.
40837         * sysdeps/nios2/preconfigure: New file.
40838         * sysdeps/nios2/s_fma.c: New file.
40839         * sysdeps/nios2/s_fmaf.c: New file.
40840         * sysdeps/nios2/setjmp.S: New file.
40841         * sysdeps/nios2/sfp-machine.h: New file.
40842         * sysdeps/nios2/sotruss-lib.c: New file.
40843         * sysdeps/nios2/stackguard-macros.h: New file.
40844         * sysdeps/nios2/stackinfo.h: New file.
40845         * sysdeps/nios2/start.S: New file.
40846         * sysdeps/nios2/sysdep.h: New file.
40847         * sysdeps/nios2/tls-macros.h: New file.
40848         * sysdeps/nios2/tst-audit.h: New file.
40849         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40850         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40851         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40852         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40853         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40854         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40855         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40856         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40857         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40858         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40859         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40860         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40861         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40862         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40863         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40864         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40865         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40866         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40867         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40868         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40869         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40870         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40871         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40872         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40873         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40874         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40875         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40876         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40877         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40878         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40879         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40880         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40881         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40882         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40883         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40884         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40885         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40886         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40887         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40888         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40889         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40890         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40891         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40892         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40894 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40896         [BZ #17844]
40897         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40898         (getutent): Use weak_alias in non SHARED case
40899         and default_symbol_version in SHARED case.
40900         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40901         (getutent_r, pututline): Likewise.
40902         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40903         (getutid): Likewise.
40904         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40905         (getutid_r): Likewise.
40906         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40907         (getutline): Likewise.
40908         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40909         (getutline_r): Likewise.
40910         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40911         (updwtmp): Likewise.
40913 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40915         [BZ #17848]
40916         * sysdeps/s390/s390-32/memcmp.S
40917         (memcmp_g5): Rename to __memcmp_g5.
40918         * sysdeps/s390/s390-32/memcpy.S
40919         (memcpy_g5): Rename to __memcpy_g5.
40920         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40921         (memcpy_mvcle) Rename to __memcpy_mvcle.
40922         * sysdeps/s390/s390-32/memset.S
40923         (memset_g5): Rename to __memset_g5.
40924         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40925         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40926         and use prefixed functions.
40927         * sysdeps/s390/s390-32/multiarch/memcmp.S
40928         (memcmp_z196): Rename to __memcmp_z196.
40929         (memcmp_z10): Rename to __memcmp_z10.
40930         (memcmp): Set alias to __memcmp_g5.
40931         (bcmp): Set alias to __memcmp_g5.
40932         * sysdeps/s390/s390-32/multiarch/memcpy.S
40933         (memcpy_z196): Rename to __memcpy_z196.
40934         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40935         (memcpy_z10): Rename to __memcpy_z10.
40936         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40937         (memcpy): Set alias to __memcpy_g5.
40938         * sysdeps/s390/s390-32/multiarch/memset.S
40939         (memset_z196): Rename to __memset_z196.
40940         Jump to __memset_mvcle instead of memset_mvcle.
40941         (memset_z10): Rename to __memset_z10.
40942         Jump to __memset_mvcle instead of memset_mvcle.
40943         (memset_mvcle) Rename to __memset_mvcle.
40944         (memset): Set alias to __memset_g5.
40945         * sysdeps/s390/s390-64/memcmp.S
40946         (memcmp_z900): Rename to __memcmp_z900.
40947         * sysdeps/s390/s390-64/memcpy.S
40948         (memcpy_z900): Rename to __memcpy_z900.
40949         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40950         (memcpy_mvcle) Rename to __memcpy_mvcle.
40951         * sysdeps/s390/s390-64/memset.S
40952         (memset_z900): Rename to __memset_z900.
40953         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40954         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40955         and use prefixed functions.
40956         * sysdeps/s390/s390-64/multiarch/memcmp.S
40957         (memcmp_z196): Rename to __memcmp_z196.
40958         (memcmp_z10): Rename to __memcmp_z10.
40959         (memcmp): Set alias to __memcmp_z900.
40960         (bcmp): Set alias to __memcmp_z900.
40961         * sysdeps/s390/s390-64/multiarch/memcpy.S
40962         (memcpy_z196): Rename to __memcpy_z196.
40963         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40964         (memcpy_z10): Rename to __memcpy_z10.
40965         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40966         (memcpy): Set alias to __memcpy_z900.
40967         * sysdeps/s390/s390-64/multiarch/memset.S
40968         (memset_z196): Rename to __memset_z196.
40969         Jump to __memset_mvcle instead of memset_mvcle.
40970         (memset_z10): Rename to __memset_z10.
40971         Jump to __memset_mvcle instead of memset_mvcle.
40972         (memset_mvcle) Rename to __memset_mvcle.
40973         (memset): Set alias to __memset_z900.
40975 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40977         [BZ #17748]
40978         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40979         __fesetenv instead of fesetenv.
40981 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40983         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40984         macro.
40986 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40988         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40989         regression on LE.
40991         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40992         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40993         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40994         strncmp-power8 object.
40995         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40996         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40997         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40998         * NEWS: Update.
41000 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41001             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41003         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
41004         trailing byte check.
41006 2015-01-13  David S. Miller  <davem@davemloft.net>
41008         * include/signal.h (__sigreturn): Guard with __USE_MISC.
41010 2015-01-13  Roland McGrath  <roland@hack.frob.com>
41012         * login/logout.c (logout): Use memset rather than bzero.
41013         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
41014         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
41015         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
41016         (_gethtbyaddr): Likewise.
41017         * locale/programs/simple-hash.c (bcopy): Macro removed.
41019 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41021         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41022         Add strcmp-power8 object.
41023         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41024         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
41025         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
41026         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
41027         __strcmp_power8 implementation.
41028         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
41029         * NEWS: Update.
41031         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41032         Add strncpy-power8 and stpncpy-power8 objects.
41033         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41034         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
41035         implementations.
41036         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
41037         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
41038         __stpncpy_power8 implementation.
41039         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
41040         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
41041         __strncpy_power8 implementation.
41042         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
41043         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
41044         * NEWS: Update.
41046         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
41047         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
41048         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
41050         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41051         strncat-power8 object.
41052         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
41053         __strcat_power8 implementation.
41054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41055         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
41056         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
41057         optimized strcat for power8.
41059         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41060         strcpy-power8 and stpcpy-power8 objects.
41061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41062         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
41063         implementations.
41064         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
41065         multiarch stpcpy implementation for POWER8.
41066         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
41067         multiarch strcpy implementation for POWER8.
41068         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
41069         __strcpy_power8 function.
41070         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
41071         stpcpy for POWER8.
41072         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
41073         strcpy for POWER8.
41074         * NEWS: Update.
41076 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
41078         [BZ #16009]
41079         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
41080         weights and rules. Use do_xfrm_cached if data fits in cache,
41081         do_xfrm otherwise.  Moved former main loop to...
41082         * (do_xfrm_cached): New function.
41083         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
41084         find_idx, find_position and stack_push.
41085         * (find_idx): New function.
41086         * (find_position): Likewise.
41087         * localedata/sort-test.sh: Added test run for do_xfrm.
41088         * localedata/xfrm-test.c (main): Added command line option
41089         -nocache to run the test with strings that are too large for
41090         the STRXFRM cache.
41092 2015-01-13  Torvald Riegel  <triegel@redhat.com>
41094         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
41095         variable to lll_futex_wake call, not the value itself.
41097 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
41099         [BZ #17803]
41100         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
41101         twom64.  Adjust value to 0x1p-64L.
41102         (__scalblnl): Only return standard underflowing result for K <=
41103         -64 not K <= -63; adjust exponent for underflowing result by 64
41104         not 63.
41105         * math/libm-test.inc (scalbn_test_data): Add more tests.
41106         (scalbln_test_data): Likewise.
41108         [BZ #17834]
41109         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
41110         0x1p63L.
41111         (__scalblnl): Get new exponent of adjusted subnormal value from ES
41112         not HX.
41113         * math/libm-test.inc (scalbn_test_data): Add more tests.
41114         (scalbln_test_data): Likewise.
41116 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41117             Stefani Seibold  <stefani@seibold.net>
41119         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
41120         (sysdep_routines): Add dl-vdso here, ...
41121         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
41122         (sysdep_routines): ... not here.
41123         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
41124         fallback when vDSO is not presented.
41125         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
41126         Define with libc_hidden_proto/libc_hidden_data_def definitions.
41127         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
41128         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
41129         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
41130         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
41131         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
41132         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
41133         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
41134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
41135         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
41136         fallback configurable symbol when vDSO is not available.
41137         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
41138         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
41139         be able to redefine fallback symbol when vDSO is not available.
41140         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
41141         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
41143 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41145         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41146         (TLS_INIT_TP): Add tm_capable initialization.
41147         (TLS_DEFINE_INIT_TP): Likewise.
41148         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
41149         TCB.
41150         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
41151         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
41152         calculation.
41153         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
41154         transactoion is lock elision is built and TCB tm_capable is set.
41155         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41157         (INTERNAL_SYSCALL_NCS): Likewise.
41158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41159         (INTERNAL_SYSCALL_NCS): Likewise.
41160         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41162         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41163         for powerpc.
41164         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41165         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41166         and remove it for 32 bits case.
41167         [pthread_rwlock_t] (__rwelision): New field for lock elision.
41168         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41169         initialization.
41170         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41171         Disable lock elision with rdlocks if elision is not available.
41173         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41174         (sysdep_routines): Add lock elision objects.
41175         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41176         [pthread_mutex_t] (__spins): Rework to add lock elision field.
41177         [pthread_mutex_t] (__elision): Add field.
41178         [__PTHREAD_SPINS]: Adjust to init lock elision field.
41179         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41180         elision definitions for powerpc.
41181         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41182         implementation of lock elision for powerpc.
41183         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41184         implementation of timed lock elision for powerpc.
41185         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41186         implementation of trylock with lock elision for powerpc.
41187         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41188         implementaion of unlock for lock elision for powerpc.
41189         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41190         automatic enable lock elision for mutexes.
41191         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41192         transaction execution definitions for powerpc.
41193         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41194         definitions.
41195         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41196         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41197         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41198         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41199         * NEWS: Update.
41201 2015-01-09  Roland McGrath  <roland@hack.frob.com>
41203         * sysdeps/posix/shm-directory.c: Use <> rather than ""
41204         for #include of <shm-directory.h>.
41206 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
41208         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41209         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41211 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
41213         [BZ #17791]
41214         * NEWS: Mention bug fix.
41215         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41216         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41217         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41219 2015-01-09  Torvald Riegel <triegel@redhat.com>
41221         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41223 2015-01-09  Torvald Riegel <triegel@redhat.com>
41225         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41227 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41229         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41230         pointer and cast to uintptr_t.
41232 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41234         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41235         removed.
41236         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41238 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41240         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41241         of 0.
41243 2015-01-08  Roland McGrath  <roland@hack.frob.com>
41245         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41246         <nptl/pthreadP.h> instead.
41247         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41249         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41250         already defined.
41251         [__SIGRTMIN] (init): Function removed.
41252         [__SIGRTMIN] (initialized): Variable removed.
41253         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41254         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41255         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41256         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41257         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41258         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41259         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41260         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41261         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41262         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41263         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41264         * sysdeps/nptl/allocrtsig.c: New file.
41265         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41266         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41267         * sysdeps/generic/testrtsig.h: File removed.
41269         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41270         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41272         * nptl/nptl-init.c (pthread_functions): Conditionalize
41273         .ptr__nptl_setxid initialization on [SIGSETXID].
41275         * sysdeps/nptl/sys/procfs.h: New file.
41276         * nptl_db/Makefile (headers): Add it.
41277         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41279         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41280         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41281         * nptl/pthread_attr_setaffinity.c: Include it.
41282         * nptl/pthread_setattr_default_np.c: Likewise.
41283         * nptl/check-cpuset.h: New file.
41285 2015-01-08  Richard Henderson  <rth@redhat.com>
41287         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41288         (CFLAGS-tst-execstack-prog.c): Likewise.
41289         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41291 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41292             Sandra Loosemore  <sandra@codesourcery.com>
41293             Andrew Jenner  <andrew@codesourcery.com>
41294             Joseph Myers  <joseph@codesourcery.com>
41295             Nathan Sidwell  <nathan@codesourcery.com>
41297         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41298         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41299         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41300         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41301         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41302         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41303         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41304         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41305         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41306         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41307         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41308         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41309         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41310         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41311         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41312         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41313         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41315 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41317         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41318         timespec struct member in syscall macro.
41319         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41320         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41321         first timeval struct member in syscall macro.
41322         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41324 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41326         [BZ #17748]
41327         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41328         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41329         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41330         __feupdateenv and define as weak alias of __feupdateenv.  Use
41331         libm_hidden_weak.
41332         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41333         libm_hidden_def.
41334         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41335         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41336         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41337         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41338         libm_hidden_def.
41339         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41340         __feupdateenv and define as weak alias of __feupdateenv.  Use
41341         libm_hidden_weak.
41342         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41343         libm_hidden_def.
41344         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41345         __feupdateenv and define as weak alias of __feupdateenv.  Use
41346         libm_hidden_weak.
41347         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41348         libm_hidden_def.
41349         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41350         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41351         (__feupdateenv): Likewise.
41352         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41353         __feupdateenv and define as weak alias of __feupdateenv.  Use
41354         libm_hidden_weak.
41355         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41356         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41357         libm_hidden_def.
41358         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41359         function.
41360         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41361         libm_hidden_def.
41362         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41363         __feupdateenv instead of feupdateenv.
41364         (default_libc_feupdateenv_test): Likewise.
41365         (libc_feresetround_ctx): Likewise.
41367 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41369         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41370         prototype.
41372 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41374         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41375         COLL_SYM in a couple of places to avoid uninitialized variable
41376         wanings on tilegx gcc 4.8.2.
41378 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41380         * sysdeps/aarch64/strcpy.S: New file.
41381         * sysdeps/aarch64/stpcpy.S: New file.
41382         * NEWS: Updated.
41384 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41386         * sysdeps/aarch64/strrchr.S: New file.
41387         * NEWS: Updated.
41389 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41391         [BZ #17658]
41392         * stdlib/setenv.c: Fix memory leak when setting large,
41393         duplicate string.
41395 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41397         [BZ #17273]
41398         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41399         and tabs from buffer before parsing fstab entry.
41400         * misc/tst-mntent.c (main): Add test for mount entry with
41401         trailing spaces and tabs.
41403 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41405         [BZ #17748]
41406         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41407         * math/fesetround.c (fesetround): Rename to __fesetround and
41408         define as weak alias of __fesetround.  Use libm_hidden_weak.
41409         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41410         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41411         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41412         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41413         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41414         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41415         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41416         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41417         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41418         __fesetround_inline.
41419         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41420         __fesetround_inline instead of __fesetround.
41421         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41422         __fesetround and define as weak alias of __fesetround.  Use
41423         libm_hidden_weak.  Call __fesetround_inline instead of
41424         __fesetround.
41425         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41426         __fesetround and define as weak alias of __fesetround.  Use
41427         libm_hidden_weak.
41428         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41429         Likewise.
41430         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41431         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41432         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41433         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41434         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41435         __fesetround and define as weak alias of __fesetround.  Use
41436         libm_hidden_weak.
41437         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41438         __fesetround instead of fesetround.
41439         (default_libc_feholdexcept_setround): Likewise.
41440         (libc_feholdsetround_ctx): Likewise.
41441         (libc_feholdsetround_noex_ctx): Likewise.
41443         [BZ #17748]
41444         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41445         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41446         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41447         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41448         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41449         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41450         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41451         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41452         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41453         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41454         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41455         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41456         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41457         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41458         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41459         libm_hidden_def.
41460         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41461         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41462         Likewise.
41463         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41464         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41465         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41466         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41467         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41468         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41469         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41470         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41471         __fesetenv instead of fesetenv.
41472         (libc_feresetround_noex_ctx): Likewise.
41473         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41474         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41475         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41476         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41477         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41478         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41479         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41480         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41481         (__feupdateenv): Likewise.
41482         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41483         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41484         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41485         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41487 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41489         [BZ #17806]
41490         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41491         addresses have been freed.
41493 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41495         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41496         and nservall.
41498 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
41500         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41501         Clean up check_pf allocation pattern. addresses
41503 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41505         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41506         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41507         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41508         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41509         * nptl/pthread_join.c (pthread_join): Likewise.
41510         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41511         * sysdeps/posix/waitid.c (__waitid): Likewise.
41512         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41513         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41514         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41515         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41516         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41517         Likewise.
41518         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41519         (__libc_pread64): Likewise.
41520         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41521         (__libc_pwrite): Likewise.
41522         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41523         (__libc_pwrite64): Likewsie.
41524         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41525         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41526         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41527         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41528         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41529         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41530         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41532         Likewise.
41533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41534         (__libc_pread64): Likewise.
41535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41536         Likewise.
41537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41538         (__libc_pwrite64): Likewise.
41539         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41540         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41541         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41542         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41543         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41544         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41545         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41546         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41547         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41548         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41549         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41550         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41551         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41552         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41553         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41554         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41555         Likewise.
41557 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41559         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41560         (CFLAGS-test-double.c): Likewise.
41561         (CFLAGS-test-ldouble.c): Likewise.
41562         (CPPFLAGS-test-ifloat.c): Likewise.
41563         (CPPFLAGS-test-idouble.c): Likewise.
41564         (CPPFLAGS-test-ildoubl.c): Likewise.
41565         (CFLAGS-test-test-fenv.c): Remove variable.
41566         (CFLAGS-test-misc.c): Likewise.
41568 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41570         [BZ #17797]
41571         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41572         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41573         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41574         CLOCKS_PER_SEC == 1000000.
41575         * time/clocktest.c (main): Replace %ld with %jd and cast to
41576         intmax_t.
41578 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41580         * sysdeps/generic/unwind-resume.h: New file.
41581         * sysdeps/gnu/unwind-resume.c: Include it.
41582         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41583         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41584         argument list.
41585         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41586         global rather than static.
41587         (_Unwind_Resume): Update user.
41588         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41589         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41590         rather than static.  Add __attribute__ ((cold)).
41591         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41592         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41593         * sysdeps/arm/arm-unwind-resume.S: New file.
41594         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41595         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41596         * sysdeps/arm/Makefile [$(subdir) = csu]
41597         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41598         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41599         Add rt-arm-unwind-resume.
41600         [$(subdir) = nptl]
41601         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41602         Add pt-arm-unwind-resume.
41603         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41604         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41606 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41608         [BZ #17748]
41609         * include/fenv.h (__feholdexcept): Declare.  Use
41610         libm_hidden_proto.
41611         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41612         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41613         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41614         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41615         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41616         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41617         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41618         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41619         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41620         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41621         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41622         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41623         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41624         (feholdexcept): Likewise.
41625         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41626         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41627         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41628         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41629         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41630         __feholdexcept instead of feholdexcept.
41631         (default_libc_feholdexcept_setround): Likewise.
41633 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41635         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41636         to avoid using stl/str to align destination.
41638 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41640         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41642 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41644         [BZ #17796]
41645         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41646         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41647         Define as weak alias not strong alias.
41649 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41651         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41652         bltzal with addiupc.
41653         (RTLD_START): Ditto.
41655 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41657         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41658         for __vdso_* functions in declarations.
41659         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41660         definitions.
41661         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41662         INTERNAL_VSYSCALL): Use struct return types to check for error.
41664         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41665         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41666         function with cast from llround().
41667         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41668         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41669         Define.
41671 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41673         [BZ #17793]
41674         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41675         Define as weak alias not strong alias.
41677         [BZ #17635]
41678         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41679         ...
41680         * ctype/ctype-extn.c: ... here.
41681         (__isblank_l): Move to ...
41682         * ctype/ctype-c99_l.c: ... here.  New file.
41683         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41684         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41685         Remove variable.
41686         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41687         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41688         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41689         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41690         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41692         [BZ #17777]
41693         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41694         (posix_fadvise64): Define as weak alias not strong alias.
41695         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41696         (posix_fallocate64): Likewise.
41697         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41698         Remove variable.
41699         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41700         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41701         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41702         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41703         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41705 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41707         [BZ #16191]
41708         * NEWS: Mention bug fix.
41709         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41710         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41711         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41712         (HOST_STACK_END_ADDR): Likewise.
41714 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41716         [BZ #17748]
41717         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41718         * math/fegetround.c (fegetround): Rename to __fegetround and
41719         define as weak alias of __fegetround.  Use libm_hidden_weak.
41720         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41721         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41722         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41723         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41724         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41725         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41726         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41727         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41728         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41729         Undefine after rather than before function definition; use
41730         parentheses around function name in definition.
41731         (__fegetround): Also undefine macro after function definition.
41732         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41733         __fegetround and define as weak alias of __fegetround.  Use
41734         libm_hidden_weak.  Do not undefine as macro.
41735         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41736         Likewise.
41737         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41738         __fegetround and define as weak alias of __fegetround.  Use
41739         libm_hidden_weak.
41740         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41741         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41742         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41743         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41744         __fegetround and define as weak alias of __fegetround.  Use
41745         libm_hidden_weak.
41746         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41747         __fegetround instead of fegetround.
41749         [BZ #17782]
41750         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41751         Condition macro definition on [__USE_MISC].
41753         [BZ #17781]
41754         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41755         (struct sigaction): Change type of sa_flags field to int.
41757         [BZ #17780]
41758         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41759         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41760         __glibc_reserved0.
41762         * nptl/version.c (banner): Use single year in copyright notice.
41764         * NEWS: Update copyright dates.
41765         * catgets/gencat.c (print_version): Likewise.
41766         * csu/version.c (banner): Likewise.
41767         * debug/catchsegv.sh: Likewise.
41768         * debug/pcprofiledump.c (print_version): Likewise.
41769         * debug/xtrace.sh (do_version): Likewise.
41770         * elf/ldconfig.c (print_version): Likewise.
41771         * elf/ldd.bash.in: Likewise.
41772         * elf/pldd.c (print_version): Likewise.
41773         * elf/sotruss.sh: Likewise.
41774         * elf/sprof.c (print_version): Likewise.
41775         * iconv/iconv_prog.c (print_version): Likewise.
41776         * iconv/iconvconfig.c (print_version): Likewise.
41777         * locale/programs/locale.c (print_version): Likewise.
41778         * locale/programs/localedef.c (print_version): Likewise.
41779         * login/programs/pt_chown.c (print_version): Likewise.
41780         * malloc/memusage.sh (do_version): Likewise.
41781         * malloc/memusagestat.c (print_version): Likewise.
41782         * malloc/mtrace.pl: Likewise.
41783         * manual/libc.texinfo: Likewise.
41784         * nptl/version.c (banner): Likewise.
41785         * nscd/nscd.c (print_version): Likewise.
41786         * nss/getent.c (print_version): Likewise.
41787         * nss/makedb.c (print_version): Likewise.
41788         * posix/getconf.c (main): Likewise.
41789         * scripts/test-installation.pl: Likewise.
41790         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41792 2015-01-02  Will Newton  <will.newton@linaro.org>
41794         * sysdeps/arm/armv7/configure: Removed.
41795         * sysdeps/arm/armv7/configure.ac: Likewise.
41797 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41799         * All files with FSF copyright notices: Update copyright dates
41800         using scripts/update-copyrights.
41801         * intl/plural.c: Regenerated.
41802         * locale/programs/charmap-kw.h: Likewise.
41803         * locale/programs/locfile-kw.h: Likewise.
41805 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41807         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41809 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41811         [BZ #17748]
41812         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41813         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41814         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41815         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41816         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41817         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41818         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41819         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41820         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41821         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41822         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41823         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41824         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41825         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41826         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41827         libm_hidden_def.
41828         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41829         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41830         Likewise.
41831         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41832         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41833         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41834         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41835         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41836         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41837         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41838         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41839         __fegetenv instead of fegetenv.
41840         (libc_feholdsetround_noex_ctx): Likewise.
41842 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41844         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41845         (Elf_MIPS_ABIFlags_v0): New structure.
41846         (EF_MIPS_FP64): Define.
41847         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41848         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41849         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41850         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41851         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41852         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41853         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41854         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41855         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41856         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41857         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41858         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41859         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41860         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41861         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41862         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41863         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41864         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41865         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41866         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41867         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41868         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41869         field.
41870         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41871         EF_MIPS_FP64.
41872         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41873         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41874         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41875         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41876         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41877         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41878         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41879         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41880         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41881         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41882         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41883         record the current FP ABI extension.
41884         (mips-mode-switch): Define to show if kernel headers support mode
41885         switching.
41886         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41887         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41888         supported SYSV ABI version to 3.
41889         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41890         feature.
41892 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41893             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41895         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41896         path.
41897         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41899 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41901         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41902         __fegetround and redefine to call __fegetround.  Remove condition
41903         on [!__NO_MATH_INLINES].
41904         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41905         function.
41906         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41907         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41908         Remove macro.
41909         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41910         instead of <fenv_libc.h>.
41911         (__llrintl): Call fegetround instead of __fegetround.
41912         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41913         instead of <fenv_libc.h>.
41914         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41915         (__lrintl): Call fegetround instead of __fegetround.
41916         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41917         instead of <fenv_libc.h>.
41918         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41919         (__rintl): Call fegetround instead of __fegetround.
41921 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41923         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41924         arrays.
41926 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41928         [BZ #17775]
41929         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41930         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41931         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41933 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41935         * sysdeps/i386/tls-macros.h: Include <features.h>.
41936         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41937         (TLS_IE): Likewise.
41938         (TLS_LD): Likewise.
41939         (TLS_GD): Likewise.
41940         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41941         define for GCC >= 5.0.
41943 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41945         * math/test-fenv.c (test_single_exception, set_single_exc,
41946         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41947         feexcp_mask_test, feenable_test, fe_single_test): Add
41948         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41949         case where they are not used.
41950         * math/libm-test.inc: Likewise.
41951         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41952         unused in the absence of FP rounding/exception support.
41953         * stdio-common/tst-printf-round.c: Likewise.
41954         * stdlib/tst-strtod-round.c: Likewise.
41955         * stdlib/tst-strtod-underflow.c: Likewise.
41957 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41959         [BZ #17723]
41960         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41961         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41962         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41963         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41964         libm_hidden_weak.
41965         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41966         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41967         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41968         libm_hidden_def.
41969         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41970         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41971         libm_hidden_weak.
41972         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41973         Likewise.
41974         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41975         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41976         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41977         libm_hidden_weak.
41978         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41979         libm_hidden_def.
41980         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41981         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41982         (__feraiseexcept): Likewise.
41983         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41984         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41985         libm_hidden_weak.
41986         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41987         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41988         libm_hidden_def.
41989         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41990         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41991         Use libm_hidden_def.
41992         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41993         libm_hidden_def.
41994         (feraiseexcept): Define as weak not strong alias.  Use
41995         libm_hidden_weak.
41996         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41997         New inline function.  Factored out of ...
41998         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41999         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
42000         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
42001         feraiseexcept.
42002         * math/w_acos.c (__acos): Likewise.
42003         * math/w_asin.c (__asin): Likewise.
42004         * math/w_ilogb.c (__ilogb): Likewise.
42005         * math/w_j0.c (y0): Likewise.
42006         * math/w_j1.c (y1): Likewise.
42007         * math/w_jn.c (yn): Likewise.
42008         * math/w_log.c (__log): Likewise.
42009         * math/w_log10.c (__log10): Likewise.
42010         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
42011         * sysdeps/aarch64/fpu/math_private.h
42012         (libc_feupdateenv_test_aarch64): Likewise.
42013         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
42014         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
42015         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
42016         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
42017         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
42018         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
42019         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
42020         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42021         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42022         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42024 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
42026         [BZ #17732]
42027         * io/test-utime.c (main): Replace %ld with %jd and cast to
42028         intmax_t.
42029         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
42030         * nptl/tst-mutex5.c: Include <stdint.h>.
42031         (do_test): Replace %ld with %jd and cast to intmax_t.
42032         * posix/tst-regex.c (run_test): Likewise.
42033         (run_test_backwards): Likewise.
42034         * rt/tst-clock.c: Include <stdint.h>.
42035         (clock_test): Replace %ld with %jd and cast to intmax_t.
42036         * rt/tst-cpuclock1.c: Include <stdint.h>.
42037         (do_test): Replace %lu with %ju and cast to uintmax_t.
42038         * rt/tst-cpuclock2.c: Include <stdint.h>.
42039         (do_test): Replace %lu with %ju and cast to uintmax_t.
42040         * rt/tst-mqueue1.c: Include <stdint.h>.
42041         (check_attrs): Replace %ld with %jd and cast to intmax_t.
42042         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
42043         intmax_t.
42044         * rt/tst-mqueue4.c (do_test): Likewise.
42045         * rt/tst-timer4.c: Include <stdint.h>.
42046         (check_ts): Replace %ld with %jd and cast to intmax_t.
42047         (do_test): Likewise.
42048         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
42049         and cast to intmax_t.
42050         * sysdeps/pthread/tst-timer.c (main): Likewise.
42051         * time/clocktest.c (main): Likewise.
42052         * time/tst-posixtz.c (do_test): Likewise.
42053         * timezone/tst-timezone.c (main): Likewise.
42055 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
42056             H.J. Lu  <hongjiu.lu@intel.com>
42058         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
42059         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
42060         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
42061         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
42062         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
42063         version if bit_Fast_Unaligned_Load is set.
42064         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42065         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42066         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42067         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42068         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42069         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42070         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42071         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
42072         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
42073         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
42074         to 4.
42075         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
42076         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
42077         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
42078         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
42080 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
42082         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
42083         instead of #if to avoid a Wundef warning.
42084         * stdlib/tst-limits.c (do_test): Likewise.
42086         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
42087         parallel other exception macros.
42088         (fegetenv): Convert from macro to extern inline so that it applies
42089         retroactively to inline functions already seen by the compiler.
42090         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
42092         * posix/Makefile (before-compile): Use $(objpfx) for
42093         posix-conf-vars-def.h.
42095 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42097         * posix/getconf.c (main): Use size_t for type of I.
42098         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
42099         NSPEC.
42101         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
42102         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
42103         * posix/posix-envs.def: Likewise.
42104         * sysdeps/posix/sysconf.c: Likewise.
42105         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
42106         (specs): Remove array.
42107         * scripts/gen-posix-conf-vars.awk: Support generation of specs
42108         array.
42110         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
42111         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
42112         (__sysconf): Use CONF_IS_* macros.
42114         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
42115         ($(objpfx)posix-conf-vars-def.h): New target.
42116         * posix/posix-conf-vars.list: New file.
42117         * posix/posix-conf-vars.h: New file.
42118         * posix/confstr.c: Include posix-conf-vars.h.
42119         (confstr): Use CONF_IS_* macros.
42120         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
42121         CONF_IS_* macros.
42122         * scripts/gen-posix-conf-vars.awk: New file.
42124 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
42126         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
42127         fegetround): Add no-op macros to avoid linknamespace issues.
42129         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
42130         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
42132         * sysdeps/unix/sysv/linux/tile/sysdep.h
42133         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
42134         assembly-specific section to avoid a redefinition warning.
42136         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
42137         long before casting to pointer to avoid a cast warning.
42139 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
42141         * sysdeps/tile/tilegx/Implies: New file.
42143 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
42145         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
42147 2014-12-23  Florian Weimer  <fweimer@redhat.com>
42149         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
42151 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42153         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
42154         not define.
42155         * sysdeps/unix/sysv/linux/utimes.c: Do not include
42156         <kernel-features.h>.
42157         (__utimes) [__NR_utimes]: Make code unconditional.
42158         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
42159         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42160         (__ASSUME_UTIMES): Do not undefine.
42161         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42162         (__ASSUME_UTIMES): Likewise.
42163         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42164         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42165         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42166         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42168 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42170         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42172 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
42174         [BZ #17747]
42175         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42176         alias to weak alias for j0l, y0l.
42177         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42178         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42180         [BZ #17746]
42181         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42182         conversion.
42184 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42186         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42187         to zero if not already defined.
42189 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42191         [BZ #17724]
42192         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42193         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
42194         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
42195         (char *) casts added.
42196         * sysdeps/ieee754/k_standardf.c: New file.
42197         * sysdeps/ieee754/k_standardl.c: Likewise.
42198         * math/Makefile (libm-support): Remove k_standard.
42199         (libm-calls): Add k_standard.
42201 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42203         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42204         Optimize to avoid an unnecessary FPCR read.
42206 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42208         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42209         Optimize to reduce FPCR/FPSR accesses.
42211 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42213         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42214         Call libc_fetestexcept_aarch64.
42216 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42218         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42219         Call libc_fesetround_aarch64.
42221 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42223         [BZ #17733]
42224         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42225         (__bind): Do not define as weak alias.
42226         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42227         define.
42228         (__getsockname): Do not define as weak alias.
42230 2014-12-22  Will Newton  <will.newton@linaro.org>
42232         * manual/install.texi: Document that we require bison 2.7
42233         or above.
42234         * INSTALL: Regenerate.
42235         * configure.ac: Use AC_CHECK_PROG_VER instead of
42236         AC_PATH_PROG when checking for bison and check for
42237         version 2.7 or above.
42238         * configure: Regenerate.
42240 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
42242         [BZ #17745]
42243         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42244         * sysdeps/tile/ffsll.c (ffsll): To here.
42246         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42248 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42250         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42251         if not defined.
42252         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42253         definition.
42254         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42255         hidden ___tls_get_addr.
42256         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42257         hidden __tls_get_addr.
42258         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42259         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42260         Likewise.
42262 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42264         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42265         _dl_init call.
42267 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42269         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42270         from "call _dl_init@PLT".
42271         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42273 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42275         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42276         guarantees.
42278 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42280         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42282 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42284         [BZ #17744]
42285         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42286         strnlen.
42288 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42290         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42291         of multu on MIPSr6.
42292         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42293         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42294         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42295         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42296         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42298 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42300         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42301         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42302         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42303         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42304         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42305         mips32r6/mips64r6.
42306         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42308 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
42310         * string/strncat.c (STRNCAT): Simplify implementation.
42312 2014-12-19  David S. Miller  <davem@davemloft.net>
42314         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42315         access the quad as both a long double and as a series of 4 words.
42317         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42318         link_map->l_info array access.
42320 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42322         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42324         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42325         * math/atest-exp2.c (TIMEOUT): Likewise.
42326         * math/atest-sincos.c (TIMEOUT): Likewise.
42328 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42330         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42331         -Wno-error with -fno-builtin-lround.
42333 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42335         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42336         Contains futex constants and functions moved over from ...
42337         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42338         <lowlevellock-futex.h>.
42339         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42340         (lll_timedwait_tid): Add comments and parentheses around macro
42341         arguments.
42343 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42345         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42346         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42347         (__lll_private_flag): Remove.
42348         (lll_futex_wait): Likewise.
42349         (lll_futex_timed_wait): Likewise.
42350         (lll_futex_wake): Likewise.
42351         (lll_futex_requeue): Likewise.
42352         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42353         (__lll_timedwait_tid): Spell out argument names.
42354         (lll_timedwait_tid): Add comments and parentheses around macro
42355         arguments.
42356         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42357         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42359 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42361         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42362         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42363         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42364         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42365         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42366         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42367         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42368         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42369         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42370         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42371         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42374         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42375         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42376         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42377         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42378         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42379         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42381 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42383         * sysdeps/x86_64/x32/Makefile: New file.
42385 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42387         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42388         1L with (mp_limb_t) 1.
42390 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42392         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42393         * nptl/libc_pthread_init.c: ... here.
42394         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42395         * nptl/register-atfork.c: ... here.
42397         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42398         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42399         Use assert_perror to check its return value.
42400         (__gai_create_helper_thread): Likewise.
42402         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42404         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42406 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42408         [BZ #17725]
42409         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42410         __profil_counter.
42411         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42412         Likewise.
42413         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42414         Likewise.
42415         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42416         Likewise.
42417         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42418         (profil_counter): Likewise.
42419         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42420         (profil_counter): Likewise.
42421         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42422         Likewise.
42423         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42424         Likewise.
42425         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42426         (profil_counter): Likewise.
42427         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42428         Likewise.
42429         [!__profil_counter] (profil_counter): Define as weak alias of
42430         __profil_counter.
42431         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42432         (profil_counter): Rename to __profil_counter.
42433         [!__profil_counter] (profil_counter): Define as weak alias of
42434         __profil_counter.
42435         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42436         (profil_counter): Rename to __profil_counter.
42437         [!__profil_counter] (profil_counter): Define as weak alias of
42438         __profil_counter.
42439         * sysdeps/posix/profil.c: Update comment referring to
42440         profil_counter.
42441         (__profil): Use __profil_counter instead of profil_counter.
42442         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42443         __profil_counter.  Use __profil_counter_ushort and
42444         __profil_counter_uint in definitions.
42445         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42446         instead of profil_counter_uint and profil_counter_ushort.
42448         [BZ #17722]
42449         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42450         define as weak alias of __inet_makeaddr.
42451         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42452         as weak alias of __inet_addr.
42453         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42454         as weak alias of __inet_pton.  Use libc_hidden_weak.
42455         * include/arpa/inet.h (__inet_pton): Declare.  Use
42456         libc_hidden_proto.
42457         (inet_makeaddr): Don't use libc_hidden_proto.
42458         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42459         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42460         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42461         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42462         Remove variable.
42463         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42464         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42466 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42468         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42470 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42472         * stdio-common/bug-vfprintf-nargs.c (do_test):
42473         Cast value to intptr_t to avoid format warning
42474         for usage with PRIdPTR printing macro.
42476 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42478         * libio/tst-widetext.c (do_test):
42479         Use format type %td instead of %Zd for ptrdiff_t
42480         in order to avoid format warning.
42482 2014-12-17  Andreas Schwab  <schwab@suse.de>
42484         * nscd/mem.c (gc): Add size_t cast to match printf format.
42486 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42488         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42489         (init): Apply PTR_MANGLE to pointers before storing them.
42490         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42491         before using them.
42493 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42495         [BZ #17719]
42496         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42497         define as weak alias of __memrchr.
42498         (__memrchr): Do not define as strong alias of memrchr.
42499         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42500         Remove variable.
42501         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42502         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42503         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42505         [BZ #17717]
42506         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42507         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42508         (if_indextoname): Rename to __if_indextoname and define as weak
42509         alias of __if_indextoname.  Use libc_hidden_weak.
42510         (if_freenameindex): Rename to __if_freenameindex and define as
42511         weak alias of __if_freenameindex.
42512         (if_nameindex): Rename to __if_nameindex and define as weak alias
42513         of __if_nameindex.
42514         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42515         __if_nametoindex and define as weak alias of __if_nametoindex.
42516         Use libc_hidden_weak.
42517         (if_freenameindex): Rename to __if_freenameindex and define as
42518         weak alias of __if_freenameindex.
42519         (if_nameindex): Rename to __if_nameindex and define as weak alias
42520         of __if_nameindex.
42521         (if_indextoname): Rename to __if_indextoname and define as weak
42522         alias of __if_indextoname.  Use libc_hidden_weak.
42523         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42524         __if_nametoindex and define as weak alias of __if_nametoindex.
42525         Use libc_hidden_weak.
42526         (if_freenameindex): Rename to __if_freenameindex and define as
42527         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42528         (if_nameindex_netlink): Use __if_freenameindex instead of
42529         if_freenameindex.
42530         (if_nameindex): Rename to __if_nameindex and define as weak alias
42531         of __if_nameindex.  Use libc_hidden_weak.
42532         (if_indextoname): Rename to __if_indextoname and define as weak
42533         alias of __if_indextoname.  Use libc_hidden_weak.
42534         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42535         libc_hidden_proto.
42536         [!_ISOMAC] (__if_freenameindex): Likewise.
42537         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42538         if_nametoindex.
42539         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42540         variable.
42541         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42542         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42543         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42544         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42545         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42546         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42547         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42549         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42550         Remove variable.
42551         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42552         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42554 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42556         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42557         subscript above bounds'
42559         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42560         bounds.
42562 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42564         * libio/tst-fopenloc.c: Use test-skeleton.c.
42566         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42567         (entry): Rename to ITEM.
42568         (do_test, comp): Adjust.
42570         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42572 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42574         * string/tester.c: Include <libc-internal.h>.
42575         (test_memset): Ignore -Wmemset-transposed-args.
42577 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42579         * misc/tst-mntent2.c (do_test): Fix warning.
42581 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42583         * elf/tst-unique4lib.cc(a): Mark as used.
42585 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42587         [BZ #17630]
42588         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42589         names.
42591 2014-12-16  Allan McRae  <allan@archlinux.org>
42593         * stdio-common/Makefile (tests): Re-add bug26.
42595 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
42597         [BZ #17657]
42598         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42599         static array.
42601 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42603         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42604         (__lll_lock_wait): Likewise.
42605         (__lll_timedlock_wait): Likewise.
42606         (__lll_timedwait_tid): Likewise.
42607         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42608         (__lll_robust_timedlock_wait): Likewise.
42609         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42610         (lll_cond_trylock): Likewise.
42611         (__lll_lock): Likewise.
42612         (__lll_robust_lock): Likewise.
42613         (__lll_cond_lock): Likewise.
42614         (lll_robust_cond_lock): Likewise.
42615         (__lll_timedlock): Likewise.
42616         (__lll_robust_timedlock): Likewise.
42617         (__lll_unlock): Likewise.
42618         (__lll_robust_unlock): Likewise.
42619         (lll_wait_tid): Likewise.
42620         (lll_timedwait_tid): Likewise.
42622 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42624         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42626 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42628         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42630 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42632         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42633         * stdio-common/tst-sprintf.c: Likewise.
42635 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42637         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42639 2014-12-15  Jeff Law  <law@redhat.com>
42641         [BZ #16617]
42642         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42643         on the heap.  (CVE-2012-3406)
42644         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42645         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42646         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42648 2014-12-15  Will Newton  <will.newton@linaro.org>
42650         * manual/install.texi: Bump required version of texinfo
42651         to 4.7 from 4.5.
42652         * INSTALL: Regenerated.
42653         * configure.ac: Check for makeinfo version 4.7 and above.
42654         * configure: Regenerated.
42656 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42658         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42659         PREFIX, string constant to insert between directory and name.
42660         * sysdeps/posix/shm_open.c: Update caller.
42661         * sysdeps/posix/shm_unlink.c: Likewise.
42662         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42663         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42664         (SEM_SHM_PREFIX): New macro.
42665         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42666         [$(have-thread-library) = no].
42667         * nptl/Makefile (libpthread-routines): Add shm-directory.
42668         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42669         * sysdeps/nptl/shm-directory.h: New file.
42670         * sysdeps/posix/shm-directory.c
42671         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42672         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42673         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42674         INTERNAL_SYSCALL.
42675         (__where_is_shmfs): Function removed.
42676         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42677         Variables removed.
42678         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42679         Use SHM_GET_NAME.
42680         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42682         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42683         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42684         unconditional for use inside libpthread.
42685         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42687 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42689         * nptl/pthread_getaffinity.c: New file.
42690         * nptl/pthread_setaffinity.c: New file.
42691         * nptl/pthread_getname.c: New file.
42692         * nptl/pthread_setname.c: New file.
42694         * nptl/pthread_create.c (START_THREAD_DEFN)
42695         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42697 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42698             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42700         * resolv/res_send.c (send_vc): Disable warning resplen may
42701         be used uninitialized.
42703 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42705         * nptl/tst-mutex6.c
42706         (ATTR_NULL): New define checks ATTR against NULL.
42707         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42708         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42710 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42712         [BZ #17581]
42713         * malloc/hooks.c
42714         (mem2mem_check): Revert my previous change.
42715         (malloc_check_get_size): Revert my previous change.
42716         (mem2chunk_check): Revert my previous change.
42718 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42720         * sysdeps/posix/shm-directory.c: New file.
42721         * sysdeps/posix/shm-directory.h: New file.
42722         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42723         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42724         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42725         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42726         Transmute EPERM to EACCES.
42727         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42728         from ...
42729         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42730         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42732 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42734         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42735         pointer and cast to uintptr_t.
42736         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42737         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42738         Add cast to avoid warning.
42739         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42741 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42743         * nptl/semaphore.h: Move to ...
42744         * sysdeps/pthread/semaphore.h: ... here.
42745         * Makefile (installed-headers): Change nptl/semaphore.h to
42746         sysdeps/pthread/semaphore.h.
42748 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42750         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42751         generated error format strings.
42753         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42754         -Wformat-extra-args warnings for scanf formats.
42755         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42756         test of zero-length format (duh).
42757         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42758         corner-case scanf format test.
42759         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42760         generated fprintf format string.
42761         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42762         corner-case sprintf format tests.
42763         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42764         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42765         -Wformat-extra-args warnings throughout.
42766         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42767         (CFLAGS-scanf4.c): Likewise.
42768         (CFLAGS-scanf7.c): Likewise.
42769         (CFLAGS-tst-sprintf.c): Likewise.
42770         (CFLAGS-tst-printf.c): Likewise.
42771         (CFLAGS-tst-printfsz.c): Likewise.
42773 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42775         * include/cpio.h: New file.
42776         * include/fmtmsg.h: Likewise.
42778         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42779         corresponding format argument to size_t.
42780         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42781         arguments.
42782         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42783         corresponding format argument to size_t.
42784         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42785         arguments.
42786         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42787         corresponding format argument to size_t.
42788         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42789         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42790         (CFLAGS-tst-mbswcs2.c): Likewise.
42791         (CFLAGS-tst-mbswcs3.c): Likewise.
42792         (CFLAGS-tst-mbswcs4.c): Likewise.
42793         (CFLAGS-tst-mbswcs5.c): Likewise.
42794         (CFLAGS-tst-trans.c): Likewise.
42796 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42798         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42799         rather than assuming they won't contain any '%'s.
42801 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42803         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42804         inhibit_loop_to_libcall to avoid recursive calls.
42805         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42806         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42808 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42810         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42811         prototype.
42813 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42815         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42816         integer value instead of boolean.
42818 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42820         * malloc/malloc.c: Fix powerof2 check.
42822 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42824         * locale/programs/locfile.h (maybe_swap_uint32):
42825         Remove inline and add unused attribute.
42827 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42829         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42830         Truncating assembler expression to a .long expression.
42832 2014-12-11  Andreas Schwab  <schwab@suse.de>
42834         * elf/rtld.c (struct map_args): Constify str member.
42835         (do_preload): Constify fname argument.
42837 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42839         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42840         constants definition.
42842 2014-12-11  Andreas Schwab  <schwab@suse.de>
42844         [BZ #16657]
42845         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42846         FORCE_ELISION instead of DO_ELISION.
42847         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42848         Remove.
42849         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42850         Likewise.
42852         * iconvdata/gconv-modules: Remove duplicate entry.
42854 2014-12-11  Will Newton  <will.newton@linaro.org>
42856         Merge gettext 0.19.3 into intl/.
42858         This involves a number of cosmetic changes to comments
42859         and ANSI function definitions and prototypes throughout
42860         all the files. The gettext copyright header is used but
42861         with the date ranges taken from the glibc copy.
42863         * NEWS: Add gettext merge to 2.21.
42864         * intl/bindtextdom.c: Switch to gettext copyright.
42865         Use ANSI definitions and prototypes.
42866         Use gl_* locking primitives rather than __libc_* ones.
42867         Use __builtin_expect rather than __glibc_likely/unlikely.
42868         * intl/dcgettext.c: Switch to gettext copyright.
42869         Use ANSI definitions and prototypes.
42870         * intl/dcigettext.c: Switch to gettext copyright.
42871         Use ANSI definitions and prototypes.
42872         (INTDIV0_RAISES_SIGFPE): New define.
42873         Use gl_* locking primitives rather than __libc_* ones.
42874         Include eval-plural.h instead of plural-eval.c.
42875         Use __builtin_expect rather than __glibc_likely/unlikely.
42876         * intl/dcngettext.c: Switch to gettext copyright.
42877         Use ANSI definitions and prototypes.
42878         * intl/dgettext.c: Likewise.
42879         * intl/dngettext.c: Likewise.
42880         * intl/plural-eval.c: Renamed to...
42881         * intl/eval-plural.h: ...this.
42882         * intl/explodename.c: Switch to gettext copyright.
42883         Use ANSI definitions and prototypes.
42884         (_nl_explode_name): Use strchr instead of __rawmemchr.
42885         * intl/finddomain.c: Switch to gettext copyright.
42886         Use ANSI definitions and prototypes.
42887         Use gl_* locking primitives rather than __libc_* ones.
42888         (_nl_find_domain): Use malloc rather than alloca for
42889         allocation of temporary locale name.
42890         * intl/gettext.c: Switch to gettext copyright.
42891         Use ANSI definitions and prototypes.
42892         * intl/gettextP.h: Switch to gettext copyright.
42893         Use ANSI definitions and prototypes.
42894         Use gl_* locking primitives rather than __libc_* ones.
42895         * intl/gmo.h: Switch to gettext copyright.
42896         (struct sysdep_string): Move struct segment_pair outside of
42897         struct definition.
42898         * intl/hash-string.c: Use ANSI definitions and prototypes.
42899         * intl/hash-string.h: Switch to gettext copyright.
42900         Use ANSI definitions and prototypes.
42901         * intl/l10nflist.c: Switch to gettext copyright.
42902         Use ANSI definitions and prototypes.
42903         (_nl_normalize_codeset): Avoid integer overflow.
42904         * intl/loadinfo.h: Switch to gettext copyright.
42905         Use ANSI definitions and prototypes.
42906         (LIBINTL_DLL_EXPORTED): New define.
42907         (PATH_SEPARATOR): New define.
42908         * intl/loadmsgcat.c: Switch to gettext copyright.
42909         * intl/localealias.c: Switch to gettext copyright.
42910         Use ANSI definitions and prototypes.
42911         (_nl_expand_alias): Use PATH_SEPARATOR.
42912         * intl/ngettext.c: Switch to gettext copyright.
42913         Use ANSI definitions and prototypes.
42914         * intl/plural-exp.c: Likewise.
42915         * intl/plural-exp.h: Switch to gettext copyright.
42916         Use ANSI definitions and prototypes.
42917         (struct expression): Move definition of enum operator outside
42918         of struct definition.
42919         * intl/plural.c: Regenerate.
42920         * intl/plural.y: Switch to gettext copyright.
42921         Use ANSI definitions and prototypes.
42922         Port to bison 3.0.
42923         * intl/textdomain.c: Switch to gettext copyright.
42924         Use ANSI definitions and prototypes.
42925         Use gl_* locking primitives rather than __libc_* ones.
42927 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42929         * debug/warning-nop.c: Add used atrribute.
42931 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42933         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42935         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42936         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42937         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42939 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42940             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42942         [BZ #17634]
42943         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42944         Undefine after defining function.  Define as weak alias of
42945         __wcschr.  Use libc_hidden_weak.
42946         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42947         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42948         (libc_hidden_def): Also define __GI___wcschr alias.
42949         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42950         __wcschr and define as weak alias of __wcschr.
42951         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42952         __wcschr.
42953         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42954         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42955         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42956         libc_hidden_weak.  Do not use libc_hidden_def.
42957         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42958         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42959         __GI___wcschr alias.
42960         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42961         [IS_IN (libc)] (wcschr): Define as macro expanding to
42962         __redirect_wcschr.
42963         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42964         [IS_IN (libc)] (__wcschr_power6): Likewise.
42965         [IS_IN (libc)] (__wcschr_power7): Likewise.
42966         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42967         instead of wcschr.
42968         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42969         __libc_wcschr.
42970         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42971         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42972         __wcschr and define as weak alias of __wcschr.  Use
42973         libc_hidden_builtin_def.
42974         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42975         as weak alias of __wcschr.  Use libc_hidden_weak.
42976         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42977         wcschr.
42978         * time/era.c (_nl_init_era_entries): Likewise.
42979         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42980         variable.
42981         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42982         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42984 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42986         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42987         format for long int variable.
42989 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42991         [BZ #10672]
42992         * manual/search.texi: (Array Sort Function): Remove claim how to make
42993         qsort stable.
42995 2014-12-10  Andreas Schwab  <schwab@suse.de>
42997         [BZ #12847]
42998         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42999         user-controlled locks.
43001 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
43003         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
43004         register.
43006 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
43008         * configure.ac (--disable-werror): New configure option.
43009         (enable_werror): New AC_SUBST.
43010         * configure: Regenerated.
43011         * config.make.in (enable-werror): New variable.
43012         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
43013         -Wno-error=undef.
43014         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
43015         * manual/install.texi (Configuring and compiling): Document
43016         --disable-werror.
43017         * INSTALL: Regenerated.
43018         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
43019         (CFLAGS-tst-chk2.c): Likewise.
43020         (CFLAGS-tst-chk3.c): Likewise.
43021         (CFLAGS-tst-chk4.cc): Likewise.
43022         (CFLAGS-tst-chk5.cc): Likewise.
43023         (CFLAGS-tst-chk6.cc): Likewise.
43024         (CFLAGS-tst-lfschk1.c): Likewise.
43025         (CFLAGS-tst-lfschk2.c): Likewise.
43026         (CFLAGS-tst-lfschk3.c): Likewise.
43027         (CFLAGS-tst-lfschk4.cc): Likewise.
43028         (CFLAGS-tst-lfschk5.cc): Likewise.
43029         (CFLAGS-tst-lfschk6.cc): Likewise.
43031         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
43032         (main): Disable -Wdeprecated-declarations around calls to
43033         register_printf_function.
43035         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
43036         (do_test): Disable -Wdiv-by-zero around some calls to
43037         fwrite_unlocked and fread_unlocked.
43039         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
43040         (DIAG_POP_NEEDS_COMMENT): Likewise.
43041         (_DIAG_STR1): Likewise.
43042         (_DIAG_STR): Likewise.
43043         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
43044         * stdio-common/bug21.c: Include <libc-internal.h>.
43045         (do_test): Disable -Wformat around call to sscanf.
43046         * stdio-common/scanf14.c: Include <libc-internal.h>.
43047         (main): Disable -Wformat around some calls to scanf functions.
43049 2014-12-09  Torvald Riegel  <triegel@redhat.com>
43051         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
43053 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43055         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
43056         stack variable alignment.
43058 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
43060         [BZ #17682]
43061         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
43062         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
43063         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
43064         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
43065         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
43066         __getrlimit instead of getrlimit.
43067         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
43068         __gettimeofday instead of gettimeofday.
43069         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43070         Likewise.
43071         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
43072         Likewise.
43073         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43074         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
43075         Remove variable.
43076         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43077         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43079 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43081         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
43082         for wide-character tests.
43084 2014-12-04  Roland McGrath  <roland@hack.frob.com>
43086         * io/openat64.c: #include <libc-internal.h>
43087         (__openat64): Prototypify.  Use ignore_value on MODE.
43088         * io/openat.c: Likewise.
43089         * misc/reboot.c: #include <libc-internal.h>
43090         (reboot): Prototypify.  Use ignore_value on HOWTO.
43091         * misc/ptrace.c: #include <libc-internal.h>
43092         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
43094 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
43096         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
43097         XPG4, UNIX98 and XOPEN2K.
43098         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
43099         Remove variable.
43100         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43102 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43104         * libio/fileops.c: Use ISO C style for function definitions.
43105         * libio/iofopen.c: Likewise.
43106         * libio/wfileops.c: Likewise.
43108         [BZ #17653]
43109         * libio/fileops.c (_IO_new_file_underflow): Unset cached
43110         offset on EOF.
43111         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
43112         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
43113         (fgets_func): Function pointer to fgets and fgetws.
43114         (do_ftell_test): Add test to verify ftell value after read
43115         EOF.
43116         (do_test): Set fgets_func.
43118         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
43119         O_TRUNC flag for w and w+ modes.
43120         (do_rewind_test): Likewise.
43121         (do_ftell_test): Likewise.
43122         (do_write_test): Likewise.
43124         [BZ #17647]
43125         * libio/fileops.c (do_ftell): Seek only when there are
43126         unflushed writes.
43127         * libio/wfileops.c (do_ftell_wide): Likewise.
43128         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
43129         test case.
43130         (do_one_test): Call it.
43132 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
43134         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
43135         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
43136         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
43137         Remove variable.
43138         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43139         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43140         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43142 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
43144         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
43145         Remove variable.
43146         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43148         [BZ #17668]
43149         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
43150         as weak alias of __getifaddrs.  Use libc_hidden_weak.
43151         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43152         __freeifaddrs.  Use libc_hidden_weak.
43153         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
43154         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
43155         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43156         __freeifaddrs.  Use libc_hidden_weak.
43157         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
43158         __getifaddrs and define as weak alias of __getifaddrs.  Use
43159         libc_hidden_weak.
43160         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43161         __freeifaddrs.  Use libc_hidden_weak.
43162         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43163         Remove variable.
43164         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43165         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43167 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
43169         [BZ #17601]
43170         * sysdeps/mips/start.S (__start): Use indirect jump to call
43171         __libc_start_main.
43173 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
43175         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43177         * nptl/tst-mutex1.c: Include <stdbool.h>.
43178         [!ATTR] (ATTR_NULL): New macro.
43179         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43180         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43181         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43183         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43184         to char *.
43186         [BZ #17665]
43187         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43188         Change conditional to [__USE_MISC].
43190         [BZ #17664]
43191         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43192         fgets_unlocked.
43193         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43194         __fgets_unlocked.
43195         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43196         fgets_unlocked.
43197         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43198         Remove variable.
43199         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43200         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43201         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43202         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43203         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43204         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43205         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43206         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43207         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43209         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43211 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43213         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43214         Remove strpbrk objects.
43215         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43216         (__libc_ifunc_impl_list): Remove strpbrk implementation.
43217         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43218         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43219         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43220         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43222         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43223         Remove strcspn objects.
43224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43225         (__libc_ifunc_impl_list): Remove strcspn implementation.
43226         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43227         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43228         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43229         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43231         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43232         Remove strspn objetcs.
43233         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43234         (__libc_ifunc_impl_list): Remove strspn implementation.
43235         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43236         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43237         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43238         * sysdeps/powerpc/powerpc64/strspn.S: New file.
43240 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
43242         [BZ #17581]
43243         * malloc/hooks.c
43244         (mem2mem_check): Add a terminator to the chain of checking blocks.
43245         (malloc_check_get_size): Use it here.
43246         (mem2chunk_check): Ditto.
43248 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43250         * sysdeps/powerpc/powerpc64/strtok.S: New file.
43251         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43253 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
43255         * bits/ioctl-types.h: Indent preprocessor directives correctly.
43257         * nptl/nptl-init.c: Include libc-internal.h.
43258         (__pthread_initialize_minimal_internal): Use ROUND_UP.
43260         * elf/ldconfig.c (search_dir): Expand comment.
43262 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43264         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43265         variable.
43266         (linknamespace-symlist-stdlibs-tests): Likewise.
43267         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43268         instead of $(objpfx)symlist-stdlibs.
43269         (linknamespace-libs-isoc): New variable.
43270         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43271         (linknamespace-libs-ISO): New variable.
43272         (linknamespace-libs-ISO99): Likewise.
43273         (linknamespace-libs-ISO11): Likewise.
43274         (linknamespace-libs-XPG3): Likewise.
43275         (linknamespace-libs-XPG4): Likewise.
43276         (linknamespace-libs-POSIX): Likewise.
43277         (linknamespace-libs-UNIX98): Likewise.
43278         (linknamespace-libs-XOPEN2K): Likewise.
43279         (linknamespace-libs-POSIX2008): Likewise.
43280         (linknamespace-libs-XOPEN2K8): Likewise.
43281         ($(objpfx)symlist-stdlibs): Replace by
43282         $(linknamespace-symlist-stdlibs-tests).  Use
43283         $(linknamespace-libs-$*) as set of libraries.
43284         ($(linknamespace-header-tests)): Update dependencies.  Use
43285         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43286         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43287         * conform/linknamespace.pl: Remove comment about considering
43288         definitions of symbols from irrelevant libraries.
43290 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43292         [BZ #13862]
43293         * elf/dl-tls.c: Include <atomic.h>.
43294         (oom): Remove #ifdef SHARED/#endif.
43295         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43296         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43297         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43298         big enough.
43299         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43300         * nptl/Makefile (tests): Add tst-stack4.
43301         (modules-names): Add tst-stack4mod.
43302         ($(objpfx)tst-stack4): New.
43303         (tst-stack4mod.sos): Likewise.
43304         ($(objpfx)tst-stack4.out): Likewise.
43305         ($(tst-stack4mod.sos)): Likewise.
43306         (clean): Likewise.
43307         * nptl/tst-stack4.c: New file.
43308         * nptl/tst-stack4mod.c: Likewise.
43310 2014-11-27  J. Brown  <jb999@gmx.de>
43312         * sysdeps/x86/bits/string.h: Add recent CPUs.
43314 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43316         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43317         sigblock.
43319         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43320         feof.
43322         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43323         variable.
43325 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43327         * nscd/connections.c: Include libc-internal.h because of macro
43328         usage ignore_value.
43330 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43332         * string/bits/string3.h (__warn_memset_zero_len): Don't
43333         declare for gcc newer than 5.0.
43334         (memset): Don't test for zero-length __LEN for gcc newer than
43335         5.0.
43337 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43339         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43340         size_t for %zu format.
43342         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43343         difference, not %ju.
43345 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43347         * include/libc-internal.h (ignore_value): New macro.
43348         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43349         with ignore_value.
43351         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43352         definition.
43354         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43355         pthread_cleanup_push to void *.
43357         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43358         Undefine.
43360         [BZ #16619]
43361         [BZ #16740]
43362         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43363         instead of 1L << 52.
43365         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43366         * libio/bug-rewind2.c (do_test): Likewise.
43368         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43369         * debug/test-strcpy_chk-ifunc.c: Likewise.
43370         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43371         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43372         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43373         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43374         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43375         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43376         * Rules [$(multi-arch) = no] (tests): Do not filter out
43377         $(tests-ifunc).
43378         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43379         * debug/Makefile (tests-ifunc): Remove variable.
43380         (tests): Do not add $(tests-ifunc).
43381         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43382         (tests): Do not add $(tests-ifunc).
43383         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43384         [TEST_IFUNC]: Remove conditionals.
43385         * string/test-string.h (TEST_IFUNC): Remove macro.
43386         [TEST_IFUNC]: Remove conditionals.
43388         * string/test-strchr.c [!WIDE] (L): New macro.
43389         [WIDE] (L): Likewise.
43390         (check1): Use CHAR instead of char.  Use L on string and character
43391         constants.
43393 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43395         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43396         tests.
43397         * sysdeps/powerpc/bits/atomic.h
43398         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43399         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43400         (atomic_exchange_and_add_acq): Likewise.
43401         (atomic_exchange_and_add_rel): Likewise.
43402         * sysdeps/powerpc/powerpc32/bits/atomic.h
43403         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43404         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43405         * sysdeps/powerpc/powerpc64/bits/atomic.h
43406         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43407         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43409 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43411         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43412         Change synchronization of __sched_fifo_min_prio and
43413         __sched_fifo_max_prio.
43414         * nptl/pthread_mutexattr_getprioceiling.c
43415         (pthread_mutexattr_getprioceiling): Likewise.
43416         * nptl/pthread_mutexattr_setprioceiling.c
43417         (pthread_mutexattr_setprioceiling): Likewise.
43418         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43419         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43420         Likewise.
43422 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43424         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43425         void.
43427 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43429         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43430         third argument const.
43432 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43434         fnmatch: work around GCC compiler warning bug with uninit var
43435         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43436         This works around a bug with x86-64 GCC 4.9.2 and earlier
43437         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43438         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43439         used uninitialized in this function [-Wmaybe-uninitialized]".
43441 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43443         * posix/bug-regex31.c (main): Return RES not 0.
43445 2014-11-25  Anton Blanchard <anton@samba.org>
43447         * sysdeps/powerpc/bits/atomic.h
43448         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43450 2014-11-24  Sterling Augustine  <saugustine@google.com>
43452         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43454 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43456         [BZ #17608]
43457         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43459 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43461         [BZ #17633]
43462         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43463         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43464         variable.
43465         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43466         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43468 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43470         * string/strncpy.c (strncpy): Improve performance by using memset.
43472 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43474         * string/strcpy.c (strcpy):
43475         Improve performance by using strlen and memcpy.
43477 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43479         * string/strcoll_l.c (get_next_seq): __always_inline.
43480         * string/strcoll_l.c (do_compare): __always_inline.
43482 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43484         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43485         defined.
43486         * include/mqueue.h: Likewise.
43487         * include/stdlib.h: Likewise.
43489         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43490         (get_null_defines): Adjust.
43491         * sunrpc/Makefile: Adjust comment.
43492         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43493         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43494         (CFLAGS-interp.c): Likewise.
43495         (CFLAGS-ldconfig.c): Likewise.
43496         (CPPFLAGS-.os): Likewise.
43497         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43498         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43499         * extra-modules.mk (extra-modules.mk): Likewise.
43500         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43501         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43502         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43503         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43504         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43505         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43506         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43507         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43508         * iconvdata/Makefile (CPPFLAGS): Likewise.
43509         (cpp-srcs-left): Add libof for all iconvdata routines.
43510         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43511         * include/assert.h: Likewise.
43512         * include/ctype.h: Likewise.
43513         * include/errno.h: Likewise.
43514         * include/libc-symbols.h: Likewise.
43515         * include/math.h: Likewise.
43516         * include/netdb.h: Likewise.
43517         * include/resolv.h: Likewise.
43518         * include/stdio.h: Likewise.
43519         * include/stdlib.h: Likewise.
43520         * include/string.h: Likewise.
43521         * include/sys/stat.h: Likewise.
43522         * include/wctype.h: Likewise.
43523         * intl/l10nflist.c: Likewise.
43524         * libidn/idn-stub.c: Likewise.
43525         * libio/libioP.h: Likewise.
43526         * nptl/libc_multiple_threads.c: Likewise.
43527         * nptl/pthreadP.h: Likewise.
43528         * posix/regex_internal.h: Likewise.
43529         * resolv/res_hconf.c: Likewise.
43530         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43531         * sysdeps/arm/memmove.S: Likewise.
43532         * sysdeps/arm/sysdep.h: Likewise.
43533         * sysdeps/generic/_itoa.h: Likewise.
43534         * sysdeps/generic/symbol-hacks.h: Likewise.
43535         * sysdeps/gnu/errlist.awk: Likewise.
43536         * sysdeps/gnu/errlist.c: Likewise.
43537         * sysdeps/i386/i586/memcpy.S: Likewise.
43538         * sysdeps/i386/i586/memset.S: Likewise.
43539         * sysdeps/i386/i686/memcpy.S: Likewise.
43540         * sysdeps/i386/i686/memmove.S: Likewise.
43541         * sysdeps/i386/i686/mempcpy.S: Likewise.
43542         * sysdeps/i386/i686/memset.S: Likewise.
43543         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43544         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43545         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43546         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43547         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43548         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43549         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43550         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43551         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43553         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43554         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43555         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43556         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43557         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43559         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43560         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43561         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43562         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43563         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43564         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43565         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43566         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43567         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43568         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43569         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43570         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43571         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43572         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43573         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43574         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43576         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43577         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43578         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43579         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43580         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43581         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43582         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43583         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43584         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43585         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43586         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43587         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43588         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43589         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43590         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43591         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43592         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43593         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43594         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43595         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43596         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43597         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43598         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43599         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43600         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43601         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43602         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43603         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43604         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43605         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43606         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43607         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43608         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43609         * sysdeps/posix/closedir.c: Likewise.
43610         * sysdeps/posix/opendir.c: Likewise.
43611         * sysdeps/posix/readdir.c: Likewise.
43612         * sysdeps/posix/rewinddir.c: Likewise.
43613         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43614         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43615         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43616         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43617         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43618         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43619         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43620         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43624         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43625         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43626         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43627         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43628         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43629         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43630         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43631         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43633         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43634         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43635         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43637         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43641         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43642         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43648         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43649         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43650         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43651         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43652         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43653         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43654         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43655         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43656         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43657         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43658         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43659         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43660         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43661         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43662         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43663         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43664         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43665         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43666         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43667         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43668         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43669         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43670         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43671         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43672         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43673         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43674         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43675         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43676         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43677         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43678         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43679         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43680         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43681         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43682         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43683         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43684         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43685         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43686         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43687         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43688         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43689         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43690         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43691         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43692         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43693         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43694         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43695         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43696         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43697         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43698         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43699         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43700         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43701         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43702         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43703         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43704         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43705         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43706         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43709         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43710         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43711         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43712         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43713         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43714         * sysdeps/unix/alpha/sysdep.S: Likewise.
43715         * sysdeps/unix/alpha/sysdep.h: Likewise.
43716         * sysdeps/unix/make-syscalls.sh: Likewise.
43717         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43718         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43719         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43720         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43721         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43722         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43723         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43724         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43725         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43726         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43727         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43728         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43729         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43730         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43731         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43732         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43733         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43734         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43735         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43736         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43737         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43738         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43739         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43740         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43741         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43742         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43743         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43746         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43747         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43748         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43751         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43752         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43755         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43756         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43757         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43758         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43759         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43760         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43761         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43762         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43767         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43768         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43769         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43770         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43771         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43773         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43774         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43775         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43776         * sysdeps/x86_64/memcpy.S: Likewise.
43777         * sysdeps/x86_64/memmove.c: Likewise.
43778         * sysdeps/x86_64/memset.S: Likewise.
43779         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43780         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43781         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43782         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43783         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43784         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43785         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43786         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43787         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43788         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43789         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43790         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43791         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43792         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43793         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43794         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43795         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43796         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43797         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43798         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43799         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43800         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43801         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43802         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43803         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43804         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43805         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43806         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43807         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43808         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43809         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43810         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43811         * sysdeps/x86_64/strcmp.S: Likewise.
43813         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43815         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43816         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43817         * elf/rtld-Rules: Likewise.
43818         * elf/setup-vdso.h: Likewise.
43819         * include/assert.h: Likewise.
43820         * include/bits/stdlib-float.h: Likewise.
43821         * include/errno.h: Likewise.
43822         * include/sys/stat.h: Likewise.
43823         * include/unistd.h: Likewise.
43824         * sysdeps/aarch64/setjmp.S: Likewise.
43825         * sysdeps/alpha/setjmp.S: Likewise.
43826         * sysdeps/arm/__longjmp.S: Likewise.
43827         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43828         * sysdeps/arm/setjmp.S: Likewise.
43829         * sysdeps/arm/sysdep.h: Likewise.
43830         * sysdeps/generic/_itoa.h: Likewise.
43831         * sysdeps/generic/dl-sysdep.h: Likewise.
43832         * sysdeps/generic/ldsodefs.h: Likewise.
43833         * sysdeps/i386/dl-tls.h: Likewise.
43834         * sysdeps/i386/setjmp.S: Likewise.
43835         * sysdeps/m68k/setjmp.c: Likewise.
43836         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43837         * sysdeps/mach/hurd/opendir.c: Likewise.
43838         * sysdeps/posix/getcwd.c: Likewise.
43839         * sysdeps/posix/opendir.c: Likewise.
43840         * sysdeps/posix/profil.c: Likewise.
43841         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43842         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43843         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43844         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43845         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43846         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43847         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43848         * sysdeps/s390/dl-tls.h: Likewise.
43849         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43850         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43851         * sysdeps/sh/sh3/setjmp.S: Likewise.
43852         * sysdeps/sh/sh4/setjmp.S: Likewise.
43853         * sysdeps/unix/alpha/sysdep.h: Likewise.
43854         * sysdeps/unix/arm/sysdep.S: Likewise.
43855         * sysdeps/unix/i386/sysdep.S: Likewise.
43856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43857         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43858         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43859         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43860         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43861         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43862         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43863         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43864         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43865         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43866         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43867         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43868         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43871         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43872         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43873         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43874         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43875         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43876         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43877         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43878         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43879         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43880         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43882         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43883         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43884         * sysdeps/x86_64/setjmp.S: Likewise.
43886         * include/math.h: Use IS_IN instead of IS_IN_libm.
43887         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43888         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43889         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43890         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43891         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43896         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43899         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43903         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43907         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43908         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43909         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43910         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43911         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43912         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43913         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43914         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43915         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43916         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43917         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43918         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43919         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43921         Likewise.
43922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43923         Likewise.
43924         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43925         Likewise.
43926         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43927         Likewise.
43928         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43929         Likewise.
43930         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43931         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43932         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43933         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43934         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43935         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43941         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43942         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43943         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43944         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43945         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43946         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43947         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43948         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43949         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43950         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43951         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43952         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43954         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43955         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43956         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43958         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43959         * nptl/pthreadP.h: Likewise.
43960         * nptl_db/structs.def: Likewise.
43961         * sysdeps/arm/sysdep.h: Likewise.
43962         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43963         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43964         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43965         * sysdeps/unix/alpha/sysdep.h: Likewise.
43966         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43967         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43968         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43969         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43970         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43971         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43972         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43973         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43974         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43975         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43976         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43977         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43978         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43979         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43982         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43983         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43984         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43986         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43987         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43988         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43989         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43990         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43991         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43993         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43994         * nptl/pthreadP.h: Likewise.
43995         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43996         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43997         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43998         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43999         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
44000         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
44001         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44002         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
44003         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
44004         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
44005         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
44006         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
44007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44008         Likewise.
44009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44010         Likewise.
44011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
44012         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
44013         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
44014         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
44015         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
44016         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
44017         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
44018         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
44020         * dlfcn/dladdr.c: Use IS_IN.
44021         * dlfcn/dladdr1.c: Likewise.
44022         * dlfcn/dlclose.c: Likewise.
44023         * dlfcn/dlerror.c: Likewise.
44024         * dlfcn/dlinfo.c: Likewise.
44025         * dlfcn/dlmopen.c: Likewise.
44026         * dlfcn/dlopen.c: Likewise.
44027         * dlfcn/dlsym.c: Likewise.
44028         * dlfcn/dlvsym.c: Likewise.
44030         * include/ifaddrs.h: Use IS_IN.
44031         * inet/check_pf.c: Likewise.
44032         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44033         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
44035         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
44036         IS_IN_ldconfig.
44037         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
44038         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
44040         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
44041         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
44042         IS_IN (libc).
44044         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
44046         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
44047         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44048         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
44049         * include/libc-symbols.h (IS_IN_LIB): New macro.
44050         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
44051         * include/netdb.h: Likewise.
44052         * include/stap-probe.h: Remove all uses of IN_LIB.
44054         * Makeconfig (module-cppflags-real): Define MODULE_NAME
44055         instead of IN_MODULE.
44056         * include/libc-symbols.h (IN_MODULE): Define using
44057         MODULE_NAME.
44058         (PASTE_NAME, PASTE_NAME1): New macros.
44059         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
44060         of IN_LIB.
44061         (STAP_PROBE_ASM): Likewise.
44063 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44065         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
44066         __mach_init in dlopened libc.
44068 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
44070         * sysdeps/arm/preconfigure.ac: Delete EABI check.
44071         * sysdeps/arm/preconfigure: Regenerate.
44073 2014-11-21  Roland McGrath  <roland@hack.frob.com>
44075         * nptl/pthread_create.c (__pthread_create_2_1): Set
44076         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
44077         when copying values from IATTR into PD.
44079 2014-11-21  Will Newton  <will.newton@linaro.org>
44080             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
44082         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
44083         Refactor inline-asm.  Also add comment.
44085         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
44086         ElfW macro instead of hardcoded Elf64 types.
44087         (la_aarch64_gnu_pltenter): Likewise.
44088         * sysdeps/aarch64/dl-machine.h
44089         (elf_machine_runtime_setup): Use ElfW(Addr).
44091         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
44092         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
44093         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
44094         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
44095         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
44096         (R_AARCH64_TLS_DTPMOD64): Rename to ..
44097         (R_AARCH64_TLS_DTPMOD): This.
44098         (R_AARCH64_TLS_DTPREL64): Rename to ...
44099         (R_AARCH64_TLS_DTPREL): This.
44100         (R_AARCH64_TLS_TPREL64): Rename to ...
44101         (R_AARCH64_TLS_TPREL): This.
44102         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
44103         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
44104         R_AARCH64_TLS_TPREL64.
44105         (elf_machine_rela): Likewise.
44107 2014-11-21  Torvald Riegel  <triegel@redhat.com>
44109         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
44110         by setting it to 0.  64b atomics are not supported currently.
44112 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44114         [BZ #16469]
44115         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44116         search domain names.
44118 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44120         [BZ #16469]
44121         * NEWS: Update.
44122         * resolv/res_query.c (__libc_res_nquerydomain): Retain
44123         trailing dot.
44124         * posix/tst-getaddrinfo5.c: New.
44125         * posix/Makefile (tests): Add it.
44127 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44129         [BZ #14498]
44130         * NEWS: Fixed.
44131         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
44132         after parsing line but before break_if_match.
44133         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
44134         if there is a protocol mismatch.
44136 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
44138         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
44139         because the potential race is on the user-supplied stream.
44141 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44143         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
44144         string literal if not passed a buffer.
44145         * manual/job.texi (ctermid): Update reasoning, note deviation
44146         from posix, suggest mtasurace when not passed a buffer, for
44147         future non-preliminary safety notes.
44149 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44151         * manual/users.texi (cuserid): Fix MT-Safety note for the case
44152         of not passing it a buffer.
44153         Reported by Peng Haitao.
44155 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44157         * manual/Makefile ($(objpfx)stamp-summary): Require
44158         check-safety.sh to pass.
44159         * manual/check-safety.sh: Wish for verification that every
44160         @deftypefn and @deftypefun is followed by a @safety remark.
44162 2014-11-20  Roland McGrath  <roland@hack.frob.com>
44164         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44166         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44167         PTHREAD_CANCEL_ASYNCHRONOUS.
44168         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44169         send SIGCANCEL.
44171         * nptl/default-sched.h: New file.
44172         * sysdeps/unix/sysv/linux/default-sched.h: New file.
44173         * nptl/pthread_create.c: Include it.
44174         (__pthread_create_2_1): Use collect_default_sched instead of making
44175         Linux syscalls here directly.
44177 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44179         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44180         __pthread_once): Use C11 atomics.
44182 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44184         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44186 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44188         * include/atomic.h (__atomic_link_error, __atomic_check_size,
44189         atomic_thread_fence_acquire, atomic_thread_fence_release,
44190         atomic_thread_fence_seq_cst, atomic_load_relaxed,
44191         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44192         atomic_compare_exchange_weak_relaxed,
44193         atomic_compare_exchange_weak_acquire,
44194         atomic_compare_exchange_weak_release,
44195         atomic_exchange_acquire, atomic_exchange_release,
44196         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44197         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44198         atomic_fetch_and_acquire,
44199         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44201 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44203         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44204         USE_ATOMIC_COMPILER_BUILTINS): Define.
44205         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44206         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44207         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44209         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44211         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44212         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44213         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44214         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44215         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44216         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44217         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44218         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44219         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44220         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44221         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44222         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44223         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44224         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44225         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44226         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44227         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44228         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44229         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44230         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44231         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44232         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44233         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44234         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44235         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44236         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44237         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44238         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44239         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44240         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44241         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44242         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44243         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44244         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44246 2014-11-19  Roland McGrath  <roland@hack.frob.com>
44248         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44249         the sched_priority value here.  It was already checked when the user
44250         called pthread_attr_setschedparam.
44252         * nptl/tst-bad-schedattr.c: New file.
44253         * nptl/Makefile (tests): Add it.
44255 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
44256             Florian Weimer  <fweimer@redhat.com>
44257             Joseph Myers  <joseph@codesourcery.com>
44258             Adam Conrad  <adconrad@0c3.net>
44259             Andreas Schwab  <schwab@suse.de>
44260             Brooks  <bmoses@google.com>
44262         [BZ #17625]
44263         * wordexp-test.c (__dso_handle): Add prototype.
44264         (__register_atfork): Likewise.
44265         (__app_register_atfork): New function.
44266         (registered_forks): New global.
44267         (register_fork): New function.
44268         (test_case): Add 3 new tests for WRDE_CMDSUB.
44269         (main): Call __app_register_atfork.
44270         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44271         fork count is non-zero fail the test.
44272         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44273         is set.
44274         (parse_dollars): Remove check for WRDE_NOCMD.
44275         (parse_dquote): Likewise.
44277 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44279         * Makeconfig (built-modules): List non-library modules to be
44280         built.
44281         (module-cppflags): Include libc-modules.h for
44282         everything except shlib-versions.v.i.
44283         (CPPFLAGS): Use it.
44284         (before-compile): Add libc-modules.h.
44285         ($(common-objpfx)libc-modules.h,
44286         $(common-objpfx)libc-modules.stmp): New targets.
44287         (common-generated): Add libc-modules.h and libc-modules.stmp.
44288         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44289         * include/libc-symbols.h: Don't include libc-modules.h.
44290         * include/libc-modules.h: Remove file.
44291         * scripts/gen-libc-modules.awk: New script to generate
44292         libc-modules.h.
44293         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44294         Depend on libc-modules.stmp.
44296         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44298         * Makeconfig (in-module): Get value of libof set for the
44299         translation unit.
44300         (CPPFLAGS): Use $(in-module).
44301         * Makerules: Don't suffix routine names for nonlib.
44302         * include/libc-modules.h: New file.
44303         * include/libc-symbols.h: Include libc-modules.h
44304         (IS_IN): New macro to replace IS_IN_* macros.
44305         * elf/Makefile: Set libof-* for each routine.
44306         * elf/rtld-Rules: Likewise.
44307         * extra-modules.mk: Likewise.
44308         * iconv/Makefile: Likewise.
44309         * iconvdata/Makefile: Likewise.
44310         * locale/Makefile: Likewise.
44311         * malloc/Makefile: Likewise.
44312         * nss/Makefile: Likewise.
44313         * sysdeps/gnu/Makefile: Likewise.
44314         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44315         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44316         * sysdeps/s390/s390-64/Makefile: Likewise.
44317         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44318         CPPFLAGS for nscd instead of nonlib.
44320 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44322         * nptl/createthread.c: New file.
44324         * nptl/createthread.c: Moved ...
44325         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44327         * nptl/createthread.c: Add proper top-line comment.
44328         (do_clone): Folded into ...
44329         (create_thread): ... here.  Take new arguments STOPPED_START and
44330         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44331         increment __nptl_threads, do event-reporting logic, do
44332         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44333         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44334         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44335         just send SIGCANCEL.
44336         * nptl/pthread_create.c: Forward-declare create_thread before
44337         including createthread.c.
44338         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44339         declaration, and new macro START_THREAD_SELF to replace argument.
44340         Remove return statement.
44341         (report_thread_creation): New function.
44342         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44343         synchronization logic, and __nptl_nthreads increment here, around
44344         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44345         PD->parent_cancelhandling here, before create_thread.  When
44346         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44347         __deallocate_stack, and ENOMEM translation here.
44349 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44351         [BZ #17616]
44352         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44353         (mptwo): Rename to __mptwo.
44354         (__inv): Use __mptwo instead of mptwo.
44355         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44356         (mptwo): Rename to __mptwo.
44357         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44358         of mpone and __mptwo instead of mptwo.
44359         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44360         instead of mpone.
44361         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44362         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44363         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44364         of mpone and __mptwo instead of mptwo.
44365         (__mpranred): Use __mpone instead of mpone.
44366         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44367         variable.
44368         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44369         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44370         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44371         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44372         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44373         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44374         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44375         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44376         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44377         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44378         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44379         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44380         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44381         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44382         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44383         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44384         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44385         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44386         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44388 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44390         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44391         replace BSD Handler xref with BSD Signal Handling.
44393 2014-11-17  Richard Henderson  <rth@redhat.com>
44395         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44396         (_FP_PACK_RAW_2): Remove.
44397         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44398         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44399         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44400         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44401         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44402         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44403         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44404         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44405         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44406         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44407         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44408         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44409         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44410         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44411         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44412         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44414 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44416         * signal/signal.h [__USE_MISC]
44417         (struct sigvec): Remove type.
44418         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44419         (sigvec): Remove declaration.
44420         * sysdeps/posix/sigvec.c: Moved ...
44421         * signal/sigvec.c: ... here, replacing old file.
44422         (struct sigvec): New type, copied from old signal.h definition.
44423         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44424         (__sigvec): Convert definition to prototype.
44425         (sigvec): Replace weak_alias with compat_symbol.
44426         * signal/Versions (libc: GLIBC_2.21): New version set.
44427         * include/signal.h: Remove __sigvec declaration.
44428         * sysdeps/unix/bsd/sigvec.c: Remove file.
44429         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44430         * manual/signal.texi (BSD Handler): Remove subsection.
44431         Move siginterrupt up to ...
44432         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44433         (Blocking in BSD): Fold subsection into its parent.
44434         * NEWS: Mention sigvec removal.
44436 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44438         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44439         (DLA_FMS): Make definition conditional only on [__FMA4__].
44440         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44441         definition.
44443         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44444         Make definition conditional only on [PROF].
44445         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44446         definition.
44447         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44448         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44450         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44451         !__GNUC__].
44452         * include/signal.h (__sigpause): Move declaration above call to
44453         libc_hidden_proto.
44454         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44455         variable.
44456         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44457         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44459 2014-11-14  David S. Miller  <davem@davemloft.net>
44461         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44462         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44464 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44466         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44467         * configure: Regenerated.
44468         * manual/install.texi (Tools for Compilation): Document a
44469         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44470         compiler verified to work.
44471         * INSTALL: Regenerated.
44473         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44474         redeclare with asm name.
44475         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44476         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44477         including <string.h>.
44478         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44479         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44480         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44481         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44482         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44483         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44484         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44486 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44488         * stdlib/strtol.c (__strtol): Use prototype definition.
44490         [BZ #17594]
44491         * stdlib/strtol.c (SYM__): New macro.
44492         (SYM__1): Likewise.
44493         (__strtol): Likewise.
44494         (strtol): Rename to __strtol and define as weak alias of
44495         __strtol.  Use libc_hidden_weak.
44497 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44499         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44500         Use numbered labels in inline assembly.
44502 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44504         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44505         Add setjmp LIBC_PROBE.
44506         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44507         Likewise.
44508         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44509         Add longjmp, longjmp_target LIBC_PROBE.
44510         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44511         Likewise.
44513 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44515         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44516         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44517         to get rid of unused variable warning.
44519 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44521         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44522         Check for unwind_backtrace ==  NULL only in SHARED case.
44523         (__backchain_backtrace): Compile only in SHARED case.
44524         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44525         Likewise.
44526         (__backchain_backtrace): Declare as static.
44528 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44530         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44531         (__libc_multiple_threads_ptr): Variable moved ...
44532         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44534 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44536         * conform/GlibcConform.pm: New file.
44537         * conform/conformtest.pl: Use GlibcConform module.
44538         * conform/linknamespace.pl: New file.
44539         * conform/list-header-symbols.pl: Likewise.
44540         * conform/Makefile (linknamespace-symlists-base): New variable.
44541         (linknamespace-symlists-tests): Likewise.
44542         (linknamespace-header-base): Likewise.
44543         (linknamespace-header-tests): Likewise.
44544         (tests-special): Add new tests.
44545         ($(linknamespace-symlists-tests)): New rule.
44546         (linknamespace-libs): New variable.
44547         ($(objpfx)symlist-stdlibs): New rule.
44548         ($(linknamespace-header-tests)): Likewise.
44549         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44550         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44551         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44552         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44553         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44554         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44555         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44556         (test-xfail-ISO/math.h/linknamespace): Likewise.
44557         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44558         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44559         (test-xfail-ISO/time.h/linknamespace): Likewise.
44560         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44561         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44562         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44563         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44564         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44565         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44566         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44567         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44568         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44569         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44570         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44571         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44572         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44573         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44574         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44575         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44576         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44577         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44578         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44579         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44580         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44581         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44582         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44583         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44584         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44585         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44586         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44587         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44588         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44589         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44590         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44591         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44592         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44593         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44594         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44595         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44596         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44597         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44598         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44599         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44600         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44601         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44602         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44603         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44604         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44605         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44606         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44607         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44608         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44609         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44610         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44611         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44612         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44613         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44614         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44615         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44616         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44617         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44618         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44619         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44620         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44621         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44622         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44623         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44624         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44625         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44626         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44627         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44628         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44629         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44630         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44631         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44632         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44633         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44634         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44635         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44636         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44637         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44638         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44639         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44640         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44641         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44642         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44643         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44644         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44645         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44646         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44647         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44648         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44649         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44650         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44651         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44652         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44653         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44654         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44655         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44656         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44657         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44658         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44659         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44660         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44661         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44662         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44663         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44664         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44665         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44666         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44667         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44668         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44669         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44670         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44671         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44672         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44673         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44674         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44675         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44676         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44677         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44678         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44679         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44680         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44681         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44682         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44683         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44684         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44685         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44686         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44687         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44688         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44689         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44690         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44691         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44692         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44693         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44694         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44695         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44696         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44697         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44698         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44699         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44700         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44701         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44702         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44703         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44704         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44705         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44706         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44707         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44708         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44709         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44711         [BZ #17589]
44712         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44713         of fgets_unlocked.
44715         [BZ #17585]
44716         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44717         (memmem): Rename to __memmem and define as weak alias of
44718         __memmem.  Use libc_hidden_weak.
44719         (__memmem): Use libc_hidden_def.
44720         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44721         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44722         memmem.
44724         [BZ #17582]
44725         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44726         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44727         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44728         and define as weak alias of __fgets_unlocked.  Use
44729         libc_hidden_weak.
44730         (__fgets_unlocked): Use libc_hidden_def.
44731         * include/stdio.h (__fgets_unlocked): Declare.  Use
44732         libc_hidden_proto.
44733         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44734         __fgets_unlocked instead of fgets_unlocked.
44735         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44736         (GET_NPROCS_CONF_PARSER): Likewise.
44737         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44738         (GET_NPROCS_CONF_PARSER): Likewise.
44740         [BZ #17574]
44741         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44742         weak alias of __wmemset.  Use libc_hidden_weak.
44743         (__wmemset): Use libc_hidden_def.
44744         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44745         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44746         of wmemset.
44748         [BZ #17573]
44749         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44750         with asm name __mempcpy.
44751         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44753         [BZ #17572]
44754         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44755         and define as weak alias of __rawmemchr.
44756         (__rawmemchr): Do not define as strong alias of rawmemchr.
44758         [BZ #17571]
44759         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44760         alias of __qsort_r.
44761         (qsort): Call __qsort_r instead of qsort_r.
44762         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44763         (__qsort_r): Declare.  Call libc_hidden_proto.
44764         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44765         instead of qsort_r.
44766         * nscd/gai.c (__qsort_r): Define to qsort_r.
44767         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44768         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44769         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44771         [BZ #17570]
44772         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44773         define as weak alias of __malloc_info.
44775         [BZ #17584]
44776         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44777         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44778         (__rewinddir): Use libc_hidden_def.
44779         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44780         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44781         (__rewinddir): Use libc_hidden_def.
44782         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44783         weak alias of __rewinddir.  Don't use libc_hidden_def.
44784         (__rewinddir): Use libc_hidden_def.
44785         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44786         (__rewinddir): Use libc_hidden_proto.
44787         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44788         rewinddir.
44789         (__getcwd): Use __rewinddir instead of rewinddir.
44791         [BZ #17583]
44792         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44793         alias of __fileno.  Use libc_hidden_weak.
44794         (__fileno): Use libc_hidden_def.
44795         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44796         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44797         alias of __ftello.
44798         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44799         __ftello.
44800         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44801         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44802         libc_hidden_def.
44803         (fread_unlocked): Don't use libc_hidden_ver.
44804         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44805         and define as weak alias of __fread_unlocked.  Don't use
44806         libc_hidden_def.
44807         (__fread_unlocked): Use libc_hidden_def.
44808         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44809         (ftello): Don't use libc_hidden_proto.
44810         (__ftello): Declare.  Use libc_hidden_proto.
44811         (fread_unlocked): Don't use libc_hidden_proto.
44812         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44813         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44814         and __ftello instead of fileno, fread_unlocked and ftello.
44816 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44818         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44819         GOT12.
44820         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44821         Likewise.
44822         (_dl_start_user): Likewise.
44823         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44825 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44826             Siddhesh Poyarekar  <siddhesh@redhat.com>
44828         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44829         Move argv and envp down instead of moving argc up.
44830         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44832 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44834         [BZ #17506]
44835         * test-skeleton.c (main): Return successful if one of
44836         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44837         * string/tst-strcoll-overflow.c: Define expected status.
44839 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44841         [BZ #17475]
44842         * locale/iso-639.def: Define Bhili and Tulu language codes.
44844 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44846         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44848 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44850         [BZ #17555]
44851         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44853 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44855         * configure.ac: Updated check of minimal required version to
44856         2.22.
44857         * manual/install.texi (Tools for Compilation): Updated version
44858         number.
44859         * configure: Regenerated.
44860         * INSTALL: Likewise.
44862 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44864         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44865         __tls_get_addr.
44867 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44869         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44870         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44871         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44872         libc_hidden_weak.
44873         (waitpid): Define as alias of __waitpid.
44874         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44875         __waitpid.
44876         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44877         libc_hidden_weak.
44878         (waitpid): Define as alias of __waitpid.
44879         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44880         __libc_waitpid alias.
44881         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44882         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44883         Likewise.
44884         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44885         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44886         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44887         alias.
44888         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44889         __waitpid.
44890         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44891         libc_hidden_weak.
44892         (waitpid): Define as alias of __waitpid.
44894 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44896         * manual/llio.texi: Add comment that write safety has been
44897         fixed in Linux.
44899         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44900         (localplt-build-dso): Add elf/ld.so.
44901         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44902         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44903         and free for ld.so.
44904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44905         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44907         Likewise.
44908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44909         Likewise.
44910         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44911         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44912         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44913         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44914         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44915         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44916         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44917         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44918         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44919         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44920         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44922 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44924         [BZ #14132]
44925         * include/libc-symbols.h (INTUSE): Remove macro.
44926         (INTDEF): Likewise.
44927         (INTVARDEF): Likewise.
44928         (_INTVARDEF): Likewise.
44929         (INTDEF2): Likewise.
44930         (INTVARDEF2): Likewise.
44931         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44932         rtld_hidden_def instead of INTVARDEF.
44933         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44934         (_dl_starting_up_internal): Remove declaration.
44935         (_dl_starting_up): Use rtld_hidden_proto.
44936         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44937         declaration.
44938         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44939         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44940         _dl_starting_up.
44941         * elf/dl-writev.h (_dl_writev): Likewise.
44942         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44943         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44944         _dl_starting_up_internal.
44946 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44948         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44949         test-skeleton.c.
44951 2014-11-05  Will Newton  <will.newton@linaro.org>
44953         * benchtests/Makefile: (bench-malloc): Add malloc thread
44954         scalability benchmark.
44955         * benchtests/bench-malloc-threads.c: New file.
44957 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44959         * sysdeps/aarch64/strchrnul.S: New file.
44961 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44963         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44964         definition.
44965         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44966         Likewise.
44967         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44968         Likewise.
44969         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44970         Likewise.
44971         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44972         Likewise.
44973         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44974         Likewise.
44976 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44978         * catgets/test-gencat.c: Use test-skeleton.c.
44979         * catgets/tst-catgets.c: Likewise.
44980         * csu/tst-empty.c: Likewise.
44981         * elf/tst-audit2.c: Likewise.
44982         * elf/tst-global1.c: Likewise.
44983         * elf/tst-pathopt.c: Likewise.
44984         * elf/tst-piemod1.c: Likewise.
44985         * elf/tst-tls10.c: Likewise.
44986         * elf/tst-tls11.c: Likewise.
44987         * elf/tst-tls12.c: Likewise.
44988         * gnulib/tst-gcc.c: Likewise.
44989         * iconvdata/tst-e2big.c: Likewise.
44990         * iconvdata/tst-loading.c: Likewise.
44991         * iconv/tst-iconv1.c: Likewise.
44992         * iconv/tst-iconv2.c: Likewise.
44993         * inet/test-inet6_opt.c: Likewise.
44994         * inet/tst-gethnm.c: Likewise.
44995         * inet/tst-network.c: Likewise.
44996         * inet/tst-ntoa.c: Likewise.
44997         * intl/tst-codeset.c: Likewise.
44998         * intl/tst-gettext2.c: Likewise.
44999         * intl/tst-gettext3.c: Likewise.
45000         * intl/tst-ngettext.c: Likewise.
45001         * intl/tst-translit.c: Likewise.
45002         * io/test-stat.c: Likewise.
45003         * libio/test-fmemopen.c: Likewise.
45004         * libio/tst-freopen.c: Likewise.
45005         * libio/tst-sscanf.c: Likewise.
45006         * libio/tst-ungetwc1.c: Likewise.
45007         * libio/tst-ungetwc2.c: Likewise.
45008         * libio/tst-widetext.c: Likewise.
45009         * localedata/tst-ctype.c: Likewise.
45010         * localedata/tst-digits.c: Likewise.
45011         * localedata/tst-leaks.c: Likewise.
45012         * localedata/tst-mbswcs1.c: Likewise.
45013         * localedata/tst-mbswcs2.c: Likewise.
45014         * localedata/tst-mbswcs3.c: Likewise.
45015         * localedata/tst-mbswcs4.c: Likewise.
45016         * localedata/tst-mbswcs5.c: Likewise.
45017         * localedata/tst-setlocale.c: Likewise.
45018         * localedata/tst-trans.c: Likewise.
45019         * localedata/tst-wctype.c: Likewise.
45020         * localedata/tst-xlocale1.c: Likewise.
45021         * login/tst-grantpt.c: Likewise.
45022         * malloc/tst-calloc.c: Likewise.
45023         * malloc/tst-malloc.c: Likewise.
45024         * malloc/tst-mallocstate.c: Likewise.
45025         * malloc/tst-mcheck.c: Likewise.
45026         * malloc/tst-mtrace.c: Likewise.
45027         * malloc/tst-obstack.c: Likewise.
45028         * math/atest-exp2.c: Likewise.
45029         * math/atest-exp.c: Likewise.
45030         * math/atest-sincos.c: Likewise.
45031         * math/test-matherr.c: Likewise.
45032         * math/test-misc.c: Likewise.
45033         * math/test-powl.c: Likewise.
45034         * math/tst-definitions.c: Likewise.
45035         * misc/tst-dirname.c: Likewise.
45036         * misc/tst-efgcvt.c: Likewise.
45037         * misc/tst-fdset.c: Likewise.
45038         * misc/tst-hsearch.c: Likewise.
45039         * misc/tst-mntent2.c: Likewise.
45040         * nptl/tst-sem7.c: Likewise.
45041         * nptl/tst-sem8.c: Likewise.
45042         * nptl/tst-sem9.c: Likewise.
45043         * nss/test-netdb.c: Likewise.
45044         * posix/tst-fnmatch.c: Likewise.
45045         * posix/tst-getlogin.c: Likewise.
45046         * posix/tst-gnuglob.c: Likewise.
45047         * posix/tst-mmap.c: Likewise.
45048         * pwd/tst-getpw.c: Likewise.
45049         * resolv/tst-inet_ntop.c: Likewise.
45050         * rt/tst-timer.c: Likewise.
45051         * stdio-common/test-fseek.c: Likewise.
45052         * stdio-common/test-popen.c: Likewise.
45053         * stdio-common/test-vfprintf.c: Likewise.
45054         * stdio-common/tst-cookie.c: Likewise.
45055         * stdio-common/tst-fileno.c: Likewise.
45056         * stdio-common/tst-gets.c: Likewise.
45057         * stdio-common/tst-obprintf.c: Likewise.
45058         * stdio-common/tst-perror.c: Likewise.
45059         * stdio-common/tst-sprintf2.c: Likewise.
45060         * stdio-common/tst-sprintf3.c: Likewise.
45061         * stdio-common/tst-sprintf.c: Likewise.
45062         * stdio-common/tst-swprintf.c: Likewise.
45063         * stdio-common/tst-tmpnam.c: Likewise.
45064         * stdio-common/tst-unbputc.c: Likewise.
45065         * stdio-common/tst-wc-printf.c: Likewise.
45066         * stdlib/tst-environ.c: Likewise.
45067         * stdlib/tst-fmtmsg.c: Likewise.
45068         * stdlib/tst-limits.c: Likewise.
45069         * stdlib/tst-rand48-2.c: Likewise.
45070         * stdlib/tst-rand48.c: Likewise.
45071         * stdlib/tst-random2.c: Likewise.
45072         * stdlib/tst-random.c: Likewise.
45073         * stdlib/tst-strtol.c: Likewise.
45074         * stdlib/tst-strtoll.c: Likewise.
45075         * stdlib/tst-tls-atexit.c: Likewise.
45076         * stdlib/tst-xpg-basename.c: Likewise.
45077         * string/test-ffs.c: Likewise.
45078         * string/tst-bswap.c: Likewise.
45079         * string/tst-inlcall.c: Likewise.
45080         * string/tst-strtok.c: Likewise.
45081         * string/tst-strxfrm.c: Likewise.
45082         * sysdeps/x86_64/tst-audit10.c: Likewise.
45083         * sysdeps/x86_64/tst-audit3.c: Likewise.
45084         * sysdeps/x86_64/tst-audit4.c: Likewise.
45085         * sysdeps/x86_64/tst-audit5.c: Likewise.
45086         * time/tst-ftime_l.c: Likewise.
45087         * time/tst-getdate.c: Likewise.
45088         * time/tst-mktime3.c: Likewise.
45089         * time/tst-mktime.c: Likewise.
45090         * time/tst-posixtz.c: Likewise.
45091         * time/tst-strptime2.c: Likewise.
45092         * time/tst-strptime3.c: Likewise.
45093         * wcsmbs/tst-btowc.c: Likewise.
45094         * wcsmbs/tst-mbrtowc.c: Likewise.
45095         * wcsmbs/tst-mbsrtowcs.c: Likewise.
45096         * wcsmbs/tst-wchar-h.c: Likewise.
45097         * wcsmbs/tst-wcpncpy.c: Likewise.
45098         * wcsmbs/tst-wcrtomb.c: Likewise.
45099         * wcsmbs/tst-wcsnlen.c: Likewise.
45100         * wcsmbs/tst-wcstof.c: Likewise.
45102 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
45104         [BZ #14132]
45105         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
45106         INTDEF.
45107         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
45108         declaration.
45109         (_dl_mcount): Use rtld_hidden_proto.
45110         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
45111         _dl_mcount.
45112         * elf/rtld.c (_rtld_global_ro): Likewise.
45114         [BZ #14132]
45115         * elf/dl-init.c (_dl_init): Don't use INTDEF.
45116         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
45117         of _dl_init_internal.
45118         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
45119         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
45120         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
45121         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
45122         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
45123         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
45124         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
45125         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
45126         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
45127         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
45128         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
45129         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
45130         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45131         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45132         * sysdeps/tile/dl-start.S (_start): Likewise.
45133         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
45134         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
45136         [BZ #14132]
45137         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
45138         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
45139         (rtld_progname): Make macro definition unconditional.
45140         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
45141         INTDEF.
45142         (dlmopen_doit): Do not use INTUSE with _dl_argv.
45143         (dl_main): Likewise.
45144         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45145         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45146         instead of _dl_argv_internal.
45147         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45148         __GI__dl_argv instead of INTUSE(_dl_argv).
45149         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
45150         __GI__dl_argv instead of _dl_argv_internal.
45152         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
45153         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
45154         macro.
45155         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
45156         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
45157         New macro.
45158         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
45159         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45160         macro.
45161         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45162         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45164 2014-11-04  Andreas Schwab  <schwab@suse.de>
45166         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45168 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45170         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45171         mtvsrd instruction in binary form.
45173 2014-11-03  Andreas Schwab  <schwab@suse.de>
45175         [BZ #17522]
45176         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45177         for less than MB_LEN_MAX use a local buffer of that size.
45178         * libio/tst-fputws.c: New file.
45179         * libio/Makefile (tests): Add tst-fputws.
45181 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
45183         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45184         the size of the fpu_fr.fpu_dregs[] array.
45186 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
45188         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45189         (__nanosleep): Do not define as alias.
45190         (nanosleep): Define as alias of __nanosleep.
45191         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45192         __libc_nanosleep name.
45194 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45196         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45197         install.texi in comment.
45199 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45201         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45202         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45203         ... add here and use lwsync or sync ...
45204         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45205         ... and add here using lwsync.
45207 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
45209         * elf/dl-machine-reject-phdr.h: New file.
45210         * elf/dl-load.c: #include that.
45211         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45212         if that returned true.
45214 2014-10-31  Roland McGrath  <roland@hack.frob.com>
45216         [BZ #17496]
45217         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45218         gen-as-const-headers chunk.  Add a big scare comment after the last
45219         safe place to touch before-compile.
45221 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45223         * manual/install.texi (Tools for Compilation): Update autoconf
45224         version requirements.
45225         * INSTALL: Regenerated.
45227         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45228         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45229         (__libc_pselect): Likewise.
45231         [BZ #14138]
45232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45237 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45239         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45240         correct barrier instruction.
45241         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45242         Likewise.
45243         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45244         Likewise.
45246 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45248         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45249         after defining inlines.  Instead, just use parens to defeat macro
45250         expansion of __isctype in its declaration.
45252 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45254         * include/sys/uio.h (__libc_readv): Remove declaration.
45255         (__libc_writev): Likewise.
45256         * misc/readv.c (__libc_readv): Rename to __readv.
45257         (__readv): Do not define as alias.
45258         (readv): Define as alias of __readv.
45259         * misc/writev.c (__libc_writev): Rename to __writev.
45260         (__writev): Do not define as alias.
45261         (writev): Define as alias of __writev.
45262         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45263         (__readv): Do not define as alias.
45264         (readv): Define unconditionally as alias of __readv.
45265         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45266         (__writev): Do not define as alias.
45267         (writev): Define unconditionally as alias of __writev.
45268         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45269         name.
45270         (writev): Do not define __libc_writev name.
45272 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45274         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45275         (convert_charseq): New function, broken out of ...
45276         (use_from_charmap): ... here.  Call it.
45277         (use_to_charmap): Use convert_charseq and free instead of duplicating
45278         its code with a variable-length stack struct.
45280 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45282         * include/fcntl.h (__libc_creat): Remove declaration.
45283         * io/creat.c (__libc_creat): Rename to creat.
45284         (creat): Do not define as alias.
45285         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45286         of creat instead of __libc_creat.
45287         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45288         to creat.
45289         (creat): Do not define as alias.
45290         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45291         __libc_creat.
45292         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45293         __libc_creat name.
45294         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45295         Likewise.
45297 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45299         * manual/llio.texi: Add comments discussing why write() may be
45300         considered MT-unsafe on Linux.
45302 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45304         * dl-load.c (local_strdup): Remove.
45305         (expand_dynamic_string_token): Use __strdup.
45306         (decompose_rpath): Likewise.
45307         (_dl_map_object): Likewise.
45309 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45311         [BZ #14132]
45312         * sysdeps/generic/unwind-dw2-fde.c
45313         (__register_frame_info_bases_internal): Do not declare.
45314         (__register_frame_info_table_bases_internal): Likewise.
45315         (__deregister_frame_info_bases_internal): Likewise.
45316         (__register_frame_info_bases): Declare and use hidden_proto before
45317         definition.  Use hidden_def instead of INTDEF.
45318         (__register_frame_info_table_bases): Likewise.
45319         (__deregister_frame_info_bases): Likewise.
45320         (__register_frame_info): Do not use INTUSE.
45321         (__register_frame): Likewise.
45322         (__register_frame_info_table): Likewise.
45323         (__register_frame_table): Likewise.
45324         (__deregister_frame_info): Likewise.
45325         (__deregister_frame): Likewise.
45327 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45329         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45330         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45331         not undefine.
45332         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45333         Likewise.
45334         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45335         Likewise.
45337 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45339         [BZ #14138]
45340         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45341         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45342         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45343         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45344         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45345         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45346         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45347         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45348         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45349         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45350         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45351         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45352         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45353         syscall.
45354         (setfsuid): Likewise.
45355         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45356         (setfsuid): Likewise.
45357         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45358         (setfsuid): Likewise.
45359         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45360         Likewise.
45361         (setfsuid): Likewise.
45362         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45363         (setfsuid): Likewise.
45364         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45365         Likewise.
45366         (setfsuid): Likewise.
45368 2014-10-27  Andreas Schwab  <schwab@suse.de>
45370         [BZ #17501]
45371         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45372         check for Slow_SSE4_2 feature bit.
45373         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45374         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45375         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45376         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45378 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45380         * configure.ac: Validate compiler version with a empirical test of
45381         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45382         $CC -v output.
45383         * configure: Regenerated.
45385         * inet/htons.c (htons): Prototypify.
45386         * inet/htonl.c (htonl): Likewise.
45388 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45390         * string/strncat.c (strncat): Improve performance by using strlen.
45392 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45394         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45396 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45398         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45399         Call libc_fetestexcept_aarch64.
45401 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45403         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45404         Call libc_feholdexcept_aarch64.
45406 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45408         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45409         Call get_rounding_mode.
45411 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45413         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45414         Simplify logic.
45416 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45418         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45419         Simplify logic.
45421 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45423         [BZ #14138]
45424         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45425         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45426         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45427         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45428         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45429         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45430         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45431         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45432         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45433         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45434         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45435         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45436         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45437         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45438         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45439         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45440         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45441         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45442         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45443         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45444         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45445         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45446         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45447         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45448         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45449         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45450         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45451         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45452         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45453         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45454         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45455         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45456         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45457         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45458         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45459         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45460         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45461         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45462         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45463         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45464         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45465         syscall.
45466         (geteuid): Likewise.
45467         (getgid): Likewise.
45468         (getuid): Likewise.
45469         (getresgid): Likewise.
45470         (getresuid): Likewise.
45471         (getgroups): Likewise.
45472         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45473         (geteuid): Likewise.
45474         (getgid): Likewise.
45475         (getuid): Likewise.
45476         (getresgid): Likewise.
45477         (getresuid): Likewise.
45478         (getgroups): Likewise.
45479         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45480         (geteuid): Likewise.
45481         (getgid): Likewise.
45482         (getuid): Likewise.
45483         (getresgid): Likewise.
45484         (getresuid): Likewise.
45485         (getgroups): Likewise.
45486         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45487         Likewise.
45488         (geteuid): Likewise.
45489         (getgid): Likewise.
45490         (getuid): Likewise.
45491         (getresgid): Likewise.
45492         (getresuid): Likewise.
45493         (getgroups): Likewise.
45494         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45495         (geteuid): Likewise.
45496         (getgid): Likewise.
45497         (getuid): Likewise.
45498         (getresgid): Likewise.
45499         (getresuid): Likewise.
45500         (getgroups): Likewise.
45501         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45502         Likewise.
45503         (geteuid): Likewise.
45504         (getgid): Likewise.
45505         (getuid): Likewise.
45506         (getgroups): Likewise.
45508         [BZ #14138]
45509         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45510         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45511         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45512         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45513         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45514         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45515         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45516         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45517         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45518         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45519         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45520         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45521         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45522         __chown.
45523         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45524         (lchown): Likewise.
45525         (fchown): Likewise.
45526         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45527         Likewise.
45528         (lchown): Likewise.
45529         (fchown): Likewise.
45530         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45531         (lchown): Likewise.
45532         (fchown): Likewise.
45533         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45534         Likewise.
45535         (lchown): Likewise.
45536         (fchown): Likewise.
45538 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45540         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45541         Simplify logic.
45543 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45545         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45546         Cleanup logic.
45548 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45550         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45551         Remove unused include.
45553 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45555         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45556         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45557         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45558         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45560 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45561             Helge Deller <deller@gmx.de>
45563         [BZ #17508]
45564         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45565         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45566         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45568 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45570         [BZ #14132]
45571         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45572         Remove macro definition.
45573         (__ashrdi3_v_glibc20): Likewise.
45574         (__lshrdi3_v_glibc20): Likewise.
45575         (__cmpdi2_v_glibc20): Likewise.
45576         (__ucmpdi2_v_glibc20): Likewise.
45577         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45578         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45579         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45580         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45581         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45582         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45584 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45586         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45587         old GNU extension [0] syntax.
45588         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45589         alloca rather than an array member with variable length.
45590         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45591         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45592         (parse_opt): ... here.  Likewise use alloca there.
45593         Validate the -i argument before checking for rootness.
45594         (send_shutdown): New function, broken out of ...
45595         (parse_opt): ... here.
45597 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45599         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45600         macro to get at the _rt_local_ro field.
45601         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45602         ([PIC] case) or _dl_hwcap ([!PIC] case).
45603         * sysdeps/arm/setjmp.S: Likewise.
45605         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45606         * sysdeps/arm/configure.ac: New check to define it.
45607         * sysdeps/arm/configure: Regenerated.
45608         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45609         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45610         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45611         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45612         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45613         Use move/movt pair instead of a load.
45614         (LDST_GLOBAL): Macro removed.
45615         (LDR_GLOBAL): New macro replaces it.
45616         (LDR_HIDDEN): New macro.
45617         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45618         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45620         * setjmp/tst-setjmp-static.c: New file.
45621         * setjmp/Makefile (tests): Add it.
45622         (tests-static): New variable.
45624 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45626         [BZ #17485]
45627         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45629 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45631         [BZ #14132]
45632         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45634 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45636         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45638 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45640         * io/fts.c (dirent_not_directory): New function.
45641         (fts_build): Call it.
45643 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45645         * nptl/version.c (__nptl_main): Use normal __write rather than
45646         INTERNAL_SYSCALL.
45647         (banner): Update copyright years.
45649         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45650         gettimeofday.
45651         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45652         * nptl/pthread_cond_timedwait.c: Likewise.
45653         * nptl/pthread_mutex_timedlock.c: Likewise.
45654         * nptl/sem_timedwait.c: Likewise.
45656         * sysdeps/nptl/bits/libc-lock.h
45657         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45658         (__libc_lock_init_recursive): Return void, not 0.
45659         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45660         (__libc_rwlock_init): Likewise.
45661         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45663 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45665         [BZ #15215]
45666         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45667         (__pthread_once_slow): ... here.
45668         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45669         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45671 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45673         [BZ #15215]
45674         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45675         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45676         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45677         * nptl/pthread_once.c (__pthread_once): Likewise.
45678         Update comments.
45680 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45682         [BZ #14138]
45683         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45684         name.
45685         (writev): Use __libc_writev as strong name.
45686         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45687         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45689 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45691         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45693         * sysdeps/i386/nptl/tls.h
45694         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45695         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45696         New macros.
45697         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45698         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45699         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45700         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45701         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45702         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45704         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45705         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45706         on [__NR_futex].
45707         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45708         broken out of ...
45709         (__pthread_mutex_init): ... here.  Call it.
45710         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45711         Conditionalize PI cases on [__NR_futex].
45712         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45713         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45714         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45716         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45717         conditional on [SIGSETXID].
45718         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45719         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45720         is defined.  Likewise for SIGSETXID.
45721         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45722         Conditionalize definitions on [SIGSETXID].
45723         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45724         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45725         unblocking on [SIGCANCEL].
45727         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45728         [__NR_set_robust_list].
45730 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45732         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45733         (do_compare): Likewise.
45735 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45737         [BZ #15884]
45738         * string/strcoll_l.c: Don't include stdio.h.
45739         (coll_seq): Remove members idxarr and rulearr.
45740         (get_next_seq_cached): Remove function.
45741         (get_next_seq): Likewise.
45742         (get_next_seq_nocache): Rename to get_next_seq.
45743         (do_compare): Remove function.
45744         (do_compare_nocache): Rename to do_compare.
45745         (STRCOLL): Remove weight and rules cache.
45747 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45749         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45750         * sysdeps/arm/sfp-machine.h: ... to here.
45751         * sysdeps/arm/Implies: Remove arm/soft-fp.
45753 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45755         * conform/data/sys/utsname.h-data (*_t): Allow.
45756         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45757         [POSIX] (WEXITED): Do not expect constant.
45758         [POSIX] (WSTOPPED): Likewise.
45759         [POSIX] (WNOHANG): Likewise.
45760         [POSIX] (WNOWAIT): Likewise.
45761         [POSIX] (siginfo_t): Do not expect type or elements.
45762         [POSIX] (pid_t): Do not expect type.
45763         [POSIX] (signal.h): Do not allow header.
45764         [POSIX] (sys/resource.h): Likewise.
45765         [POSIX] (si_*): Do not allow pattern.
45766         [POSIX] (W*): Likewise.
45767         [POSIX] (P_*): Likewise.
45768         [POSIX] (BUS_*): Likewise.
45769         [POSIX] (CLD_*): Likewise.
45770         [POSIX] (FPE_*): Likewise.
45771         [POSIX] (ILL_*): Likewise.
45772         [POSIX] (POLL_*): Likewise.
45773         [POSIX] (SEGV_*): Likewise.
45774         [POSIX] (SI_*): Likewise.
45775         [POSIX] (TRAP_*): Likewise.
45776         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45777         variable.
45779 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45781         [BZ #12926]
45782         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45783         infinite loop when __recvmsg returns 0.
45785 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45787         * CANCEL-FCT-WAIVE: Remove file.
45788         * CANCEL-FILE-WAIVE: Likewise.
45790         [BZ #14132]
45791         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45792         instead of INTVARDEF.
45793         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45794         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45795         rtld_hidden_data_def instead of INTVARDEF.
45796         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45797         * elf/dl-deps.c (expand_dst): Likewise.
45798         * elf/dl-load.c (_dl_dst_count): Likewise.
45799         (_dl_dst_substitute): Likewise.
45800         (decompose_rpath): Likewise.
45801         (_dl_init_paths): Likewise.
45802         (open_path): Likewise.
45803         (_dl_map_object): Likewise.
45804         * elf/rtld.c (dl_main): Likewise.
45805         (process_dl_audit): Likewise.
45806         (process_envvars): Likewise.
45807         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45808         Remove declaration.
45809         (__libc_enable_secure): Use rtld_hidden_proto.
45811 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45813         * elf/dl-load.c
45814         (add_path): New function broken out of _dl_rtld_di_serinfo.
45815         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45817 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45819         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45820         parentheses around macro arguments.
45821         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45822         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45832         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45836         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45837         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45840         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45842         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45846         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45850         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45851         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45854         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45855         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45856         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45857         Likewise.
45858         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45861         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45865         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45866         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45869         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45870         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45871         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45875         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45879         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45880         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45882         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45883         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45884         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45885         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45886         (_FP_FRAC_SRS_1): Likewise.
45887         (_FP_FRAC_CLZ_1): Likewise.
45888         (_FP_MUL_MEAT_1_imm): Likewise.
45889         (_FP_MUL_MEAT_1_wide): Likewise.
45890         (_FP_MUL_MEAT_1_hard): Likewise.
45891         (_FP_SQRT_MEAT_1): Likewise.
45892         (_FP_FRAC_ASSEMBLE_1): Likewise.
45893         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45894         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45895         (__FP_CLZ_2): Likewise.
45896         (_FP_MUL_MEAT_2_wide): Likewise.
45897         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45898         (_FP_MUL_MEAT_2_gmp): Likewise.
45899         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45900         (_FP_SQRT_MEAT_2): Likewise.
45901         (_FP_FRAC_ASSEMBLE_2): Likewise.
45902         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45903         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45904         (_FP_FRAC_CLZ_4): Likewise.
45905         (_FP_MUL_MEAT_4_wide): Likewise.
45906         (_FP_MUL_MEAT_4_gmp): Likewise.
45907         (_FP_SQRT_MEAT_4): Likewise.
45908         (_FP_FRAC_ASSEMBLE_4): Likewise.
45909         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45910         * soft-fp/op-common.h (_FP_CMP): Likewise.
45911         (_FP_CMP_EQ): Likewise.
45912         (_FP_CMP_UNORD): Likewise.
45913         (_FP_TO_INT): Likewise.
45914         (_FP_FROM_INT): Likewise.
45915         [!__FP_CLZ] (__FP_CLZ): Likewise.
45916         (_FP_DIV_HELP_imm): Likewise.
45917         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45918         Likewise.
45919         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45920         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45922         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45926         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45930         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45931         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45934         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45935         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45936         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45938         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45940         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45944         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45948         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45949         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45952         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45953         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45954         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45955         (FP_UNPACK_RAW_SP): Likewise.
45956         (FP_PACK_RAW_S): Likewise.
45957         (FP_PACK_RAW_SP): Likewise.
45958         (FP_UNPACK_S): Likewise.
45959         (FP_UNPACK_SP): Likewise.
45960         (FP_UNPACK_SEMIRAW_S): Likewise.
45961         (FP_UNPACK_SEMIRAW_SP): Likewise.
45962         (FP_PACK_S): Likewise.
45963         (FP_PACK_SP): Likewise.
45964         (FP_PACK_SEMIRAW_S): Likewise.
45965         (FP_PACK_SEMIRAW_SP): Likewise.
45966         (_FP_SQRT_MEAT_S): Likewise.
45967         (FP_CMP_S): Likewise.
45968         (FP_CMP_EQ_S): Likewise.
45969         (FP_CMP_UNORD_S): Likewise.
45970         (FP_TO_INT_S): Likewise.
45971         (FP_FROM_INT_S): Likewise.
45973         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45975         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45976         (FP_EX_INVALID_IMZ): Likewise.
45977         (FP_EX_INVALID_IMZ_FMA): Likewise.
45978         (FP_EX_INVALID_ISI): Likewise.
45979         (FP_EX_INVALID_ZDZ): Likewise.
45980         (FP_EX_INVALID_IDI): Likewise.
45981         (FP_EX_INVALID_SQRT): Likewise.
45982         (FP_EX_INVALID_CVI): Likewise.
45983         (FP_EX_INVALID_VC): Likewise.
45984         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45985         "invalid" exceptions.
45986         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45987         (_FP_ADD_INTERNAL): Likewise.
45988         (_FP_MUL): Likewise.
45989         (_FP_FMA): Likewise.
45990         (_FP_DIV): Likewise.
45991         (_FP_CMP_CHECK_NAN): Likewise.
45992         (_FP_SQRT): Likewise.
45993         (_FP_TO_INT): Likewise.
45994         (FP_EXTEND): Likewise.
45996 2014-10-09  Allan McRae  <allan@archlinux.org>
45998         * po/fr.po: Update French translation from translation project.
46000 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
46002         [BZ #14132]
46003         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
46004         of INTDEF.
46005         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
46006         (__cxa_atexit): Use libc_hidden_proto.
46007         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
46009         [BZ #14132]
46010         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
46011         declaration.
46012         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
46013         [!_ISOMAC] (__iswspace_l_internal): Likewise.
46014         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
46015         [!_ISOMAC] (__iswctype_internal): Likewise.
46016         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
46017         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
46018         alias.
46019         (fcntl): Remove __fcntl_internal alias.
46020         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
46021         __connect_internal alias.
46022         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
46023         Likewise.
46025         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
46026         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
46027         FP_DENORM_ZERO.
46028         (_FP_CHECK_FLUSH_ZERO): New macro.
46029         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
46030         (_FP_CMP): Likewise.
46031         (_FP_CMP_EQ): Likewise.
46032         (_FP_TO_INT): Do not set inexact for subnormal arguments if
46033         FP_DENORM_ZERO.
46034         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
46035         (FP_TRUNC): Likewise.
46037         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
46038         treated as invalid conversion, not as normal exponent.
46040         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
46041         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
46042         (_FP_CMP_EQ): Likewise.
46043         (_FP_CMP_UNORD): Likewise.
46044         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46045         (FP_CMP_EQ_D): Likewise.
46046         (FP_CMP_UNORD_D): Likewise.
46047         * soft-fp/extended.h (FP_CMP_E): Likewise.
46048         (FP_CMP_EQ_E): Likewise.
46049         (FP_CMP_UNORD_E): Likewise.
46050         * soft-fp/quad.h (FP_CMP_Q): Likewise.
46051         (FP_CMP_EQ_Q): Likewise.
46052         (FP_CMP_UNORD_Q): Likewise.
46053         * soft-fp/single.h (FP_CMP_S): Likewise.
46054         (FP_CMP_EQ_S): Likewise.
46055         (FP_CMP_UNORD_S): Likewise.
46056         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
46057         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
46058         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
46059         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
46060         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
46061         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
46062         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
46063         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
46064         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
46065         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
46066         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
46067         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
46068         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
46069         to FP_CMP_Q.
46070         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
46071         FP_CMP_Q.
46072         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
46073         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
46074         FP_CMP_EQ_Q.
46075         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
46076         FP_CMP_Q.
46077         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
46078         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
46079         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
46080         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
46081         FP_CMP_EQ_Q.
46082         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
46083         FP_CMP_Q.
46084         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
46085         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
46086         FP_CMP_EQ_Q.
46087         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
46088         FP_CMP_Q.
46089         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
46090         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
46091         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
46092         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
46093         FP_CMP_EQ_Q.
46095         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
46096         a subnormal result, set the underflow exception if trapping on
46097         underflow is enabled.
46098         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
46099         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
46100         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
46101         redefine to 0.
46102         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
46103         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46104         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46105         * soft-fp/extendxftf2.c (__extendxftf2): Use
46106         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
46108         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
46109         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
46110         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46111         FP_HANDLE_EXCEPTIONS.
46112         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
46113         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46114         FP_HANDLE_EXCEPTIONS.
46115         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
46116         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46117         FP_HANDLE_EXCEPTIONS.
46118         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
46119         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46120         FP_HANDLE_EXCEPTIONS.
46122 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
46124         [BZ #14132]
46125         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
46126         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
46127         use INTUSE.
46128         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
46129         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
46130         Remove alias.
46131         (__adjtimex): Define using libc_hidden_ver.
46132         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
46133         Remove declaration.
46134         (ntp_gettime): Call __adjtimex directly.
46135         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
46136         Remove declaration.
46137         (ntp_gettimex): Call __adjtimex directly.
46138         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
46139         __adjtimex_internal alias.
46141 2014-10-08  Roland McGrath  <roland@hack.frob.com>
46143         [BZ #17460]
46144         * nscd/nscd.c (more_help): Rewrite list of tables collection
46145         using xstrdup and asprintf.
46147         * nscd/nscd_conf.c: Remove local xstrdup declaration.
46149 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46150             Roland McGrath  <roland@hack.frob.com>
46152         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
46153         (do_lookup_unique): ... local function 'enter' here; update callers.
46155 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
46157         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
46158         compat_symbol calls on [SHARED].
46159         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46160         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46161         Remove.
46162         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46163         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46164         (oldsetrlimit): Remove.
46165         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46167         (lchown): New syscall entry.
46168         (oldsetrlimit): Remove.
46169         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46170         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46171         (oldsetrlimit): Remove.
46172         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46174         [BZ #14138]
46175         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46176         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46177         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46178         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46179         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46180         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46181         (fchown): Likewise.
46182         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46183         (fchown): Likewise.
46184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46185         Likewise.
46187 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46189         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46190         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46191         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46192         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46193         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46194         Likewise.
46195         (__old_sem_post): Likewise.
46197 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
46199         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46200         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46201         HAVE_CLOCK_GETTIME_VSYSCALL macros.
46202         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46203         Use INLINE_VSYSCALL macro.
46204         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46205         __vdso_clock_gettime.
46206         * sysdeps/unix/sysv/linux/tile/init-first.c
46207         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46208         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46209         __vdso_clock_gettime.
46211         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46212         to set up frame more cleanly.
46214         * sysdeps/tile/memcmp.c: New file.
46216         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46218         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46219         * sysdeps/tile/tilegx/strcasestr.c: New file.
46220         * sysdeps/tile/tilegx/strnlen.c: New file.
46221         * sysdeps/tile/tilegx/strstr.c: New file.
46223         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46225 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
46227         * nptl/tst-setuid3.c: Write errors to stdout.
46229 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46231         * elf/dl-deps.c
46232         (preload): New functions broken out of _dl_map_object_deps.
46233         (_dl_map_object_deps):  Remove a nested function. Update call sites.
46235 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
46237         [BZ #14138]
46238         * sysdeps/unix/sysv/linux/execve.c: Remove file.
46239         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46241 2014-10-01  Steve Ellcey  <sellcey@mips.com>
46243         * sysdeps/mips/strcmp.S: New.
46245 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
46247         [BZ #14138]
46248         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46249         (linkat): Likewise.
46250         (mkdirat): Likewise.
46251         (readlinkat): Likewise.
46252         (renameat): Likewise.
46253         (symlinkat): Likewise.
46254         (unlinkat): Likewise.
46255         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46256         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46257         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46258         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46259         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46260         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46261         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46263 2014-09-30  Will Newton  <will.newton@linaro.org>
46265         * math/math.h: Define long double math functions if
46266         _LIBC_TEST is defined.
46267         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46269         * localedata/Makefile: Move assignment to tests-special
46270         into an ifdef testing run-built-tests.
46271         * timezone/Makefile: Likewise.
46273 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46275         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46276         with $(BASH) not $(SHELL).
46278 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46279             Matthew LeGendre  <legendre1@llnl.gov>
46281         [BZ #17411]
46282         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46283         l_reloc_result.
46285 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46287         * stdio-common/printf_fp.c
46288         (hack_digit): New function, broken out of ...
46289         (__printf_fp): ... local function here.  Update call sites.
46290         hack_digit now takes an additional parameter that is a pointer
46291         to a struct of the referenced locals.  Those locals moved inside
46292         the struct and references updated.
46294 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46296         * aclocal.m4: Require autoconf 2.69.
46297         * configure: Regenerated.
46298         * sysdeps/aarch64/configure: Likewise.
46299         * sysdeps/alpha/configure: Likewise.
46300         * sysdeps/arm/armv7/configure: Likewise.
46301         * sysdeps/arm/configure: Likewise.
46302         * sysdeps/ia64/configure: Likewise.
46303         * sysdeps/mach/configure: Likewise.
46304         * sysdeps/mips/configure: Likewise.
46305         * sysdeps/s390/configure: Likewise.
46306         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46309         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46310         file.
46311         * sysdeps/ia64/configure.ac: Likewise.
46313 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46316         specify symbol version for ld.so.  Do not include entry for
46317         libpthread.
46318         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46319         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46320         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46322         [BZ #14171]
46323         * Makeconfig [$(build-shared) = yes]
46324         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46325         makefiles.
46326         [$(build-shared) = yes && $(soversions.mk-done) = t]
46327         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46328         [$(build-shared) = yes && $(soversions.mk-done) = t]
46329         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46330         to Makerules.
46331         [$(build-shared) = yes && $(soversions.mk-done) = t]
46332         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46333         here.
46334         [$(build-shared) = yes && $(soversions.mk-done) = t]
46335         (common-generated): Don't append gnu/lib-names.h and
46336         gnu/lib-names.stmp here.
46337         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46338         (lib-names-h-abi): New variable.
46339         [$(build-shared) = yes && $(soversions.mk-done) = t]
46340         (lib-names-stmp-abi): Likewise.
46341         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46342         abi-variants] (before-compile): Append
46343         $(common-objpfx)$(lib-names-h-abi).
46344         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46345         abi-variants] (common-generated): Append gnu/lib-names.h.
46346         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46347         abi-variants] (install-others-nosubdir): Depend on
46348         $(inst_includedir)/$(lib-names-h-abi).
46349         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46350         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46351         [$(build-shared) = yes && $(soversions.mk-done) = t]
46352         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46353         [$(build-shared) = yes && $(soversions.mk-done) = t]
46354         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46355         [$(build-shared) = yes && $(soversions.mk-done) = t]
46356         (common-generated): Append $(lib-names-h-abi) and
46357         $(lib-names-stmp-abi).
46358         * scripts/lib-names.awk: Do not handle multi being set.
46359         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46360         Remove variable.
46361         (abi-lp64_be-ld-soname): Likewise.
46362         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46363         Likewise.
46364         (abi-hard-ld-soname): Likewise.
46365         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46366         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46367         Remove variable.
46368         (abi-o32_hard-ld-soname): Likewise.
46369         (abi-o32_soft_2008-ld-soname): Likewise.
46370         (abi-o32_hard_2008-ld-soname): Likewise.
46371         (abi-n32_soft-ld-soname): Likewise.
46372         (abi-n32_hard-ld-soname): Likewise.
46373         (abi-n32_soft_2008-ld-soname): Likewise.
46374         (abi-n32_hard_2008-ld-soname): Likewise.
46375         (abi-n64_soft-ld-soname): Likewise.
46376         (abi-n64_hard-ld-soname): Likewise.
46377         (abi-n64_soft_2008-ld-soname): Likewise.
46378         (abi-n64_hard_2008-ld-soname): Likewise.
46379         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46380         Likewise.
46381         (abi-64-v2-ld-soname): Likewise.
46382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46383         ld.so entries.
46384         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46385         variable.
46386         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46387         entry.
46388         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46389         variable.
46390         (abi-64-ld-soname): Likewise.
46391         (abi-x32-ld-soname): Likewise.
46392         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46393         entry.
46394         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46396 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46398         [BZ #14138]
46399         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46400         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46401         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46402         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46403         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46404         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46405         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46406         syscall entry for GLIBC_2.2 symbol version.
46407         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46408         Likewise.
46409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46410         (setrlimit): Likewise.
46411         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46412         Likewise.
46414 2014-09-23  Will Newton  <will.newton@linaro.org>
46416         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46417         _LINUX_ARM_SYSDEP_H include guard too.
46418         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46419         define.
46421 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46423         * sysdeps/unix/sysv/linux/eventfd.c:
46424         Make first argument unsigned.
46425         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46426         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46428 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
46430         [BZ #16852]
46431         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46432         * socket/sys/socket.h: Likewise.
46433         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46435 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46437         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46439 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46441         * time/tst-ftime.c: New test.
46442         * time/Makefile (tests): Add tst-ftime.
46444 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46446         * soft-fp/extended.h: Fix comment formatting.
46447         * soft-fp/op-1.h: Likewise.
46448         * soft-fp/op-2.h: Likewise.
46449         * soft-fp/op-4.h: Likewise.
46450         * soft-fp/op-8.h: Likewise.
46451         * soft-fp/op-common.h: Likewise.
46452         * soft-fp/soft-fp.h: Likewise.
46454         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46456 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46458         [BZ #6652]
46459         * Makeconfig (soversions-default-setname): Remove variable.
46460         ($(common-objpfx)soversions.i): Don't pass default_setname to
46461         soversions.awk.
46462         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46463         oldest_abi to abi-versions.awk.
46464         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46465         * config.make.in (oldest-abi): Remove variable.
46466         * configure.ac (--enable-oldest-abi): Remove configure option.
46467         * configure: Regenerated.
46468         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46469         text.
46470         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46471         * scripts/soversions.awk: Do not handle default_setname variable.
46472         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46473         variable.
46474         * sysdeps/mach/hurd/configure: Regenerated.
46475         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46476         variable.
46477         * sysdeps/unix/sysv/linux/configure: Regenerated.
46479 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46481         * elf/Makefile (CFLAGS-interp.c): Remove.
46482         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46483         path string.
46484         * elf/interp.c: Include generated runtime-linker.h
46486         * Makerules (lib%.so): Don't include $(+interp) in
46487         prerequisites.
46488         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46489         * dlfcn/eval.c: Remove file.
46491         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46492         macros.
46494         [BZ #17266]
46495         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46496         4.2 and newer.
46498         [BZ #17370]
46499         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46501 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46502             Jakub Jelinek  <jakub@redhat.com>
46504         [BZ #17266]
46505         * libio/stdio.h: Check definition of __fortify_function
46506         instead of __extern_always_inline to include bits/stdio2.h.
46507         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46508         check if __extern_always_inline is defined.
46509         [__USE_MISC || __USE_XOPEN]: Likewise.
46510         [__USE_ISOC99] Likewise.
46511         * misc/sys/cdefs.h (__fortify_function): Define only if
46512         __extern_always_inline is defined.
46513         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46514         __extern_always_inline and __extern_inline only for g++-4.3
46515         and newer or a compatible gcc.
46517 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46519         [BZ #17371]
46520         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46521         last change to handle zero prefix length.
46523 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46525         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46526         _SC_REGEX_VERSION.
46528         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46529         _POSIX_RAW_SOCKETS.
46531 2014-09-13  Allan McRae  <allan@archlinux.org>
46533         * po/ru.po: Update Russian translation from translation project.
46535 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46537         * locale/programs/locale.c (show_locale_vars): Inline local function
46538         into its sole call site.  Clean up some style nits.
46539         (print_item): New function, broken out of ...
46540         (show_info): ... local function here.  Clean up style nits.
46542         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46543         out of ...
46544         (set_class_defaults): ... local function set_default here.
46545         Define set_default as a macro locally to pass constant parameters.
46546         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46547         rather than a shared local.
46549         * stdlib/rpmatch.c (try): New function, broken out of ...
46550         (rpmatch): ... local function here.  Also, prototypify definition.
46552 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46554         * scripts/soversions.awk: Do not handle configuration names.
46555         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46556         vendor and os variables to soversions.awk.
46557         * configure.ac: Do not modify gnu-* host_os.
46558         * configure: Regenerated
46559         * shlib-versions: Remove first column with configuration names.
46560         * nptl/shlib-versions: Likewise.
46561         * nptl_db/shlib-versions: Likewise.
46562         * sysdeps/hppa/shlib-versions: Likewise.
46563         * sysdeps/m68k/shlib-versions: Likewise.
46564         * sysdeps/mach/hurd/shlib-versions: Likewise.
46565         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46566         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46567         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46568         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46569         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46570         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46571         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46572         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46574         Likewise.
46575         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46576         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46577         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46578         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46579         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46580         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46581         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46582         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46585         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46587         Regenerated.
46588         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46590         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46592         * shlib-versions: Remove OS-specific entries.  Moved to files in
46593         sysdeps.
46594         * sysdeps/mach/hurd/shlib-versions: New file.
46595         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46597         * nptl/shlib-versions: Remove architecture-specific entries.
46598         Moved to files in sysdeps.
46599         * shlib-versions: Likewise.
46600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46601         file.
46602         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46603         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46604         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46605         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46607         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46608         (UDP_NO_CHECK6_RX): Likewise.
46610 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46612         * sysdeps/posix/sysconf.c (__sysconf): Spell
46613         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46615 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46617         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46618         loading.
46619         * iconv/Versions (__gconv_transliterate): Export for use from
46620         gconv modules.
46621         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46622         (struct __gconv_trans_data, __gconv_trans_fct,
46623         __gconv_trans_context_fct, __gconv_trans_query_fct,
46624         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46625         definitions.
46626         (struct __gconv_step_data): Remove __trans member.
46627         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46628         longer hidden.  Remove unused trans_data argument.
46629         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46630         (__gconv_translit_find): Remove declaration.
46631         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46632         prototype.
46633         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46634         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46635         trans_data argument.  Add hidden definition.
46636         (__gconv_translit_find): Remove.
46637         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46638         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46639         * iconv/skeleton.c: Remove transliteration initialization.
46640         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46641         __gconv_step_data initialization.
46642         * libio/iofwide.c (__libio_translit_): Remove.
46643         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46644         * wcsmbs/btowc.c (__btowc): Likewise.
46645         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46646         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46647         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46648         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46649         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46650         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46651         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46652         * wcsmbs/wctob.c (wctob): Likewise.
46654 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46656         [BZ #16194]
46657         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46658         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46659         register usage.
46660         * sysdeps/x86/Makefile: Adjust.
46662 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46663             Roland McGrath  <roland@hack.frob.com>
46665         * locale/weight.h: Add include guard.
46666         (findidx): Make static rather than auto; take new parameters
46667         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46668         * locale/weightwc.h: Likewise.
46669         * posix/fnmatch_loop.c
46670         (FCT): Change type of EXTRA from int32_t to wint_t.
46671         Don't include either header inside the function.
46672         Call FINDIDX rather than findidx, and pass new arguments.
46673         #undef FINDIDX at the end of the file.
46674         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46675         FINDIDX before including fnmatch_loop.c for the non-wide version.
46676         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46677         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46678         for the wide version.
46679         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46680         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46681         Pass new arguments to findidx.
46682         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46683         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46684         Don't #include it inside the function.  Pass new arguments to findidx.
46685         * posix/regex_internal.h
46686         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46687         (re_string_elem_size_at): Don't #include it inside the function.
46688         Pass new arguments to findidx.
46689         * string/strcoll_l.c: #include WEIGHT_H at top level.
46690         (get_next_seq): Don't #include it inside the function.
46691         Pass new arguments to findidx.
46692         (get_next_seq_nocache): Likewise.
46693         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46694         (STRXFRM): Don't #include it inside the function.
46695         Pass new arguments to findidx.
46697 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46699         [BZ #17344]
46700         * malloc/malloc.c (unlink): Turn asserts into a call to
46701         malloc_printerr.
46703 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46705         [BZ #17370]
46706         * libio/wfileops (do_ftell_wide): Free OUT.
46708 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46710         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46712 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46714         [BZ #17363]
46715         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46716         group if the current group is empty.
46718 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46720         * benchtests/bench-memset.c (test_main): Add more test from size
46721         from 32 to 512 bytes.
46722         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46723         Add POWER8 memset object.
46724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46725         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46726         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46727         implementation.
46728         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46729         Likewise.
46730         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46731         multiarch POWER8 memset optimization.
46732         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46733         POWER8 memset optimization.
46735         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46736         Remove bzero multiarch objects.
46737         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46738         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46739         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46740         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46741         Remove define.
46742         [__bzero]: Redefine to specific name.
46743         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46744         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46745         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46746         define.
46747         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46748         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46750 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46752         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46753         warnings into errors.
46755         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46756         __cxa_thread_atexit_impl prototype.
46758 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46760         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46761         Fix capitalization of error message.
46763 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46765         * sysdeps/mips/preconfigure: Modify ABI tests.
46767 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46769         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46771 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46772             Carlos O'Donell  <carlos@systemhalted.org>
46774         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46775         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46776         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46777         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46778         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46779         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46780         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46781         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46782         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46783         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46784         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46785         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46786         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46787         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46788         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46789         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46790         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46791         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46792         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46793         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46794         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46795         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46796         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46797         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46798         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46799         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46800         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46801         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46802         Deconditionalize the code that was previously under [RESET_PID].
46803         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46804         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46805         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46806         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46807         include sysdep.h.
46809 2014-09-08  Allan McRae  <allan@archlinux.org>
46811         * version.h (RELEASE): Set to "development".
46812         (VERSION): Set to "2.20.90"
46814 2014-09-07  Allan McRae  <allan@archlinux.org>
46816         * version.h (RELEASE): Set to "stable".
46817         (VERSION): Set to "2.20"
46818         * include/features.h (__GLIBC_MINOR__): Set to 20.
46820         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46821         Liebler.
46823         * po/ko.po: Update Korean translation from translation project.
46825 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46827         [BZ #17354]
46828         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46829         macro for handling signed relocations.
46831 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46833         [BZ #17325]
46834         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46835         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46836         assert.
46837         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46838         * iconvdata/ibm935.c (BODY): Likewise.
46839         * iconvdata/ibm937.c (BODY): Likewise.
46840         * iconvdata/ibm939.c (BODY): Likewise.
46841         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46842         assert.
46843         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46844         script.
46845         * iconvdata/run-iconv-test.sh: New test loop for checking for
46846         decoder crashers.
46848 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46851         libm_hidden_ver.
46853 2014-09-01  Allan McRae  <allan@archlinux.org>
46855         * po/eo.po: Update Esperanto translation from translation project.
46857         * po/ca.po: Update Catalan translation from translation project.
46859 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46861         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46862         __proc_dostop call.
46864 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46866         [BZ #17319]
46867         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46868         to call set_thread_area instead of hand written asm.
46869         (__NR_set_thread_area): Removed define.
46870         (TLS_FLAG_WRITABLE): Likewise.
46871         (__ASSUME_SET_THREAD_AREA): Remove check.
46872         (TLS_EBX_ARG): Remove define.
46873         (TLS_LOAD_EBX): Likewise.
46875 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46877         Simplify atomicity of socket creation in bind.
46879         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46880         looking up the name after linking the file.
46882 2014-08-27  Allan McRae  <allan@archlinux.org>
46884         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46886 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46888         [BZ #17187]
46889         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46890         trans_compare, open_translit, __gconv_translit_find):
46891         Remove module loading code.
46893 2014-08-26  Allan McRae  <allan@archlinux.org>
46895         * po/vi.po: Update Vietnamese translation from translation project.
46897         * po/uk.po: Update Ukrainian translation from translation project.
46899         * po/fr.po: Update French translation from translation project.
46901         * po/ru.po: Update Russian translation from translation project.
46903         * po/pl.po: Update Polish translation from translation project.
46905         * po/cs.po: Update Czech translation from translation project.
46907         * po/de.po: Update German translation from translation project.
46909         * po/bg.po: Update Bulgarian translation from translation project.
46911         * po/sv.po: Update Sweedish translation from translation project.
46913         * po/nl.po: Update Dutch translation from translation project.
46915         * po/es.po: Update Spanish translation from translation project.
46917 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46919         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46921         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46922         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46923         (CPPFLAGS-iconvconfig): Likewise.
46924         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46926         * include/libc-symbols.h: Remove unnecessary check for
46927         NOT_IN_libc.
46928         * nptl/pthreadP.h: Likewise.
46929         * sysdeps/aarch64/setjmp.S: Likewise.
46930         * sysdeps/alpha/setjmp.S: Likewise.
46931         * sysdeps/arm/sysdep.h: Likewise.
46932         * sysdeps/i386/setjmp.S: Likewise.
46933         * sysdeps/m68k/setjmp.c: Likewise.
46934         * sysdeps/posix/getcwd.c: Likewise.
46935         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46936         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46937         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46938         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46939         * sysdeps/sh/sh3/setjmp.S: Likewise.
46940         * sysdeps/sh/sh4/setjmp.S: Likewise.
46941         * sysdeps/unix/alpha/sysdep.h: Likewise.
46942         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46944         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46945         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46950         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46953         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46954         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46955         * sysdeps/x86_64/setjmp.S: Likewise.
46957 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46959         [BZ #17263]
46960         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46961         <stdint.h>.
46962         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46963         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46965 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46967         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46969         [BZ #17262]
46970         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46971         and __x86_64__ when disabling x87 inline functions.
46973 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46975         [BZ #17259]
46976         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46977         asm statement with __cpuid_count.
46979 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46981         * configure.ac: Change __ehdr_start code to dereference the struct.
46982         Run readelf on the output to look for relocations.
46983         * configure: Regenerated.
46985 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46987         [BZ #17261]
46988         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46989         value to 0.
46990         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46992 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46994         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46996 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46998         [BZ #16892]
46999         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
47000         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
47002 2014-08-12  Sean Anderson  <seanga2@gmail.com>
47004         * malloc/malloc.c: Fix typo in comment.
47006 2014-08-09  Allan McRae  <allan@archlinux.org>
47008         * Regenerate libc.po.
47010 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
47012         * intl/tst-gettext2.sh: Check every lang file for creation.
47014 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
47016         * sysdeps/aarch64/fpu/math_private.h
47017         (libc_feholdsetround_noex_aarch64_ctx): New function.
47019 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
47021         * sysdeps/arm/armv6/strcpy.S (strcpy):
47022         Fix performance issue in misaligned cases.
47024 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47026         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
47027         Move definition from termios.h.
47028         (struct termio): Likewise.
47029         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47030         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47031         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47032         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47033         Likewise.
47034         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
47035         Move definition to ioctl-types.h
47036         (struct termio): Likewise.
47037         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47038         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47039         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47040         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47041         Likewise.
47043 2014-08-05  Richard Henderson  <rth@redhat.com>
47045         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
47046         exceptions.
47047         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
47048         Add fraiseexcpt.
47049         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
47050         Use __feraiseexcept.
47051         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
47052         Protect libm symbols with IS_IN_libm.
47054         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
47056 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
47058         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
47060 2014-08-04  Will Newton  <will.newton@linaro.org>
47062         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
47063         file.
47065 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
47067         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
47068         variants for each function.
47070 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47072         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
47073         appended ...
47074         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
47075         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
47076         appended ...
47077         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
47078         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
47079         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
47080         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
47081         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
47082         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
47083         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
47084         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
47085         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
47086         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
47087         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
47088         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47089         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
47090         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
47091         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
47092         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
47093         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
47094         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
47095         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
47096         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
47097         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
47098         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
47099         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
47100         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
47101         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47102         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
47103         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
47104         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
47105         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47106         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
47107         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
47108         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
47109         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
47110         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
47111         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
47112         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
47113         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
47114         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
47115         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47116         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
47117         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
47118         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
47119         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
47120         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
47121         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
47122         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
47123         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
47124         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
47125         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
47126         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
47127         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
47128         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
47129         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
47130         Update #include.
47131         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
47132         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
47134 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47136         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
47137         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
47138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
47139         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
47140         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
47141         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
47143 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47145         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
47146         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
47147         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47148         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
47150 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47152         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
47153         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
47154         (__libc_vfork): Define function under this name.
47155         (__vfork): Define as an alias.
47156         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
47157         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
47159 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47161         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47162         that was previously under [RESET_PID].
47163         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47165 2014-08-04  Andreas Schwab  <schwab@suse.de>
47167         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47169 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
47171         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47172         (main): Likewise.
47174 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47176         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47178 2014-08-01  Richard Henderon  <rth@redhat.com>
47180         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47181         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47182         typo in exact zero test.
47183         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47184         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47185         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47187 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47189         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47190         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47191         * sysdeps/arm/sysdep.h: ... here.
47192         [!__ASSEMBLER__]: Include <stdint.h>.
47194 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47196         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47197         (HAVE_WCTYPE_H): Likewise.
47198         (HAVE_ISWCTYPE): Likewise.
47199         (ENABLE_NLS): Likewise.
47200         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47201         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47203         * posix/regex_internal.c: Check if DEBUG is defined and is
47204         set.
47206         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47207         (HAVE_MBSRTOWCS): Likewise.
47208         * posix/fnmatch.c: Include string.h unconditionally.
47210 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47212         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47213         reversal.
47215 2014-07-31  Roland McGrath  <roland@hack.frob.com>
47217         * sysdeps/generic/safe-fatal.h: New file.
47218         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47219         * nptl/forward.c: Include it.
47220         (__pthread_unwind): Use __safe_fatal as default action, rather
47221         than a bogus use of INTERNAL_SYSCALL that could never work.
47223         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47224         * configure.ac (libc_cv_builtin_trap): New test.
47225         * configure: Regenerated.
47226         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47227         (ABORT_INSTRUCTION): Define using __builtin_trap.
47229         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47230         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47231         * sysdeps/nptl/nptl-signals.h: New file.
47232         * nptl/pthreadP.h: Include <nptl-signals.h>.
47234 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47236         * sysdeps/s390/s390-64/utf16-utf32-z9.c
47237         (ONE_DIRECTION): Define.
47238         * sysdeps/s390/s390-64/utf8-utf16-z9.c
47239         (ONE_DIRECTION): Define.
47240         * sysdeps/s390/s390-64/utf8-utf32-z9.c
47241         (ONE_DIRECTION): Define.
47243 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47245         * sysdeps/s390/Makefile: Delete file.
47246         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47247         * sysdeps/s390/__longjmp.c: Delete file.
47248         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47249         Remove fields __flags and __reserved.
47250         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47251         and add versioning.
47252         * sysdeps/s390/rtld-__longjmp.c: Delete file.
47253         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47254         * sysdeps/s390/rtld-setjmp.S: Likewise.
47255         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47256         * sysdeps/s390/s390-32/__longjmp.c: ... here.
47257         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47258         * sysdeps/s390/s390-32/setjmp.S: ... here.
47259         Add versioning.
47260         (__sigsetjmp): Remove setting __flags field.
47261         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47262         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47263         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47264         * sysdeps/s390/s390-64/setjmp.S: ... here.
47265         Add versioning.
47266         (__sigsetjmp): Remove setting __flags field.
47267         * sysdeps/s390/setjmp.S: Delete file.
47268         * sysdeps/s390/sigjmp.c: Likewise.
47269         * sysdeps/s390/v1-longjmp.c: Likewise.
47270         * sysdeps/s390/v1-setjmp.h: Likewise.
47271         * sysdeps/s390/v1-sigjmp.c: Likewise.
47272         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47273         Remove v1-longjmp_chk.
47274         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47275         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47276         Include debug/longjmp_chk.c and add versioning.
47277         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47278         Include nptl/pt-longjmp.c and add versioning.
47279         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47280         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47281         Include __longjmp.c.
47282         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47283         Move to ...
47284         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47285         (__getcontext): Remove setting __flags field.
47286         Add versioning.
47287         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47288         Don't restore upper high grps.
47289         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47290         Likewise.
47291         (__swapcontext): Remove setting uc_flags field.
47292         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47293         Delete file.
47294         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47295         Include __longjmp.c.
47296         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47297         Move to ...
47298         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47299         (__getcontext): Remove setting __flags field.
47300         Add versioning.
47301         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47302         (__swapcontext): Remove setting uc_flags field.
47303         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47304         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47305         Remove fields uc_high_gprs and __reserved.
47306         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47307         New file with reverted content.
47308         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47309         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47310         Regenerated.
47311         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47312         Regenerated.
47314 2014-07-31  Andreas Schwab  <schwab@suse.de>
47316         * config.h.in (HAVE_IFUNC): Define to 0.
47317         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47318         definedness.
47320 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47323         memmove-avx-unaligned, memcpy-avx-unaligned and
47324         mempcpy-avx-unaligned.
47325         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47326         Add tests for AVX memcpy functions.
47327         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47328         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47329         memcpy_chk.
47330         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47331         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47332         memmove_chk.
47333         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47334         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47335         mempcpy_chk.
47336         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47337         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47338         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47340 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47342         [BZ #17213]
47343         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47344         powerpc64le.
47346 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47348         [BZ #16839]
47349         * manual/llio.texi: Add section about open file description locks.
47350         * manual/examples/ofdlocks.c: Example of open file description
47351         lock usage.
47352         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47353         F_OFD_SETLK, and F_OFD_SETLKW.
47355 2014-07-23  Allan McRae  <allan@archlinux.org>
47357         * po/es.po: Update Spanish translation from translation project.
47359 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47361         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47363 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47365         [BZ #17078]
47366         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47367         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47368         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47370 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47372         [BZ #17088]
47373         * math/fesetenv.c (__fesetenv)
47374         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47375         * math/feupdateenv.c (__feupdateenv)
47376         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47378         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47379         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47380         (__ASSUME_SOCKETCALL): Do not define.
47382         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47383         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47384         (__ASSUME_SOCKETCALL): Do not define.
47385         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47386         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47387         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47388         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47389         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47390         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47391         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47392         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47394         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47395         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47396         (__ASSUME_SOCKETCALL): Do not define.
47397         (__ASSUME_IPC64): Define unconditionally.
47398         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47399         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47400         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47401         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47402         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47403         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47404         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47405         Likewise.
47407         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47408         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47409         (__ASSUME_SOCKETCALL): Do not define.
47410         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47411         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47412         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47413         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47414         (__ASSUME_REQUEUE_PI): Define unconditionally.
47415         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47416         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47417         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47418         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47419         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47420         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47422         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47423         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47424         (__ASSUME_SOCKETCALL): Do not define.
47425         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47426         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47427         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47428         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47429         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47430         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47432         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47433         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47434         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47435         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47436         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47437         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47438         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47439         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47440         (__ASSUME_GETCPU_SYSCALL): Likewise.
47442         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47443         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47444         cases for individual architectures.
47445         * sysdeps/gnu/configure: Regenerated.
47446         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47447         LIBC_SLIBDIR_RTLDDIR.
47448         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47449         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47450         LIBC_SLIBDIR_RTLDDIR.
47451         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47453         LIBC_SLIBDIR_RTLDDIR.
47454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47455         Regenerated.
47456         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47457         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47458         file.
47459         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47460         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47461         file.
47462         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47463         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47464         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47465         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47467         * sysdeps/aarch64/shlib-versions: Move to ...
47468         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47469         * sysdeps/alpha/shlib-versions: Move to ...
47470         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47471         * sysdeps/arm/shlib-versions: Move to ...
47472         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47473         * sysdeps/hppa/shlib-versions: Move all contents except for
47474         libgcc_s entry to ...
47475         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47476         entry from ...
47477         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47478         * sysdeps/ia64/shlib-versions: Move to ...
47479         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47480         entry from ...
47481         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47482         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47483         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47484         * sysdeps/microblaze/shlib-versions: Move to ...
47485         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47486         * sysdeps/mips/shlib-versions: Move to ...
47487         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47488         entry from ...
47489         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47490         * sysdeps/tile/shlib-versions: Move to ...
47491         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47492         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47493         from ...
47494         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47495         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47496         entry from ...
47497         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47499 2014-07-17  Will Newton  <will.newton@linaro.org>
47501         * sysdeps/arm/bits/atomic.h
47502         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47503         (__arch_compare_and_exchange_bool_16_int): Likewise.
47504         (__arch_compare_and_exchange_bool_64_int): Likewise.
47506         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47507         into an #else block.
47509 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47511         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47512         just Linux configurations.  Test empirically that the compiler sets
47513         __ARM_EABI__, rather than using the tuple to decide.
47514         * sysdeps/arm/preconfigure: Regenerated.
47515         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47516         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47517         contents appended ...
47518         * sysdeps/arm/configure.ac: ... here.
47519         * sysdeps/arm/configure: Regenerated.
47521 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47523         * nptl/pthread_kill.c: New file.
47524         * nptl/pthread_sigmask.c: New file.
47525         * nptl/pthread_sigqueue.c: New file.
47527         * sysdeps/nptl/lowlevellock.h: New file.
47528         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47529         * sysdeps/nptl/lowlevellock-futex.h: New file.
47531         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47532         Remove dead declarations.
47534 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47536         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47537         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47538         config-cflags-avx2.
47539         * sysdeps/x86_64/configure.ac: Likewise.
47540         * sysdeps/i386/configure: Regenerated.
47541         * sysdeps/x86_64/configure: Likewise.
47542         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47543         memset-avx2 only if config-cflags-avx2 is yes.
47544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47545         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47546         defined.
47547         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47548         only if HAVE_AVX2_SUPPORT is defined.
47549         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47551 2014-07-14  Alan Modra  <amodra@gmail.com>
47553         [BZ #17153]
47554         * elf/elf.h (DT_PPC64_NUM): Correct value.
47555         * NEWS: Add to fixed bug list.
47557 2014-07-13  Jim Meyering  <meyering@fb.com>
47559         [BZ 17150]
47560         regex: don't deref NULL upon heap allocation failure
47561         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47562         failure in one more place.
47563         To trigger the segfault, configure grep -with-included-regex,
47564         build it, and run these commands:
47565         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47567 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47569         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47571 2014-07-11  Richard Henderson  <rth@redhat.com>
47573         * sysdeps/aarch64/libm-test-ulps: Update.
47575 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47577         [BZ #17135]
47578         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47579         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47580         (__nptl_setxid): Initialize error member.  Call
47581         __nptl_setxid_error.
47582         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47583         * nptl/descr.h (struct xid_command): Add error member.
47584         * nptl/tst-setuid3.c: New file.
47585         * nptl/Makefile (tests): Add it.
47587 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47589         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47590         New define.
47591         (__lll_trylock): Use __lll_base_trylock.
47592         (__lll_cond_trylock): Likewise.
47594 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47596         * nptl/pthread_create.c (start_thread): Use atomic_or and
47597         lll_futex_wake directly rather than lll_robust_dead.
47598         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47599         (lll_robust_dead): Macro removed.
47600         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47601         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47602         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47603         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47604         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47605         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47606         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47607         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47608         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47609         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47610         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47611         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47612         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47613         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47614         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47616         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47617         Use atomic_compare_and_exchange_val_acq directly rather than
47618         lll_robust_trylock.
47619         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47620         (__lll_robust_trylock, lll_robust_trylock): Removed.
47621         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47622         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47623         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47624         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47625         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47626         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47627         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47628         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47629         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47630         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47631         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47633         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47634         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47636 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47638         * manual/locale.texi (Locale Names): New section documenting
47639         locale name syntax.  Adjust menu and node chaining accordingly.
47640         (Choosing Locale): Reference Locale Names, Locale Categories.
47641         Mention setting LC_ALL=C.  Reflect that name syntax is now
47642         documented.
47643         (Locale Categories): New section title.  Reference Locale Names.
47644         LC_ALL is an environment variable, but not a category.
47645         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47646         description, now in Locale Name.  Reference that section.  Locale
47647         name syntax is now documented.
47649 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47651         [BZ #17137]
47652         * locale/findlocale.c (name_present, valid_locale_name): New
47653         functions.
47654         (_nl_find_locale): Use the loc_name variable to store name
47655         candidates.  Call name_present and valid_locale_name to check and
47656         validate locale names.  Return an error if the locale is invalid.
47658 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47660         * locale/setlocale.c (setlocale): Use strdup for allocating
47661         composite name copy.
47663 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47665         Sync up with gnulib.
47666         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47667         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47668         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47669         and _GL_ARG_NONNULL.
47670         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47671         [!_LIBC]: Include code for Windows and Cygwin.
47672         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47673         Include prototype for int strerror_r.
47674         [!_LIBC] (is_open): New function.
47675         (flush_stdout): New function.
47676         (print_errno_message): Use it.
47677         (error): Likewise.
47678         (error_at_line): Likewise.
47679         (error_tail) Add function attribute macros.  Use
47680         __builtin_expect.
47682         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47684         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47686         * io/ftw.c: Include sys/param.h unconditionally.
47688         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47690         [BZ #17125]
47691         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47692         libc_freeres_ptr.
47693         (freecache): New function to free CACHE on exit.
47695         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47696         initialization.
47698 2014-07-09  David S. Miller  <davem@davemloft.net>
47700         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47702         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47703         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47704         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47705         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47706         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47707         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47708         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47709         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47710         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47711         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47712         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47713         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47714         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47716 2014-07-09  Andreas Schwab  <schwab@suse.de>
47718         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47719         output.
47720         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47721         (do_test): Likewise.
47723         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47725 2014-07-09  Will Newton  <will.newton@linaro.org>
47727         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47728         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47729         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47730         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47731         * sysdeps/hppa/start.S (_start): Likewise.
47733 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47735         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47737         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47738         defined.
47740 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47742         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47743         after checking that it is non-NULL.
47745         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47747 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47749         * sysdeps/powerpc/memmove.c: Remove file.
47750         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47751         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47752         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47753         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47754         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47755         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47756         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47757         string memmove instead of removed powerpc one.
47759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47760         [weak_alias]: Fix compiler warning due trailing data.
47761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47762         [weak_alias]: Likewise.
47763         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47764         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47766         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47767         (__libc_ifunc_impl_list): Add memmove functions.
47769 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47771         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47772         Remove code.
47773         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47774         Likewise.
47775         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47776         Likewise.
47777         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47778         Likewise.
47779         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47780         Likewise.
47781         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47782         Likewise.
47783         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47784         Likewise.
47785         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47786         Likewise.
47787         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47788         Likewise.
47789         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47790         Likewise.
47791         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47792         Likewise.
47793         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47794         Likewise.
47795         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47796         Likewise.
47797         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47798         Likewise.
47799         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47800         Likewise.
47801         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47802         Likewise.
47803         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47804         Likewise.
47806 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47808         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47809         to avoid alignment traps in non-cacheable memory.
47810         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47813         multiarch objects.
47814         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47815         file: multiarch power7 memmove.
47816         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47817         multiarch default memmove.
47818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47819         multiarch memove for powerpc32/power4.
47821         * string/bcopy.c: Use full path to include memmove.c.
47822         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47823         multiarch objects.
47824         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47825         bcopy for powerpc64.
47826         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47827         bcopy for powerpc64.
47828         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47829         and memmove implementations.
47830         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47831         optimized multiarch memmove for POWER7/powerpc64.
47832         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47833         default multiarch memmove for powerpc64.
47834         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47835         multiarch for powerpc64.
47836         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47837         for POWER7/powerpc64.
47838         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47839         memmove for POWER7/powerpc64.
47841         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47842         glibc default one.
47844         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47845         __ELF_NATIVE_CLASS equal to 64.
47847 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47849         * sysdeps/nptl/lowlevellock.h: File removed.
47851         * NEWS: NPTL is no longer an add-on!
47852         * nptl/internaltypes.h: Moved ...
47853         * sysdeps/nptl/internaltypes.h: ... here.
47854         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47855         * sysdeps/nptl/fork.c: Likewise.
47856         * sysdeps/nptl/gai_misc.h: Likewise.
47857         * sysdeps/nptl/librt-cancellation.c: Likewise.
47858         * sysdeps/nptl/jmp-unwind.c: Likewise.
47859         * sysdeps/nptl/setxid.h: Likewise.
47860         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47861         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47862         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47863         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47864         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47865         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47866         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47867         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47868         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47869         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47870         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47871         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47872         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47873         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47874         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47875         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47876         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47877         * nptl/Makeconfig: Moved ...
47878         * sysdeps/nptl/Makeconfig: ... here.
47879         * nptl/configure: File removed.
47880         * nptl/ANNOUNCE: File removed.
47881         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47882         * sysdeps/unix/sysv/linux/configure: Regenerated.
47884         * nptl/Makefile (routines): Add libc_pthread_init,
47885         libc_multiple_threads, register-atfork and unregister-atfork.
47886         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47887         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47888         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47889         pthread-pi-defines.sym, structsem.sym.
47890         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47891         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47892         [$(subdir) = nptl] (tests): Add tst-setgetname.
47893         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47894         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47895         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47896         [!LIBC_SIGACTION]: Remove aliases.
47897         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47898         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47899         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47900         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47901         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47902         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47903         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47904         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47905         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47906         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47907         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47908         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47909         __libc_allocate_rtsig_private.
47910         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47911         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47912         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47913         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47914         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47915         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47916         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47917         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47918         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47919         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47920         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47921         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47922         * nptl/internaltypes.h: ... here.
47923         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47924         * sysdeps/nptl/jmp-unwind.c: ... here.
47925         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47926         * nptl/libc-lowlevellock.c: ... here.
47927         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47928         * nptl/libc_multiple_threads.c: ... here.
47929         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47930         * nptl/libc_pthread_init.c: ... here.
47931         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47932         * nptl/lowlevelbarrier.sym: ... here.
47933         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47934         * nptl/lowlevelcond.sym: ... here.
47935         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47936         * nptl/lowlevellock.c: ... here.
47937         * nptl/lowlevellock.h: Moved ...
47938         * sysdeps/nptl/lowlevellock.h: ... here.
47939         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47940         * nptl/lowlevelrobustlock.c: ... here.
47941         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47942         * nptl/lowlevelrobustlock.sym: ... here.
47943         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47944         * nptl/lowlevelrwlock.sym: ... here.
47945         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47946         * nptl/pt-fork.c: ... here.
47947         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47948         * nptl/pthread-pi-defines.sym: ... here.
47949         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47950         * nptl/pthread_attr_getaffinity.c: ... here.
47951         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47952         * nptl/pthread_attr_setaffinity.c: ... here.
47953         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47954         * nptl/pthread_mutex_cond_lock.c: ... here.
47955         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47956         Update #include.
47957         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47958         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47959         * nptl/pthread_once.c: ... here, replacing old file.
47960         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47961         * nptl/pthread_yield.c: ... here.
47962         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47963         * nptl/register-atfork.c: ... here.
47964         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47965         * nptl/sem_post.c: ... here.
47966         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47967         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47968         * nptl/sem_timedwait.c: ... here.
47969         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47970         * nptl/sem_trywait.c: ... here.
47971         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47972         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47973         * nptl/sem_wait.c: ... here.
47974         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47975         * nptl/structsem.sym: ... here.
47976         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47977         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47978         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47979         * nptl/unregister-atfork.c: ... here.
47980         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47981         * nptl/unwindbuf.sym: ... here.
47982         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47983         * sysdeps/nptl/fork.c: ... here.
47984         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47985         * sysdeps/nptl/fork.h: ... here.
47986         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47987         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47988         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47989         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47990         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47991         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47992         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47993         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47994         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47995         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47996         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47997         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47998         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47999         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
48000         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
48001         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
48002         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
48003         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
48004         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
48005         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
48006         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
48007         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
48008         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
48009         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
48010         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
48011         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
48012         * sysdeps/unix/sysv/linux/raise.c: ... here.
48013         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
48014         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
48015         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
48016         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
48017         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
48018         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
48019         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
48020         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
48021         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
48022         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
48023         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
48024         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
48025         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
48026         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
48027         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
48029 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48031         * sysdeps/generic/memcopy.h: Add comment for
48032         MEMCPY_OK_FOR_FWD_MEMMOVE.
48034 2014-07-04  Will Newton  <will.newton@linaro.org>
48036         * string/memchr.c: Merge from gnulib.
48037         [_LIBC]: Remove conditionals.
48038         (__ptr_t): Remove define.
48039         (LONG_MAX_32_BITS): Likewise.
48040         (LONG_MAX): Likewise.
48041         (MEMCHR): Use ANSI prototype and optimize algorithm.
48043         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
48045 2014-07-03  Roland McGrath  <roland@hack.frob.com>
48047         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
48048         (lll_futex_timed_wait_bitset): Fix syscall argument count.
48050         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
48051         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
48052         in a bare environment with no <stdlib.h> installed.
48053         * sysdeps/nptl/configure: Regenerated.
48055         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
48057         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
48058         AC_EGREP_CPP for kernel header checks, so they only succeed if
48059         including <linux/version.h> actually works right.
48060         * sysdeps/unix/sysv/linux/configure: Regenerated.
48062         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
48063         value so it's not diagnosed as unused.
48065         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
48066         thing) with "ifeq ($(subdir),rt)".
48068 2014-07-03  Richard Henderson  <rth@redhat.com>
48070         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
48071         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
48072         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
48074         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
48075         (math_force_eval): New.
48077         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
48078         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
48080         * sysdeps/alpha/fpu/s_round.c: Remove file.
48081         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
48083         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
48084         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
48085         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
48086         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
48087         (_dl_start, print_statistics): Likewise.
48088         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
48089         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
48091         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48092         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48093         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48094         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48095         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48096         (HP_SMALL_TIMING_AVAIL): Define.
48097         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48098         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48099         (HP_SMALL_TIMING_AVAIL): Define.
48100         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48101         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48103         * sysdeps/aarch64/hp-timing.h: New file.
48105         * sysdeps/generic/hp-timing.h: Remove dead comment.
48106         * sysdeps/generic/hp-timing-common.h: New file.
48107         * sysdeps/alpha/hp-timing.h: Include it.
48108         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
48109         * sysdeps/i386/i686/hp-timing.h: Likewise.
48110         * sysdeps/ia64/hp-timing.h: Likewise.
48111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48112         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48113         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48114         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48115         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
48116         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
48117         (hp_timing_t): New.
48119         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
48120         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
48121         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
48122         * elf/rtld.c (_dl_start_final): Likewise.
48123         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
48124         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48125         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48126         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48127         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48128         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48129         (HP_TIMING_DIFF_INIT): Remove.
48130         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48131         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48132         (HP_TIMING_DIFF_INIT): Remove.
48133         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48134         * sysdeps/i386/i686/hp-timing.c: Remove file.
48135         * sysdeps/x86_64/hp-timing.c: Remove file.
48136         * sysdeps/ia64/hp-timing.c: Remove file.
48137         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
48138         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
48139         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
48140         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
48142         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
48143         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
48144         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
48145         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48146         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48147         (HP_TIMING_ACCUM): Remove.
48148         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48149         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
48150         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48152         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
48153         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
48154         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
48155         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
48156         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
48157         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48158         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
48159         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48161         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48163 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
48165         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48167 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48169         Sync up with gettext.
48170         * intl/loadmsgcat.c: Define O_BINARY if not defined.
48171         [_MSC_VER]: Include malloc.h
48172         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48173         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48174         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
48175         TEMP_FAILURE_RETRY.  Cast return of alloca.
48176         [!_LIBC] Call gl_rwlock_init.
48177         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48179 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48181         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48182         before checking its value.
48184 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48186         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48188         * debug/memcpy_chk.c: Don't include pagecopy.h.
48189         * debug/mempcpy_chk.c: Likewise.
48190         * string/memcpy.c: Likewise.
48191         * string/memmove.c: Likewise.
48192         * sysdeps/powerpc/memmove.c: Likewise.
48193         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
48194         definition of PAGE_COPY_FWD_MAYBE here...
48195         * sysdeps/generic/pagecopy.h: ... from here.
48196         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48198 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48199             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48201         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48202         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48203         optimizations.
48204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48205         (__libc_ifunc_impl_list): Likewise.
48206         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48207         multiarch strcat for PPC64.
48208         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48209         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48211 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48213         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48215 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48217         * intl/loadmsgcat.c: Remove declaration of
48218         get_sysdep_segment_value.
48219         (get_sysdep_segment_value): Use ISO C style.
48220         (_nl_load_domain): Use ISO C style.  Get rid of redundant
48221         semicolon.  Fix typo and formatting in comment.
48222         (_nl_unload_domain): Use ISO C style.
48224         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48226 2014-07-02  Will Newton  <will.newton@linaro.org>
48228         * malloc/obstack.c: Merge from gnulib master.
48229         [HAVE_CONFIG_H]: Remove conditional code.
48230         [!_LIBC]: Include config.h.
48231         [!ELIDE_CODE]: Don't include inttypes.h, include
48232         stdint.h unconditionally.
48233         (print_and_abort): Mark as _Noreturn.
48234         (_obstack_allocated_p): Mark as __attribute_pure__.
48235         (obstack_free): Rename to __obstack_free.
48236         [!__attribute__]: Remove conditional code.
48237         * malloc/obstack.h: Merge from gnulib master.
48238         [__cplusplus]: Move conditional down.
48239         [!__attribute_pure__]: Define __attribute_pure__ here
48240         if it is not already defined.
48241         (_obstack_memory_used): Mark as __attribute_pure__.
48242         [!__obstack_free]: Define as obstack_free.
48243         [__GNUC__]: Remove check for ancient NeXT gcc.
48245 2014-07-02  Will Newton  <will.newton@linaro.org>
48246             Paul Eggert  <eggert@cs.ucla.edu>
48248         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48250 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48252         * resolv/gethnamaddr.c: Add comment warning that the file is
48253         not maintained.
48255 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
48257         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48258         entries.
48260         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48261         entry for aio_cancel and aio_cancel64.
48262         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48263         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48264         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48265         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48266         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48267         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48269         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48270         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48271         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48272         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48273         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48274         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48276 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48278         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48279         * nptl/pthread_mutex_lock.c: Likewise.
48280         * nptl/pthread_mutex_timedlock.c: Likewise.
48281         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48283 2014-07-01  Richard henderson  <rth@redhat.com>
48285         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48286         (__isnan, __isnanl): Remove.
48287         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48289         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48291 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48293         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48295 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48297         * resolv/nss_dns/dns-host.c (getanswer_r)
48298         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48300 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48302         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48303         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48304         undefine.
48305         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48306         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48308 2014-07-01  Roland McGrath <roland@hack.frob.com>
48310         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48311         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48313         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48314         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48316         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48317         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48318         ... here.
48319         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48320         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48322         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48323         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48324         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48325         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48327         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48328         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48329         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48330         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48331         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48332         Moved ...
48333         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48334         ... here.
48335         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48336         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48337         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48338         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48339         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48340         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48341         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48342         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48343         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48344         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48345         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48346         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48347         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48348         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48349         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48350         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48351         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48352         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48353         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48354         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48355         ... here.
48356         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48357         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48358         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48359         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48360         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48361         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48362         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48363         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48365 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48367         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48368         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48369         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48370         Add sysdep.
48372 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48374         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48376 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48378         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48379         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48381         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48383         * sysdeps/arm/libm-test-ulps: Regenerated.
48385 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48386             Roland McGrath <roland@hack.frob.com>
48388         * test-skeleton.c (signal_handler): Kill the whole process group
48389         before killing the child individually.
48390         (main): Report any failure on `setpgid'.
48392 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48394         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48395         from _TLS_H to _ARM_NPTL_TLS_H.
48396         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48397         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48399 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48401         [BZ #16539]
48402         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48403         (__expm1l): Return argument unchanged when small but not
48404         subnormal.
48406         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48407         include macro name.
48408         (_FP_UNPACK_RAW_1_P): Likewise.
48409         (_FP_PACK_RAW_1): Likewise.
48410         (_FP_PACK_RAW_1_P): Likewise.
48411         (_FP_MUL_MEAT_1_wide): Likewise.
48412         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48413         (_FP_MUL_MEAT_1_hard): Likewise.
48414         (_FP_DIV_MEAT_1_imm): Likewise.
48415         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48416         (_FP_DIV_MEAT_1_udiv): Likewise.
48417         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48418         (_FP_UNPACK_RAW_2): Likewise.
48419         (_FP_UNPACK_RAW_2_P): Likewise.
48420         (_FP_PACK_RAW_2): Likewise.
48421         (_FP_PACK_RAW_2_P): Likewise.
48422         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48423         (_FP_MUL_MEAT_2_wide): Likewise.
48424         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48425         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48426         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48427         (_FP_MUL_MEAT_2_gmp): Likewise.
48428         (_FP_DIV_MEAT_2_udiv): Likewise.
48429         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48430         (_FP_FRAC_SRL_4): Likewise.
48431         (_FP_FRAC_SRST_4): Likewise.
48432         (_FP_FRAC_SRS_4): Likewise.
48433         (_FP_UNPACK_RAW_4): Likewise.
48434         (_FP_UNPACK_RAW_4_P): Likewise.
48435         (_FP_PACK_RAW_4): Likewise.
48436         (_FP_PACK_RAW_4_P): Likewise.
48437         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48438         (_FP_MUL_MEAT_4_wide): Likewise.
48439         (_FP_MUL_MEAT_4_gmp): Likewise.
48440         (umul_ppppmnnn): Likewise.
48441         (_FP_DIV_MEAT_4_udiv): Likewise.
48442         (__FP_FRAC_ADD_4): Likewise.
48443         (__FP_FRAC_SUB_3): Likewise.
48444         (__FP_FRAC_SUB_4): Likewise.
48445         (__FP_FRAC_DEC_3): Likewise.
48446         (__FP_FRAC_DEC_4): Likewise.
48447         (__FP_FRAC_ADDI_4): Likewise.
48448         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48449         (_FP_FRAC_SRL_8): Likewise.
48450         (_FP_FRAC_SRS_8): Likewise.
48452         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48453         include macro name.
48454         (FP_UNPACK_RAW_EP): Likewise.
48455         (FP_PACK_RAW_E): Likewise.
48456         (FP_PACK_RAW_EP): Likewise.
48457         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48458         (_FP_ISSIGNAN): Likewise.
48459         (_FP_ADD_INTERNAL): Likewise.
48460         (_FP_FMA): Likewise.
48461         (_FP_CMP): Likewise.
48462         (_FP_SQRT): Likewise.
48463         (_FP_TO_INT): Likewise.
48464         (_FP_FROM_INT): Likewise.
48465         (FP_EXTEND): Likewise.
48466         (_FP_DIV_MEAT_N_loop): Likewise.
48468 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48470         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48471         throughout.
48473 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48475         [BZ #17097]
48476         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48477         result with correct sign in case of exponents that produce
48478         overflow except for X very close to 1.
48480 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48482         mktime: merge #if/#ifdef usage from glibc
48483         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48484         as that works with both Glibc's and Gnulib's style.
48485         See thread starting at Siddhesh Poyarekar's bug report at:
48486         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48488 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48490         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48491         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48492         * sysdeps/tile/tilegx/memmove.c: Remove file.
48494 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48496         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48497         abi-name definition.
48498         * scripts/soversions.awk: Do not handle or generate ABI lines.
48499         * shlib-versions: Remove ABI entries.
48500         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48501         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48503 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48505         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48506         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48507         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48508         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48509         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48510         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48512         Moved ...
48513         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48514         ... here.
48515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48516         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48518         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48519         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48520         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48521         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48522         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48523         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48524         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48525         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48526         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48527         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48528         Moved ...
48529         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48530         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48531         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48532         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48533         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48534         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48535         Moved ...
48536         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48537         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48538         Moved ...
48539         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48540         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48541         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48542         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48543         Moved ...
48544         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48545         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48546         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48547         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48548         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48549         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48550         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48551         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48552         Moved ...
48553         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48555         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48556         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48557         Moved ...
48558         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48559         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48560         Moved ...
48561         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48562         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48563         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48564         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48565         Moved ...
48566         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48567         ... here.
48568         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48569         Identical file removed.
48570         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48571         Moved ...
48572         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48573         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48574         Identical file removed.
48575         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48576         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48577         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48578         Moved ...
48579         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48580         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48581         Identical file removed.
48582         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48583         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48584         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48585         Identical file removed.
48586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48587         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48588         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48589         Identical file removed.
48590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48591         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48592         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48593         Identical file removed.
48594         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48595         Moved ...
48596         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48597         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48598         Identical file removed.
48599         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48600         Moved ...
48601         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48602         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48603         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48604         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48605         Identical file removed.
48606         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48607         Moved ...
48608         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48609         ... here.
48610         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48611         Identical file removed.
48612         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48613         Moved ...
48614         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48615         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48616         Identical file removed.
48617         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48618         Moved ...
48619         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48621         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48622         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48623         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48624         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48625         Moved ...
48626         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48627         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48628         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48630         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48631         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48632         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48633         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48634         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48636 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48638         [BZ #17092]
48639         * nscd/nscd.c (monitor_child): Return exit status of child
48640         instead of return value from wait syscall.
48642 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48644         * configure.ac (libc_commonpagesize): Remove variable.
48645         (libc_relro_required): Likewise.
48646         (libc_cv_z_relro): Remove configure test.
48647         * configure: Regenerated.
48648         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48649         variable.
48650         (libc_relro_required): Likewise.
48651         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48652         (libc_relro_required): Likewise.
48653         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48654         (libc_relro_required): Likewise.
48655         * sysdeps/arm/preconfigure: Regenerated.
48656         * sysdeps/ia64/preconfigure: Remove file.
48657         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48658         variable.
48659         (libc_relro_required): Likewise.
48661         [BZ #16561]
48662         [BZ #16562]
48663         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48664         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48665         recompute overflowing results in original rounding mode.
48666         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48667         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48668         recompute overflowing results in original rounding mode.
48669         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48670         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48671         recompute overflowing results in original rounding mode.
48672         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48673         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48674         recompute overflowing results in original rounding mode.
48675         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48676         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48677         recompute overflowing results in original rounding mode.
48678         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48679         (libc_feholdsetround_ctx): New macro.
48680         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48681         * sysdeps/i386/fpu/libm-test-ulps: Update.
48682         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48684 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48686         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48687         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48688         corresponding .cpsetup call.
48690 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48692         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48693         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48694         * sysdeps/arm/Makefile [$(subdir) = csu]
48695         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48696         (static-only-routines): Add aeabi_read_tp here.
48697         (shared-only-routines): Add libc-aeabi_read_tp here.
48698         (CFLAGS-libc-start.c): Add -fexceptions here.
48699         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48700         (sysdep_routines, static-only-routines, shared-only-routines):
48701         Don't add to these here.
48702         (CFLAGS-libc-start.c): Likewise.
48704         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48705         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48706         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48707         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48708         * sysdeps/arm/Makefile [$(subdir) = rt]
48709         (librt-sysdep_routines, librt-shared-only-routines):
48710         Append rt-aeabi_unwind_cpp_pr1 here.
48711         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48712         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48713         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48714         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48715         Append nptl-aeabi_unwind_cpp_pr1 here.
48716         (tests): Filter out tst-cleanupx4 here.
48717         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48718         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48719         Don't do those here.
48721 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48723         * scripts/list-sources.sh: Do not handle ports specially.
48725 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48727         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48728         * sysdeps/arm/feupdateenv.c: Likewise.
48730         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48732 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48734         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48735         trailing whitespace removed.
48736         * scripts/config.guess: Update to version 2014-03-23.
48737         * scripts/config.sub: Update to version 2014-05-01
48738         * scripts/install-sh: Update to version 2013-12-25.23.
48739         * scripts/move-if-change: Update from gnulib.
48741 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48743         * debug/memmove_chk.c: Remove pagecopy.h include.
48745 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48747         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48748         identical to gnulib mktime.
48750 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48752         * configure.ac: Do not test for machine being rs6000.  Do not test
48753         for powerpc*-*soft.
48754         * configure: Regenerated.
48756         [BZ #11505]
48757         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48758         test.
48759         * configure: Regenerated.
48760         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48761         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48762         Remove configure test.
48763         * sysdeps/arm/configure: Regenerated.
48764         * sysdeps/nptl/configure.ac: Do not check
48765         libc_cv_asm_cfi_directives.
48766         * sysdeps/nptl/configure: Regenerated.
48767         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48768         * sysdeps/x86_64/nptl/configure: Remove generated file.
48769         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48770         unconditional.
48771         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48773 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48775         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48776         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48777         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48778         it is defined.
48780         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48781         instead of whether it is defined.
48782         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48783         * sysdeps/hppa/dl-machine.h: Likewise.
48784         * sysdeps/ia64/dl-machine.h: Likewise.
48785         * sysdeps/m68k/dl-machine.h: Likewise.
48786         * sysdeps/microblaze/dl-machine.h: Likewise.
48787         * sysdeps/mips/dl-machine.: Likewise.
48788         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48789         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48790         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48791         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48792         * sysdeps/sh/dl-machine.h: Likewise.
48793         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48794         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48795         * sysdeps/tile/dl-machine.h: Likewise.
48796         * sysdeps/x86_64/dl-machine.h: Likewise.
48798         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48799         code.
48800         (verify_persistent_db): Likewise.
48802 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48805         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48807         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48809         Moved ...
48810         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48811         ... here.
48812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48813         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48815         Identical file removed.
48816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48817         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48819         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48821         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48823         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48825         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48827         Moved ...
48828         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48829         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48830         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48831         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48832         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48834         Moved ...
48835         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48837         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48839         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48840         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48841         Identical file removed.
48842         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48843         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48845         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48846         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48847         Moved ...
48848         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48849         ... here.
48850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48851         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48853         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48854         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48855         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48857         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48858         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48859         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48861         Moved ...
48862         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48864         Moved ...
48865         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48866         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48867         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48869         Moved ...
48870         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48872         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48874         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48875         folded into ...
48876         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48877         * sysdeps/unix/sysv/linux/s390/Versions
48878         (libpthread: GLIBC_2.19): New version set.
48879         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48880         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48881         (librt: GLIBC_2.3.3): New version set.
48882         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48883         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48884         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48885         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48886         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48887         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48888         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48889         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48890         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48891         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48892         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48893         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48894         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48895         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48896         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48897         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48898         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48899         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48900         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48901         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48902         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48903         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48904         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48905         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48906         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48907         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48908         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48909         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48910         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48911         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48912         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48913         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48916         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48918         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48919         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48920         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48921         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48922         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48923         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48924         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48925         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48926         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48928         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48929         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48930         (__libc_vfork): Define the function under this name.
48931         [!NOT_IN_libc] (__vfork): Make this an alias.
48932         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48933         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48934         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48935         (__libc_vfork): Define the function under this name.
48936         [!NOT_IN_libc] (__vfork): Make this an alias.
48937         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48938         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48939         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48941         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48942         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48944         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48945         code that was previously under [RESET_PID].
48946         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48947         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48948         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48950         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48951         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48952         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48953         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48954         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48955         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48956         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48957         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48958         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48959         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48960         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48961         Moved ...
48962         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48963         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48964         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48965         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48966         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48967         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48968         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48969         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48970         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48971         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48972         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48973         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48974         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48975         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48976         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48977         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48978         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48979         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48980         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48981         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48982         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48983         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48984         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48985         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48986         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48987         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48988         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48989         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48990         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48992 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48994         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48995         that was previously under [RESET_PID].
48996         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48998 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49000         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
49001         not undefine and redefine.
49002         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
49003         [O_CLOEXEC]: Make code unconditional.
49004         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
49005         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
49006         <kernel-features.h>.
49007         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
49008         conditional variable definition.
49009         (shm_open) [O_CLOEXEC]: Make code unconditional.
49010         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
49011         code.
49013         * configure.ac (USE_REGPARMS): Don't define here.
49014         * configure: Regenerated.
49015         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
49016         * sysdeps/i386/configure: Regenerated.
49018         * nptl/createthread.c: Don't include kernel-features.h.
49019         * nptl/pthread_cancel.c: Likewise.
49020         * nptl/pthread_condattr_setclock.c: Likewise.
49021         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
49022         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
49023         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
49024         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
49025         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
49026         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
49027         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
49028         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
49029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
49030         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
49031         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
49032         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
49033         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
49034         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
49035         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
49036         * nscd/gai.c: Likewise.
49037         * nss/nss_db/db-open.c: Likewise.
49038         * sysdeps/generic/ldsodefs.h: Likewise.
49039         * sysdeps/sh/nptl/tls.h: Likewise.
49040         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
49041         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
49042         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
49043         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
49044         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
49045         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
49046         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
49047         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49048         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49049         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
49050         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
49051         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49052         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
49053         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
49054         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
49055         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
49056         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
49057         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
49058         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
49059         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
49060         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
49061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
49062         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
49063         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
49064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
49065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
49066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
49067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
49068         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
49069         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
49070         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
49071         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
49072         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
49073         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49074         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49075         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
49076         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49077         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
49078         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
49079         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
49080         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49081         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
49082         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
49083         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49084         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
49085         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
49086         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
49087         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
49088         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
49089         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
49090         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
49091         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
49092         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
49093         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
49094         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
49095         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49096         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
49097         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
49098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
49100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
49101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
49102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
49103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
49104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
49105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
49106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
49109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
49110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
49111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
49112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
49118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
49119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
49120         * sysdeps/unix/sysv/linux/pread.c: Likewise.
49121         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
49122         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
49123         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
49124         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
49125         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
49126         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
49127         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
49128         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
49129         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
49130         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
49131         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
49132         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
49133         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
49134         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
49135         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
49136         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49137         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
49138         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
49139         * sysdeps/unix/sysv/linux/system.c: Likewise.
49140         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
49141         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
49142         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49143         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49144         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49145         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
49146         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49148         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
49149         * configure: Regenerated.
49150         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
49152         * configure.ac (base_machine): Do not set specially for particular
49153         machines here.
49154         * configure: Regenerated.
49155         * sysdeps/powerpc/preconfigure: Move machine and base_machine
49156         settings from configure.ac.
49157         * sysdeps/i386/preconfigure: New file.
49158         * sysdeps/s390/preconfigure: Likewise.
49159         * sysdeps/sh/preconfigure: Likewise.
49160         * sysdeps/sparc/preconfigure: Likewise.
49162 2014-06-25  Roland McGrath  <roland@hack.frob.com>
49164         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49165         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49166         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49167         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49168         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49169         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49170         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49171         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49172         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49173         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49174         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49175         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49176         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49179         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49180         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49181         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49182         * sysdeps/sparc/sparc64/Makefile: ... appended here.
49184         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49185         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49186         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49187         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49188         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49189         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49190         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49191         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49192         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49193         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49194         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49195         * sysdeps/sparc/sparc32/sem_post.c: ... here.
49196         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49197         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49198         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49199         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49200         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49201         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49202         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49203         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49204         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49205         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49206         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49207         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49209         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49210         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49211         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49212         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49213         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49214         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49215         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49216         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49217         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49219         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49221         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49224         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49226         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49227         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49228         Moved ...
49229         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49230         ... here.
49231         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49232         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49234         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49235         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49236         Moved ...
49237         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49239         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49241         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49243         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49245         Moved ...
49246         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49247         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49248         Moved ...
49249         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49250         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49251         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49252         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49253         Moved ...
49254         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49256         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49258         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49260         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49262         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49264         Moved ...
49265         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49266         ... here.
49267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49268         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49270         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49272         Moved ...
49273         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49275         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49277         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49279         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49281         Moved ...
49282         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49283         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49284         Moved ...
49285         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49287         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49289         Moved ...
49290         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49291         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49292         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49293         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49294         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49296 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49298         * timezone/checktab.awk: Update from tzcode 2014e.
49299         * timezone/private.h: Likewise.
49300         * timezone/tzfile.h: Likewise.
49301         * timezone/zdump.c: Likewise.
49302         * timezone/zic.c: Likewise.
49304         * sysdeps/unix/sysv/linux/kernel-features.h
49305         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49306         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49307         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49308         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49309         Remove conditional code.
49311 2014-06-25  Will Newton  <will.newton@linaro.org>
49313         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49314         (_dl_arm_cap_flags): Add HWCAP2 values.
49315         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49316         (_DL_HWCAP_COUNT): Increase to 37.
49317         (_DL_HWCAP_LAST): New define.
49318         (_DL_HWCAP2_LAST): New define.
49319         (_dl_procinfo): Add support for printing
49320         AT_HWCAP2 entries.
49321         (_dl_string_hwcap): Use _dl_hwcap_string.
49323 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49327 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49329         * README: Do not mention ports directory.
49331         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49332         Remove macro.
49333         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49334         <kernel-features.h>.
49335         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49336         conditional variable definition.
49337         (__futimes): Update comment.
49338         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49339         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49341         [BZ #16560]
49342         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49343         arguments close to 0.
49344         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49345         Likewise.
49346         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49347         Likewise.
49348         * math/auto-libm-test-in: Add more tests of exp10.
49349         * math/auto-libm-test-out: Regenerated.
49350         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49352         * sysdeps/unix/sysv/linux/kernel-features.h
49353         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49354         * sysdeps/unix/sysv/linux/readv.c: Do not include
49355         <kernel-features.h>.
49356         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49357         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49358         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49359         unconditional.
49360         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49361         conditional code.
49362         * sysdeps/unix/sysv/linux/writev.c: Do not include
49363         <kernel-features.h>.
49364         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49365         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49366         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49367         unconditional.
49368         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49369         conditional code.
49371 2014-06-25  Will Newton  <will.newton@linaro.org>
49373         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49374         comment changes throughout the file.  Remove checks
49375         for HAVE_*_H definitions that are not required.
49376         (__gen_tempname): Call abort if an unknown kind value is
49377         passed.
49379 2014-06-25  Andreas Schwab  <schwab@suse.de>
49381         [BZ #17086]
49382         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49383         scalbln, scalblnf, scalblnl in libc.
49385 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49387         [BZ #17086]
49388         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49389         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49390         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49392 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49394         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49395         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49396         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49397         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49398         Update #include.
49399         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49400         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49401         Update #include.
49402         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49403         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49404         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49405         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49406         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49407         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49408         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49409         * sysdeps/x86/bits/semaphore.h: ... here.
49410         * sysdeps/x86/nptl/elide.h: Moved ...
49411         * sysdeps/x86/elide.h: ... here.
49412         * sysdeps/x86_64/nptl/Implies: File removed.
49413         * sysdeps/i386/nptl/Implies: File removed.
49415 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49417         [BZ #16539]
49418         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49419         return the argument for normal arguments with exponent below -64.
49420         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49421         Likewise.
49422         * math/auto-libm-test-in: Add another test of expm1.
49423         * math/auto-libm-test-out: Regenerated.
49425         [BZ #16287]
49426         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49427         calling __erfcl for arguments at least 16.
49428         * math/auto-libm-test-in: Add more tests of erf.
49429         * math/auto-libm-test-out: Regenerated.
49431         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49432         individual architectures.
49433         * sysdeps/unix/sysv/linux/configure: Regenerated.
49434         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49435         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49436         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49437         (ldd_rewrite_script): Define variable.
49438         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49440         file.
49441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49442         generated file.
49443         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49444         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49445         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49446         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49447         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49448         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49449         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49450         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49452 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49454         [BZ #17084]
49455         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49456         Rename member __data.d to __data.__elision_data.
49458 2014-06-24  Wilco  <wdijkstr@arm.com>
49460         * NEWS: Add 16918 to fixed bug list.
49462 2014-06-24  Wilco  <wdijkstr@arm.com>
49464         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49466 2014-06-24  Wilco  <wdijkstr@arm.com>
49468         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49469         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49470         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49471         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49472         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49473         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49474         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49475         Use _FPU_MASK_RM.
49477 2014-06-24  Wilco  <wdijkstr@arm.com>
49479         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49481 2014-06-24  Wilco  <wdijkstr@arm.com>
49483         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49484         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49485         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49486         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49488 2014-06-24  Wilco  <wdijkstr@arm.com>
49490         [BZ #16918]
49491         * sysdeps/arm/feupdateenv.c (feupdateenv):
49492         Rewrite to reduce FPSCR accesses and fix return value.
49494 2014-06-24  Wilco  <wdijkstr@arm.com>
49496         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49497         Optimize to avoid unnecessary FPSCR writes.
49498         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49499         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49500         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49501         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49503 2014-06-24  Wilco  <wdijkstr@arm.com>
49505         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49506         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49507         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49508         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49509         Call libc_fetestexcept_vfp.
49510         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49511         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49512         __SOFTFP__ ifdef so that they can be built for softfp.
49514 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49516         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49517         argument type signed char.
49519         * Makerules (check-abi): Dump diff of symlist if the test
49520         fails.
49522 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49524         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49525         using abort.
49527         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49528         Remove unused variable ST.
49530 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49532         [BZ #16354]
49533         [BZ #17061]
49534         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49535         small arguments before calling __expm1.
49536         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49537         small arguments before calling __expm1f.
49538         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49539         small arguments before calling __expm1l.
49540         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49541         Likewise.
49542         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49543         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49544         spurious underflow for some cosh tests.
49545         * math/auto-libm-test-out: Regenerated.
49546         * sysdeps/i386/fpu/libm-test-ulps: Update.
49548         [BZ #17050]
49549         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49550         (__ieee754_y1): Set errno if return value overflows.
49551         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49552         (__ieee754_y1f): Set errno if return value overflows.
49553         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49554         (__ieee754_y1l): Set errno if return value overflows.
49555         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49556         (__ieee754_y1l): Set errno if return value overflows.
49557         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49558         * math/auto-libm-test-out: Regenerated.
49560         * math/gen-auto-libm-tests.c: Document use of
49561         ignore-zero-inf-sign.
49562         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49563         (input_flags): Add ignore-zero-inf-sign.
49564         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49565         * math/gen-libm-test.pl (generate_testfile): Handle
49566         ignore-zero-inf-sign.
49567         * math/auto-libm-test-in: Mark some cpow tests with
49568         ignore-zero-inf-sign and some with xfail-rounding.
49569         * math/auto-libm-test-out: Regenerated.
49570         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49571         * sysdeps/i386/fpu/libm-test-ulps: Update.
49572         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49574         [BZ #16315]
49575         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49576         overflowing or underflowing operations take place with sign of
49577         result.
49578         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49579         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49580         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49581         (__ieee754_pow): Recompute overflowing and underflowing results in
49582         original rounding mode.
49583         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49584         (__powl_helper): Allow negative argument X and scale negated value
49585         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49586         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49587         overflowing or underflowing operations take place with sign of
49588         result.
49589         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49590         Include <math.h>.
49591         * math/auto-libm-test-in: Add more tests of pow.
49592         * math/auto-libm-test-out: Regenerated.
49593         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49594         (pow_tonearest_test_data): Remove.
49595         (pow_test_tonearest): Likewise.
49596         (pow_towardzero_test_data): Likewise.
49597         (pow_test_towardzero): Likewise.
49598         (pow_downward_test_data): Likewise.
49599         (pow_test_downward): Likewise.
49600         (pow_upward_test_data): Likewise.
49601         (pow_test_upward): Likewise.
49602         (main): Don't call removed functions.
49603         * sysdeps/i386/fpu/libm-test-ulps: Update.
49604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49606 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49609         Moved ...
49610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49612         Moved ...
49613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49615         Moved ...
49616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49618         Moved ...
49619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49621         File removed.
49622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49623         File removed.
49624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49625         File removed.
49626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49627         File removed.
49628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49629         File removed.
49630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49631         File removed.
49632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49633         File removed.
49634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49635         File removed.
49636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49637         File removed.
49638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49639         File removed.
49640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49641         File removed.
49642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49643         File removed.
49644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49645         Moved ...
49646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49648         Moved ...
49649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49650         ... here.
49651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49652         Moved ...
49653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49655         Moved ...
49656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49658         Moved ...
49659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49661         Moved ...
49662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49664         Moved ...
49665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49667         Moved ...
49668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49670         Moved ...
49671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49674         ... here.
49675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49676         Moved ...
49677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49679         Moved ...
49680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49681         ... here.
49682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49683         Moved ...
49684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49685         ... here.
49686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49687         Moved ...
49688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49689         ... here.
49690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49691         Moved ...
49692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49694         Moved ...
49695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49699         Moved ...
49700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49701         ... here.
49702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49703         Moved ...
49704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49705         ... here.
49706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49707         Moved ...
49708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49710         Moved ...
49711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49713         Moved ...
49714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49716         Moved ...
49717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49719         Moved ...
49720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49721         ... here.
49722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49723         Moved ...
49724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49726         Moved ...
49727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49729         Moved ...
49730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49732         Moved ...
49733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49737         Moved ...
49738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49740         Moved ...
49741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49743         Moved ...
49744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49745         ... here.
49746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49747         Moved ...
49748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49749         ... here.
49750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49751         Moved ...
49752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49753         ... here.
49754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49755         Moved ...
49756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49758         Moved ...
49759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49761         Moved ...
49762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49764         Moved ...
49765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49766         ... here.
49767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49768         Moved ...
49769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49770         ... here.
49771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49772         Moved ...
49773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49774         ... here.
49775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49776         Moved ...
49777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49779         Moved ...
49780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49782 2014-06-23  Will Newton  <will.newton@linaro.org>
49783             Wilco  <wdijkstr@arm.com>
49785         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49786         implementation.  Include get-rounding-mode.h.
49787         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49788         [!libc_feholdsetround_noex_ctx]: Define
49789         libc_feholdsetround_noex_ctx.
49790         [!libc_feholdsetround_noexf_ctx]: Define
49791         libc_feholdsetround_noexf_ctx.
49792         [!libc_feholdsetround_noexl_ctx]: Define
49793         libc_feholdsetround_noexl_ctx.
49794         (libc_feholdsetround_ctx): New function.
49795         (libc_feresetround_ctx): New function.
49796         (libc_feholdsetround_noex_ctx): New function.
49797         (libc_feresetround_noex_ctx): New function.
49799 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49801         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49802         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49803         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49804         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49805         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49806         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49808         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49809         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49810         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49811         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49812         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49813         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49814         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49815         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49816         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49817         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49818         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49819         Moved ...
49820         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49821         ... here.
49822         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49823         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49824         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49825         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49826         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49827         Moved ...
49828         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49829         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49830         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49831         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49832         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49833         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49834         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49835         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49836         Moved ...
49837         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49838         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49839         Moved ...
49840         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49841         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49842         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49843         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49844         Moved ...
49845         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49846         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49847         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49848         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49849         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49850         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49851         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49852         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49853         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49854         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49855         Moved ...
49856         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49857         ... here.
49858         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49859         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49860         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49861         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49862         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49863         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49864         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49865         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49866         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49867         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49868         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49869         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49870         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49871         Moved ...
49872         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49873         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49874         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49875         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49876         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49877         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49878         Moved ...
49879         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49880         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49881         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49882         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49883         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49885         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49886         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49887         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49888         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49889         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49890         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49891         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49892         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49893         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49894         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49895         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49896         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49897         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49898         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49899         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49900         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49901         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49902         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49903         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49904         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49905         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49906         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49907         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49908         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49909         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49910         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49911         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49912         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49914 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49916         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49917         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49918         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49919         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49920         (IPV6_PMTUDISC_INTERFACE): Likewise.
49921         (IPV6_PMTUDISC_OMIT): Likewise.
49923 2014-06-23  Andreas Schwab  <schwab@suse.de>
49925         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49926         Remove unused errout label.
49928 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49930         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49931         macro: hardware supports Vector Crypto instructions.
49933 2014-06-23  Will Newton  <will.newton@linaro.org>
49935         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49936         rather than __builtin_expect.
49938         * elf/dl-lookup.c (undefined_msg): Remove variable.
49939         (_dl_lookup_symbol_x): Replace undefined_msg with string
49940         literal.
49942         * elf/dl-lookup.c (do_lookup_unique): New function.
49943         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49944         to a separate function.
49946 2014-06-23  Andreas Schwab  <schwab@suse.de>
49948         [BZ #17079]
49949         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49950         before reading the next line.
49952 2014-06-23  Will Newton  <will.newton@linaro.org>
49954         * test-skeleton.c (signal_handler): Use printf and %m
49955         rather than perror.  Use printf rather than fprintf to
49956         stderr.  Use puts rather than fputs to stderr.
49957         (main): Likewise.
49959 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
49961         * nscd/nscd.c (thread_info_t): Remove typedef.
49962         (thread_info): Remove variable.
49964 2014-06-21  Allan McRae  <allan@archlinux.org>
49966         * NEWS: Mention CVE-2014-4043.
49968 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49970         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49971         * nptl/smp.h: ... here.
49973         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49975         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49976         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49977         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49978         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49980         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49981         * nptl/stack-aliasing.h: New file.
49982         * sysdeps/i386/i686/stack-aliasing.h: New file.
49983         * sysdeps/i386/i686/nptl/Makefile: File removed.
49984         * sysdeps/x86_64/stack-aliasing.h: New file.
49985         * sysdeps/x86_64/nptl/Makefile
49986         (CFLAGS-pthread_create.c): Variable removed.
49988         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49989         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49990         old file.
49991         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49992         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49993         old file.
49995 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49997         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49998         (__ASSUME_SIGFRAME_V2): Remove macro.
49999         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
50000         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
50001         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
50002         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
50003         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
50004         Declare as function.  Remove conditional macro definitions.
50005         (__default_rt_sa_restorer): Likewise.
50006         (__default_sa_restorer_v1): Remove declaration.
50007         (__default_sa_restorer_v2): Likewise.
50008         (__default_rt_sa_restorer_v1): Likewise.
50009         (__default_rt_sa_restorer_v2): Likewise.
50010         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
50011         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
50012         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
50014 2014-06-20  Roland McGrath  <roland@hack.frob.com>
50016         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
50017         (libpthread-routines): Add sysdep.
50018         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
50019         * sysdeps/unix/sysv/linux/sparc/Versions
50020         (libpthread: GLIBC_2.3.3): New version set.
50021         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
50022         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
50023         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
50024         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
50025         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
50026         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
50027         Moved ...
50028         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
50029         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
50030         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
50031         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
50032         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
50033         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
50034         * sysdeps/sparc/nptl/sem_init.c: ... here.
50035         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
50036         * sysdeps/sparc/nptl/sem_post.c: ... here.
50037         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
50038         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
50039         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
50040         * sysdeps/sparc/nptl/sem_wait.c: ... here.
50041         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
50042         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
50043         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
50044         (libpthread-routines): Add cpu_relax.
50045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
50046         File removed.
50047         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
50048         (librt: GLIBC_2.3.3): New version set.
50049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
50050         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
50051         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
50052         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
50053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
50054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
50055         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
50056         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
50057         Moved ...
50058         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
50059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
50060         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
50061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
50062         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
50064         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
50065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
50066         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
50067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
50068         Moved ...
50069         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
50070         Update #include.
50071         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
50072         Moved ...
50073         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
50074         Update #include.
50075         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
50076         Moved ...
50077         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
50078         Update #include.
50079         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
50080         Moved ...
50081         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
50082         Update #include.
50083         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
50084         Moved ...
50085         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
50086         Update #include.
50087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
50088         Moved ...
50089         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
50090         Update #include.
50091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
50092         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
50093         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
50094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
50095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
50096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
50097         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
50098         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
50099         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
50100         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
50101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50102         Moved ...
50103         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
50104         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
50105         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
50106         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
50107         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
50109 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50111         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
50112         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
50113         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
50114         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
50115         * nscd/nscd.c: Likewise.
50116         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
50117         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
50118         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
50119         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
50121         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
50122         <kernel-features.h>.
50123         (init_mq_netlink): Remove conditional have_sock_cloexec
50124         definitions.  Remove code conditional on have_sock_cloexec < 0.
50125         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
50126         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
50127         * sysdeps/unix/sysv/linux/opensock.c: Do not include
50128         <kernel-features.h>.
50129         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
50130         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
50132 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50134         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50135         Add tests for memset_chk and memset.
50137         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
50138         with AVX2_Usable.
50140 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
50142         [BZ #16046]
50143         * elf/tst-dl-iter-static.c: New file.
50144         * elf/Makefile (tests-static): Add tst-dl-iter-static.
50146         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
50147         error.
50149 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50151         * sysdeps/unix/sysv/linux/kernel-features.h
50152         (__ASSUME_F_GETOWN_EX): Remove macro.
50153         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
50154         <kernel-features.h>.
50155         (miss_F_GETOWN_EX): Remove variable or macro.
50156         (do_fcntl): Do not check miss_F_GETOWN_EX.
50157         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
50159         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50160         Remove macro.
50161         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50162         [!__ASSUME_AT_RANDOM]: Remove conditional code.
50163         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50165         * sysdeps/unix/sysv/linux/kernel-features.h
50166         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50167         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50168         [ADJ_OFFSET_SS_READ]: Make code unconditional.
50169         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50171 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
50173         [BZ #17075]
50174         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50175         Fix calculation of the symbol's value.
50176         * sysdeps/arm/tst-armtlsdescloc.c: New file.
50177         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50178         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50179         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50180         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50181         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50182         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50183         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50184         (modules-names): Add `tst-armtlsdescmod',
50185         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50186         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50187         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50188         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50189         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50190         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50191         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50192         ($(objpfx)tst-armtlsdescloc): New dependency.
50193         ($(objpfx)tst-armtlsdescextnow): Likewise.
50194         ($(objpfx)tst-armtlsdescextlazy): Likewise.
50195         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50196         TLS scheme support.
50197         * sysdeps/arm/configure: Regenerate.
50199 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50201         * include/fcntl.h (__atfct_seterrno): Remove prototype.
50202         (__atfct_seterrno_2): Likewise.
50203         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50204         <kernel-features.h>.
50205         (__ASSUME_ATFCTS): Do not undefine and redefine.
50206         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50207         (__have_atfcts): Remove conditional definition.
50208         (__fxstatat([__NR_fstatat64]: Make code unconditional.
50209         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50210         unreachable if [__ASSUME_ATFCTS].
50211         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50212         not undefine and redefine.
50213         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50214         <kernel-features.h>.
50215         (faccessat) [__NR_faccessat]: Make code unconditional.
50216         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50217         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50218         <kernel-features.h>.
50219         (fchmodat) [__NR_fchmodat]: Make code unconditional.
50220         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50221         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50222         <kernel-features.h>.
50223         (fchownat) [__NR_fchownat]: Make code unconditional.
50224         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50225         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50226         <kernel-features.h>.
50227         (futimesat) [__NR_futimesat]: Make code unconditional.
50228         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50229         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50230         <kernel-features.h>.
50231         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50232         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50233         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50234         <kernel-features.h>.
50235         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50236         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50237         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50238         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50239         <kernel-features.h>.
50240         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50241         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50242         * sysdeps/unix/sysv/linux/linkat.c: Do not include
50243         <kernel-features.h>.
50244         (linkat) [__NR_linkat]: Make code unconditional.
50245         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50246         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50247         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50248         <kernel-features.h>.
50249         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50250         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50251         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50252         <kernel-features.h>.
50253         (mkdirat) [__NR_mkdirat]: Make code unconditional.
50254         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50255         * sysdeps/unix/sysv/linux/openat.c: Do not include
50256         <kernel-features.h>.
50257         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50258         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50259         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50260         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50261         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50262         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50263         <kernel-features.h>.
50264         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50265         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50266         result of INLINE_SYSCALL directly, not via int variable.
50267         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50268         <kernel-features.h>.
50269         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50270         (renameat) [__NR_renameat]: Make code unconditional.
50271         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50272         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50273         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50274         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50275         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50276         (__ASSUME_ATFCTS): Do not undefine and redefine.
50277         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50278         <kernel-features.h>.
50279         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50280         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50281         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50282         <kernel-features.h>.
50283         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50284         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50285         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50286         (__ASSUME_ATFCTS): Do not undefine and redefine.
50287         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50288         <kernel-features.h>.
50289         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50290         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50291         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50292         <kernel-features.h>.
50293         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50294         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50296 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50298         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50300 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50302         [BZ #17069]
50303         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50304         constructed tree before returning error.
50305         * posix/bug-regexp36.c: Expand test case.
50307 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50309         [BZ #6803]
50310         * math/libm-test.inc (scalbln_test_date):
50311         Add errno expectations.
50312         * math/w_scalblnf.c: New File.
50313         Add wrapper which checks for setting errno to ERANGE.
50314         Add weak_alias for corresponding scalbln function.
50315         * math/w_scalbln.c: Likewise.
50316         * math/w_scalblnl.c: Likewise.
50317         * math/Makefile (libm-calls): Add w_scalbln.
50318         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50319         Remove weak_alias for corresponding scalbln function.
50320         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50321         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50322         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50323         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50324         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50325         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50326         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50327         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50328         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50329         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50330         Remove long_double_symbol for scalblnl function in libm, libc.
50331         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50332         Add wrapper which checks for setting errno to ERANGE.
50333         Add long_double_symbol for scalblnl function in libm, libc.
50334         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50335         Remove long_double_symbol for scalblnl in libm.
50336         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50337         Add wrapper which checks for setting errno to ERANGE.
50338         Add long_double_symbol for scalblnl function in libm.
50339         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50340         Do not use wrapper because of own implementation.
50342 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50344         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50345         3 bytes for __pad1 for x32.
50346         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50348 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50349             H.J. Lu  <hongjiu.lu@intel.com>
50351         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50352         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50353         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50354         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50355         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50357 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50359         [BZ #17069]
50360         * posix/regcomp.c (parse_expression): Deallocate partially
50361         constructed tree before returning error.
50362         * posix/Makefile.c (tests): Add bug-regex36.
50363         (generated): Add bug-regex36.mtrace.
50364         (tests-special): Add $(objpfx)bug-regex36-mem.out
50365         (bug-regex36-ENV): New variable.
50366         ($(objpfx)bug-regex36-mem.out): New rule.
50367         * posix/bug-regex36.c: New file.
50369 2014-06-19  Will Newton  <will.newton@linaro.org>
50371         * malloc/malloc.c (systrim): If extra is zero then return
50372         early.
50374 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50376         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50378 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50380         * sysdeps/aarch64/strchr.S: New file.
50382 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50384         [BZ #17022]
50385         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50386         from arguments -2 or below.
50387         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50388         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50390 2014-06-18  Andreas Schwab  <schwab@suse.de>
50392         [BZ #17062]
50393         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50394         of a bracket expr not to run off the end of the string.
50395         * posix/Makefile (tests): Add tst-fnmatch3.
50396         * posix/tst-fnmatch3.c: New file.
50398 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50400         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50401         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50402         [$(cross-compiling) = no]: Likewise.
50403         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50404         [$(cross-compiling) = no]: Likewise.
50406 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50408         [BZ #17031]
50409         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50410         double, adjusted for any remainder from the high double.
50411         * math/libm-test.inc (nearbyint): Add tests.
50412         (rint): Likewise.
50414 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50416         * nptl/sysdeps/powerpc/Makefile: Moved ...
50417         * sysdeps/powerpc/nptl/Makefile: ... here.
50418         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50419         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50420         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50421         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50422         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50423         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50424         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50425         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50426         * nptl/sysdeps/powerpc/tls.h: Moved ...
50427         * sysdeps/powerpc/nptl/tls.h: ... here.
50429 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50431         [BZ #16681]
50432         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50433         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50434         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50435         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50436         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50437         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50438         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50439         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50440         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50442 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50444         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50446 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50448         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50449         defined operator.
50451         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50452         $TIMEOUTFACTOR.
50454 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50456         [BZ #17058]
50457         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50458         non-executed part of the test.
50460 2014-06-16  Andreas Schwab  <schwab@suse.de>
50462         * string/bits/string2.h (strdup, strndup): Update feature guard.
50464 2014-06-14  David S. Miller  <davem@davemloft.net>
50466         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50468 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50470         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50471         that was previously under [RESET_PID].
50472         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50474         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50475         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50476         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50477         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50478         (__libc_vfork): New strong alias.
50479         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50481 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50483         * sysdeps/generic/elide.h: New file.
50485 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50487         * Makefile (installed-headers): Adjust path of pthread.h header.
50489 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50491         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50492         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50493         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50494         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50496         * nptl/sysdeps/s390/Makefile: Moved ...
50497         * sysdeps/s390/nptl/Makefile: ... here.
50498         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50499         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50500         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50501         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50502         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50503         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50504         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50505         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50506         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50507         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50508         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50509         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50510         * nptl/sysdeps/s390/tls.h: Moved ...
50511         * sysdeps/s390/nptl/tls.h: ... here.
50513         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50514         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50516 2014-06-13  David S. Miller  <davem@davemloft.net>
50518         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50521         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50522         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50525         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50526         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50527         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50528         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50529         Remove RESET_PID cpp guards.
50530         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50531         Remove RESET_PID cpp guards.
50532         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50534 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50536         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50537         __sp to uintptr_t.
50539 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50541         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50546         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50551         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50556         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50562         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50563         (pthread_rwlock_rdlock): Add elision.
50564         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50565         (pthread_rwlock_wrlock): Add elision.
50566         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50567         (pthread_rwlock_trywrlock): Add elision.
50568         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50569         (pthread_rwlock_tryrdlock): Add elision.
50570         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50571         (pthread_rwlock_tryrdlock): Add elision unlock.
50572         * nptl/sysdeps/pthread/pthread.h:
50573         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50574         (PTHREAD_RWLOCK_INITIALIZER,
50575         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50576         Handle new elision field.
50577         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50578         * sysdeps/arm/nptl/bits/pthreadtypes.h
50579         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50580         * sysdeps/sh/nptl/bits/pthreadtypes.h
50581         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50582         * sysdeps/tile/nptl/bits/pthreadtypes.h
50583         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50584         * sysdeps/a/nptl/bits/pthreadtypes.h
50585         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50586         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50587         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50588         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50589         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50590         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50591         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50592         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50593         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50594         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50595         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50596         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50597         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50598         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50599         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50600         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50601         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50602         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50603         (elision_init): Set try_xbegin to zero when no RTM.
50604         * sysdeps/x86/nptl/bits/pthreadtypes.h
50605         (pthread_rwlock_t): Change __pad1 to __rwelision.
50606         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50608 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50610         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50611         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50612         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50613         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50615 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50617         [BZ #16996]
50618         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50619         that the cached result has been set before returning it.
50621 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50623         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50624         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50625         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50626         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50627         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50628         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50630         * nptl/sysdeps/sparc/Makefile: Moved ...
50631         * sysdeps/sparc/nptl/Makefile: ... here.
50632         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50633         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50634         * nptl/sysdeps/sparc/tls.h: Moved ...
50635         * sysdeps/sparc/nptl/tls.h: ... here.
50636         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50637         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50638         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50639         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50640         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50641         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50642         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50643         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50644         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50645         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50646         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50647         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50648         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50649         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50650         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50651         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50652         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50653         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50654         Update #include.
50655         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50656         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50657         Update #include.
50658         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50659         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50660         Update #include.
50661         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50662         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50663         Update #include.
50665         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50667         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50668         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50670         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50671         (struct list_links): Type removed.
50672         (struct thread_node, struct timer_node): Replace struct list_links
50673         with struct list_head.
50674         (list_unlink_ip): Likewise.
50675         * sysdeps/pthread/timer_routines.c
50676         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50677         (list_append, list_insbefore): Likewise.
50678         (list_init): Function removed.
50679         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50680         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50681         * sysdeps/pthread/Makefile: ... here, new file.
50683         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50684         * sysdeps/nptl/Implies: ... here.
50685         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50686         * nptl/sysdeps/pthread/list.h: Moved ...
50687         * include/list.h: ... here.
50688         * nptl/sysdeps/pthread/createthread.c: Moved ...
50689         * nptl/createthread.c: ... here.
50690         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50691         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50692         * nptl/pt-longjmp.c: ... here.
50693         * nptl/sysdeps/pthread/Makefile: Moved ...
50694         * sysdeps/nptl/Makefile: ... here.
50695         * nptl/sysdeps/pthread/Subdirs: Moved ...
50696         * sysdeps/nptl/Subdirs: ... here.
50697         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50698         * sysdeps/nptl/aio_misc.h: ... here.
50699         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50700         * sysdeps/nptl/bits/libc-lock.h: ... here.
50701         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50702         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50703         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50704         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50705         * nptl/sysdeps/pthread/configure: Moved ...
50706         * sysdeps/nptl/configure: ... here.
50707         * nptl/sysdeps/pthread/configure.ac: Moved ...
50708         * sysdeps/nptl/configure.ac: ... here.
50709         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50710         * sysdeps/nptl/gai_misc.h: ... here.
50711         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50712         * sysdeps/nptl/librt-cancellation.c: ... here.
50713         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50714         * sysdeps/nptl/malloc-machine.h: ... here.
50715         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50716         * sysdeps/nptl/pthread-functions.h: ... here.
50717         * nptl/sysdeps/pthread/pthread.h: Moved ...
50718         * sysdeps/nptl/pthread.h: ... here.
50719         * nptl/sysdeps/pthread/setxid.h: Moved ...
50720         * sysdeps/nptl/setxid.h: ... here.
50721         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50722         * sysdeps/nptl/sigfillset.c: ... here.
50723         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50724         * sysdeps/nptl/tcb-offsets.h: ... here.
50725         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50726         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50727         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50728         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50729         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50730         * sysdeps/pthread/allocalim.h: ... here.
50731         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50732         * sysdeps/pthread/bits/sigthread.h: ... here.
50733         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50734         * sysdeps/pthread/flockfile.c: ... here.
50735         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50736         * sysdeps/pthread/ftrylockfile.c: ... here.
50737         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50738         * sysdeps/pthread/funlockfile.c: ... here.
50739         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50740         * sysdeps/pthread/posix-timer.h: ... here.
50741         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50742         * sysdeps/pthread/timer_create.c: ... here.
50743         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50744         * sysdeps/pthread/timer_delete.c: ... here.
50745         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50746         * sysdeps/pthread/timer_getoverr.c: ... here.
50747         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50748         * sysdeps/pthread/timer_gettime.c: ... here.
50749         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50750         * sysdeps/pthread/timer_routines.c: ... here.
50751         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50752         * sysdeps/pthread/timer_settime.c: ... here.
50753         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50754         * sysdeps/pthread/tst-timer.c: ... here.
50755         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50756         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50758         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50759         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50761         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50762         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50763         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50764         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50765         Update #include target.
50766         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50767         * sysdeps/i386/i686/nptl/Makefile: ... here.
50768         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50769         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50770         Update #include target.
50771         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50772         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50773         * nptl/sysdeps/i386/Makefile: Moved ...
50774         * sysdeps/i386/nptl/Makefile: ... here.
50775         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50776         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50777         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50778         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50779         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50780         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50781         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50782         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50783         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50784         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50785         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50786         * nptl/sysdeps/i386/tls.h: Moved ...
50787         * sysdeps/i386/nptl/tls.h: ... here.
50789         * sysdeps/sh/Makefile [$(subdir) = csu]
50790         (gen-as-const-headers): Add tcb-offsets.sym.
50791         * nptl/sysdeps/sh/Makefile: File removed.
50792         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50793         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50794         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50795         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50796         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50797         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50798         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50799         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50800         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50801         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50802         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50803         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50804         * nptl/sysdeps/sh/tls.h: Moved ...
50805         * sysdeps/sh/nptl/tls.h: ... here.
50806         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50807         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50808         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50809         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50810         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50811         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50812         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50813         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50814         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50815         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50816         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50817         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50818         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50819         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50820         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50821         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50822         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50823         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50824         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50825         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50826         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50827         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50828         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50829         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50830         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50831         Moved ...
50832         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50833         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50834         Moved ...
50835         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50836         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50837         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50838         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50839         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50840         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50841         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50842         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50843         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50844         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50845         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50846         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50847         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50848         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50849         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50850         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50851         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50852         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50853         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50855 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50857         * posix/spawn_faction_addopen.c: Include string.h.
50859 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50861         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50862         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50863         * nptl/sysdeps/x86_64/Makefile: Moved ...
50864         * sysdeps/x86_64/nptl/Makefile: ... here.
50865         * nptl/sysdeps/x86_64/configure: Moved ...
50866         * sysdeps/x86_64/nptl/configure: ... here.
50867         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50868         * sysdeps/x86_64/nptl/configure.ac: ... here.
50869         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50870         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50871         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50872         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50873         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50874         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50875         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50876         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50877         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50878         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50879         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50880         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50881         * nptl/sysdeps/x86_64/tls.h: Moved ...
50882         * sysdeps/x86_64/nptl/tls.h: ... here.
50883         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50884         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50885         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50886         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50888         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50890 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50894 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50896         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50897         type.
50898         [POSIX] (off_t): Likewise.
50899         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50900         [POSIX] (S_ISBLK): Require macro.
50901         [POSIX] (S_ISCHR): Likewise.
50902         [POSIX] (S_ISDIR): Likewise.
50903         [POSIX] (S_ISFIFO): Likewise.
50904         [POSIX] (S_ISREG): Likewise.
50905         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50906         optional-macro.
50907         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50908         type.
50909         [POSIX] (time_t): Likewise.
50910         [POSIX] (timer_t): Likewise.
50912 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50914         [BZ #17048]
50915         * posix/spawn_int.h (struct __spawn_action): Make the path string
50916         non-const to support deallocation.
50917         * posix/spawn_faction_addopen.c
50918         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50919         * posix/spawn_faction_destroy.c
50920         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50921         path in all spawn_do_open actions.
50922         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50923         posix_spawn_file_actions_addopen.
50925 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50927         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50928         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50929         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50930         conditional code always true.
50931         (__libc_vfork): New alias.
50933 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50935         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50936         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50938         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50940         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50941         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50943         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50944         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50946         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50947         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50949 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50951         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50952         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50953         multiarch strcmp for PPC64.
50954         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50955         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50956         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50957         multiarch optimizations.
50958         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50959         (__libc_ifunc_impl_list): Likewise.
50961 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50963         * benchtests/scripts/validate_benchout.py: New script.
50964         * benchtests/Makefile (bench-func): Call it.
50965         * benchtests/scripts/benchout.schema.json: New file.
50967 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50969         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50970         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50971         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50972         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50973         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50974         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50975         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50976         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50977         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50978         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50979         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50980         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50981         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50982         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50983         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50984         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50986         Moved ...
50987         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50988         ... here.
50989         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50990         Moved ...
50991         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50993         Moved ...
50994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50995         ... here.
50996         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50997         Moved ...
50998         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50999         ... here.
51000         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
51001         Moved ...
51002         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
51003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
51004         Moved ...
51005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
51006         ... here.
51007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
51008         Moved ...
51009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
51010         ... here.
51011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
51012         Moved ...
51013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
51014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
51015         Moved ...
51016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
51017         ... here.
51018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
51019         Moved ...
51020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
51021         ... here.
51022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
51023         Moved ...
51024         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
51025         ... here.
51026         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
51027         Moved ...
51028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
51029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
51030         Moved ...
51031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
51032         ... here.
51033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
51034         Moved ...
51035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
51036         ... here.
51037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
51038         Moved ...
51039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
51040         ... here.
51041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
51042         Moved ...
51043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
51044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
51045         Moved ...
51046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
51047         ... here.
51048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
51049         Moved ...
51050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
51051         ... here.
51052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
51053         Moved ...
51054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
51055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
51056         Moved ...
51057         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
51058         ... here.
51059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
51060         Moved ...
51061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
51062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
51063         Moved ...
51064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
51065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
51066         Moved ...
51067         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
51068         ... here.
51069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
51070         Moved ...
51071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
51072         ... here.
51073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
51074         Moved ...
51075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
51076         ... here.
51077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
51078         Moved ...
51079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
51080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
51081         Moved ...
51082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
51083         ... here.
51084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
51085         Moved ...
51086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
51087         ... here.
51088         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
51089         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
51090         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
51091         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
51092         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
51093         Moved ...
51094         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
51095         ... here.
51096         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
51097         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
51098         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
51099         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
51100         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
51101         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
51102         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
51103         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
51104         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
51105         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
51106         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
51107         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
51108         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
51109         Moved ...
51110         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
51111         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
51112         Moved ...
51113         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
51114         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
51115         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
51116         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
51117         Moved ...
51118         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
51119         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
51120         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
51121         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
51122         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
51123         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
51124         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
51126 2014-06-10  Wilco  <wdijkstr@arm.com>
51128         * math/test-fenv-return.c: New file.
51129         * math/Makefile: Add new test test-fenv-return.
51131 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
51133         [BZ #17042]
51134         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
51135         when x - 1 is zero.
51136         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
51137         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
51138         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
51139         0.0L for an argument of 1.0L.
51140         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
51141         Likewise.
51142         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
51143         value when x - 1 is zero.
51144         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
51145         * sysdeps/i386/fpu/libm-test-ulps: Update.
51146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51148 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
51150         [BZ #15119]
51151         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
51153 2014-06-09  Roland McGrath  <roland@hack.frob.com>
51155         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
51156         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
51158 2014-06-09  Roland McGrath  <roland@hack.frob.com>
51160         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51161         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51163         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51164         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51166         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51167         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51169         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51170         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51172         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51173         if not already defined.
51174         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51175         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51176         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51177         (TLS_INIT_TP): Use it.
51178         (TLS_DEFINE_INIT_TP): New macro.
51179         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51181 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
51183         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51184         constant.
51185         [POSIX] (IXANY): Likewise.
51186         [POSIX] (OLCUC): Likewise.
51187         [POSIX || POSIX2008] (CBAUD): Do not allow.
51188         [POSIX || POSIX2008] (DEFECHO): Likewise.
51189         [POSIX || POSIX2008] (ECHOCTL): Likewise.
51190         [POSIX || POSIX2008] (ECHOKE): Likewise.
51191         [POSIX || POSIX2008] (ECHOPRT): Likewise.
51192         [POSIX || POSIX2008] (EXTA): Likewise.
51193         [POSIX || POSIX2008] (EXTB): Likewise.
51194         [POSIX || POSIX2008] (FLUSHO): Likewise.
51195         [POSIX || POSIX2008] (LOBLK): Likewise.
51196         [POSIX || POSIX2008] (PENDIN): Likewise.
51197         [POSIX || POSIX2008] (SWTCH): Likewise.
51198         [POSIX || POSIX2008] (VDISCARD): Likewise.
51199         [POSIX || POSIX2008] (VDSUSP): Likewise.
51200         [POSIX || POSIX2008] (VLNEXT): Likewise.
51201         [POSIX || POSIX2008] (VREPRINT): Likewise.
51202         [POSIX || POSIX2008] (VSTATUS): Likewise.
51203         [POSIX || POSIX2008] (VWERASE): Likewise.
51204         (B*): Change to B[0123456789]*.
51205         * conform/data/time.h-data [POSIX || UNIX98]
51206         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51207         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51208         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51209         [POSIX] (tm_*): Do not allow.
51211 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
51213         * Makefile (install): Don't set LANGUAGE.
51214         * Makefile.in (install): Likewise.
51215         * assert/Makefile (test-assert-ENV): Remove variable.
51216         (test-assert-perr-ENV): Likewise.
51217         * elf/Makefile (neededtest4-ENV): Likewise.
51218         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51219         [$(cross-compiling) = no]: Don't set LANGUAGE.
51220         * io/ftwtest-sh (LANG): Remove variable.
51221         * libio/Makefile (tst-widetext-ENV): Likewise.
51222         * manual/install.texi (Running make install): Don't refer to
51223         environment settings for make install.
51224         * INSTALL: Regenerated.
51225         * nptl/tst-tls6.sh: Don't set LANG.
51226         * posix/globtest.sh (LANG): Remove variable.
51227         * string/Makefile (tester-ENV): Likewise.
51228         (inl-tester-ENV): Likewise.
51229         (noinl-tester-ENV): Likewise.
51230         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51231         [$(cross-compiling) = no]: Don't set LANGUAGE.
51232         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51233         without explicit environment settings.
51235 2014-06-06  Roland McGrath  <roland@hack.frob.com>
51237         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51238         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51239         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51240         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51242 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
51244         * crypt/crypt-private.h [DOS]: Add some includes taken from the
51245         other files in the crypt directory.
51246         * crypt/crypt.c: Remove duplicate includes.
51247         * crypt/crypt-entry.c: Likewise.
51248         * crypt/crypt_util.c: Likewise.
51250 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
51252         * Makeconfig (run-program-env): New variable.
51253         (run-program-prefix-before-env): Likewise.
51254         (run-program-prefix-after-env): Likewise.
51255         (run-program-prefix): Define in terms of new variables.
51256         (built-program-cmd-before-env): New variable.
51257         (built-program-cmd-after-env): Likewise.
51258         (built-program-cmd): Define in terms of new variables.
51259         (test-program-prefix-before-env): New variable.
51260         (test-program-prefix-after-env): Likewise.
51261         (test-program-prefix): Define in terms of new variables.
51262         (test-program-cmd-before-env): New variable.
51263         (test-program-cmd-after-env): Likewise.
51264         (test-program-cmd): Define in terms of new variables.
51265         * Rules (make-test-out): Use $(run-program-env).
51266         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51267         (help): Do not mention environment variables.  Mention
51268         --timeoutfactor option.
51269         (timeoutfactor): New variable.
51270         (blacklist_exports): Remove function.
51271         (exports): Remove variable.
51272         (command): Do not include ${exports}.
51273         * manual/install.texi (Configuring and compiling): Do not mention
51274         test wrappers preserving environment variables.  Mention that last
51275         assignment to a variable must take precedence.
51276         * INSTALL: Regenerated.
51277         * benchtests/Makefile (run-bench): Use $(run-program-env).
51278         * catgets/Makefile ($(objpfx)test1.cat): Use
51279         $(built-program-cmd-before-env), $(run-program-env) and
51280         $(built-program-cmd-after-env).
51281         ($(objpfx)test2.cat): Do not specify environment variables
51282         explicitly.
51283         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51284         $(run-program-env) and $(built-program-cmd-after-env).
51285         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51286         $(run-program-env) and $(test-program-cmd-after-env).
51287         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51288         explicitly.
51289         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51290         run_program_env and test_program_cmd_after_env arguments.
51291         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51292         * elf/tst-pathopt.sh: Use run_program_env argument.
51293         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51294         $(test-wrapper-env) and $(run-program-env).
51295         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51296         run_program_env arguments.
51297         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51298         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51299         $(test-program-prefix-before-env), $(run-program-env) and
51300         $(test-program-prefix-after-env).
51301         ($(objpfx)tst-gettext2.out): Likewise.
51302         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51303         run_program_env and test_program_prefix_after_env arguments.
51304         * intl/tst-gettext2.sh: Likewise.
51305         * intl/tst-gettext4.sh: Do not set environment variables
51306         explicitly.
51307         * intl/tst-gettext6.sh: Likewise.
51308         * intl/tst-translit.sh: Likewise.
51309         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51310         $(test-program-prefix-before-env), $(run-program-env) and
51311         $(test-program-prefix-after-env).
51312         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51313         run_program_env and test_program_prefix_after_env arguments.
51314         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51315         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51316         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51317         explicitly with each use of ${test_wrapper_env}.
51318         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51319         $(test-program-prefix-before-env), $(run-program-env) and
51320         $(test-program-prefix-after-env).
51321         * posix/tst-getconf.sh: Do not set environment variables
51322         explicitly.
51323         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51324         run_program_env and test_program_prefix_after_env arguments.
51325         * stdio-common/tst-printf.sh: Do not set environment variables
51326         explicitly.
51327         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51328         $(test-program-prefix-before-env), $(run-program-env) and
51329         $(test-program-prefix-after-env).
51330         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51331         run_program_env and test_program_prefix_after_env arguments.
51332         Split $test calls into $test_pre and $test.
51333         * timezone/Makefile (build-testdata): Use
51334         $(built-program-cmd-before-env), $(run-program-env) and
51335         $(built-program-cmd-after-env).
51337 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51339         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51340         strlen for non SHARED builds.
51342 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51344         * nptl/allocatestack.c (check_list): Inlined function...
51345         (__reclaim_stacks): ... here.
51347 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
51349         [BZ #15698]
51350         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51351         memory overrun.
51353 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51355         * Rules (make-test-out): Include
51356         LOCPATH=$(common-objpfx)localedata in default environment.
51357         * debug/Makefile (tst-chk1-ENV): Remove variable.
51358         (tst-chk2-ENV): Likewise.
51359         (tst-chk3-ENV): Likewise.
51360         (tst-chk4-ENV): Likewise.
51361         (tst-chk5-ENV): Likewise.
51362         (tst-chk6-ENV): Likewise.
51363         (tst-lfschk1-ENV): Likewise.
51364         (tst-lfschk2-ENV): Likewise.
51365         (tst-lfschk3-ENV): Likewise.
51366         (tst-lfschk4-ENV): Likewise.
51367         (tst-lfschk5-ENV): Likewise.
51368         (tst-lfschk6-ENV): Likewise.
51369         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51370         (tst-iconv7-ENV): Likewise.
51371         * intl/Makefile (LOCPATH-ENV): Likewise.
51372         (tst-codeset-ENV): Likewise.
51373         (tst-gettext3-ENV): Likewise.
51374         (tst-gettext5-ENV): Likewise.
51375         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51376         (tst-fopenloc-ENV): Likewise.
51377         (tst-fgetws-ENV): Remove variable.
51378         (tst-ungetwc1-ENV): Likewise.
51379         (tst-ungetwc2-ENV): Likewise.
51380         (bug-ungetwc2-ENV): Likewise.
51381         (tst-swscanf-ENV): Likewise.
51382         (bug-ftell-ENV): Likewise.
51383         (tst-fgetwc-ENV): Likewise.
51384         (tst-fseek-ENV): Likewise.
51385         (tst-ftell-partial-wide-ENV): Likewise.
51386         (tst-ftell-active-handler-ENV): Likewise.
51387         (tst-ftell-append-ENV): Likewise.
51388         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51389         (tst-regexloc-ENV): Likewise.
51390         (bug-regex1-ENV): Likewise.
51391         (tst-regex-ENV): Likewise.
51392         (tst-regex2-ENV): Likewise.
51393         (bug-regex5-ENV): Likewise.
51394         (bug-regex6-ENV): Likewise.
51395         (bug-regex17-ENV): Likewise.
51396         (bug-regex18-ENV): Likewise.
51397         (bug-regex19-ENV): Likewise.
51398         (bug-regex20-ENV): Likewise.
51399         (bug-regex22-ENV): Likewise.
51400         (bug-regex23-ENV): Likewise.
51401         (bug-regex25-ENV): Likewise.
51402         (bug-regex26-ENV): Likewise.
51403         (bug-regex30-ENV): Likewise.
51404         (bug-regex32-ENV): Likewise.
51405         (bug-regex33-ENV): Likewise.
51406         (bug-regex34-ENV): Likewise.
51407         (bug-regex35-ENV): Likewise.
51408         (tst-rxspencer-ENV): Likewise.
51409         (tst-rxspencer-no-utf8-ENV): Likewise.
51410         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51411         (tst-sscanf-ENV): Likewise.
51412         (tst-swprintf-ENV): Likewise.
51413         (tst-swscanf-ENV): Likewise.
51414         (test-vfprintf-ENV): Likewise.
51415         (scanf13-ENV): Likewise.
51416         (bug14-ENV): Likewise.
51417         (tst-grouping-ENV): Likewise.
51418         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51419         (tst-strtod3-ENV): Likewise.
51420         (tst-strtod4-ENV): Likewise.
51421         (tst-strtod5-ENV): Likewise.
51422         (testmb2-ENV): Likewise./
51423         * string/Makefile (tst-strxfrm-ENV): Likewise.
51424         (tst-strxfrm2-ENV): Likewise.
51425         (bug-strcoll1-ENV): Likewise.
51426         (test-strcasecmp-ENV): Likewise.
51427         (test-strncasecmp-ENV): Likewise.
51428         * time/Makefile (tst-strptime-ENV): Likewise.
51429         (tst-ftime_l-ENV): Likewise.
51430         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51431         (tst-mbrtowc-ENV): Likewise.
51432         (tst-wcrtomb-ENV): Likewise.
51433         (tst-mbrtowc2-ENV): Likewise.
51434         (tst-c16c32-1-ENV): Likewise.
51435         (tst-mbsnrtowcs-ENV): Likewise.
51437 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
51439         * manual/resource.texi (How to get information about the memory
51440         subsystem?): Fix typo.
51441         Reported by Peon de la Parra Ivan <peon@keba.com>
51443 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51445         [BZ #16882]
51446         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51447         (pthread_spin_lock): Branch out of spin loop to proper location.
51448         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51449         (pthread_spin_lock): Likewise.
51451         * nptl/tst-spin4.c: New test.
51452         * nptl/Makefile (tests): Add tst-spin4.
51454 2014-06-03  Andreas Schwab  <schwab@suse.de>
51456         [BZ #15946]
51457         * resolv/res_send.c (send_dg): Reload file descriptor after
51458         calling reopen.
51460 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51462         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51464 2014-06-03  Richard Henderson  <rth@redhat.com>
51466         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51467         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51468         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51469         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51470         in the SAVE_PID block.
51471         (__libc_vfork): New alias.
51472         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51474         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51475         child in registers, not on the stack.  Remove RESET_PID conditionals.
51476         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51478 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51480         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51482 2014-06-03  Wilco  <wdijkstr@arm.com>
51484         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51485         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51486         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51487         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51488         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51489         Likewise.
51491 2014-06-03  Wilco  <wdijkstr@arm.com>
51493         * sysdeps/aarch64/fpu/math_private.h
51494         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51495         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51496         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51497         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51498         Fix declarations.
51500 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51502         * crypt/crypt-private.h: Include ufc-crypt.h.
51503         (__b64_from_24bit): Declare extern.
51504         * crypt/crypt_util.c(__b64_from_24bit): New function.
51505         (b64t): New static const variable.
51506         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51507         (b64t): Remove variable.
51508         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51509         * crypt/sha256-crypt.c: Include crypt-private.h.
51510         (b64t): Remove variable.
51511         (__sha256_crypt_r): Remove b64_from_24bit and replace
51512         with __b64_from_24bit.
51513         * crypt/sha512-crypt.c: Likewise.
51515 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51517         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51518         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51519         Label the code __libc_vfork rather than __vfork.
51520         [!NOT_IN_libc] (vfork): Define as weak alias.
51521         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51522         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51523         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51525 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51527         * malloc/malloc.c (malloc_info): Fix format specifier for
51528         n_mmaps.
51530 2014-06-02  Wilco  <wdijkstr@arm.com>
51532         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51533         FPCR write.
51535 2014-06-02  Wilco  <wdijkstr@arm.com>
51537         [BZ #17009]
51538         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51539         Rewrite to reduce FPCR/FPSR accesses.
51541 2014-06-01  David S. Miller  <davem@davemloft.net>
51543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51545 2014-05-31  David S. Miller  <davem@davemloft.net>
51547         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51548         to occur in round to nearest mode when |x| >= 2.0
51550 2014-05-30  Richard Henderson  <rth@twiddle.net>
51552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51553         (PSEUDO_RET_NOERRNO): Remove.
51554         (ret): Don't redefine.
51555         (ret_NOERRNO): Define in terms of ret.
51556         (ret_ERRVAL): Likewise.
51558         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51559         use of PSEUDO_RET; perform the error check directly.
51561 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51563         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51564         with __int128_t.
51566 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51568         * malloc/malloc (malloc_info): Fix formatting.
51570 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51571             Roland McGrath  <roland@hack.frob.com>
51573         * malloc/malloc (malloc_info): Also print mmapped statistics.
51575 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51577         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51578         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51580 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
51582         * malloc/malloc.c (malloc_info): Inline mi_arena.
51584 2014-05-29  Richard Henderson  <rth@twiddle.net>
51586         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51587         Remove comma before expanding ASM_ARGS_##nr.
51588         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51589         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51590         of ASM_ARGS_##nr.
51591         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51592         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51593         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51594         (ASM_ARGS_1): Add leading comma.
51596         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51597         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51598         to __errno_location.
51599         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51600         Remove the expected plt for __errno_location.
51602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51603         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51604         call to __read_tp.
51606         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51607         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51608         it and break it down.
51609         (DOCARGS_0, DOCARGS_1): Do nothing.
51610         (DOCARGS_2): Update to store into the new stack frame.
51611         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51612         (UNDOCARGS_1): Update to restore from the new stack frame.
51613         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51614         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51616         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51617         (SINGLE_THREAD_P): New parameter for result regno.
51618         (PSEUDO): Update to match; use cbz instead of beq.
51620         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51621         Use ENTRY to define the _nocancel entry point.  Share the syscall
51622         and syscall error check paths with the cancel path.
51623         (PSEUDO_END): New.
51625         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51626         whitespace; tabs before and after asm mnemonics.
51628 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51630         [BZ #15132]
51631         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51632         Call fstat64 or stat64 internally, depending on arguments passed.
51633         Replace stat buffer argument with file descriptor argument.
51634         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51635         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51636         Pass fd to __internal_statvfs instead of calling fstat64.
51637         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51638         Pass fd to __internal_statvfs64 instead of calling fstat64.
51639         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51640         Pass -1 to __internal_statvfs instead of calling stat64.
51641         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51642         Pass -1 to __internal_statvfs64 instead of calling stat64.
51644 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51646         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51647         that was previously under [RESET_PID].
51648         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51650         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51651         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51653 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51655         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51657         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51658         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51660 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
51662         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51664 2014-05-27  Andreas Schwab  <schwab@suse.de>
51666         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51667         TLS_INIT_TP macro.
51668         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51669         * elf/rtld.c (init_tls, dl_main): Likewise.
51670         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51671         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51672         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51673         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51674         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51675         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51676         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51677         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51678         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51679         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51680         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51681         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51682         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51683         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51684         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51685         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51686         * sysdeps/generic/tls.h: Update description.
51688 2014-05-27  Will Newton  <will.newton@linaro.org>
51690         [BZ #16990]
51691         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51692         and restore r2 rather than just restoring.
51694 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51696         [BZ #16724]
51697         * libio/tst-ftell-append.c: New test case.
51698         * libio/Makefile (tests): Add test case.
51699         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51700         append mode.
51701         * libio/wfileops.c (do_ftell_wide): Likewise.
51703 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51705         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51707         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51708         ...
51709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51711         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51712         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51713         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51714         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51715         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51716         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51718         Moved ...
51719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51721         Moved ...
51722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51723         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51724         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51725         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51726         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51727         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51728         ...
51729         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51730         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51731         Moved ...
51732         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51733         here.
51734         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51735         ...
51736         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51737         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51738         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51740         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51741         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51742         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51743         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51746         merge into ...
51747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51748         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51749         ...
51750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51752         ...
51753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51755         Moved ...
51756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51757         here.
51758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51759         Moved ...
51760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51761         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51762         Moved ...
51763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51766         conditional [RESET_PID].
51767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51768         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51769         removed.
51770         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51771         removed.
51773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51774         <tcb-offsets.h>.
51775         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51776         (__libc_vfork): New strong alias.
51777         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51778         removed.
51779         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51780         Removed.
51782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51783         <tcb-offsets.h>.
51784         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51785         (__libc_vfork): New strong alias.
51786         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51787         removed.
51788         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51789         removed.
51791 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51793         * malloc/malloc.c (mi_arena): New function.
51794         (malloc_info): Remove nested function mi_arena. Call non-nosted
51795         function mi_arena.
51797 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51799         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51800         by insrwi.
51801         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51802         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51803         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51804         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51805         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51806         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51807         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51809 2014-05-26  Andreas Schwab  <schwab@suse.de>
51811         [BZ #16984]
51812         * locale/programs/repertoire.c (repertoire_read): Add slash
51813         between I18NPATH element and file name.
51814         * locale/programs/locfile.c (locfile_read): Likewise.
51816 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51818         * nptl/pthread_mutexattr_settype.c
51819         (__pthread_mutexattr_settype):
51820         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51822 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51824         * nptl/tst-mutex5 (do_test):
51825         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51827 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51829         * benchtests/README: Document 'init' directive.
51830         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51831         BENCH_INIT.
51832         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51833         (parse_file): Recognize 'init' directive.
51835 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51837         [BZ #16796]
51838         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51839         alignment of struct pthread.
51841 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51843         [BZ #16878]
51844         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51845         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51846         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51847         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51849 2014-05-25  Richard Henderson  <rth@twiddle.net>
51851         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51852         (SINGLE_THREAD_P_PIC): Remove.
51853         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51854         (SINGLE_THREAD_P_PIC): Remove.
51856         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51857         branch to syscall error ...
51858         (PSEUDO): ... here.
51859         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51860         from __local_syscall_error to .Lsyscall_error.
51861         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51862         (SYSCALL_ERROR): Update label name.
51864         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51865         Do not use DOARGS/UNDOARGS.
51866         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51867         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51868         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51869         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51870         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51872         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51873         block comment.
51875         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51876         define if !NOT_IN_libc.
51877         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51878         define with non-default symbol versions.
51880 2014-05-23  Richard Henderson  <rth@twiddle.net>
51882         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51883         (vfork, __vfork): Define via compat_symbol.
51885         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51886         [!HAVE_IFUNC] (vfork_compat): Remove.
51887         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51889 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51891         [BZ #16978]
51892         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51893         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51894         variable.
51896 2014-05-23  Richard Henderson  <rth@twiddle.net>
51898         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51899         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51900         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51901         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51903         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51904         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51905         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51906         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51907         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51908         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51909         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51910         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51911         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51912         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51913         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51914         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51915         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51916         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51917         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51918         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51919         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51920         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51921         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51922         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51923         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51924         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51925         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51926         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51927         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51928         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51929         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51930         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51931         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51932         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51933         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51934         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51935         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51936         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51937         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51938         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51939         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51940         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51941         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51942         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51943         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51944         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51945         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51946         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51947         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51948         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51950         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51951         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51952         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51953         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51954         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51955         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51956         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51957         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51958         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51960         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51961         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51962         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51963         before exiting on error.
51964         (__libc_vfork): New strong alias.
51965         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51966         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51968         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51969         that was previously under [RESET_PID].
51970         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51972         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51974 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51976         [BZ #16977]
51977         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51978         value when x - 1 is zero.
51979         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51980         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51981         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51982         0.0L for an argument of 1.0L.
51983         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51984         Likewise.
51985         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51986         value when x - 1 is zero.
51987         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51988         * sysdeps/i386/fpu/libm-test-ulps: Update.
51989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51991 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51993         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51994         alphasort and versionsort.
51996 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51998         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51999         macro.
52000         [copysignf]: Likewise.
52002 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52004         * crypt/md5-crypt.c: Fix formatting.
52006 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
52008         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
52009         (b64_from_24bit): New function.
52011 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52013         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
52014         libc_hidden_builtin_def to ifunc.
52015         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52016         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
52018 2014-05-21  Roland McGrath  <roland@hack.frob.com>
52020         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
52021         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
52023 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
52025         * nscd/Depend (linuxthreads): Remove.
52026         (nptl): Add.
52027         * resolv/Depend (linuxthreads): Remove.
52028         * rt/Depend (linuxthreads): Remove.
52030         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
52031         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
52032         $(common-objpfx)elf/.
52033         (link-libc-before-gnulib): Likewise.
52034         (elfobjdir): Remove variable.
52035         * Makefile (install): Use $(elf-objpfx) instead of
52036         $(common-objpfx)elf/.
52037         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
52038         $(elfobjdir)/.
52039         (link-libc-deps): Likewise.
52040         ($(common-objpfx)libc.so): Likewise.
52041         ($(common-objpfx)linkobj/libc.so): Likewise.
52042         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
52043         instead of $(common-objpfx)elf/.
52044         (symbolic-link-list): Likewise.
52045         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
52046         [$(cross-compiling) = no]: Likewise.
52047         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
52048         $(elfobjdir)/.
52049         (static-gnulib-arch): Likewise.
52050         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
52051         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
52052         $(common-objpfx)elf/.
52054 2014-05-21  Richard Henderson  <rth@redhat.com>
52056         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
52057         (SINGLE_THREAD_P): Use the correct width load.  Fold
52058         into the ldr offset.
52060         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
52061         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
52063 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
52065         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
52066         (libgcc_s_resume): Use __attribute_used__.
52067         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
52068         Likewise.
52070 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52072         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
52073         optimization when used with float constants.
52075         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52077 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
52079         [BZ #16915]
52080         * locale/nl_langinfo_l.c: Make direct reference to every
52081         _nl_current_CATEGORY symbol.
52082         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
52083         (tests-static): Add tst-langinfo-static.
52084         (tests-special): Add tst-langinfo-static.out.
52085         ($(objpfx)tst-langinfo.out): Redirect output.
52086         ($(objpfx)tst-langinfo-static.out): New.
52087         * localedata/tst-langinfo.sh: Send output to stdout.
52088         * localedata/tst-langinfo-static.c: New file.
52090         [BZ #16965]
52091         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
52092         when the shift amount is modulo the limb size.
52094 2014-05-20  Richard Henderson  <rth@redhat.com>
52096         [BZ #16967]
52097         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
52098         Change type of sa_flags from unsigned int to int.
52100         [BZ #16966]
52101         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
52103         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
52105 2014-05-20  Will Newton  <will.newton@linaro.org>
52107         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
52108         Test the return value of the system call in the nocancel case.
52110 2014-05-20  Will Newton  <will.newton@linaro.org>
52111             Yvan Roux  <yvan.roux@linaro.org>
52113         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
52114         #include of asm/ptrace.h.
52115         (PTRACE_GET_THREAD_AREA): Remove #undef.
52116         (PTRACE_GETHBPREGS): Likewise.
52117         (PTRACE_SETHBPREGS): Likewise.
52118         (struct user_regs_struct): New structure.
52119         (struct user_fpsimd_struct): New structure.
52120         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52121         #include of asm/ptrace.h and second #include of sys/user.h.
52122         (PTRACE_GET_THREAD_AREA): Remove #undef.
52123         (PTRACE_GETHBPREGS): Likewise.
52124         (PTRACE_SETHBPREGS): Likewise.
52125         (ELF_NGREG): Use new struct user_regs_struct.
52126         (elf_fpregset_t): Use new struct user_fpsimd_struct.
52128 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52130         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
52131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
52133 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
52135         [BZ #16958]
52136         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
52137         membar to avoid block loads/stores to overlap previous stores.
52139 2014-05-17  Richard Henderson  <rth@redhat.com>
52141         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
52142         Create the __##syscall_name##_nocancel entry point.
52143         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
52144         Remove; let the sysdep-cancel.h code create it.
52146 2014-05-17  David S. Miller  <davem@davemloft.net>
52148         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52149         Protect with __USE_GNU.
52150         (TIOCSET_TEMPT): Likewise.
52151         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
52152         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
52153         these are already provided in bits/ioctl-types.h
52155 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52157         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
52158         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
52160         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52161         Use wait4 regardless of [__NR_waitpid].
52163 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52165         PR libgcc/60166
52166         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52167         (_FP_NANSIGN_Q): Set the quiet bit.
52169 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
52171         * benchtests/Makefile
52172         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52173         not $(common-objpfx)math/libm.so.
52174         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52175         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52176         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52177         $(common-objpfx)dlfcn/libdl.so.
52178         ($(objpfx)tst-audit8): Depend on $(libm), not
52179         $(common-objpfx)math/libm.so.
52180         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52181         not $(common-objpfx)dlfcn/libdl.so.
52182         * math/Makefile
52183         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52184         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
52185         [$(build-shared) = yes].
52186         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52187         $(common-objpfx)nptl/libpthread.so.
52188         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52189         $(common-objpfx)math/libm.so$(libm.so-version) or
52190         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52191         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52192         $(common-objpfx)dlfcn/libdl.so.
52193         * setjmp/Makefile (link-libm): Remove variable.
52194         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52195         * stdio-common/Makefile (link-libm): Remove variable.
52196         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52197         * stdlib/Makefile (link-libm): Remove variable.
52198         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52199         ($(objpfx)tst-strtod-round): Likewise.
52200         ($(objpfx)tst-tininess): Likewise.
52201         ($(objpfx)tst-strtod-underflow): Likewise.
52202         ($(objpfx)tst-strtod6): Likewise.
52203         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52204         $(libdl), not $(common-objpfx)nptl/libpthread.so and
52205         $(common-objpfx)dlfcn/libdl.so.
52207 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52209         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52210         BSD terminal modes definitions.
52212 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52214         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52215         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52217         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52218         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52219         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52220         Don't do #include_next.
52221         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52222         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52223         Don't do #include_next.
52224         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52225         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52226         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52227         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52229 2014-05-16  Allan McRae  <allan@archlinux.org>
52231         * po/sv.po: Update Swedish translation from translation project.
52233         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52234         in sed expression.
52236 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
52238         [BZ #16917]
52239         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52240         errno if the TIOCGPTN ioctl fails with an error different than
52241         EINVAL.
52242         * login/tst-ptsname.c: New file.
52243         * login/Makefile (tests): Add tst-ptsname.
52245         [BZ #16943]
52246         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52247         and prlimit64.
52249 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52251         [BZ #16849]
52252         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52253         herrno to return EAI_AGAIN.
52255 2014-05-14  Roland McGrath  <roland@hack.frob.com>
52257         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52258         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52259         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52260         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52261         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52262         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52263         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52264         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52265         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52266         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52267         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52268         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52269         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52270         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52271         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52272         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52273         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52274         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52275         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52276         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52277         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52278         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52279         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52280         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52281         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52282         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52283         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52284         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52285         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52286         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52288         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52289         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52290         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52292         Moved ...
52293         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52295         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52296         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52297         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52299         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52301         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52303         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52304         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52305         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52306         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52307         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52309         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52310         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52311         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52312         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52313         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52315         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52316         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52317         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52319         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52320         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52321         Moved ...
52322         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52323         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52324         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52325         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52326         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52327         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52328         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52329         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52330         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52331         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52332         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52333         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52334         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52335         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52336         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52337         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52338         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52339         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52340         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52341         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52342         Moved ...
52343         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52344         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52345         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52347         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52348         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52349         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52350         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52351         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52352         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52353         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52354         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52355         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52356         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52357         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52358         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52359         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52360         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52361         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52362         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52363         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52364         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52365         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52366         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52367         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52368         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52369         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52370         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52371         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52372         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52373         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52374         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52375         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52376         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52377         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52379         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52380         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52382         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52383         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52384         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52385         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52386         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52388         Moved ...
52389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52390         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52391         Moved ...
52392         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52393         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52394         Moved ...
52395         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52396         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52397         Moved ...
52398         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52399         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52400         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52401         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52402         Moved ...
52403         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52404         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52405         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52406         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52407         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52408         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52409         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52410         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52411         Moved ...
52412         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52413         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52414         Moved ...
52415         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52416         ... here.
52417         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52418         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52419         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52420         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52421         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52422         Moved ...
52423         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52424         ... here.
52425         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52426         Moved ...
52427         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52428         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52429         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52430         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52431         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52433         Moved ...
52434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52435         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52436         Moved ...
52437         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52438         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52439         Moved ...
52440         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52441         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52442         Moved ...
52443         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52444         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52445         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52446         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52447         Moved ...
52448         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52449         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52450         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52451         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52452         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52453         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52454         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52455         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52456         Moved ...
52457         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52458         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52459         Moved ...
52460         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52461         ... here.
52462         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52463         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52464         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52465         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52466         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52467         Moved ...
52468         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52469         ... here.
52470         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52471         Moved ...
52472         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52473         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52474         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52475         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52476         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52477         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52478         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52479         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52480         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52481         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52482         Moved ...
52483         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52484         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52485         Moved ...
52486         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52488         Moved ...
52489         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52490         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52491         Moved ...
52492         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52493         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52494         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52495         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52496         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52497         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52498         Moved ...
52499         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52500         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52501         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52502         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52503         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52504         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52505         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52506         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52507         Moved ...
52508         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52509         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52510         Moved ...
52511         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52512         ... here.
52513         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52514         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52515         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52516         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52517         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52518         Moved ...
52519         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52520         ... here.
52521         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52522         Moved ...
52523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52524         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52525         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52526         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52527         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52528         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52529         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52530         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52531         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52532         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52533         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52535         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52536         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52538         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52539         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52541         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52542         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52543         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52544         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52545         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52546         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52547         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52548         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52549         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52550         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52551         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52552         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52553         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52554         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52555         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52556         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52557         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52558         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52559         Moved ...
52560         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52561         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52562         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52563         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52564         Moved ...
52565         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52566         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52567         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52568         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52569         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52570         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52571         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52572         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52573         Moved ...
52574         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52575         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52576         Moved ...
52577         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52579         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52580         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52581         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52582         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52583         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52584         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52585         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52586         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52587         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52588         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52589         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52590         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52591         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52592         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52593         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52595         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52596         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52597         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52598         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52599         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52601         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52602         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52603         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52604         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52605         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52606         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52607         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52608         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52609         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52610         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52615         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52616         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52617         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52618         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52619         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52620         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52621         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52622         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52623         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52624         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52625         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52626         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52627         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52628         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52629         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52630         Update #include.
52631         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52632         Likewise.
52633         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52634         Likewise.
52635         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52636         Likewise.
52637         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52638         Likewise.
52639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52640         Likewise.
52641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52642         Likewise.
52643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52644         Likewise.
52645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52646         Likewise.
52647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52648         Likewise.
52649         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52654         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52659         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52665         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52666         that was previously under [RESET_PID].
52667         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52668         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52669         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52671         * sysdeps/i386/nptl/Implies: New file.
52672         * sysdeps/x86_64/nptl/Implies: New file.
52673         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52674         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52675         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52676         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52678         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52679         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52680         (__libc_vfork): New strong alias.
52681         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52682         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52684         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52685         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52686         (__libc_vfork): New strong alias.
52687         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52688         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52690         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52691         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52692         (__libc_vfork): New strong alias.
52693         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52694         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52695         * nptl/pt-vfork.c: New file.
52696         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52697         (libpthread: GLIBC_2.20): New version set (empty).
52699 2014-05-14  Will Newton  <will.newton@linaro.org>
52701         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52702         rather than #if.
52704 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52706         [BZ #16564]
52707         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52708         arguments with exponent 65 or above.
52709         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52710         arguments 0x1p113L or above.
52711         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52712         to arguments 0x1p107L or above.
52713         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52714         positive arguments with exponent 65 or above.
52715         * math/auto-libm-test-in: Add more tests of log1p.
52716         * math/auto-libm-test-out: Regenerated.
52718         [BZ #16928]
52719         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52720         non-finite arguments is +0.
52721         * math/s_cacosf.c (__cacosf): Likewise.
52722         * math/s_cacosl.c (__cacosl): Likewise.
52723         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52724         * sysdeps/i386/fpu/libm-test-ulps: Update.
52725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52727         [BZ #16927]
52728         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52729         value.
52730         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52731         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52732         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52733         for explicit high bit of mantissa when testing for argument equal
52734         to 1.
52735         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52736         * sysdeps/i386/fpu/libm-test-ulps: Update.
52737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52739         [BZ #16516]
52740         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52741         (__erf): Scale by 16 instead of 8 in potentially underflowing
52742         case.  Ensure exception if result actually underflows.
52743         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52744         (__erff): Scale by 16 instead of 8 in potentially underflowing
52745         case.  Ensure exception if result actually underflows.
52746         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52747         (efx8): Remove variable.
52748         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52749         case.  Ensure exception if result actually underflows.
52750         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52751         (efx8): Remove variable.
52752         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52753         case.  Ensure exception if result actually underflows.
52754         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52755         (efx8): Remove variable.
52756         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52757         case.  Ensure exception if result actually underflows.
52758         * math/auto-libm-test-in: Add more tests of erf.
52759         * math/auto-libm-test-out: Regenerated.
52761 2014-05-14  Andreas Schwab  <schwab@suse.de>
52763         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52764         Remove code conditionalized on USE___THREAD.
52766         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52767         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52768         not definedness.
52770 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52772         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52773         Define unconditionally.
52774         (__ASSUME_O_CLOEXEC): Likewise.
52775         (__ASSUME_SOCK_CLOEXEC): Likewise.
52776         (__ASSUME_IN_NONBLOCK): Likewise.
52777         (__ASSUME_PIPE2): Likewise.
52778         (__ASSUME_EVENTFD2): Likewise.
52779         (__ASSUME_SIGNALFD4): Likewise.
52780         (__ASSUME_DUP3): Likewise.
52781         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52782         (__ASSUME_DUP3): Do not define.
52783         (__ASSUME_EVENTFD2): Likewise.
52784         (__ASSUME_IN_NONBLOCK): Likewise.
52785         (__ASSUME_O_CLOEXEC): Likewise.
52786         (__ASSUME_PIPE2): Likewise.
52787         (__ASSUME_SIGNALFD4): Likewise.
52788         (__ASSUME_SOCK_CLOEXEC): Likewise.
52789         (__ASSUME_UTIMES): Undefine.
52790         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52791         (__ASSUME_UTIMES): Do not define.
52792         (__ASSUME_O_CLOEXEC): Likewise.
52793         (__ASSUME_SOCK_CLOEXEC): Likewise.
52794         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52795         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52796         0x020621].
52797         (__ASSUME_PIPE2): Likewise.
52798         (__ASSUME_EVENTFD2): Likewise.
52799         (__ASSUME_SIGNALFD4): Likewise.
52800         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52801         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52802         Do not define.
52803         (__ASSUME_EVENTFD2): Likewise.
52804         (__ASSUME_SIGNALFD4): Likewise.
52805         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52806         (__ASSUME_32BITUIDS): Likewise.
52807         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52808         (__ASSUME_IPC64): Likewise.
52809         (__ASSUME_ST_INO_64_BIT): Likewise.
52810         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52811         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52812         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52813         (__ASSUME_UTIMES): Do not define.
52814         (__ASSUME_PSELECT): Likewise.
52815         (__ASSUME_PPOLL): Likewise.
52816         (__ASSUME_O_CLOEXEC): Likewise.
52817         (__ASSUME_SOCK_CLOEXEC): Likewise.
52818         (__ASSUME_IN_NONBLOCK): Likewise.
52819         (__ASSUME_PIPE2): Likewise.
52820         (__ASSUME_EVENTFD2): Likewise.
52821         (__ASSUME_SIGNALFD4): Likewise.
52822         (__ASSUME_DUP3): Likewise.
52823         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52824         (__ASSUME_UTIMES): Likewise.
52825         (__ASSUME_O_CLOEXEC): Likewise.
52826         (__ASSUME_SOCK_CLOEXEC): Likewise.
52827         (__ASSUME_IN_NONBLOCK): Likewise.
52828         (__ASSUME_PIPE2): Likewise.
52829         (__ASSUME_EVENTFD2): Likewise.
52830         (__ASSUME_SIGNALFD4): Likewise.
52831         (__ASSUME_DUP3): Likewise.
52832         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52833         (__ASSUME_UTIMES): Likewise.
52834         (__ASSUME_O_CLOEXEC): Likewise.
52835         (__ASSUME_SOCK_CLOEXEC): Likewise.
52836         (__ASSUME_IN_NONBLOCK): Likewise.
52837         (__ASSUME_PIPE2): Likewise.
52838         (__ASSUME_EVENTFD2): Likewise.
52839         (__ASSUME_SIGNALFD4): Likewise.
52840         (__ASSUME_DUP3): Likewise.
52841         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52842         Likewise.
52843         (__ASSUME_UTIMES): Likewise.
52844         (__ASSUME_EVENTFD2): Likewise.
52845         (__ASSUME_SIGNALFD4): Likewise.
52846         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52847         (__ASSUME_O_CLOEXEC): Likewise.
52848         (__ASSUME_SOCK_CLOEXEC): Likewise.
52849         (__ASSUME_IN_NONBLOCK): Likewise.
52850         (__ASSUME_PIPE2): Likewise.
52851         (__ASSUME_EVENTFD2): Likewise.
52852         (__ASSUME_SIGNALFD4): Likewise.
52853         (__ASSUME_DUP3): Likewise.
52854         (__ASSUME_UTIMES): Undefine.
52856         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52857         feclearexcept.  Remove symbol versioning code.
52858         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52859         symbol versioning code.
52860         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52861         symbol versioning code.
52862         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52863         feupdateenv.  Remove symbol versioning code.
52864         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52865         fegetexceptflag.  Remove symbol versioning code.
52866         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52867         fesetexceptflag.  Remove symbol versioning code.
52868         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52869         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52870         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52871         (__posix_fadvise64_l32): Remove prototype.
52872         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52873         code.
52875 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52877         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52878         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52879         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52880         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52882 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52884         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52885         current working directory
52887 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52889         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52890         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52891         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52892         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52893         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52894         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52895         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52896         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52897         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52898         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52899         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52900         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52901         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52902         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52903         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52904         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52905         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52906         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52907         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52908         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52909         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52910         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52911         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52912         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52913         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52914         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52915         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52916         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52917         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52918         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52919         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52920         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52921         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52922         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52923         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52924         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52925         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52926         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52927         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52928         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52929         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52930         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52932         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52933         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52935         * sysdeps/unix/sysv/linux/arm/Makefile
52936         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52937         Add rt-aeabi_unwind_cpp_pr1.
52938         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52939         Add nptl-aeabi_unwind_cpp_pr1.
52940         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52941         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52942         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52943         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52944         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52945         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52947         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52948         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52949         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52950         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52952         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52953         Deconditionalize the code that was previously under [RESET_PID].
52954         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52956         * sysdeps/generic/exit-thread.h: New file.
52957         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52958         * include/unistd.h (__exit_thread): Remove declaration.
52959         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52960         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52961         * csu/libc-start.c: Include <exit-thread.h>.
52962         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52963         * nptl/pthread_create.c: Include <exit-thread.h>.
52964         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52965         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52966         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52967         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52968         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52969         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52970         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52971         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52972         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52973         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52974         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52975         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52976         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52977         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52978         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52979         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52980         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52982 2014-05-13  Andreas Schwab  <schwab@suse.de>
52984         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52986 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52988         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52989         (__ASSUME_UTIMES): Do not condition on kernel version.
52990         (__ASSUME_PSELECT): Define unconditionally.
52991         (__ASSUME_PPOLL): Likewise.
52992         (__ASSUME_ATFCTS): Likewise.
52993         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52994         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52995         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52996         (__ASSUME_UTIMENSAT): Define unconditionally.
52997         (__ASSUME_PRIVATE_FUTEX): Likewise.
52998         (__ASSUME_FALLOCATE): Likewise.
52999         (__ASSUME_O_CLOEXEC): Likewise.
53000         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
53001         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
53002         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
53003         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
53004         (__ASSUME_IN_NONBLOCK): Likewise.
53005         (__ASSUME_PIPE2): Likewise.
53006         (__ASSUME_EVENTFD2): Likewise.
53007         (__ASSUME_SIGNALFD4): Likewise.
53008         (__ASSUME_DUP3): Likewise.
53009         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53010         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
53011         (__ASSUME_AT_RANDOM): Likewise.
53012         (__ASSUME_PREADV): Likewise.
53013         (__ASSUME_PWRITEV): Likewise.
53014         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
53015         (__ASSUME_F_GETOWN_EX): Define unconditionally.
53016         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
53017         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53018         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
53019         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53020         (__ASSUME_O_CLOEXEC): Define unconditionally.
53021         (__ASSUME_PSELECT): Do not undefine conditionally.
53022         (__ASSUME_PPOLL): Likewise.
53023         (__ASSUME_ATFCTS): Likewise.
53024         (__ASSUME_SET_ROBUST_LIST): Likewise.
53025         (__ASSUME_UTIMENSAT): Likewise.
53026         (__ASSUME_FDATASYNC): Define unconditionally.
53027         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53028         (__ASSUME_SIGFRAME_V2): Likewise.
53029         )__ASSUME_EVENTFD2): Likewise.
53030         (__ASSUME_SIGNALFD4): Likewise.
53031         (__ASSUME_PSELECT): Do not undefine conditionally.
53032         (__ASSUME_PPOLL): Likewise.
53033         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53034         (__ASSUME_PSELECT): Define unconditionally.
53035         (__ASSUME_PPOLL): Likewise.
53036         (__ASSUME_O_CLOEXEC): Likewise.
53037         (__ASSUME_SOCK_CLOEXEC): Likewise.
53038         (__ASSUME_IN_NONBLOCK): Likewise.
53039         (__ASSUME_PIPE2): Likewise.
53040         (__ASSUME_EVENTFD2): Likewise.
53041         (__ASSUME_SIGNALFD4): Likewise.
53042         (__ASSUME_DUP3): Likewise.
53043         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53044         (__ASSUME_O_CLOEXEC): Likewise.
53045         (__ASSUME_SOCK_CLOEXEC): Likewise.
53046         (__ASSUME_IN_NONBLOCK): Likewise.
53047         (__ASSUME_PIPE2): Likewise.
53048         (__ASSUME_EVENTFD2): Likewise.
53049         (__ASSUME_SIGNALFD4): Likewise.
53050         (__ASSUME_DUP3): Likewise.
53051         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53052         (__ASSUME_EVENTFD2): Likewise.
53053         (__ASSUME_SIGNALFD4): Likewise.
53054         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53056 2014-05-12  Andreas Schwab  <schwab@suse.de>
53058         [BZ #16932]
53059         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
53060         (_nss_nis_gethostbyname4_r): Return error if item length is larger
53061         than maximum RPC packet size.
53062         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
53063         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
53064         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
53065         (_nss_nis_getservbyport_r): Likewise.
53067 2014-05-12  Will Newton  <will.newton@linaro.org>
53069         * malloc/Makefile (tests): Add tst-mallopt.
53070         * malloc/tst-mallopt.c: New file.
53072 2014-05-09  Roland McGrath  <roland@hack.frob.com>
53074         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
53075         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
53077 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53079         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
53080         (tst-tlsmod6.so): Likewise.
53082 2014-05-09  Roland McGrath  <roland@hack.frob.com>
53084         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
53086 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
53088         [BZ #16064]
53089         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
53090         and <dl-procinfo.h>.
53091         (__fegetenv): Save SSE state in envp->__eip if supported.
53092         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
53093         envp->__eip if supported.
53094         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
53095         and <dl-procinfo.h>.
53096         (__fesetenv): Always set __eip, __cs_selector, __opcode,
53097         __data_offset and __data_selector in environment to 0.  Set SSE
53098         state if supported.
53099         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
53100         test-fenv-sse.
53101         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
53102         -mfpmath=sse.
53103         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
53105 2014-05-09  Will Newton  <will.newton@linaro.org>
53107         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53108         and libc_relro_required for ARM.
53109         * sysdeps/arm/preconfigure: Regenerate.
53111 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
53112             Stefan Liebler  <stli@linux.vnet.ibm.com>
53114         * config.make.in (enable-lock-elision): New Makefile variable.
53115         * configure.ac: Likewise.
53116         * configure: Regenerate.
53117         * sysdeps/s390/configure.ac:
53118         Add check for gcc transactions support.
53119         * sysdeps/s390/configure: Regenerate.
53120         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
53121         Build elision files if enabled.
53122         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
53123         Add lock elision support for s390.
53124         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53125         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
53126         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
53127         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
53128         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53129         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
53130         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
53131         Likewise.
53132         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53133         Likewise.
53134         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
53135         Likewise.
53136         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
53137         Likewise.
53138         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
53139         (__lll_timedlock_elision, __lll_lock_elision)
53140         (__lll_unlock_elision, __lll_trylock_elision)
53141         (lll_timedlock_elision, lll_lock_elision)
53142         (lll_unlock_elision, lll_trylock_elision): Add.
53143         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53144         (pthread_mutex_t): Add lock elision support for s390.
53146 2014-05-14  Wilco  <wdijkstr@arm.com>
53148         * sysdeps/arm/fclrexcpt.c: Cleanup.
53149         * sysdeps/arm/fedisblxcpt.c: Cleanup.
53150         * sysdeps/arm/feenablxcpt.c: Cleanup.
53151         * sysdeps/arm/fegetenv.c: Cleanup.
53152         * sysdeps/arm/fegetexcept.c: Cleanup.
53153         * sysdeps/arm/fegetround.c: Cleanup.
53154         * sysdeps/arm/feholdexcpt.c: Cleanup.
53155         * sysdeps/arm/fesetenv.c: Cleanup.
53156         * sysdeps/arm/fesetround.c: Cleanup.
53157         * sysdeps/arm/feupdateenv.c: Cleanup.
53158         * sysdeps/arm/fgetexcptflg.c: Cleanup.
53159         * sysdeps/arm/fraiseexcpt.c: Cleanup.
53160         * sysdeps/arm/fsetexcptflg.c: Cleanup.
53161         * sysdeps/arm/ftestexcept.c: Cleanup.
53162         * sysdeps/arm/get-rounding-mode.h: Cleanup.
53163         * sysdeps/arm/setfpucw.c: Cleanup.
53165 2014-05-09  Will Newton  <will.newton@linaro.org>
53167         * sysdeps/arm/armv7/strcmp.S: New file.
53168         * NEWS: Mention addition of ARMv7 optimized strcmp.
53170 2014-05-08  Roland McGrath  <roland@hack.frob.com>
53172         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53173         look for %.ac rather than %.in.
53175         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53176         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53177         * sysdeps/mach/hurd/configure: Regenerated.
53178         * sysdeps/unix/sysv/linux/configure: Regenerated.
53180         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53182 2014-05-07  Steve Ellcey  <sellcey@mips.com>
53184         [BZ #16922]
53185         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53186         (LONG_SUB): Ditto.
53187         (PTR_SUB): Ditto.
53189 2014-05-07  Andreas Schwab  <schwab@suse.de>
53191         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53192         when skipping over non-matching result from nscd.
53194 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
53196         [BZ #16876]
53197         * nptl/sockperf.c (client): Check socket return value.
53199         [BZ #16877]
53200         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53201         nscd security class.
53203 2014-05-06  Roland McGrath  <roland@hack.frob.com>
53205         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53206         * sysdeps/arm/unwind.h: ... here.
53208 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
53210         [BZ #16916]
53211         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53212         Define.
53214 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53216         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53217         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53218         multiarch strncpy for PPC64.
53219         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53220         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53221         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53222         multiarch optimizations.
53223         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53224         (__libc_ifunc_impl_list): Likewise.
53225         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53226         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53227         multiarch stpncpy for PPC64.
53228         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53229         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53231 2014-05-06  Andreas Schwab  <schwab@suse.de>
53233         [BZ #16912]
53234         * gmon/mcount.c (_MCOUNT_DECL): Use
53235         atomic_compare_and_exchange_bool_acq instead of
53236         catomic_compare_and_exchange_bool_acq.
53238 2014-05-05  Roland McGrath  <roland@hack.frob.com>
53240         * elf/Makefile (others, install-bin): Remove pldd.
53241         (pldd-modules): Variable removed.
53242         ($(objpfx)pldd): Target removed.
53243         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53244         (others, install-bin): Append pldd here.
53245         ($(objpfx)pldd): New target.
53247         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53248         to 0, so the first #if test emitted later doesn't see it undefined.
53249         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53250         * sysdeps/gnu/errlist.c: Regenerated.
53252 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53254         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53255         [libc_hidden_builtin_def]: Define to empty value.
53256         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53257         [libc_hidden_builtin_def]: Likewise.
53258         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53259         [libc_hidden_builtin_def]: Likewise.
53260         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53261         [libc_hidden_builtin_def]: Likewise.
53262         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53263         __redirect_memcpy and define ifunc as default hidden symbol.
53264         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53265         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53267 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53269         * locale/iso-4217.def: Reintroduce XDR currency.
53271 2014-05-04  Allan McRae  <allan@archlinux.org>
53273         * po/eo.po: Update Esperanto translation from translation project.
53275 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53277         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53278         and FEATURE_INDEX_MAX to 1.
53279         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53281 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53283         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53284         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53285         * iconvdata/big5.c (ONE_DIRECTION): Define.
53286         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53287         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53288         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53289         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53290         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53291         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53292         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53293         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53294         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53295         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53296         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53297         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53298         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53299         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53300         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53301         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53302         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53303         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53304         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53305         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53306         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53307         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53308         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53309         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53310         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53311         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53312         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53313         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53314         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53315         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53316         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53317         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53318         * iconvdata/johab.c (ONE_DIRECTION): Define.
53319         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53320         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53321         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53322         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53323         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53324         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53325         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53326         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53327         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53328         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53330 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53332         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53333         (_IO_JUMPS_OFFSET): Define to 0.
53335         * nptl/sysdeps/pthread/bits/libc-lock.h
53336         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53337         (__libc_lock_define_initialized_recursive): Always define using
53338         initializer.  Modern compilers treat uninitialized (implicit zero) and
53339         explicit zero initializers the same (i.e. put the datum in bss).
53341 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53343         * nscd/nscd-client.h: Include <string.h>.
53345 2014-05-01  David S. Miller  <davem@davemloft.net>
53347         [BZ #16885]
53348         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53349         multiple zero bytes exist at the end of a string.
53350         Reported by Aurelien Jarno <aurelien@aurel32.net>
53352         * string/test-strcmp.c (check): Add explicit test for situations where
53353         there are multiple zero bytes after the first.
53355 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53357         [BZ #16890]
53358         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53359         when compiling wprintf.
53360         * stdio-common/tstdiomisc.c (t3): New function.
53361         (main): Call it.
53363 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53365         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53366         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53367         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53368         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53370 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53372         * stdlib/longlong.h: Updated from GCC.
53374 2014-05-01  Will Newton  <will.newton@linaro.org>
53375             Bernard Ogden  <bernie.ogden@linaro.org>
53377         * NEWS: Update fixed bug list.
53379         [BZ #15119]
53380         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53382 2014-04-30  David S. Miller  <davem@davemloft.net>
53384         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53385         (libc_feholdexcept_setround_sparc_ctx): New function.
53386         (libc_fesetenv_sparc_ctx): Likewise.
53387         (libc_feupdateenv_sparc_ctx): Likewise.
53388         (libc_feholdsetround_sparc_ctx): Likewise.
53389         (libc_feholdexcept_setround_ctx): Define.
53390         (libc_feholdexcept_setroundf_ctx): Likewise.
53391         (libc_feholdexcept_setroundl_ctx): Likewise.
53392         (libc_fesetenv_ctx): Likewise.
53393         (libc_fesetenvf_ctx): Likewise.
53394         (libc_fesetenvl_ctx): Likewise.
53395         (libc_feupdateenv_ctx): Likewise.
53396         (libc_feupdateenvf_ctx): Likewise.
53397         (libc_feupdateenvl_ctx): Likewise.
53398         (libc_feresetround_ctx): Likewise.
53399         (libc_feresetroundf_ctx): Likewise.
53400         (libc_feresetroundl_ctx): Likewise.
53401         (libc_feholdsetround_ctx): Likewise.
53402         (libc_feholdsetroundf_ctx): Likewise.
53403         (libc_feholdsetroundl_ctx): Likewise.
53405         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53406         with __USE_GNU instead of XOPEN cpp guards.
53408         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53409         0.
53411         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53412         with XOPEN cpp guards.
53414 2014-04-30  Julian Brown  <julian@codesourcery.com>
53416         [BZ #16888]
53417         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53418         handling.
53420 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53422         [BZ #9894]
53423         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53424         Change to 2.6.32.
53425         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53426         * sysdeps/unix/sysv/linux/configure: Regenerated.
53427         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53428         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53429         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53430         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53431         * README: Update reference to required Linux kernel version.
53432         * manual/install.texi (Linux): Update reference to required Linux
53433         kernel headers version.
53434         * INSTALL: Regenerated.
53436         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53437         header inclusion.
53438         [POSIX] (limits.h): Likewise.
53439         [POSIX] (math.h): Likewise.
53440         [POSIX] (sys/wait.h): Likewise.
53441         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53442         function.
53443         [POSIX] (stddef.h): Do not allow header inclusion.
53445 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53447         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53449 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53451         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53452         Return immediately after lll_futex_wake.
53454 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53456         [BZ #16791]
53457         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53458         structure.
53459         (datahead_init_pos): Call datahead_init_common early.
53460         (datahead_init_neg): Likewise.
53462         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53463         datahead_init_neg): New functions.
53464         * nscd/aicache.c (addhstaiX): Use them.
53465         * nscd/grpcache.c (cache_addgr): Likewise.
53466         * nscd/hstcache.c (cache_addhst): Likewise.
53467         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53468         * nscd/netgroupcache.c (do_notfound): Likewise.
53469         (addgetnetgrentX): Likewise.
53470         (addinnetgrX): Likewise.
53471         * nscd/pwdcache.c (cache_addpw): Likewise.
53472         * nscd/servicescache.c (cache_addserv): Likewise.
53474 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53475             Atsushi Onoe  <atsushi@onoe.org>
53477         [BZ #14308]
53478         [BZ #12994]
53479         [BZ #13651]
53480         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53481         one response is valid.
53482         * resolv/res_send.c (send_dg): Check for validity of other
53483         response if the current response is a referral.
53485 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53487         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53489 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53491         [BZ #16823]
53492         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53493         Always divide by positive zero when computing -Inf result.
53494         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53495         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53497 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53499         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53500         FPSCR if value do not change.
53501         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53502         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53503         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53504         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53505         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53506         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53507         function.
53509 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53511         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53512         * sysdeps/unix/sysv/linux/hppa: Move directory from
53513         ports/systeps/unix/sysv/linux/hppa.
53514         * README: Update listing for hppa-*-linux-gnu.
53516 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
53518         [BZ #16754]
53519         * manual/stdio.texi (Hook functions): Fix types of stream hook
53520         functions.
53521         [BZ #16854]
53522         * socket/sys/socket.h: Fix typo in comment.
53524 2014-04-28  Wilco  <wdijkstr@arm.com>
53526         * sysdeps/arm/fenv_private.h: New file.
53527         * sysdeps/arm/math_private.h: New file.
53528         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53530 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53532         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53533         with __int128_t.
53534         (La_x86_64_retval): Likewise.
53536 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53538         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53539         fpsr if value didn't change.
53540         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53541         to fpcr if value didn't change.
53542         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53543         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53544         fpsr or fpcr if value didn't change.
53545         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53546         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53547         fpcr if value didn't change.
53548         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53549         to fpsr if value didn't change.
53551 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53553         * nptl/tst-sem3.c: Use test-skeleton.c
53554         (main): Rename to do_test.  Use return instead of
53555         exit.
53556         * nptl/tst-sem4.c: Use test-skeleton.c
53557         (main): Rename to do_test.
53559 2014-04-22  David S. Miller  <davem@davemloft.net>
53561         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53562         (struct sigaction): New struct member __glibc_reserved0, change
53563         type of sa_flags to int.
53565 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53567         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53568         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53570 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53572         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53573         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53575 2014-04-22  Will Newton  <will.newton@linaro.org>
53576             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53578         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53579         (__longjmp): Add longjmp and longjmp_target SystemTap
53580         probes.
53581         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53582         (__sigsetjmp): Add setjmp SystemTap probe.
53584 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53586         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53587         match manual order.
53589 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53591         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53593         * sysdeps/powerpc/fpu/fenv_private.h
53594         (libc_feholdexcept_setroundl_ctx): Define to
53595         libc_feholdexcept_setround_ppc_ctx.
53596         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53597         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53598         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53599         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53601 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53603         * sysdeps/aarch64/math-tests.h: New file.
53605 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53607         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53608         New.
53609         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53610         Check and set bit_AVX2_Usable.
53611         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53612         macro.
53613         (bit_AVX2): Likewise.
53614         (index_AVX2_Usable): Likewise.
53615         (CPUID_AVX2): Likewise.
53616         (HAS_AVX2): Likewise.
53618 2014-04-17  Will Newton  <will.newton@linaro.org>
53620         * manual/setjmp.texi (System V contexts): Add note that
53621         calling setcontext on a context created by a call to a
53622         signal handler is undefined.  Update text to note that
53623         setcontext from a signal handler is possible but not
53624         recommended.
53626         [BZ #16629]
53627         * stdlib/tst-setcontext.c: Include signal.h.
53628         (main): Check that the signal stack before and
53629         after swapcontext is the same.
53631         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53632         Re-implement to restore registers in user code and avoid
53633         rt_sigreturn system call.
53635 2014-04-17  Wilco  <wdijkstr@arm.com>
53637         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53638         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53639         * math/test-fenv.c: Skip exception trap tests on targets which only
53640         support non-stop mode.
53642 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53643             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53645         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53646         (libc_feholdsetround_aarch64_ctx)
53647         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53648         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53649         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53650         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53651         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53652         (libc_feresetround_noexl_ctx): Define.
53654 2014-04-16  Richard Henderson  <rth@redhat.com>
53656         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53658         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53659         unwind tables.
53661         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53662         const from the non-libc, non-ldso copy.
53664         * sysdeps/alpha/libm-test-ulps: Regenerate.
53666 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53667             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53669         * sysdeps/aarch64/fpu/math_private.h: New file.
53671 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53673         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53675 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53677         [BZ #16275]
53678         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53679         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53680         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53681         Intel MPX bound registers before _dl_profile_fixup.
53682         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53683         registers after _dl_profile_fixup.  Save and restore bound
53684         registers bnd0/bnd1 when calling _dl_call_pltexit.
53685         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53686         (LR_BND_OFFSET): Likewise.
53687         (LRV_BND0_OFFSET): Likewise.
53688         (LRV_BND1_OFFSET): Likewise.
53690 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53692         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53693         to...
53694         * sysdeps/mach/hurd/i386/tls.h: ... here.
53695         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53696         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53697         fields.
53699 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53701         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53703 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53705         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53707 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53709         [BZ #14770]
53710         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53711         * sysdeps/s390/configure: Regenerate.
53713         [BZ #16824]
53714         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53715         Set round-to-nearest internally to reduce error accumulation.
53717 2014-04-16  Alan Modra  <amodra@gmail.com>
53719         [BZ #16740]
53720         [BZ #16619]
53721         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53722         * math/libm-test.inc (frexp_test_data): Add tests.
53723         * NEWS: Update fixed bug list.
53725 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53727         * benchtests/Makefile: Depend on libraries in build directory.
53728         (bench-math): Separate out math tests.
53729         (bench-pthread): Separate out pthread tests.
53730         (bench): Include math and pthread tests.
53732 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53734         [BZ #16831]
53735         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53736         _dl_debug_initialize.
53738         * configure.ac: Remove SELinux header check.
53739         * configure: Regenerate.
53740         * nscd/selinux.c (perms): Array of const char* to permission names.
53741         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53742         default policy. Call string_to_security_class and string_to_av_perm to
53743         translate strings. Enforce default policy and call avs_has_perm with
53744         results of translated strings.
53746 2014-04-13  David S. Miller  <davem@davemloft.net>
53748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53750 2014-04-12  Allan McRae  <allan@archlinux.org>
53752         [BZ #16838]
53753         * manual/string.texi (Collation Functions): Fix qsort argument
53754         order in example.
53755         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53757 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53759         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53760         Make the test a no-op if there are no exceptions defined.
53762 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53764         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53765         enable-hardcoded-path-in-tests
53767 2014-04-11  Will Newton  <will.newton@linaro.org>
53769         * benchtests/Makefile (extra-objs): Add json-lib.o.
53770         (bench-func): Tidy up JSON output.
53771         * benchtests/bench-skeleton.c: Include json-lib.h.
53772         (main): Use JSON library functions to do output of
53773         benchmark results.
53774         * benchtests/bench-timing-type.c (main): Output the
53775         timing type simply, leaving formatting to the user.
53776         * benchtests/json-lib.c: New file.
53777         * benchtests/json-lib.h: Likewise.
53779 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53781         [BZ #15215]
53782         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53783         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53784         memory barriers.  Add comments.
53785         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53786         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53787         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53788         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53789         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53790         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53792 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53794         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53795         * sysdeps/s390/s390-64/configure.ac: ... this ...
53796         * sysdeps/s390/configure.ac: ... to here.
53797         * sysdeps/s390/s390-32/configure: Delete file.
53798         * sysdeps/s390/s390-64/configure: Delete file.
53799         * sysdeps/s390/configure: Regenerate.
53801 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53803         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53805 2014-04-11  Will Newton  <will.newton@linaro.org>
53807         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53808         to zero if it is not defined elsewhere.  (mtrim): Test
53809         the value of MALLOC_DEBUG with #if rather than #ifdef.
53811 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53813         * benchtests/pthread_once-inputs: New file.
53814         * benchtests/pthread_once-source.c: New file.
53815         * benchtests/README: Update documentation.
53817 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53818             H.J. Lu  <hongjiu.lu@intel.com>
53820         [BZ #16275]
53821         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53822         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53823         * sysdeps/x86_64/configure: Regenerated.
53824         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53825         macro.
53826         (REGISTER_SAVE_RAX): Likewise.
53827         (REGISTER_SAVE_RCX): Likewise.
53828         (REGISTER_SAVE_RDX): Likewise.
53829         (REGISTER_SAVE_RSI): Likewise.
53830         (REGISTER_SAVE_RDI): Likewise.
53831         (REGISTER_SAVE_R8): Likewise.
53832         (REGISTER_SAVE_R9): Likewise.
53833         (REGISTER_SAVE_BND0): Likewise.
53834         (REGISTER_SAVE_BND1): Likewise.
53835         (REGISTER_SAVE_BND2): Likewise.
53836         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53837         bound registers when calling _dl_fixup.
53839 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53841         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53842         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53843         of its definition.
53844         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53845         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53846         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53847         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53848         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53849         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53850         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53852 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53854         [BZ #15514]
53855         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53856         pathconf(_PC_NAME_MAX).
53858 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53860         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53861         Remove macro usage.
53862         (__PTHREAD_SPINS): Move definition to ...
53863         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53864         (__PTHREAD_SPINS): ... here.
53865         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53866         (__PTHREAD_SPIN): Likewise.
53867         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53868         (__PTHREAD_SPIN): Likewise.
53869         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53870         (__PTHREAD_SPIN): Likewise.
53871         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53872         (__PTHREAD_SPIN): Likewise.
53873         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53874         (__PTHREAD_SPIN): Likewise.
53875         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53876         (__PTHREAD_SPIN): Likewise.
53877         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53878         (__PTHREAD_SPIN): Likewise.
53879         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53880         (__PTHREAD_SPIN): Likewise.
53881         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53882         (__PTHREAD_SPIN): Likewise.
53883         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53884         (__PTHREAD_SPIN): Likewise.
53885         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53886         (__PTHREAD_SPIN): Likewise.
53887         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53888         (__PTHREAD_SPIN): Likewise.
53890         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53891         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53892         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53893         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53894         imply folder.
53895         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53896         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53897         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53898         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53899         correct imply path.
53900         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53901         strlen symbol for non multi-arch builds.
53902         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53903         missing hidden_def and weak_alias.
53905 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53907         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53909 2014-04-07  Will Newton  <will.newton@linaro.org>
53911         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53912         and contents.  [!_LIBC] Remove #ifndef and contents.
53913         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53914         * string/memccpy.c (__memccpy): Use ANSI prototype.
53915         * string/memfrob.c (memfrob): Likewise.
53916         * string/strcoll.c (STRCOLL): Likewise.
53917         * string/strlen.c (strlen): Likewise.
53918         * string/strtok.c (STRTOK): Likewise.
53919         * string/strcat.c: Remove unused #include of memcopy.h.
53920         (strcat): Use ANSI prototype.
53921         * string/strchr.c: Remove unused #include of memcopy.h.
53922         (strchr): Use ANSI prototype.
53923         * string/strcmp.c: Remove unused #include of memcopy.h.
53924         (strcmp): Use ANSI prototype.
53925         * string/strcpy.c: Remove unused #include of memcopy.h.
53926         (strcpy): Use ANSI prototype.
53928 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53930         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53931         * config.make.in (config-extra-cppflags): Set it from
53932         libc_extra_cppflags.
53933         * configure.ac (libc_extra_cflags): Make it accumulate over
53934         configure fragments.
53935         (libc_extra_cppflags): New flag.
53936         * configure. Regenerate.
53937         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53938         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53939         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53942         [BZ #16815]
53943         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53944         result for FE_DOWNWARD rounding mode.
53945         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53946         Likewise.
53947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53949 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53951         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53952         in function argument name.
53954 2014-04-03  David Svoboda  <svoboda@cert.org>
53956         [BZ #5666]
53957         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53958         explicitly.
53960 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53962         * elf/dl-unmap-segments.h: New file.
53963         * sysdeps/generic/ldsodefs.h
53964         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53965         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53966         * elf/dl-fptr.c: Likewise.
53967         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53968         * sysdeps/aarch64/tlsdesc.c: Likewise.
53969         * sysdeps/arm/tlsdesc.c: Likewise.
53970         * sysdeps/i386/tlsdesc.c: Likewise.
53971         * sysdeps/tile/dl-runtime.c: Likewise.
53972         * sysdeps/x86_64/tlsdesc.c: Likewise.
53973         * elf/dl-load.h: New file.
53974         * elf/dl-load.c: Include it.
53975         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53976         Macros moved to dl-load.h.
53977         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53978         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53979         Use _dl_unmap_segments in place of __munmap.
53980         Break out segment-mapping loop into ...
53981         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53983 2014-04-03  Will Newton  <will.newton@linaro.org>
53985         * elf/dl-lookup.c (do_lookup_x): Remove comment
53986         referring to nested function and move variable
53987         declarations down to before first use.
53989 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53991         [BZ #16799]
53992         [BZ #16800]
53993         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53994         with 0 numerator.
53995         * math/s_catanf.c (__catanf): Likewise.
53996         * math/s_catanh.c (__catanh): Likewise.
53997         * math/s_catanhf.c (__catanhf): Likewise.
53998         * math/s_catanhl.c (__catanhl): Likewise.
53999         * math/s_catanl.c (__catanl): Likewise.
54000         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
54001         by positive zero when computing -Inf result.
54002         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
54003         (catanh_test): Likewise.
54004         * sysdeps/i386/fpu/libm-test-ulps: Update.
54005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54007         [BZ #16789]
54008         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
54009         instead of using underflowing value in computing result.
54010         * math/s_clog10.c (__clog10): Likewise.
54011         * math/s_clog10f.c (__clog10f): Likewise.
54012         * math/s_clog10l.c (__clog10l): Likewise.
54013         * math/s_clogf.c (__clogf): Likewise.
54014         * math/s_clogl.c (__clogl): Likewise.
54015         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
54016         (clog10_test): Likewise.
54017         * sysdeps/i386/fpu/libm-test-ulps: Update.
54018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54020 2014-04-02  Alan Modra  <amodra@gmail.com>
54022         [BZ #16739]
54023         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
54024         output when value is near a power of two.  Use int64_t for lx and
54025         remove casts.  Use decimal rather than hex exponent constants.
54026         Don't use long double multiplication when double will suffice.
54027         * math/libm-test.inc (nextafter_test_data): Add tests.
54028         * NEWS: Add 16739 and 16786 to bug list.
54030         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
54032         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
54034 2014-04-01  Will Newton  <will.newton@linaro.org>
54036         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
54037         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
54039 2014-04-01  Florian Weimer  <fweimer@redhat.com>
54041         [BZ #13347]
54042         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
54043         * nptl/tst-setuid2.c: New file.
54044         * nptl/Makefile (xtests): Add tst-setuid2.
54046 2014-04-01  Alan Modra  <amodra@gmail.com>
54048         [BZ #16786]
54049         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
54051 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
54053         [BZ #6803]
54054         [BZ #6804]
54055         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
54056         set errno as appropriate.
54057         * math/w_scalbf.c (__scalbf): Likewise.
54058         * math/w_scalbl.c (__scalbl): Likewise.
54059         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
54060         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
54061         * math/libm-test.inc (scalb_test_data): Add errno expectations.
54062         Add more NaN tests.
54064         [BZ #16349]
54065         * math/w_atan2.c: Include <errno.h>.
54066         (__atan2): Set errno for result underflowing to zero.
54067         * math/w_atan2f.c: Include <errno.h>.
54068         (__atan2f): Set errno for result underflowing to zero.
54069         * math/w_atan2l.c: Include <errno.h>.
54070         (__atan2l): Set errno for result underflowing to zero.
54071         * math/auto-libm-test-in: Don't allow missing errno for some atan2
54072         tests.
54073         * math/auto-libm-test-out: Regenerated.
54075 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54077         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
54078         Encode instruction correctly in little endian.
54079         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
54080         Likewise.
54081         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
54082         Likewise.
54083         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
54084         Likewise.
54085         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
54086         Likewise.
54088 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
54090         [BZ #9894]
54091         * sysdeps/unix/sysv/linux/kernel-features.h
54092         [__sparc__ && !__arch64__ && !__sparc_v9__]
54093         (__ASSUME_SET_ROBUST_LIST): Do not define.
54094         [__sparc__ && !__arch64__ && !__sparc_v9__]
54095         (__ASSUME_FUTEX_LOCK_PI): Likewise.
54096         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
54097         Likewise.
54098         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54099         (__ASSUME_FUTEX_LOCK_PI): Undefine.
54100         (__ASSUME_REQUEUE_PI): Likewise.
54101         (__ASSUME_SET_ROBUST_LIST): Likewise.
54102         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54103         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
54104         Undefine.
54105         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54106         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
54107         Likewise.
54108         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
54109         Likewise.
54110         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
54111         Likewise.
54112         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54113         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
54114         Undefine.
54115         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
54116         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
54117         Likewise.
54119         [BZ #16648]
54120         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54121         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
54122         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
54124 2014-03-31  Will Newton  <will.newton@linaro.org>
54126         * benchtests/Makefile (bench): Add ffs and ffsll to list
54127         of tests.
54128         * benchtests/ffs-inputs: New file.
54129         * benchtests/ffsll-inputs: Likewise.
54131 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
54133         [BZ #16770]
54134         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
54135         too large before casting to int.
54136         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
54137         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
54138         * math/libm-test.inc (scalb_test_data): Add more tests.
54140 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54142         * benchtests/Makefile (DETAILED_OPT): New make option.
54143         (bench-func): Run benchmark program with -d if DETAILED_OPT is
54144         set.
54145         * benchtests/bench-skeleton.c: Include stdbool.h.
54146         (main): Store and print timings per input.
54147         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
54148         member to each argument value.
54149         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
54150         (_print_arg_data): Initialize per-input timing to 0.
54152         * benchtests/Makefile (timing-type): New binary.
54153         (bench-clean): Also remove bench-timing-type.
54154         (bench): New target for timing-type.
54155         (bench-func): Print output in JSON format.
54156         * benchtests/bench-skeleton.c (main): Print output in JSON
54157         format.
54158         * benchtests/bench-timing-type.c: New file.
54159         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54160         (TIMING_PRINT_STATS): Remove.
54161         * benchtests/scripts/bench.py (_print_arg_data): Store variant
54162         name separately.
54164         * benchtests/bench-modf.c: Remove.
54165         * benchtests/modf-inputs: New inputs file.
54167 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
54169         [BZ #16362]
54170         * math/s_clog10.c (M_PI_LOG10E): New macro.
54171         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54172         imaginary parts are 0.
54173         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54174         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54175         imaginary parts are 0.
54176         * math/s_clog10l.c (M_PI_LOG10El): New macro.
54177         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54178         imaginary parts are 0.
54179         * math/libm-test.inc (clog10_test_data): Update expected results
54180         for when real and imaginary parts are 0.
54182 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
54184         * elf/dl-load.c: Finish conversion of __builtin_expect into
54185         __glibc_{un}likely.
54187 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
54189         [BZ #16348]
54190         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54191         1+x for argument with exponent below -67.
54192         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54193         Likewise.
54194         * math/auto-libm-test-in: Add more tests of exp.
54195         * math/auto-libm-test-out: Regenerated.
54197 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54199         [BZ #16759]
54200         * inet/getnetgrent_r.c (get_nonempty_val): New function.
54201         (nscd_getnetgrent): Use it.
54203         [BZ #16760]
54204         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54205         of stpcpy.
54207 2014-03-27  Andi Kleen  <ak@linux.intel.com>
54209         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54210         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54211         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54212         (lll_robust_unlock): Remove out of line section. Use cfi
54213         intrinsics.
54214         (LLL_STUB_UNWIND_INFO*): Remove.
54215         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54216         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54217         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54218         (lll_robust_unlock): Remove out of line section. Use cfi
54219         intrinsics.
54220         (LLL_STUB_UNWIND_INFO*): Remove.
54222 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54224         [BZ #16758]
54225         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54226         blank values.
54228 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
54230         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54232 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
54234         [BZ #16198]
54235         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54236         fnstenv.
54237         * math/test-fenv-preserve.c: New file.
54238         * math/Makefile (tests): Add test-fenv-preserve.
54240 2014-03-26  Will Newton <will.newton@linaro.org>
54242         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54244 2014-03-25  Roland McGrath  <roland@hack.frob.com>
54246         * scripts/versionlist.awk: Partition the version sets and emit all
54247         GLIBC_* (sorted) before all others (sorted).
54249 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54251         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54252         GLIBC_2.2.5 version.
54254 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54256         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54257         calls.
54259         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54260         previous change.
54262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54264 2014-03-25  Andreas Schwab  <schwab@suse.de>
54266         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54267         label to be used after in6ailist is initialized.
54269 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54271         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54272         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54274 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54276         [BZ #16357]
54277         [BZ #16599]
54278         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54279         min_plus_half.
54280         (fp_formats): Update initializers.
54281         (init_fp_formats): Initialize new field.
54282         (output_for_one_input_case): Allow underflow for results up to
54283         min_plus_half.
54284         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54285         * math/auto-libm-test-in: Don't mark some underflows from asin and
54286         atanh as spurious.
54287         * math/auto-libm-test-out: Regenerated.
54288         * sysdeps/i386/fpu/libm-test-ulps: Update.
54289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54291 2014-03-25  Andreas Schwab  <schwab@suse.de>
54293         * libio/Makefile (tst-ftell-partial-wide-ENV)
54294         (tst-ftell-active-handler-ENV): Define.
54296 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54298         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54300 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54302         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54304 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54306         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54307         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54308         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54310 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54312         [BZ #16634]
54313         * elf/dl-load.c (open_verify): Add mode parameter.
54314         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54315         (open_path): Change from boolean 'secure' to complete flag 'mode'
54316         (_dl_map_object): Adjust.
54317         * elf/Makefile (tests): Add tst-dlopen-aout.
54318         * elf/tst-dlopen-aout.c: New test.
54320 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54322         [BZ #16714]
54323         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54324         (struct stat): Rename member pad0 to __glibc_reserved0.
54326         [BZ #16712]
54327         * sysdeps/s390/s390-32/bits/wordsize.h
54328         (__WORDSIZE32_SIZE_ULONG): New define.
54329         * sysdeps/s390/s390-64/bits/wordsize.h
54330         (__WORDSIZE32_SIZE_ULONG): Likewise.
54331         * sysdeps/generic/stdint.h (SIZE_MAX):
54332         Define as UL if __WORDSIZE32_SIZE_ULONG.
54334         [BZ #16713]
54335         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54336         (__glibc_reserved0): New variable.
54337         (sa_flags): Change type to int.
54339         * posix/Makefile (before-compile): Use += before-compile instead
54340         of a :=.
54342         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54343         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54345 2014-03-20  Andreas Schwab  <schwab@suse.de>
54347         [BZ #16743]
54348         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54349         non-matching result from nscd.
54351 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54353         * scripts/bench.py: Moved to ...
54354         * benchtests/scripts/bench.py: ... here.
54355         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54357 2014-03-24  Andreas Schwab  <schwab@suse.de>
54359         [BZ #16002]
54360         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54361         alloca_account and account alloca use for struct in6ailist.
54363 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54365         [BZ #16284]
54366         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54367         rounding mode to recompute results that overflow to infinity or
54368         underflow to zero.
54369         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54370         bug 16284.
54371         * math/auto-libm-test-out: Regenerated.
54372         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54373         (ccosh_test): Likewise.
54374         (csin_test_data): Use plus_oflow.
54375         (csin_test): Use ALL_RM_TEST.
54376         (csinh_test_data): Use plus_oflow.
54377         (csinh_test): Use ALL_RM_TEST.
54378         * sysdeps/i386/fpu/libm-test-ulps: Update.
54379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54381 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54383         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54384         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54385         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54387         [BZ #16731]
54388         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54389         when x - 1 is zero.
54390         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54391         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54392         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54393         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54394         argument is 1.
54395         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54396         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54397         zero.
54398         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54399         * sysdeps/i386/fpu/libm-test-ulps: Update.
54400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54402 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54404         * scripts/bench.pl: Remove file.
54405         * scripts/bench.py: New benchmark script.
54406         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54407         * benchtests/README: Mention python dependency.
54408         * scripts/pylintrc: New file.
54409         * scripts/pylint: New file.
54411         * bits/mathdef.h: Use #ifdef instead of #if.
54412         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54413         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54414         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54415         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54416         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54417         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54419 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54420             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54422         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54424         and strpbrk-ppc64 objects.
54425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54426         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54427         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54428         multiarch strpbrk for POWER7.
54429         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54430         multiarch strpbrk for PPC64.
54431         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54432         ifunc selector.
54433         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54434         strpbrk for POWER7.
54436 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54438         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54439         (atan_test): Likewise.
54440         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54441         (atanh_test): Use ALL_RM_TEST.
54442         (atan2_test_data): Likewise.
54443         (cabs_test): Likewise.
54444         (cacosh_test): Likewise.
54445         (carg_test): Likewise.
54446         (casin_test): Likewise.
54447         (casinh_test): Likewise.
54448         (cbrt_test): Likewise.
54449         (csqrt_test): Likewise.
54450         (erf_test): Likewise.
54451         (erfc_test): Likewise.
54452         (pow10_test): Likewise.
54453         (exp2_test): Likewise.
54454         (hypot_test): Likewise.
54455         (j0_test): Likewise.
54456         (j1_test): Likewise.
54457         (lgamma_test): Likewise.
54458         (gamma_test): Likewise.
54459         (sincos_test): Likewise.
54460         (tanh_test): Likewise.
54461         (y0_test): Likewise.
54462         (y1_test): Likewise.
54463         * sysdeps/i386/fpu/libm-test-ulps: Update.
54464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54466 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54468         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54469         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54470         and strcspn-ppc64 objects.
54471         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54472         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54473         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54474         multiarch strcspn for POWER7.
54475         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54476         multiarch strcspn for PPC64.
54477         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54478         ifunc selector.
54479         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54480         strcspn for POWER7.
54482 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54484         * math/gen-libm-test.pl (generate_testfile): Expect only function
54485         name as argument to AUTO_TESTS_* and pass results for all rounding
54486         modes to parse_args.
54487         (parse_auto_input): Separate inputs of automatic tests from
54488         outputs before storing in %auto_tests.
54489         * math/libm-test.inc (acos_test_data): Update call to
54490         AUTO_TESTS_f_f.
54491         (acos_test): Use ALL_RM_TEST.
54492         (acos_tonearest_test_data): Remove.
54493         (acos_test_tonearest): Likewise.
54494         (acos_towardzero_test_data): Likewise.
54495         (acos_test_towardzero): Likewise.
54496         (acos_downward_test_data): Likewise.
54497         (acos_test_downward): Likewise.
54498         (acos_upward_test_data): Likewise.
54499         (acos_test_upward): Likewise.
54500         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54501         (asin_test_data): Likewise.
54502         (asin_test): Use ALL_RM_TEST.
54503         (asin_tonearest_test_data): Remove.
54504         (asin_test_tonearest): Likewise.
54505         (asin_towardzero_test_data): Likewise.
54506         (asin_test_towardzero): Likewise.
54507         (asin_downward_test_data): Likewise.
54508         (asin_test_downward): Likewise.
54509         (asin_upward_test_data): Likewise.
54510         (asin_test_upward): Likewise.
54511         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54512         (atan_test_data): Likewise.
54513         (atanh_test_data): Likewise.
54514         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54515         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54516         (carg_test_data): Likewise.
54517         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54518         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54519         (ccosh_test_data): Likewise.
54520         (cexp_test_data): Likewise.
54521         (clog_test_data): Likewise.
54522         (clog10_test_data): Likewise.
54523         (cos_test_data): Update call to AUTO_TESTS_f_f.
54524         (cos_test): Use ALL_RM_TEST.
54525         (cos_tonearest_test_data): Remove.
54526         (cos_test_tonearest): Likewise.
54527         (cos_towardzero_test_data): Likewise.
54528         (cos_test_towardzero): Likewise.
54529         (cos_downward_test_data): Likewise.
54530         (cos_test_downward): Likewise.
54531         (cos_upward_test_data): Likewise.
54532         (cos_test_upward): Likewise.
54533         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54534         (cosh_test): Use ALL_RM_TEST.
54535         (cosh_tonearest_test_data): Remove.
54536         (cosh_test_tonearest): Likewise.
54537         (cosh_towardzero_test_data): Likewise.
54538         (cosh_test_towardzero): Likewise.
54539         (cosh_downward_test_data): Likewise.
54540         (cosh_test_downward): Likewise.
54541         (cosh_upward_test_data): Likewise.
54542         (cosh_test_upward): Likewise.
54543         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54544         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54545         (ctan_test_data): Likewise.
54546         (ctan_test): Use ALL_RM_TEST.
54547         (ctan_tonearest_test_data): Remove.
54548         (ctan_test_tonearest): Likewise.
54549         (ctan_towardzero_test_data): Likewise.
54550         (ctan_test_towardzero): Likewise.
54551         (ctan_downward_test_data): Likewise.
54552         (ctan_test_downward): Likewise.
54553         (ctan_upward_test_data): Likewise.
54554         (ctan_test_upward): Likewise.
54555         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54556         (ctanh_test): Use ALL_RM_TEST.
54557         (ctanh_tonearest_test_data): Remove.
54558         (ctanh_test_tonearest): Likewise.
54559         (ctanh_towardzero_test_data): Likewise.
54560         (ctanh_test_towardzero): Likewise.
54561         (ctanh_downward_test_data): Likewise.
54562         (ctanh_test_downward): Likewise.
54563         (ctanh_upward_test_data): Likewise.
54564         (ctanh_test_upward): Likewise.
54565         (erf_test_data): Update call to AUTO_TESTS_f_f.
54566         (erfc_test_data): Likewise.
54567         (exp_test_data): Likewise.
54568         (exp_test): Use ALL_RM_TEST.
54569         (exp_tonearest_test_data): Remove.
54570         (exp_test_tonearest): Likewise.
54571         (exp_towardzero_test_data): Likewise.
54572         (exp_test_towardzero): Likewise.
54573         (exp_downward_test_data): Likewise.
54574         (exp_test_downward): Likewise.
54575         (exp_upward_test_data): Likewise.
54576         (exp_test_upward): Likewise.
54577         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54578         (exp10_test): Use ALL_RM_TEST.
54579         (exp10_tonearest_test_data): Remove.
54580         (exp10_test_tonearest): Likewise.
54581         (exp10_towardzero_test_data): Likewise.
54582         (exp10_test_towardzero): Likewise.
54583         (exp10_downward_test_data): Likewise.
54584         (exp10_test_downward): Likewise.
54585         (exp10_upward_test_data): Likewise.
54586         (exp10_test_upward): Likewise.
54587         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54588         (expm1_test_data): Likewise.
54589         (expm1_test): Use ALL_RM_TEST.
54590         (expm1_tonearest_test_data): Remove.
54591         (expm1_test_tonearest): Likewise.
54592         (expm1_towardzero_test_data): Likewise.
54593         (expm1_test_towardzero): Likewise.
54594         (expm1_downward_test_data): Likewise.
54595         (expm1_test_downward): Likewise.
54596         (expm1_upward_test_data): Likewise.
54597         (expm1_test_upward): Likewise.
54598         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54599         (fma_test): Use ALL_RM_TEST.
54600         (fma_towardzero_test_data): Remove.
54601         (fma_test_towardzero): Likewise.
54602         (fma_downward_test_data): Likewise.
54603         (fma_test_downward): Likewise.
54604         (fma_upward_test_data): Likewise.
54605         (fma_test_upward): Likewise.
54606         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54607         (j0_test_data): Update call to AUTO_TESTS_f_f.
54608         (j1_test_data): Likewise.
54609         (jn_test_data): Update call to AUTO_TESTS_if_f.
54610         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54611         (log_test_data): Update call to AUTO_TESTS_f_f.
54612         (log10_test_data): Likewise.
54613         (log1p_test_data): Likewise.
54614         (log2_test_data): Likewise.
54615         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54616         (pow_tonearest_test_data): Likewise.
54617         (sin_test_data): Update call to AUTO_TESTS_f_f.
54618         (sin_test): Use ALL_RM_TEST.
54619         (sin_tonearest_test_data): Remove.
54620         (sin_test_tonearest): Likewise.
54621         (sin_towardzero_test_data): Likewise.
54622         (sin_test_towardzero): Likewise.
54623         (sin_downward_test_data): Likewise.
54624         (sin_test_downward): Likewise.
54625         (sin_upward_test_data): Likewise.
54626         (sin_test_upward): Likewise.
54627         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54628         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54629         (sinh_test): Use ALL_RM_TEST.
54630         (sinh_tonearest_test_data): Remove.
54631         (sinh_test_tonearest): Likewise.
54632         (sinh_towardzero_test_data): Likewise.
54633         (sinh_test_towardzero): Likewise.
54634         (sinh_downward_test_data): Likewise.
54635         (sinh_test_downward): Likewise.
54636         (sinh_upward_test_data): Likewise.
54637         (sinh_test_upward): Likewise.
54638         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54639         (sqrt_test): Use ALL_RM_TEST.
54640         (sqrt_tonearest_test_data): Remove.
54641         (sqrt_test_tonearest): Likewise.
54642         (sqrt_towardzero_test_data): Likewise.
54643         (sqrt_test_towardzero): Likewise.
54644         (sqrt_downward_test_data): Likewise.
54645         (sqrt_test_downward): Likewise.
54646         (sqrt_upward_test_data): Likewise.
54647         (sqrt_test_upward): Likewise.
54648         (tan_test_data): Update call to AUTO_TESTS_f_f.
54649         (tan_test): Use ALL_RM_TEST.
54650         (tan_tonearest_test_data): Remove.
54651         (tan_test_tonearest): Likewise.
54652         (tan_towardzero_test_data): Likewise.
54653         (tan_test_towardzero): Likewise.
54654         (tan_downward_test_data): Likewise.
54655         (tan_test_downward): Likewise.
54656         (tan_upward_test_data): Likewise.
54657         (tan_test_upward): Likewise.
54658         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54659         (tgamma_test_data): Likewise.
54660         (y0_test_data): Likewise.
54661         (y1_test_data): Likewise.
54662         (yn_test_data): Update call to AUTO_TESTS_if_f.
54663         (main): Do not call removed functions.
54665 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54667         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54668         (ldexp_test_data): Remove.
54669         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54670         scalbn_test_data.
54671         (scalb_test): Use ALL_RM_TEST.
54673 2014-03-19  Andreas Schwab  <schwab@suse.de>
54675         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54677 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54679         [BZ #16649]
54680         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54681         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54682         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54683         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54684         (__ASSUME_PREADV): Undefine.
54685         (__ASSUME_PWRITEV): Likewise.
54687 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54689         * bits/mman-linux.h: Add comment about non-Linux use.
54690         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54691         bits/mman-linux.h resting place.
54693         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54694         * bits/mman-linux.h: ... here.
54696 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54698         * conform/conformtest.pl: Add standard definition when calling C
54699         preprocessor on data files.
54700         (checknamespace): Remove unused variable.
54702 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54704         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54705         minus_oflow, plus_uflow and minus_uflow in expected results.
54706         * math/libm-test.inc (scalbn_test_data): Add more tests of
54707         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54708         minus_uflow.
54709         (scalbn_test): Use ALL_RM_TEST.
54710         (scalbln_test_data): Add more tests of negative arguments.  Use
54711         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54712         (scalbln_test): Use ALL_RM_TEST.
54714 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54716         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54718 2014-03-18  Will Newton  <will.newton@linaro.org>
54720         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54721         inaccurate comment.
54723 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54725         * Makerules [!subdir] (check-abi): Exit with error status if a
54726         test failed.
54728 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54730         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54731         for rint.  Include results for all rounding modes.
54732         (nearbyint_test): Use ALL_RM_TEST.
54733         (rint_test_data): Include all tests used for nearbyint.
54735 2014-03-17  Will Newton  <will.newton@linaro.org>
54737         * nptl/sysdeps/pthread/pthread.h: Revert previous
54738         change.
54740         * sysdeps/generic/ldsodefs.h: Revert previous
54741         change.
54743         * libio/genops.c: Revert previous change.
54744         * libio/libioP.h: Likewise.
54745         * stdio-common/vfprintf.c: Likewise.
54747         * sysdeps/generic/math_private.h: Revert previous
54748         change.
54750         * sysdeps/generic/math_private.h: Check whether
54751         HAVE_RM_CTX is defined with #ifdef rather
54752         than #if.
54754         * argp/argp-fmtstream.h: Check whether
54755         __STRICT_ANSI__ is defined with #ifdef rather
54756         than #if.
54757         * argp/argp.h: Likewise.
54759         * libio/genops.c: Check whether
54760         _IO_JUMPS_OFFSET is defined with #ifdef rather
54761         than #if.
54762         * libio/libioP.h: Likewise.
54763         * stdio-common/vfprintf.c: Likewise.
54765         * sysdeps/generic/ldsodefs.h: Check whether
54766         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54767         than #if.
54769         * nptl/sysdeps/pthread/pthread.h: Check
54770         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54771         its value.
54773 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54775         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54776         setting O_APPEND.
54777         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54778         test case.
54780         [BZ #16680]
54781         * libio/fileops.c (_IO_file_open): Seek to end of file but
54782         don't cache the offset.
54783         (get_file_offset): Remove function.
54784         (do_ftell): Use cached offset when available.
54785         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54786         don't cache the offset.
54787         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54788         case.
54789         (do_one_test): Call it.
54790         (do_ftell_test): Fix up expected old offset for a+ mode.
54791         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54792         available.
54794         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54795         up test status with function return status.
54796         (do_write_test): Likewise.
54797         (do_append_test): Likewise.
54799         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54800         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54801         Remove.
54803 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54805         * math/gen-libm-test.pl (parse_args): Handle results specified for
54806         each rounding mode separately.
54807         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54808         tests and results from lrint_tonearest_test_data,
54809         lrint_towardzero_test_data, lrint_downward_test_data and
54810         lrint_upward_test_data.
54811         (lrint_test): Use ALL_RM_TEST.
54812         (lrint_tonearest_test_data): Remove.
54813         (lrint_test_tonearest): Likewise.
54814         (lrint_towardzero_test_data): Likewise.
54815         (lrint_test_towardzero): Likewise.
54816         (lrint_downward_test_data): Likewise.
54817         (lrint_test_downward): Likewise.
54818         (lrint_upward_test_data): Likewise.
54819         (lrint_test_upward): Likewise.
54820         (llrint_test_data): Merge in per-rounding-mode tests and results
54821         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54822         llrint_downward_test_data and llrint_upward_test_data.
54823         (llrint_test): Use ALL_RM_TEST.
54824         (llrint_tonearest_test_data): Remove.
54825         (llrint_test_tonearest): Likewise.
54826         (llrint_towardzero_test_data): Likewise.
54827         (llrint_test_towardzero): Likewise.
54828         (llrint_downward_test_data): Likewise.
54829         (llrint_test_downward): Likewise.
54830         (llrint_upward_test_data): Likewise.
54831         (llrint_test_upward): Likewise.
54832         (rint_test_data): Merge in per-rounding-mode tests and results
54833         from rint_tonearest_test_data, rint_towardzero_test_data,
54834         rint_downward_test_data and rint_upward_test_data.  Add
54835         per-rounding-mode results for tests not in those arrays.
54836         (rint_test): Use ALL_RM_TEST.
54837         (rint_tonearest_test_data): Remove.
54838         (rint_test_tonearest): Likewise.
54839         (rint_towardzero_test_data): Likewise.
54840         (rint_test_towardzero): Likewise.
54841         (rint_downward_test_data): Likewise.
54842         (rint_test_downward): Likewise.
54843         (rint_upward_test_data): Likewise.
54844         (rint_test_upward): Likewise.
54845         (main): Don't call removed functions.
54847 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54849         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54850         "Compiled on ..." crapola.  It is anti-useful.
54852 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54854         * scripts/evaluate-test.sh: Handle fourth argument to determine
54855         whether test run should stop on failure.
54856         * Makeconfig (stop-on-test-failure): New variable.
54857         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54858         $(stop-on-test-failure).
54859         * Makefile (tests): Give a summary of results from testing and
54860         exit with failure status if they include an ERROR or FAIL.
54861         (xtests): Likewise.
54862         * manual/install.texi (Configuring and compiling): Mention
54863         stop-on-test-failure=y.
54864         * INSTALL: Regenerated.
54866 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54868         * scripts/versionlist.awk: New file.
54869         * Makerules [$(build-shared) = yes]
54870         (postclean-generated): Add Versions.def, not Versions.def.v and
54871         Versions.def.v.i.
54872         ($(common-objpfx)Versions.def.v.i): Target removed.
54873         ($(common-objpfx)Versions.def): New target.
54874         ($(common-objpfx)Versions.all): Depend on that rather that
54875         $(common-objpfx)Versions.def.v.
54876         * Versions.def: File removed.
54878         * Makeconfig (+gccwarn): Add -Wundef.
54879         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54880         a dl-sysdep.h breaking its contract.
54881         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54882         * include/stackinfo.h: New file.
54883         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54884         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54885         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54886         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54887         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54888         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54889         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54890         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54891         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54892         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54893         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54894         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54895         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54896         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54897         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54899 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54901         [BZ #16707]
54902         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54903         implementation.
54904         * math/libm-test.inc (round_test_data): Add more tests.
54906         [BZ #16706]
54907         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54908         implementation.
54909         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54911         [BZ #16701]
54912         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54913         implementation.
54914         * math/libm-test.inc (ceil_test_data): Add more tests.
54916         * math/libm-test.inc (trunc_test_data): Add more tests related to
54917         BZ#16414.
54919 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54921         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54922         with #if rather than #ifdef.
54923         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54925 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54927         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54928         first.  Disable AVX-512 GCC support if assembler doesn't support
54929         it.
54930         * sysdeps/x86_64/configure: Regenerated.
54932 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54934         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54935         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54936         (__old_pthread_attr_setstack): Likewise.
54937         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54938         [!_STACK_GROWS_DOWN]: Likewise.
54940 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54942         * config.make.in (have-bash2): Delete.
54943         * configure.ac (libc_cv_have_bash2): Delete.
54944         * configure: Regenerate.
54945         * elf/Makefile (common-ldd-rewrite): Rename to ...
54946         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54947         (sh-ldd-rewrite): Delete.
54948         (bash-ldd-rewrite): Delete.
54949         (have-bash2): Delete checks.
54950         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54951         ldd-rewrite.
54953         * config.make.in (have-ksh): Delete.
54954         (KSH): Delete.
54955         * configure.ac (libc_cv_have_ksh): Delete.
54956         * configure: Regenerate.
54958         * elf/Makefile: Delete $(have-ksh) check.
54959         ($(objpfx)sotruss): Change KSH to BASH.
54960         * elf/sotruss.ksh: Rename to ...
54961         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54962         function style to match POSIX.  Drop ksh vim mode setting.
54964         * manual/time.texi (Specifying the Time Zone with TZ): Change
54965         Tuesday to Thursday.
54967         * debug/tst-longjmp_chk2.c: Update header comment.
54968         (stackoverflow_handler): Add comment.  Call assert on pass value.
54970 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54972         [BZ #16194]
54973         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54974         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54975         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54976         (La_x86_64_vector): Add zmm.
54977         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54978         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54979         ($(objpfx)tst-audit10): New target.
54980         ($(objpfx)tst-audit10.out): Likewise.
54981         (tst-audit10-ENV): New.
54982         (AVX512-CFLAGS): Likewise.
54983         (CFLAGS-tst-audit10.c): Likewise.
54984         (CFLAGS-tst-auditmod10a.c): Likewise.
54985         (CFLAGS-tst-auditmod10b.c): Likewise.
54986         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54987         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54988         * sysdeps/x86_64/configure: Regenerated.
54989         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54990         AVX-512 zmm register support.
54991         (_dl_x86_64_save_sse): Likewise.
54992         (_dl_x86_64_restore_sse): Likewise.
54993         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54994         size vector registers.
54995         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54996         (ZMM_SIZE): Likewise.
54997         * sysdeps/x86_64/tst-audit10.c: New file.
54998         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54999         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
55001 2014-03-13  Roland McGrath  <roland@hack.frob.com>
55003         * configure.ac (HAVE_EHDR_START): New check.
55004         * configure: Regenerated.
55005         * config.h.in (HAVE_EHDR_START): New #undef.
55006         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
55007         assuming the lowest-addressed segment maps the start of the file.
55009 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
55011         * INSTALL: Regenerated.
55013 2014-03-13  Will Newton  <will.newton@linaro.org>
55015         * manual/setjmp.texi (System V contexts): Improve
55016         clarity and grammar of documentation.
55018 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
55020         [BZ #16381]
55021         * elf/Makefile (tests): Add tst-pie2.
55022         (tests-pie): Add tst-pie2.
55023         * elf/tst-pie2.c: New file.
55024         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
55025         for ET_EXEC.
55026         * elf/rtld.c (map_doit): Load executable as lt_executable.
55027         (dl_main): Likewise.
55029 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
55031         [BZ #16642]
55032         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55033         (__ASSUME_PSELECT): Undefine.
55035 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55037         [BZ #16689]
55038         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
55039         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
55040         static build.
55041         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
55042         selector for static builds.
55044 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55046         [BZ #16695]
55047         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
55048         key in the buffer.
55050 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55052         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
55053         IFUNC selector for static builds.
55055 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
55057         * sysdeps/mips/math_private.h [__mips_hard_float]
55058         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
55059         libc_feresetround_mips_ctx.
55060         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
55061         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
55062         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
55064         [BZ #16677]
55065         * math/s_nextafter.c (__nextafter): Do not return value from
55066         overflowing computation.
55067         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
55068         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
55069         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
55070         Likewise.
55071         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
55072         Likewise.
55073         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
55074         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
55076 2014-03-11  Roland McGrath  <roland@hack.frob.com>
55078         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
55079         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
55080         Move sfi_sp use from the load-multiple (that no longer sets sp) to
55081         the new mov targetting sp.
55083 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55085         [BZ #16683]
55086         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
55087         Define it for static builds as well.
55088         (NO_BZERO_IMPL): Likewise.
55090 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
55092         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
55093         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
55094         multiarch strspn for PPC64.
55095         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
55096         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
55097         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55098         (__libc_ifunc_impl_list): Likewise.
55099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
55100         multiarch optimizations
55101         * string/strspn.c (strspn): Using macro to redefine symbol name.
55103 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
55104             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55106         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
55107         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
55108         multiarch strncat for PPC64.
55109         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
55110         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
55111         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55112         (__libc_ifunc_impl_list): Likewise.
55113         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
55114         multiarch optimizations
55116 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55118         [BZ #16639]
55119         * nscd/nscd.service: Make service type forking.
55121 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55123         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
55124         sign in non default rounding modes.
55125         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
55127 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
55129         * math/libm-test.inc (ALL_RM_TEST): New macro.
55130         (ceil_test): Use ALL_RM_TEST.
55131         (cimag_test): Likewise.
55132         (conj_test): Likewise.
55133         (copysign_test): Likewise.
55134         (cproj_test): Likewise.
55135         (creal_test): Likewise.
55136         (fabs_test): Likewise.
55137         (floor_test): Likewise.
55138         (fmax_test): Likewise.
55139         (fmin_test): Likewise.
55140         (fmod_test): Likewise.
55141         (fpclassify_test): Likewise.
55142         (frexp_test): Likewise.
55143         (ilogb_test): Likewise.
55144         (isfinite_test): Likewise.
55145         (finite_test): Likewise.
55146         (isgreater_test): Likewise.
55147         (isgreaterequal_test): Likewise.
55148         (isinf_test): Likewise.
55149         (isless_test): Likewise.
55150         (islessequal_test): Likewise.
55151         (islessgreater_test): Likewise.
55152         (isnan_test): Likewise.
55153         (isnormal_test): Likewise.
55154         (issignaling_test): Likewise.
55155         (isunordered_test): Likewise.
55156         (logb_test): Likewise.
55157         (logb_downward_test_data): Remove.
55158         (logb_test_downward): Likewise.
55159         (lround_test): Use ALL_RM_TEST.
55160         (llround_test): Likewise.
55161         (modf_test): Likewise.
55162         (nexttoward_test): Likewise.
55163         (remainder_test): Likewise.
55164         (drem_test): Likewise.
55165         (remainder_tonearest_test_data): Likewise.
55166         (remainder_test_tonearest): Likewise.
55167         (drem_test_tonearest): Likewise.
55168         (remainder_towardzero_test_data): Likewise.
55169         (remainder_test_towardzero): Likewise.
55170         (drem_test_towardzero): Likewise.
55171         (remainder_downward_test_data): Likewise.
55172         (remainder_test_downward): Likewise.
55173         (drem_test_downward): Likewise.
55174         (remainder_upward_test_data): Likewise.
55175         (remainder_test_upward): Likewise.
55176         (drem_test_upward): Likewise.
55177         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
55178         (round_test): Use ALL_RM_TEST.
55179         (signbit_test): Likewise.
55180         (trunc_test): Likewise.
55181         (significand_test): Likewise.
55182         (main): Don't call removed functions.
55184 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55186         [BZ #16674]
55187         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55188         || __USE_XOPEN2K8].
55189         (ILL_ILLOPN): Likewise.
55190         (ILL_ILLADR): Likewise.
55191         (ILL_ILLTRP): Likewise.
55192         (ILL_PRVOPC): Likewise.
55193         (ILL_PRVREG): Likewise.
55194         (ILL_COPROC): Likewise.
55195         (ILL_BADSTK): Likewise.
55196         (FPE_INTDIV): Likewise.
55197         (FPE_INTOVF): Likewise.
55198         (FPE_FLTDIV): Likewise.
55199         (FPE_FLTOVF): Likewise.
55200         (FPE_FLTUND): Likewise.
55201         (FPE_FLTRES): Likewise.
55202         (FPE_FLTINV): Likewise.
55203         (FPE_FLTSUB): Likewise.
55204         (SEGV_MAPERR): Likewise.
55205         (SEGV_ACCERR): Likewise.
55206         (BUS_ADRALN): Likewise.
55207         (BUS_ADRERR): Likewise.
55208         (BUS_OBJERR): Likewise.
55209         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55210         (TRAP_TRACE): Likewise.
55211         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55212         __USE_XOPEN2K8].
55213         (CLD_KILLED): Likewise.
55214         (CLD_DUMPED): Likewise.
55215         (CLD_TRAPPED): Likewise.
55216         (CLD_STOPPED): Likewise.
55217         (CLD_CONTINUED): Likewise.
55218         (POLL_IN): Likewise.
55219         (POLL_OUT): Likewise.
55220         (POLL_MSG): Likewise.
55221         (POLL_ERR): Likewise.
55222         (POLL_PRI): Likewise.
55223         (POLL_HUP): Likewise.
55224         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55225         Likewise.
55226         (ILL_ILLOPN): Likewise.
55227         (ILL_ILLADR): Likewise.
55228         (ILL_ILLTRP): Likewise.
55229         (ILL_PRVOPC): Likewise.
55230         (ILL_PRVREG): Likewise.
55231         (ILL_COPROC): Likewise.
55232         (ILL_BADSTK): Likewise.
55233         (FPE_INTDIV): Likewise.
55234         (FPE_INTOVF): Likewise.
55235         (FPE_FLTDIV): Likewise.
55236         (FPE_FLTOVF): Likewise.
55237         (FPE_FLTUND): Likewise.
55238         (FPE_FLTRES): Likewise.
55239         (FPE_FLTINV): Likewise.
55240         (FPE_FLTSUB): Likewise.
55241         (SEGV_MAPERR): Likewise.
55242         (SEGV_ACCERR): Likewise.
55243         (BUS_ADRALN): Likewise.
55244         (BUS_ADRERR): Likewise.
55245         (BUS_OBJERR): Likewise.
55246         (BUS_MCEERR_AR): Likewise.
55247         (BUS_MCEERR_AO): Likewise.
55248         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55249         (TRAP_TRACE): Likewise.
55250         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55251         __USE_XOPEN2K8].
55252         (CLD_KILLED): Likewise.
55253         (CLD_DUMPED): Likewise.
55254         (CLD_TRAPPED): Likewise.
55255         (CLD_STOPPED): Likewise.
55256         (CLD_CONTINUED): Likewise.
55257         (POLL_IN): Likewise.
55258         (POLL_OUT): Likewise.
55259         (POLL_MSG): Likewise.
55260         (POLL_ERR): Likewise.
55261         (POLL_PRI): Likewise.
55262         (POLL_HUP): Likewise.
55263         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55264         (ILL_ILLOPN): Likewise.
55265         (ILL_ILLADR): Likewise.
55266         (ILL_ILLTRP): Likewise.
55267         (ILL_PRVOPC): Likewise.
55268         (ILL_PRVREG): Likewise.
55269         (ILL_COPROC): Likewise.
55270         (ILL_BADSTK): Likewise.
55271         (FPE_INTDIV): Likewise.
55272         (FPE_INTOVF): Likewise.
55273         (FPE_FLTDIV): Likewise.
55274         (FPE_FLTOVF): Likewise.
55275         (FPE_FLTUND): Likewise.
55276         (FPE_FLTRES): Likewise.
55277         (FPE_FLTINV): Likewise.
55278         (FPE_FLTSUB): Likewise.
55279         (SEGV_MAPERR): Likewise.
55280         (SEGV_ACCERR): Likewise.
55281         (BUS_ADRALN): Likewise.
55282         (BUS_ADRERR): Likewise.
55283         (BUS_OBJERR): Likewise.
55284         (BUS_MCEERR_AR): Likewise.
55285         (BUS_MCEERR_AO): Likewise.
55286         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55287         (TRAP_TRACE): Likewise.
55288         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55289         __USE_XOPEN2K8].
55290         (CLD_KILLED): Likewise.
55291         (CLD_DUMPED): Likewise.
55292         (CLD_TRAPPED): Likewise.
55293         (CLD_STOPPED): Likewise.
55294         (CLD_CONTINUED): Likewise.
55295         (POLL_IN): Likewise.
55296         (POLL_OUT): Likewise.
55297         (POLL_MSG): Likewise.
55298         (POLL_ERR): Likewise.
55299         (POLL_PRI): Likewise.
55300         (POLL_HUP): Likewise.
55301         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55302         Likewise.
55303         (ILL_ILLOPN): Likewise.
55304         (ILL_ILLADR): Likewise.
55305         (ILL_ILLTRP): Likewise.
55306         (ILL_PRVOPC): Likewise.
55307         (ILL_PRVREG): Likewise.
55308         (ILL_COPROC): Likewise.
55309         (ILL_BADSTK): Likewise.
55310         (ILL_BADIADDR): Likewise.
55311         (ILL_BREAK): Likewise.
55312         (FPE_INTDIV): Likewise.
55313         (FPE_INTOVF): Likewise.
55314         (FPE_FLTDIV): Likewise.
55315         (FPE_FLTOVF): Likewise.
55316         (FPE_FLTUND): Likewise.
55317         (FPE_FLTRES): Likewise.
55318         (FPE_FLTINV): Likewise.
55319         (FPE_FLTSUB): Likewise.
55320         (FPE_DECOVF): Likewise.
55321         (FPE_DECDIV): Likewise.
55322         (FPE_DECERR): Likewise.
55323         (FPE_INVASC): Likewise.
55324         (FPE_INVDEC): Likewise.
55325         (SEGV_MAPERR): Likewise.
55326         (SEGV_ACCERR): Likewise.
55327         (SEGV_PSTKOVF): Likewise.
55328         (BUS_ADRALN): Likewise.
55329         (BUS_ADRERR): Likewise.
55330         (BUS_OBJERR): Likewise.
55331         (BUS_MCEERR_AR): Likewise.
55332         (BUS_MCEERR_AO): Likewise.
55333         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55334         (TRAP_TRACE): Likewise.
55335         (TRAP_BRANCH): Likewise.
55336         (TRAP_HWBKPT): Likewise.
55337         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55338         __USE_XOPEN2K8].
55339         (CLD_KILLED): Likewise.
55340         (CLD_DUMPED): Likewise.
55341         (CLD_TRAPPED): Likewise.
55342         (CLD_STOPPED): Likewise.
55343         (CLD_CONTINUED): Likewise.
55344         (POLL_IN): Likewise.
55345         (POLL_OUT): Likewise.
55346         (POLL_MSG): Likewise.
55347         (POLL_ERR): Likewise.
55348         (POLL_PRI): Likewise.
55349         (POLL_HUP): Likewise.
55350         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55351         (ILL_ILLOPN): Likewise.
55352         (ILL_ILLADR): Likewise.
55353         (ILL_ILLTRP): Likewise.
55354         (ILL_PRVOPC): Likewise.
55355         (ILL_PRVREG): Likewise.
55356         (ILL_COPROC): Likewise.
55357         (ILL_BADSTK): Likewise.
55358         (FPE_INTDIV): Likewise.
55359         (FPE_INTOVF): Likewise.
55360         (FPE_FLTDIV): Likewise.
55361         (FPE_FLTOVF): Likewise.
55362         (FPE_FLTUND): Likewise.
55363         (FPE_FLTRES): Likewise.
55364         (FPE_FLTINV): Likewise.
55365         (FPE_FLTSUB): Likewise.
55366         (SEGV_MAPERR): Likewise.
55367         (SEGV_ACCERR): Likewise.
55368         (BUS_ADRALN): Likewise.
55369         (BUS_ADRERR): Likewise.
55370         (BUS_OBJERR): Likewise.
55371         (BUS_MCEERR_AR): Likewise.
55372         (BUS_MCEERR_AO): Likewise.
55373         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55374         (TRAP_TRACE): Likewise.
55375         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55376         __USE_XOPEN2K8].
55377         (CLD_KILLED): Likewise.
55378         (CLD_DUMPED): Likewise.
55379         (CLD_TRAPPED): Likewise.
55380         (CLD_STOPPED): Likewise.
55381         (CLD_CONTINUED): Likewise.
55382         (POLL_IN): Likewise.
55383         (POLL_OUT): Likewise.
55384         (POLL_MSG): Likewise.
55385         (POLL_ERR): Likewise.
55386         (POLL_PRI): Likewise.
55387         (POLL_HUP): Likewise.
55388         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55389         (ILL_ILLOPN): Likewise.
55390         (ILL_ILLADR): Likewise.
55391         (ILL_ILLTRP): Likewise.
55392         (ILL_PRVOPC): Likewise.
55393         (ILL_PRVREG): Likewise.
55394         (ILL_COPROC): Likewise.
55395         (ILL_BADSTK): Likewise.
55396         (FPE_INTDIV): Likewise.
55397         (FPE_INTOVF): Likewise.
55398         (FPE_FLTDIV): Likewise.
55399         (FPE_FLTOVF): Likewise.
55400         (FPE_FLTUND): Likewise.
55401         (FPE_FLTRES): Likewise.
55402         (FPE_FLTINV): Likewise.
55403         (FPE_FLTSUB): Likewise.
55404         (SEGV_MAPERR): Likewise.
55405         (SEGV_ACCERR): Likewise.
55406         (BUS_ADRALN): Likewise.
55407         (BUS_ADRERR): Likewise.
55408         (BUS_OBJERR): Likewise.
55409         (BUS_MCEERR_AR): Likewise.
55410         (BUS_MCEERR_AO): Likewise.
55411         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55412         (TRAP_TRACE): Likewise.
55413         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55414         __USE_XOPEN2K8].
55415         (CLD_KILLED): Likewise.
55416         (CLD_DUMPED): Likewise.
55417         (CLD_TRAPPED): Likewise.
55418         (CLD_STOPPED): Likewise.
55419         (CLD_CONTINUED): Likewise.
55420         (POLL_IN): Likewise.
55421         (POLL_OUT): Likewise.
55422         (POLL_MSG): Likewise.
55423         (POLL_ERR): Likewise.
55424         (POLL_PRI): Likewise.
55425         (POLL_HUP): Likewise.
55426         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55427         (ILL_ILLOPN): Likewise.
55428         (ILL_ILLADR): Likewise.
55429         (ILL_ILLTRP): Likewise.
55430         (ILL_PRVOPC): Likewise.
55431         (ILL_PRVREG): Likewise.
55432         (ILL_COPROC): Likewise.
55433         (ILL_BADSTK): Likewise.
55434         (FPE_INTDIV): Likewise.
55435         (FPE_INTOVF): Likewise.
55436         (FPE_FLTDIV): Likewise.
55437         (FPE_FLTOVF): Likewise.
55438         (FPE_FLTUND): Likewise.
55439         (FPE_FLTRES): Likewise.
55440         (FPE_FLTINV): Likewise.
55441         (FPE_FLTSUB): Likewise.
55442         (SEGV_MAPERR): Likewise.
55443         (SEGV_ACCERR): Likewise.
55444         (BUS_ADRALN): Likewise.
55445         (BUS_ADRERR): Likewise.
55446         (BUS_OBJERR): Likewise.
55447         (BUS_MCEERR_AR): Likewise.
55448         (BUS_MCEERR_AO): Likewise.
55449         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55450         (TRAP_TRACE): Likewise.
55451         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55452         __USE_XOPEN2K8].
55453         (CLD_KILLED): Likewise.
55454         (CLD_DUMPED): Likewise.
55455         (CLD_TRAPPED): Likewise.
55456         (CLD_STOPPED): Likewise.
55457         (CLD_CONTINUED): Likewise.
55458         (POLL_IN): Likewise.
55459         (POLL_OUT): Likewise.
55460         (POLL_MSG): Likewise.
55461         (POLL_ERR): Likewise.
55462         (POLL_PRI): Likewise.
55463         (POLL_HUP): Likewise.
55464         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55465         (ILL_ILLOPN): Likewise.
55466         (ILL_ILLADR): Likewise.
55467         (ILL_ILLTRP): Likewise.
55468         (ILL_PRVOPC): Likewise.
55469         (ILL_PRVREG): Likewise.
55470         (ILL_COPROC): Likewise.
55471         (ILL_BADSTK): Likewise.
55472         (ILL_DBLFLT): Likewise.
55473         (ILL_HARDWALL): Likewise.
55474         (FPE_INTDIV): Likewise.
55475         (FPE_INTOVF): Likewise.
55476         (FPE_FLTDIV): Likewise.
55477         (FPE_FLTOVF): Likewise.
55478         (FPE_FLTUND): Likewise.
55479         (FPE_FLTRES): Likewise.
55480         (FPE_FLTINV): Likewise.
55481         (FPE_FLTSUB): Likewise.
55482         (SEGV_MAPERR): Likewise.
55483         (SEGV_ACCERR): Likewise.
55484         (BUS_ADRALN): Likewise.
55485         (BUS_ADRERR): Likewise.
55486         (BUS_OBJERR): Likewise.
55487         (BUS_MCEERR_AR): Likewise.
55488         (BUS_MCEERR_AO): Likewise.
55489         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55490         (TRAP_TRACE): Likewise.
55491         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55492         __USE_XOPEN2K8].
55493         (CLD_KILLED): Likewise.
55494         (CLD_DUMPED): Likewise.
55495         (CLD_TRAPPED): Likewise.
55496         (CLD_STOPPED): Likewise.
55497         (CLD_CONTINUED): Likewise.
55498         (POLL_IN): Likewise.
55499         (POLL_OUT): Likewise.
55500         (POLL_MSG): Likewise.
55501         (POLL_ERR): Likewise.
55502         (POLL_PRI): Likewise.
55503         (POLL_HUP): Likewise.
55504         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55505         (ILL_ILLOPN): Likewise.
55506         (ILL_ILLADR): Likewise.
55507         (ILL_ILLTRP): Likewise.
55508         (ILL_PRVOPC): Likewise.
55509         (ILL_PRVREG): Likewise.
55510         (ILL_COPROC): Likewise.
55511         (ILL_BADSTK): Likewise.
55512         (FPE_INTDIV): Likewise.
55513         (FPE_INTOVF): Likewise.
55514         (FPE_FLTDIV): Likewise.
55515         (FPE_FLTOVF): Likewise.
55516         (FPE_FLTUND): Likewise.
55517         (FPE_FLTRES): Likewise.
55518         (FPE_FLTINV): Likewise.
55519         (FPE_FLTSUB): Likewise.
55520         (SEGV_MAPERR): Likewise.
55521         (SEGV_ACCERR): Likewise.
55522         (BUS_ADRALN): Likewise.
55523         (BUS_ADRERR): Likewise.
55524         (BUS_OBJERR): Likewise.
55525         (BUS_MCEERR_AR): Likewise.
55526         (BUS_MCEERR_AO): Likewise.
55527         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55528         (TRAP_TRACE): Likewise.
55529         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55530         __USE_XOPEN2K8].
55531         (CLD_KILLED): Likewise.
55532         (CLD_DUMPED): Likewise.
55533         (CLD_TRAPPED): Likewise.
55534         (CLD_STOPPED): Likewise.
55535         (CLD_CONTINUED): Likewise.
55536         (POLL_IN): Likewise.
55537         (POLL_OUT): Likewise.
55538         (POLL_MSG): Likewise.
55539         (POLL_ERR): Likewise.
55540         (POLL_PRI): Likewise.
55541         (POLL_HUP): Likewise.
55542         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55543         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55545         [BZ #16670]
55546         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55547         before #include of <time.h>.
55548         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55549         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55550         (test-xfail-UNIX98/sched.h/conform): Likewise.
55552 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55554         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55555         error absence of trapping exception support.
55556         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55558 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55560         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55561         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55562         * timezone/Makefile (testdata): Move definition above include of
55563         Rules.
55564         (test-zones): New variable.
55565         (tests-special): Add zone files.
55566         (build-testdata): Use $(evaluate-test).
55568         * elf/Makefile (tests-special): Rename tests to end with .out.
55569         ($(objpfx)noload-mem): Likewise.
55570         ($(objpfx)tst-leaks1-mem): Likewise.
55571         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55572         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55573         $(objpfx)test-iconvconfig.out.
55574         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55575         set -e inside subshell and redirect output to file.
55576         * iconvdata/Makefile (generated): Rename tests to end with .out.
55577         Correct type.
55578         (tests-special): Rename tests to end with .out.
55579         ($(objpfx)mtrace-tst-loading): Likewise.
55580         * intl/Makefile (generated): Likewise.
55581         (tests-special): Likewise.
55582         ($(objpfx)mtrace-tst-gettext): Likewise.
55583         * misc/Makefile (generated): Likewise.
55584         (tests-special): Likewise.
55585         ($(objpfx)tst-error1-mem): Likewise.
55586         * nptl/Makefile (tests-special): Likewise.
55587         ($(objpfx)tst-stack3-mem): Likewise.
55588         (generated): Likewise.
55589         * posix/Makefile (generated): Likewise.
55590         (tests-special): Likewise.
55591         (xtests-special): Likewise.
55592         ($(objpfx)tst-fnmatch-mem): Likewise.
55593         ($(objpfx)bug-regex2-mem): Likewise.
55594         ($(objpfx)bug-regex14-mem): Likewise.
55595         ($(objpfx)bug-regex21-mem): Likewise.
55596         ($(objpfx)bug-regex31-mem): Likewise.
55597         ($(objpfx)tst-vfork3-mem): Likewise.
55598         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55599         ($(objpfx)tst-pcre-mem): Likewise.
55600         ($(objpfx)tst-boost-mem): Likewise.
55601         ($(objpfx)bug-ga2-mem): Likewise.
55602         ($(objpfx)bug-glob2-mem): Likewise.
55603         * resolv/Makefile (generate): Likewise.
55604         (tests-special): Likewise.
55605         (xtests-special): Likewise.
55606         (generated): Likewise.
55607         ($(objpfx)mtrace-tst-leaks): Likewise.
55608         ($(objpfx)mtrace-tst-leaks2): Likewise.
55610         * scripts/merge-test-results.sh: New file.
55611         * Makefile (tests-special-notdir): New variable.
55612         (tests): Run merge-test-results.sh.
55613         (xtests): Likewise.
55614         * Rules (tests-special-notdir): New variable.
55615         (xtests-special-notdir): Likewise.
55616         (tests): Run merge-test-results.sh
55617         (xtests): Likewise.
55619         * Makeconfig (test-xfail-name): New variable.
55620         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55621         compute variable name for expected failures.
55622         * conform/Makefile (conformtest-headers-data): New variable.
55623         (conformtest-standards): Likewise.
55624         (conformtest-headers-ISO): Likewise.
55625         (conformtest-headers-ISO99): Likewise.
55626         (conformtest-headers-ISO11): Likewise.
55627         (conformtest-headers-POSIX): Likewise.
55628         (conformtest-headers-XPG3): Likewise.
55629         (conformtest-headers-XPG4): Likewise.
55630         (conformtest-headers-UNIX98): Likewise.
55631         (conformtest-headers-XOPEN2K): Likewise.
55632         (conformtest-headers-POSIX2008): Likewise.
55633         (conformtest-headers-XOPEN2K8): Likewise.
55634         (conformtest-header-list-base): Likewise.
55635         (conformtest-header-list-tests): Likewise.
55636         (conformtest-header-base): Likewise.
55637         (conformtest-header-tests): Likewise.
55638         (tests-special): Add $(conformtest-header-list-tests).  If
55639         [$(fast-check) && !$(cross-compiling)], add
55640         $(conformtest-header-tests) instead of
55641         $(objpfx)run-conformtest.out.
55642         (generated): Add $(conformtest-header-list-base).  If
55643         [$(fast-check) && !$(cross-compiling)], add
55644         $(conformtest-header-base).  Remove previous setting.
55645         ($(conformtest-header-list-tests)): New target.
55646         (test-xfail-run-conformtest): Remove variable.
55647         ($(objpfx)run-conformtest.out): Remove target.
55648         (test-xfail-ISO11/complex.h/conform): New variable.
55649         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55650         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55651         (test-xfail-XPG3/varargs.h/conform): Likewise.
55652         (test-xfail-XPG4/varargs.h/conform): Likewise.
55653         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55654         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55655         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55656         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55657         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55658         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55659         (test-xfail-XPG3/ftw.h/conform): Likewise.
55660         (test-xfail-XPG3/grp.h/conform): Likewise.
55661         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55662         (test-xfail-XPG3/limits.h/conform): Likewise.
55663         (test-xfail-XPG3/pwd.h/conform): Likewise.
55664         (test-xfail-XPG3/search.h/conform): Likewise.
55665         (test-xfail-XPG3/signal.h/conform): Likewise.
55666         (test-xfail-XPG3/stdio.h/conform): Likewise.
55667         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55668         (test-xfail-XPG3/string.h/conform): Likewise.
55669         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55670         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55671         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55672         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55673         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55674         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55675         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55676         (test-xfail-XPG3/termios.h/conform): Likewise.
55677         (test-xfail-XPG3/time.h/conform): Likewise.
55678         (test-xfail-XPG3/unistd.h/conform): Likewise.
55679         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55680         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55681         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55682         (test-xfail-XPG4/netdb.h/conform): Likewise.
55683         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55684         (test-xfail-XPG4/signal.h/conform): Likewise.
55685         (test-xfail-XPG4/stdio.h/conform): Likewise.
55686         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55687         (test-xfail-XPG4/stropts.h/conform): Likewise.
55688         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55689         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55690         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55691         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55692         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55693         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55694         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55695         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55696         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55697         (test-xfail-XPG4/termios.h/conform): Likewise.
55698         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55699         (test-xfail-XPG4/unistd.h/conform): Likewise.
55700         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55701         (test-xfail-POSIX/sched.h/conform): Likewise.
55702         (test-xfail-POSIX/signal.h/conform): Likewise.
55703         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55704         (test-xfail-POSIX/tar.h/conform): Likewise.
55705         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55706         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55707         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55708         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55709         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55710         (test-xfail-UNIX98/sched.h/conform): Likewise.
55711         (test-xfail-UNIX98/signal.h/conform): Likewise.
55712         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55713         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55714         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55715         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55716         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55717         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55718         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55719         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55720         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55721         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55722         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55723         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55724         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55725         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55726         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55727         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55728         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55729         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55730         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55731         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55732         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55733         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55734         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55735         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55736         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55737         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55738         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55739         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55740         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55741         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55742         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55743         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55744         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55745         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55746         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55747         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55748         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55749         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55750         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55751         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55752         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55753         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55754         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55755         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55756         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55757         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55758         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55759         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55760         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55761         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55762         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55763         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55764         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55765         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55766         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55767         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55768         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55769         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55770         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55771         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55772         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55773         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55774         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55775         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55776         (conformtest-cc-flags): Likewise.
55777         ($(conformtest-header-tests): New target.
55778         * conform/check-header-lists.sh: New file.
55779         * conform/run-conformtest.sh: Remove.
55781         * conform/conformtest.pl: Allow ' and \ in values given for
55782         constants.
55783         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55784         inclusion.
55785         [POSIX] (sys/types.h): Likewise.
55786         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55787         inclusion.
55788         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55789         inclusion.
55790         * conform/data/signal.h-data (SIGIO): Remove expectation.
55791         [XPG3] (SIGBUS): Do not expect.
55792         [POSIX || XPG3] (SIGPOLL): Likewise.
55793         [POSIX || XPG3] (SIGPROF): Likewise.
55794         [POSIX || XPG3] (SIGSYS): Likewise.
55795         [XPG3] (SIGTRAP): Likewise.
55796         [POSIX || XPG3] (SIGURG): Likewise.
55797         [POSIX || XPG3] (SIGVTALRM): Likewise.
55798         [POSIX || XPG3] (SIGXCPU): Likewise.
55799         [POSIX || XPG3] (SIGXFSZ): Likewise.
55800         [POSIX] (SA_SIGINFO): Expect.
55801         [XPG3] (siginfo_t): Do not expect type or contents.
55802         [POSIX] (si_pid): Do not expect element.
55803         [POSIX] (si_uid): Likewise.
55804         [POSIX] (si_addr): Likewise.
55805         [POSIX] (si_status): Likewise.
55806         [POSIX] (si_band): Likewise.
55807         [XPG4] (si_value): Likewise.
55808         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55809         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55810         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55811         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55812         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55813         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55814         [POSIX || XPG3] (ILL_COPROC): Likewise.
55815         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55816         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55817         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55818         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55819         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55820         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55821         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55822         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55823         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55824         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55825         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55826         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55827         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55828         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55829         [POSIX || XPG3] (CLD_EXITED): Likewise.
55830         [POSIX || XPG3] (CLD_KILLED): Likewise.
55831         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55832         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55833         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55834         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55835         [POSIX || XPG3] (POLL_IN): Likewise.
55836         [POSIX || XPG3] (POLL_OUT): Likewise.
55837         [POSIX || XPG3] (POLL_MSG): Likewise.
55838         [POSIX || XPG3] (POLL_ERR): Likewise.
55839         [POSIX || XPG3] (POLL_PRI): Likewise.
55840         [POSIX || XPG3] (POLL_HUP): Likewise.
55841         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55842         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55843         (SIG*): Do not allow.
55844         [XPG3] (si_*): Likewise.
55845         [XPG3] (SI_*): Likewise.
55846         [XPG3 || XPG4] (sigev_*): Likewise.
55847         [XPG3 || XPG4] (SIGEV_*): Likewise.
55848         [XPG3 || XPG4] (sival_*): Likewise.
55849         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55850         [POSIX || XPG3] (BUS_*): Likewise.
55851         [POSIX || XPG3] (CLD_*): Likewise.
55852         [POSIX || XPG3] (FPE_*): Likewise.
55853         [POSIX || XPG3] (ILL_*): Likewise.
55854         [POSIX || XPG3] (POLL_*): Likewise.
55855         [POSIX || XPG3] (SEGV_*): Likewise.
55856         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55857         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55858         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55859         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55860         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55861         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55862         Specify type and value.
55863         (TVERSLEN): Likewise.
55864         (REGTYPE): Likewise.
55865         (AREGTYPE): Likewise.
55866         (LNKTYPE): Likewise.
55867         (SYMTYPE): Likewise.
55868         (CHRTYPE): Likewise.
55869         (BLKTYPE): Likewise.
55870         (DIRTYPE): Likewise.
55871         (FIFOTYPE): Likewise.
55872         (CONTTYPE): Likewise.
55873         (TSUID): Likewise.
55874         (TSGID): Likewise.
55875         (TSVTX): Likewise.
55876         (TUREAD): Likewise.
55877         (TUWRITE): Likewise.
55878         (TUEXEC): Likewise.
55879         (TGREAD): Likewise.
55880         (TGWRITE): Likewise.
55881         (TGEXEC): Likewise.
55882         (TOREAD): Likewise.
55883         (TOWRITE): Likewise.
55884         (TOEXEC): Likewise.
55885         [POSIX] (TSVTX): Expect constant.
55887 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55889         * Makefile (tests): Change dependencies to ....
55890         (tests-special): ... additions to this variable.
55891         (tests): Depend on $(tests-special).
55892         * Makerules (check-abi-list): New variable.
55893         (check-abi): Depend on $(check-abi-list).
55894         [$(subdir) = elf] (tests-special): Add
55895         $(objpfx)check-abi-libc.out.
55896         [$(build-shared) = yes && subdir] (tests-special): Add
55897         $(check-abi-list).
55898         [$(build-shared) = yes && subdir] (tests): Do not depend on
55899         check-abi.
55900         * Rules (tests): Depend on $(tests-special).
55901         (xtests): Depend on $(xtests-special).
55902         * catgets/Makefile (tests): Change dependencies to ....
55903         (tests-special): ... additions to this variable.
55904         * conform/Makefile (tests): Change dependencies to ....
55905         (tests-special): ... additions to this variable.
55906         * elf/Makefile (tests): Change dependencies to ....
55907         (tests-special): ... additions to this variable.
55908         * grp/Makefile (tests): Change dependencies to ....
55909         (tests-special): ... additions to this variable.
55910         * iconv/Makefile (xtests): Change dependencies to ....
55911         (xtests-special): ... additions to this variable.
55912         * iconvdata/Makefile (tests): Change dependencies to ....
55913         (tests-special): ... additions to this variable.
55914         * intl/Makefile (tests): Change dependencies to ....
55915         (tests-special): ... additions to this variable.  Also add
55916         $(objpfx)tst-gettext.out.
55917         * io/Makefile (tests): Change dependencies to ....
55918         (tests-special): ... additions to this variable.
55919         * libio/Makefile (tests): Change dependencies to ....
55920         (tests-special): ... additions to this variable.
55921         * malloc/Makefile (tests): Change dependencies to ....
55922         (tests-special): ... additions to this variable.
55923         * misc/Makefile (tests): Change dependencies to ....
55924         (tests-special): ... additions to this variable.
55925         * nptl/Makefile (tests): Change dependencies to ....
55926         (tests-special): ... additions to this variable.
55927         * nptl_db/Makefile (tests): Change dependencies to ....
55928         (tests-special): ... additions to this variable.
55929         * posix/Makefile (tests): Change dependencies to ....
55930         (tests-special): ... additions to this variable.
55931         (xtests): Change dependencies to ....
55932         (xtests-special): ... additions to this variable.
55933         * resolv/Makefile (tests): Change dependencies to ....
55934         (tests-special): ... additions to this variable.
55935         (xtests): Change dependencies to ....
55936         (xtests-special): ... additions to this variable.
55937         * stdio-common/Makefile (tests): Change dependencies to ....
55938         (tests-special): ... additions to this variable.
55939         (do-tst-unbputc): Remove target.
55940         (do-tst-printf): Likewise.
55941         * stdlib/Makefile (tests): Change dependencies to ....
55942         (tests-special): ... additions to this variable.
55943         * string/Makefile (tests): Change dependencies to ....
55944         (tests-special): ... additions to this variable.
55945         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55946         (tests-special): ... additions to this variable.
55948         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55949         whole file.
55950         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55951         whole file.
55952         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55953         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55955         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55956         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55957         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55958         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55959         * conform/data/libgen.h-data [XPG3]: Likewise.
55960         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55961         * conform/data/ndbm.h-data [XPG3]: Likewise.
55962         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55963         * conform/data/netdb.h-data [XPG3]: Likewise.
55964         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55965         * conform/data/poll.h-data [XPG3]: Likewise.
55966         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55967         * conform/data/strings.h-data [XPG3]: Likewise.
55968         * conform/data/stropts.h-data [XPG3]: Likewise.
55969         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55970         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55971         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55972         Likewise.
55973         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55974         * conform/data/sys/time.h-data [XPG3]: Likewise.
55975         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55976         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55977         * conform/data/sys/un.h-data [XPG3]: Likewise.
55978         * conform/data/syslog.h-data [XPG3]: Likewise.
55979         * conform/data/ucontext.h-data [XPG3]: Likewise.
55980         * conform/data/utmpx.h-data [XPG3]: Likewise.
55981         * conform/data/varargs.h-data [UNIX98]: Enable file.
55983         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55985         * math/libm-test.inc (struct test_f_f_data): Move expected results
55986         into structure for each rounding mode.
55987         (struct test_ff_f_data): Likewise.
55988         (struct test_ff_f_data_nexttoward): Likewise.
55989         (struct test_fi_f_data): Likewise.
55990         (struct test_fl_f_data): Likewise.
55991         (struct test_if_f_data): Likewise.
55992         (struct test_fff_f_data): Likewise.
55993         (struct test_c_f_data): Likewise.
55994         (struct test_f_f1_data): Likewise.
55995         (struct test_fF_f1_data): Likewise.
55996         (struct test_ffI_f1_data): Likewise.
55997         (struct test_c_c_data): Likewise.
55998         (struct test_cc_c_data): Likewise.
55999         (struct test_f_i_data): Likewise.
56000         (struct test_ff_i_data): Likewise.
56001         (struct test_f_l_data): Likewise.
56002         (struct test_f_L_data): Likewise.
56003         (struct test_fFF_11_data): Likewise.
56004         (RM_): New macro.
56005         (RM_FE_DOWNWARD): Likewise.
56006         (RM_FE_TONEAREST): Likewise.
56007         (RM_FE_TOWARDZERO): Likewise.
56008         (RM_FE_UPWARD): Likewise.
56009         (RUN_TEST_LOOP_f_f): Update references to expected results.
56010         (RUN_TEST_LOOP_2_f): Likewise.
56011         (RUN_TEST_LOOP_fff_f): Likewise.
56012         (RUN_TEST_LOOP_c_f): Likewise.
56013         (RUN_TEST_LOOP_f_f1): Likewise.
56014         (RUN_TEST_LOOP_fF_f1): Likewise.
56015         (RUN_TEST_LOOP_fI_f1): Likewise.
56016         (RUN_TEST_LOOP_ffI_f1): Likewise.
56017         (RUN_TEST_LOOP_c_c): Likewise.
56018         (RUN_TEST_LOOP_cc_c): Likewise.
56019         (RUN_TEST_LOOP_f_i): Likewise.
56020         (RUN_TEST_LOOP_f_i_tg): Likewise.
56021         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56022         (RUN_TEST_LOOP_f_b): Likewise.
56023         (RUN_TEST_LOOP_f_b_tg): Likewise.
56024         (RUN_TEST_LOOP_f_l): Likewise.
56025         (RUN_TEST_LOOP_f_L): Likewise.
56026         (RUN_TEST_LOOP_fFF_11): Likewise.
56027         * math/gen-libm-test.pl (parse_args): Output four copies of
56028         expected results for each test.
56030         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56031         (__ASSUME_UTIMES): Remove.
56032         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56033         (__ASSUME_UTIMES): Likewise.
56035         * math/gen-auto-libm-tests.c: Update comment on output format.
56036         (output_for_one_input_case): Generate before-rounding and
56037         after-rounding information as conditions on output flags not
56038         floating-point format.
56039         * math/auto-libm-test-out: Regenerated.
56040         * math/gen-libm-test.pl (cond_value): New function.
56041         (or_cond_value): Use cond_value.
56042         (generate_testfile): Handle conditional exceptions.
56044 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
56046         * math/libm-test.inc (max_valid_error): New variable.
56047         (init_max_error): Take new argument specifying whether function
56048         results are exactly determined.  Set max_valid_error and bound
56049         other variables for errors based on this argument.
56050         (set_max_error): Do not record results above max_valid_error.
56051         (check_float_internal): Only accept errors of up to 0.5ulps if
56052         also at most max_valid_error.
56053         (START): Take new argument EXACT and pass it to init_max_error.
56054         (acos_test): Update call to START.
56055         (acos_test_tonearest): Likewise.
56056         (acos_test_towardzero): Likewise.
56057         (acos_test_downward): Likewise.
56058         (acos_test_upward): Likewise.
56059         (acosh_test): Likewise.
56060         (asin_test): Likewise.
56061         (asin_test_tonearest): Likewise.
56062         (asin_test_towardzero): Likewise.
56063         (asin_test_downward): Likewise.
56064         (asin_test_upward): Likewise.
56065         (asinh_test): Likewise.
56066         (atan_test): Likewise.
56067         (atanh_test): Likewise.
56068         (atan2_test): Likewise.
56069         (cabs_test): Likewise.
56070         (cacos_test): Likewise.
56071         (cacosh_test): Likewise.
56072         (carg_test): Likewise.
56073         (casin_test): Likewise.
56074         (casinh_test): Likewise.
56075         (catan_test): Likewise.
56076         (catanh_test): Likewise.
56077         (cbrt_test): Likewise.
56078         (ccos_test): Likewise.
56079         (ccosh_test): Likewise.
56080         (ceil_test): Likewise.
56081         (cexp_test): Likewise.
56082         (cimag_test): Likewise.
56083         (clog_test): Likewise.
56084         (clog10_test): Likewise.
56085         (conj_test): Likewise.
56086         (copysign_test): Likewise.
56087         (cos_test): Likewise.
56088         (cos_test_tonearest): Likewise.
56089         (cos_test_towardzero): Likewise.
56090         (cos_test_downward): Likewise.
56091         (cos_test_upward): Likewise.
56092         (cosh_test): Likewise.
56093         (cosh_test_tonearest): Likewise.
56094         (cosh_test_towardzero): Likewise.
56095         (cosh_test_downward): Likewise.
56096         (cosh_test_upward): Likewise.
56097         (cpow_test): Likewise.
56098         (cproj_test): Likewise.
56099         (creal_test): Likewise.
56100         (csin_test): Likewise.
56101         (csinh_test): Likewise.
56102         (csqrt_test): Likewise.
56103         (ctan_test): Likewise.
56104         (ctan_test_tonearest): Likewise.
56105         (ctan_test_towardzero): Likewise.
56106         (ctan_test_downward): Likewise.
56107         (ctan_test_upward): Likewise.
56108         (ctanh_test): Likewise.
56109         (ctanh_test_tonearest): Likewise.
56110         (ctanh_test_towardzero): Likewise.
56111         (ctanh_test_downward): Likewise.
56112         (ctanh_test_upward): Likewise.
56113         (erf_test): Likewise.
56114         (erfc_test): Likewise.
56115         (exp_test): Likewise.
56116         (exp_test_tonearest): Likewise.
56117         (exp_test_towardzero): Likewise.
56118         (exp_test_downward): Likewise.
56119         (exp_test_upward): Likewise.
56120         (exp10_test): Likewise.
56121         (exp10_test_tonearest): Likewise.
56122         (exp10_test_towardzero): Likewise.
56123         (exp10_test_downward): Likewise.
56124         (exp10_test_upward): Likewise.
56125         (pow10_test): Likewise.
56126         (exp2_test): Likewise.
56127         (expm1_test): Likewise.
56128         (expm1_test_tonearest): Likewise.
56129         (expm1_test_towardzero): Likewise.
56130         (expm1_test_downward): Likewise.
56131         (expm1_test_upward): Likewise.
56132         (fabs_test): Likewise.
56133         (fdim_test): Likewise.
56134         (floor_test): Likewise.
56135         (fma_test): Likewise.
56136         (fma_test_towardzero): Likewise.
56137         (fma_test_downward): Likewise.
56138         (fma_test_upward): Likewise.
56139         (fmax_test): Likewise.
56140         (fmin_test): Likewise.
56141         (fmod_test): Likewise.
56142         (fpclassify_test): Likewise.
56143         (frexp_test): Likewise.
56144         (hypot_test): Likewise.
56145         (ilogb_test): Likewise.
56146         (isfinite_test): Likewise.
56147         (finite_test): Likewise.
56148         (isgreater_test): Likewise.
56149         (isgreaterequal_test): Likewise.
56150         (isinf_test): Likewise.
56151         (isless_test): Likewise.
56152         (islessequal_test): Likewise.
56153         (islessgreater_test): Likewise.
56154         (isnan_test): Likewise.
56155         (isnormal_test): Likewise.
56156         (issignaling_test): Likewise.
56157         (isunordered_test): Likewise.
56158         (j0_test): Likewise.
56159         (j1_test): Likewise.
56160         (jn_test): Likewise.
56161         (ldexp_test): Likewise.
56162         (lgamma_test): Likewise.
56163         (gamma_test): Likewise.
56164         (lrint_test): Likewise.
56165         (lrint_test_tonearest): Likewise.
56166         (lrint_test_towardzero): Likewise.
56167         (lrint_test_downward): Likewise.
56168         (lrint_test_upward): Likewise.
56169         (llrint_test): Likewise.
56170         (llrint_test_tonearest): Likewise.
56171         (llrint_test_towardzero): Likewise.
56172         (llrint_test_downward): Likewise.
56173         (llrint_test_upward): Likewise.
56174         (log_test): Likewise.
56175         (log10_test): Likewise.
56176         (log1p_test): Likewise.
56177         (log2_test): Likewise.
56178         (logb_test): Likewise.
56179         (logb_test_downward): Likewise.
56180         (lround_test): Likewise.
56181         (llround_test): Likewise.
56182         (modf_test): Likewise.
56183         (nearbyint_test): Likewise.
56184         (nextafter_test): Likewise.
56185         (nexttoward_test): Likewise.
56186         (pow_test): Likewise.
56187         (pow_test_tonearest): Likewise.
56188         (pow_test_towardzero): Likewise.
56189         (pow_test_downward): Likewise.
56190         (pow_test_upward): Likewise.
56191         (remainder_test): Likewise.
56192         (drem_test): Likewise.
56193         (remainder_test_tonearest): Likewise.
56194         (drem_test_tonearest): Likewise.
56195         (remainder_test_towardzero): Likewise.
56196         (drem_test_towardzero): Likewise.
56197         (remainder_test_downward): Likewise.
56198         (drem_test_downward): Likewise.
56199         (remainder_test_upward): Likewise.
56200         (drem_test_upward): Likewise.
56201         (remquo_test): Likewise.
56202         (rint_test): Likewise.
56203         (rint_test_tonearest): Likewise.
56204         (rint_test_towardzero): Likewise.
56205         (rint_test_downward): Likewise.
56206         (rint_test_upward): Likewise.
56207         (round_test): Likewise.
56208         (scalb_test): Likewise.
56209         (scalbn_test): Likewise.
56210         (scalbln_test): Likewise.
56211         (signbit_test): Likewise.
56212         (sin_test): Likewise.
56213         (sin_test_tonearest): Likewise.
56214         (sin_test_towardzero): Likewise.
56215         (sin_test_downward): Likewise.
56216         (sin_test_upward): Likewise.
56217         (sincos_test): Likewise.
56218         (sinh_test): Likewise.
56219         (sinh_test_tonearest): Likewise.
56220         (sinh_test_towardzero): Likewise.
56221         (sinh_test_downward): Likewise.
56222         (sinh_test_upward): Likewise.
56223         (sqrt_test): Likewise.
56224         (sqrt_test_tonearest): Likewise.
56225         (sqrt_test_towardzero): Likewise.
56226         (sqrt_test_downward): Likewise.
56227         (sqrt_test_upward): Likewise.
56228         (tan_test): Likewise.
56229         (tan_test_tonearest): Likewise.
56230         (tan_test_towardzero): Likewise.
56231         (tan_test_downward): Likewise.
56232         (tan_test_upward): Likewise.
56233         (tanh_test): Likewise.
56234         (tgamma_test): Likewise.
56235         (trunc_test): Likewise.
56236         (y0_test): Likewise.
56237         (y1_test): Likewise.
56238         (yn_test): Likewise.
56239         (significand_test): Likewise.
56241         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56242         individual tests in comment.
56243         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56244         (prev_max_error): New variable.
56245         (prev_real_max_error): Likewise.
56246         (prev_imag_max_error): Likewise.
56247         (compare_ulp_data): Don't refer to test names in comment.
56248         (find_test_ulps): Remove function.
56249         (find_function_ulps): Likewise.
56250         (find_complex_function_ulps): Likewise.
56251         (init_max_error): Take function name as argument.  Look up ulps
56252         for that function.
56253         (print_ulps): Remove function.
56254         (print_max_error): Use prev_max_error instead of calling
56255         find_function_ulps.
56256         (print_complex_max_error): Use prev_real_max_error and
56257         prev_imag_max_error instead of calling find_complex_function_ulps.
56258         (check_float_internal): Take max_ulp parameter instead of calling
56259         find_test_ulps.  Don't call print_ulps.
56260         (check_float): Update call to check_float_internal.
56261         (check_complex): Update calls to check_float_internal.
56262         (START): Pass argument to init_max_error.
56263         * math/gen-libm-test.pl (%results): Don't include "kind"
56264         information.
56265         (parse_ulps): Don't handle ulps of individual tests.
56266         (print_ulps_file): Likewise.
56267         (output_ulps): Likewise.
56268         * math/README.libm-test: Update.
56269         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56270         individual tests.
56271         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56272         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56273         * sysdeps/arm/libm-test-ulps: Likewise.
56274         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56275         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56276         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56277         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56278         * sysdeps/microblaze/libm-test-ulps: Likewise.
56279         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56280         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56281         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56282         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56283         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56284         * sysdeps/sh/libm-test-ulps: Likewise.
56285         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56286         * sysdeps/tile/libm-test-ulps: Likewise.
56287         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56289 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56291         * math/libm-test.inc (print_complex_max_error): Check separately
56292         whether real and imaginary errors are within allowed range and
56293         pass 0 to print_complex_function_ulps instead of value within
56294         allowed range.
56296 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56298         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56299         formatting.
56300         (get_handles_fopen): Likewise.
56301         (do_write_test): Likewise.
56303         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56305         * libio/fileops.c (do_ftell): Use cached offset when
56306         available.
56307         * libio/iofwide.c (do_ftell_wide): Likewise.
56308         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56309         _IO_file_attach.
56310         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56312         [BZ #16532]
56313         * libio/libioP.h (get_file_offset): New function.
56314         * libio/fileops.c (get_file_offset): Likewise.
56315         (do_ftell): Likewise.
56316         (_IO_new_file_seekoff): Split out ftell logic.
56317         * libio/wfileops.c (do_ftell_wide): Likewise.
56318         (_IO_wfile_seekoff): Split out ftell logic.
56319         * libio/tst-ftell-active-handler.c: New test case.
56320         * libio/Makefile (tests): Add it.
56322 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56324         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56325         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56327 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56329         [BZ #16639]
56330         * nscd/connections.c (nscd_init): Call do_exit.
56331         (start_threads): Call do_exit and notify_parent.
56332         (begin_drop_privileges): Call do_exit.
56333         (finish_drop_privileges): Likewise.
56334         * nscd/selinux.c (preserve_capabilities): Likewise.
56335         (install_real_capabilities): Likewise.
56336         (nscd_selinux_enabled): Likewise.
56337         (avc_create_thread): Likewise.
56338         (avc_alloc_lock): Likewise.
56339         (nscd_avc_init): Likewise.
56340         * nscd/nscd.c (parent_fd): New static variable.
56341         (main): Create a pipe between parent and child processes.
56342         Skip closing parent_fd.
56343         (monitor_child): New function.
56344         (do_exit): Likewise.
56345         (notify_parent): Likewise.
56346         * nscd/nscd.h (notify_parent): Likewise.
56347         (do_exit): Likewise.
56349 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56351         * malloc/malloc.c (__libc_calloc): Revert last change.
56353 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56357 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56359         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56360         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56361         implementation.
56362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56363         (__libc_ifunc_impl_list): Likewise.
56364         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56365         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56366         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56367         * string/strrchr.c: Define STRRCHR.
56369 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
56371         * benchtest/bench-strtok.c (simple_strtok): Delete.
56372         (strtok_string): Use as benchmark.
56373         * string/strtok (STRTOK): New macro.
56375 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56377         * manual/threads.texi: Add header and standard comments to all
56378         functions.
56380         * elf/dl-lookup.c (check_match): New function.
56381         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56382         (do_lookup_x): Remove nested function check_match. Use non-nested
56383         function check_match.
56385 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56387         * csu/Makefile (generated, before-compile): Use += rather than =.
56388         * catgets/Makefile (generated, generated-dirs): Likewise.
56389         * debug/Makefile (generated): Likewise.
56390         * dlfcn/Makefile (generated): Likewise.
56391         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56392         * iconvdata/Makefile (before-compile, generated): Likewise.
56393         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56394         * libio/Makefile (generated): Likewise.
56395         * malloc/Makefile (generated): Likewise.
56396         * manual/Makefile (generated, generated-dirs): Likewise.
56397         * misc/Makefile (generated): Likewise.
56398         * posix/Makefile (generated): Likewise.
56399         * resolv/Makefile (generated): Likewise.
56400         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56401         * timezone/Makefile (generated, generated-dirs): Likewise.
56403         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56405 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56407         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56408         power8 implementation.
56409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56410         file: POWER8 llround ifunc implementation.
56411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56412         (__lllround): Add POWER8 implementation.
56413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56414         POWER8 llround implementation.
56416         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56417         power8 implementation.
56418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56419         file: POWER8 llrint ifunc implementation.
56420         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56421         Add POWER8 implementation.
56422         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56423         POWER8 llrint implementation.
56425         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56426         power8 implementation.
56427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56428         file: POWER8 finite ifunc implementation.
56429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56430         Add POWER8 implementation.
56431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56432         Likewise.
56433         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56434         POWER8 finite implementation.
56435         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56438         power8 implementation.
56439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56440         file: POWER8 isinf ifunc implementation.
56441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56442         POWER8 implementation.
56443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56444         Likewise.
56445         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56446         isinf implementation.
56447         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56449         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56450         (INIT_ARCH): Add hwcap2 initialization.
56451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56452         power8 implementation.
56453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56454         file: POWER8 isnan ifunc implementation.
56455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56456         POWER8 implementation.
56457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56458         Likewise.
56459         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56460         isnan implementation.
56461         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56463 2014-02-27  Joey Ye  <joey.ye@arm.com>
56465         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56466         (_FP_NANFRAC_Q): Set to zero.
56468 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56470         [BZ #16623]
56471         * math/auto-libm-test-in: New test inputs.
56472         * math/auto-libm-test-out: Regenerate.
56473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56474         and DA.
56475         (__cos): Likewise.
56476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56478 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56480         * scripts/evaluate-test.sh: Take new argument indicating whether
56481         failure is expected.
56482         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56483         indicating whether failure is expected.
56484         * conform/Makefile (test-xfail-run-conformtest): New variable.
56485         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56486         level.
56487         * posix/Makefile (test-xfail-annexc): New variable.
56488         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56490 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56492         * argp/Makefile: Include Makeconfig immediately after defining
56493         subdir.
56494         * assert/Makefile: Likewise.
56495         * benchtests/Makefile: Likewise.
56496         * catgets/Makefile: Likewise.
56497         * conform/Makefile: Likewise.
56498         * crypt/Makefile: Likewise.
56499         * csu/Makefile: Likewise.
56500         (all): Remove target.
56501         * ctype/Makefile: Include Makeconfig immediately after defining
56502         subdir.
56503         * debug/Makefile: Likewise.
56504         * dirent/Makefile: Likewise.
56505         * dlfcn/Makefile: Likewise.
56506         * gmon/Makefile: Likewise.
56507         * gnulib/Makefile: Likewise.
56508         * grp/Makefile: Likewise.
56509         * gshadow/Makefile: Likewise.
56510         * hesiod/Makefile: Likewise.
56511         * hurd/Makefile: Likewise.
56512         (all): Remove target.
56513         * iconvdata/Makefile: Include Makeconfig immediately after
56514         defining subdir.
56515         * inet/Makefile: Likewise.
56516         * intl/Makefile: Likewise.
56517         * io/Makefile: Likewise.
56518         * libio/Makefile: Likewise.
56519         (all): Remove target.
56520         * locale/Makefile: Include Makeconfig immediately after defining
56521         subdir.
56522         * login/Makefile: Likewise.
56523         * mach/Makefile: Likewise.
56524         (all): Remove target.
56525         * malloc/Makefile: Include Makeconfig immediately after defining
56526         subdir.
56527         (all): Remove target.
56528         * manual/Makefile: Include Makeconfig immediately after defining
56529         subdir.
56530         * math/Makefile: Likewise.
56531         * misc/Makefile: Likewise.
56532         * nis/Makefile: Likewise.
56533         * nss/Makefile: Likewise.
56534         * po/Makefile: Likewise.
56535         (all): Remove target.
56536         * posix/Makefile: Include Makeconfig immediately after defining
56537         subdir.
56538         * pwd/Makefile: Likewise.
56539         * resolv/Makefile: Likewise.
56540         * resource/Makefile: Likewise.
56541         * rt/Makefile: Likewise.
56542         * setjmp/Makefile: Likewise.
56543         * shadow/Makefile: Likewise.
56544         * signal/Makefile: Likewise.
56545         * socket/Makefile: Likewise.
56546         * soft-fp/Makefile: Likewise.
56547         * stdio-common/Makefile: Likewise.
56548         * stdlib/Makefile: Likewise.
56549         * streams/Makefile: Likewise.
56550         * string/Makefile: Likewise.
56551         * sunrpc/Makefile: Likewise.
56552         (all): Remove target.
56553         * sysvipc/Makefile: Include Makeconfig immediately after defining
56554         subdir.
56555         * termios/Makefile: Likewise.
56556         * time/Makefile: Likewise.
56557         * timezone/Makefile: Likewise.
56558         (all): Remove target.
56559         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56560         subdir.
56561         * wctype/Makefile: Likewise.
56563 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56565         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56566         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56567         (libc_feholdexcept_setround_mips): Ditto.
56568         (libc_feholdsetround): New.
56569         (libc_feholdsetroundf): New.
56570         (libc_feholdsetroundl): New.
56571         (libc_feupdateenv_test_mips): New.
56572         (libc_feupdateenv_test): New.
56573         (libc_feupdateenv_testf): New.
56574         (libc_feupdateenv_testl): New.
56575         (libc_feresetround): New.
56576         (libc_feresetroundf): New.
56577         (libc_feresetroundl): New.
56578         (libc_fetestexcept_mips): New.
56579         (libc_fetestexcept): New.
56580         (libc_fetestexceptf): New.
56581         (libc_fetestexceptl): New.
56582         (HAVE_RM_CTX): New.
56583         (libc_feholdexcept_setround_mips_ctx): New.
56584         (libc_feholdexcept_setround_ctx): New.
56585         (libc_feholdexcept_setroundf_ctx): New.
56586         (libc_feholdexcept_setroundl_ctx): New.
56587         (libc_fesetenv_mips_ctx): New.
56588         (libc_fesetenv_ctx): New.
56589         (libc_fesetenv_ctxf): New.
56590         (libc_fesetenv_ctxl): New.
56591         (libc_feupdateenv_mips_ctx): New.
56592         (libc_feupdateenv_ctx): New.
56593         (libc_feupdateenvf_ctx): New.
56594         (libc_feupdateenvl_ctx): New.
56595         (libc_feholdsetround_mips_ctx): New.
56596         (libc_feholdsetround_ctx): New.
56597         (libc_feholdsetroundf_ctx): New.
56598         (libc_feholdsetroundl_ctx): New.
56599         (libc_feresetround_mips_ctx): New.
56600         (libc_feresetround_ctx): New.
56601         (libc_feresetroundf_ctx): New.
56602         (libc_feresetroundl_ctx): New.
56604 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56606         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56608         * manual/ipc.texi: New file.
56609         * manual/Makefile (chapters): Add ipc.
56610         * manual/job.texi: Add "Inter-Process Communication" to next.
56611         * manual/process.texi: Add "Inter-Process Communication" to prev.
56613 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56617 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
56619         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56621         * manual/arith.texi: Fix spaces after sentences.
56622         * manual/charset.texi: Likewise.
56623         * manual/errno.texi: Likewise.
56624         * manual/install.texi: Likewise.
56625         * manual/llio.texi: Likewise.
56626         * manual/locale.texi: Likewise.
56627         * manual/maint.texi: Likewise.
56628         * manual/math.texi: Likewise.
56629         * manual/memory.texi: Likewise.
56630         * manual/message.texi: Likewise.
56631         * manual/probes.texi: Likewise.
56632         * manual/resource.texi: Likewise.
56633         * manual/signal.texi: Likewise.
56634         * manual/socket.texi: Likewise.
56635         * manual/stdio.texi: Likewise.
56636         * manual/string.texi: Likewise.
56637         * manual/time.texi: Likewise.
56638         * manual/users.texi: Likewise.
56640 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56642         [BZ #16632]
56643         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56644         _DEFAULT_SOURCE is defined.
56646 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56647             Carlos O'Donell  <carlos@redhat.com>
56649         [BZ #16613]
56650         * elf/dl-tls.c (_dl_count_modids): New function.
56651         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56652         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56653         audit library and increment generation counter.
56654         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56655         * elf/tst-audit9.c: New file.
56656         * elf/tst-auditmod9a.c: New file.
56657         * elf/tst-auditmod9b.c: New file.
56658         * elf/Makefile: Add rules to build and run tst-audit9.
56660 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56662         [BZ #15347]
56663         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56665 2014-02-25  Will Newton  <will.newton@linaro.org>
56667         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56668         (__longjmp): Restore sp and lr before restoring callee
56669         saved registers.  Add longjmp and longjmp_target
56670         SystemTap probe point.
56671         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56672         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56673         Define to zero to match jmpbuf layout.
56674         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56675         (__sigsetjmp): Save sp and lr before saving callee
56676         saved registers.  Add setjmp SystemTap probe point.
56678 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56680         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56682 2014-02-24  Andreas Schwab  <schwab@suse.de>
56684         [BZ #15804]
56685         * elf/pldd.c (wait_for_ptrace_stop): New function.
56686         (main): Call it after attaching.
56688 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56690         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56691         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56692         Versions files is now verboten.
56693         * hurd/Versions (libc: GLIBC_2.0):
56694         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56695         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56696         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56697         * mach/Versions: Likewise.
56699         * csu/Versions: Remove unused %include.
56700         * resolv/Versions: Likewise.
56702 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56704         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56705         ($(objpfx)check-local-headers.out): Likewise.
56706         ($(objpfx)begin-end-check.out): Likewise.
56707         * Makerules (check-abi-%.out): Likewise.
56708         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56709         ($(objpfx)test2.cat): Likewise.
56710         ($(objpfx)de/libc.cat): Likewise.
56711         ($(objpfx)test-gencat.out): Likewise.
56712         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56713         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56714         ($(objpfx)noload-mem): Likewise.
56715         ($(objpfx)tst-pathopt.out): Likewise.
56716         ($(objpfx)tst-rtld-load-self.out): Likewise.
56717         ($(objpfx)tst-array1-cmp.out): Likewise.
56718         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56719         ($(objpfx)tst-array2-cmp.out): Likewise.
56720         ($(objpfx)tst-array3-cmp.out): Likewise.
56721         ($(objpfx)tst-array4-cmp.out): Likewise.
56722         ($(objpfx)tst-array5-cmp.out): Likewise.
56723         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56724         ($(objpfx)check-textrel.out): Likewise.
56725         ($(objpfx)check-execstack.out): Likewise.
56726         ($(objpfx)check-localplt.out): Likewise.
56727         ($(objpfx)order2-cmp.out): Likewise.
56728         ($(objpfx)tst-leaks1-mem): Likewise.
56729         ($(objpfx)tst-leaks1-static-mem): Likewise.
56730         ($(objpfx)tst-initorder-cmp.out): Likewise.
56731         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56732         ($(objpfx)tst-unused-dep.out): Likewise.
56733         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56734         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56735         * iconv/Makefile (test-iconvconfig): Likewise.
56736         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56737         ($(objpfx)iconv-test.out): Likewise.
56738         ($(objpfx)tst-tables.out): Likewise.
56739         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56740         ($(objpfx)tst-gettext.out): Likewise.
56741         ($(objpfx)tst-translit.out): Likewise.
56742         ($(objpfx)tst-gettext2.out): Likewise.
56743         ($(objpfx)tst-gettext4.out): Likewise.
56744         ($(objpfx)tst-gettext6.out): Likewise.
56745         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56746         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56747         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56748         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56749         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56750         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56751         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56752         ($(objpfx)wordexp-tst.out): Likewise.
56753         ($(objpfx)annexc.out): Likewise.
56754         ($(objpfx)tst-fnmatch-mem): Likewise.
56755         ($(objpfx)bug-regex2-mem): Likewise.
56756         ($(objpfx)bug-regex14-mem): Likewise.
56757         ($(objpfx)bug-regex21-mem): Likewise.
56758         ($(objpfx)bug-regex31-mem): Likewise.
56759         ($(objpfx)tst-vfork3-mem): Likewise.
56760         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56761         ($(objpfx)tst-pcre-mem): Likewise.
56762         ($(objpfx)tst-boost-mem): Likewise.
56763         ($(objpfx)tst-getconf.out): Likewise.
56764         ($(objpfx)bug-ga2-mem): Likewise.
56765         ($(objpfx)bug-glob2-mem): Likewise.
56766         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56767         ($(objpfx)mtrace-tst-leaks2): Likewise.
56768         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56769         ($(objpfx)tst-printf.out): Likewise.
56770         ($(objpfx)tst-setvbuf1.out): Likewise.
56771         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56772         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56773         ($(objpfx)tst-fmtmsg.out): Likewise.
56774         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56775         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56777         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56778         * bits/sigaction.h [__USE_MISC]: Likewise.
56779         * bits/waitstatus.h: Update #endif comments.
56780         * ctype/ctype.h: Likewise.
56781         * dirent/dirent.h: Likewise.
56782         [__USE_MISC]: Remove redundant conditionals.
56783         * grp/grp.h: Update #endif comments.
56784         [__USE_GNU]: Remove redundant conditionals.
56785         [__USE_MISC]: Likewise.
56786         * inet/netinet/in.h [__USE_GNU]: Likewise.
56787         * io/sys/stat.h [__USE_MISC]: Likewise.
56788         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56789         * libio/bits/stdio.h: Update #endif comments.
56790         [__USE_MISC]: Remove redundant conditionals.
56791         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56792         * libio/stdio.h: Update #endif comments.
56793         [__USE_MISC]: Remove redundant conditionals.
56794         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56795         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56796         * math/math.h: Update #else and #endif comments.
56797         [__USE_MISC]: Remove redundant conditionals.
56798         * misc/sys/uio.h: Update #endif comments.
56799         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56800         * posix/glob.h [__USE_MISC]: Likewise.
56801         * posix/sys/types.h: Update #endif comments.
56802         [__USE_MISC]: Remove redundant conditionals.
56803         * posix/sys/wait.h: Update #endif comments.
56804         [__USE_MISC]: Remove redundant conditionals.
56805         * posix/unistd.h: Update #endif comments.
56806         [__USE_MISC]: Remove redundant conditionals.
56807         * pwd/pwd.h [__USE_GNU]: Likewise.
56808         [__USE_MISC]: Likewise.
56809         * resolv/netdb.h [__USE_GNU]: Likewise.
56810         * signal/signal.h: Update #endif comments.
56811         [__USE_MISC]: Remove redundant conditionals.
56812         * stdlib/stdlib.h: Update #else and #endif comments.
56813         [__USE_MISC]: Remove redundant conditionals.
56814         [__USE_GNU]: Likewise.
56815         * string/bits/string2.h [__USE_MISC]: Likewise.
56816         * string/string.h: Update #endif comments.
56817         [__USE_MISC]: Remove redundant conditionals.
56818         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56819         Likewise.
56820         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56821         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56822         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56823         Likewise.
56824         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56825         Likewise.
56826         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56827         comments.
56828         [__USE_MISC]: Remove redundant conditionals.
56829         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56830         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56831         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56832         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56833         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56834         Likewise.
56835         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56836         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56837         Likewise.
56838         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56839         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56840         Likewise.
56841         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56842         Likewise.
56843         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56844         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56845         Likewise.
56846         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56847         Likewise.
56848         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56849         * sysdeps/x86/bits/string.h: Update #endif comments.
56850         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56851         conditionals.
56852         * time/sys/time.h: Update #endif comments.
56853         * time/time.h: Likewise.
56854         [__USE_MISC]: Remove redundant conditionals.
56856 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56858         [BZ #16600]
56859         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56861 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56863         * Versions.def (librt): Add GLIBC_2.17.
56865 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56867         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56868         synonym for _SYS_AUXV_H to allow direct inclusion.
56869         * sysdeps/sparc/bits/hwcap.h: Likewise.
56870         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56871         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56872         * sysdeps/sparc/sysdep.h: Likewise.
56874 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56876         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56878 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56880         * benchtests/bench-strrchr.c: Print length instead of position.
56882 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56884         [BZ #16611]
56885         * sysdeps/unix/sysv/linux/kernel-features.h
56886         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56887         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56888         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56889         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56890         Likewise.
56891         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56892         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56893         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56894         (__ASSUME_SENDMMSG): Define instead of using previous
56895         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56896         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56897         (__ASSUME_SENDMMSG_SYSCALL): Define.
56898         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56899         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56900         Likewise.
56901         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56902         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56903         Likewise.
56904         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56905         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56906         Likewise.
56907         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56908         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56909         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56910         [__ASSUME_SENDMMSG]: Change conditionals to
56911         [__ASSUME_SENDMMSG_SOCKETCALL].
56912         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56913         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56914         Define.
56915         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56916         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56917         Likewise.
56918         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56919         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56920         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56921         [!__ASSUME_SENDMMSG]: Change conditional to
56922         [!__ASSUME_SENDMMSG_SOCKETCALL].
56923         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56924         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56925         Define.
56927         [BZ #16610]
56928         * sysdeps/unix/sysv/linux/kernel-features.h
56929         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56930         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56931         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56932         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56933         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56934         [__i386__ || __sparc__]
56935         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56936         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56937         (__ASSUME_RECVMMSG): Define instead of using previous
56938         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56939         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56940         (__ASSUME_RECVMMSG_SYSCALL): Define.
56941         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56942         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56943         Likewise.
56944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56945         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56946         Likewise.
56947         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56949         Likewise.
56950         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56951         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56952         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56953         [__ASSUME_RECVMMSG]: Change condition to
56954         [__ASSUME_RECVMMSG_SOCKETCALL].
56955         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56956         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56957         Define.
56958         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56959         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56960         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56961         Likewise.
56962         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56963         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56964         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56965         [!__ASSUME_RECVMMSG]: Change condition to
56966         [!__ASSUME_RECVMMSG_SOCKETCALL].
56967         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56968         (__ASSUME_RECVMMSG_SYSCALL): Define.
56970         [BZ #16609]
56971         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56972         __powerpc__ || __s390__ || __sh__ || __sparc__]
56973         (__ASSUME_SOCKETCALL): Define.
56974         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56975         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56976         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56977         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56978         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56979         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56980         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56981         (__ASSUME_ACCEPT4): Define instead of using previous
56982         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56983         __powerpc__ || __sparc__ || __s390__)] condition.
56984         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56985         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56986         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56987         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56988         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56989         [!__ASSUME_ACCEPT4]: Change condition to
56990         [!__ASSUME_ACCEPT4_SOCKETCALL].
56991         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56992         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56993         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56994         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56995         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56996         __ASSUME_ACCEPT4_SYSCALL.
56997         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56998         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56999         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
57000         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
57001         __ASSUME_ACCEPT4_SYSCALL.
57002         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
57003         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
57004         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
57005         [__ASSUME_ACCEPT4]: Change condition to
57006         [__ASSUME_ACCEPT4_SOCKETCALL].
57007         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
57008         (__ASSUME_SOCKETCALL): Define.
57009         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
57010         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
57011         (__ASSUME_SOCKETCALL): Define.
57012         (__ASSUME_ACCEPT4): Remove.
57013         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
57014         Define.
57015         * sysdeps/unix/sysv/linux/mips/kernel-features.h
57016         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
57017         Likewise.
57018         * sysdeps/unix/sysv/linux/tile/kernel-features.h
57019         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
57021         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
57022         macro.
57023         (HWCAP_ARM_LPAE): Likewise.
57024         (HWCAP_ARM_EVTSTRM): Likewise.
57025         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
57026         Add vpfd32, lpae and evtstrm.
57027         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
57028         Increase to 22.
57030 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
57032         * math/auto-libm-test-in: Add tests of clog10.
57033         * math/auto-libm-test-out: Regenerated.
57034         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
57035         * sysdeps/i386/fpu/libm-test-ulps: Update.
57036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57038 2014-02-18  Andreas Schwab  <schwab@suse.de>
57040         [BZ #16574]
57041         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
57042         Store non-zero if the second buffer was newly allocated.
57043         (send_dg): Likewise.
57044         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
57045         to send_vc and send_dg.
57046         (res_nsend): Pass NULL for ansp2_malloced.
57047         * resolv/res_query.c (__libc_res_nquery): Add parameter
57048         answerp2_malloced and pass it down to __libc_res_nsend.
57049         (res_nquery): Pass additional NULL to __libc_res_nquery.
57050         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
57051         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
57052         second answer buffer if answerp2_malloced was set.
57053         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
57054         (__libc_res_nquerydomain): Add parameter
57055         answerp2_malloced and pass it down to __libc_res_nquery.
57056         (res_nquerydomain): Pass additional NULL to
57057         __libc_res_nquerydomain.
57058         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
57059         additional NULL to __libc_res_nsend and __libc_res_nquery.
57060         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
57061         additional NULL to __libc_res_nsearch.
57062         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
57063         parameter of __libc_res_nsearch to check for separately allocated
57064         second buffer.
57065         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
57066         __libc_res_nquery.
57067         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
57068         additional NULL to __libc_res_nquery.
57069         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
57070         __libc_res_nsearch.
57071         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
57072         * include/resolv.h: Update prototypes of __libc_res_nquery,
57073         __libc_res_nsearch, __libc_res_nsend.
57075 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
57077         * math/auto-libm-test-in: Add tests of fma.
57078         * math/auto-libm-test-out: Regenerated.
57079         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
57080         (fma_towardzero_test_data): Likewise.
57081         (fma_downward_test_data): Likewise.
57082         (fma_upward_test_data): Likewise.
57083         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
57084         mpc_mode.
57085         (rounding_modes): Add values for new field.
57086         (func_calc_method): Add value mpfr_fff_f.
57087         (func_calc_desc): Add mpfr_fff_f union field.
57088         (test_function): Add field exact_args.
57089         (FUNC): Add macro argument EXACT_ARGS.
57090         (FUNC_mpfr_f_f): Update call to FUNC.
57091         (FUNC_mpfr_f_f): Likewise.
57092         (FUNC_mpfr_ff_f): Likewise.
57093         (FUNC_mpfr_if_f): Likewise.
57094         (FUNC_mpc_c_f): Likewise.
57095         (FUNC_mpc_c_c): Likewise.
57096         (test_functions): Add fma.  Update calls to FUNC.
57097         (handle_input_arg): Add argument exact_args.
57098         (add_test): Update call to handle_input_arg.
57099         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
57100         (output_for_one_input_case): Update call to calc_generic_results.
57101         Recalculate exact zero results in each rounding mode.
57103         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
57104         non-negative before setting low bit.
57105         * math/auto-libm-test-in: Mark one asin test possibly having
57106         spurious underflow.
57107         * math/auto-libm-test-out: Regenerated.
57108         * sysdeps/i386/fpu/libm-test-ulps: Update.
57109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57111 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
57113         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
57114         * sysdeps/unix/sysv/linux/microblaze: Move directory from
57115         ports/sysdeps/unix/sysv/linux/microblaze.
57116         * README: Add missing listing for microblaze*-*-linux-gnu.
57118 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
57120         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
57121         duplicate code
57123 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
57125         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
57126         * sysdeps/unix/sysv/linux/ia64: Move directory from
57127         ports/sysdeps/unix/sysv/linux/ia64.
57128         * README: Update listing for ia64-*-linux-gnu.
57130 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
57131             Joseph Myers  <joseph@codesourcery.com>
57133         * Makeconfig (test-name): New variable.
57134         (evaluate-test): Likewise.
57135         * Makerules (do-test-clean): Remove .test-result files.
57136         (common-mostlyclean): Likewise.
57137         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
57138         * scripts/evaluate-test.sh: New file.
57140 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
57142         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
57143         separate $(objpfx)tst-fopenloc-cmp.out and
57144         $(objpfx)tst-fopenloc-mem.out targets.
57145         (tests): Update dependencies.
57146         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
57147         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
57148         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
57149         (tst-rxspencer-no-utf8-ARGS): New variable.
57150         (tst-rxspencer-no-utf8-ENV): Likewise.
57151         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
57152         instead of $(objpfx)tst-rxspencer-mem.
57153         ($(objpfx)tst-rxspencer-mem): Change target to
57154         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
57155         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
57156         * posix/tst-rxspencer-no-utf8.c: New file.
57158         * elf/Makefile ($(objpfx)order.out): Remove rule.
57159         [$(run-built-tests) = yes] (tests): Depend on
57160         $(objpfx)order-cmp.out.
57161         ($(objpfx)order-cmp.out): New rule.
57162         [$(run-built-tests) = yes] (tests): Depend on
57163         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57164         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57165         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57166         $(objpfx)tst-array5-static-cmp.out.
57167         ($(objpfx)tst-array1.out): Remove rule.
57168         ($(objpfx)tst-array1-cmp.out): New rule.
57169         ($(objpfx)tst-array1-static.out): Remove rule.
57170         ($(objpfx)tst-array1-static-cmp.out): New rule.
57171         ($(objpfx)tst-array2.out): Remove rule.
57172         ($(objpfx)tst-array2-cmp.out): New rule.
57173         ($(objpfx)tst-array3.out): Remove rule.
57174         ($(objpfx)tst-array3-cmp.out): New rule.
57175         ($(objpfx)tst-array4.out): Remove rule.
57176         ($(objpfx)tst-array4-cmp.out): New rule.
57177         ($(objpfx)tst-array5.out): Remove rule.
57178         ($(objpfx)tst-array5-cmp.out): New rule.
57179         ($(objpfx)tst-array5-static.out): Remove rule.
57180         ($(objpfx)tst-array5-static-cmp.out): New rule.
57181         [$(run-built-tests) = yes] (tests): Depend on
57182         $(objpfx)order2-cmp.out.
57183         ($(objpfx)order2.out): Remove rule.
57184         ($(objpfx)order2-cmp.out): New rule.
57185         ($(objpfx)tst-initorder.out): Remove rule.
57186         [$(run-built-tests) = yes] (tests): Depend on
57187         $(objpfx)tst-initorder-cmp.out.
57188         ($(objpfx)tst-initorder-cmp.out): New rule.
57189         ($(objpfx)tst-initorder2.out): Remove rule.
57190         [$(run-built-tests) = yes] (tests): Depend on
57191         $(objpfx)tst-initorder2-cmp.out.
57192         ($(objpfx)tst-initorder2-cmp.out): New rule.
57193         [$(run-built-tests) = yes] (tests): Depend on
57194         $(objpfx)tst-unused-dep-cmp.out.
57195         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57196         ($(objpfx)tst-unused-dep-cmp.out): New rule.
57197         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57198         on $(objpfx)tst-setvbuf1-cmp.out.
57199         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57200         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57201         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57202         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57203         ($(objpfx)tst-svc.out): Remove rule.
57204         ($(objpfx)tst-svc-cmp.out): New rule.
57206 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
57208         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57209         * ctype/ctype.h [__USE_MISC]: Likewise.
57210         * dirent/dirent.h [__USE_MISC]: Likewise.
57211         * grp/grp.h [__USE_MISC]: Likewise.
57212         * io/fcntl.h [__USE_MISC]: Likewise.
57213         * io/sys/stat.h [__USE_MISC]: Likewise.
57214         * libio/stdio.h [__USE_MISC]: Likewise.
57215         * posix/unistd.h [__USE_MISC]: Likewise.
57216         * pwd/pwd.h [__USE_MISC]: Likewise.
57217         * stdlib.h [__USE_MISC]: Likewise.
57218         * string/bits/string2.h [__USE_MISC]: Likewise.
57219         * string/string.h [__USE_MISC]: Likewise.
57220         * time/time.h [__USE_MISC]: Likewise.
57222 2014-02-13  Andreas Schwab  <schwab@suse.de>
57224         [BZ #16574]
57225         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57226         second answer buffer if it was separately allocated.
57228 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
57230         * sysdeps/mips/math-tests.h: Include <features.h>.
57231         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57232         (ROUNDING_TESTS_long_double): Do not define.
57233         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57234         (EXCEPTION_TESTS_long_double): Likewise.
57235         * sysdeps/mips/mips64/libm-test-ulps: Update.
57237         * include/features.h (__USE_BSD): Remove macro definitions.
57238         (__USE_SVID): Likewise.
57239         (_BSD_SOURCE): Likewise.
57240         (_SVID_SOURCE): Likewise.
57241         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57242         from definition of _DEFAULT_SOURCE.
57243         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57244         [_DEFAULT_SOURCE].
57245         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57246         * bits/mman.h [__USE_BSD]: Likewise.
57247         * bits/termios.h [__USE_BSD]: Likewise.
57248         * bits/waitstatus.h [__USE_BSD]: Likewise.
57249         * ctype/ctype.h [__USE_SVID]: Likewise.
57250         * dirent/dirent.h [__USE_BSD]: Likewise.
57251         * grp/grp.h [__USE_SVID]: Likewise.
57252         [__USE_BSD]: Likewise.
57253         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57254         * io/fcntl.h [__USE_BSD]: Likewise.
57255         * io/ftw.h [__USE_BSD]: Likewise.
57256         * io/sys/stat.h [__USE_BSD]: Likewise.
57257         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57258         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57259         * libio/stdio.h [__USE_SVID]: Likewise.
57260         [__USE_BSD]: Likewise.
57261         * math/math.h [__USE_SVID]: Likewise.
57262         [__USE_BSD]: Likewise.
57263         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57264         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57265         * misc/search.h [__USE_SVID]: Likewise.
57266         * misc/sys/mman.h [__USE_BSD]: Likewise.
57267         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57268         * misc/sys/uio.h [__USE_BSD]: Likewise.
57269         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57270         * posix/glob.h [__USE_BSD]: Likewise.
57271         * posix/regex.h [__USE_BSD]: Likewise.
57272         * posix/sys/types.h [__USE_BSD]: Likewise.
57273         [__USE_SVID]: Likewise.
57274         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57275         * posix/sys/wait.h [__USE_BSD]: Likewise.
57276         [__USE_SVID]: Likewise.
57277         * posix/unistd.h [__USE_BSD]: Likewise.
57278         [__USE_SVID]: Likewise.
57279         * pwd/pwd.h [__USE_SVID]: Likewise.
57280         * resolv/netdb.h [__USE_BSD]: Likewise.
57281         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57282         * signal/signal.h [__USE_BSD]: Likewise.
57283         [__USE_SVID]: Likewise.
57284         * socket/sys/socket.h [__USE_BSD]: Likewise.
57285         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57286         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57287         [__USE_SVID]: Likewise.
57288         * string/bits/string2.h [__USE_BSD]: Likewise.
57289         [__USE_SVID]: Likewise.
57290         * string/bits/string3.h [__USE_BSD]: Likewise.
57291         * string/endian.h [__USE_BSD]: Likewise.
57292         * string/string.h [__USE_SVID]: Likewise.
57293         [__USE_BSD]: Likewise.
57294         * string/strings.h [__USE_BSD]: Likewise.
57295         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57296         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57297         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57298         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57299         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57300         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57301         Likewise.
57302         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57303         Likewise.
57304         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57305         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57306         Likewise.
57307         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57308         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57309         Likewise.
57310         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57311         Likewise.
57312         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57313         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57314         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57315         Likewise.
57316         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57317         Likewise.
57318         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57319         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57320         * termios/termios.h [__USE_BSD]: Likewise.
57321         * time/sys/time.h [__USE_BSD]: Likewise.
57322         * time/time.h [__USE_BSD]: Likewise.
57323         [__USE_SVID]: Likewise.
57325         * Makefile (subdir_targets): Remove subdir_lint.out.
57327         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57328         (do-tst-printf): Likewise.
57329         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57330         $(objpfx)tst-printf.out.
57332         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57334         * Makerules (check-abi-%): Change target to
57335         $(objpfx)check-abi-%.out.
57336         (check-abi target): Update dependencies.
57337         (check-abi-pattern variable): Redirect output of diff to $@.
57338         (check-abi variable): Likewise.
57339         * elf/Makefile (check-abi): Update dependencies.
57341         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57342         unused.
57343         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57344         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57345         subnormal range.
57346         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57347         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57348         value has largest subnormal exponent.
57349         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57350         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57351         * sysdeps/aarch64/soft-fp/sfp-machine.h
57352         (_FP_TININESS_AFTER_ROUNDING): New macro.
57353         * sysdeps/alpha/soft-fp/sfp-machine.h
57354         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57355         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57356         Likewise.
57357         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57358         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57359         * sysdeps/mips/soft-fp/sfp-machine.h
57360         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57361         * sysdeps/powerpc/soft-fp/sfp-machine.h
57362         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57363         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57364         Likewise.
57365         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57366         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57367         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57368         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57369         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57370         Likewise.
57372 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57374         [BZ #16545]
57375         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57376         model 1.
57378 2014-02-12  Richard Henderson  <rth@redhat.com>
57380         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57381         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57382         * sysdeps/unix/sysv/linux/alpha: Move directory from
57383         ports/sysdeps/unix/sysv/linux/alpha.
57384         * README: Update listing for alpha-*-linux-gnu.
57386 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57388         * include/features.h: Update comment documenting feature test
57389         macros.
57390         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57391         _DEFAULT_SOURCE.
57392         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57393         (_SVID_SOURCE): Likewise.
57394         (_DEFAULT_SOURCE): Update description of default features.
57395         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57396         with _GNU_SOURCE.
57397         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57398         (S_ISVTX): Likewise.
57399         * manual/math.texi (Mathematical Constants): Likewise.
57400         * manual/signal.texi (Interrupted Primitives): Likewise.
57401         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57402         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57403         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57404         Don't refer to _SVID_SOURCE in warning text.
57406         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57408         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57409         already defined.
57410         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57411         * sysdeps/mips/dl-lookup.c: Remove.
57412         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57414 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57416         [BZ #16447]
57417         * math/auto-libm-test-in: Add testcase for expl.
57418         * math/auto-libm-test-out: Regenerate.
57419         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57420         calculation of unsafe.
57421         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57423 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57425         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57426         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57427         ports/sysdeps/unix/sysv/linux/aarch64.
57428         * README: Update listing for aarch64*-*-linux-gnu.
57430 2014-02-11  Will Newton  <will.newton@linaro.org>
57432         * manual/probes.texi (Mathematical Function Probes): Use
57433         "triggered" instead of "hit".
57435         * manual/probes.texi (Internal Probes): Add documentation
57436         of setjmp, longjmp and longjmp_target probes.
57438         * include/stap-probe.h: Add comment about probe argument
57439         format.
57441         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57442         definition.  (tr_where, tr_freehook, tr_mallochook,
57443         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57445 2014-02-11  David S. Miller  <davem@davemloft.net>
57447         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57448         processing int_tests.
57450 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57452         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57453         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57454         * sysdeps/unix/sysv/linux/mips: Move directory from
57455         ports/sysdeps/unix/sysv/linux/mips.
57456         * README: Update listing for mips-*-linux-gnu and
57457         mips64-*-linux-gnu.
57459 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57461         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57462         * sysdeps/unix/sysv/linux/m68k: Move directory from
57463         ports/sysdeps/unix/sysv/linux/m68k.
57464         * README: Update listing for m68k-*-linux-gnu.
57466 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57468         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57469         * sysdeps/unix/sysv/linux/generic: Move directory from
57470         ports/sysdeps/unix/sysv/linux/generic.
57471         * sysdeps/unix/sysv/linux/tile: Move directory from
57472         ports/sysdeps/unix/sysv/linux/tile.
57473         * README: Update listing for tile*-*-linux-gnu.
57475 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
57477         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57478         __builtin_expect.
57479         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57480         * catgets/open_catalog.c (__open_catalog): Likewise.
57481         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57482         * debug/confstr_chk.c: Likewise.
57483         * debug/fread_chk.c (__fread_chk): Likewise.
57484         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57485         * debug/getgroups_chk.c: Likewise.
57486         * debug/mbsnrtowcs_chk.c: Likewise.
57487         * debug/mbsrtowcs_chk.c: Likewise.
57488         * debug/mbstowcs_chk.c: Likewise.
57489         * debug/memcpy_chk.c: Likewise.
57490         * debug/memmove_chk.c: Likewise.
57491         * debug/mempcpy_chk.c: Likewise.
57492         * debug/memset_chk.c: Likewise.
57493         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57494         * debug/strcat_chk.c (__strcat_chk): Likewise.
57495         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57496         * debug/strncat_chk.c (__strncat_chk): Likewise.
57497         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57498         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57499         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57500         * debug/wcpncpy_chk.c: Likewise.
57501         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57502         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57503         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57504         * debug/wcsncpy_chk.c: Likewise.
57505         * debug/wcsnrtombs_chk.c: Likewise.
57506         * debug/wcsrtombs_chk.c: Likewise.
57507         * debug/wcstombs_chk.c: Likewise.
57508         * debug/wmemcpy_chk.c: Likewise.
57509         * debug/wmemmove_chk.c: Likewise.
57510         * debug/wmempcpy_chk.c: Likewise.
57511         * debug/wmemset_chk.c: Likewise.
57512         * dirent/scandirat.c (SCANDIRAT): Likewise.
57513         * dlfcn/dladdr1.c (dladdr1): Likewise.
57514         * dlfcn/dladdr.c (dladdr): Likewise.
57515         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57516         * dlfcn/dlerror.c (__dlerror): Likewise.
57517         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57518         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57519         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57520         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57521         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57522         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57523         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57524         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57525         Likewise.
57526         * elf/dl-conflict.c: Likewise.
57527         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57528         * elf/dl-dst.h: Likewise.
57529         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57530         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57531         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57532         * elf/dl-init.c (call_init, _dl_init): Likewise.
57533         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57534         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57535         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57536         Likewise.
57537         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57538         Likewise.
57539         * elf/dl-minimal.c (__libc_memalign): Likewise.
57540         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57541         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57542         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57543         * elf/dl-sym.c (do_sym): Likewise.
57544         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57545         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57546         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57547         * elf/dl-writev.h (_dl_writev): Likewise.
57548         * elf/ldconfig.c (search_dir): Likewise.
57549         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57550         (dl_main): Likewise.
57551         * elf/setup-vdso.h (setup_vdso): Likewise.
57552         * grp/compat-initgroups.c (compat_call): Likewise.
57553         * grp/fgetgrent.c (fgetgrent): Likewise.
57554         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57555         * grp/putgrent.c (putgrent): Likewise.
57556         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57557         Likewise.
57558         * hurd/hurdinit.c: Likewise.
57559         * iconvdata/8bit-gap.c (struct): Likewise.
57560         * iconvdata/ansi_x3.110.c : Likewise.
57561         * iconvdata/big5.c : Likewise.
57562         * iconvdata/big5hkscs.c : Likewise.
57563         * iconvdata/cp1255.c: Likewise.
57564         * iconvdata/cp1258.c : Likewise.
57565         * iconvdata/cp932.c : Likewise.
57566         * iconvdata/euc-cn.c: Likewise.
57567         * iconvdata/euc-jisx0213.c : Likewise.
57568         * iconvdata/euc-jp.c: Likewise.
57569         * iconvdata/euc-jp-ms.c : Likewise.
57570         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57571         * iconvdata/gb18030.c : Likewise.
57572         * iconvdata/gbbig5.c (const): Likewise.
57573         * iconvdata/gbgbk.c: Likewise.
57574         * iconvdata/gbk.c : Likewise.
57575         * iconvdata/ibm1364.c : Likewise.
57576         * iconvdata/ibm930.c : Likewise.
57577         * iconvdata/ibm932.c: Likewise.
57578         * iconvdata/ibm933.c : Likewise.
57579         * iconvdata/ibm935.c : Likewise.
57580         * iconvdata/ibm937.c : Likewise.
57581         * iconvdata/ibm939.c : Likewise.
57582         * iconvdata/ibm943.c: Likewise.
57583         * iconvdata/iso_11548-1.c: Likewise.
57584         * iconvdata/iso-2022-cn.c : Likewise.
57585         * iconvdata/iso-2022-cn-ext.c : Likewise.
57586         * iconvdata/iso-2022-jp-3.c: Likewise.
57587         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57588         * iconvdata/iso-2022-kr.c : Likewise.
57589         * iconvdata/iso646.c (gconv_end): Likewise.
57590         * iconvdata/iso_6937-2.c : Likewise.
57591         * iconvdata/iso_6937.c : Likewise.
57592         * iconvdata/iso8859-1.c: Likewise.
57593         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57594         * iconvdata/shift_jisx0213.c : Likewise.
57595         * iconvdata/sjis.c : Likewise.
57596         * iconvdata/t.61.c : Likewise.
57597         * iconvdata/tcvn5712-1.c : Likewise.
57598         * iconvdata/tscii.c: Likewise.
57599         * iconvdata/uhc.c : Likewise.
57600         * iconvdata/unicode.c (gconv_end): Likewise.
57601         * iconvdata/utf-16.c (gconv_end): Likewise.
57602         * iconvdata/utf-32.c (gconv_end): Likewise.
57603         * iconvdata/utf-7.c (base64): Likewise.
57604         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57605         * iconv/gconv_close.c (__gconv_close): Likewise.
57606         * iconv/gconv_open.c (__gconv_open): Likewise.
57607         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57608         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57609         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57610         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57611         (ucs4le_internal_loop_single): Likewise.
57612         * iconv/iconv.c (iconv): Likewise.
57613         * iconv/iconv_close.c: Likewise.
57614         * iconv/loop.c (SINGLE): Likewise.
57615         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57616         * include/atomic.h: Likewise.
57617         * inet/inet6_option.c (option_alloc): Likewise.
57618         * intl/bindtextdom.c (set_binding_values): Likewise.
57619         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57620         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57621         * intl/localealias.c (read_alias_file): Likewise.
57622         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57623         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57624         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57625         * libio/fmemopen.c (fmemopen): Likewise.
57626         * libio/iofgets.c (_IO_fgets): Likewise.
57627         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57628         * libio/iofgetws.c (fgetws): Likewise.
57629         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57630         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57631         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57632         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57633         * locale/findlocale.c (_nl_find_locale): Likewise.
57634         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57635         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57636         Likewise.
57637         * locale/setlocale.c (setlocale): Likewise.
57638         * login/programs/pt_chown.c (main): Likewise.
57639         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57640         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57641         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57642         (mmap, mmap64, mremap, munmap): Likewise.
57643         * math/e_exp2l.c: Likewise.
57644         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57645         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57646         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57647         * math/s_catan.c (__catan): Likewise.
57648         * math/s_catanf.c (__catanf): Likewise.
57649         * math/s_catanh.c (__catanh): Likewise.
57650         * math/s_catanhf.c (__catanhf): Likewise.
57651         * math/s_catanhl.c (__catanhl): Likewise.
57652         * math/s_catanl.c (__catanl): Likewise.
57653         * math/s_ccosh.c (__ccosh): Likewise.
57654         * math/s_ccoshf.c (__ccoshf): Likewise.
57655         * math/s_ccoshl.c (__ccoshl): Likewise.
57656         * math/s_cexp.c (__cexp): Likewise.
57657         * math/s_cexpf.c (__cexpf): Likewise.
57658         * math/s_cexpl.c (__cexpl): Likewise.
57659         * math/s_clog10.c (__clog10): Likewise.
57660         * math/s_clog10f.c (__clog10f): Likewise.
57661         * math/s_clog10l.c (__clog10l): Likewise.
57662         * math/s_clog.c (__clog): Likewise.
57663         * math/s_clogf.c (__clogf): Likewise.
57664         * math/s_clogl.c (__clogl): Likewise.
57665         * math/s_csin.c (__csin): Likewise.
57666         * math/s_csinf.c (__csinf): Likewise.
57667         * math/s_csinh.c (__csinh): Likewise.
57668         * math/s_csinhf.c (__csinhf): Likewise.
57669         * math/s_csinhl.c (__csinhl): Likewise.
57670         * math/s_csinl.c (__csinl): Likewise.
57671         * math/s_csqrt.c (__csqrt): Likewise.
57672         * math/s_csqrtf.c (__csqrtf): Likewise.
57673         * math/s_csqrtl.c (__csqrtl): Likewise.
57674         * math/s_ctan.c (__ctan): Likewise.
57675         * math/s_ctanf.c (__ctanf): Likewise.
57676         * math/s_ctanh.c (__ctanh): Likewise.
57677         * math/s_ctanhf.c (__ctanhf): Likewise.
57678         * math/s_ctanhl.c (__ctanhl): Likewise.
57679         * math/s_ctanl.c (__ctanl): Likewise.
57680         * math/w_pow.c: Likewise.
57681         * math/w_powf.c: Likewise.
57682         * math/w_powl.c: Likewise.
57683         * math/w_scalb.c (sysv_scalb): Likewise.
57684         * math/w_scalbf.c (sysv_scalbf): Likewise.
57685         * math/w_scalbl.c (sysv_scalbl): Likewise.
57686         * misc/error.c (error_tail): Likewise.
57687         * misc/pselect.c (__pselect): Likewise.
57688         * nis/nis_callback.c (__nis_create_callback): Likewise.
57689         * nis/nis_call.c (__nisfind_server): Likewise.
57690         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57691         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57692         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57693         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57694         * nis/nis_lookup.c (nis_lookup): Likewise.
57695         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57696         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57697         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57698         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57699         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57700         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57701         * nis/nss_compat/compat-initgroups.c (add_group)
57702         (internal_getgrent_r): Likewise.
57703         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57704         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57705         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57706         (internal_getspnam_r): Likewise.
57707         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57708         (_nss_nis_getaliasbyname_r): Likewise.
57709         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57710         (_nss_nis_getntohost_r): Likewise.
57711         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57712         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57713         (_nss_nis_getgrgid_r): Likewise.
57714         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57715         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57716         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57717         (_nss_nis_gethostbyname4_r): Likewise.
57718         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57719         (initgroups_netid): Likewise.
57720         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57721         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57722         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57723         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57724         (_nss_nis_getprotobynumber_r): Likewise.
57725         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57726         (_nss_nis_getsecretkey): Likewise.
57727         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57728         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57729         (_nss_nis_getpwuid_r): Likewise.
57730         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57731         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57732         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57733         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57734         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57735         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57736         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57737         Likewise.
57738         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57739         (_nss_nisplus_getntohost_r): Likewise.
57740         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57741         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57742         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57743         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57744         Likewise.
57745         * nis/nss_nisplus/nisplus-initgroups.c
57746         (_nss_nisplus_initgroups_dyn): Likewise.
57747         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57748         (_nss_nisplus_getnetbyaddr_r): Likewise.
57749         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57750         (_nss_nisplus_getprotobynumber_r): Likewise.
57751         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57752         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57753         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57754         Likewise.
57755         * nis/nss_nisplus/nisplus-service.c
57756         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57757         (_nss_nisplus_getservbyport_r): Likewise.
57758         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57759         (_nss_nisplus_getspnam_r): Likewise.
57760         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57761         Likewise.
57762         * nscd/aicache.c (addhstaiX): Likewise.
57763         * nscd/cache.c (cache_search, prune_cache): Likewise.
57764         * nscd/connections.c (register_traced_file, send_ro_fd)
57765         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57766         (main_loop_epoll): Likewise.
57767         * nscd/grpcache.c (addgrbyX): Likewise.
57768         * nscd/hstcache.c (addhstbyX): Likewise.
57769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57770         * nscd/mem.c (gc, mempool_alloc): Likewise.
57771         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57772         (addinnetgrX): Likewise.
57773         * nscd/nscd-client.h (__nscd_acquire_maplock)
57774         (__nscd_drop_map_ref): Likewise.
57775         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57776         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57777         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57778         Likewise.
57779         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57780         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57781         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57782         (__nscd_get_map_ref): Likewise.
57783         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57784         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57785         Likewise.
57786         * nscd/pwdcache.c (addpwbyX): Likewise.
57787         * nscd/selinux.c (preserve_capabilities): Likewise.
57788         * nscd/servicescache.c (addservbyX): Likewise.
57789         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57790         * posix/fnmatch.c (fnmatch): Likewise.
57791         * posix/getopt.c (_getopt_internal_r): Likewise.
57792         * posix/glob.c (glob, glob_in_dir): Likewise.
57793         * posix/wordexp.c (exec_comm_child): Likewise.
57794         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57795         (getanswer_r, gaih_getanswer_slice): Likewise.
57796         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57797         * resolv/res_init.c: Likewise.
57798         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57799         * resolv/res_query.c (__libc_res_nquery): Likewise.
57800         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57801         Likewise.
57802         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57803         * stdio-common/perror.c (perror): Likewise.
57804         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57805         * stdio-common/tmpnam.c (tmpnam): Likewise.
57806         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57807         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57808         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57809         Likewise.
57810         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57811         * stdlib/putenv.c (putenv): Likewise.
57812         * stdlib/setenv.c (__add_to_environ): Likewise.
57813         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57814         * stdlib/strtol_l.c (INTERNAL): Likewise.
57815         * string/memmem.c (memmem): Likewise.
57816         * string/strerror.c (strerror): Likewise.
57817         * string/strnlen.c (__strnlen): Likewise.
57818         * string/test-memmem.c (simple_memmem): Likewise.
57819         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57820         * sunrpc/pm_getport.c (__get_socket): Likewise.
57821         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57822         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57823         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57824         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57825         Likewise.
57826         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57827         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57828         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57829         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57830         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57831         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57832         Likewise.
57833         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57834         Likewise.
57835         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57836         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57837         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57838         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57839         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57840         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57841         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57842         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57843         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57844         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57845         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57846         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57847         Likewise.
57848         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57849         Likewise.
57850         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57851         Likewise.
57852         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57853         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57855         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57856         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57857         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57858         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57859         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57860         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57861         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57862         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57863         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57864         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57865         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57866         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57867         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57868         Likewise.
57869         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57870         Likewise.
57871         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57872         Likewise.
57873         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57874         Likewise.
57875         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57876         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57877         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57878         Likewise.
57879         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57880         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57881         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57882         * sysdeps/posix/sleep.c: Likewise.
57883         * sysdeps/posix/tempname.c: Likewise.
57884         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57885         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57886         Likewise.
57887         * sysdeps/powerpc/powerpc32/dl-machine.h
57888         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57889         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57891         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57892         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57893         Likewise.
57894         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57895         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57896         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57897         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57898         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57899         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57900         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57901         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57902         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57903         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57904         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57905         (elf_machine_lazy_rel): Likewise.
57906         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57907         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57908         (elf_machine_lazy_rel): Likewise.
57909         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57910         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57911         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57912         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57913         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57914         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57915         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57916         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57917         Likewise.
57918         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57919         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57920         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57921         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57922         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57923         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57924         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57925         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57926         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57927         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57928         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57929         Likewise.
57930         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57931         (__posix_fallocate64_l64): Likewise.
57932         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57933         (posix_fallocate): Likewise.
57934         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57935         Likewise.
57936         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57937         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57938         (getifaddrs_internal): Likewise.
57939         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57940         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57941         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57942         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57943         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57944         (__posix_fallocate64_l64): Likewise.
57945         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57946         Likewise.
57947         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57948         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57949         (__get_clockfreq): Likewise.
57950         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57951         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57952         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57953         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57955         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57956         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57957         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57958         Likewise.
57959         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57960         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57961         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57962         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57963         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57964         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57965         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57966         Likewise.
57967         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57968         (posix_fallocate): Likewise.
57969         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57970         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57971         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57972         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57973         (elf_machine_rela, elf_machine_rela_relative)
57974         (elf_machine_lazy_rel): Likewise.
57975         * time/asctime.c (asctime_internal): Likewise.
57976         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57977         * time/tzset.c (__tzset_parse_tz): Likewise.
57978         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57979         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57980         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57981         * wcsmbs/wcsmbsload.h: Likewise.
57983         [BZ #15894]
57984         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57986         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57987         (arena_get2): Remove THREAD_STATS conditionals.
57988         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57989         (__malloc_stats, int): Likewise.
57991 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57993         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57994         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57996         * manual/setjmp.texi: Fix typos/grammar errors.
57998         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57999         Only return early when n is <= 0.  Delete unused return statement.
58001         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
58002         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
58003         * debug/tst-longjmp_chk3.c: New file.
58005         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
58006         (test_main): Replace code with set_fortify_handler call.
58007         * debug/test-strcpy_chk.c: Likewise.
58008         * debug/tst-chk1.c: Likewise.
58009         * debug/tst-longjmp_chk.c: Likewise.
58010         * test-skeleton.c: Include fcntl.h & paths.h
58011         (set_fortify_handler): Define.
58013         * debug/tst-longjmp_chk.c: Add header comment and include
58014         ../test-skeleton.c.
58015         (do_test): Mark static.
58016         (TEST_FUNCTION): Define.
58018         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
58019         (IP_PMTUDISC_INTERFACE): Likewise.
58020         (IP_MULTICAST_IF): Likewise.
58021         (IP_MULTICAST_TTL): Likewise.
58022         (IP_MULTICAST_LOOP): Likewise.
58023         (IP_ADD_MEMBERSHIP): Likewise.
58024         (IP_DROP_MEMBERSHIP): Likewise.
58025         (IP_UNBLOCK_SOURCE): Likewise.
58026         (IP_BLOCK_SOURCE): Likewise.
58027         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
58028         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
58029         (IP_MSFILTER): Likewise.
58030         (MCAST_JOIN_GROUP): Likewise.
58031         (MCAST_BLOCK_SOURCE): Likewise.
58032         (MCAST_UNBLOCK_SOURCE): Likewise.
58033         (MCAST_LEAVE_GROUP): Likewise.
58034         (MCAST_JOIN_SOURCE_GROUP): Likewise.
58035         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
58036         (MCAST_MSFILTER): Likewise.
58037         (IP_MULTICAST_ALL): Likewise.
58038         (IP_UNICAST_IF): Likewise.
58040         * timezone/Makefile: Delete $(have-ksh) check.
58041         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
58042         * timezone/tzselect.ksh: Add +x mode bits.
58044         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
58045         (ANON_INODE_FS_MAGIC): Likewise.
58046         (BDEVFS_MAGIC): Likewise.
58047         (BINFMTFS_MAGIC): Likewise.
58048         (BTRFS_TEST_MAGIC): Likewise.
58049         (CRAMFS_MAGIC_WEND): Likewise.
58050         (DEBUGFS_MAGIC): Likewise.
58051         (ECRYPTFS_SUPER_MAGIC): Likewise.
58052         (EXT3_SUPER_MAGIC): Likewise.
58053         (EXT4_SUPER_MAGIC): Likewise.
58054         (FUTEXFS_SUPER_MAGIC): Likewise.
58055         (HOSTFS_SUPER_MAGIC): Likewise.
58056         (HUGETLBFS_MAGIC): Likewise.
58057         (MINIX3_SUPER_MAGIC): Likewise.
58058         (MTD_INODE_FS_MAGIC): Likewise.
58059         (NILFS_SUPER_MAGIC): Likewise.
58060         (OPENPROM_SUPER_MAGIC): Likewise.
58061         (PIPEFS_MAGIC): Likewise.
58062         (PSTOREFS_MAGIC): Likewise.
58063         (QNX6_SUPER_MAGIC): Likewise.
58064         (RAMFS_MAGIC): Likewise.
58065         (REISERFS_SUPER_MAGIC_STRING): Likewise.
58066         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
58067         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
58068         (SECURITYFS_MAGIC): Likewise.
58069         (SELINUX_MAGIC): Likewise.
58070         (SMACK_MAGIC): Likewise.
58071         (SOCKFS_MAGIC): Likewise.
58072         (SQUASHFS_MAGIC): Likewise.
58073         (STACK_END_MAGIC): Likewise.
58074         (TMPFS_MAGIC): Likewise.
58075         (USBDEVICE_SUPER_MAGIC): Likewise.
58076         (V9FS_MAGIC): Likewise.
58077         (XENFS_SUPER_MAGIC): Likewise.
58078         (CRAMFS_MAGIC): Fix typo in comment.
58079         (EXT2_SUPER_MAGIC): Update comment.
58080         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
58082 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
58084         * sysdeps/arm: Move directory from ports/sysdeps/arm.
58085         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
58086         * sysdeps/unix/sysv/linux/arm: Move directory from
58087         ports/sysdeps/unix/sysv/linux/arm.
58088         * README: Update listing for arm-*-linux-gnueabi.
58090         * README: Remove mention of am33.
58092 2014-02-07  Roland McGrath  <roland@hack.frob.com>
58094         * bits/sigset.h (__sigemptyset): Use a statement expression rather
58095         than the comma operator, to avoid "rhs of comma has no effect"
58096         compiler warnings.
58097         (__sigfillset, __sigandset, __sigorset): Likewise.
58098         * include/signal.h (__sigemptyset): Likewise.
58099         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
58101 2014-02-07  Allan McRae  <allan@archlinux.org>
58103         * version.h (RELEASE): Set to "development".
58104         (VERSION): Set to "2.19.90"
58105         * NEWS: Add 2.20 section.
58107 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
58109         [BZ #16529]
58110         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
58112 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58114         * manual/contrib.texi: Update entry for Carlos O'Donell,
58115         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
58117 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
58119         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
58121         * sysdeps/unix/sysv/linux/kernel-features.h
58122         [__LINUX_KERNEL_VERSION >= 0x020621]
58123         (__ASSUME_PROC_PID_TASK_COMM): Define.
58125 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58127         [BZ #16398]
58128         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
58129         conversion when destination buffer does not have enough space.
58130         * libio/tst-ftell-partial-wide.c: New test case.
58131         * libio/Makefile (tests): Add tst-ftell-partial-wide.
58133         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
58134         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
58135         Leonard and Allan McRae.
58137 2014-02-04  David S. Miller  <davem@davemloft.net>
58139         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
58140         32-bit.
58142 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
58145         New file
58146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
58147         New file
58148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
58149         New file.
58150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
58151         New file.
58152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
58153         New file.
58154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
58155         New file.
58156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
58157         New file.
58158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
58159         New file.
58160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58161         New file.
58162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58163         New file.
58164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58165         New file.
58166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58167         New file.
58168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58169         New file.
58171 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58173         * nptl/shlib-versions: Change powerpc*le start to 2.17.
58174         * shlib-versions: Likewise.
58176 2014-02-04  Roland McGrath  <roland@hack.frob.com>
58177             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58179         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58180         (abilist-pattern): New variable, set to %-le.abilist.
58182         * Makerules (abilist-pattern): New variable.
58183         (vpath): Use $(abilist-pattern) in place of %.abilist.
58184         (check-abi-% pattern rule): Likewise.
58185         (check-abi, update-abi): Likewise.
58187 2014-02-04  Eric Wong  <normalperson@yhbt.net>
58189         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58191 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
58193         * manual/startup.texi: Add next, previous, and top entries for
58194         the `Program Arguments' and `Environment Variables' nodes.
58196 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
58198         * manual/macros.texi: Add comments before MTASC-safety macros.
58200         * manual/users.texi: Document MTASC-safety properties.
58202         * manual/threads.texi (pthread_key_create, pthread_key_delete)
58203         (pthread_getspecific, pthread_setspecific): Format with
58204         @deftypefun, and add @safety note.
58205         * manual/signal.texi: Move comments that analyze the above
58206         functions to their home place.
58208 2014-02-03  Allan McRae  <allan@archlinux.org>
58210         * po/sl.po: Update Slovenian translation from translation project.
58212 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
58214         * manual/time.texi (timegm): Add missing blank after @c.
58215         Reported by Joseph Myers <joseph@codesourcery.com>.
58217 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
58219         * manual/check-safety.sh: New.
58220         * manual/Makefile ($(objpfx)stamp-summary): Run it.
58222         * manual/terminal.texi: Document MTASC-safety properties.
58224         * manual/filesys.texi: Document MTASC-safety properties.
58226         * manual/errno.texi: Document MTASC-safety properties.
58228         * manual/intro.texi: Document safety identifiers and
58229         conditionals.
58231         * manual/string.texi (wcstok): Fix prototype.
58232         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58234         * manual/time.texi: Document MTASC-safety properties.
58236         * manual/string.texi: Document MTASC-safety properties.
58238         * manual/threads.texi: Document MTASC-safety properties.
58240         * manual/stdio.texi: Document MTASC-safety properties.
58242         * manual/syslog.texi: Document MTASC-safety properties.
58244         * manual/sysinfo.texi: Document MTASC-safety properties.
58246         * manual/startup.texi: Document MTASC-safety properties.
58248         * manual/socket.texi: Document MTASC-safety properties.
58250         * manual/signal.texi: Document MTASC-safety properties.
58252 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
58254         * manual/setjmp.texi: Document MTASC-safety properties.
58256         * manual/search.texi: Document MTASC-safety properties.
58258         * manual/resource.texi: Document MTASC-safety properties.
58260         * manual/process.texi: Document MTASC-safety properties.
58262         * manual/platform.texi: Document MTASC-safety properties.
58264         * manual/pipe.texi: Document MTASC-safety properties.
58266         * manual/pattern.texi: Document MTASC-safety properties.
58268         * manual/message.texi: Document MTASC-safety properties.
58270         [BZ #12751]
58271         * manual/memory.texi: Document MTASC-safety properties.
58273         * manual/math.texi: Document MTASC-safety properties.
58275         * manual/locale.texi: Document MTASC-safety properties.
58277         * manual/llio.texi: Document MTASC-safety properties.
58279         * manual/libdl.texi: New.
58281         * manual/lang.texi: Document MTASC-safety properties.
58283         * manual/job.texi: Document MTASC-safety properties.
58285         * manual/getopt.texi: Document MTASC-safety properties.
58287         * manual/ctype.texi: Document MTASC-safety properties.
58289 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58291         [BZ #16046]
58292         * csu/libc-tls.c (static_map): Remove variable.
58293         (__libc_setup_tls): Use main executable's link map for TLS data.
58294         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58295         casing for LM_ID_BASE and GL(dl_nns).
58296         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58297         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58298         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58299         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58300         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58301         member.
58302         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58303         l_phnum members.
58305 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58307         * manual/debug.texi: Document MTASC-safety properties.
58309 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58311         [BZ #16510]
58312         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58313         of __x86_64__ when disabling x87 inline functions.
58315 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58317         * manual/charset.texi: Document MTASC-safety properties.
58319         * manual/crypt.texi: Document MTASC-safety properties.
58321         * manual/conf.texi: Document MTASC-safety properties.
58323         * manual/arith.texi: Document MTASC-safety properties.
58325         * manual/argp.texi: Document MTASC-safety properties.
58327         * manual/macros.texi: Introduce macros to document multi
58328         thread, asynchronous signal and asynchronous cancellation
58329         safety properties.
58330         * manual/intro.texi: Introduce the properties themselves.
58332 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58334         * sysdeps/sh/sh4/Makefile: New file.
58336 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58338         * math/gen-libm-test.pl ($srcdir): New variable.
58339         ($auto_input): Use it.
58341 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58343         [BZ #16506]
58344         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58345         access beyond array bounds when parsing netgroups file.
58347         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58348         the old buffer before realloc.
58350 2014-01-27  Allan McRae  <allan@archlinux.org>
58352         * po/fr.po: Update French translation from translation project.
58354 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58356         * sysdeps/sh/libm-test-ulps: Regenerate.
58358 2014-01-24  David S. Miller  <davem@davemloft.net>
58360         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58362 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58364         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58365         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58367 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58369         [BZ #16474]
58370         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58371         string pointers after reallocation.
58373 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58375         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58376         __SH4A__ instead of __SH_FPU_ANY__.
58378 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58380         * sysdeps/sh/fpu_control.h: New file.
58381         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58382         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58383         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58384         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58385         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58386         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58387         * sysdeps/sh/sys/ucontext.h: Remove.
58388         * sysdeps/sh/sys: Remove directory.
58390 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58392         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58393         s390/sys/ucontext.h.
58394         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58395         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58397 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58399         [BZ #15605]
58400         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58402 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58404         [BZ #16431]
58405         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58406         Adjust the vDSO correctly for internal calls.
58407         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58409 2014-01-20  Allan McRae  <allan@archlinux.org>
58411         * po/ca.po: Update Catalan translation from translation project.
58413 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58415         * sysdeps/s390/sotruss-lib.c: New file.
58417 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58419         [BZ #16430]
58420         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58421         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58422         local calls issues by not having a PLT stub required for IFUNC calls.
58423         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58425 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58427         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58428         * math/test-fpucw-static.c: Likewise.
58430 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58432         [BZ #16453]
58433         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58435 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58437         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58438         implementation for powerpc.
58440 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
58442         [BZ #14782]
58443         * sysdeps/posix/system.c (__libc_system): Do not enable
58444         asynchronous cancellation.
58446 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58448         [BZ #16427]
58449         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58450         handling only for numbers special also in the IEEE case.
58452 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58454         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58456 2014-01-11  Allan McRae  <allan@archlinux.org>
58458         * po/bg.po: Update Bulgarian translation from translation project.
58460         * po/de.po: Update German translation from translation project.
58462 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58464         * sysdeps/generic/gcc-compat.h: New file.
58466 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58468         * benchtests/asin-inputs: Correct slow inputs.
58469         * benchtests/acos-inputs: Likewise.
58471 2014-01-10  Allan McRae  <allan@archlinux.org>
58473         * po:sv.po: Update Swedish translation from translation project.
58475         * po/vi.po: Update Vietnamese translation from translation project.
58477         * po/eo.po: Update Esperanto translation from translation project.
58479         * po/cs.po: Update Czech translation from translation project.
58481         * po/nl.po: Update Dutch translation from translation project.
58483         * po/pl.po: Update Polish translation from translation project.
58485         * po/ru.po: Update Russian translation from translation project.
58487         * po/uk.po: Update Ukrainian translation from translation project.
58489 2014-01-08  Brooks Moses  <bmoses@google.com>
58491         * elf/dl-load.c: Fix comment typo.
58493 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58495         * po/header.pot: Rename to...
58496         * po/pot.header: ... this.
58497         * po/Makefile: Use pot.header.
58499 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58500             Maxim Kuvyrkov  <maxim@kugelworks.com>
58502         [BZ #16394]
58503         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58504         SRC and DEST against LEN.
58506 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58508         [BZ #16414]
58509         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58510         implementation.
58511         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58513 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58517 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58519         [BZ #16408]
58520         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58521         for large positive arguments.
58523 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58525         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58527         * math/auto-libm-test-in: Mark various tests with
58528         xfail-rounding:ldbl-128ibm.
58529         * math/auto-libm-test-out: Regenerated.
58531         [BZ #16407]
58532         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58533         Increase overflow threshold.
58535 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
58537         [BZ #14286]
58538         * stdio-common/vfprintf.c: Check for integer overflow.
58540 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58542         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58543         the first argument and return value of __tls_get_addr_internal.
58545 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58547         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58548         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58550 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58552         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58553         * sysdeps/s390/rtld-global-offsets.sym: New file.
58554         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58555         GLIBC_2.19 symbol.
58556         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58557         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58558         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58559         ... this.
58560         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58561         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58562         ... this.
58563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58564         Regenerate.
58565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58566         Regenerate.
58567         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58568         halfs of GPRs for high_gprs contexts.
58569         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58570         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58571         field.
58572         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58573         uc_flags field.
58574         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58575         64 bit versions:
58576         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58577         for high GPRs (uc_high_gprs) and for future extensions
58578         (__reserved).
58579         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58580         for future extensions (__reserved).
58581         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58582         64 bit versions:
58583         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58584         SC_HIGHGPRS offset definition.
58585         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58586         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58588         * Versions.def: Add GLIBC_2.19 for libpthread.
58589         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58590         siglongjmp for libpthread with GLIBC_2.19 symver.
58591         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58592         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58593         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58594         * sysdeps/s390/__longjmp.c: New file.
58595         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58596         * sysdeps/s390/longjmp.c: New file.
58597         * sysdeps/s390/setjmp.S: New file.
58598         * sysdeps/s390/sigjmp.S: New file.
58599         * sysdeps/s390/v1-longjmp.c: New file.
58600         * sysdeps/s390/v1-setjmp.h: New file.
58601         * sysdeps/s390/v1-sigjmp.c: New file.
58602         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58603         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58604         GLIBC_2.19 version.
58605         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58606         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58607         versioned symbols for ____longjmp_chk.
58608         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58609         Likewise.
58610         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58611         Regenerate.
58612         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58613         Regenerate.
58614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58615         Regenerate.
58616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58617         Regenerate.
58618         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58619         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58620         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58621         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58622         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58623         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58624         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58625         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58626         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58627         * sysdeps/s390/rtld-__longjmp.c: New file.
58628         * sysdeps/s390/rtld-setjmp.S: New file.
58630 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58632         [BZ #16400]
58633         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58634         Return -__logl (x) for small positive arguments without evaluating
58635         a polynomial.
58637 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58639         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58640         Rename to ...
58641         (__ptrace_peeksiginfo_args): ... this.
58642         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58643         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58644         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58646 2014-01-06  Allan McRae  <allan@archlinux.org>
58648         * inet/netinet/in.h: Fix typo in comment.
58650 2014-01-05  Andreas Jaeger  <aj@suse.de>
58652         * sysdeps/i386/fpu/libm-test-ulps: Update.
58654 2014-01-05  Allan McRae  <allan@archlinux.org>
58656         * po/libc.pot: Regenerated.
58658         * malloc/memusagestat.c: Fix gettext call formatting.
58660 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58662         * nscd/nscd.c: Improve usage() output.
58664 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58666         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58667         * sysdeps/unix/sysv/linux/configure: Regenerated.
58668         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58669         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58671 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58673         [BZ #16390]
58674         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58675         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58677 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58679         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58680         extra tokens at end of #undef directive.
58681         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58682         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58683         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58685 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58687         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58689         * math/auto-libm-test-in: Mark various tests with
58690         xfail-rounding:ldbl-128ibm.
58691         * math/auto-libm-test-out: Regenerated.
58693 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58695         [BZ #16386]
58696         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58697         numbers with subnormal high part when calculating exponent.
58699         [BZ #16385]
58700         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58701         fabs.
58703         [BZ #16384]
58704         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58705         M_LN2l.
58706         (__ieee754_acoshl): Use __log1pl not __log1p.
58708 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
58710         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58711         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58712         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58713         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58714         (reused_arena, arena_get2): Convert to GNU style.
58715         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58716         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58717         (memalign_check, __malloc_set_state): Likewise.
58718         * malloc/mallocbug.c (main): Likewise.
58719         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58720         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58721         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58722         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58723         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58724         (__posix_memalign, malloc_info): Likewise.
58725         * malloc/malloc.h: Likewise.
58726         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58727         (mallochook, memalignhook, reallochook, mabort): Likewise.
58728         * malloc/mcheck.h: Likewise.
58729         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58730         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58731         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58732         * malloc/morecore.c (__default_morecore): Likewise.
58733         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58734         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58735         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58736         (print_and_abort): Likewise.
58737         * malloc/obstack.h: Likewise.
58738         * malloc/set-freeres.c (__libc_freeres): Likewise.
58739         * malloc/tst-mallocstate.c (main): Likewise.
58740         * malloc/tst-mtrace.c (main): Likewise.
58741         * malloc/tst-realloc.c (do_test): Likewise.
58743 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58745         [BZ #16366]
58746         * nscd/netgroupcache.c (do_notfound): New function.
58747         (addgetnetgrentX): Use it.
58749         [BZ # 16365]
58750         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58751         NSS_STATUS_NOTFOUND.
58753 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58755         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58758 2014-01-01  Allan McRae  <allan@archlinux.org>
58760         * scripts/update-copyrights: Update configure input file suffix.
58762         * NEWS: Update copyright year.
58763         * catgets/gencat.c: Likewise.
58764         * csu/version.c: Likewise.
58765         * debug/catchsegv.sh: Likewise.
58766         * debug/pcprofiledump.c: Likewise.
58767         * debug/xtrace.sh: Likewise.
58768         * elf/ldconfig.c: Likewise.
58769         * elf/ldd.bash.in: Likewise.
58770         * elf/pldd.c: Likewise.
58771         * elf/sotruss.ksh: Likewise.
58772         * elf/sprof.c: Likewise.
58773         * iconv/iconv_prog.c: Likewise.
58774         * iconv/iconvconfig.c: Likewise.
58775         * locale/programs/locale.c: Likewise.
58776         * locale/programs/localedef.c: Likewise.
58777         * login/programs/pt_chown.c: Likewise.
58778         * malloc/memusage.sh: Likewise.
58779         * malloc/memusagestat.c: Likewise.
58780         * malloc/mtrace.pl: Likewise.
58781         * manual/libc.texinfo: Likewise.
58782         * nscd/nscd.c: Likewise.
58783         * nss/getent.c: Likewise.
58784         * nss/makedb.c: Likewise.
58785         * posix/getconf.c: Likewise.
58786         * scripts/test-installation.pl: Likewise.
58788         * All files with FSF copyright notices: Update copyright dates
58789         using scripts/update-copyrights.
58790         * intl/plural.c: Regenerated.
58791         * locale/programs/charmap-kw.h: Likewise.
58792         * locale/programs/locfile-kw.h: Likewise.
58794 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58796         * sysdeps/unix/sysv/linux/configure: Regenerated.
58797         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58798         the linux/fanotify.h header.
58799         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58800         HAVE_LINUX_FANOTIFY_H is defined.
58802 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58804         * benchtests/cos-inputs: New inputs.
58805         * benchtests/sin-inputs: Likewise.
58807         * benchtests/atan-inputs: New inputs. Fix name of multiple
58808         precision fallback inputs.
58810         * benchtests/atanh-inputs: New inputs.
58811         * benchtests/tanh-inputs: Likewise.
58813         * benchtests/acosh-inputs: New inputs.
58814         * benchtests/asinh-inputs: Likewise.
58816         * benchtests/cosh-inputs: New inputs.
58817         * benchtests/sinh-inputs: Likewise.
58819         * benchtests/acos-inputs: Add more inputs.
58820         * benchtests/asin-inputs: Likewise.
58822 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58824         [BZ #16375]
58825         * manual/arith.texi: Fix spelling.
58826         * manual/charset.texi: Likewise.
58827         * manual/errno.texi: Likewise.
58828         * manual/filesys.texi: Likewise.
58829         * manual/lang.texi: Likewise.
58830         * manual/llio.texi: Likewise.
58831         * manual/locale.texi: Likewise.
58832         * manual/message.texi: Likewise.
58833         * manual/resource.texi: Likewise.
58834         * manual/search.texi: Likewise.
58835         * manual/setjmp.texi: Likewise.
58836         * manual/stdio.texi: Likewise.
58837         * manual/string.texi: Likewise.
58838         * manual/sysinfo.texi: Likewise.
58839         * manual/time.texi: Likewise.
58841 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58843         * po/sl.po: New file.
58845 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58847         * .gitignore: Add core/.gdbinit/.gdb_history.
58849 2013-12-27  Allan McRae  <allan@archlinux.org>
58851         [BZ #16369]
58852         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58853         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58855 2013-12-24  Brooks Moses  <bmoses@google.com>
58857         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58858         all compilers that claim C++98 compliance, not just GCC.
58859         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58860         Likewise.
58862 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58864         * NEWS: Restore accidentally deleted bug-fix entries.
58866 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58867             Ondřej Bílka  <neleai@seznam.cz>
58869         [BZ #15073]
58870         * malloc/malloc.c (_int_free): Perform sanity check only if we
58871         have_lock.
58873 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
58875         [BZ #12986]
58876         * manual/stdio.texi (String Input Conversions): Clarify that character
58877         classes are not supported.
58879 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58883 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58885         [BZ #16337]
58886         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58887         Calculate results for small negative arguments directly rather
58888         than using reflection formula with special underflow handling.
58890         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58891         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58892         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58893         (fchflags): Likewise.
58894         (revoke): Likewise.
58895         (setlogin): Likewise.
58896         (sigaltstack): Likewise.
58897         (wait4): Likewise.
58898         (sigblock): Remove.
58899         (sigsetmask): Likewise.
58900         (wait3): Likewise.
58901         (waitpid): Likewise.
58902         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58903         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58904         file.
58905         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58906         * sysdeps/unix/bsd/Makefile: ... here.
58907         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58908         * sysdeps/unix/bsd/Versions: ... here.
58909         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58910         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58911         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58912         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58913         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58914         * sysdeps/unix/bsd/sigblock.c: ... here.
58915         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58916         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58917         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58918         * sysdeps/unix/bsd/sigvec.c: ... here.
58919         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58920         * sysdeps/unix/bsd/tcdrain.c: ... here.
58921         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58922         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58923         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58924         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58925         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58926         * sysdeps/unix/bsd/wait.c: ... here.
58927         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58928         * sysdeps/unix/bsd/wait3.c: ... here.
58929         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58930         * sysdeps/unix/bsd/waitpid.c: ... here.
58932 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58934         [BZ #16356]
58935         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58936         round-to-nearest for [!USE_AS_EXPM1L].
58937         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58938         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58939         more tests of exp and exp10.  Expect some exp10 tests to miss
58940         exceptions or fail in directed rounding modes.
58941         * math/auto-libm-test-out: Regenerated.
58942         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58943         (exp10_test_tonearest): New function.
58944         (exp10_towardzero_test_data): New array.
58945         (exp10_test_towardzero): New function.
58946         (exp10_downward_test_data): New array.
58947         (exp10_test_downward): New function.
58948         (exp10_upward_test_data): New array.
58949         (exp10_test_upward): New function.
58950         (main): Call the new functions.
58951         * sysdeps/i386/fpu/libm-test-ulps: Update.
58952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58954 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58956         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58957         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58958         * math/auto-libm-test-out: Regenerated.
58959         * math/libm-test.inc (acosh_test_data): Add more tests.
58960         (atanh_test_data): Likewise.
58961         (ceil_test_data): Likewise.
58962         (copysign_test_data): Likewise.
58963         * sysdeps/i386/fpu/libm-test-ulps: Update.
58964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58966         * timezone/checktab.awk: Update from tzcode 2013i.
58967         * timezone/private.h: Likewise.
58968         * timezone/scheck.c: Likewise.
58969         * timezone/tzfile.h: Likewise.
58970         * timezone/tzselect.ksh: Likewise.
58971         * timezone/zdump.c: Likewise.
58972         * timezone/zic.c: Likewise.
58974         * math/auto-libm-test-in: Add tests of cpow.
58975         * math/auto-libm-test-out: Regenerated.
58976         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58977         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58978         mpc_cc_c.
58979         (func_calc_desc): Add mpc_cc_c union field.
58980         (test_functions): Add cpow.
58981         (special_fill_2pi): New function.
58982         (special_real_inputs): Add 2pi.
58983         (calc_generic_results): Handle mpc_cc_c.
58984         * sysdeps/i386/fpu/libm-test-ulps: Update.
58985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58987         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58988         csqrt, ctan and ctanh.
58989         * math/auto-libm-test-out: Regenerated.
58990         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58991         (TEST_COND_x86): Likewise.
58992         (ccos_test_data): Use AUTO_TESTS_c_c.
58993         (ccosh_test_data): Likewise.
58994         (cexp_test_data): Likewise.
58995         (clog_test_data): Likewise.
58996         (csqrt_test_data): Likewise.
58997         (ctan_test_data): Likewise.
58998         (ctan_tonearest_test_data): Likewise.
58999         (ctan_towardzero_test_data): Likewise.
59000         (ctan_downward_test_data): Likewise.
59001         (ctan_upward_test_data): Likewise.
59002         (ctanh_test_data): Likewise.
59003         (ctanh_tonearest_test_data): Likewise.
59004         (ctanh_towardzero_test_data): Likewise.
59005         (ctanh_downward_test_data): Likewise.
59006         (ctanh_upward_test_data): Likewise.
59007         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59008         mpc_c_c.
59009         (func_calc_desc): Add mpc_c_c union field.
59010         (FUNC_mpc_c_c): New macro.
59011         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
59012         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
59013         ctanh.
59014         (special_fill_min_subnorm_p120): New function.
59015         (special_real_inputs): Add min_subnorm_p120.
59016         (calc_generic_results): Handle mpc_c_c.
59017         * sysdeps/i386/fpu/libm-test-ulps: Update.
59018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59020 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59022         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
59023         (do_sin_slow): New functions.
59024         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
59025         (cslow2, csloww1, csloww2): Use the new functions.
59027         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
59028         Use M to change sign of result instead of X.  Assume X is
59029         positive.
59030         (csloww1): Likewise.
59031         (__sin): Adjust.
59032         (__cos): Adjust.
59034         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
59035         arguments A and DA.
59036         (__sin): Adjust.
59037         (__cos): Likewise.
59039         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
59040         (__cos): Likewise.
59041         (sloww1): Don't adjust sign of DX.
59042         (csloww1): Likewise.
59043         (sloww2): Use X directly and don't adjust sign of DX.
59044         (csloww2): Likewise.
59046 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59048         * math/auto-libm-test-in: Add tests of cabs and carg.
59049         * math/auto-libm-test-out: Regenerated.
59050         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
59051         (carg_test_data): Likewise.
59052         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59053         mpc_c_f.
59054         (func_calc_desc): Add mpc_c_f union field.
59055         (test_functions): Add cabs and carg.
59056         (calc_generic_results): Handle mpc_c_f.
59058         * sysdeps/powerpc/powerpc32/libgcc-compat.S
59059         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
59060         as a macro and a compat symbol.
59061         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
59062         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
59063         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
59064         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
59065         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
59066         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
59067         not use .hidden.
59068         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
59069         Likewise.
59070         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
59071         Likewise.
59072         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
59073         Likewise.
59074         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
59075         Likewise.
59076         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
59077         Likewise.
59078         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
59079         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
59080         from GLIBC_2.3.2.
59082 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59086 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59088         * manual/texinfo.tex: Update to version 2013-11-26.10 with
59089         trailing whitespace removed.
59090         * scripts/config.guess: Update to version 2013-11-29.
59091         * scripts/config.sub: Update to version 2013-10-01.
59093         * math/auto-libm-test-in: Add tests of sincos.
59094         * math/auto-libm-test-out: Regenerated.
59095         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
59096         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59097         mpfr_f_11.
59098         (func_calc_desc): Add mpfr_f_11 union field.
59099         (test_functions): Add sincos.
59100         (calc_generic_results): Handle mpfr_f_11.
59101         * sysdeps/i386/fpu/libm-test-ulps: Update.
59102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59104 2013-12-19  Andreas Schwab  <schwab@suse.de>
59106         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
59107         CALL_MCOUNT.
59108         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59109         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
59110         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
59112 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59114         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
59115         * sysdeps/i386/fpu/libm-test-ulps: Update.
59116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59118         [BZ #16293]
59119         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
59120         round-to-nearest mode when using frndint.
59121         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
59122         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59123         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
59124         Likewise.
59125         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
59126         sinh test to fail.
59127         * math/auto-libm-test-out: Regenerated.
59128         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
59129         (TEST_COND_x86): Likewise.
59130         (expm1_tonearest_test_data): New array.
59131         (expm1_test_tonearest): New function.
59132         (expm1_towardzero_test_data): New array.
59133         (expm1_test_towardzero): New function.
59134         (expm1_downward_test_data): New array.
59135         (expm1_test_downward): New function.
59136         (expm1_upward_test_data): New array.
59137         (expm1_test_upward): New function.
59138         (main): Run the new test functions.
59139         * sysdeps/i386/fpu/libm-test-ulps: Update.
59140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59142         * include/features.h: Update comment documenting feature test
59143         macros.  Mention _DEFAULT_SOURCE in comment.
59144         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
59145         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
59146         _BSD_SOURCE and _SVID_SOURCE.
59147         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
59148         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59149         !_SVID_SOURCE]: Likewise.
59150         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59151         (__USE_POSIX_IMPLICITLY): Define.
59152         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59153         (_POSIX_SOURCE): Undefine and redefine.
59154         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59155         (_POSIX_C_SOURCE): Likewise.
59156         * manual/creature.texi (_DEFAULT_SOURCE): Document.
59157         (Feature Test Macros): Update documentation of default features.
59159 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59161         * benchtests/Makefile: Add bench-strtok.
59162         * benchtests/bench-strtok.c: New file: strtok benchtest.
59164 2013-12-19  Allan McRae  <allan@archlinux.org>
59166         * manual/install.texi: Suppress menu for plain text output.
59167         * INSTALL: Regenerated.
59169 2013-12-18  Brooks Moses  <bmoses@google.com>
59171         [BZ #15846]
59172         * misc/getauxval.c: Include errno.h.
59173         (__getauxval): Set errno to ENOENT if the requested type is not
59174         found.
59175         * misc/sys/auxv.h (getauxval): Document that it may set errno;
59176         don't declare with __attribute_const__.
59177         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59178         * manual/startup.texi: Document that getauxval sets errno.
59180 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59182         * math/auto-libm-test-in: Add tests of jn and yn.
59183         * math/auto-libm-test-out: Regenerated.
59184         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59185         (yn_test_data): Likewise.
59186         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59187         mpfr_if_f.
59188         (func_calc_desc): Add mpfr_if_f union field.
59189         (FUNC_mpfr_if_f): New macro.
59190         (test_functions): Add jn and yn.
59191         (calc_generic_results): Assert type of second input for
59192         mpfr_ff_f.  Handle mpfr_if_f.
59193         (output_for_one_input_case): Disable all checking for arguments
59194         fitting floating-point types in case of an integer argument.
59195         * sysdeps/i386/fpu/libm-test-ulps: Update.
59196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59199         Don't expect fegetround reference in libm.so.
59201 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59203         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59204         $(config-cflags-nofma).
59206 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59208         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59209         * math/auto-libm-test-out: Regenerated.
59211         [BZ #16338]
59212         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59213         to determine exponent and adjust argument to have exponent of -1.
59214         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59215         log2.
59216         * math/auto-libm-test-out: Regenerated.
59217         * sysdeps/i386/fpu/libm-test-ulps: Update.
59218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59220 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
59222         * manual/probes.texi: Remove cases when per-thread arenas are
59223         disabled.
59225 2013-12-18  Andreas Schwab  <schwab@suse.de>
59227         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59228         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59229         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59230         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59231         * sysdeps/i386/i686/multiarch/Makefile: Update.
59232         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59234 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59236         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59237         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59239 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
59241         [BZ #15968]
59242         Support TZ transition times < 00:00:00.
59243         This is needed for version-3 tz-format files; it supports time
59244         stamps past 2037 for America/Godthab (the only entry in the tz
59245         database for which this change is relevant).
59246         * manual/time.texi (TZ Variable): Document transition times
59247         from -167:59:59 through -00:00:01.
59248         * time/tzset.c (tz_rule): Time of day is now signed.
59249         (__tzset_parse_tz): Parse negative time of day.
59251         Document TZ transition times >= 25:00:00.
59252         * manual/time.texi (TZ Variable): Document transition times from
59253         25:00:00 through 167:59:59.  These are already supported, and this
59254         support will help with version-3 tz-format files.
59256         * manual/time.texi (TZ Variable): Modernize North America example
59257         to reflect current (i.e., 2007-and-later) daylight saving rules.
59259         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59261 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59263         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59264         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59265         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59267         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59268         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59269         * sysdeps/unix/bsd/clock.c: Likewise.
59270         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59271         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59272         * sysdeps/unix/bsd/init-posix.c: Likewise.
59273         * sysdeps/unix/bsd/poll.c: Likewise.
59274         * sysdeps/unix/bsd/ptsname.c: Likewise.
59275         * sysdeps/unix/bsd/seekdir.c: Likewise.
59276         * sysdeps/unix/bsd/setegid.c: Likewise.
59277         * sysdeps/unix/bsd/seteuid.c: Likewise.
59278         * sysdeps/unix/bsd/setgid.c: Likewise.
59279         * sysdeps/unix/bsd/setrgid.c: Likewise.
59280         * sysdeps/unix/bsd/setruid.c: Likewise.
59281         * sysdeps/unix/bsd/setsid.c: Likewise.
59282         * sysdeps/unix/bsd/setuid.c: Likewise.
59283         * sysdeps/unix/bsd/sigaction.c: Likewise.
59284         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59285         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59286         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59287         * sysdeps/unix/bsd/telldir.c: Likewise.
59288         * sysdeps/unix/bsd/times.c: Likewise.
59289         * sysdeps/unix/bsd/usleep.c: Likewise.
59291         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59292         ($(objpfx)libbsd-compat.a): Remove rule.
59294         * include/features.h (__FAVOR_BSD): Do not define.
59295         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59296         features conflicting with POSIX.
59297         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59298         (_BSD_SOURCE): Remove description of not being a subset of other
59299         feature test macros.
59300         * manual/job.texi (getpgrp): Do not document BSD version.
59301         (getpgid): Do not document by reference to BSD getpgrp.
59302         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59303         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59304         * signal/signal.h [__FAVOR_BSD]: Likewise.
59305         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59306         instead of making contents conditional on [__FAVOR_BSD].
59307         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59309 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59313 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59315         [BZ #16314]
59316         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59317         values below 2**-450, not 2**-500.
59318         * math/auto-libm-test-in: Don't allow spurious underflow from
59319         hypot.
59320         * math/auto-libm-test-out: Regenerated.
59322         [BZ #16316]
59323         [BZ #16330]
59324         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59325         values of ha and hb and sort them after adjusting subnormal
59326         arguments.
59327         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59328         Likewise.
59329         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59330         values of ea and eb and sort them after adjusting subnormal
59331         arguments.
59332         * math/auto-libm-test-in: Do not expect some hypot tests of
59333         subnormals to fail.  Add more hypot tests.
59334         * math/auto-libm-test-out: Regenerated.
59336 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59338         [BZ #13304]
59339         * sysdeps/sh/s_fma.c: New file.
59340         * sysdeps/sh/s_fmaf.c: New file.
59341         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59342         version.
59343         * sysdeps/sh/Implies: Add sh/soft-fp.
59345 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59347         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59348         level of indirection to members `objname', `errstring', `malloced'.
59349         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59350         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59351         it as the __longjmp argument (just pass 1 instead).
59352         (_dl_catch_error): Initialize C with argument pointers and address of
59353         volatile local ERRCODE rather than copying values out of C at return.
59355 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59357         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59358         * math/auto-libm-test-out: Regenerated.
59359         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59360         (hypot_test_data): Likewise.
59361         (pow_test_data): Likewise.
59362         (pow_tonearest_test_data): Likewise.
59363         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59364         mpfr_ff_f.
59365         (func_calc_desc): Add mpfr_ff_f union field.
59366         (FUNC_mpfr_ff_f): New macro.
59367         (test_functions): Add atan2, hypot and pow.
59368         (special_fill_min): New function.
59369         (special_fill_minus_min): Likewise.
59370         (special_fill_min_subnorm): Likewise.
59371         (special_fill_minus_min_subnorm): Likewise.
59372         (special_real_inputs): Add min, -min, min_subnorm and
59373         -min_subnorm.
59374         (calc_generic_results): Handle mpfr_ff_f.
59375         * sysdeps/i386/fpu/libm-test-ulps: Update.
59376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59378 2013-12-16  Will Newton  <will.newton@linaro.org>
59380         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59381         (Aligned Memory Blocks): Add documentation for aligned_alloc
59382         and suggest it as an alternative to posix_memalign.
59383         (Hooks for Malloc): Document __memalign_hook is also called
59384         for aligned_alloc.  (Summary of Malloc): Add summary for
59385         aligned alloc.  Document __memalign_hook is also called
59386         for aligned_alloc.
59388 2013-12-16  Will Newton  <will.newton@linaro.org>
59390         * manual/memory.texi (Malloc Examples): Clarify default
59391         alignment documentation.  Suggest posix_memalign rather
59392         than memalign or valloc.
59393         (Aligned Memory Blocks): Remove suggestion to use memalign
59394         or valloc.  Remove obsolete comment about BSD.
59395         Document memalign errno values and mark the function obsolete.
59396         Document posix_memalign returned error codes.  Mark valloc
59397         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59398         called for posix_memalign and valloc.
59399         (Summary of Malloc): Add posix_memalign to function summary.
59400         __memalign_hook is also called for posix_memalign and valloc.
59402 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59404         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59405         TAYLOR_SIN.
59406         (__sin): Adjust.
59407         (__cos): Likewise.
59408         (sloww): Use mynumber union.  Expand ternary operator into
59409         if-else statements.
59410         (cslow): use mynumber union.
59412 2013-12-16  Allan McRae  <allan@archlinux.org>
59414         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59415         * configure: Regenerated.
59417         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59419         [BZ #14120]
59420         * configure.ac: Added --enable-maintainer-mode. Check for
59421         autoconf when enabled.
59422         * configure: Regenerated.
59424         * nscd/nscd.service: New file.
59425         * nscd/nscd.tmpfiles: New file.
59427 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
59429         [BZ #12100]
59430         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59431         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59432         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59433         (strstr): Add __strstr_sse2_unaligned ifunc.
59434         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59435         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59436         (strcasestr): Remove __strcasestr_sse42 ifunc.
59437         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59438         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59439         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59441 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59443         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59444         * sysdeps/sh/bits/fenv.h: ... here.
59445         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59447 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59449         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59451         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59452         hypotf multiarch implementations.
59453         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59456         multiarch hypot for PPC64.
59457         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59460         multiarch hypotf for PPC64.
59462         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59463         modff multiarch implementations.
59464         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59467         multiarch modf for PPC64.
59468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59471         multiarch modff for PPC64.
59473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59474         and logl multiarch implementations.
59475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59478         multiarch logb for PPC64.
59479         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59482         multiarch logb for PPC64.
59483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59486         multiarch logb for PPC64.
59488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59489         isinff multiarch implementation.
59490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59491         file.
59492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59494         multiarch isinf for PPC64.
59495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59496         file.
59497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59498         multiarch isinff for PPC64.
59500         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59501         finitef multiarch implementation.
59502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59503         file.
59504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59506         multiarch finite for PPC64.
59507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59508         file.
59509         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59510         multiarch finitef for PPC64.
59512         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59513         lrint multiarch implementation.
59514         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59515         file.
59516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59518         multiarch llrint for PPC64.
59519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59520         multiarch lrint for PPC64.
59522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59523         copysignf multiarch implementation.
59524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59525         file.
59526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59527         file.
59528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59529         multiarch copysign for PPC64.
59530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59531         multiarch copysignf for PPC64.
59533         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59534         multiarch implementation.
59535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59536         file.
59537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59538         file.
59539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59540         file.
59541         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59542         file.
59543         multiarch llround for PPC64.
59544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59545         multiarch trunc for PPC64.
59546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59547         multiarch truncf for PPC64.
59549         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59550         multiarch implementation.
59551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59552         file.
59553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59554         file.
59555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59556         file.
59557         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59558         file.
59559         multiarch llround for PPC64.
59560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59561         multiarch round for PPC64.
59562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59563         multiarch roundf for PPC64.
59565         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59566         multiarch implementation.
59567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59568         file.
59569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59570         file.
59571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59572         file.
59573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59574         file.
59575         multiarch llround for PPC64.
59576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59577         multiarch floor for PPC64.
59578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59579         multiarch floorf for PPC64.
59581         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59582         multiarch implementation.
59583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59584         file.
59585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59586         file.
59587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59588         file.
59589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59590         file.
59591         multiarch llround for PPC64.
59592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59593         multiarch ceil for PPC64.
59594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59595         multiarch ceilf for PPC64.
59597         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59598         multiarch implementation.
59599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59600         file.
59601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59602         file.
59603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59604         file.
59605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59606         multiarch llround for PPC64.
59607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59608         multiarch lround for PPC64.
59610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59611         multiarch implementation.
59612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59615         file.
59616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59619         multiarch isnan for PPC64.
59620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59621         multiarch isnanf for PPC64.
59623         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59624         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59625         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59626         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59627         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59630         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59631         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59632         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59633         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59636         multiarch implementations.
59637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59638         (__libc_ifunc_impl_list): Likewise.
59639         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59642         multiarch stpcpy for PPC64.
59644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59645         multiarch implementations.
59646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59647         (__libc_ifunc_impl_list): Likewise.
59648         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59649         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59650         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59651         multiarch strcpy for PPC64.
59653         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59654         redefine function name.
59655         (_wordcopy_fwd_dest_aligned): Likewise.
59656         (_wordcopy_bwd_aligned): Likewise.
59657         (_wordcopy_bwd_dest_aligned): Likewise.
59658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59659         multiarch implementations.
59660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59661         (__libc_ifunc_impl_list): Likewise.
59662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59666         multiarch wcscpy for PPC64.
59668         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59669         multiarch implementations.
59670         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59671         (__libc_ifunc_impl_list): Likewise.
59672         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59676         multiarch wcscpy for PPC64.
59678         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59679         multiarch implementations.
59680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59681         (__libc_ifunc_impl_list): Likewise.
59682         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59686         multiarch wcsrchr for PPC64.
59688         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59689         multiarch implementations.
59690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59691         (__libc_ifunc_impl_list): Likewise.
59692         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59693         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59694         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59695         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59696         multiarch wcschr for PPC64.
59698         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59699         multiarch implementations.
59700         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59701         (__libc_ifunc_impl_list): Likewise.
59702         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59703         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59704         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59705         multiarch strchrnul for PPC64.
59707         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59708         implementations.
59709         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59710         (__libc_ifunc_impl_list): Likewise.
59711         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59712         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59713         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59714         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59715         strchr for PPC64.
59717         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59718         implementations.
59719         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59720         (__libc_ifunc_impl_list): Likewise.
59721         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59722         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59723         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59724         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59725         strncmp for PPC64.
59727         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59728         multiarch implementations.
59729         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59730         (__libc_ifunc_impl_list): Likewise.
59731         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59732         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59733         strncasecmp for PPC64.
59734         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59735         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59736         multiarch strncasecmp_l for PPC64.
59738         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59739         multiarch implementations.
59740         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59741         (__libc_ifunc_impl_list): Likewise.
59742         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59744         multiarch strcasecmp for PPC64.
59745         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59746         file.
59747         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59748         multiarch strcasecmp_l for PPC64.
59750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59751         implementations.
59752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59753         (__libc_ifunc_impl_list): Likewise.
59754         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59755         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59756         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59757         strnlen for PPC64.
59759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59760         implementations.
59761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59762         (__libc_ifunc_impl_list): Likewise.
59763         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59764         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59765         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59766         strlen for PPC64.
59768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59769         implementations.
59770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59771         (__libc_ifunc_impl_list): Likewise.
59772         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59774         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59775         rawmemrchr for PPC64.
59777         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59778         implementation.
59779         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59780         (__libc_ifunc_impl_list): Likewise.
59781         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59782         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59783         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59784         memrchr for PPC64.
59786         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59787         implementation.
59788         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59789         (__libc_ifunc_impl_list): Likewise.
59790         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59791         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59792         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59793         memchr for PPC64.
59795         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59796         implementation.
59797         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59798         (__libc_ifunc_impl_list): Likewise.
59799         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59802         mempcpy for PPC64.
59804         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59805         avoid cretion of __bzero symbol.
59806         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59807         Likewise.
59808         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59809         Likewise.
59810         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59811         Likewise.
59812         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59813         multiarch implementations.
59814         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59815         (__libc_ifunc_impl_list): Likewise.
59816         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59819         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59820         bzero for PPC32.
59821         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59822         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59823         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59824         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59825         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59826         memset for PPC64.
59827         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59829         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59831         implementations.
59832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59833         (__libc_ifunc_impl_list): Likewise.
59834         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59835         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59836         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59837         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59838         memcmp for PPC64.
59840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59841         multiarch for POWER/PPC64.
59842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59843         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59844         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59850         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59851         memcpy for PPC64.
59853         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59854         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59855         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59856         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59857         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59858         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59859         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59860         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59861         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59862         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59863         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59864         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59865         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59866         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59867         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59876 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59878         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59880 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59882         * benchtests/Makefile (bench): Add exp2 and log2.
59883         (LDLIBS-bench-exp2): Add -lm.
59884         (LDLIBS-bench-log2): Likewise.
59885         * benchtests/exp2-inputs: New inputs file.
59886         * benchtests/log2-inputs: New inputs file.
59887         * benchtests/log-inputs: Add new inputs.
59888         * benchtests/tan-inputs: Likewise.
59890 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59892         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59893         definition...
59894         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59895         (csloww2): ... from here.
59897         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59898         instead of structures.
59899         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59900         (POLYNOMIAL): Likewise.
59901         (TAYLOR_SLOW): Likewise.
59902         (__sin): Likewise.
59903         (__cos): Likewise.
59904         (slow1): Likewise.
59905         (slow2): Likewise.
59906         (sloww): Likewise.
59907         (sloww1); Likewise.
59908         (sloww2): Likewise.
59909         (bsloww1): Likewise.
59910         (bsloww2): Likewise.
59911         (cslow2): Likewise.
59912         (csloww): Likewise.
59913         (csloww1): Likewise.
59914         (csloww2): Likewise.
59916 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
59918         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59919         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59920         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59921         * malloc/hooks.c (realloc_check): Likewise.
59923         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59924         * malloc/arena.c: Remove PER_THREAD conditional.
59925         [!PER_THREAD]: Remove code.
59926         (ptmalloc_unlock_all2): Likewise.
59927         (ptmalloc_init): Likewise.
59928         (_int_new_arena): Likewise.
59929         (arena_get2): Likewise.
59930         * malloc/hooks.c (__malloc_get_state): Likewise.
59931         (__malloc_set_state): Likewise.
59932         * malloc/malloc.c: Likewise.
59933         (struct malloc_state): Likewise.
59934         (struct malloc_par): Likewise.
59935         (__libc_realloc): Likewise.
59936         (__libc_mallopt): Likewise.
59938 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59940         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59942 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
59944         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59945         macro to a function.  Check for zero perturb_byte.
59946         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59948         * malloc/malloc.c: (force_reg): Remove.
59949         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59950         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59951         force_reg by atomic_forced_read.
59952         * malloc/arena.c (ptmalloc_init): Likewise.
59953         * malloc/hooks.c (top_check): Likewise.
59955 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59957         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59959 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59963 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59965         * math/auto-libm-test-in: Add tests of lgamma.
59966         * math/auto-libm-test-out: Regenerated.
59967         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59968         (M_LOG_2_SQRT_PIl): Likewise.
59969         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59970         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59971         mpfr_f_f1.
59972         (func_calc_desc): Add mpfr_f_f1 union field.
59973         (ARGS1): New macro.
59974         (ARGS2): Likewise.
59975         (ARGS3): Likewise.
59976         (ARGS4): Likewise.
59977         (RET1): Likewise.
59978         (RET2): Likewise.
59979         (CALC): Likewise.
59980         (FUNC): Likewise.
59981         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59982         (test_functions): Add lgamma.
59983         (calc_generic_results): Handle mpfr_f_f1.
59984         * sysdeps/i386/fpu/libm-test-ulps: Update.
59985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59987 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59989         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59990         __mpn_add_n for PowerPC64/POWER7.
59991         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59992         __mpn_sub_n for PowerPC64/POWER7.
59994         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59995         __mpn_addmul_1 for PowerPC64.
59996         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59997         __mpn_submul_1 for PowerPC64.
59998         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59999         for PowerPC64.
60000         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
60001         for PowerPC64.
60003 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
60005         [BZ #15089]
60006         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
60008 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60010         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
60012         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
60013         add multiarch folders.
60014         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
60015         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
60016         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
60017         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
60018         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
60019         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
60020         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
60021         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
60022         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
60023         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
60024         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
60025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
60026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
60028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
60029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
60030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
60032         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60033         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
60034         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
60035         New file.
60036         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
60037         New file.
60038         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
60039         multiarch __ieee754_hypot for PowerPC32.
60040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
60041         New file.
60042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
60043         New file.
60044         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
60045         multiarch __ieee754_hypotf for PowerPC32.
60047         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
60048         long_double_symbol only if __logbl is defined.
60049         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
60050         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
60051         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
60052         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
60053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
60054         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
60055         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
60056         path for implementation.
60057         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
60058         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
60059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
60060         logb, and logbl multiarch implementations for PowerPC32.
60061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
60062         file.
60063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
60064         file.
60065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
60066         multiarch logb for PowerPC32.
60067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
60068         file.
60069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
60070         file.
60071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
60072         multiarch logbf for PowerPC32.
60073         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
60074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
60075         file.
60076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
60077         multiarch logbl implementation for PowerPC32.
60079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
60080         and modff multiarch implementations.
60081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
60082         New file.
60083         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
60084         New file.
60085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
60086         multiarch modf for PowerPC32.
60087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
60088         New file.
60089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
60090         New file.
60091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
60092         multiarch modff for PowerPC32.
60094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
60095         and lrintf multiarch implementations.
60096         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
60097         New file.
60098         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
60099         New file.
60100         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
60101         multiarch lrint for PowerPC32.
60102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
60103         file: multiarch lrintf for PowerPC32.
60105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
60106         and lroundf multiarch implementations.
60107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
60108         New file.
60109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
60110         New file.
60111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
60112         New file.
60113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
60114         multiarch lround for PowerPC32.
60115         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
60116         file: multiarch lroundf for PowerPC32.
60118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60119         copysign and copysignf multiarch implementations.
60120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
60121         New file.
60122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
60123         New file.
60124         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
60125         file: multiarch copysign for PowerPC32.
60126         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
60127         file: multiarch copysignf for PowerPC32.
60129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
60130         and truncf multiarch implementations.
60131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
60132         New file.
60133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
60134         file.
60135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
60136         multiarch trunc for PowerPC32.
60137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
60138         New file.
60139         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
60140         New file.
60141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
60142         multiarch truncf for PowerPC32.
60144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
60145         and roundf multiarch implementations.
60146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
60147         New file.
60148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
60149         file.
60150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
60151         multiarch round for PowerPC32.
60152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
60153         New file.
60154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
60155         New file.
60156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
60157         multiarch roundf for PowerPC32.
60159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60160         and floorf multiarch implementations.
60161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60162         New file.
60163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60164         file.
60165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60166         multiarch floor for PowerPC32.
60167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60168         New file.
60169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60170         New file.
60171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60172         multiarch floorf for PowerPC32.
60174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60175         and ceilf multiarch implementations.
60176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60177         New file.
60178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60179         file.
60180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60181         multiarch ceil for PowerPC32.
60182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60183         New file.
60184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60185         file.
60186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60187         multiarch ceilf for PowerPC32.
60189         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60190         is defined.
60191         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60192         FINITEF is defined.
60193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60194         and finitef multiarch implementations.
60195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60196         New file.
60197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60198         file.
60199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60200         multiarch finite for PowerPC32.
60201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60202         New file.
60203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60204         file: multiarch finitef for PowerPC32.
60206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60207         and isinff multiarch implementations.
60208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60209         file.
60210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60211         file.
60212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60213         multiarch isinf for PowerPC32.
60214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60215         New file.
60216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60217         multiarch isinff for PowerPC32.
60219         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60220         alias when __isnan is defined.
60221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60222         and isnanf multiarch implementations.
60223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60224         file.
60225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60226         file.
60227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60228         file.
60229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60230         file.
60231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60232         multiarch isnan for PowerPC32.
60233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60234         New file.
60235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60236         New file.
60237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60238         multiarch isnanf for PowerPC32.
60240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60241         and sqrtf multiarch implementations.
60242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60243         file.
60244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60245         file.
60246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60247         multiarch sqrt for PowerPC32.
60248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60249         file.
60250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60251         file.
60252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60253         multiarch sqrtf for PowerPC32.
60255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60256         and llroundf multiarch implementations.
60257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60258         New file.
60259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60260         New file.
60261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60262         New file.
60263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60264         file: multiarch llround for PowerPC32.
60265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60266         file: multiarch llroundf for PowerPC32.
60268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60269         multiarch PowerPC32 fpu implementations.
60270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60271         New file.
60272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60273         New file.
60274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60275         multiarch llrint for PowerPC32.
60276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60277         New file.
60278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60279         New file.
60280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60281         file.
60283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60285         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60286         file.
60287         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60288         file.
60289         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60290         file.
60291         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60292         multiarch wordcopy for PPC32.
60293         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60294         wordcopy objects.
60295         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60296         (__libc_ifunc_impl_list): Likewise.
60297         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60298         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60299         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60300         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60301         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60302         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60304         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60305         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60306         file.
60307         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60308         file.
60309         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60310         file.
60311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60312         multiarch wcscpy for PPC32.
60313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60314         multiarch objects.
60315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60316         (__libc_ifunc_impl_list): Likewise.
60317         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60318         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60319         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60320         sysdeps/powerpc/power6/wcscpy.c.
60322         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60323         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60324         file.
60325         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60326         file.
60327         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60328         file.
60329         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60330         multiarch wcsrchr for PPC32.
60331         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60332         multiarch objects.
60333         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60334         (__libc_ifunc_impl_list): Likewise.
60335         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60336         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60337         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60338         sysdeps/powerpc/power6/wcsrchr.c.
60340         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60341         file.
60342         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60343         file.
60344         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60346         multiarch wcschr for PPc32.
60347         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60348         multiarch objects.
60349         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60350         (__libc_ifunc_impl_list): Likewise.
60351         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60352         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60353         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60354         sysdeps/powerpc/power6/wcschr.c.
60356         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60357         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60358         file.
60359         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60360         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60361         file: multiarch strchr for PPC32.
60362         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60363         multiarch objects.
60364         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60365         (__libc_ifunc_impl_list): Likewise.
60367         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60368         name.
60369         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60370         file.
60371         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60372         file.
60373         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60374         multiarch strchrnul for PPC32.
60375         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60376         multiarch objects.
60377         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60378         (__libc_ifunc_impl_list): Likewise.
60380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60381         file.
60382         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60383         multiarch strncasecmp for PPC32.
60384         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60385         file.
60386         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60387         multiarch strncasecmp_l for PPC32.
60388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60389         strncasecmp multiarch objects.
60390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60391         (__libc_ifunc_impl_list): Likewise.
60393         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60394         file.
60395         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60396         multiarch strncasecmp for PPC32.
60397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60398         New file.
60399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60400         multiarch strcasecmp_l for PPC32.
60401         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60402         multiarch objects.
60403         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60404         (__libc_ifunc_impl_list): Likewise.
60406         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60407         file.
60408         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60409         file.
60410         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60411         multiarch strncmp for PPC32.
60412         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60413         multiarch objects.
60414         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60415         (__libc_ifunc_impl_list): Likewise.
60417         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60418         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60419         file.
60420         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60421         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60423         multiarch objects.
60424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60425         (__libc_ifunc_impl_list): Likewise.
60427         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60428         file.
60429         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60430         file.
60431         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60432         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60433         multiarch objects.
60434         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60435         (__libc_ifunc_impl_list): Likewise.
60437         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60438         file.
60439         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60440         file.
60441         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60442         multiarch rawmemchr for PPC32.
60443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60444         multiarch objects.
60445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60446         (__libc_ifunc_impl_list): Likewise.
60448         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60449         file.
60450         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60451         file.
60452         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60453         file: memrchr multiarch for PPC32.
60454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60455         multiarch objects.
60456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60457         (__libc_ifunc_impl_list): Likewise.
60459         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60460         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60461         file.
60462         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60463         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60464         multiarch memchr for PPC32.
60465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60466         multiarch objects.
60467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60468         (__libc_ifunc_impl_list): Likewise.
60470         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60471         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60472         file.
60473         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60474         file.
60475         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60476         file: multiarch mempcpy for PPC32.
60477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60478         multiarch objects.
60479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60480         (__libc_ifunc_impl_list): Likewise.
60482         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60486         multiarch bzero for PPC32.
60487         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60488         file.
60489         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60490         file.
60491         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60492         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60493         file: multiarch memset for PPC32.
60494         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60495         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60496         memset multiarch objects.
60497         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60498         (__libc_ifunc_impl_list): Likewise.
60500         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60501         file.
60502         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60504         memcmp for PPC32.
60505         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60506         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60507         multiarch objects.
60508         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60509         (__libc_ifunc_impl_list): Likewise.
60511         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60514         file.
60515         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60516         file.
60517         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60518         file.
60519         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60520         multiarch memcpy for PPC32.
60521         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60522         multiarch objects.
60523         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60524         (__libc_ifunc_impl_list): Likewise.
60526         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60527         support multiarch for POWER/PPC32.
60528         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60529         Likewise.
60530         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60532         Implies file to make multiarch folder appers before the fpu and
60533         default folder for power4 configuration.
60535 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60537         * scripts/bench.pl: Append volatile keyword to type.
60539 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60541         * sysdeps/sh/sotruss-lib.c: New file.
60542         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60544 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60546         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60548 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60550         [BZ #6810]
60551         * math/w_tgamma.c: Include <errno.h>.
60552         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60553         * math/w_tgammaf.c: Include <errno.h>.
60554         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60555         * math/w_tgammal.c: Include <errno.h>.
60556         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60557         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60558         underflow.  Add more tgamma tests.
60559         * math/auto-libm-test-out: Regenerated.
60560         * sysdeps/i386/fpu/libm-test-ulps: Update.
60561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60563         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60564         sin, sinh, tan, tanh, tgamma, y0 and y1.
60565         * math/auto-libm-test-out: Regenerated.
60566         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60567         (TEST_COND_x86): Likewise.
60568         (M_E2l): Remove macro.
60569         (M_E3l): Likewise.
60570         (M_2_SQRT_PIl): Likewise.
60571         (M_SQRT_PIl): Likewise.
60572         (M_1_DIV_El): Likewise.
60573         (log_test_data): Use AUTO_TESTS_f_f.
60574         (log10_test_data): Likewise.
60575         (log1p_test_data): Likewise.
60576         (log2_test_data): Likewise.
60577         (sin_test_data): Likewise.
60578         (sin_tonearest_test_data): Likewise.
60579         (sin_towardzero_test_data): Likewise.
60580         (sin_downward_test_data): Likewise.
60581         (sin_upward_test_data): Likewise.
60582         (sinh_test_data): Likewise.
60583         (sinh_tonearest_test_data): Likewise.
60584         (sinh_towardzero_test_data): Likewise.
60585         (sinh_downward_test_data): Likewise.
60586         (sinh_upward_test_data): Likewise.
60587         (tan_test_data): Likewise.
60588         (tan_tonearest_test_data): Likewise.
60589         (tan_towardzero_test_data): Likewise.
60590         (tan_downward_test_data): Likewise.
60591         (tan_upward_test_data): Likewise.
60592         (tanh_test_data): Likewise.
60593         (tgamma_test_data): Likewise.
60594         (y0_test_data): Likewise.
60595         (y1_test_data): Likewise.
60596         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60597         (special_real_inputs): Add pi/4.
60598         * sysdeps/i386/fpu/libm-test-ulps: Update.
60599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60601 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60603         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60604         "longjmp_target" static probes.
60605         (__longjmp): Rename to __longjmp_symbol.
60606         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60607         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60608         on which longjmp to generate.
60609         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60610         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60611         probe.
60612         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60613         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60614         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60615         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60616         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60617         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60619         __longjmp_symbol based on which __longjmp to generate.
60620         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60621         probe.
60622         (setjmp): Rename to setjmp_symbol.
60623         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60624         (_setjmp): Rename to _setjmp_symbol.
60625         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60626         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60627         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60628         which setjmp to generate.
60629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60630         "longjmp_target" static probes.
60632 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60634         * benchtests/README: Add note about output arguments.
60635         * benchtests/bench-sincos.c: Remove file.
60636         * benchtests/sincos-inputs: New file.
60637         * scripts/bench.pl: Identify output arguments and define
60638         static variables for them.
60640         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60642         [BZ #15941]
60643         * Makefile (INSTALL): Add install-plain.texi as the primary
60644         dependency.
60645         * manual/install-plain.texi: New file.
60646         * manual/install.texi: Include node directive only for
60647         non-plaintext output.
60649 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60651         * stdlib/longlong.h: Update from GCC.
60653         [BZ #6807]
60654         [BZ #15901]
60655         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60656         * math/w_j0f.c (y0f): Likewise.
60657         * math/w_j0l.c (__y0l): Likewise.
60658         * math/w_j1.c (y1): Likewise.
60659         * math/w_j1f.c (y1f): Likewise.
60660         * math/w_j1l.c (__y1l): Likewise.
60661         * math/w_jn.c (yn): Likewise.
60662         * math/w_jnf.c (ynf): Likewise.
60663         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60664         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60665         value for Bessel function domain errors outside _SVID_ mode.
60666         Adjust sign of return value for yn (negative integer, 0).
60667         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60668         by zero in return for negative x and set sign appropriately for
60669         negative n.
60670         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60671         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60672         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60673         expectations in error cases.
60674         (y1_test_data): Likewise.
60675         (yn_test_data): Likewise.
60676         * sysdeps/i386/fpu/libm-test-ulps: Update.
60677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60679 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60681         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60682         "64" to "64-v1".  Add "64-v2".
60683         (abi-64-options): Rename to ...
60684         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60685         (abi-64-condition): Rename to ...
60686         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60687         (abi-64-ld-soname): Rename to ...
60688         (abi-64-v1-ld-soname): ... this.
60689         (abi-64-v2-options): Define.
60690         (abi-64-v2-condition): Likewise.
60691         (abi-64-v2-ld-soname): Likewise.
60692         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60693         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60698 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60699             Alan Modra  <amodra@gmail.com>
60701         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60702         New versions for use with the ELFv2 ABI.
60703         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60704         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60705         declaration.
60706         (struct La_ppc64v2_retval): Likewise.
60707         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60708         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60709         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60710         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60711         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60712         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60713         Do not save or restore CR.
60714         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60715         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60716         return values for ELFv2 ABI.  Fix location of FPR return registers.
60717         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60718         updated values for _CALL_ELF == 2.
60719         (La_regs, La_retval, int_retval): Likewise.
60721 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60723         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60724         (FRAME_MIN_SIZE_PARM): Likewise.
60725         (FRAME_BACKCHAIN): Likewise.
60726         (FRAME_CR_SAVE): Likewise.
60727         (FRAME_LR_SAVE): Likewise.
60728         (FRAME_TOC_SAVE): Likewise.
60729         (FRAME_PARM_SAVE): Likewise.
60730         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60731         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60732         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60733         (call_mcount_parm_offset): New macro.
60734         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60735         (PROF): Use symbolic stack frame offsets.
60736         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60737         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60738         Redefine in terms of FRAME_MIN_SIZE.
60739         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60740         (_dl_profile_resolve): Likewise.  Update comment.
60741         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60742         symbols stack frame offsets.
60743         (__sigsetjmp): Likewise.
60744         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60745         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60746         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60747         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60750         (FRAME_BACKCHAIN): Remove.
60751         (FRAME_CR_SAVE): Likewise.
60752         (FRAME_LR_SAVE): Likewise.
60753         (FRAME_COMPILER_DW): Likewise.
60754         (FRAME_LINKER_DW): Likewise.
60755         (FRAME_TOC_SAVE): Likewise.
60756         (FRAME_PARM_SAVE): Likewise.
60757         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60758         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60759         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60761         (CHECK_SP): Use symbolic stack frame offsets.
60762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60763         zone" instead of caller's parameter save area for temp storage.
60764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60765         Likewise.  Also, use symbolic stack frame offsets.
60766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60767         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60768         our own stack frame instead of the caller's.
60769         (__socket): Use symbolic stack frame offsets.
60771 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60772             Alan Modra  <amodra@gmail.com>
60774         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60775         Define.
60776         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60777         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60778         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60779         New function.
60780         (elf_machine_fixup_plt): Call it.
60781         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60782         reloc arguments.
60783         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60784         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60785         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60786         r2 before calling target.
60788 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60789             Alan Modra  <amodra@gmail.com>
60791         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60792         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60793         versions of macros to support ELFv2 ABI.
60794         (LOCALENTRY): New macro.
60795         (ENTRY, EALIGN): Use it.
60796         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60797         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60798         fall through into ENTRY entry point.
60799         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60800         Only define if _CALL_ELF != 2.
60802         (elf_machine_matches_host): Verify ABI version matches.
60803         (RTLD_START): Use LOCALENTRY.
60804         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60805         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60806         (PLT_ENTRY_WORDS): New macro.
60807         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60808         (elf_machine_runtime_setup): Support ELFv2 ABI.
60809         (elf_machine_fixup_plt): Likewise.
60810         (elf_machine_plt_conflict): Likewise.
60811         (resolve_ifunc): Likewise.
60812         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60813         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60814         Likewise.
60815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60816         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60818         (makecontext): Support ELFv2 ABI.
60819         * elf/elf.h (EF_PPC64_ABI): Define.
60821 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60823         * sysdeps/powerpc/powerpc64/sysdep.h
60824         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60825         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60826         (ENTRY) [ASSEMBLER]: ... but instead here ...
60827         (EALIGN) [ASSEMBLER]: ... and here.
60828         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60829         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60830         (ENTRY_2) [!ASSEMBLER]: Use it.
60831         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60832         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60833         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60834         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60835         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60837         Use PPC64_LOAD_FUNCPTR.
60839         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60841 2013-12-04  Alan Modra  <amodra@gmail.com>
60843         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60844         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60845         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60846         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60849         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60850         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60851         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60852         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60853         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60855 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60858         (__makecontext): Fix incorrect CFI when backtracing out of
60859         context created via makecontext.
60860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60861         (__setcontext): Fix incorrect CFI during switch to new context.
60862         (__novec_setcontext): Likewise.
60864 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60866         [BZ #4772]
60867         * time/strptime_l.c (__strptime_internal): Allow modifiers
60868         in strptime.
60869         * time/tst-strptime.c (day_tests): Add testcase.
60871 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60873         * scripts/bench.pl: Skip over blank lines.
60875 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60877         [BZ #926]
60878         * manual/time.texi (Calendar Time): Clarify what timezone functions
60879         use.
60881 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60885 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60887         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60888         implementation.
60889         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60890         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60891         * debug/memset_chk.c (__memset_chk): Likewise.
60892         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60893         * debug/strncpy_chk.c: Likewise.
60895 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60897         [BZ #15268]
60898         [BZ #15425]
60899         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60900         (__ieee754_exp): For possibly underflowing results, check size of
60901         result and force underflow exception if required.
60902         * math/auto-libm-test-in: Add more tests of exp.
60903         * math/auto-libm-test-out: Regenerated.
60904         * sysdeps/i386/fpu/libm-test-ulps: Update.
60905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60907         [BZ #16283]
60908         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60909         * math/w_exp2f.c (__exp2f): Likewise.
60910         * math/w_exp2l.c (__exp2l): Likewise.
60911         * math/auto-libm-test-in: Do not allow missing errno on exp2
60912         underflow.
60913         * math/auto-libm-test-out: Regenerated.
60915 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
60917         [BZ #16274]
60918         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60919         handle filename validation.
60920         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60921         (do_open): Delete.
60923 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60925         [BZ #6786]
60926         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60927         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60928         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60929         <float.h>.
60930         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60931         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60932         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60933         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60934         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60935         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60936         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60937         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60938         Add more erfc tests.
60939         * math/auto-libm-test-out: Regenerated.
60940         * sysdeps/i386/fpu/libm-test-ulps: Update.
60941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60943         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60944         exp2, expm1, j0 and j1.
60945         * math/auto-libm-test-out: Regenerated.
60946         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60947         (erfc_test_data): Likewise.
60948         (exp_test_data): Likewise.
60949         (exp_tonearest_test_data): Likewise.
60950         (exp_towardzero_test_data): Likewise.
60951         (exp_downward_test_data): Likewise.
60952         (exp_upward_test_data): Likewise.
60953         (exp10_test_data): Likewise.
60954         (exp2_test_data): Likewise.
60955         (expm1_test_data): Likewise.
60956         (j0_test_data): Likewise.
60957         (j1_test_data): Likewise.
60958         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60959         (input_flag_type): Add flag_xfail_rounding.
60960         (input_flags): Add xfail-rounding.
60961         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60962         (output_for_one_input_case): Handle flag_xfail_rounding.
60963         * sysdeps/i386/fpu/libm-test-ulps: Update.
60964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60966 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60968         [BZ #16289]
60969         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60970         division by 0.
60972 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60974         [BZ #16195]
60975         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60976         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60977         (STAP_PROBE0): New macro.
60978         (STAP_PROBE1): Likewise.
60979         (STAP_PROBE2): Likewise.
60980         (STAP_PROBE3): Likewise.
60981         (STAP_PROBE4): Likewise.
60983 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
60985         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60987 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60989         * benchtests/Makefile (bench): Add sqrt.
60990         (LDLIBS-bench-sqrt): New.
60991         * benchtests/sqrt-input: New.
60993 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60995         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60996         (GAIH_EAI): Likewise.
60997         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60998         (gaih_inet): Likewise.
60999         (getaddrinfo): Don't use GAIH_EAI.
61001         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
61002         (struct gaih): Remove definition.
61004 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61006         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
61007         Use HERRNOP directly.
61009 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61013 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
61015         * math/gen-auto-libm-tests.c (test_functions): Add more
61016         single-argument functions.
61017         (special_fill_pi_2): New function.
61018         (special_fill_minus_pi_2): Likewise.
61019         (special_fill_pi_6): Likewise.
61020         (special_fill_minus_pi_6): Likewise.
61021         (special_fill_pi_3): Likewise.
61022         (special_fill_2pi_3): Likewise.
61023         (special_fill_e): Likewise.
61024         (special_fill_1_e): Likewise.
61025         (special_fill_e_minus_1): Likewise.
61026         (special_real_inputs): Add more special inputs.
61027         (output_for_one_input_case): Do not require ERANGE on underflow to
61028         zero if round-to-nearest result does not underflow to zero, unless
61029         exact results required.
61030         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
61031         atan, atanh, cbrt, cos and cosh.
61032         * math/auto-libm-test-out: Regenerated.
61033         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
61034         (acos_tonearest_test_data): Likewise.
61035         (acos_towardzero_test_data): Likewise.
61036         (acos_downward_test_data): Likewise.
61037         (acos_upward_test_data): Likewise.
61038         (acosh_test_data): Likewise.
61039         (asin_test_data): Likewise.
61040         (asin_tonearest_test_data): Likewise.
61041         (asin_towardzero_test_data): Likewise.
61042         (asin_upward_test_data): Likewise.
61043         (asinh_test_data): Likewise.
61044         (atan_test_data): Likewise.
61045         (atanh_test_data): Likewise.
61046         (cbrt_test_data): Likewise.
61047         (cos_test_data): Likewise.
61048         (cos_tonearest_test_data): Likewise.
61049         (cos_towardzero_test_data): Likewise.
61050         (cos_downward_test_data): Likewise.
61051         (cos_upward_test_data): Likewise.
61052         (cosh_test_data): Likewise.
61053         (cosh_tonearest_test_data): Likewise.
61054         (cosh_towardzero_test_data): Likewise.
61055         (cosh_downward_test_data): Likewise.
61056         (cosh_upward_test_data): Likewise.
61057         * sysdeps/i386/fpu/libm-test-ulps: Update.
61058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61060 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
61062         [BZ #6787]
61063         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
61064         * math/w_exp10f.c (__exp10f): Likewise.
61065         * math/w_exp10l.c (__exp10l): Likewise.
61066         * math/libm-test.inc (exp10_test_data): Add more tests and expect
61067         errno settings in existing tests.
61069         [BZ #14032]
61070         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
61071         precision control set to double precision.
61072         * sysdeps/i386/fpu/w_sqrt.c: New file.
61073         * math/auto-libm-test-in: Add more tests.
61074         * math/auto-libm-test-out: Update.
61076         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
61077         (sqrt_test_tonearest): New function.
61078         (sqrt_towardzero_test_data): New variable.
61079         (sqrt_test_towardzero): New function.
61080         (sqrt_downward_test_data): New variable.
61081         (sqrt_test_downward): New function.
61082         (sqrt_upward_test_data): New variable.
61083         (sqrt_test_upward): New function.
61084         (main): Call the new functions.
61086         * math/gen-auto-libm-tests.c: New file.
61087         * math/auto-libm-test-in: Likewise.
61088         * math/auto-libm-test-out: New generated file.
61089         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
61090         variables.
61091         (%beautify): Add generated representations of zero.
61092         (top level): Set $auto_input and call parse_auto_input.
61093         (beautify): Remove trailing "f" from hex float constants.
61094         (parse_args): Handle XFAIL_TEST.
61095         (convert_condition): New function.
61096         (or_value): Likewise.
61097         (or_cond_value): Likewise.
61098         (generate_testfile): Handle AUTO_TESTS_* lines.
61099         (parse_auto_input): New function.
61100         * math/libm-test.inc (XFAIL_TEST): New macro.
61101         (ERRNO_UNCHANGED): Update value.
61102         (ERRNO_EDOM): Likewise.
61103         (ERRNO_ERANGE): Likewise.
61104         (IGNORE_RESULT): Likewise.
61105         (TEST_COND_flt_32): New macro.
61106         (TEST_COND_dbl_64): Likewise.
61107         (TEST_COND_ldbl_96_intel): Likewise.
61108         (TEST_COND_ldbl_96_m68k): Likewise.
61109         (TEST_COND_ldbl_128): Likewise.
61110         (TEST_COND_ldbl_128ibm): Likewise.
61111         (TEST_COND_long32): Likewise.
61112         (TEST_COND_long64): Likewise.
61113         (TEST_COND_before_rounding): Likewise.
61114         (TEST_COND_after_rounding): Likewise.
61115         (enable_test): Handle XFAIL_TEST flag.
61116         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
61117         with finite results.
61118         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
61119         auto-libm-test-out.
61121 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61122             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61124         [BZ #16214]
61125         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
61126         __tls_get_addr_internal instead of __tls_get_offset in order to
61127         avoid GOT pointer dependency.  Make rtld export
61128         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
61129         __tls_get_addr since we are a __tls_get_offset platform.
61130         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
61131         GOT pointer being set up before.
61132         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
61134 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
61136         * manual/math.texi (Errors in Math Functions): Document accuracy
61137         goals.
61139         [BZ #15004]
61140         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
61141         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
61142         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61143         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61144         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61145         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61146         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61147         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61150         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61153         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61157         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
61158         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
61159         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61160         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61161         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61162         Likewise.
61163         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61164         Likewise.
61165         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61166         Likewise.
61167         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61168         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61169         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61170         atomic-feupdateenv and flt-rounds.
61171         * sysdeps/powerpc/nofpu/Versions (libc): Add
61172         __atomic_feholdexcept, __atomic_feclearexcept,
61173         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61174         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61175         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61176         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61177         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61178         here.
61179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61180         Update.
61182         * manual/arith.texi (FP Exceptions): Document that exceptions may
61183         not be raised when matherr is used.
61184         (Math Error Reporting): Document overflow in directed rounding
61185         modes.  Document that errno may not be set when finite values are
61186         returned on overflow.  Document intent to set errno on underflow
61187         only for underflow to zero.
61189         [BZ #16271]
61190         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61191         round-to-nearest then adjust result for other rounding modes.
61192         * include/fenv.h (fegetround): Use libm_hidden_proto.
61193         * math/fegetround.c (fegetround): Use libm_hidden_def.
61194         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61195         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61196         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61197         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61198         Likewise.
61199         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61200         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61201         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61202         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61204 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61206         [BZ #16077]
61207         * nss/Versions (libnss_files): Add
61208         _nss_files_gethostbyname3_r.
61209         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61210         New function.
61211         (HOST_DB_LOOKUP): Remove macro.
61212         (_nss_files_gethostbyname_r): Implement function without the
61213         HOST_DB_LOOKUP macro.
61214         (_nss_files_gethostbyname2_r): Likewise.
61216 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
61218         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61220 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
61222         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61223         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61224         warning.
61226 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61228         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61229         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61230         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61231         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61232         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61233         __fe_nomask_env_priv and attribute_hidden.
61234         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61235         (libc_feupdateenv_test_ppc): Likewise.
61236         (libc_feresetround_ppc): Likewise.
61237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61238         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61239         compat_symbol macro.
61240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61241         (__fe_nomask_env): Likewise.
61242         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61244 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61246         * string/Makefile: Remove ifunc tests.
61247         * string/test-string.h: Define TEST_IFUNC.
61248         * string/test-bcopy-ifunc.c: Remove.
61249         * string/test-bzero-ifunc.c: Likewise.
61250         * string/test-memccpy-ifunc.c: Likewise.
61251         * string/test-memchr-ifunc.c: Likewise.
61252         * string/test-memcmp-ifunc.c: Likewise.
61253         * string/test-memcpy-ifunc.c: Likewise.
61254         * string/test-memmem-ifunc.c: Likewise.
61255         * string/test-memmove-ifunc.c: Likewise.
61256         * string/test-mempcpy-ifunc.c: Likewise.
61257         * string/test-memrchr-ifunc.c: Likewise.
61258         * string/test-memset-ifunc.c: Likewise.
61259         * string/test-rawmemchr-ifunc.c: Likewise.
61260         * string/test-stpcpy-ifunc.c: Likewise.
61261         * string/test-stpncpy-ifunc.c: Likewise.
61262         * string/test-strcasecmp-ifunc.c: Likewise.
61263         * string/test-strcasestr-ifunc.c: Likewise.
61264         * string/test-strcat-ifunc.c: Likewise.
61265         * string/test-strchr-ifunc.c: Likewise.
61266         * string/test-strchrnul-ifunc.c: Likewise.
61267         * string/test-strcmp-ifunc.c: Likewise.
61268         * string/test-strcpy-ifunc.c: Likewise.
61269         * string/test-strcspn-ifunc.c: Likewise.
61270         * string/test-strlen-ifunc.c: Likewise.
61271         * string/test-strncasecmp-ifunc.c: Likewise.
61272         * string/test-strncat-ifunc.c: Likewise.
61273         * string/test-strncmp-ifunc.c: Likewise.
61274         * string/test-strncpy-ifunc.c: Likewise.
61275         * string/test-strnlen-ifunc.c: Likewise.
61276         * string/test-strpbrk-ifunc.c: Likewise.
61277         * string/test-strrchr-ifunc.c: Likewise.
61278         * string/test-strspn-ifunc.c: Likewise.
61279         * string/test-strstr-ifunc.c: Likewise.
61281 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61283         * benchtests/Makefile: Remove ifunc tests.
61284         * benchtests/bench-string.h: Define TEST_IFUNC.
61285         * benchtests/bench-bcopy-ifunc.c: Remove.
61286         * benchtests/bench-bzero-ifunc.c: Likewise.
61287         * benchtests/bench-memccpy-ifunc.c: Likewise.
61288         * benchtests/bench-memchr-ifunc.c: Likewise.
61289         * benchtests/bench-memcmp-ifunc.c: Likewise.
61290         * benchtests/bench-memcpy-ifunc.c: Likewise.
61291         * benchtests/bench-memmem-ifunc.c: Likewise.
61292         * benchtests/bench-memmove-ifunc.c: Likewise.
61293         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61294         * benchtests/bench-memrchr-ifunc.c: Likewise.
61295         * benchtests/bench-memset-ifunc.c: Likewise.
61296         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61297         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61298         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61299         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61300         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61301         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61302         * benchtests/bench-strcat-ifunc.c: Likewise.
61303         * benchtests/bench-strchr-ifunc.c: Likewise.
61304         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61305         * benchtests/bench-strcmp-ifunc.c: Likewise.
61306         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61307         * benchtests/bench-strcpy-ifunc.c: Likewise.
61308         * benchtests/bench-strcspn-ifunc.c: Likewise.
61309         * benchtests/bench-strlen-ifunc.c: Likewise.
61310         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61311         * benchtests/bench-strncat-ifunc.c: Likewise.
61312         * benchtests/bench-strncmp-ifunc.c: Likewise.
61313         * benchtests/bench-strncpy-ifunc.c: Likewise.
61314         * benchtests/bench-strnlen-ifunc.c: Likewise.
61315         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61316         * benchtests/bench-strrchr-ifunc.c: Likewise.
61317         * benchtests/bench-strsep-ifunc.c: Likewise.
61318         * benchtests/bench-strspn-ifunc.c: Likewise.
61319         * benchtests/bench-strstr-ifunc.c: Likewise.
61321 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61323         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61325 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61327         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61328         * rt/aio.h: Likewise.
61329         * sysdeps/gnu/bits/utmp.h: Likewise.
61330         * sysdeps/gnu/bits/utmpx.h: Likewise.
61331         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61332         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61333         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61334         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61335         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61336         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61337         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61338         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61339         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61340         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61341         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61342         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61343         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61345         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61346         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61347         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61348         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61349         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61350         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61351         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61352         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61353         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61354         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61355         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61356         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61357         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61358         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61359         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61360         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61361         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61362         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61363         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61364         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61365         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61366         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61367         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61368         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61369         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61370         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61371         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61372         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61374 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61376         [BZ #16245]
61377         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61378         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61380 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61382         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61383         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61384         Likewise.
61386 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61388         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61389         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61390         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61391         (__fesetround): Remove define.
61392         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61393         rounding and exceptions handling.
61394         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61395         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61396         (__fe_nomask_env): Likewise.
61397         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61398         __fegetround instead of fegetround.
61399         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61400         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61402 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61404         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61405         it's there.
61407         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61409 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61411         [BZ #11157]
61412         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61413         (encrypt_r): Likewise.
61414         * malloc/obstack.h (obstack_free): Likewise.
61415         * posix/unistd.h (encrypt): Likewise.
61417 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61419         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61420         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61421         DL_CALL_DT_FINI() that call the functions directly.
61422         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61423         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61424         * elf/dl-fini.c: Likewise.
61426 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
61428         * malloc/hooks.c (memalign_check): Add alignment rounding.
61429         * malloc/malloc.c (_mid_memalign): New function.
61430         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61431         Implement by calling _mid_memalign.
61432         * manual/probes.texi (Memory Allocation Probes): Remove
61433         memory_valloc_retry and memory_pvalloc_retry.
61435 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61437         * locale/programs/locarchive.c (open_archive): Add const
61438         qualifier to ARCHIVEFNAME and copy default fname to
61439         DEFAULT_FNAME.
61441         [BZ #15601]
61442         * libio/tst-widetext.input: Rename Oriya to Odia.
61443         * locale/iso-639.def: Likewise.
61445         * manual/probes.texi (Mathematical Function Probes): Add
61446         documentation for sin, cos, asin and acos probes.
61447         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61448         (__sin32): Add slowasin probe.
61449         (__cos32): Add slowacos probe.
61450         (__mpsin): Add slowsin probe.
61451         (__mpcos): Add slowcos probe.
61453 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61455         [BZ #15483]
61456         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61457         thread-local __sim_exceptions_thread and global
61458         __sim_exceptions_global.
61459         (__sim_disabled_exceptions): Change to thread-local
61460         __sim_disabled_exceptions_thread and global
61461         __sim_disabled_exceptions_global.
61462         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61463         and global __sim_round_mode_global.
61464         (__simulate_exceptions): Use thread-local floating-point state and
61465         set global state from it as needed.
61466         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61467         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61468         __sim_round_mode_thread.
61469         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61470         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61471         and global __sim_exceptions_global.
61472         (__sim_disabled_exceptions): Change to thread-local
61473         __sim_disabled_exceptions_thread and global
61474         __sim_disabled_exceptions_global.
61475         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61476         and global __sim_round_mode_global.
61477         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61478         (SIM_SET_GLOBAL): Likewise.
61479         * sysdeps/powerpc/soft-fp/sfp-machine.h
61480         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61481         __sim_round_mode_thread.
61482         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61483         __sim_disabled_exceptions_thread.
61484         (__sim_exceptions): Change to __sim_exceptions_thread.
61485         (__sim_disabled_exceptions): Change to
61486         __sim_disabled_exceptions_thread.
61487         (__sim_round_mode): Change to __sim_round_mode_thread.
61488         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61489         thread-local floating-point state and set global state from it as
61490         needed.
61491         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61492         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61493         (__sim_disabled_exceptions): Remove extern declaration.
61494         (feenableexcept): Use thread-local floating-point state and set
61495         global state from it as needed.
61496         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61497         extern declaration.
61498         (__sim_disabled_exceptions): Likewise.
61499         (__sim_round_mode): Likewise.
61500         (__fegetenv): Use thread-local floating-point state.
61501         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61502         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61503         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61504         floating-point state and set global state from it as needed.
61505         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61506         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61507         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61508         Likewise.
61509         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61510         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61511         Likewise.
61512         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61513         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61514         Use __sim_round_mode_thread.
61515         * math/test-fenv-tls.c: New file.
61516         * math/Makefile (tests): Add test-fenv-tls.
61517         ($(objpfx)test-fenv-tls): Depend on
61518         $(common-objpfx)nptl/libpthread.so.
61520 2013-11-19  Andreas Schwab  <schwab@suse.de>
61522         * locale/programs/locale.c (show_info): Decode wordarray elements.
61523         * locale/categories.def (LC_MONETARY): Add element for
61524         _NL_MONETARY_CRNCYSTR.
61525         * locale/C-monetary.c (conversion_rate): New variable.
61526         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61527         element.
61529 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61531         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61532         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61534 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61536         * elf/Makefile (tst-auxv): New test.
61537         * elf/tst-auxv.c: New
61538         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61540 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61542         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61543         (hidden_proto): Caller changed.
61544         (hidden_tls_proto): New macro.
61545         (libc_hidden_tls_proto): Likewise.
61546         (rtld_hidden_tls_proto): Likewise.
61547         (libm_hidden_tls_proto): Likewise.
61548         (libresolv_hidden_tls_proto): Likewise.
61549         (librt_hidden_tls_proto): Likewise.
61550         (libdl_hidden_tls_proto): Likewise.
61551         (libnss_files_hidden_tls_proto): Likewise.
61552         (libnsl_hidden_tls_proto): Likewise.
61553         (libnss_nisplus_hidden_tls_proto): Likewise.
61554         (libutil_hidden_tls_proto): Likewise.
61556 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
61558         [BZ #10253]
61559         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61560         (decompose_rpath): Defer expansion to fillin_rpath.
61561         (_dl_init_paths): Pass linkmap to fillin_rpath.
61563 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61565         * benchtests/Makefile: Add strsep.
61566         * benchtests/bench-strsep.c: New file: strsep benchtest.
61567         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61569 2013-11-18  Andreas Schwab  <schwab@suse.de>
61571         * locale/programs/locale.c (show_info) [case byte]: Check for
61572         '\377' instead of '\177'.
61573         * locale/C-monetary.c (not_available): Always use "\377".
61574         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61575         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61576         detect unavailable sign_posn locale elements.
61577         * locale/localeconv.c (__localeconv): For grouping and
61578         mon_grouping handle "\177" and "\377" like no grouping.
61579         (INT_ELEM): New macro.  Use it to set all numeric members.
61580         * locale/programs/ld-monetary.c (monetary_read)
61581         <tok_mon_grouping>: Normalize single -1 to the empty string.
61582         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61583         Likewise.
61585 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61587         [BZ #16055]
61588         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61589         when we match (nil).
61590         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61592 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61594         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61595         (NO_TEST_INLINE): Update value.
61596         (ERRNO_UNCHANGED): Likewise.
61597         (ERRNO_EDOM): Likewise.
61598         (ERRNO_ERANGE): Likewise.
61599         (IGNORE_RESULT): Likewise.
61600         (check_float_internal): Check signs of NaN results if
61601         TEST_NAN_SIGN used.
61602         (check_complex): Pass TEST_NAN_SIGN flag through to second
61603         check_float_internal call.
61604         (copysign_test_data): Add tests with quiet NaNs as second
61605         argument.  Use TEST_NAN_SIGN.
61606         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61607         TEST_NAN_SIGN.
61608         (signbit_test_data): Add tests of quiet NaN argument.
61609         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61611         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61612         $ignore_result.
61613         (parse_args): Handle function results specified as IGNORE.
61614         * math/libm-test.inc (IGNORE_RESULT): New macro.
61615         (check_float_internal): Do not check numerical result if flag
61616         IGNORE_RESULT set.
61617         (check_complex): Pass through IGNORE_RESULT to second
61618         check_float_internal call.
61619         (check_int): Do not check numerical result if flag IGNORE_RESULT
61620         set.
61621         (check_long): Likewise.
61622         (check_bool): Likewise.
61623         (check_longlong): Likewise.
61624         (lrint_test_data): Add tests of infinite and NaN arguments.
61625         (lrint_tonearest_test_data): Likewise.
61626         (lrint_towardzero_test_data): Likewise.
61627         (lrint_downward_test_data): Likewise.
61628         (lrint_upward_test_data): Likewise.
61629         (llrint_test_data): Likewise.
61630         (llrint_tonearest_test_data): Likewise.
61631         (llrint_towardzero_test_data): Likewise.
61632         (llrint_downward_test_data): Likewise.
61633         (llrint_upward_test_data): Likewise.
61634         (lround_test_data): Likewise.
61635         (llround_test_data): Likewise.
61637         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61638         (ERRNO_UNCHANGED): Update value.
61639         (ERRNO_EDOM): Likewise.
61640         (ERRNO_ERANGE): Likewise.
61641         (NO_TEST_INLINE_FLOAT): New macro.
61642         (NO_TEST_INLINE_DOUBLE): Likewise.
61643         (enable_test): New function.
61644         (RUN_TEST_f_f): Check enable_test before running test.
61645         (RUN_TEST_2_f): Likewise.
61646         (RUN_TEST_fff_f): Likewise.
61647         (RUN_TEST_c_f): Likewise.
61648         (RUN_TEST_f_f1): Likewise.
61649         (RUN_TEST_fF_f1): Likewise.
61650         (RUN_TEST_fI_f1): Likewise.
61651         (RUN_TEST_ffI_f1): Likewise.
61652         (RUN_TEST_c_c): Likewise.
61653         (RUN_TEST_cc_c): Likewise.
61654         (RUN_TEST_f_i): Likewise.
61655         (RUN_TEST_f_i_tg): Likewise.
61656         (RUN_TEST_ff_i_tg): Likewise.
61657         (RUN_TEST_f_b): Likewise.
61658         (RUN_TEST_f_b_tg): Likewise.
61659         (RUN_TEST_f_l): Likewise.
61660         (RUN_TEST_f_L): Likewise.
61661         (RUN_TEST_fFF_11): Likewise.
61662         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61663         conditionals.
61664         (cosh_test_data): Likewise.
61665         (exp_test_data): Likewise.
61666         (expm1_test_data): Likewise.
61667         (hypot_test_data): Likewise.
61668         (pow_test_data): Likewise.
61669         (sinh_test_data): Likewise.
61670         (tanh_test_data): Likewise.
61671         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61672         flags argument.
61674         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61675         tests with quiet NaN input and output.
61676         (acosh_test_data): Likewise.
61677         (asin_test_data): Likewise.
61678         (asinh_test_data): Likewise.
61679         (atan_test_data): Likewise.
61680         (atanh_test_data): Likewise.
61681         (atan2_test_data): Likewise.
61682         (cbrt_test_data): Likewise.
61683         (cos_test_data): Likewise.
61684         (cosh_test_data): Likewise.
61685         (erf_test_data): Likewise.
61686         (erfc_test_data): Likewise.
61687         (exp_test_data): Likewise.
61688         (exp10_test_data): Likewise.
61689         (exp2_test_data): Likewise.
61690         (expm1_test_data): Likewise.
61691         (hypot_test_data): Likewise.
61692         (j0_test_data): Likewise.
61693         (j1_test_data): Likewise.
61694         (jn_test_data): Likewise.
61695         (lgamma_test_data): Likewise.
61696         (log_test_data): Likewise.
61697         (log10_test_data): Likewise.
61698         (log1p_test_data): Likewise.
61699         (log2_test_data): Likewise.
61700         (pow_test_data): Likewise.
61701         (scalb_test_data): Likewise.
61702         (sin_test_data): Likewise.
61703         (sincos_test_data): Likewise.
61704         (sinh_test_data): Likewise.
61705         (tan_test_data): Likewise.
61706         (tanh_test_data): Likewise.
61707         (tgamma_test_data): Likewise.
61708         (y0_test_data): Likewise.
61709         (y1_test_data): Likewise.
61710         (yn_test_data): Likewise.
61712         [BZ #16167]
61713         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61714         argument being NaN and avoid computations with second argument in
61715         that case.
61716         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61717         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61718         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61720 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61722         * locale/iso-639.def: Add Chitwani Tharu (the).
61724 2013-11-14  Andreas Schwab  <schwab@suse.de>
61726         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61727         word instead of empty string.
61729 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61732         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61734         (__fe_nomask_env): Likewise.
61736 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61738         * benchtests/bench-timing.h: Include time.h.
61740 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61742         [BZ #15997]
61743         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61744         to 3.4.0 for x32.
61745         * sysdeps/unix/sysv/linux/configure: Regenerated.
61747 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61749         [BZ #16151]
61750         * stdlib/strtod_l.c (round_and_return): Do not consider
61751         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61752         exponent one less than half the least subnormal exponent.
61753         * stdlib/test-strtod-round-data: Add more tests.
61754         * stdlib/tst-strtod-round.c (tests): Regenerated.
61756 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61758         [BZ #14143]
61759         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61760         (__fe_mask_env): Likewise.
61761         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61762         libm_hidden_proto and add function prototype.
61763         (__fe_mask_env): Add function prototype.
61764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61765         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61767         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61769         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61771 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61773         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61774         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61776 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61778         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61779         of htab_find_slot().
61781 2013-11-11  David S. Miller  <davem@davemloft.net>
61783         [BZ #16150]
61784         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61785         symbol in the non-vis3 case in static builds.
61786         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61787         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61788         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61789         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61791 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61793         [BZ #387]
61794         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61795         it is empty.
61797 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61799         * benchtests/Makefile: Add bench-strtod.
61800         * benchtests/bench-strtod.c: New file: strtod benchtest
61802 2013-11-11  Andreas Schwab  <schwab@suse.de>
61804         [BZ #16153]
61805         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61806         terminating NUL in key length.
61808 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61810         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61811         Add artificial ODP entry for vDSO symbol for PPC64.
61812         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61813         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61815 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61817         [BZ #15374]
61818         * nss/getent.c (services_keys): Recognize services starting with digit.
61820 2013-11-06  David S. Miller  <davem@davemloft.net>
61822         [BZ #15985]
61823         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61824         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61826 2013-11-06  Will Newton  <will.newton@linaro.org>
61828         * manual/memory.texi (Malloc Examples): Remove register
61829         keyword from examples.
61831 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61833         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61835 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61837         [BZ #6981]
61838         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61839         depending on [__GCC_IEC_559 > 0].
61840         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61841         depending on [__GCC_IEC_559_COMPLEX > 0].
61843 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61845         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61846         to iso-639.def.
61848 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
61850         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61852 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
61854         [BZ #16112]
61855         * malloc/malloc (malloc_info): Do not handle first bin as
61856         special case.
61858 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61860         * locale/iso-639.def: Add Central Nahuatl (nhn).
61862 2013-11-01  Bruno Haible  <bruno@clisp.org>
61864         [BZ #7003]
61865         * manual/math.texi (BSD Random): Specify range upper bound as
61866         in POSIX.
61868 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61870         * locale/iso-639.def: Add Meadow Mari (mhr).
61872 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
61874         [BZ #14752], [BZ #15763]
61875         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61876         Validate name.
61877         * rt/tst_shm.c: Add test for escaping directory.
61879 2013-10-31  Andreas Schwab  <schwab@suse.de>
61881         [BZ #15917]
61882         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61883         followed by 'x' as part of digit sequence.
61884         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61886 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61888         [BZ #16037]
61889         * configure.ac: allow GNU Make 4.0 and greater.
61890         * configure: Regenerated.
61892 2013-10-30  Will Newton  <will.newton@linaro.org>
61894         [BZ #16038]
61895         * malloc/hooks.c (memalign_check): Limit alignment to the
61896         maximum representable power of two.
61897         * malloc/malloc.c (__libc_memalign): Likewise.
61898         * malloc/tst-memalign.c (do_test): Add test for very
61899         large alignment values.
61900         * malloc/tst-posix_memalign.c (do_test): Likewise.
61902 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61904         [BZ #11087]
61905         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61906         (munmap_chunk): Likewise.
61907         (mremap_chunk): Likewise.
61909 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61911         [BZ #15799]
61912         * stdlib/div.c (div): Remove obsolete code.
61913         * stdlib/ldiv.c (ldiv): Likewise.
61914         * stdlib/lldiv.c (lldiv): Likewise.
61916 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61918         [BZ #16071]
61919         * nss/nss_files/files-XXX.c (get_contents_ret): New
61920         enumerator.
61921         (get_contents): New function.
61922         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61924 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61926         * configure.in: Moved to ...
61927         * configure.ac: ... here. Change reference to configure.in
61928         to configure.ac.
61929         * sysdeps/arm/preconfigure.ac: ... here.
61930         configure.in to configure.ac.
61931         * sysdeps/gnu/configure.in: Moved to ...
61932         * sysdeps/gnu/configure.ac: ... here.
61933         * sysdeps/i386/configure.in: Moved to ...
61934         * sysdeps/i386/configure.ac: ... here.
61935         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61936         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61937         * sysdeps/mach/configure.in: Moved to ...
61938         * sysdeps/mach/configure.ac: ... here.
61939         * sysdeps/mach/hurd/configure.in: Moved to ...
61940         * sysdeps/mach/hurd/configure.ac: ... here.
61941         * sysdeps/powerpc/configure.in: Moved to ...
61942         * sysdeps/powerpc/configure.ac: ... here.
61943         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61944         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61945         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61946         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61947         * sysdeps/s390/s390-32/configure.in: Moved to ...
61948         * sysdeps/s390/s390-32/configure.ac: ... here.
61949         * sysdeps/s390/s390-64/configure.in: Moved to ...
61950         * sysdeps/s390/s390-64/configure.ac: ... here.
61951         * sysdeps/sh/configure.in: Moved to ...
61952         * sysdeps/sh/configure.ac: ... here.
61953         * sysdeps/sparc/configure.in: Moved to ...
61954         * sysdeps/sparc/configure.ac: ... here.
61955         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61956         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61957         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61958         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61959         * sysdeps/x86_64/configure.in: Moved to ...
61960         * sysdeps/x86_64/configure.ac: ... here.
61961         * sysdeps/x86_64/preconfigure.in: Moved to ...
61962         * sysdeps/x86_64/preconfigure.ac: ... here.
61963         * aclocal.m4: Change reference to configure.in to configure.ac.
61964         * config.h.in: Likewise.
61965         * manual/install.texi: Likewise.
61966         * manual/maint.texi: Likewise.
61967         * Makefile: Likewise.
61968         * malloc/Makefile: Likewise.
61969         * nscd/Makefile: Likewise.
61970         * Makeconfig: Change reference to configure.in and
61971         preconfigure.in to configure.ac and preconfigure.ac
61972         respectively.
61973         * INSTALL: Regenerated.
61974         * configure: Likewise.
61975         * sysdeps/gnu/configure: Likewise.
61976         * sysdeps/i386/configure: Likewise.
61977         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61978         * sysdeps/mach/configure: Likewise.
61979         * sysdeps/mach/hurd/configure: Likewise.
61980         * sysdeps/powerpc/configure: Likewise.
61981         * sysdeps/powerpc/powerpc32/configure: Likewise.
61982         * sysdeps/powerpc/powerpc64/configure: Likewise.
61983         * sysdeps/s390/s390-32/configure: Likewise.
61984         * sysdeps/s390/s390-64/configure: Likewise.
61985         * sysdeps/sh/configure: Likewise.
61986         * sysdeps/sparc/configure: Likewise.
61987         * sysdeps/unix/sysv/linux/configure: Likewise.
61988         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61989         * sysdeps/x86_64/configure: Likewise.
61990         * sysdeps/x86_64/preconfigure: Likewise.
61992 2013-10-29  Andreas Schwab  <schwab@suse.de>
61994         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61996 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61998         * benchtests/pow-inputs: Add new inputs.
62000         * benchtests/exp-inputs: Add new inputs.
62002         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
62003         conditional check for return value.
62004         (__cos32): Likewise.
62006 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62008         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
62009         to provide a boost for large inputs with word alignment.
62010         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
62011         implementation based on optimized PPC64 strcpy.
62012         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
62013         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
62014         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
62015         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
62017 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
62019         [BZ #2801]
62020         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
62022 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
62024         [BZ #14876]
62025         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
62026         * time/tst-strptime.c (day_tests): Add testcase.
62028 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
62030         [BZ #14029]
62031         * manual/pattern.texi: Acknowledge that fnmatch can fail.
62033 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
62035         [BZ #16074]
62036         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
62037         MAP_FAILED on error.
62039 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62041         [BZ #16072]
62042         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
62043         heap for large requests.
62045 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
62047         [BZ #9954]
62048         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
62049         result if the result has no associated interface.
62050         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
62051         interface for all 127.X.Y.Z addresses.
62053 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
62055         * locale/iso-639.def: Add Ligurian (lij)
62057 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
62059         [BZ #15825]
62060         * sunrpc/rpc_main.c: Document rpcgen -5.
62062 2013-10-19  Michael Stahl  <mstahl@redhat.com>
62064         * elf/rtld.c (do_preload): Print the reason why preloading failed.
62066 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
62068         [BZ #10278]
62069         * posix/glob.c: Match only directories when trailing slash is present.
62070         * posix/tst-gnuglob.c (my_opendir): Do not open files.
62071         (main): Add testcase.
62073 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
62075         [BZ #15670]
62076         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
62078 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
62080         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
62081         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
62082         AUTH_DES and cindex for FIPS 140-2.
62083         (DES Encryption): Add cindex FIPS 46-3.
62085         * locale/locarchive.h (struct locarhandle): Add fname.
62086         * locale/programs/localedef.c (main): Pass ARGV[remaining]
62087         if an optional argument was specified to --list-archive,
62088         otherwise NULL.
62089         * locale/programs/locarchive.c (show_archive_content): Take new
62090         argument fname and pass it via ah.fname to open_archive.
62091         * locale/programs/localedef.h: Update decl.
62092         (open_archive): If AH->fname is non-null, open that file
62093         rather than the default file name, and don't ignore ENOENT.
62094         (create_archive): Set AH.fname to NULL.
62095         (delete_locales_from_archive): Likewise.
62096         (add_locales_to_archive): Likewise.
62097         * locale/programs/locfile.c (write_all_categories): Likewise.
62099 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
62100             Aldy Hernandez  <aldyh@redhat.com>
62102         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
62103         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
62104         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
62105         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
62106         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
62107         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
62108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
62109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
62110         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
62111         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
62112         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
62113         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62114         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
62115         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
62116         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62117         Likewise.
62118         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
62119         Likewise.
62120         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
62121         Likewise.
62122         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
62123         Likewise.
62124         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
62125         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
62126         Likewise.
62127         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
62128         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
62129         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
62130         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
62131         Likewise.
62132         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
62133         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62134         * sysdeps/powerpc/preconfigure: Likewise.
62135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
62136         Likewise.
62137         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
62138         Replace contents of file by #include of <fenv_libc.h>.
62139         * sysdeps/powerpc/soft-fp/sfp-machine.h
62140         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
62141         and <sys/prctl.h>.
62142         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
62143         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
62145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
62146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
62147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
62148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
62149         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
62150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
62151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
62152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
62153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
62154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
62155         Allow copysignl PLT reference to be missing.
62157 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
62158             Joseph Myers  <joseph@codesourcery.com>
62160         [BZ #15948]
62161         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62162         single character.
62163         (add_to_tablewc): Assert sequence of wide characters is nonempty.
62165 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62167         * elf/tst-tls-dlinfo.c: Don't include tls.h.
62168         * elf/tst-tls1.c: Likewise.
62169         * elf/tst-tls10.h: Likewise.
62170         * elf/tst-tls14.c: Likewise.
62171         * elf/tst-tls2.c: Likewise.
62172         * elf/tst-tls3.c: Likewise.
62173         * elf/tst-tls4.c: Likewise.
62174         * elf/tst-tls5.c: Likewise.
62175         * elf/tst-tls6.c: Likewise.
62176         * elf/tst-tls7.c: Likewise.
62177         * elf/tst-tls8.c: Likewise.
62178         * elf/tst-tls9.c: Likewise.
62179         * elf/tst-tlsmod1.c: Likewise.
62180         * elf/tst-tlsmod13.c: Likewise.
62181         * elf/tst-tlsmod13a.c: Likewise.
62182         * elf/tst-tlsmod14a.c: Likewise.
62183         * elf/tst-tlsmod16a.c: Likewise.
62184         * elf/tst-tlsmod16b.c: Likewise.
62185         * elf/tst-tlsmod2.c: Likewise.
62186         * elf/tst-tlsmod3.c: Likewise.
62187         * elf/tst-tlsmod4.c: Likewise.
62188         * elf/tst-tlsmod5.c: Likewise.
62189         * elf/tst-tlsmod6.c: Likewise.
62191 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
62193         [BZ #12486]
62194         * malloc/malloc.c: remove checks for statistics.
62196 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
62198         [BZ #15277]
62199         * inet/inet_net.c (inet_network): Detect additional invalid strings.
62200         * inet/tst-network.c: Add testcase.
62202 2013-10-17  Andreas Schwab  <schwab@suse.de>
62204         [BZ #15218]
62205         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62206         to determine canonical name.
62208 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
62210         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62211         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62212         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62213         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62214         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62215         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62216         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62217         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62218         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62219         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62220         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62221         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62222         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62223         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62224         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62225         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62226         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62227         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62228         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62229         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62230         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62231         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62232         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62233         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62234         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62235         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62236         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62237         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62238         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62239         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62240         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62241         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62242         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62243         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62244         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62245         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62246         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62247         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62248         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62249         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62250         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62251         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62252         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62253         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62254         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62255         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62256         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62257         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62258         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62259         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62260         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62261         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62262         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62263         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62264         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62265         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62266         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62267         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62269 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62271         [BZ #16041]
62272         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62273         make result into a quiet NaN.
62275 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62277         * soft-fp/adddf3.c: Fix horizontal whitespace.
62278         * soft-fp/addsf3.c: Likewise.
62279         * soft-fp/addtf3.c: Likewise.
62280         * soft-fp/divdf3.c: Likewise.
62281         * soft-fp/divsf3.c: Likewise.
62282         * soft-fp/divtf3.c: Likewise.
62283         * soft-fp/double.h: Likewise.
62284         * soft-fp/eqdf2.c: Likewise.
62285         * soft-fp/eqsf2.c: Likewise.
62286         * soft-fp/eqtf2.c: Likewise.
62287         * soft-fp/extenddftf2.c: Likewise.
62288         * soft-fp/extended.h: Likewise.
62289         * soft-fp/extendsfdf2.c: Likewise.
62290         * soft-fp/extendsftf2.c: Likewise.
62291         * soft-fp/extendxftf2.c: Likewise.
62292         * soft-fp/fixdfdi.c: Likewise.
62293         * soft-fp/fixdfsi.c: Likewise.
62294         * soft-fp/fixdfti.c: Likewise.
62295         * soft-fp/fixsfdi.c: Likewise.
62296         * soft-fp/fixsfsi.c: Likewise.
62297         * soft-fp/fixsfti.c: Likewise.
62298         * soft-fp/fixtfdi.c: Likewise.
62299         * soft-fp/fixtfsi.c: Likewise.
62300         * soft-fp/fixtfti.c: Likewise.
62301         * soft-fp/fixunsdfdi.c: Likewise.
62302         * soft-fp/fixunsdfsi.c: Likewise.
62303         * soft-fp/fixunsdfti.c: Likewise.
62304         * soft-fp/fixunssfdi.c: Likewise.
62305         * soft-fp/fixunssfsi.c: Likewise.
62306         * soft-fp/fixunssfti.c: Likewise.
62307         * soft-fp/fixunstfdi.c: Likewise.
62308         * soft-fp/fixunstfsi.c: Likewise.
62309         * soft-fp/fixunstfti.c: Likewise.
62310         * soft-fp/floatdidf.c: Likewise.
62311         * soft-fp/floatdisf.c: Likewise.
62312         * soft-fp/floatditf.c: Likewise.
62313         * soft-fp/floatsidf.c: Likewise.
62314         * soft-fp/floatsisf.c: Likewise.
62315         * soft-fp/floatsitf.c: Likewise.
62316         * soft-fp/floattidf.c: Likewise.
62317         * soft-fp/floattisf.c: Likewise.
62318         * soft-fp/floattitf.c: Likewise.
62319         * soft-fp/floatundidf.c: Likewise.
62320         * soft-fp/floatundisf.c: Likewise.
62321         * soft-fp/floatunditf.c: Likewise.
62322         * soft-fp/floatunsidf.c: Likewise.
62323         * soft-fp/floatunsisf.c: Likewise.
62324         * soft-fp/floatunsitf.c: Likewise.
62325         * soft-fp/floatuntidf.c: Likewise.
62326         * soft-fp/floatuntisf.c: Likewise.
62327         * soft-fp/floatuntitf.c: Likewise.
62328         * soft-fp/fmadf4.c: Likewise.
62329         * soft-fp/fmasf4.c: Likewise.
62330         * soft-fp/fmatf4.c: Likewise.
62331         * soft-fp/gedf2.c: Likewise.
62332         * soft-fp/gesf2.c: Likewise.
62333         * soft-fp/getf2.c: Likewise.
62334         * soft-fp/ledf2.c: Likewise.
62335         * soft-fp/lesf2.c: Likewise.
62336         * soft-fp/letf2.c: Likewise.
62337         * soft-fp/muldf3.c: Likewise.
62338         * soft-fp/mulsf3.c: Likewise.
62339         * soft-fp/multf3.c: Likewise.
62340         * soft-fp/negdf2.c: Likewise.
62341         * soft-fp/negsf2.c: Likewise.
62342         * soft-fp/negtf2.c: Likewise.
62343         * soft-fp/op-1.h: Likewise.
62344         * soft-fp/op-2.h: Likewise.
62345         * soft-fp/op-4.h: Likewise.
62346         * soft-fp/op-8.h: Likewise.
62347         * soft-fp/op-common.h: Likewise.
62348         * soft-fp/quad.h: Likewise.
62349         * soft-fp/single.h: Likewise.
62350         * soft-fp/soft-fp.h: Likewise.
62351         * soft-fp/sqrtdf2.c: Likewise.
62352         * soft-fp/sqrtsf2.c: Likewise.
62353         * soft-fp/sqrttf2.c: Likewise.
62354         * soft-fp/subdf3.c: Likewise.
62355         * soft-fp/subsf3.c: Likewise.
62356         * soft-fp/subtf3.c: Likewise.
62357         * soft-fp/truncdfsf2.c: Likewise.
62358         * soft-fp/trunctfdf2.c: Likewise.
62359         * soft-fp/trunctfsf2.c: Likewise.
62360         * soft-fp/trunctfxf2.c: Likewise.
62361         * soft-fp/unorddf2.c: Likewise.
62362         * soft-fp/unordsf2.c: Likewise.
62363         * soft-fp/unordtf2.c: Likewise.
62365 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62367         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62368         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62370 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
62372         * elf/dl-libc.c: Clear initfini list after freeing.
62374 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62376         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62377         * soft-fp/addsf3.c: Likewise.
62378         * soft-fp/addtf3.c: Likewise.
62379         * soft-fp/divdf3.c: Likewise.
62380         * soft-fp/divsf3.c: Likewise.
62381         * soft-fp/divtf3.c: Likewise.
62382         * soft-fp/double.h: Likewise.
62383         * soft-fp/eqdf2.c: Likewise.
62384         * soft-fp/eqsf2.c: Likewise.
62385         * soft-fp/eqtf2.c: Likewise.
62386         * soft-fp/extenddftf2.c: Likewise.
62387         * soft-fp/extended.h: Likewise.
62388         * soft-fp/extendsfdf2.c: Likewise.
62389         * soft-fp/extendsftf2.c: Likewise.
62390         * soft-fp/extendxftf2.c: Likewise.
62391         * soft-fp/fixdfdi.c: Likewise.
62392         * soft-fp/fixdfsi.c: Likewise.
62393         * soft-fp/fixdfti.c: Likewise.
62394         * soft-fp/fixsfdi.c: Likewise.
62395         * soft-fp/fixsfsi.c: Likewise.
62396         * soft-fp/fixsfti.c: Likewise.
62397         * soft-fp/fixtfdi.c: Likewise.
62398         * soft-fp/fixtfsi.c: Likewise.
62399         * soft-fp/fixtfti.c: Likewise.
62400         * soft-fp/fixunsdfdi.c: Likewise.
62401         * soft-fp/fixunsdfsi.c: Likewise.
62402         * soft-fp/fixunsdfti.c: Likewise.
62403         * soft-fp/fixunssfdi.c: Likewise.
62404         * soft-fp/fixunssfsi.c: Likewise.
62405         * soft-fp/fixunssfti.c: Likewise.
62406         * soft-fp/fixunstfdi.c: Likewise.
62407         * soft-fp/fixunstfsi.c: Likewise.
62408         * soft-fp/fixunstfti.c: Likewise.
62409         * soft-fp/floatdidf.c: Likewise.
62410         * soft-fp/floatdisf.c: Likewise.
62411         * soft-fp/floatditf.c: Likewise.
62412         * soft-fp/floatsidf.c: Likewise.
62413         * soft-fp/floatsisf.c: Likewise.
62414         * soft-fp/floatsitf.c: Likewise.
62415         * soft-fp/floattidf.c: Likewise.
62416         * soft-fp/floattisf.c: Likewise.
62417         * soft-fp/floattitf.c: Likewise.
62418         * soft-fp/floatundidf.c: Likewise.
62419         * soft-fp/floatundisf.c: Likewise.
62420         * soft-fp/floatunsidf.c: Likewise.
62421         * soft-fp/floatunsisf.c: Likewise.
62422         * soft-fp/floatuntidf.c: Likewise.
62423         * soft-fp/floatuntisf.c: Likewise.
62424         * soft-fp/floatuntitf.c: Likewise.
62425         * soft-fp/fmadf4.c: Likewise.
62426         * soft-fp/fmasf4.c: Likewise.
62427         * soft-fp/fmatf4.c: Likewise.
62428         * soft-fp/gedf2.c: Likewise.
62429         * soft-fp/gesf2.c: Likewise.
62430         * soft-fp/getf2.c: Likewise.
62431         * soft-fp/ledf2.c: Likewise.
62432         * soft-fp/lesf2.c: Likewise.
62433         * soft-fp/letf2.c: Likewise.
62434         * soft-fp/muldf3.c: Likewise.
62435         * soft-fp/mulsf3.c: Likewise.
62436         * soft-fp/multf3.c: Likewise.
62437         * soft-fp/negdf2.c: Likewise.
62438         * soft-fp/negsf2.c: Likewise.
62439         * soft-fp/negtf2.c: Likewise.
62440         * soft-fp/op-1.h: Likewise.
62441         * soft-fp/op-2.h: Likewise.
62442         * soft-fp/op-4.h: Likewise.
62443         * soft-fp/op-8.h: Likewise.
62444         * soft-fp/op-common.h: Likewise.
62445         * soft-fp/quad.h: Likewise.
62446         * soft-fp/single.h: Likewise.
62447         * soft-fp/soft-fp.h: Likewise.
62448         * soft-fp/sqrtdf2.c: Likewise.
62449         * soft-fp/sqrtsf2.c: Likewise.
62450         * soft-fp/sqrttf2.c: Likewise.
62451         * soft-fp/subdf3.c: Likewise.
62452         * soft-fp/subsf3.c: Likewise.
62453         * soft-fp/subtf3.c: Likewise.
62454         * soft-fp/truncdfsf2.c: Likewise.
62455         * soft-fp/trunctfdf2.c: Likewise.
62456         * soft-fp/trunctfsf2.c: Likewise.
62457         * soft-fp/trunctfxf2.c: Likewise.
62458         * soft-fp/unorddf2.c: Likewise.
62459         * soft-fp/unordsf2.c: Likewise.
62460         * soft-fp/unordtf2.c: Likewise.
62462 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
62464         [BZ #15672]
62465         * misc/error.c (error_tail): Fix possible buffer overflow.
62467 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62469         [BZ #13028]
62470         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62471         address.
62473 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62475         [BZ #832]
62476         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62477         testing pipefail option.
62479 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62481         * soft-fp/double.h: Indent preprocessor directives inside #if.
62482         * soft-fp/extended.h: Likewise.
62483         * soft-fp/op-2.h: Likewise.
62484         * soft-fp/op-4.h: Likewise.
62485         * soft-fp/op-common.h: Likewise.
62486         * soft-fp/quad.h: Likewise.
62487         * soft-fp/single.h: Likewise.
62488         * soft-fp/soft-fp.h: Likewise.
62490 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62492         * iconv/iconv_prog.c: Fix typos.
62493         * stdio-common/psiginfo-data.h: Likewise.
62495 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62497         [BZ #15764]
62498         * locale/setlocale.c: Fix typo.
62500 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62502         [BZ #16036]
62503         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62504         signaling NaN arguments.
62505         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62506         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62508         [BZ #14910]
62509         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62510         unordered operands.
62511         * soft-fp/gesf2.c (__gesf2): Likewise.
62512         * soft-fp/getf2.c (__getf2): Likewise.
62513         * soft-fp/ledf2.c (__ledf2): Likewise.
62514         * soft-fp/lesf2.c (__lesf2): Likewise.
62515         * soft-fp/letf2.c (__letf2): Likewise.
62517         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62518         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62519         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62520         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62521         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62522         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62523         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62524         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62525         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62526         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62527         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62528         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62529         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62530         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62531         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62532         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62533         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62534         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62535         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62536         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62537         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62538         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62539         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62540         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62541         * soft-fp/floattidf.c (__floattidf): Likewise.
62542         * soft-fp/floattisf.c (__floattisf): Likewise.
62543         * soft-fp/floattitf.c (__floattitf): Likewise.
62544         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62545         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62546         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62547         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62548         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62549         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62550         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62551         * soft-fp/gesf2.c (__gesf2): Likewise.
62552         * soft-fp/getf2.c (__getf2): Likewise.
62553         * soft-fp/ledf2.c (__ledf2): Likewise.
62554         * soft-fp/lesf2.c (__lesf2): Likewise.
62555         * soft-fp/letf2.c (__letf2): Likewise.
62557         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62558         Undefine and redefine.
62559         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62560         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62561         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62562         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62563         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62564         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62565         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62566         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62567         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62568         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62569         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62570         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62571         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62572         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62573         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62575         [BZ #16032]
62576         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62577         without decrementing exponent if mantissa >= that for the
62578         denominator, not >.
62579         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62580         denominator, not >.  Decrement exponent in < case instead of
62581         incrementing in >= case.
62582         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62583         without decrementing exponent if mantissa >= that for the
62584         denominator, not >.
62586         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62587         computing saturated result for unsigned overflow.
62589 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62590             Jeff Law  <law@redhat.com>
62592         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62593         (atan2Mp): Add systemtap probe marker.
62594         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62595         (__ieee754_log): Add systemtap probe marker.
62596         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62597         (atanMp): Add systemtap probe marker.
62598         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62599         (tanMp): Add systemtap probe marker.
62600         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62601         (__slowexp): Add systemtap probe marker.
62602         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62603         (__slowpow): Add systemtap probe marker.
62604         * manual/probes.texi: Document probes.
62606 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62608         [BZ #15362]
62609         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62610         written.
62611         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62612         written.
62613         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62614         written to buffer but not flushed.
62615         * libio/iofwrite_u.c:  Likewise.
62616         * libio/iopadn.c:  Return bytes returned even if EOF was
62617         encountered.
62618         * libio/iowpadn.c:  Likewise.
62619         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62620         if _IO_padn does not write the whole buffer.
62621         [!COMPILE_WPRINTF] (PAD): Likewise.
62623 2013-10-10  David S. Miller  <davem@davemloft.net>
62625         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62626         directory block.
62628 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62630         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62631         instead of FSF address.
62632         * soft-fp/fixdfti.c: Likewise.
62633         * soft-fp/fixsfti.c: Likewise.
62634         * soft-fp/fixtfti.c: Likewise.
62635         * soft-fp/fixunsdfti.c: Likewise.
62636         * soft-fp/fixunssfti.c: Likewise.
62637         * soft-fp/fixunstfti.c: Likewise.
62638         * soft-fp/floattidf.c: Likewise.
62639         * soft-fp/floattisf.c: Likewise.
62640         * soft-fp/floattitf.c: Likewise.
62641         * soft-fp/floatuntidf.c: Likewise.
62642         * soft-fp/floatuntisf.c: Likewise.
62643         * soft-fp/floatuntitf.c: Likewise.
62644         * soft-fp/trunctfxf2.c: Likewise.
62646         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62647         * soft-fp/fixdfti.c: Likewise.
62648         * soft-fp/fixsfti.c: Likewise.
62649         * soft-fp/fixtfti.c: Likewise.
62650         * soft-fp/fixunsdfti.c: Likewise.
62651         * soft-fp/fixunssfti.c: Likewise.
62652         * soft-fp/fixunstfti.c: Likewise.
62653         * soft-fp/floattidf.c: Likewise.
62654         * soft-fp/floattisf.c: Likewise.
62655         * soft-fp/floattitf.c: Likewise.
62656         * soft-fp/floatuntidf.c: Likewise.
62657         * soft-fp/floatuntisf.c: Likewise.
62658         * soft-fp/floatuntitf.c: Likewise.
62659         * soft-fp/trunctfxf2.c: Likewise.
62661 2013-10-10  David S. Miller  <davem@davemloft.net>
62663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62665 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62667         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62668         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62669         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62670         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62671         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62672         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62673         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62675         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62676         for NaNs before doing comparisons on argument.
62677         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62678         Likewise.
62680 2013-10-10  Will Newton  <will.newton@linaro.org>
62682         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62683         passed to _int_memalign does not overflow.
62685 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62687         * scripts/bench.pl: Add include-sources directive.
62688         * benchtests/README: Update documentation.
62690 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62692         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62693         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62694         instead of FP_INIT_ROUNDMODE.
62695         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62696         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62698         [BZ #16034]
62699         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62700         copy class of input value.
62701         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62702         not handle exceptions.
62703         * soft-fp/negsf2.c (__negsf2): Likewise.
62704         * soft-fp/negtf2.c (__negtf2): Likewise.
62705         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62707 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62709         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62710         semicolon.  From Linux kernel.
62712 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62714         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62716 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62718         [BZ #156]
62719         * manual/socket.texi: Added statement about buffer
62720         for gethostbyname2_r.
62722 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
62724         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62725         Use .p2align directive instead, throughout.
62726         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62727         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62728         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62729         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62730         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62731         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62732         * sysdeps/x86_64/strchr.S: Likewise.
62733         * sysdeps/x86_64/strrchr.S: Likewise.
62735 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62737         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62739         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62741         * sysdeps/generic/math_private.h (__mpsin1): Remove
62742         declaration.
62743         (__mpcos1): Likewise.
62744         (__mpsin): New argument __range_reduce.
62745         (__mpcos): Likewise.
62746         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62747         (slow): Use __mpsin and __mpcos.
62748         (slow1): Likewise.
62749         (slow2): Likewise.
62750         (sloww): Likewise.
62751         (sloww1): Likewise.
62752         (sloww2): Likewise.
62753         (bsloww): Likewise.
62754         (bsloww1): Likewise.
62755         (bsloww2): Likewise.
62756         (cslow2): Likewise.
62757         (csloww): Likewise.
62758         (csloww1): Likewise.
62759         (csloww2): Likewise.
62760         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62761         range_reduce.  Merge in __mpsin1.
62762         (__mpcos): Likewise.
62763         (__mpsin1): Remove.
62764         (__mpcos1): Likewise.
62766 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62768         * locale/loadlocale.c (_nl_intern_locale_data): Use
62769         LOCFILE_ALIGNED_P.
62770         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62771         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62772         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62773         obstack data is appropriately aligned.
62774         (obstack_int32_grow_fast): Likewise.
62775         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62776         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62777         (add_locale_uint32_array): Likewise.
62779 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62781         * benchtests/Makefile: Remove ARGLIST and RET variables.
62782         ($(objpfx)bench-%.c): Pass only function name to the script.
62783         * benchtests/README: Update documentation.
62784         * benchtests/acos-inputs: Add new directives.
62785         * benchtests/acosh-inputs: Likewise.
62786         * benchtests/asin-inputs: Likewise.
62787         * benchtests/asinh-inputs: Likewise.
62788         * benchtests/atan-inputs: Likewise.
62789         * benchtests/atanh-inputs: Likewise.
62790         * benchtests/cos-inputs: Likewise.
62791         * benchtests/cosh-inputs: Likewise.
62792         * benchtests/exp-inputs: Likewise.
62793         * benchtests/log-inputs: Likewise.
62794         * benchtests/pow-inputs: Likewise.
62795         * benchtests/rint-inputs: Likewise.
62796         * benchtests/sin-inputs: Likewise.
62797         * benchtests/sinh-inputs: Likewise.
62798         * benchtests/tan-inputs: Likewise.
62799         * benchtests/tanh-inputs: Likewise.
62800         * scripts/bench.pl: Add support for new directives.
62802 2013-10-07  Alan Modra  <amodra@gmail.com>
62804         * README: Fix careless merge.
62806 2013-10-05  Alan Modra  <amodra@gmail.com>
62808         * NEWS: Mention powerpc64le support and bugs fixed.
62809         * README: Both big-endian and little-endian powerpc64 supported.
62811 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62813         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62814         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62815         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62816         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62818 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62820         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62821         match prototype.
62823 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62825         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62826         Move -mhard-float appending from
62827         ports/sysdeps/powerpc/powerpc32/Makefile.
62828         [$(with-fp) = yes] (ASFLAGS): Likewise.
62829         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62830         * sysdeps/powerpc/nofpu: Move directory from
62831         ports/sysdeps/powerpc/nofpu.
62832         * sysdeps/powerpc/soft-fp: Move directory from
62833         ports/sysdeps/powerpc/soft-fp.
62834         * sysdeps/powerpc/powerpc32/405: Move directory from
62835         ports/sysdeps/powerpc/powerpc32/405.
62836         * sysdeps/powerpc/powerpc32/440: Move directory from
62837         ports/sysdeps/powerpc/powerpc32/440.
62838         * sysdeps/powerpc/powerpc32/464: Move directory from
62839         ports/sysdeps/powerpc/powerpc32/464.
62840         * sysdeps/powerpc/powerpc32/476: Move directory from
62841         ports/sysdeps/powerpc/powerpc32/476.
62842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62843         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62845         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62847         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62849         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62851         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62852         * README: Update for powerpc-*-linux-gnu software floating point
62853         support in libc.
62855         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62856         case to powerpc/powerpc32*.
62857         * sysdeps/unix/sysv/linux/configure: Regenerated.
62859         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62860         (_FPU_MASK_OM): Define as 0x04.
62861         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62863         0x00c10080.
62864         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62865         0x0000003c.
62866         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62869         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62870         getcontext_e500.
62871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62872         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62873         setcontext_e500.
62874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62875         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62876         and setcontext_e500.
62878 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62880         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62882 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62884         * manual/threads.texi (Default Thread Attributes): Fix typo.
62886 2013-10-04  Will Newton  <will.newton@linaro.org>
62888         * malloc/Makefile: Add tst-memalign.
62889         * malloc/tst-memalign.c: New file.
62891         * malloc/tst-posix_memalign.c: Add comments.
62892         (do_test): Add comments and call free on all potentially
62893         allocated pointers. Add space after cast.
62895         * malloc/tst-pvalloc.c: Add comments.
62896         (do_test): Add comments and call free on all potentially
62897         allocated pointers. Remove duplicate check for NULL pointer.
62898         Add space after cast.
62900         * malloc/tst-valloc.c: Add comments.
62901         (do_test): Add comments and call free on all potentially
62902         allocated pointers. Remove duplicate check for NULL pointer.
62903         Add space after cast.
62905 2013-10-04  Alan Modra  <amodra@gmail.com>
62907         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62908         Use stdint types in rather than __attribute__((mode())).
62909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62911 2013-10-04  Alan Modra  <amodra@gmail.com>
62913         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62914         Correct handling of unaligned relocs for little-endian.
62915         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62917 2013-10-04  Alan Modra  <amodra@gmail.com>
62919         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62920         * configure: Regenerate.
62921         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62922         * shlib-versions: Likewise.
62924 2013-10-04  Alan Modra  <amodra@gmail.com>
62926         * string/tester.c (test_memrchr): Increment reported test cycle.
62928 2013-10-04  Alan Modra  <amodra@gmail.com>
62930         * string/test-memcpy.c (do_one_test): When reporting errors, print
62931         string address and don't overrun end of string.
62933 2013-10-04  Alan Modra  <amodra@gmail.com>
62935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62936         insrdi.  Make better use of reg selection to speed exit slightly.
62937         Schedule entry path a little better.  Remove useless "are we done"
62938         checks on entry to main loop.  Handle wrapping around zero address.
62939         Correct main loop count.  Handle single left-over word from main
62940         loop inline rather than by using loop_small.  Remove extra word
62941         case in loop_small caused by wrong loop count.  Add little-endian
62942         support.
62943         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62944         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62945         cache hint.
62946         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62947         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62948         support.  Avoid rlwimi.
62949         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62951 2013-10-04  Alan Modra  <amodra@gmail.com>
62953         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62954         insrdi.  Formatting.
62955         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62956         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62957         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62958         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62959         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62960         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62962 2013-10-04  Alan Modra  <amodra@gmail.com>
62964         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62966         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62967         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62968         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62969         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62970         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62971         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62972         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62973         use of regs.  Use power7 mtocrf.  Tidy function tails.
62975 2013-10-04  Alan Modra  <amodra@gmail.com>
62977         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62978         Formatting.  Consistently use rXXX register defines or rN defines.
62979         Use early exit labels that avoid restoring unused non-volatile regs.
62980         Make cr field use more consistent with rWORDn compares.  Rename
62981         regs used as shift registers for unaligned loop, using rN defines
62982         for short lifetime/multiple use regs.
62983         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62984         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62985         addi 1,1,64 to pop stack frame.  Simplify return value code.
62986         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62988 2013-10-04  Alan Modra  <amodra@gmail.com>
62990         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62991         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62992         rather than rlwimi.
62993         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62994         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62995         little-endian support.  Correct typos.
62996         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62997         rather than rlwimi.
62998         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62999         in loop and entry code to keep "and." results.
63000         (strchr): Add little-endian support.  Comment.  Move cntlzd
63001         earlier in tail.
63002         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
63004 2013-10-04  Alan Modra  <amodra@gmail.com>
63006         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
63007         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
63008         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
63009         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
63011 2013-10-04  Alan Modra  <amodra@gmail.com>
63013         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
63014         (rTMP): Define as r11.
63015         (strcmp): Add little-endian support.  Optimise tail.
63016         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
63017         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63018         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63019         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63020         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63021         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63022         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63024 2013-10-04  Alan Modra  <amodra@gmail.com>
63026         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
63027         little-endian support.  Remove unnecessary "are we done" tests.
63028         Handle "s" wrapping around zero and extremely large "size".
63029         Correct main loop count.  Handle single left-over word from main
63030         loop inline rather than by using small_loop.  Correct comments.
63031         Delete "zero" tail, use "end_max" instead.
63032         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
63034 2013-10-04  Alan Modra  <amodra@gmail.com>
63036         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
63037         support.  Don't branch over align.
63038         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
63039         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
63040         support.  Rearrange tmp reg use to suit.  Comment.
63041         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
63043 2013-10-04  Alan Modra  <amodra@gmail.com>
63045         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
63047 2013-10-04  Alan Modra  <amodra@gmail.com>
63049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
63050         conditional form of branch and link when obtaining pc.
63051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
63053 2013-10-04  Alan Modra  <amodra@gmail.com>
63055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
63056         HIWORD/LOWORD.
63057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
63058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
63060 2013-10-04  Alan Modra  <amodra@gmail.com>
63062         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
63063         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
63064         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
63065         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
63066         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
63067         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63068         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
63069         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63070         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
63071         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
63073 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63074             Alistair Popple <alistair@ozlabs.au.ibm.com>
63075             Alan Modra <amodra@gmail.com>
63077         [BZ #15723]
63078         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
63079         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
63080         _dl_hwcap access for little-endian.
63081         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
63082         destroy vmx regs when saving unaligned.
63083         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
63084         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
63085         destroy vmx regs when saving unaligned.
63087 2013-10-04  Alan Modra  <amodra@gmail.com>
63089         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
63090         Don't use a union to pack hi/low value.
63092 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63094         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
63095         for little-endian.
63096         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63097         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
63098         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63099         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63100         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63102 2013-10-04  Alan Modra  <amodra@gmail.com>
63104         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
63105         constants to usual value for .cst8 section, and remove redundant
63106         high address load.
63107         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
63108         constant for 0x1p52.  Load little-endian words of double from
63109         correct stack offsets.
63111 2013-10-04  Alan Modra  <amodra@gmail.com>
63113         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
63114         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
63115         words of double from correct stack offsets.
63116         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
63117         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
63118         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63119         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63120         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63121         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63122         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63123         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
63124         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
63125         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63126         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63127         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63128         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63129         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63130         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63131         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
63132         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
63134 2013-10-04  Alan Modra  <amodra@gmail.com>
63136         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
63137         64-bit int/double union.
63138         (_FPU_SETCW): Likewise.
63139         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
63140         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
63142 2013-10-04  Alan Modra  <amodra@gmail.com>
63144         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
63145         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
63147 2013-10-04  Alan Modra  <amodra@gmail.com>
63149         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
63150         use vector int constants.
63151         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
63153 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63155         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
63156         array with long long.
63157         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
63158         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
63159         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63160         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63161         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63162         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63163         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63164         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63165         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63166         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63167         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63168         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63169         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63171 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63173         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63174         (__signbit): Likewise.  Correct for little-endian.
63175         (__signbitl): Call __signbit.
63176         (lrint): Correct for little-endian.
63177         (lrintf): Call lrint.
63179 2013-10-04  Alan Modra  <amodra@gmail.com>
63181         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63182         union 32-bit int array member with 64-bit int array.
63183         (t515, tm256): Double rather than long double.
63184         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63186 2013-10-04  Alan Modra  <amodra@gmail.com>
63188         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63189         Delete.
63190         (IEEE854_LONG_DOUBLE_BIAS): Delete.
63191         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63192         version of math_ldbl.h.
63194 2013-10-04  Alan Modra  <amodra@gmail.com>
63196         [BZ #15734], [BZ #15735]
63197         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63198         all uses of ieee875 long double macros and unions.  Simplify test
63199         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
63200         ldbl_extract_mantissa value for ix,iy exponents.  Properly
63201         normalize after ldbl_extract_mantissa, and don't add hidden bit
63202         already handled.  Don't treat low word of ieee854 mantissa like
63203         low word of IBM long double and mask off bit when testing for
63204         zero.
63205         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63206         all uses of ieee875 long double macros and unions.  Simplify tests
63207         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
63208         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
63209         two1022, instead use their values.  Recognise that tests for large
63210         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
63211         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63212         Rewrite all uses of ieee875 long double macros and unions.  Simplify
63213         test for 0.0L and nan.  Correct negation.
63214         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63215         ieee875 long double macros and unions.  Correct output for large
63216         magnitude x.  Correct absolute value calculation.
63217         (__erfcl): Likewise.
63218         * math/libm-test.inc: Add tests for errors discovered in IBM long
63219         double versions of fmodl, remainderl, erfl and erfcl.
63221 2013-10-04  Alan Modra  <amodra@gmail.com>
63223         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63224         all uses of ieee854 long double macros and unions.  Simplify tests
63225         for long doubles that are fully specified by the high double.
63226         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63227         Likewise.
63228         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63229         Remove dead code too.
63230         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63231         (__ieee754_ynl): Likewise.
63232         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63233         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63234         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63235         Remove dead code too.
63236         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63237         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63238         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63239         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63240         Simplify.
63241         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63242         Simplify.
63243         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63244         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63245         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63246         Comment on variable precision.
63247         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63248         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63249         Likewise.
63250         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63251         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63252         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63253         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63254         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63256 2013-10-04  Alan Modra  <amodra@gmail.com>
63258         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63259         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63260         all uses of ieee854 long double macros and unions.
63261         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63262         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63263         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63264         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63265         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63266         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63267         Likewise.
63268         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63269         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63270         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63271         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63272         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63273         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63274         Simplify sign and nan test too.
63275         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63276         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63277         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63278         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63279         Likewise.
63280         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63281         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63282         Likewise.
63283         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63284         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63285         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63286         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63287         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63290 2013-10-04  Alan Modra  <amodra@gmail.com>
63292         * stdio-common/printf_size.c (__printf_size): Don't use
63293         union ieee854_long_double in fpnum union.
63294         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63295         signbit macro to retrieve sign from long double.
63296         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63297         retrieve sign from long double.
63298         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63299         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63300         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63301         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63302         * math/test-misc.c (main): Don't use union ieee854_long_double.
63304 2013-10-04  Alan Modra  <amodra@gmail.com>
63306         [BZ #15680]
63307         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63308         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63309         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63310         calculation.  Remove unnecessary test for denormal exponent.
63311         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63312         Correct handling of denormals.  Avoid undefined shift behaviour.
63313         Correct normalisation of low mantissa when low double is denormal.
63314         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63315         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63316         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63317         Correct normalisation of low mantissa.  Test for overflow of high
63318         mantissa and normalise.
63319         (ldbl_nearbyint): Use more readable constant for two52.
63320         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63321         (__mpn_construct_long_double): Fix test for overflow of high
63322         mantissa and correct normalisation.  Avoid undefined shift.
63324 2013-10-04  Alan Modra  <amodra@gmail.com>
63326         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63327         (union ibm_extended_long_double): Define as an array of ieee754_double.
63328         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63329         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63330         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63331         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63332         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63333         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63334         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63335         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63336         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63337         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63338         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63340 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63342         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63343         page size instead of calling getpagesize.
63345         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63346         (LOCFILE_ALIGN_MASK): Likewise.
63347         (LOCFILE_ALIGN_UP): Likewise.
63348         (LOCFILE_ALIGNED_P): Likewise.
63349         * locale/programs/ld-collate.c (collate_output): Use the new
63350         macros instead of __alignof__ (int32_t).
63351         * locale/weight.h (findidx): Likewise.
63353 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
63355         [BZ #431]
63356         * manual/string.texi: Fix strncat and wcsncat.
63358 2013-10-03  Brooks Moses  <bmoses@google.com>
63360         [BZ #15915]
63361         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63362         * Makerules: ...here, and adjust associated comments.
63364 2013-10-02  Will Newton  <will.newton@linaro.org>
63366         * malloc/Makefile: Add tst-pvalloc.
63367         * malloc/tst-pvalloc.c: New file.
63369 2013-10-02  Will Newton  <will.newton@linaro.org>
63371         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63372         improve test coverage.
63374 2013-10-02  Will Newton  <will.newton@linaro.org>
63376         * malloc/Makefile: Add tst-posix_memalign.
63377         * malloc/tst-posix_memalign.c: New file.
63379 2013-10-01  Eric Blake  <eblake@redhat.com>
63381         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63382         Use __THROWNL rather than __THROW on static functions.
63384 2013-09-30  Petr Machata  <pmachata@redhat.com>
63386         * elf/elf.h (R_AARCH64_ABS16): New macro.
63387         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63388         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63389         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63390         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63391         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63392         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63393         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63394         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63395         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63396         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63397         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63398         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63399         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63400         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63401         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63402         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63403         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63404         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63405         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63406         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63407         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63408         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63409         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63410         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63411         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63412         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63413         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63414         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63415         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63416         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63417         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63418         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63419         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63420         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63421         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63422         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63423         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63424         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63425         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63426         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63427         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63428         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63429         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63430         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63431         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63432         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63433         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63434         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63435         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63436         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63437         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63438         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63439         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63440         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63441         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63442         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63443         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63444         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63445         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63446         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63447         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63448         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63449         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63450         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63451         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63452         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63453         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63454         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63455         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63456         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63457         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63458         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63459         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63460         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63461         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63462         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63463         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63464         (R_AARCH64_TLSDESC_LDR): Likewise.
63465         (R_AARCH64_TLSDESC_ADD): Likewise.
63466         (R_AARCH64_TLSDESC_CALL): Likewise.
63468 2013-09-30  Andreas Schwab  <schwab@suse.de>
63470         [BZ #15048]
63471         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63472         the nss database lookup.
63473         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63474         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63476 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63478         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63480 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63482         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63483         ${Bash-specific parameter/pattern/string} parameter expansion.
63484         * sysdeps/unix/make-syscalls.sh: Likewise.
63486 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63488         * sysdeps/sh/stackguard-macros.h: New file.
63490 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
63492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63493         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63494         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63495         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63496         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63497         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63499 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63501         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63502         Fix thread ID register.
63504 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63506         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63507         [POSIX || UNIX98]: Require rather than permitting all symbols from
63508         <time.h>.
63509         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63510         element of struct sched_param.
63511         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63512         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63513         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63514         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63515         constant.
63517 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63519         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63520         argument calculation.
63522 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63524         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63525         Expect macro.
63526         [POSIX] (pthread_attr_t): Do not require type.
63527         [POSIX] (pthread_cond_t): Likewise.
63528         [POSIX] (pthread_condattr_t): Likewise.
63529         [POSIX] (pthread_key_t): Likewise.
63530         [POSIX] (pthread_mutex_t): Likewise.
63531         [POSIX] (pthread_mutexattr_t): Likewise.
63532         [POSIX] (pthread_once_t): Likewise.
63533         [POSIX] (pthread_t): Likewise.
63534         [POSIX-based standards] (pthread_atfork): Expect function.
63536 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63537             Richard Sandiford  <richard@codesourcery.com>
63539         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63540         (swap_endianness_p): New extern variable.
63541         (set_big_endian): New inline function.
63542         (maybe_swap_uint32): Likewise.
63543         (maybe_swap_uint32_array): Likewise.
63544         (maybe_swap_uint32_obstack): Likewise.
63545         * locale/programs/locfile.c: Include <stdbool.h>.
63546         (swap_endianness_p): New variable.
63547         (add_locale_uint32): Call maybe_swap_uint32.
63548         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63549         (write_locale_data): Call maybe_swap_uint32_array.
63550         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63551         maybe_swap_uint32.
63552         (obstack_int32_grow_fast): Likewise.
63553         (output_weightwc): Call maybe_swap_uint32_obstack.
63554         (collate_output): Likewise.
63555         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63556         (OPT_LITTLE_ENDIAN): Likewise.
63557         (options): Add --little-endian and --big-endian options.
63558         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63559         * locale/programs/locarchive.c: Include "locfile.h".
63560         (GET): New macro.
63561         (SET): Likewise.
63562         (INC): Likewise.
63563         (create_archive): Use the new macros to access fields of
63564         structures directly mapped from or written to locale archives.
63565         (oldlocrecentcmp): Likewise.
63566         (enlarge_archive): Likewise.
63567         (insert_name): Likewise.
63568         (add_alias): Likewise.
63569         (add_locale): Likewise.
63570         (delete_locales_from_archive): Likewise.
63571         (show_archive_content): Likewise.
63572         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63573         locale data.
63575 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63577         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63578         http://www.gnu.org/doc/freemanuals.texi.
63579         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63581 2013-09-24  Will Newton  <will.newton@linaro.org>
63583         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63584         macro.
63586 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63588         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63589         unsigned char.
63591 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63593         * manual/threads.texi (POSIX Threads): Fix a typo.
63595 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63597         [BZ #14547]
63598         * string/tst-strcoll-overflow.c: New test case.
63599         * string/Makefile (xtests): Add tst-strcoll-overflow.
63600         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63601         cache if string sizes may cause integer overflow.
63603         [BZ #14547]
63604         * string/strcoll_l.c (coll_seq): New members rule, idx,
63605         save_idx and back_us.
63606         (get_next_seq_nocache): New function.
63607         (do_compare_nocache): New function.
63608         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63609         when malloc fails.
63611 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63613         [BZ #15754]
63614         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63615         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63616         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63618         [BZ #15754]
63619         * elf/Makefile (tests): Add tst-ptrguard1.
63620         (tests-static): Add tst-ptrguard1-static.
63621         (tst-ptrguard1-ARGS): Define.
63622         (tst-ptrguard1-static-ARGS): Define.
63623         * elf/tst-ptrguard1.c: New file.
63624         * elf/tst-ptrguard1-static.c: New file.
63625         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63626         * sysdeps/i386/stackguard-macros.h: Likewise.
63627         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63628         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63629         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63630         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63631         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63632         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63634 2013-09-23  Hector Marco  <hecmargi@upv.es>
63635             Ismael Ripoll  <iripoll@disca.upv.es>
63636             Carlos O'Donell  <carlos@redhat.com>
63638         [BZ #15754]
63639         * sysdeps/generic/stackguard-macros.h: Define
63640         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63641         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63642         Define __pointer_chk_guard_local.
63643         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63644         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63646 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63648         [BZ #15859]
63649         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63651 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63653         * include/string.h (__ffs): Declare as hidden.
63654         * string/ffs.c (__ffs): Define as hidden.
63655         * sysdeps/i386/ffs.c (__ffs): Likewise.
63656         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63657         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63658         * sysdeps/s390/ffs.c (__ffs): Likewise.
63659         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63661 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63663         * NEWS: Mention malloc probes.
63665         * malloc/arena.c (new_heap): New memory_heap_new probe.
63666         (grow_heap): New memory_heap_more probe.
63667         (shrink_heap): New memory_heap_less probe.
63668         (heap_trim): New memory_heap_free probe.
63669         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63670         (systrim): New memory_sbrk_less probe.
63671         * manual/probes.texi: Document them.
63673         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63674         * manual/probes.texi: Document it.
63676         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63677         (__libc_realloc): Add memory_realloc_retry probe.
63678         (__libc_memalign): Add memory_memalign_retry probe.
63679         (__libc_valloc): Add memory_valloc_retry probe.
63680         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63681         (__libc_calloc): Add memory_calloc_retry probe.
63682         * manual/probes.texi: Document them.
63684         * malloc/arena.c (get_free_list): Add probe
63685         memory_arena_reuse_free_list.
63686         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63687         and memory_arena_reuse.
63688         (arena_get2) [!PER_THREAD]: Likewise.
63689         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63690         memory_arena_reuse_realloc.
63691         * manual/probes.texi: Document them.
63693         * malloc/malloc.c (__libc_free): Add
63694         memory_mallopt_free_dyn_thresholds probe.
63695         (__libc_mallopt): Add multiple memory_mallopt probes.
63696         * manual/probes.texi: Document them.
63698         * malloc/malloc.c: Include stap-probe.h.
63699         (__libc_mallopt): Add memory_mallopt probe.
63700         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63701         * manual/probes.texi: New.
63702         * manual/Makefile (chapters): Add probes.
63703         * manual/threads.texi: Set next node.
63705 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63707         [BZ #15963, #13985]
63708         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63709         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63710         Add `Chinese' to `nan' entry name.
63712 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63714         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63715         (POLYNOMIAL): Likewise.
63716         (TAYLOR_SINCOS): Likewise.
63717         (TAYLOR_SLOW): Likewise.
63718         (__sin): Use TAYLOR_SINCOS.
63719         (__cos): Likewise.
63720         (slow): Use TAYLOR_SLOW.
63721         (sloww): Likewise.
63722         (bsloww): Likewise.
63723         (csloww): Likewise.
63725 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63727         * stdlib/strtod_l.c: Fix buffer overrun.
63729 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63731         * benchtests/Makefile (bench): Add sincos.
63732         * benchtests/bench-sincos.c: New file.
63734         * math/libm-test.inc (cos_test_data): New test inputs.
63735         (sin_test_data): Likewise.
63737         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63738         macro.
63739         (__sin): Use it.
63740         (__cos): Likewise.
63741         (slow1): Likewise.
63742         (slow2): Likewise.
63743         (sloww1): Likewise.
63744         (sloww2): Likewise.
63745         (bsloww1): Likewise.
63746         (bsloww2): Likewise.
63747         (cslow2): Likewise.
63748         (csloww1): Likewise.
63749         (csloww2): Likewise.
63751         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63752         function.
63753         (__sin): Use it.
63754         (__cos): Likewise.
63756         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63757         gotos.
63758         (__cos): Likewise.
63760 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63762         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63763         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63764         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63765         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63766         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63767         * elf/cache.c (print_entry): Handle the new cache flags.
63769 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63770             Aldy Hernandez  <aldyh@redhat.com>
63772         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63773         Change condition to [_SOFT_FLOAT].
63774         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63786         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63787         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63789         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63790         declaration.
63792 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63794         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63795         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63796         (__longjmp): Use LOAD_GP to load saved GPRs.
63797         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63798         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63799         (__sigsetjmp): Use SAVE_GP to save GPRs.
63801         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63802         Do not append -msoft-float.
63803         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63805 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63807         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63809 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63811         [BZ #15966]
63812         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63813         (_FPU_GETCW): Use initial "__" on variable and field names but not
63814         on macro parameter name.
63815         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63816         parentheses around reference to macro parameter.
63818 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63820         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63821         prototype.
63822         (ctype_startup): Use uint32_t in cast and sizeof for
63823         ctype->charnames.
63825 2013-09-11  Jia Liu  <proljc@gmail.com>
63827         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63828         __daddr_t_defined.
63829         [__FreeBSD__]: Likewise.
63831 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
63833         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63834         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63835         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63836         (strchr): Remove __strchr_sse42 ifunc selection.
63837         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63838         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63840 2013-09-11  Will Newton  <will.newton@linaro.org>
63842         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63843         parameter to RES. Remove hardcoded 1000 value.
63844         * benchtests/bench-skeleton.c (main): Pass RES parameter
63845         to TIMING_INIT and multiply result by 1000.
63847 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63851 2013-09-11  Andreas Schwab  <schwab@suse.de>
63853         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63854         if not defined.
63855         (O_TMPFILE) [__USE_GNU]: Define.
63856         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63857         Define.
63859 2013-09-11  Will Newton  <will.newton@linaro.org>
63861         [BZ #15857]
63862         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63863         does not overflow.
63865 2013-09-11  Will Newton  <will.newton@linaro.org>
63867         [BZ #15856]
63868         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63869         does not overflow.
63871 2013-09-11  Will Newton  <will.newton@linaro.org>
63873         [BZ #15855]
63874         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63875         does not overflow.
63877 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
63879         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63880         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63881         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63882         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63883         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63885 2013-09-10  Allan McRae  <allan@archlinux.org>
63887         [BZ #15748]
63888         * manual/arith.texi (Parsing of Floats): Clarify
63889         cross-reference.
63891         [BZ #15849]
63892         * manual/install.texi (Running make install): Mention
63893         --enable-pt-chown.
63894         * INSTALL: Regenerated.
63896 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63898         * csu/init-first.c (_init): Remove the !SHARED condition around
63899         FPU control word initialization.
63900         * elf/dl-support.c (_dl_fpu_control): New variable.
63901         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63902         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63903         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63904         * math/test-fpucw-static.c: New file.
63905         * math/test-fpucw-ieee.c: New file.
63906         * math/test-fpucw-ieee-static.c: New file.
63907         * math/Makefile (tests): Add `test-fpucw-ieee' and
63908         `$(tests-static)'.
63909         (tests-static): New variable.
63910         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63911         dependency to...
63912         [($(build-shared),yes)]
63913         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63914         ... this.
63915         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63916         New dependency.
63918 2013-09-09  Allan McRae  <allan@archlinux.org>
63920         [BZ #15939]
63921         * manual/string.texi (Collation Functions): Fix typo in
63922         strcoll example.
63923         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63925         [BZ #15893]
63926         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63928         [BZ #15892]
63929         * libio/memstream.c (open_memstream): Fix memory leak.
63930         * libio/wmemstream.c (open_wmemstream): Likewise.
63932         [BZ #15895]
63933         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63935 2013-09-09  Will Newton  <will.newton@linaro.org>
63937         * malloc/Makefile: Add tst-realloc to tests.
63938         * malloc/tst-realloc.c: New file.
63940 2013-09-09  Allan McRae  <allan@archlinux.org>
63942         [BZ #15844]
63943         * COPYING: Update from GNU website to fix FSF address.
63944         * COPYING.LIB: Likewise.
63946 2013-09-06  David S. Miller  <davem@davemloft.net>
63948         * po/zh_TW.po: Update Chinese (traditional) translation from
63949         translation project.
63951 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63952             Joseph Myers  <joseph@codesourcery.com>
63954         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63955         "localeinfo.h".
63956         (obstack_chunk_alloc): New macro.
63957         (obstack_chunk_free): Likewise.
63958         (record_offset): New function.
63959         (init_locale_data): Likewise.
63960         (align_locale_data): Likewise.
63961         (add_locale_empty): Likewise.
63962         (add_locale_raw_data): Likewise.
63963         (add_locale_raw_obstack): Likewise.
63964         (add_locale_string): Likewise.
63965         (add_locale_wstring): Likewise.
63966         (add_locale_uint32): Likewise.
63967         (add_locale_uint32_array): Likewise.
63968         (add_locale_char): Likewise.
63969         (start_locale_structure): Likewise.
63970         (end_locale_structure): Likewise.
63971         (start_locale_prelude): Likewise.
63972         (end_locale_prelude): Likewise.
63973         (write_locale_data): Take locale_file structure rather than an
63974         iovec.
63975         * locale/programs/locfile.h: Include "obstack.h".
63976         (struct locale_file): Change to store locale file contents instead
63977         of header.
63978         (init_locale_data): New prototype.
63979         (align_locale_data): Likewise.
63980         (add_locale_empty): Likewise.
63981         (add_locale_raw_data): Likewise.
63982         (add_locale_raw_obstack): Likewise.
63983         (add_locale_string): Likewise.
63984         (add_locale_wstring): Likewise.
63985         (add_locale_uint32): Likewise.
63986         (add_locale_uint32_array): Likewise.
63987         (add_locale_char): Likewise.
63988         (start_locale_structure): Likewise.
63989         (end_locale_structure): Likewise.
63990         (start_locale_prelude): Likewise.
63991         (end_locale_prelude): Likewise.
63992         (write_locale_data): Update prototype.
63993         * locale/programs/3level.h (struct TABLE): Remove result field.
63994         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63995         Use new locale_file interface.
63996         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63997         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63998         * locale/programs/ld-address.c (address_output): Use new
63999         locale_file interface.
64000         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
64001         NO_ADD_LOCALE.
64002         (collate_finish): Don't call collseq_table_finalize.
64003         (collate_output): Use new locale_file interface.
64004         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
64005         in file.
64006         (NO_FINALIZE): Change to NO_ADD_LOCALE.
64007         (TABLE): Move defines earlier in file.
64008         (ELEMENT): Likewise.
64009         (DEFAULT): Likewise.
64010         (wctrans_table_add): Move macro and inline function earlier in
64011         file.
64012         (struct wctype_table): Move type earlier in file.
64013         (add_locale_wctype_table): New static prototype.
64014         (struct locale_ctype_t): Use logical types instead of struct iovec
64015         pointers for members.
64016         (ctype_output): Use new locale_file interface.
64017         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
64018         new locale_file interface.
64019         (allocate_arrays): Update for use of new locale_file interface.
64020         * locale/programs/ld-identification.c (identification_output): Use
64021         new locale_file interface.
64022         * locale/programs/ld-measurement.c (measurement_output): Likewise.
64023         * locale/programs/ld-messages.c (messages_output): Likewise.
64024         * locale/programs/ld-monetary.c (monetary_output): Likewise.
64025         * locale/programs/ld-name.c (name_output): Likewise.
64026         * locale/programs/ld-numeric.c (numeric_output): Likewise.
64027         * locale/programs/ld-paper.c (paper_output): Likewise.
64028         * locale/programs/ld-telephone.c (telephone_output): Likewise.
64029         * locale/programs/ld-time.c (time_output): Likewise.
64031 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64033         * benchtests/Makefile: Add memrchr benchmark.
64034         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
64035         benchmark as memrchr.
64036         * benchtests/bench-memrchr-ifunc.c: New file.
64037         * benchtests/bench-memrchr.c: New file.
64039 2013-09-06   Will Newton  <will.newton@linaro.org>
64041         * benchtests/Makefile (string-bench): Add memcpy.
64043 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
64044             Cong Wang  <amwang@redhat.com>
64046         [BZ #15850]
64047         * sysdeps/unix/sysv/linux/bits/in.h
64048         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
64049         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
64050         before __USE_KERNEL_IPV6_DEFS uses.
64051         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
64052         IPPROTO_BEETPH.
64053         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
64054         sockaddr_in6, or ipv6_mreq.
64056 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64058         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
64059         memory access for final bytes in some large inputs.
64060         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
64062 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64064         * string/test-memrchr.c: New file.
64065         * string/test-memrchr-ifunc.c: New file.
64066         * string/Makefile: Add new memrchr testcase.
64068 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
64070         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
64071         fanotify_init returns EPERM.
64073 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
64075         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
64076         errors.
64077         (top level): Treat second token from macro or constant entries for
64078         allowed headers as allowed.
64079         * include/complex.h: Condition internal declarations on
64080         [!_ISOMAC].
64081         * include/fenv.h: Condition include of <stdbool.h> and internal
64082         declarations on [!_ISOMAC].
64084 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
64086         [BZ #15923]
64087         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
64089 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
64091         * configure.in (--enable-versioning): Remove configure option.
64092         (libc_cv_asm_symver_directive): Remove configure test.
64093         (libc_cv_ld_version_script_option): Likewise.
64094         (VERSIONING): Remove variable and AC_SUBST.
64095         (DO_VERSIONING): Remove AC_DEFINE.
64096         * configure: Regenerated.
64097         * config.h.in (DO_VERSIONING): Remove macro.
64098         * Makerules [$(versioning) = yes]: Change conditionals to
64099         [$(build-shared) = yes].
64100         * config.make.in (versioning): Remove variable.
64101         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
64102         [$(build-shared) = yes].
64103         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
64104         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
64105         * elf/Makefile [$(versioning) = yes]: Change conditionals to
64106         [$(build-shared) = yes].
64107         * extra-lib.mk [$(versioning) = yes]: Likewise.
64108         * hurd/Makefile [$(versioning) = yes]: Likewise.
64109         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
64110         [SHARED].
64111         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
64112         [SHARED].
64113         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64114         [SHARED && !NO_HIDDEN].
64115         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
64116         [SHARED].
64117         [SHARED && DO_VERSIONING]: Likewise..
64118         * libio/Makefile [$(versioning) = yes]: Change conditionals to
64119         [$(build-shared) = yes].
64120         * manual/install.texi (--disable-versioning): Remove
64121         documentation.
64122         * INSTALL: Regenerated.
64123         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
64124         to [SHARED].
64125         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
64126         [$(build-shared) = yes].
64127         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
64128         * sysdeps/i386/i686/multiarch/strstr-c.c
64129         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64130         [SHARED && !NO_HIDDEN].
64131         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
64132         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
64133         * sysdeps/powerpc/powerpc32/dl-machine.c
64134         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
64135         * sysdeps/powerpc/powerpc32/sysdep.h
64136         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
64137         to [SHARED && PIC && !NO_HIDDEN].
64138         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
64139         conditional to [SHARED].
64141 2013-09-04   Will Newton  <will.newton@linaro.org>
64143         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
64144         * benchtests/bench-string.h: Include bench-timing.h instead
64145         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
64146         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
64147         call to HP_TIMING_DIFF_INIT.
64148         * benchtests/bench-memccpy.c: Use bench-timing.h macros
64149         instead of hp-timing.h macros.
64150         * benchtests/bench-memchr.c: Likewise.
64151         * benchtests/bench-memcmp.c: Likewise.
64152         * benchtests/bench-memcpy.c: Likewise.
64153         * benchtests/bench-memmem.c: Likewise.
64154         * benchtests/bench-memmove.c: Likewise.
64155         * benchtests/bench-memset.c: Likewise.
64156         * benchtests/bench-rawmemchr.c: Likewise.
64157         * benchtests/bench-strcasecmp.c: Likewise.
64158         * benchtests/bench-strcasestr.c: Likewise.
64159         * benchtests/bench-strcat.c: Likewise.
64160         * benchtests/bench-strchr.c: Likewise.
64161         * benchtests/bench-strcmp.c: Likewise.
64162         * benchtests/bench-strcpy.c: Likewise.
64163         * benchtests/bench-strcpy_chk.c: Likewise.
64164         * benchtests/bench-strlen.c: Likewise.
64165         * benchtests/bench-strncasecmp.c: Likewise.
64166         * benchtests/bench-strncat.c: Likewise.
64167         * benchtests/bench-strncmp.c: Likewise.
64168         * benchtests/bench-strncpy.c: Likewise.
64169         * benchtests/bench-strnlen.c: Likewise.
64170         * benchtests/bench-strpbrk.c: Likewise.
64171         * benchtests/bench-strrchr.c: Likewise.
64172         * benchtests/bench-strspn.c: Likewise.
64173         * benchtests/bench-strstr.c: Likewise.
64175 2013-09-04  Will Newton  <will.newton@linaro.org>
64177         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64179 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
64181         [BZ #15427]
64182         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64183         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64184         * math/libm-test.inc (lgamma_test_data): Add more tests.
64185         * sysdeps/i386/fpu/libm-test-ulps: Update.
64186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64188 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
64190         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64191         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64192         Add ifunc.
64193         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64194         Add strcmp-sse2-unaligned
64195         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64197 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64199         * Versions.def (libc): Add GLIBC_2.19.
64201 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64203         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64204         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64206 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
64208         [BZ #14155]
64209         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64210         intermediate calculations in recurrence.
64211         (__ieee754_ynf): Likewise.
64212         * math/libm-test.inc (jn_test_data): Do not allow spurious
64213         underflow exception.  Add more tests.
64214         (yn_test_data): Add more tests.
64215         * sysdeps/i386/fpu/libm-test-ulps: Update.
64216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64218 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
64220         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64222 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
64224         * csu/init-first.c: Fix then/than typos.
64225         * locale/programs/ld-collate.c: Likewise.
64226         * locale/programs/linereader.h: Likewise.
64227         * manual/charset.texi: Likewise.
64228         * manual/filesys.texi: Likewise.
64229         * manual/stdio.texi: Likewise.
64230         * manual/string.texi: Likewise.
64231         * stdlib/fmtmsg.c: Likewise.
64232         * sysdeps/i386/stpncpy.S: Likewise.
64233         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64234         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64235         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64236         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64238 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
64240         * elf/dl-open.c: Fix typos.
64241         * iconvdata/gbbig5.c: Likewise.
64242         * iconvdata/iso-2022-jp.c: Likewise.
64243         * iconv/gconv_int.h: Likewise.
64244         * iconv/loop.c: Likewise.
64245         * nis/rpcsvc/nis.h: Likewise.
64246         * resolv/ns_name.c: Likewise.
64247         * stdio-common/vfscanf.c: Likewise.
64248         * streams/stropts.h: Likewise.
64249         * sunrpc/rpc_thread.c: Likewise.
64250         * sysdeps/i386/strpbrk.S: Likewise.
64251         * sysdeps/ieee754/k_standard.c: Likewise.
64252         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64253         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64254         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64255         * sysdeps/mach/hurd/profil.c: Likewise.
64256         * sysdeps/s390/dl-procinfo.h: Likewise.
64257         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64258         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64259         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64260         * sysdeps/x86_64/dl-trampoline.S: Likewise.
64261         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64263 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
64265         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64266         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64268 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
64270         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64271         aix specific files.
64272         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64275         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64276         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64277         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64278         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64279         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64281 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64282             Roland McGrath  <roland@hack.frob.com>
64284         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64285         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64287 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64289         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64290         __executable_start symbol instead of _start.
64292 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64294         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64295         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64296         Move macros to...
64297         * sysdeps/gnu/ldsodefs.h: ... this new file.
64299         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64300         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64301         instead of ELFOSABI_LINUX.
64303         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64304         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64305         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64306         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64307         Likewise.
64308         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64309         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64310         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64311         Likewise.
64312         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64313         (ibm_extended_long_double): Add ieee_nan member.
64314         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64315         (do_test): New function.
64317         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64318         TEST_TRUNC.
64319         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64320         functions, renamed from truncdfsf_test, trunctfsf_test,
64321         trunctfdf_test.
64322         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64323         functions.
64324         (do_test): Run all these.
64326 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
64328         * argp/argp-help.c: Fix typos.
64329         * argp/argp-parse.c: Likewise.
64330         * debug/backtracesyms.c: Likewise.
64331         * elf/elf.h: Likewise.
64332         * malloc/malloc.c: Likewise.
64333         * nis/nis_print.c: Likewise.
64334         * resolv/res_comp.c: Likewise.
64335         * stdlib/stdlib.h: Likewise.
64336         * sunrpc/clnt_tcp.c: Likewise.
64337         * sunrpc/clnt_udp.c: Likewise.
64338         * sunrpc/clnt_unix.c: Likewise.
64339         * sysdeps/unix/bsd/ptsname.c: Likewise.
64340         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64341         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64343         Likewise.
64344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64345         Likewise.
64346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64347         Likewise.
64348         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64350 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64352         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64353         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64355 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64357         [BZ #15897]
64358         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64359         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64360         ($(objpfx)bug-dl-leaf): New rule.
64361         ($(objpfx)bug-dl-leaf.so): Likewise.
64362         ($(objpfx)bug-dl-leaf.out): Likewise.
64363         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64364         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64365         * dlfcn/bug-dl-leaf.c: New test.
64366         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64367         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64368         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64369         (dlclose): Likewise.
64370         (dlmopen): Likewise.
64372 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64374         * include/netdb.h [!_ISOMAC]:
64375         Don't include <tls.h>.
64376         (h_errno, __libc_h_errno): Move declaration and macros out of
64377         [_LIBC_REENTRANT].
64379         * include/resolv.h [_RESOLV_H_]:
64380         Don't include <tls.h>.
64381         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64382         * resolv/res_libc.c: Don't include <tls.h>.
64383         (_res): Use __attribute__ ((nocommon)) in place of
64384         __attribute__ ((section (".bss"))).
64386         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64387         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64389         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64391         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64392         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64394         * resolv/res_mkquery.c: Include <sys/time.h>.
64396         * inet/ifreq.c: Moved to ...
64397         * sysdeps/unix/ifreq.c: ... here.
64398         * inet/ifreq.c: New file, true stub version.
64400         * socket/sa_len.c: New file.
64401         * socket/Makefile (aux): Add it.
64402         * sysdeps/unix/sysv/linux/Makefile
64403         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64404         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64405         and #include <socket/sa_len.c>.
64406         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64407         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64409         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64410         * bits/socket.h: ... here.
64412         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64413         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64414         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64416 2013-08-27  Andreas Schwab  <schwab@suse.de>
64418         [BZ #15736]
64419         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64420         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64421         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64422         * string/test-strcasecmp.c (test_main): Run tests in several
64423         locales.
64424         * string/test-strncasecmp.c (test_main): Likewise.
64426         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64427         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64428         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64429         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64430         (__strncasecmp_ssse3) [PIC]: Likewise.
64432 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64434         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64436         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64437         instead of explicitly declaring xdecrypt.
64438         * nis/nss_nis/nis-publickey.c: Likewise.
64440 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64442         [BZ #15890]
64443         * nscd/aicache.c: Include res_hconf.h.
64444         (addhstaiX): Initialize res_hconf.
64446 2013-08-26  Andreas Schwab  <schwab@suse.de>
64448         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64449         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64451 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64453         * nscd/aicache.c (addhstaiX): Fix indentation.
64455 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64457         * configure.ac: Quote $build_pt_chown test.
64458         * configure: Regenerated.
64460 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64462         [BZ #15532]
64463         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64464         * math/s_cexpf.c (__cexpf): Likewise.
64465         * math/s_cexpl.c (__cexpl): Likewise.
64466         * math/libm-test.inc (cexp_test_data): Correct expected return
64467         value for NaN + i0.  Add another test.
64469 2013-08-22  David S. Miller  <davem@davemloft.net>
64471         * po/ca.po: Update Catalan translation from translation project.
64472         * po/uk.po: Add Ukrainian translations from translation project.
64474 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64476         [BZ #15797]
64477         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64478         is infinite, not alongside NaN test.
64479         * math/s_fdimf.c (__fdimf): Likewise.
64480         * math/s_fdiml.c (__fdiml): Likewise.
64481         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64482         errno is unchanged.
64484 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
64486         * argp/argp-help.c: Fix typos.
64487         * crypt/speeds.c: Likewise.
64488         * csu/check_fds.c: Likewise.
64489         * elf/dl-load.c: Likewise.
64490         * elf/dl-open.c: Likewise.
64491         * elf/reldep3.c: Likewise.
64492         * elf/reldep.c: Likewise.
64493         * elf/sprof.c: Likewise.
64494         * iconv/iconv_charmap.c: Likewise.
64495         * iconv/skeleton.c: Likewise.
64496         * iconv/strtab.c: Likewise.
64497         * io/lockf64.c: Likewise.
64498         * libio/libioP.h: Likewise.
64499         * resolv/gai_notify.c: Likewise.
64500         * resolv/ns_name.c: Likewise.
64501         * resolv/ns_samedomain.c: Likewise.
64502         * resolv/res_send.c: Likewise.
64503         * stdlib/random.c: Likewise.
64504         * sunrpc/rpc/xdr.h: Likewise.
64505         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64506         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64507         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64508         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64509         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64510         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64511         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64512         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64513         * sysdeps/mach/hurd/check_fds.c: Likewise.
64514         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64515         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64516         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64517         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64518         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64519         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64520         * sysdeps/pthread/aio_notify.c: Likewise.
64521         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64522         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64523         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64524         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64525         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64527 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64529         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64530         version if bit_Slow_SSE4_2 is set.
64531         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64532         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64534 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64536         [BZ #15867]
64537         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64538         trampoline stack frame information.
64539         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64540         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64541         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64542         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64543         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64544         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64545         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64546         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64547         sa_flags value.
64548         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64549         interrupting a syscall and set with option SA_SIGINFO.
64551 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64553         [BZ #15531]
64554         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64555         argument is infinite.
64556         * math/s_cprojf.c (__cprojf): Likewise.
64557         * math/s_cprojl.c (__cprojl): Likewise.
64558         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64559         * math/libm-test.inc (cproj_test_data): Add more tests.
64561         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64563         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64564         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64565         size.  Use __ffs to determine corresponding shift.
64567 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64568             Roland McGrath  <roland@hack.frob.com>
64570         * Makefile (INSTALL): Remove trailing blank lines from output of
64571         makeinfo.
64573 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64575         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64576         Align 32 bit compat elf_greg to 8 bytes.
64578 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64580         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64582 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64584         * string/strcoll_l.c (coll_seq): New structure.
64585         (get_next_seq_cached): New function.
64586         (get_next_seq): New function.
64587         (do_compare): New function.
64588         (STRCOLL): Use GNU style definition.  Simplify implementation
64589         by using get_next_seq, get_next_seq_cached and do_compare.
64591 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64593         [BZ #14699]
64594         CVE-2013-4237
64595         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64596         member.
64597         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64598         member.
64599         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64600         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64601         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64602         conditional.
64603         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64604         GETDENTS_64BIT_ALIGNED.
64605         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64606         * manual/filesys.texi (Reading/Closing Directory): Document
64607         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64608         strongly.
64609         * manual/conf.texi (Limits for Files): Add portability note to
64610         NAME_MAX, PATH_MAX.
64611         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64613 2013-08-13  Andreas Schwab  <schwab@suse.de>
64615         [BZ #15749]
64616         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64617         of fabs.
64618         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64619         LDBL_MAX_EXP >= 16384]: Add tests for it.
64621 2013-08-12  David S. Miller  <davem@davemloft.net>
64623         * version.h (RELEASE): Set to "development".
64624         (VERSION): Set to "2.18.90".
64625         * NEWS: Add 2.19 section.
64627 2013-08-03  David S. Miller  <davem@davemloft.net>
64629         * po/ko.po: Update Korean translation from translation project.
64631 2013-08-01  David S. Miller  <davem@davemloft.net>
64633         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64634         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64635         Bilka.
64637 2013-07-30  David S. Miller  <davem@davemloft.net>
64639         * po/fr.po: Update French translation from translation project.
64641 2013-07-28  David S. Miller  <davem@davemloft.net>
64643         * po/cs.po: Update Czech translation from translation project.
64645         * po/sv.po: Update Swedish translation from translation project.
64647 2013-07-27  David S. Miller  <davem@davemloft.net>
64649         * po/eo.po: Update Esperanto translation from translation project.
64651         * po/vi.po: Update Vietnamese translation from translation project.
64653         * po/de.po: Update German translation from translation project.
64655 2013-07-26  David S. Miller  <davem@davemloft.net>
64657         * po/bg.po: Update Bulgarian translation from translation project.
64659         * po/nl.po: Update Dutch translation from translation project.
64660         * po/pl.po: Update Polish translation from translation project.
64661         * po/ru.po: Update Russian translation from translation project.
64663 2013-07-24  David S. Miller  <davem@davemloft.net>
64665         * po/libc.pot: Update.
64667 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64669         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64670         variable page size.
64671         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64672         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64673         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64675 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64677         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64679 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64680             Andreas Schwab  <schwab@suse.de>
64681             Roland McGrath  <roland@hack.frob.com>
64682             Joseph Myers  <joseph@codesourcery.com>
64683             Carlos O'Donell  <carlos@redhat.com>
64685         [BZ #15755]
64686         * config.h.in: Define HAVE_PT_CHOWN.
64687         * config.make.in (build-pt-chown): New variable.
64688         * configure.in (--enable-pt_chown): New configure option.
64689         * configure: Regenerate.
64690         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64691         build-pt-chown is enabled.
64692         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64693         pt_chown to fix pty ownership.
64694         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64695         CLOSE_ALL_FDS.
64696         * manual/install.texi (Configuring and compiling): Mention
64697         --enable-pt_chown. Add @findex for grantpt.
64698         * INSTALL: Regenerate.
64700 2013-07-20  David S. Miller  <davem@davemloft.net>
64702         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64703         difference between 32-bit and 64-bit.
64705 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64707         [BZ #15711]
64708         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64709         Avoid system header dependency with -ffreestanding.
64710         ($(objpfx)bits/syscall%d): Likewise.
64712 2013-07-13  David S. Miller  <davem@davemloft.net>
64714         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64715         underflows from atanl/atan2l due to bug 15319.
64716         (casinh_test_data): Likewise.
64718 2013-07-07  David S. Miller  <davem@davemloft.net>
64720         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64722 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64724         * sysdeps/i386/fpu/libm-test-ulps: Update.
64725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64727 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64729         * configure.in (--enable-lock-elision): Fix message text.
64730         * INSTALL: Regenerate.
64731         * configure: Regenerate.
64733 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64737 2013-07-03  Andreas Jaeger  <aj@suse.de>
64739         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64740         define.
64741         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64742         (ptrace_peeksiginfo_args): Add.
64743         (__ptrace_peeksiginfo_flags): Add.
64744         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64745         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64746         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64748 2013-07-03  Allan McRae  <allan@archlinux.org>
64750         * sysdeps/i386/fpu/libm-test-ulps: Update.
64752 2013-07-02  David S. Miller  <davem@davemloft.net>
64754         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64756 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64758         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64760 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64762         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64765 2013-07-02  Andi Kleen <ak@linux.intel.com>
64767         * config.h.in (ENABLE_LOCK_ELISION): Add.
64768         * configure.in (--enable-lock-elision): Add option.
64769         * manual/install.texi: Document --enable lock elision.
64770         * configure: Regenerate
64771         * INSTALL: Regenerate.
64773 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64775         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64776         SSE4.2 strcasecmp for libc.a.
64777         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64779 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64781         [BZ #13304]
64782         * soft-fp/op-common.h (_FP_FMA): New macro.
64783         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64784         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64785         (_FP_MUL_MEAT_1_imm): ... here.
64786         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64787         (_FP_MUL_MEAT_1_wide): ... here.
64788         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64789         (_FP_MUL_MEAT_1_hard): ... here.
64790         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64791         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64792         (_FP_MUL_MEAT_2_wide): ... here.
64793         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64794         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64795         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64796         (_FP_MUL_MEAT_2_gmp): ... here.
64797         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64798         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64799         (_FP_MUL_MEAT_4_wide): ... here.
64800         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64801         (_FP_MUL_MEAT_4_gmp): ... here.
64802         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64803         (_FP_WFRACBITS_DW_S): Likewise.
64804         (_FP_WFRACXBITS_DW_S): Likewise.
64805         (_FP_HIGHBIT_DW_S): Likewise.
64806         (FP_FMA_S): Likewise.
64807         (_FP_FRAC_HIGH_DW_S): Likewise.
64808         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64809         (_FP_WFRACBITS_DW_D): Likewise.
64810         (_FP_WFRACXBITS_DW_D): Likewise.
64811         (_FP_HIGHBIT_DW_D): Likewise.
64812         (FP_FMA_D): Likewise.
64813         (_FP_FRAC_HIGH_DW_D): Likewise.
64814         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64815         (_FP_WFRACBITS_DW_E): Likewise.
64816         (_FP_WFRACXBITS_DW_E): Likewise.
64817         (_FP_HIGHBIT_DW_E): Likewise.
64818         (FP_FMA_E): Likewise.
64819         (_FP_FRAC_HIGH_DW_E): Likewise.
64820         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64821         (_FP_WFRACBITS_DW_Q): Likewise.
64822         (_FP_WFRACXBITS_DW_Q): Likewise.
64823         (_FP_HIGHBIT_DW_Q): Likewise.
64824         (FP_FMA_Q): Likewise.
64825         (_FP_FRAC_HIGH_DW_Q): Likewise.
64826         * soft-fp/fmasf4.c: New file.
64827         * soft-fp/fmadf4.c: Likewise.
64828         * soft-fp/fmatf4.c: Likewise.
64830 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64832         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64833         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64834         Silvermont.
64835         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64836         macro.
64837         (index_Slow_SSE4_2): Likewise.
64838         (index_Prefer_PMINUB_for_stringop): Likewise.
64839         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64840         bit_Slow_SSE4_2 is set.
64841         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64842         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64844 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64846         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64847         rtld_global._dl_hwcap2.
64848         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64849         POWER8.
64850         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64851         POWER8 feature descriptions defined in _dl_hwcap2.
64852         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64853         string handling for POWER8 feature bits.
64854         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64855         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64856         _dl_powerpc_cap_flags.
64857         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64858         * sysdeps/powerpc/rtld-global-offsets.sym
64859         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64860         _dl_hwcap2 in the rtld_global_ro structure.
64862 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64864         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64865         hardware capabilities in support of AT_HWCAP2.
64866         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64867         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64868         GLRO(dl_hwcap2).
64869         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64870         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64871         explicitly the unknown a_type display mechanism is used.
64872         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64873         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64874         struct member.
64875         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64876         to macro prototype for AT_HWCAP2 support.
64877         * sysdeps/i386/dl-procinfo.h: Likewise.
64878         * sysdeps/s390/dl-procinfo.h: Likewise.
64879         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64880         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64881         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64882         return -1 for unknown a_type display fallback.
64883         * sysdeps/sparc/dl-procinfo.h: Likewise.
64884         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64885         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64887 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64889         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64890         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64892 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64894         [BZ #12492]
64895         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64896         mprotect making __stack_prot writable.
64898 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64899             Joseph Myers  <joseph@codesourcery.com>
64901         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64902         as being properly aligned.
64904 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64906         * dlfcn/modstatic5.c: New file.
64907         * dlfcn/tststatic5.c: New file.
64908         * dlfcn/Makefile (tests): Add tststatic5.
64909         (tests-static): Likewise.
64910         (modules-names): Add modstatic5.
64911         (tststatic5-ENV): New variable.
64912         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64914         [BZ #15022]
64915         * elf/dl-support.c (_dl_main_map): New variable.
64916         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64917         (_dl_nns, _dl_load_adds): Set to 1.
64918         (_dl_initial_searchlist): Refer to _dl_main_map.
64919         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64920         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64921         call to _dl_get_origin.
64922         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64923         around call_map.
64924         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64925         * dlfcn/modstatic3.c: New file.
64926         * dlfcn/tststatic3.c: New file.
64927         * dlfcn/tststatic4.c: New file.
64928         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64929         (tests-static): Likewise.
64930         (modules-names): Add modstatic3.
64931         (tststatic3-ENV, tststatic4-ENV): New variables.
64932         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64933         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64935 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64937         * configure.in (CC): Require GCC version 4.4 or later.
64938         * configure: Regenerated.
64939         * manual/install.texi (Tools for Compilation): Update GCC version
64940         requirement.
64941         * INSTALL: Regenerated.
64943 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64945         [BZ #15674]
64946         * string/test-memcmp.c (check2): New.
64947         (main): Call check2.
64949         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64951 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64953         [BZ #15022]
64954         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64955         over to...
64956         (dl_open_worker) [!SHARED]: ... here.
64958 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64960         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64962 2013-06-25  Richard Henderson  <rth@redhat.com>
64964         * locale/programs/locarchive.c: Include <libc-internal.h>
64966 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64968         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64969         trailing whitespace removed.
64971 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64973         [BZ #10283]
64974         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64975         * locale/programs/locarchive.c: Include libc-mmap.h.
64976         (prepare_address_space): Take two new outputs (the mmap base and len).
64977         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64978         values.
64979         (create_archive): Declare new mmap base and len values for
64980         prepare_address_space, and store the result in ah.
64981         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64982         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64983         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64984         Declare new mmap base and len values for
64985         prepare_address_space, and store the result in new_ah.
64986         (open_archive): Declare new mmap base and len values for
64987         prepare_address_space, and store the result in ah.
64988         (close_archive): If ah->mmap_base is not NULL, use that and
64989         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64990         * sysdeps/generic/libc-mmap.h: New file.
64992 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64994         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64995         (ALIGN_UP): Likewise.
64996         (PTR_ALIGN_DOWN): Likewise.
64997         (PTR_ALIGN_UP): Likewise.
64999 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65001         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
65002         entry mapped to PPC_PLATFORM_POWER8.
65003         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
65004         POWER8.
65005         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
65006         (_dl_string_platform): Add case for exporting platform position for
65007         POWER8.
65008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
65009         search path to sysdeps/powerpc/powerpc32/power8 directory.
65010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
65011         search path to sysdeps/powerpc/powerpc64/power8 directory.
65012         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
65013         power7 directories.
65014         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
65015         power7 directories.
65017 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65019         * INSTALL: Regenerate.
65021         * nscd/connections.c (nscd_init): Fix comment.
65023 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
65025         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
65027         [BZ #15667]
65028         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
65029         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
65031 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
65033         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
65034         DL_DST_REQ_STATIC.
65035         (DL_DST_REQ_STATIC): Remove macro.
65037 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
65039         [BZ #7006]
65040         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
65041         with a shift of 0 bits.
65043 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
65045         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
65046         $(tststatic-ENV).
65048 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65050         [BZ #15655]
65051         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
65053 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65055         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
65056         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
65057         accepts -fno-tree-loop-distribute-patterns.
65058         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
65059         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
65060         recursive call.
65061         * string/memset.c (memset): Likewise.
65062         * string/test-memmove.c (simple_memmove): Disable loop transformation
65063         to library calls.
65064         * string/test-memset.c (simple_memset): Likewise.
65065         * benchtests/bench-memmove.c (simple_memmove): Likewise.
65066         * benchtests/bench-memset.c (simple_memset): Likewise.
65067         * configure: Regenerated.
65069 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
65071         * math/test-misc.c (main): Ignore fesetround failure when failures
65072         of subsequent rounding tests would be ignored.
65074         [BZ #15654]
65075         * math/fedisblxcpt.c (fedisableexcept): Return 0.
65076         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
65077         * math/fegetenv.c (__fegetenv): Return 0.
65078         * math/fegetexcept.c (fegetexcept): Return 0.
65079         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
65080         FE_TONEAREST.
65081         * math/feholdexcpt.c (feholdexcept): Return 0.
65082         * math/fesetenv.c (__fesetenv): Return 0.
65083         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
65084         argument FE_TONEAREST.
65085         * math/feupdateenv.c (__feupdateenv): Return 0.
65086         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
65088 2013-06-18  Roland McGrath  <roland@hack.frob.com>
65090         * elf/rtld-Rules (rtld-compile-command.S): New variable.
65091         (rtld-compile-command.s, rtld-compile-command.c): New variables.
65092         ($(objpfx)rtld-%.os rules): Use them.
65094 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65096         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
65097         fields.
65099 2013-06-17  Roland McGrath  <roland@hack.frob.com>
65101         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
65102         length of target pattern, then descending length of dependency pattern.
65103         * configure.in (AWK): Require gawk 3.1.2 or newer.
65104         * manual/install.texi (Tools for Compilation): Say that we do.
65105         * configure: Regenerated.
65107         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
65108         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
65109         * scripts/sysd-rules.awk: ... this new script.
65110         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
65111         than a glob-style pattern.
65113 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
65115         * math/test-misc.c (main): Do not treat incorrectly rounded
65116         conversions as failure unless ROUNDING_TESTS passes.
65118 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
65120         [BZ #15631]
65121         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
65122         restore exception state around main square root computation, then
65123         check for inexactness explicitly.
65125         * math/libm-test.inc (fma_test_data): Add another test.
65127 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65129         * manual/threads.texi (Non-POSIX Extensions): New document
65130         node.  Document pthread_getattr_default_np and
65131         pthread_setattr_default_np.
65133         * Versions.def (libpthread): Add GLIBC_2.18.
65134         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
65135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65136         Likewise.
65137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65138         Likewise.
65139         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65140         Likewise.
65141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65142         Likewise.
65143         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
65144         Likewise.
65145         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65146         Likewise.
65147         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65148         Likewise.
65149         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65150         Likewise.
65151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65152         Likewise.
65154 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65157         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
65159 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65160             H.J. Lu  <hjl.tools@gmail.com>
65162         [BZ #15627]
65163         * sysdeps/x86_64/rtld-memset.c: Remove file.
65164         * sysdeps/x86_64/rtld-memset.S: New file.
65166 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
65168         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65169         (test_in_one_mode): Take arguments for whether the rounding mode
65170         is supported for each floating-point type.
65171         (do_test): Pass new arguments to test_in_one_mode using
65172         ROUNDING_TESTS.
65174 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65176         * posix/tst-waitid.c (do_test): Distinguish different instances of
65177         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
65178         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65179         before entering the kernel for waitpid.
65181 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65183         * NEWS: Fix note on clock function precision.  Text by Roland
65184         McGrath.
65186 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65188         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65189         it into place only when and if the sanity check passes.
65191 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
65193         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65194         output for whether conversion result is exact.  Take argument
65195         indicating whether type is IBM long double.
65196         (round_for_all): Change need_exact field to ibm_ld.
65197         * stdlib/tst-strtod-round.c (struct exactness): New type.
65198         (struct test): Change bool ld_ok field to struct exactness exact.
65199         (TEST): Update all definitions for change to field.
65200         (tests): Regenerate array contents.
65201         (test_in_one_mode): Take pointer to new field instead of old ld_ok
65202         field value.  Check for IBM long double here.
65203         (do_test): Update calls to test_in_one_mode.
65205 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65207         [BZ #12515]
65208         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65209         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65211 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65213         [BZ #15605]
65214         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65215         generated by the compiler on loop optimizations.
65216         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65217         general definitions.
65219 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
65221         * math/bug-nextafter.c: Include <math-tests.h>.
65222         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65223         the relevant type.
65224         * math/bug-nexttoward.c: Include <math-tests.h>.
65225         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65226         the relevant type.
65227         * math/test-misc.c: Include <math-tests.h>.
65228         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65229         the relevant type.
65231 2013-06-12  Andreas Jaeger  <aj@suse.de>
65233         * po/ia.po: Update Interlingua translation from translation
65234         project.
65236 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65238         * include/fenv.h: Include stdbool.h.
65239         (struct rm_ctx): New structure.
65240         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65241         Define macro.
65242         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65243         (SET_RESTORE_ROUNDF): Likewise.
65244         (SET_RESTORE_ROUNDL): Likewise.
65245         (SET_RESTORE_ROUND_NOEX): Likewise.
65246         (SET_RESTORE_ROUND_NOEXF): Likewise.
65247         (SET_RESTORE_ROUND_NOEXL): Likewise.
65248         (SET_RESTORE_ROUND_53BIT): Likewise.
65249         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65250         (libc_feresetround_noexf_ctx): Likewise.
65251         (libc_feresetround_noexl_ctx): Likewise.
65252         (libc_feholdsetround_53bit_ctx): Likewise.
65253         (libc_feresetround_53bit_ctx): Likewise.
65254         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65255         (libc_feholdexcept_setround_sse_ctx): New function.
65256         (libc_fesetenv_sse_ctx): Likewise.
65257         (libc_feupdateenv_sse_ctx): Likewise.
65258         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65259         (libc_feholdexcept_setround_387_ctx): Likewise.
65260         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65261         (libc_feholdsetround_387_prec_ctx): Likewise.
65262         (libc_feholdsetround_387_ctx): Likewise.
65263         (libc_feholdsetround_387_53bit_ctx): Likewise.
65264         (libc_feholdsetround_sse_ctx): Likewise.
65265         (libc_feresetround_sse_ctx): Likewise.
65266         (libc_feresetround_387_ctx): Likewise.
65267         (libc_feupdateenv_387_ctx): Likewise.
65268         (libc_feholdexcept_setroundf_ctx): Define macro.
65269         (libc_fesetenvf_ctx): Likewise.
65270         (libc_feupdateenvf_ctx): Likewise.
65271         (libc_feholdsetroundf_ctx): Likewise.
65272         (libc_feresetroundf_ctx): Likewise.
65273         (libc_feholdexcept_setround_ctx): Likewise.
65274         (libc_fesetenv_ctx): Likewise.
65275         (libc_feupdateenv_ctx): Likewise.
65276         (libc_feholdsetround_ctx): Likewise.
65277         (libc_feresetround_ctx): Likewise.
65278         (libc_feholdexcept_setroundl_ctx): Likewise.
65279         (libc_feupdateenvl_ctx): Likewise.
65280         (libc_feholdsetroundl_ctx): Likewise.
65281         (libc_feresetroundl_ctx): Likewise.
65282         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65283         (libc_feresetround_53bit_ctx): Likewise.
65285 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65287         * locale/iso-639.def: Convert to UTF-8.
65289 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65291         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65292         (EXCEPTION_TESTS_double): Likewise.
65293         (EXCEPTION_TESTS_long_double): Likewise.
65294         (EXCEPTION_TESTS): Likewise.
65295         * math/libm-test.inc (test_exceptions): Only test exceptions if
65296         EXCEPTION_TESTS (FLOAT).
65298 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65300         * benchtests/Makefile (string-bench): Add strcpy_chk and
65301         stpcpy_chk.
65302         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65303         * benchtests/bench-stpcpy_chk.c: New file.
65304         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65305         * benchtests/bench-strcpy_chk.c: New file.
65306         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65307         code.
65308         (do_test): Likewise.
65310 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65312         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65313         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65314         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65315         with tabs where appropriate.
65316         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65317         dl-procinfo.h.
65318         [PPC_PLATFORM_PPC440]: Likewise.
65319         [PPC_PLATFORM_PPC464]: Likewise.
65320         [PPC_PLATFORM_PPC476]: Likewise.
65321         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65322         ppc464, and ppc476 platform strings merging from ports/
65323         dl-procinfo.h.
65325 2013-06-11  Andreas Schwab  <schwab@suse.de>
65327         [BZ #14991]
65328         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65329         (from_ucs4_idx): Regenerate.
65330         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65331         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65332         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65333         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65334         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65335         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65336         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65337         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65338         from FROM_LOOP and TO_LOOP specific macros.
65339         (BODY): Handle combining characters.
65340         * iconvdata/BIG5HKSCS.irreversible: Update.
65341         * iconvdata/BIG5HKSCS.precomposed: New file.
65342         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65343         characters.
65344         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65346 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65348         * include/sys/time.h: Fix indentation and add copyright header.
65350         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65351         (do_test): Likewise.
65352         * string/test-memchr.c (do_one_test): Likewise.
65353         (do_test): Likewise.
65354         * string/test-memcmp.c (do_one_test): Likewise.
65355         (do_test): Likewise.
65356         * string/test-memcpy.c (do_one_test): Likewise.
65357         (do_test): Likewise.
65358         * string/test-memmem.c (do_one_test): Likewise.
65359         (do_test): Likewise.
65360         (do_random_tests): Likewise.
65361         * string/test-memmove.c (do_one_test): Likewise.
65362         (do_test): Likewise.
65363         * string/test-memset.c (do_one_test): Likewise.
65364         (do_test): Likewise.
65365         * string/test-rawmemchr.c (do_one_test): Likewise.
65366         (do_test): Likewise.
65367         * string/test-strcasecmp.c (do_one_test): Likewise.
65368         (do_test): Likewise.
65369         * string/test-strcasestr.c (do_one_test): Likewise.
65370         (do_test): Likewise.
65371         * string/test-strcat.c (do_one_test): Likewise.
65372         (do_test): Likewise.
65373         * string/test-strchr.c (do_one_test): Likewise.
65374         (do_test): Likewise.
65375         * string/test-strcmp.c (do_one_test): Likewise.
65376         (do_test): Likewise.
65377         * string/test-strcpy.c (do_one_test): Likewise.
65378         (do_test): Likewise.
65379         * string/test-string.h: Likewise.
65380         (test_init): Likewise.
65381         * string/test-strlen.c (do_one_test): Likewise.
65382         (do_test): Likewise.
65383         * string/test-strncasecmp.c (do_one_test): Likewise.
65384         (do_test): Likewise.
65385         * string/test-strncat.c (do_one_test): Likewise.
65386         (do_test): Likewise.
65387         * string/test-strncmp.c (do_one_test): Likewise.
65388         (do_test_limit): Likewise.
65389         (do_test): Likewise.
65390         * string/test-strncpy.c (do_one_test): Likewise.
65391         (do_test): Likewise.
65392         * string/test-strnlen.c (do_one_test): Likewise.
65393         (do_test): Likewise.
65394         * string/test-strpbrk.c (do_one_test): Likewise.
65395         (do_test): Likewise.
65396         * string/test-strrchr.c (do_one_test): Likewise.
65397         (do_test): Likewise.
65398         * string/test-strspn.c (do_one_test): Likewise.
65399         (do_test): Likewise.
65400         * string/test-strstr.c (do_one_test): Likewise.
65401         (do_test): Likewise.
65403         * benchtests/Makefile (string-bench): Add string benchmarks.
65404         * benchtests/bench-bcopy-ifunc.c: New file.
65405         * benchtests/bench-bcopy.c: New file.
65406         * benchtests/bench-bzero-ifunc.c: New file.
65407         * benchtests/bench-bzero.c: New file.
65408         * benchtests/bench-memccpy-ifunc.c: New file.
65409         * benchtests/bench-memccpy.c: New file.
65410         * benchtests/bench-memchr-ifunc.c: New file.
65411         * benchtests/bench-memchr.c: New file.
65412         * benchtests/bench-memcmp-ifunc.c: New file.
65413         * benchtests/bench-memcmp.c: New file.
65414         * benchtests/bench-memmem-ifunc.c: New file.
65415         * benchtests/bench-memmem.c: New file.
65416         * benchtests/bench-memmove-ifunc.c: New file.
65417         * benchtests/bench-memmove.c: New file.
65418         * benchtests/bench-mempcpy-ifunc.c: New file.
65419         * benchtests/bench-mempcpy.c: New file.
65420         * benchtests/bench-memset-ifunc.c: New file.
65421         * benchtests/bench-memset.c: New file.
65422         * benchtests/bench-rawmemchr-ifunc.c: New file.
65423         * benchtests/bench-rawmemchr.c: New file.
65424         * benchtests/bench-stpcpy-ifunc.c: New file.
65425         * benchtests/bench-stpcpy.c: New file.
65426         * benchtests/bench-stpncpy-ifunc.c: New file.
65427         * benchtests/bench-stpncpy.c: New file.
65428         * benchtests/bench-strcasecmp-ifunc.c: New file.
65429         * benchtests/bench-strcasecmp.c: New file.
65430         * benchtests/bench-strcasestr-ifunc.c: New file.
65431         * benchtests/bench-strcasestr.c: New file.
65432         * benchtests/bench-strcat-ifunc.c: New file.
65433         * benchtests/bench-strcat.c: New file.
65434         * benchtests/bench-strchr-ifunc.c: New file.
65435         * benchtests/bench-strchr.c: New file.
65436         * benchtests/bench-strchrnul-ifunc.c: New file.
65437         * benchtests/bench-strchrnul.c: New file.
65438         * benchtests/bench-strcmp-ifunc.c: New file.
65439         * benchtests/bench-strcmp.c: New file.
65440         * benchtests/bench-strcpy-ifunc.c: New file.
65441         * benchtests/bench-strcpy.c: New file.
65442         * benchtests/bench-strcspn-ifunc.c: New file.
65443         * benchtests/bench-strcspn.c: New file.
65444         * benchtests/bench-strlen-ifunc.c: New file.
65445         * benchtests/bench-strlen.c: New file.
65446         * benchtests/bench-strncasecmp-ifunc.c: New file.
65447         * benchtests/bench-strncasecmp.c: New file.
65448         * benchtests/bench-strncat-ifunc.c: New file.
65449         * benchtests/bench-strncat.c: New file.
65450         * benchtests/bench-strncmp-ifunc.c: New file.
65451         * benchtests/bench-strncmp.c: New file.
65452         * benchtests/bench-strncpy-ifunc.c: New file.
65453         * benchtests/bench-strncpy.c: New file.
65454         * benchtests/bench-strnlen-ifunc.c: New file.
65455         * benchtests/bench-strnlen.c: New file.
65456         * benchtests/bench-strpbrk-ifunc.c: New file.
65457         * benchtests/bench-strpbrk.c: New file.
65458         * benchtests/bench-strrchr-ifunc.c: New file.
65459         * benchtests/bench-strrchr.c: New file.
65460         * benchtests/bench-strspn-ifunc.c: New file.
65461         * benchtests/bench-strspn.c: New file.
65462         * benchtests/bench-strstr-ifunc.c: New file.
65463         * benchtests/bench-strstr.c: New file.
65465         * benchtests/Makefile: Disable parallel execution of targets.
65466         (string-bench): Add memcpy.
65467         (benchset): New variable to store a list of benchmark sets.
65468         (bench-func): Renamed from bench.
65469         (bench-set): New target.
65470         (bench): Depend on bench-func and bench-set.
65471         * benchtests/README: Add section on benchmark sets.
65472         * benchtests/bench-memcpy-ifunc.c: New file.
65473         * benchtests/bench-memcpy.c: New file.
65474         * benchtests/bench-string.h: New file.
65476 2013-06-11  Andreas Schwab  <schwab@suse.de>
65478         [BZ #15577]
65479         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65480         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65481         values in the triple.
65482         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65483         terminator in the group key.
65485 2013-06-11  Andreas Jaeger  <aj@suse.de>
65487         * po/zh_TW.po: Update Chinese (traditional) translation from
65488         translation project.
65490 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65492         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65493         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65494         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65495         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65496         (clock_getcpuclockid): Likewise.
65497         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65498         Add weak_alias and libc_hidden_def.
65499         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65500         * rt/clock_gettime.c (clock_gettime): Rename to
65501         __clock_gettime.  Add weak_alias and libc_hidden_def.
65502         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65503         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65504         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65505         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65506         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65507         Likewise.
65508         * rt/clock_settime.c (clock_settime): Rename to
65509         __clock_settime.  Add weak_alias and libc_hidden_def.
65510         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65512 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65514         * mach/err_boot.sub: Remove trailing whitespace.
65515         * mach/err_ipc.sub: Likewise.
65516         * mach/err_mach.sub: Likewise.
65518         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65519         (ROUNDING_TESTS_double): Likewise.
65520         (ROUNDING_TESTS_long_double): Likewise.
65521         (ROUNDING_TESTS): Likewise.
65522         * math/libm-test.inc: Include <math-tests.h>.
65523         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65524         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65525         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65526         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65528 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65530         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65531         of assigning.
65533 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65535         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65536         otherwise empty TRANS lines.
65537         * sysdeps/gnu/errlist.c: Regenerated.
65539         * catgets/gencat.c (error_print): Use (void) in function
65540         definition.
65541         * crypt/crypt_util.c (__init_des): Likewise.
65542         * crypt/speeds.c (Stop): Likewise.
65543         (main): Likewise.
65544         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65545         * inet/ruserpass.c (token): Likewise.
65546         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65547         * intl/localealias.c (extend_alias_table): Likewise.
65548         * intl/plural-exp.c (init_germanic_plural): Likewise.
65549         * libio/fcloseall.c (__fcloseall): Likewise.
65550         * libio/genops.c (_IO_flush_all): Likewise.
65551         (_IO_flush_all_linebuffered): Likewise.
65552         (_IO_cleanup): Likewise.
65553         (_IO_iter_begin): Likewise.
65554         (_IO_iter_end): Likewise.
65555         (_IO_list_lock): Likewise.
65556         (_IO_list_unlock): Likewise.
65557         (_IO_list_resetlock): Likewise.
65558         * libio/getchar.c (getchar): Likewise.
65559         * libio/getchar_u.c (getchar_unlocked): Likewise.
65560         * libio/getwchar.c (getwchar): Likewise.
65561         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65562         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65563         * login/getpt.c (__getpt): Likewise.
65564         * login/tst-utmp.c (main): Likewise.
65565         * malloc/hooks.c (__malloc_check_init): Likewise.
65566         * malloc/malloc.c (__malloc_stats): Likewise.
65567         * malloc/mtrace.c (tr_break): Likewise.
65568         (mtrace): Likewise.
65569         (muntrace): Likewise.
65570         * misc/fstab.c (endfsent): Likewise.
65571         * misc/getclktck.c (__getclktck): Likewise.
65572         * misc/getdtsz.c (__getdtablesize): Likewise.
65573         * misc/gethostid.c (gethostid): Likewise.
65574         * misc/getpagesize.c (__getpagesize): Likewise.
65575         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65576         (__get_nprocs): Likewise.
65577         (__get_phys_pages): Likewise.
65578         (__get_avphys_pages): Likewise.
65579         * misc/getttyent.c (getttyent): Likewise.
65580         (setttyent): Likewise.
65581         (endttyent): Likewise.
65582         * misc/getusershell.c (getusershell): Likewise.
65583         (endusershell): Likewise.
65584         (setusershell): Likewise.
65585         (initshells): Likewise.
65586         * misc/hsearch.c (__hdestroy): Likewise.
65587         * misc/sync.c (sync): Likewise.
65588         * misc/syslog.c (closelog_internal): Likewise.
65589         (closelog): Likewise.
65590         * misc/ttyslot.c (ttyslot): Likewise.
65591         * misc/vhangup.c (vhangup): Likewise.
65592         * posix/fork.c (__fork): Likewise.
65593         * posix/getegid.c (__getegid): Likewise.
65594         * posix/geteuid.c (__geteuid): Likewise.
65595         * posix/getgid.c (__getgid): Likewise.
65596         * posix/getpid.c (__getpid): Likewise.
65597         * posix/getppid.c (__getppid): Likewise.
65598         * posix/getuid.c (__getuid): Likewise.
65599         * posix/pause.c (pause): Likewise.
65600         * posix/setpgrp.c (setpgrp): Likewise.
65601         * posix/setsid.c (__setsid): Likewise.
65602         * posix/test-vfork.c (noop): Likewise.
65603         * resolv/gethnamaddr.c (_endhtent): Likewise.
65604         (_gethtent): Likewise.
65605         (ht_endhostent): Likewise.
65606         (gethostent): Likewise.
65607         (dns_service): Likewise.
65608         * stdlib/drand48.c (drand48): Likewise.
65609         * stdlib/lrand48.c (lrand48): Likewise.
65610         * stdlib/mrand48.c (mrand48): Likewise.
65611         * stdlib/rand.c (rand): Likewise.
65612         * stdlib/random.c (__random): Likewise.
65613         * stdlib/setenv.c (clearenv): Likewise.
65614         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65615         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65616         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65617         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65618         (__get_nprocs): Likewise.
65619         (__get_phys_pages): Likewise.
65620         (__get_avphys_pages): Likewise.
65621         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65622         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65623         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65624         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65625         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65626         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65627         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65628         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65629         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65630         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65631         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65632         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65633         * sysdeps/posix/clock.c (clock): Likewise.
65634         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65635         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65636         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65637         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65638         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65639         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65640         (__get_nprocs_conf): Likewise.
65641         (__get_phys_pages): Likewise.
65642         (__get_avphys_pages): Likewise.
65643         * time/clock.c (clock): Likewise.
65644         * time/tzset.c (__tzname_max): Likewise.
65646 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65648         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65649         (__bswap_32): Do not use "register".
65650         * crypt/crypt.c (_ufc_doit_r): Likewise.
65651         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65652         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65653         * gmon/gmon.c (__monstartup): Likewise.
65654         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65655         * hurd/hurdmalloc.c (more_memory): Likewise.
65656         (malloc): Likewise.
65657         (free): Likewise.
65658         (realloc): Likewise.
65659         (malloc_fork_prepare): Likewise.
65660         (malloc_fork_parent): Likewise.
65661         (malloc_fork_child): Likewise.
65662         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65663         (_svcauth_des): Likewise.
65664         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65665         * inet/inet_net.c (inet_network): Likewise.
65666         * inet/inet_netof.c (inet_netof): Likewise.
65667         * inet/rcmd.c (__validuser2_sa): Likewise.
65668         * io/fts.c (fts_open): Likewise.
65669         (fts_load): Likewise.
65670         (fts_close): Likewise.
65671         (fts_read): Likewise.
65672         (fts_children): Likewise.
65673         (fts_build): Likewise.
65674         (fts_stat): Likewise.
65675         (fts_sort): Likewise.
65676         (fts_alloc): Likewise.
65677         (fts_lfree): Likewise.
65678         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65679         (_IO_file_xsgetn): Likewise.
65680         (_IO_file_xsgetn_mmap): Likewise.
65681         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65682         (_IO_cookie_write): Likewise.
65683         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65684         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65685         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65686         * malloc/obstack.c (_obstack_begin): Likewise.
65687         (_obstack_begin_1): Likewise.
65688         (_obstack_newchunk): Likewise.
65689         (_obstack_allocated_p): Likewise.
65690         (obstack_free): Likewise.
65691         (_obstack_memory_used): Likewise.
65692         * misc/getttyent.c (getttynam): Likewise.
65693         (getttyent): Likewise.
65694         (skip): Likewise.
65695         (value): Likewise.
65696         * misc/getusershell.c (initshells): Likewise.
65697         * misc/syslog.c (__vsyslog_chk): Likewise.
65698         * misc/ttyslot.c (ttyslot): Likewise.
65699         * nis/nis_hash.c (__nis_hash): Likewise.
65700         * posix/fnmatch_loop.c (FCT): Likewise.
65701         * posix/getconf.c (print_all): Likewise.
65702         (main): Likewise.
65703         * posix/getopt.c (exchange): Likewise.
65704         * posix/glob.c (globfree): Likewise.
65705         (prefix_array): Likewise.
65706         (__glob_pattern_type): Likewise.
65707         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65708         (NS_GET32): Likewise.
65709         (NS_PUT16): Likewise.
65710         (NS_PUT32): Likewise.
65711         * resolv/gethnamaddr.c (getanswer): Likewise.
65712         (gethostbyname2): Likewise.
65713         (gethostbyaddr): Likewise.
65714         (_gethtent): Likewise.
65715         (_gethtbyname2): Likewise.
65716         (_gethtbyaddr): Likewise.
65717         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65718         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65719         * resolv/res_init.c (__res_vinit): Likewise.
65720         (net_mask): Likewise.
65721         * resolv/res_mkquery.c (outchar): Likewise.
65722         (PRINT): Likewise.
65723         * stdio-common/printf_fp.c (outchar): Likewise.
65724         (PRINT): Likewise.
65725         * stdio-common/printf_fphex.c (outchar): Likewise.
65726         (PRINT): Likewise.
65727         * stdio-common/printf_size.c (outchar): Likewise.
65728         (PRINT): Likewise.
65729         * stdio-common/test_rdwr.c (main): Likewise.
65730         * stdio-common/tfformat.c (matches): Likewise.
65731         * stdio-common/vfprintf.c (outchar): Likewise.
65732         (printf_unknown): Likewise.
65733         (buffered_vfprintf): Likewise.
65734         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65735         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65736         (ReadFile): Likewise.
65737         * stdlib/qsort.c (SWAP): Likewise.
65738         (_quicksort): Likewise.
65739         * stdlib/setenv.c (__add_to_environ): Likewise.
65740         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65741         * stdlib/strtol_l.c (__strtol_l): Likewise.
65742         * stdlib/tst-strtod.c (main): Likewise.
65743         * stdlib/tst-strtol.c (main): Likewise.
65744         * stdlib/tst-strtoll.c (main): Likewise.
65745         * string/bits/string2.h (__strcmp_cc): Likewise.
65746         (__strcmp_cg): Likewise.
65747         (__strcspn_c1): Likewise.
65748         (__strcspn_c2): Likewise.
65749         (__strcspn_c3): Likewise.
65750         (__strspn_c1): Likewise.
65751         (__strspn_c2): Likewise.
65752         (__strspn_c3): Likewise.
65753         (__strsep_1c): Likewise.
65754         (__strsep_2c): Likewise.
65755         (__strsep_3c): Likewise.
65756         * string/memccpy.c (__memccpy): Likewise.
65757         * string/stpcpy.c (__stpcpy): Likewise.
65758         * string/strcmp.c (strcmp): Likewise.
65759         * string/strrchr.c (strrchr): Likewise.
65760         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65761         Likewise.
65762         * sysdeps/mach/hurd/getcwd.c
65763         (_hurd_canonicalize_directory_name_internal): Likewise.
65764         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65765         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65766         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65767         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65768         Likewise, in both definitions.
65769         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65770         definitions.
65771         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65772         64] (__bswap_64): Likewise.
65773         * time/test_time.c (main): Likewise.
65774         * time/tzfile.c (__tzfile_read): Likewise.
65775         (__tzfile_compute): Likewise.
65776         * time/tzset.c (__tzset_parse_tz): Likewise.
65777         (tzset_internal): Likewise.
65778         (compute_change): Likewise.
65779         * wcsmbs/wcscat.c (__wcscat): Likewise.
65780         * wcsmbs/wcschr.c (wcschr): Likewise.
65781         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65782         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65783         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65784         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65785         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65786         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65787         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65788         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65789         * wcsmbs/wmemset.c (wmemset): Likewise.
65791 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65793         * scripts/config.guess: Update to version 2013-05-16.
65794         * scripts/config.sub: Update to version 2013-04-24.
65795         * scripts/install-sh: Update to version 2011-11-20.07.
65796         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65797         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65799 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
65801         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65802         * elf/sln.c: Likewise.
65803         * hurd/hurd/ioctl.h: Likewise.
65804         * hurd/hurdmalloc.c: Likewise.
65805         * hurd/xattr.c: Likewise.
65806         * include/shlib-compat.h: Likewise.
65807         * inet/ruserpass.c: Likewise.
65808         * libio/iofgets_u.c: Likewise.
65809         * libio/iofgetws_u.c: Likewise.
65810         * locale/programs/ld-identification.c: Likewise.
65811         * locale/programs/ld-time.c: Likewise.
65812         * mach/msg-destroy.c: Likewise.
65813         * nss/nss_files/files-netgrp.c: Likewise.
65814         * resolv/res_data.c: Likewise.
65815         * soft-fp/op-1.h: Likewise.
65816         * soft-fp/op-2.h: Likewise.
65817         * soft-fp/op-4.h: Likewise.
65818         * soft-fp/op-common.h: Likewise.
65819         * stdio-common/printf_fphex.c: Likewise.
65820         * stdlib/strtod_l.c: Likewise.
65821         * sunrpc/rpc/clnt.h: Likewise.
65822         * sysdeps/generic/framestate.c: Likewise.
65823         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65824         * sysdeps/i386/bsd-setjmp.S: Likewise.
65825         * sysdeps/i386/__longjmp.S: Likewise.
65826         * sysdeps/i386/setjmp.S: Likewise.
65827         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65828         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65829         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65830         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65831         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65832         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65833         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65834         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65835         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65836         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65837         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65838         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65839         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65840         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65841         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65842         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65843         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65844         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65845         * sysdeps/ieee754/support.c: Likewise.
65846         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65847         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65848         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65849         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65850         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65851         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65852         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65853         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65854         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65855         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65856         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65857         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65858         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65859         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65860         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65861         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65862         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65865 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
65867         * posix/transbug.c: Remove executable mode.
65869 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65871         * crypt/speeds.c: Remove trailing whitespace.
65872         * dlfcn/default.c: Likewise.
65873         * elf/ifuncdep2.c: Likewise.
65874         * elf/ifuncmain1.c: Likewise.
65875         * elf/ifuncmain1vis.c: Likewise.
65876         * elf/testobj.h: Likewise.
65877         * elf/tst-stackguard1.c: Likewise.
65878         * gmon/sys/gmon.h: Likewise.
65879         * hurd/hurdmsg.c: Likewise.
65880         * hurd/new-fd.c: Likewise.
65881         * hurd/ports-get.c: Likewise.
65882         * iconvdata/ibm1008_420.c: Likewise.
65883         * inet/tst-getni1.c: Likewise.
65884         * inet/tst-getni2.c: Likewise.
65885         * libio/ioungetc.c: Likewise.
65886         * libio/wfiledoalloc.c: Likewise.
65887         * manual/libm-err-tab.pl: Likewise.
65888         * math/w_dremf.c: Likewise.
65889         * misc/ftruncate.c: Likewise.
65890         * posix/bug-glob2.c: Likewise.
65891         * posix/tst-pcre.c: Likewise.
65892         * posix/wait4.c: Likewise.
65893         * resolv/README: Likewise.
65894         * resolv/res_debug.h: Likewise.
65895         * resolv/tst-inet_ntop.c: Likewise.
65896         * setjmp/bug269-setjmp.c: Likewise.
65897         * soft-fp/extended.h: Likewise.
65898         * soft-fp/op-1.h: Likewise.
65899         * soft-fp/op-2.h: Likewise.
65900         * soft-fp/op-4.h: Likewise.
65901         * soft-fp/op-8.h: Likewise.
65902         * soft-fp/testit.c: Likewise.
65903         * stdio-common/bug16.c: Likewise.
65904         * stdlib/random.c: Likewise.
65905         * sunrpc/rpcsvc/rquota.x: Likewise.
65906         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65907         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65908         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65909         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65910         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65911         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65912         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65913         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65914         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65915         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65916         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65917         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65918         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65919         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65920         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65921         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65922         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65923         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65924         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65925         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65926         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65927         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65928         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65929         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65930         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65931         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65933         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65934         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65935         * sysdeps/ieee754/s_lib_version.c: Likewise.
65936         * sysdeps/mach/hurd/check_fds.c: Likewise.
65937         * sysdeps/mach/hurd/getsockname.c: Likewise.
65938         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65939         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65940         * sysdeps/powerpc/bits/link.h: Likewise.
65941         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65942         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65943         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65944         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65945         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65946         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65947         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65948         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65949         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65950         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65951         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65952         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65953         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65954         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65955         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65956         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65957         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65958         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65962         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65963         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65964         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65965         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65966         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65967         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65968         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65969         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65970         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65972         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65973         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65974         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65975         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65976         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65977         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65978         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65979         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65980         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65981         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65982         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65983         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65984         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65985         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65986         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65987         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65988         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65989         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65990         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65991         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65993         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65994         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65995         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65996         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65997         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65998         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65999         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
66000         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
66001         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
66002         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
66003         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
66004         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66005         * sysdeps/powerpc/sysdep.h: Likewise.
66006         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66007         * sysdeps/s390/s390-64/sub_n.S: Likewise.
66008         * sysdeps/sh/dl-trampoline.S: Likewise.
66009         * sysdeps/sh/memset.S: Likewise.
66010         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
66011         * sysdeps/sh/strlen.S: Likewise.
66012         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
66013         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
66014         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
66015         * sysdeps/sparc/sparc32/rem.S: Likewise.
66016         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
66017         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
66018         * sysdeps/sparc/sparc32/strchr.S: Likewise.
66019         * sysdeps/sparc/sparc32/udiv.S: Likewise.
66020         * sysdeps/sparc/sparc32/urem.S: Likewise.
66021         * sysdeps/sparc/sparc64/add_n.S: Likewise.
66022         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66023         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
66024         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
66025         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
66026         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
66027         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
66028         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
66029         * sysdeps/unix/bsd/times.c: Likewise.
66030         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
66031         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
66032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
66033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
66034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
66035         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
66036         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
66037         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
66038         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
66039         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
66040         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
66041         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66042         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
66043         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66044         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66045         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
66046         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66047         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
66048         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
66049         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
66050         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
66051         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
66052         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66053         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
66054         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
66055         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
66056         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
66057         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66058         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
66059         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
66060         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
66061         * sysdeps/x86_64/strcspn.S: Likewise.
66063 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66065         * locale/C-translit.h: Revert #include <stdint.h> because this is a
66066         generated file.  Regenerate properly from gen-translit.pl.
66067         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
66068         locale/C-translit.h.
66070 2013-06-05  Andreas Schwab  <schwab@suse.de>
66072         [BZ #15100]
66073         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
66074         week as 6 instead of -1.
66075         * time/tst-strptime.c (day_tests): Add test case.
66077 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66079         * sysdeps/generic/math_private.h
66080         (libc_feholdexcept_setround_53bit): Replace with
66081         libc_feholdsetround_53bit.
66082         (libc_feupdateenv_53bit): Replace with
66083         libc_feresetround_53bit.
66084         (SET_RESTORE_ROUND_53BIT): Adjust.
66086 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66088         * string/test-strchrnul.c: Add copyright header.
66090         * posix/tst-getaddrinfo4.c: Increase test timeout.
66092 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
66094         [BZ #15536]
66095         * math/libm-test.inc (MAX_EXP): Remove
66096         (MIN_EXP): Define.
66097         (ulp): Use MIN_EXP - MANT_DIG.
66098         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
66100 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
66102         * po/be.po: Revert last change.
66103         * po/zh_CN.po: Likewise.
66104         * po/header.pot: Likewise.
66106 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
66108         * Makefile ($(common-objpfx)linkobj/libc.so): Define
66109         link-libc-deps to empty as target-specific variable.
66110         * Makerules (link-libc-args): New variable.
66111         (libc-for-link): Likewise.
66112         (link-libc-deps): Likewise.
66113         (lib%.so): Depend on $(link-libc-deps).  Link with
66114         $(link-libc-args).
66115         (build-module): Link with $(link-libc-args).
66116         (build-module-asneeded): Likewise.
66117         (build-module-helper-objlist): Filter out $(link-libc-deps) from
66118         list of objects.
66119         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
66120         target-specific variable.
66121         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
66122         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
66123         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
66124         libc.
66125         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
66126         libc and ld.so.
66127         ($(objpfx)libpcprofile.so): Likewise.
66128         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
66129         libc_nonshared.a.
66130         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
66131         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
66132         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
66133         $(link-libc-deps).
66134         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
66135         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
66136         * login/Makefile ($(objpfx)libutil.so): Likewise.
66137         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
66138         * math/Makefile ($(objpfx)libm.so): Likewise.
66139         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
66140         $(objpfx)libnsl.so): Define libc-for-link as target-specific
66141         variable instead of depending directly on libc.
66142         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
66143         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
66144         $(link-libc-deps).
66145         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
66146         libc.
66147         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
66148         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
66149         ($(objpfx)libanl.so): Likewise.
66150         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
66151         ld.so.
66152         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
66153         $(link-libc-deps).
66154         * sysdeps/i386/fpu/Makefile: Remove file.
66155         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
66156         ($(objpfx)libm.so): Remove dependency on ld.so.
66158 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
66160         [BZ # 15553]
66161         * nis/yp_xdr.c (XDRMAXNAME): Define.
66162         (XDRMAXRECORD): Define.
66163         (xdr_domainname): Use XDRMAXNAME.
66164         (xdr_mapname): Likewise.
66165         (xdr_peername): Likewise.
66166         (xdr_keydat): Use XDRMAXRECORD.
66167         (xdr_valdat): Likewise.
66169 2013-05-30  Jeff Law  <law@redhat.com>
66171         [BZ #14256]
66172         * manual/errno.texi (ESTALE): Update to account for more than
66173         just NFS file systems.
66174         * sysdeps/gnu/errlist.c: Regenerated.
66176 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66178         [BZ #15465]
66179         * elf/Makefile (tests): Add tst-null-argv.
66180         (modules-names):  Add tst-null-argv-lib.
66181         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66182         (tst-null-argv-ENV): Set environment for tst-null-argv.
66183         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66184         (RTLD_PROGNAME): New macro.
66185         * elf/tst-null-argv.c: New test case.
66186         * elf/tst-null-argv-lib.c: Library for test case.
66187         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66188         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66189         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66190         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66191         * elf/dl-init.c (call_init): Likewise.
66192         (_dl_init): Likewise.
66193         * elf/dl-load.c (print_search_path): Likewise.
66194         (_dl_map_object): Likewise.
66195         * elf/dl-lookup.c (do_lookup_x): Likewise.
66196         (add_dependency): Likewise.
66197         (_dl_lookup_symbol_x): Likewise.
66198         (_dl_debug_bindings): Likewise.
66199         * elf/dl-open.c (_dl_show_scope): Likewise.
66200         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66201         * elf/dl-version.c (match_symbol): Likewise.
66202         (_dl_check_map_versions): Likewise.
66203         * elf/rtld.c (dl_main): Likewise.
66204         (print_unresolved): Use RTLD_PROGNAME.
66205         (print_missing_version): Likewise.
66206         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66207         (elf_machine_rela): Likewise.
66208         * sysdeps/powerpc/powerpc32/dl-machine.c
66209         (__process_machine_rela): Likewise.
66210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66211         Likewise.
66212         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66213         Likewise.
66214         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66215         Likewise.
66216         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66217         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66218         Likewise.
66219         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66220         Likewise.
66221         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66223 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
66225         * po/be.po: Add descriptive title.
66226         * po/zh_CN.po: Likewise.
66227         * po/header.pot: Likewise.
66229 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
66231         * locale/programs/locarchive.c (create_archive): Inlucde fname in
66232         error message.
66233         (enlarge_archive): Likewise.
66235 2013-05-28  Ben North  <ben@redfrontdoor.org>
66237         * manual/arith.texi (frexp): It is the magnitude of the return
66238         value which lies in [0.5, 1), not the return value itself.
66240 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66244 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
66246         * stdio-common/bug26.c (main): Correct fscanf template.
66248         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66249         declare _dl_skip_args.
66251         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66252         Don't declare.
66254         * manual/platform.texi: Add missing @end deftypefun.
66256 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66258         [BZ #15529]
66259         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66260         bit of mantissa of 2^16382.
66261         * math/libm-test.inc (hypot_test_data): Add more tests.
66263         * math/libm-test.inc: Add drem and pow10 to list of tested
66264         functions.
66265         (pow10_test): New function.
66266         (drem_test): Likewise.
66267         (drem_test_tonearest): Likewise.
66268         (drem_test_towardzero): Likewise.
66269         (drem_test_downward): Likewise.
66270         (drem_test_upward): Likewise.
66271         (main): Call the new functions.
66273         * math/libm-test.inc (finite_test_data): Remove.
66274         (finite_test): Run tests from isfinite_test_data.
66275         (gamma_test_data): Remove.
66276         (gamma_test): Run tests from lgamma_test_data.
66277         * sysdeps/i386/fpu/libm-test-ulps: Update.
66278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66280 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66282         * manual/platform.texi: Add PowerPC PPR function set documentation.
66283         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66284         implementation.
66286 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66288         * math/libm-test.inc (MAX_EXP): Define.
66289         (ULPDIFF): Define.
66290         (ulp): New function.
66291         (check_float_internal): Use ULPDIFF.
66292         (cpow_test): Disable failing test.
66293         (check_ulp): Test ulp() implementation.
66294         (main): Call check_ulp before starting tests.
66296 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66298         * math/gen-libm-test.pl (generate_testfile): Do not handle
66299         START_DATA and END_DATA.
66300         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66301         END_DATA.
66302         (acos_tonearest_test_data): Likewise.
66303         (acos_towardzero_test_data): Likewise.
66304         (acos_downward_test_data): Likewise.
66305         (acos_upward_test_data): Likewise.
66306         (acosh_test_data): Likewise.
66307         (asin_test_data): Likewise.
66308         (asin_tonearest_test_data): Likewise.
66309         (asin_towardzero_test_data): Likewise.
66310         (asin_downward_test_data): Likewise.
66311         (asin_upward_test_data): Likewise.
66312         (asinh_test_data): Likewise.
66313         (atan_test_data): Likewise.
66314         (atanh_test_data): Likewise.
66315         (atan2_test_data): Likewise.
66316         (cabs_test_data): Likewise.
66317         (cacos_test_data): Likewise.
66318         (cacosh_test_data): Likewise.
66319         (carg_test_data): Likewise.
66320         (casin_test_data): Likewise.
66321         (casinh_test_data): Likewise.
66322         (catan_test_data): Likewise.
66323         (catanh_test_data): Likewise.
66324         (cbrt_test_data): Likewise.
66325         (ccos_test_data): Likewise.
66326         (ccosh_test_data): Likewise.
66327         (ceil_test_data): Likewise.
66328         (cexp_test_data): Likewise.
66329         (cimag_test_data): Likewise.
66330         (clog_test_data): Likewise.
66331         (clog10_test_data): Likewise.
66332         (conj_test_data): Likewise.
66333         (copysign_test_data): Likewise.
66334         (cos_test_data): Likewise.
66335         (cos_tonearest_test_data): Likewise.
66336         (cos_towardzero_test_data): Likewise.
66337         (cos_downward_test_data): Likewise.
66338         (cos_upward_test_data): Likewise.
66339         (cosh_test_data): Likewise.
66340         (cosh_tonearest_test_data): Likewise.
66341         (cosh_towardzero_test_data): Likewise.
66342         (cosh_downward_test_data): Likewise.
66343         (cosh_upward_test_data): Likewise.
66344         (cpow_test_data): Likewise.
66345         (cproj_test_data): Likewise.
66346         (creal_test_data): Likewise.
66347         (csin_test_data): Likewise.
66348         (csinh_test_data): Likewise.
66349         (csqrt_test_data): Likewise.
66350         (ctan_test_data): Likewise.
66351         (ctan_tonearest_test_data): Likewise.
66352         (ctan_towardzero_test_data): Likewise.
66353         (ctan_downward_test_data): Likewise.
66354         (ctan_upward_test_data): Likewise.
66355         (ctanh_test_data): Likewise.
66356         (ctanh_tonearest_test_data): Likewise.
66357         (ctanh_towardzero_test_data): Likewise.
66358         (ctanh_downward_test_data): Likewise.
66359         (ctanh_upward_test_data): Likewise.
66360         (erf_test_data): Likewise.
66361         (erfc_test_data): Likewise.
66362         (exp_test_data): Likewise.
66363         (exp_tonearest_test_data): Likewise.
66364         (exp_towardzero_test_data): Likewise.
66365         (exp_downward_test_data): Likewise.
66366         (exp_upward_test_data): Likewise.
66367         (exp10_test_data): Likewise.
66368         (exp2_test_data): Likewise.
66369         (expm1_test_data): Likewise.
66370         (fabs_test_data): Likewise.
66371         (fdim_test_data): Likewise.
66372         (finite_test_data): Likewise.
66373         (floor_test_data): Likewise.
66374         (fma_test_data): Likewise.
66375         (fma_towardzero_test_data): Likewise.
66376         (fma_downward_test_data): Likewise.
66377         (fma_upward_test_data): Likewise.
66378         (fmax_test_data): Likewise.
66379         (fmin_test_data): Likewise.
66380         (fmod_test_data): Likewise.
66381         (fpclassify_test_data): Likewise.
66382         (frexp_test_data): Likewise.
66383         (gamma_test_data): Likewise.
66384         (hypot_test_data): Likewise.
66385         (ilogb_test_data): Likewise.
66386         (isfinite_test_data): Likewise.
66387         (isgreater_test_data): Likewise.
66388         (isgreaterequal_test_data): Likewise.
66389         (isinf_test_data): Likewise.
66390         (isless_test_data): Likewise.
66391         (islessequal_test_data): Likewise.
66392         (islessgreater_test_data): Likewise.
66393         (isnan_test_data): Likewise.
66394         (isnormal_test_data): Likewise.
66395         (issignaling_test_data): Likewise.
66396         (isunordered_test_data): Likewise.
66397         (j0_test_data): Likewise.
66398         (j1_test_data): Likewise.
66399         (jn_test_data): Likewise.
66400         (ldexp_test_data): Likewise.
66401         (lgamma_test_data): Likewise.
66402         (lrint_test_data): Likewise.
66403         (lrint_tonearest_test_data): Likewise.
66404         (lrint_towardzero_test_data): Likewise.
66405         (lrint_downward_test_data): Likewise.
66406         (lrint_upward_test_data): Likewise.
66407         (llrint_test_data): Likewise.
66408         (llrint_tonearest_test_data): Likewise.
66409         (llrint_towardzero_test_data): Likewise.
66410         (llrint_downward_test_data): Likewise.
66411         (llrint_upward_test_data): Likewise.
66412         (log_test_data): Likewise.
66413         (log10_test_data): Likewise.
66414         (log1p_test_data): Likewise.
66415         (log2_test_data): Likewise.
66416         (logb_test_data): Likewise.
66417         (logb_downward_test_data): Likewise.
66418         (lround_test_data): Likewise.
66419         (llround_test_data): Likewise.
66420         (modf_test_data): Likewise.
66421         (nearbyint_test_data): Likewise.
66422         (nextafter_test_data): Likewise.
66423         (nexttoward_test_data): Likewise.
66424         (pow_test_data): Likewise.
66425         (pow_tonearest_test_data): Likewise.
66426         (pow_towardzero_test_data): Likewise.
66427         (pow_downward_test_data): Likewise.
66428         (pow_upward_test_data): Likewise.
66429         (remainder_test_data): Likewise.
66430         (remainder_tonearest_test_data): Likewise.
66431         (remainder_towardzero_test_data): Likewise.
66432         (remainder_downward_test_data): Likewise.
66433         (remainder_upward_test_data): Likewise.
66434         (remquo_test_data): Likewise.
66435         (rint_test_data): Likewise.
66436         (rint_tonearest_test_data): Likewise.
66437         (rint_towardzero_test_data): Likewise.
66438         (rint_downward_test_data): Likewise.
66439         (rint_upward_test_data): Likewise.
66440         (round_test_data): Likewise.
66441         (scalb_test_data): Likewise.
66442         (scalbn_test_data): Likewise.
66443         (scalbln_test_data): Likewise.
66444         (signbit_test_data): Likewise.
66445         (sin_test_data): Likewise.
66446         (sin_tonearest_test_data): Likewise.
66447         (sin_towardzero_test_data): Likewise.
66448         (sin_downward_test_data): Likewise.
66449         (sin_upward_test_data): Likewise.
66450         (sincos_test_data): Likewise.
66451         (sinh_test_data): Likewise.
66452         (sinh_tonearest_test_data): Likewise.
66453         (sinh_towardzero_test_data): Likewise.
66454         (sinh_downward_test_data): Likewise.
66455         (sinh_upward_test_data): Likewise.
66456         (sqrt_test_data): Likewise.
66457         (tan_test_data): Likewise.
66458         (tan_tonearest_test_data): Likewise.
66459         (tan_towardzero_test_data): Likewise.
66460         (tan_downward_test_data): Likewise.
66461         (tan_upward_test_data): Likewise.
66462         (tanh_test_data): Likewise.
66463         (tgamma_test_data): Likewise.
66464         (trunc_test_data): Likewise.
66465         (y0_test_data): Likewise.
66466         (y1_test_data): Likewise.
66467         (yn_test_data): Likewise.
66468         (significand_test_data): Likewise.
66470         * math/gen-libm-test.pl (@functions): Remove variable.
66471         (generate_testfile): Don't handle START and END lines.
66472         * math/libm-test.inc (START): New macro.
66473         (END): Likewise.
66474         (END_COMPLEX): Likewise.
66475         (acos_test): Use END macro without arguments.
66476         (acos_test_tonearest): Likewise.
66477         (acos_test_towardzero): Likewise.
66478         (acos_test_downward): Likewise.
66479         (acos_test_upward): Likewise.
66480         (acosh_test): Likewise.
66481         (asin_test): Likewise.
66482         (asin_test_tonearest): Likewise.
66483         (asin_test_towardzero): Likewise.
66484         (asin_test_downward): Likewise.
66485         (asin_test_upward): Likewise.
66486         (asinh_test): Likewise.
66487         (atan_test): Likewise.
66488         (atanh_test): Likewise.
66489         (atan2_test): Likewise.
66490         (cabs_test): Likewise.
66491         (cacos_test): Use END_COMPLEX macro without arguments.
66492         (cacosh_test): Likewise.
66493         (carg_test): Use END macro without arguments.
66494         (casin_test): Use END_COMPLEX macro without arguments.
66495         (casinh_test): Likewise.
66496         (catan_test): Likewise.
66497         (catanh_test): Likewise.
66498         (cbrt_test): Use END macro without arguments.
66499         (ccos_test): Use END_COMPLEX macro without arguments.
66500         (ccosh_test): Likewise.
66501         (ceil_test): Use END macro without arguments.
66502         (cexp_test): Use END_COMPLEX macro without arguments.
66503         (cimag_test): Use END macro without arguments.
66504         (clog_test): Use END_COMPLEX macro without arguments.
66505         (clog10_test): Likewise.
66506         (conj_test): Likewise.
66507         (copysign_test): Use END macro without arguments.
66508         (cos_test): Likewise.
66509         (cos_test_tonearest): Likewise.
66510         (cos_test_towardzero): Likewise.
66511         (cos_test_downward): Likewise.
66512         (cos_test_upward): Likewise.
66513         (cosh_test): Likewise.
66514         (cosh_test_tonearest): Likewise.
66515         (cosh_test_towardzero): Likewise.
66516         (cosh_test_downward): Likewise.
66517         (cosh_test_upward): Likewise.
66518         (cpow_test): Use END_COMPLEX macro without arguments.
66519         (cproj_test): Likewise.
66520         (creal_test): Use END macro without arguments.
66521         (csin_test): Use END_COMPLEX macro without arguments.
66522         (csinh_test): Likewise.
66523         (csqrt_test): Likewise.
66524         (ctan_test): Likewise.
66525         (ctan_test_tonearest): Likewise.
66526         (ctan_test_towardzero): Likewise.
66527         (ctan_test_downward): Likewise.
66528         (ctan_test_upward): Likewise.
66529         (ctanh_test): Likewise.
66530         (ctanh_test_tonearest): Likewise.
66531         (ctanh_test_towardzero): Likewise.
66532         (ctanh_test_downward): Likewise.
66533         (ctanh_test_upward): Likewise.
66534         (erf_test): Use END macro without arguments.
66535         (erfc_test): Likewise.
66536         (exp_test): Likewise.
66537         (exp_test_tonearest): Likewise.
66538         (exp_test_towardzero): Likewise.
66539         (exp_test_downward): Likewise.
66540         (exp_test_upward): Likewise.
66541         (exp10_test): Likewise.
66542         (exp2_test): Likewise.
66543         (expm1_test): Likewise.
66544         (fabs_test): Likewise.
66545         (fdim_test): Likewise.
66546         (finite_test): Likewise.
66547         (floor_test): Likewise.
66548         (fma_test): Likewise.
66549         (fma_test_towardzero): Likewise.
66550         (fma_test_downward): Likewise.
66551         (fma_test_upward): Likewise.
66552         (fmax_test): Likewise.
66553         (fmin_test): Likewise.
66554         (fmod_test): Likewise.
66555         (fpclassify_test): Likewise.
66556         (frexp_test): Likewise.
66557         (gamma_test): Likewise.
66558         (hypot_test): Likewise.
66559         (ilogb_test): Likewise.
66560         (isfinite_test): Likewise.
66561         (isgreater_test): Likewise.
66562         (isgreaterequal_test): Likewise.
66563         (isinf_test): Likewise.
66564         (isless_test): Likewise.
66565         (islessequal_test): Likewise.
66566         (islessgreater_test): Likewise.
66567         (isnan_test): Likewise.
66568         (isnormal_test): Likewise.
66569         (issignaling_test): Likewise.
66570         (isunordered_test): Likewise.
66571         (j0_test): Likewise.
66572         (j1_test): Likewise.
66573         (jn_test): Likewise.
66574         (ldexp_test): Likewise.
66575         (lgamma_test): Likewise.
66576         (lrint_test): Likewise.
66577         (lrint_test_tonearest): Likewise.
66578         (lrint_test_towardzero): Likewise.
66579         (lrint_test_downward): Likewise.
66580         (lrint_test_upward): Likewise.
66581         (llrint_test): Likewise.
66582         (llrint_test_tonearest): Likewise.
66583         (llrint_test_towardzero): Likewise.
66584         (llrint_test_downward): Likewise.
66585         (llrint_test_upward): Likewise.
66586         (log_test): Likewise.
66587         (log10_test): Likewise.
66588         (log1p_test): Likewise.
66589         (log2_test): Likewise.
66590         (logb_test): Likewise.
66591         (logb_test_downward): Likewise.
66592         (lround_test): Likewise.
66593         (llround_test): Likewise.
66594         (modf_test): Likewise.
66595         (nearbyint_test): Likewise.
66596         (nextafter_test): Likewise.
66597         (nexttoward_test): Likewise.
66598         (pow_test): Likewise.
66599         (pow_test_tonearest): Likewise.
66600         (pow_test_towardzero): Likewise.
66601         (pow_test_downward): Likewise.
66602         (pow_test_upward): Likewise.
66603         (remainder_test): Likewise.
66604         (remainder_test_tonearest): Likewise.
66605         (remainder_test_towardzero): Likewise.
66606         (remainder_test_downward): Likewise.
66607         (remainder_test_upward): Likewise.
66608         (remquo_test): Likewise.
66609         (rint_test): Likewise.
66610         (rint_test_tonearest): Likewise.
66611         (rint_test_towardzero): Likewise.
66612         (rint_test_downward): Likewise.
66613         (rint_test_upward): Likewise.
66614         (round_test): Likewise.
66615         (scalb_test): Likewise.
66616         (scalbn_test): Likewise.
66617         (scalbln_test): Likewise.
66618         (signbit_test): Likewise.
66619         (sin_test): Likewise.
66620         (sin_test_tonearest): Likewise.
66621         (sin_test_towardzero): Likewise.
66622         (sin_test_downward): Likewise.
66623         (sin_test_upward): Likewise.
66624         (sincos_test): Likewise.
66625         (sinh_test): Likewise.
66626         (sinh_test_tonearest): Likewise.
66627         (sinh_test_towardzero): Likewise.
66628         (sinh_test_downward): Likewise.
66629         (sinh_test_upward): Likewise.
66630         (sqrt_test): Likewise.
66631         (tan_test): Likewise.
66632         (tan_test_tonearest): Likewise.
66633         (tan_test_towardzero): Likewise.
66634         (tan_test_downward): Likewise.
66635         (tan_test_upward): Likewise.
66636         (tanh_test): Likewise.
66637         (tgamma_test): Likewise.
66638         (trunc_test): Likewise.
66639         (y0_test): Likewise.
66640         (y1_test): Likewise.
66641         (yn_test): Likewise.
66642         (significand_test): Likewise.
66644 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
66646         [BZ #15381]
66647         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66649 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66651         [BZ #14894]
66652         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66653         __ppc_mdoio and __ppc_mdoom.
66654         * manual/platform.texi: Document new functions __ppc_yield,
66655         __ppc_mdoio and __ppc_mdoom.
66657 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66659         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66660         (main): Mention "tls" pseudo-hwcap is legacy.
66661         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66663 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66665         * math/gen-libm-test.pl (parse_args): Output only string of
66666         arguments as text for test name, not full call or descriptions of
66667         tests for extra outputs.
66668         (generate_testfile): Do not pass function name to parse_args.
66669         Generate this_func variable from START.
66670         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66671         field to arg_str.
66672         (struct test_ff_f_data): Likewise.
66673         (test_ff_f_data_nexttoward): Likewise.
66674         (struct test_fi_f_data): Likewise.
66675         (struct test_fl_f_data): Likewise.
66676         (struct test_if_f_data): Likewise.
66677         (struct test_fff_f_data): Likewise.
66678         (struct test_c_f_data): Likewise.
66679         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66680         (struct test_fF_f1_data): Likewise.
66681         (struct test_ffI_f1_data): Likewise.
66682         (struct test_c_c_data): Rename test_name field to arg_str.
66683         (struct test_cc_c_data): Likewise.
66684         (struct test_f_i_data): Likewise.
66685         (struct test_ff_i_data): Likewise.
66686         (struct test_f_l_data): Likewise.
66687         (struct test_f_L_data): Likewise.
66688         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66689         and extra2_name.
66690         (COMMON_TEST_SETUP): New macro.
66691         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66692         (COMMON_TEST_CLEANUP): Likewise.
66693         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66694         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66695         macros.
66696         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66697         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66698         macros.
66699         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66700         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66701         cleanup macros.
66702         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66703         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66704         macros.
66705         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66706         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66707         macros.
66708         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66709         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66710         cleanup macros.
66711         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66712         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66713         cleanup macros.
66714         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66715         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66716         cleanup macros.
66717         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66718         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66719         macros.
66720         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66721         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66722         macros.
66723         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66724         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66725         macros.
66726         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66727         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66728         cleanup macros.
66729         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66730         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66731         cleanup macros.
66732         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66733         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66734         macros.
66735         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66736         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66737         cleanup macros.
66738         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66739         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66740         macros.
66741         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66742         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66743         macros.
66744         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66745         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66746         cleanup macros.
66747         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66749 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66751         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66752         to _sifields.sigfault.
66753         (si_addr_lsb): Define new macro.
66754         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66755         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66756         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66758 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66760         [BZ #15441]
66761         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66762         returns -1.
66763         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66764         null return -1.
66765         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66766         loading the domain.
66768 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66770         * math/gen-libm-test.pl (parse_args): Do not include expected
66771         result in test name.
66772         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66773         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66774         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66775         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66776         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66779 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66781         * benchtests/Makefile: Sort function entries.
66783         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66784         tanh, asinh, acosh, atanh.
66785         * benchtests/acos-inputs: New file.
66786         * benchtests/acosh-inputs: New file.
66787         * benchtests/asin-inputs: New file.
66788         * benchtests/asinh-inputs: New file.
66789         * benchtests/atanh-inputs: New file.
66790         * benchtests/cosh-inputs: New file.
66791         * benchtests/log-inputs: New file.
66792         * benchtests/sinh-inputs: New file.
66793         * benchtests/tanh-inputs: New file.
66795 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66797         [BZ #15339]
66798         * posix/tst-getaddrinfo4.c: New test.
66799         * posix/Makefile (tests): Add it.
66801 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66803         [BZ #15339]
66804         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66805         when no services were used.
66806         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66807         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66809 2013-05-21  Andreas Schwab  <schwab@suse.de>
66811         [BZ #15014]
66812         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66813         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66814         successful.
66815         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66816         redundant variable declarations and reallocation of buffer when
66817         parsing as IPv6 address.  Always set NSS status when called from
66818         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66819         buffer too small.  Correct computation of needed size.
66820         * nss/Makefile (tests): Add test-digits-dots.
66821         * nss/test-digits-dots.c: New test.
66823 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66825         * benchtests/Makefile: Remove instructions for adding
66826         benchmark tests.
66827         * benchtests/README: New file to explain how to execute and
66828         enhance the benchmark tests.
66830 2013-05-21  Andreas Schwab  <schwab@suse.de>
66832         [BZ #15493]
66833         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66834         * setjmp/tst-sigsetjmp.c: New test.
66836 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66838         * sysdeps/x86_64/memset.S (memset): New implementation.
66839         (__bzero): Likewise.
66840         (__memset_tail): New function.
66842 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66844         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66845         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66846         __memcpy_sse2_unaligned ifunc selection.
66847         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66848         Add memcpy-sse2-unaligned.S.
66849         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66850         Add: __memcpy_sse2_unaligned.
66852 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66854         [BZ #15490]
66855         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66856         math_force_eval before restoring floating-point envrionment.
66857         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66858         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66859         Likewise.
66860         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66861         <math_private.h>.
66862         (__nearbyintl): Use math_force_eval before restoring
66863         floating-point environment.
66864         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66866         * math/gen-libm-test.pl (special_functions): Remove.
66867         (parse_args): Don't handle TEST_extra.  Handle functions with no
66868         return value.
66869         * math/libm-test.inc (struct test_sincos_data): Replace with
66870         struct test_fFF_11_data.
66871         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66872         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66873         (sincos_test_data): Change element type to struct
66874         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66875         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66876         RUN_TEST_LOOP_sincos.
66877         * math/README.libm-test: Don't mention special handling of
66878         individual functions.
66879         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66880         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66881         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66882         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66883         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66886         * math/gen-libm-test.pl (get_variable): Remove function.
66887         (parse_args): Don't show pointer parameters to call in test
66888         names.  Use "extra output N" in test names for extra outputs
66889         rather than naming variables.
66891 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66893         [BZ #15488]
66894         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66895         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66896         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66897         double tests.
66898         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66899         disable.
66900         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66901         check_long_double.
66903         * math/gen-libm-test.pl (@tests): Remove variable.
66904         ($count): Likewise.
66905         (new_test): Remove function.
66906         (show_exceptions): New function.
66907         (special_functions): Use show_exceptions instead of new_test.
66908         (parse_args): Likewise.
66909         (generate_testfile): Pass only function name in generated call to
66910         print_max_error or print_complex_max_error.
66911         (get_ulps): Do not handle complex tests specially.
66912         (output_test): Rename to ...
66913         (get_all_ulps_for_test): ... this.  Return a string rather than
66914         printing to a file.  Require ulps to be present.
66915         (output_ulps): Generate arrays rather than #defines.
66916         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66917         (struct ulp_data): New type.
66918         (BUILD_COMPLEX_ULP): Remove macro.
66919         (compare_ulp_data): New function.
66920         (find_ulps): Likewise.
66921         (find_test_ulps): Likewise.
66922         (find_function_ulps): Likewise.
66923         (find_complex_function_ulps): Likewise.
66924         (print_max_error): Determine allowed ulps using
66925         find_function_ulps.
66926         (print_complex_max_error): Determine allowed ulps using
66927         find_complex_function_ulps.
66928         (check_float_internal): Determine max ulps using find_test_ulps.
66929         (check_float): Do not take max_ulp parameter.  Update call to
66930         check_float_internal.
66931         (check_complex): Likewise.
66932         (check_int): Do not take max_ulp parameter.
66933         (check_long): Likewise.
66934         (check_bool): Likewise.
66935         (check_longlong): Likewise.
66936         (struct test_f_f_data): Remove max_ulp field.
66937         (struct test_ff_f_data): Likewise.
66938         (struct test_ff_f_data_nexttoward): Likewise.
66939         (struct test_fi_f_data): Likewise.
66940         (struct test_fl_f_data): Likewise.
66941         (struct test_if_f_data): Likewise.
66942         (struct test_fff_f_data): Likewise.
66943         (struct test_c_f_data): Likewise.
66944         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66945         (struct test_fF_f1_data): Likewise.
66946         (struct test_ffI_f1_data): Likewise.
66947         (struct test_c_c_data): Remove max_ulp field.
66948         (struct test_cc_c_data): Likewise.
66949         (struct test_f_i_data): Likewise.
66950         (struct test_ff_i_data): Likewise.
66951         (struct test_f_l_data): Likewise.
66952         (struct test_f_L_data): Likewise.
66953         (struct test_sincos_data): Likewise.
66954         (RUN_TEST_f_f): Do not handle ulps.
66955         (RUN_TEST_LOOP_f_f): Likewise.
66956         (RUN_TEST_2_f): Likewise.
66957         (RUN_TEST_LOOP_2_f): Likewise.
66958         (RUN_TEST_fff_f): Likewise.
66959         (RUN_TEST_LOOP_fff_f): Likewise.
66960         (RUN_TEST_c_f): Likewise.
66961         (RUN_TEST_LOOP_c_f): Likewise.
66962         (RUN_TEST_f_f1): Likewise.
66963         (RUN_TEST_LOOP_f_f1): Likewise.
66964         (RUN_TEST_fF_f1): Likewise.
66965         (RUN_TEST_LOOP_fF_f1): Likewise.
66966         (RUN_TEST_fI_f1): Likewise.
66967         (RUN_TEST_LOOP_fI_f1): Likewise.
66968         (RUN_TEST_ffI_f1): Likewise.
66969         (RUN_TEST_LOOP_ffI_f1): Likewise.
66970         (RUN_TEST_c_c): Likewise.
66971         (RUN_TEST_LOOP_c_c): Likewise.
66972         (RUN_TEST_cc_c): Likewise.
66973         (RUN_TEST_LOOP_cc_c): Likewise.
66974         (RUN_TEST_f_i): Likewise.
66975         (RUN_TEST_LOOP_f_i): Likewise.
66976         (RUN_TEST_f_i_tg): Likewise.
66977         (RUN_TEST_LOOP_f_i_tg): Likewise.
66978         (RUN_TEST_ff_i_tg): Likewise.
66979         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66980         (RUN_TEST_f_b): Likewise.
66981         (RUN_TEST_LOOP_f_b): Likewise.
66982         (RUN_TEST_f_b_tg): Likewise.
66983         (RUN_TEST_LOOP_f_b_tg): Likewise.
66984         (RUN_TEST_f_l): Likewise.
66985         (RUN_TEST_LOOP_f_l): Likewise.
66986         (RUN_TEST_f_L): Likewise.
66987         (RUN_TEST_LOOP_f_L): Likewise.
66988         (RUN_TEST_sincos): Likewise.
66989         (RUN_TEST_LOOP_sincos): Likewise.
66991 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66993         [BZ #15480]
66994         [BZ #15485]
66995         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66996         main case of finite arguments, set rounding mode to FE_TONEAREST
66997         and discard exceptions.
66998         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66999         exceptions.
67000         (remainder_tonearest_test_data): New variable.
67001         (remainder_test_tonearest): New function.
67002         (remainder_towardzero_test_data): New variable.
67003         (remainder_test_towardzero): New function.
67004         (remainder_downward_test_data): New variable.
67005         (remainder_test_downward): New function.
67006         (remainder_upward_test_data): New variable.
67007         (remainder_test_upward): New function.
67008         (main): Call the new test functions.
67010         * math/libm-test.inc (struct test_f_f1_data): Remove field
67011         extra_init.
67012         (struct test_fF_f1_data): Likewise.
67013         (struct test_ffI_f1_data): Likewise.
67014         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
67015         based on value of EXTRA_EXPECTED.
67016         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
67017         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
67018         EXTRA_VAR based on value of EXTRA_EXPECTED.
67019         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
67020         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
67021         EXTRA_VAR based on value of EXTRA_EXPECTED.
67022         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
67023         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
67024         EXTRA_VAR based on value of EXTRA_EXPECTED.
67025         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
67026         * math/gen-libm-test.pl (parse_args): Don't output initializers
67027         for extra output values.
67029         * math/libm-test.inc (check_int): Expect result to be exactly
67030         equal to expected value and do not handle ulps.
67031         (check_long): Likewise.
67032         (check_longlong): Likewise.
67034         * math/libm-test.inc (ceil_test_data): Test for "inexact"
67035         exceptions.
67036         (cimag_test_data): Likewise.
67037         (conj_test_data): Likewise.
67038         (copysign_test_data): Likewise.
67039         (cproj_test_data): Likewise.
67040         (creal_test_data): Likewise.
67041         (fabs_test_data): Likewise.
67042         (fdim_test_data): Likewise.
67043         (finite_test_data): Likewise.
67044         (floor_test_data): Likewise.
67045         (fmax_test_data): Likewise.
67046         (fmin_test_data): Likewise.
67047         (fmod_test_data): Likewise.
67048         (fpclassify_test_data): Likewise.
67049         (frexp_test_data): Likewise.
67050         (ilogb_test_data): Likewise.
67051         (isfinite_test_data): Likewise.
67052         (isgreater_test_data): Likewise.
67053         (isgreaterequal_test_data): Likewise.
67054         (isinf_test_data): Likewise.
67055         (isless_test_data): Likewise.
67056         (islessequal_test_data): Likewise.
67057         (islessgreater_test_data): Likewise.
67058         (isnan_test_data): Likewise.
67059         (isnormal_test_data): Likewise.
67060         (issignaling_test_data): Likewise.
67061         (isunordered_test_data): Likewise.
67062         (ldexp_test_data): Likewise.
67063         (lrint_test_data): Likewise.
67064         (lrint_test_data) [TEST_FLOAT]: Disable one test.
67065         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
67066         (lrint_tonearest_test_data): Test for "inexact" exceptions.
67067         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67068         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
67069         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67070         test input.
67071         (lrint_towardzero_test_data): Test for "inexact" exceptions.
67072         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67073         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
67074         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
67075         that test input.
67076         (lrint_downward_test_data): Test for "inexact" exceptions.
67077         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67078         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
67079         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67080         test input.
67081         (lrint_upward_test_data): Test for "inexact" exceptions.
67082         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
67083         test input.
67084         (llrint_test_data): Test for "inexact" exceptions.
67085         (llrint_test_data) [TEST_FLOAT]: Disable one test.
67086         (llrint_tonearest_test_data): Test for "inexact" exceptions.
67087         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67088         (llrint_towardzero_test_data): Test for "inexact" exceptions.
67089         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67090         (llrint_downward_test_data): Test for "inexact" exceptions.
67091         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67092         (llrint_upward_test_data): Test for "inexact" exceptions.
67093         (logb_test_data): Likewise.
67094         (logb_downward_test_data): Likewise.
67095         (nextafter_test_data): Likewise.
67096         (nexttoward_test_data): Likewise.
67097         (remainder_test_data): Likewise.
67098         (remquo_test_data): Likewise.
67099         (scalbn_test_data): Likewise.
67100         (scalbln_test_data): Likewise.
67101         (signbit_test_data): Likewise.
67102         (sqrt_test_data): Likewise.
67103         (significand_test_data): Likewise.
67105 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67107         [BZ #15424]
67108         * benchtests/bench-modf.c (struct args): Mark arg0 as
67109         volatile.
67110         * scripts/bench.pl: Mark members of struct args as volatile.
67112 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67114         [BZ # 15497]
67115         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
67116         negative infinity on POWER6 or lower.
67117         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
67119 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
67121         [BZ #15442]
67122         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
67123         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
67124         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
67125         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
67126         (_FP_SETQNAN): New macro.
67127         (_FP_SETQNAN_SEMIRAW): Likewise.
67128         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
67129         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
67130         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
67131         (FP_EXTEND): Use _FP_FRAC_SNANP.
67132         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
67133         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
67134         into account.
67135         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67136         New macro.
67137         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67138         Likewise.
67140 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67142         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
67143         with DIVIDE_BY_ZERO_EXCEPTION.
67144         (gamma_test_data): Likewise.
67145         (lgamma_test_data): Likewise.
67146         (log_test_data): Likewise.
67147         (log10_test_data): Likewise.
67148         (log2_test_data): Likewise.
67149         (tgamma_test_data): Likewise.
67151         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
67152         (acos_test_tonearest): Likewise.
67153         (acos_test_towardzero): Likewise.
67154         (acos_test_downward): Likewise.
67155         (acos_test_upward): Likewise.
67156         (acosh_test): Likewise.
67157         (asin_test): Likewise.
67158         (asin_test_tonearest): Likewise.
67159         (asin_test_towardzero): Likewise.
67160         (asin_test_downward): Likewise.
67161         (asin_test_upward): Likewise.
67162         (asinh_test): Likewise.
67163         (atan_test): Likewise.
67164         (atanh_test): Likewise.
67165         (atan2_test): Likewise.
67166         (cabs_test): Likewise.
67167         (cacos_test): Likewise.
67168         (cacosh_test): Likewise.
67169         (casin_test): Likewise.
67170         (casinh_test): Likewise.
67171         (catan_test): Likewise.
67172         (catanh_test): Likewise.
67173         (cbrt_test): Likewise.
67174         (ccos_test): Likewise.
67175         (ccosh_test): Likewise.
67176         (cexp_test): Likewise.
67177         (clog_test): Likewise.
67178         (clog10_test): Likewise.
67179         (cos_test): Likewise.
67180         (cos_test_tonearest): Likewise.
67181         (cos_test_towardzero): Likewise.
67182         (cos_test_downward): Likewise.
67183         (cos_test_upward): Likewise.
67184         (cosh_test): Likewise.
67185         (cosh_test_tonearest): Likewise.
67186         (cosh_test_towardzero): Likewise.
67187         (cosh_test_downward): Likewise.
67188         (cosh_test_upward): Likewise.
67189         (cpow_test): Likewise.
67190         (csin_test): Likewise.
67191         (csinh_test): Likewise.
67192         (csqrt_test): Likewise.
67193         (ctan_test): Likewise.
67194         (ctan_test_tonearest): Likewise.
67195         (ctan_test_towardzero): Likewise.
67196         (ctan_test_downward): Likewise.
67197         (ctan_test_upward): Likewise.
67198         (ctanh_test): Likewise.
67199         (ctanh_test_tonearest): Likewise.
67200         (ctanh_test_towardzero): Likewise.
67201         (ctanh_test_downward): Likewise.
67202         (ctanh_test_upward): Likewise.
67203         (erf_test): Likewise.
67204         (erfc_test): Likewise.
67205         (exp_test): Likewise.
67206         (exp_test_tonearest): Likewise.
67207         (exp_test_towardzero): Likewise.
67208         (exp_test_downward): Likewise.
67209         (exp_test_upward): Likewise.
67210         (exp10_test): Likewise.
67211         (exp2_test): Likewise.
67212         (expm1_test): Likewise.
67213         (fmod_test): Likewise.
67214         (gamma_test): Likewise.
67215         (hypot_test): Likewise.
67216         (j0_test): Likewise.
67217         (j1_test): Likewise.
67218         (jn_test): Likewise.
67219         (lgamma_test): Likewise.
67220         (log_test): Likewise.
67221         (log10_test): Likewise.
67222         (log1p_test): Likewise.
67223         (log2_test): Likewise.
67224         (logb_test_downward): Likewise.
67225         (pow_test): Likewise.
67226         (pow_test_tonearest): Likewise.
67227         (pow_test_towardzero): Likewise.
67228         (pow_test_downward): Likewise.
67229         (pow_test_upward): Likewise.
67230         (remainder_test): Likewise.
67231         (remquo_test): Likewise.
67232         (sin_test): Likewise.
67233         (sin_test_tonearest): Likewise.
67234         (sin_test_towardzero): Likewise.
67235         (sin_test_downward): Likewise.
67236         (sin_test_upward): Likewise.
67237         (sincos_test): Likewise.
67238         (sinh_test): Likewise.
67239         (sinh_test_tonearest): Likewise.
67240         (sinh_test_towardzero): Likewise.
67241         (sinh_test_downward): Likewise.
67242         (sinh_test_upward): Likewise.
67243         (sqrt_test): Likewise.
67244         (tan_test): Likewise.
67245         (tan_test_tonearest): Likewise.
67246         (tan_test_towardzero): Likewise.
67247         (tan_test_downward): Likewise.
67248         (tan_test_upward): Likewise.
67249         (tanh_test): Likewise.
67250         (tgamma_test): Likewise.
67251         (y0_test): Likewise.
67252         (y1_test): Likewise.
67253         (yn_test): Likewise.
67255         * math/gen-libm-test.pl (adjust_arg): Remove function.
67256         (special_function): Remove argument $in_func.  Only handle
67257         generating output for tables of tests, not inside functions.
67258         (parse_args): Likewise.
67259         (generate_testfile): Remove variable $in_func.  Update call to
67260         parse_args.
67261         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67262         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67263         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67264         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67265         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67266         (MAX_VALUE_INIT): Rename macro to max_value.
67267         (MIN_VALUE_INIT): Rename macro to min_value.
67268         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67269         (plus_zero): Remove variable.
67270         (minus_zero): Likewise.
67271         (plus_infty): Likewise.
67272         (minus_infty): Likewise.
67273         (qnan_value): Likewise.
67274         (max_value): Likewise.
67275         (min_value): Likewise.
67276         (min_subnorm_value): Likewise.
67278 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67280         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67281         uint64_t or uint32_t usage.
67282         * crypt/sha256-block.c: Likewise.
67283         * crypt/sha256-crypt.c: Likewise.
67284         * crypt/sha256.c: Likewise.
67285         * crypt/sha512-block.c: Likewise.
67286         * crypt/sha512-crypt.c: Likewise.
67287         * crypt/sha512.c: Likewise.
67288         * debug/backtrace-tst.c: Likewise.
67289         * debug/pcprofiledump.c: Likewise.
67290         * elf/cache.c: Likewise.
67291         * elf/dl-cache.c: Likewise.
67292         * elf/dl-misc.c: Likewise.
67293         * elf/dl-profile.c: Likewise.
67294         * elf/dl-support.c: Likewise.
67295         * elf/ldconfig.c: Likewise.
67296         * elf/sprof.c: Likewise.
67297         * iconv/dummy-repertoire.c: Likewise.
67298         * iconv/iconv_charmap.c: Likewise.
67299         * iconv/skeleton.c: Likewise.
67300         * iconvdata/8bit-generic.c: Likewise.
67301         * iconvdata/cp737.h: Likewise.
67302         * iconvdata/cp775.h: Likewise.
67303         * iconvdata/ibm1008.h: Likewise.
67304         * iconvdata/ibm1025.h: Likewise.
67305         * iconvdata/ibm1046.h: Likewise.
67306         * iconvdata/ibm1097.h: Likewise.
67307         * iconvdata/ibm1112.h: Likewise.
67308         * iconvdata/ibm1122.h: Likewise.
67309         * iconvdata/ibm1123.h: Likewise.
67310         * iconvdata/ibm1124.h: Likewise.
67311         * iconvdata/ibm1129.h: Likewise.
67312         * iconvdata/ibm1130.h: Likewise.
67313         * iconvdata/ibm1132.h: Likewise.
67314         * iconvdata/ibm1133.h: Likewise.
67315         * iconvdata/ibm1137.h: Likewise.
67316         * iconvdata/ibm1140.h: Likewise.
67317         * iconvdata/ibm1141.h: Likewise.
67318         * iconvdata/ibm1142.h: Likewise.
67319         * iconvdata/ibm1143.h: Likewise.
67320         * iconvdata/ibm1144.h: Likewise.
67321         * iconvdata/ibm1145.h: Likewise.
67322         * iconvdata/ibm1146.h: Likewise.
67323         * iconvdata/ibm1147.h: Likewise.
67324         * iconvdata/ibm1148.h: Likewise.
67325         * iconvdata/ibm1149.h: Likewise.
67326         * iconvdata/ibm1153.h: Likewise.
67327         * iconvdata/ibm1154.h: Likewise.
67328         * iconvdata/ibm1155.h: Likewise.
67329         * iconvdata/ibm1156.h: Likewise.
67330         * iconvdata/ibm1157.h: Likewise.
67331         * iconvdata/ibm1158.h: Likewise.
67332         * iconvdata/ibm1160.h: Likewise.
67333         * iconvdata/ibm1161.h: Likewise.
67334         * iconvdata/ibm1162.h: Likewise.
67335         * iconvdata/ibm1163.h: Likewise.
67336         * iconvdata/ibm1164.h: Likewise.
67337         * iconvdata/ibm1166.h: Likewise.
67338         * iconvdata/ibm1167.h: Likewise.
67339         * iconvdata/ibm12712.h: Likewise.
67340         * iconvdata/ibm1390.h: Likewise.
67341         * iconvdata/ibm1399.h: Likewise.
67342         * iconvdata/ibm16804.h: Likewise.
67343         * iconvdata/ibm4517.h: Likewise.
67344         * iconvdata/ibm4899.h: Likewise.
67345         * iconvdata/ibm4909.h: Likewise.
67346         * iconvdata/ibm4971.h: Likewise.
67347         * iconvdata/ibm5347.h: Likewise.
67348         * iconvdata/ibm803.h: Likewise.
67349         * iconvdata/ibm856.h: Likewise.
67350         * iconvdata/ibm901.h: Likewise.
67351         * iconvdata/ibm902.h: Likewise.
67352         * iconvdata/ibm9030.h: Likewise.
67353         * iconvdata/ibm9066.h: Likewise.
67354         * iconvdata/ibm921.h: Likewise.
67355         * iconvdata/ibm922.h: Likewise.
67356         * iconvdata/ibm9448.h: Likewise.
67357         * iconvdata/isiri-3342.h: Likewise.
67358         * iconvdata/jis0201.h: Likewise.
67359         * include/link.h: Likewise.
67360         * include/netdb.h: Likewise.
67361         * inet/check_native.c: Likewise.
67362         * inet/check_pf.c: Likewise.
67363         * inet/getipv4sourcefilter.c: Likewise.
67364         * inet/getnameinfo.c: Likewise.
67365         * inet/getsourcefilter.c: Likewise.
67366         * inet/htonl.c: Likewise.
67367         * inet/setipv4sourcefilter.c: Likewise.
67368         * inet/setsourcefilter.c: Likewise.
67369         * inet/test-inet6_opt.c: Likewise.
67370         * inet/tst-network.c: Likewise.
67371         * locale/C-collate.c: Likewise.
67372         * locale/C-ctype.c: Likewise.
67373         * locale/C-time.c: Likewise.
67374         * locale/C-translit.h: Likewise.
67375         * locale/loadarchive.c: Likewise.
67376         * locale/programs/3level.h: Likewise.
67377         * locale/programs/charmap.c: Likewise.
67378         * locale/programs/charmap.h: Likewise.
67379         * locale/programs/ld-address.c: Likewise.
67380         * locale/programs/ld-collate.c: Likewise.
67381         * locale/programs/ld-ctype.c: Likewise.
67382         * locale/programs/ld-identification.c: Likewise.
67383         * locale/programs/ld-measurement.c: Likewise.
67384         * locale/programs/ld-messages.c: Likewise.
67385         * locale/programs/ld-monetary.c: Likewise.
67386         * locale/programs/ld-name.c: Likewise.
67387         * locale/programs/ld-numeric.c: Likewise.
67388         * locale/programs/ld-paper.c: Likewise.
67389         * locale/programs/ld-telephone.c: Likewise.
67390         * locale/programs/ld-time.c: Likewise.
67391         * locale/programs/linereader.c: Likewise.
67392         * locale/programs/locale.c: Likewise.
67393         * locale/programs/locarchive.c: Likewise.
67394         * locale/programs/locfile.h: Likewise.
67395         * locale/programs/repertoire.c: Likewise.
67396         * locale/programs/simple-hash.c: Likewise.
67397         * locale/programs/simple-hash.h: Likewise.
67398         * malloc/memusage.c: Likewise.
67399         * malloc/memusagestat.c: Likewise.
67400         * nis/nis_defaults.c: Likewise.
67401         * nis/nis_hash.c: Likewise.
67402         * nis/nis_print.c: Likewise.
67403         * nis/nis_xdr.c: Likewise.
67404         * nscd/connections.c: Likewise.
67405         * nscd/hstcache.c: Likewise.
67406         * nscd/nscd_gethst_r.c: Likewise.
67407         * nscd/nscd_getserv_r.c: Likewise.
67408         * nscd/nscd_helper.c: Likewise.
67409         * nscd/servicescache.c: Likewise.
67410         * nss/makedb.c: Likewise.
67411         * nss/nss_db/db-XXX.c: Likewise.
67412         * nss/nss_db/db-initgroups.c: Likewise.
67413         * nss/nss_db/db-netgrp.c: Likewise.
67414         * nss/nss_files/files-network.c: Likewise.
67415         * nss/nss_files/files-parse.c: Likewise.
67416         * posix/bug-regex5.c: Likewise.
67417         * posix/fnmatch_loop.c: Likewise.
67418         * posix/regcomp.c: Likewise.
67419         * posix/regexec.c: Likewise.
67420         * posix/tst-rfc3484-2.c: Likewise.
67421         * posix/tst-rfc3484-3.c: Likewise.
67422         * posix/tst-rfc3484.c: Likewise.
67423         * resolv/nss_dns/dns-canon.c: Likewise.
67424         * resolv/nss_dns/dns-network.c: Likewise.
67425         * resolv/res_init.c: Likewise.
67426         * resolv/res_mkquery.c: Likewise.
67427         * resolv/tst-aton.c: Likewise.
67428         * stdlib/cxa_atexit.c: Likewise.
67429         * stdlib/cxa_finalize.c: Likewise.
67430         * stdlib/gen-fpioconst.c: Likewise.
67431         * stdlib/strtol_l.c: Likewise.
67432         * string/tst-endian.c: Likewise.
67433         * sunrpc/auth_des.c: Likewise.
67434         * sunrpc/clnt_udp.c: Likewise.
67435         * sunrpc/rtime.c: Likewise.
67436         * sunrpc/svcauth_des.c: Likewise.
67437         * sunrpc/xdr.c: Likewise.
67438         * sunrpc/xdr_intXX_t.c: Likewise.
67439         * sunrpc/xdr_rec.c: Likewise.
67440         * sysdeps/generic/ldconfig.h: Likewise.
67441         * sysdeps/generic/ldsodefs.h: Likewise.
67442         * sysdeps/generic/memusage.h: Likewise.
67443         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67444         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67445         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67446         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67447         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67448         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67449         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67450         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67451         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67452         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67453         * sysdeps/posix/getaddrinfo.c: Likewise.
67454         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67455         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67456         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67457         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67458         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67459         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67460         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67461         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67462         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67463         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67464         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67465         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67466         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67467         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67468         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67469         * sysdeps/x86_64/dl-tls.h: Likewise.
67470         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67471         * time/alt_digit.c: Likewise.
67472         * time/era.c: Likewise.
67473         * wcsmbs/tst-c16c32-1.c: Likewise.
67475 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67477         * math/libm-test.inc (struct test_sincos_data): New type.
67478         (RUN_TEST_LOOP_sincos): New macro.
67479         (sincos_test_data): New variable.
67480         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67482 2013-05-16  Richard Henderson  <rth@redhat.com>
67484         * math/atest-exp2.c (LIMB64): New macro.
67485         (CONSTSZ): New macro.
67486         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67487         (hexdig): Move ...
67488         (print_mpn_fp): ... to function scope.
67489         (read_mpn_hex): Remove.
67490         (get_log2): Remove.
67491         (exp2_mpn): Use mp_log2.
67492         (main): Use mp_exp1.
67494 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67496         * math/libm-test.inc: Remove comment about not testing "inexact"
67497         exceptions.
67498         (INEXACT_EXCEPTION): New macro.
67499         (NO_INEXACT_EXCEPTION): Likewise.
67500         (INVALID_EXCEPTION_OK): Update value.
67501         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67502         (OVERFLOW_EXCEPTION_OK): Likewise.
67503         (UNDERFLOW_EXCEPTION_OK): Likewise.
67504         (IGNORE_ZERO_INF_SIGN): Likewise.
67505         (ERRNO_UNCHANGED): Likewise.
67506         (ERRNO_EDOM): Likewise.
67507         (ERRNO_ERANGE): Likewise.
67508         (test_exceptions): Handle testing "inexact" exceptions.
67509         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67510         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67511         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67512         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67513         INEXACT_EXCEPTION.
67514         (rint_towardzero_test_data): Likewise.
67515         (rint_downward_test_data): Likewise.
67516         (rint_upward_test_data): Likewise.
67518         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67519         with OVERFLOW_EXCEPTION.
67520         (exp10_test_data): Likewise.
67521         (exp2_test_data): Likewise.
67522         (expm1_test_data): Likewise.
67523         (lgamma_test_data): Likewise.
67524         (pow_test_data): Likewise.
67525         (tgamma_test_data): Likewise.
67526         (yn_test_data): Remove duplicate test of overflow.
67528         * math/libm-test.inc (struct test_cc_c_data): New type.
67529         (RUN_TEST_LOOP_cc_c): New macro.
67530         (cpow_test_data): New variable.
67531         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67533         * math/libm-test.inc (struct test_f_L_data): New type.
67534         (RUN_TEST_LOOP_f_L): New macro.
67535         (llrint_test_data): New variable.
67536         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67537         (llrint_tonearest_test_data): New variable.
67538         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67539         (llrint_towardzero_test_data): New variable.
67540         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67541         (llrint_downward_test_data): New variable.
67542         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67543         (llrint_upward_test_data): New variable.
67544         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67545         (llround_test_data): New variable.
67546         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67548 2013-05-13  Peter Collingbourne  <pcc@google.com>
67550         * math/atest-exp2.c (get_log2): Remove const attribute.
67552 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67554         * math/libm-test.inc (struct test_f_l_data): New type.
67555         (RUN_TEST_LOOP_f_l): New macro.
67556         (lrint_test_data): New variable.
67557         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67558         (lrint_tonearest_test_data): New variable.
67559         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67560         (lrint_towardzero_test_data): New variable.
67561         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67562         (lrint_downward_test_data): New variable.
67563         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67564         (lrint_upward_test_data): New variable.
67565         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67566         (lround_test_data): New variable.
67567         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67569 2013-05-15  Peter Collingbourne  <pcc@google.com>
67571         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67572         (EXTRACT_WORDS64) Use where appropriate.
67573         (INSERT_WORDS64) Likewise.
67575         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67576         constraints with x constraints.
67577         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67579         * malloc/obstack.c (_obstack_compat): Add initializer.
67581 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67583         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67584         si_trapno and add si_addr_lsb to _sifields.sigfault.
67585         (si_trapno): Remove macro.
67586         (si_addr_lsb): Define new macro.
67587         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67589 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67591         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67592         instead of TEST_f_l.
67593         (llrint_test_tonearest): Likewise.
67594         (llrint_test_towardzero): Likewise.
67595         (llrint_test_downward): Likewise.
67596         (llrint_test_upward): Likewise.
67597         (llround_test): Likewise.
67599         * math/libm-test.inc (struct test_f_i_data): Add comment.
67600         (RUN_TEST_LOOP_f_b): New macro.
67601         (RUN_TEST_LOOP_f_b_tg): Likewise.
67602         (finite_test_data): New variable.
67603         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67604         (isfinite_test_data): New variable.
67605         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67606         (isinf_test_data): New variable.
67607         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67608         (isnan_test_data): New variable.
67609         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67610         (isnormal_test_data): New variable.
67611         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67612         (issignaling_test_data): New variable.
67613         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67614         (signbit_test_data): New variable.
67615         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67617         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67618         with INVALID_EXCEPTION.
67619         (acosh_test_data): Likewise.
67620         (asin_test_data): Likewise.
67621         (atanh_test_data): Likewise.
67622         (fmod_test_data): Likewise.
67623         (log_test_data): Likewise.
67624         (log10_test_data): Likewise.
67625         (log2_test_data): Likewise.
67626         (pow_test_data): Likewise.
67627         (sqrt_test_data): Likewise.
67628         (y0_test_data): Likewise.
67629         (y1_test_data): Likewise.
67630         (yn_test_data): Likewise.
67632         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67633         function contents.
67635         * math/libm-test.inc (struct test_ff_i_data): New type.
67636         (RUN_TEST_LOOP_ff_i_tg): New macro.
67637         (isgreater_test_data): New variable.
67638         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67639         (isgreaterequal_test_data): New variable.
67640         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67641         (isless_test_data): New variable.
67642         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67643         (islessequal_test_data): New variable.
67644         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67645         (islessgreater_test_data): New variable.
67646         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67647         (isunordered_test_data): New variable.
67648         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67650 2013-05-14  David S. Miller  <davem@davemloft.net>
67652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67654 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67656         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67658         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67659         extra_test to int.
67660         (struct test_f_i_data): Change type of max_ulp to int.
67662         * math/libm-test.inc (test_ffI_f1_data): New type.
67663         (RUN_TEST_LOOP_ffI_f1): New macro.
67664         (remquo_test_data): New variable.
67665         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67667         * setjmp/tst-setjmp-fp.c: New file.
67668         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67669         (link-libm): New variable.
67670         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67672         * math/libm-test.inc (struct test_f_i_data): New type.
67673         (RUN_TEST_LOOP_f_i): New macro.
67674         (RUN_TEST_LOOP_f_i_tg): Likewise.
67675         (fpclassify_test_data): New variable.
67676         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67677         (ilogb_test_data): New variable.
67678         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67680         * math/libm-test.inc (scalbln_test): Correct function name in END
67681         call.
67683         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67684         (RUN_TEST_LOOP_fI_f1): New macro.
67685         (frexp_test_data): New variable.
67686         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67688         * math/libm-test.inc (struct test_fF_f1_data): New type.
67689         (RUN_TEST_LOOP_fF_f1): New macro.
67690         (modf_test_data): New variable.
67691         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67693         * math/libm-test.inc (struct test_f_f1_data): New type.
67694         (RUN_TEST_LOOP_f_f1): New macro.
67695         (gamma_test_data): New variable.
67696         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67697         (lgamma_test_data): New variable.
67698         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67700 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67702         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67703         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67704         (main): Comment "tls" pseudo-hwcap.
67706 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67708         * math/libm-test.inc (struct test_fl_f_data): New type.
67709         (RUN_TEST_LOOP_fl_f): New variable.
67710         (scalbln_test_data): New variable.
67711         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67713         * math/libm-test.inc (struct test_fi_f_data): New type.
67714         (RUN_TEST_LOOP_fi_f): New macro.
67715         (ldexp_test_data): New variable.
67716         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67717         (scalbn_test_data): New variable.
67718         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67720         * math/libm-test.inc (struct test_c_f_data): New type.
67721         (RUN_TEST_LOOP_c_f): New macro.
67722         (cabs_test_data): New variable.
67723         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67724         (carg_test_data): New variable.
67725         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67726         (cimag_test_data): New variable.
67727         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67728         (creal_test_data): New variable.
67729         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67731         * math/libm-test.inc (struct test_if_f_data): New type.
67732         (RUN_TEST_LOOP_if_f): New macro.
67733         (jn_test_data): New variable.
67734         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67735         (yn_test_data): New variable.
67736         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67738         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67740 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67742         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67743         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67745 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67747         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67748         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67749         (bench-deps): Add bench-timing.h.
67750         * benchtests-bench-skeleton.c: Include bench-timing.h.
67751         (main): Use TIMING_* macros instead of clock_gettime.
67752         * benchtests/bench-timing.h: New file.
67754         [BZ #14582]
67755         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67756         Renamed from _LIB_VERSION.
67757         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67759 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67761         * math/libm-test.inc (struct test_fff_f_data): New type.
67762         (RUN_TEST_LOOP_fff_f): New macro.
67763         (fma_test_data): New variable.
67764         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67765         (fma_towardzero_test_data): New variable.
67766         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67767         (fma_downward_test_data): New variable.
67768         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67769         (fma_upward_test_data): New variable.
67770         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67772         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67773         (struct test_c_c_data): New type.
67774         (RUN_TEST_LOOP_c_c): New macro.
67775         (cacos_test_data): New variable.
67776         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67777         (cacosh_test_data): New variable.
67778         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67779         (casin_test_data): New variable.
67780         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67781         (casinh_test_data): New variable.
67782         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67783         (catan_test_data): New variable.
67784         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67785         (catanh_test_data): New variable.
67786         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67787         (ccos_test_data): New variable.
67788         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67789         (ccosh_test_data): New variable.
67790         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67791         (cexp_test_data): New variable.
67792         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67793         (clog_test_data): New variable.
67794         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67795         (clog10_test_data): New variable.
67796         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67797         (conj_test_data): New variable.
67798         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67799         (cproj_test_data): New variable.
67800         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67801         (csin_test_data): New variable.
67802         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67803         (csinh_test_data): New variable.
67804         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67805         (csqrt_test_data): New variable.
67806         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67807         (ctan_test_data): New variable.
67808         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67809         (ctan_tonearest_test_data): New variable.
67810         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67811         (ctan_towardzero_test_data): New variable.
67812         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67813         (ctan_downward_test_data): New variable.
67814         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67815         (ctan_upward_test_data): New variable.
67816         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67817         (ctanh_test_data): New variable.
67818         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67819         (ctanh_tonearest_test_data): New variable.
67820         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67821         (ctanh_towardzero_test_data): New variable.
67822         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67823         (ctanh_downward_test_data): New variable.
67824         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67825         (ctanh_upward_test_data): New variable.
67826         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67827         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67828         of BUILD_COMPLEX.
67830         * math/libm-test.inc (struct test_ff_f_data): New type.
67831         (struct test_ff_f_data_nexttoward): Likewise.
67832         (RUN_TEST_LOOP_2_f): New macro.
67833         (RUN_TEST_LOOP_ff_f): Likewise.
67834         (atan2_test_data): New variable.
67835         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67836         (copysign_test_data): New variable.
67837         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67838         (fdim_test_data): New variable.
67839         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67840         (fmax_test_data): New variable.
67841         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67842         (fmin_test_data): New variable.
67843         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67844         (fmod_test_data): New variable.
67845         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67846         (hypot_test_data): New variable.
67847         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67848         (nextafter_test_data): New variable.
67849         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67850         (nexttoward_test_data): New variable.
67851         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67852         (pow_test_data): New variable.
67853         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67854         (pow_tonearest_test_data): New variable.
67855         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67856         (pow_towardzero_test_data): New variable.
67857         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67858         (pow_downward_test_data): New variable.
67859         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67860         (pow_upward_test_data): New variable.
67861         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67862         (remainder_test_data): New variable.
67863         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67864         (scalb_test_data): New variable.
67865         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67866         * sysdeps/i386/fpu/libm-test-ulps: Update.
67868 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67870         * math/libm-test.inc (fma_test): Use max_value instead of local
67871         variable fltmax.
67872         (nextafter_test): Likewise.
67874         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67875         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67876         (acos_downward_test_data): New variable.
67877         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67878         (acos_upward_test_data): New variable.
67879         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67880         (acosh_test_data): New variable.
67881         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67882         (asin_test_data): New variable.
67883         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67884         (asin_tonearest_test_data): New variable.
67885         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67886         (asin_towardzero_test_data): New variable.
67887         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67888         (asin_downward_test_data): New variable.
67889         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67890         (asin_upward_test_data): New variable.
67891         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67892         (asinh_test_data): New variable.
67893         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67894         (atan_test_data): New variable.
67895         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67896         (atanh_test_data): New variable.
67897         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67898         (cbrt_test_data): New variable.
67899         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67900         (ceil_test_data): New variable.
67901         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67902         (cos_test_data): New variable.
67903         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67904         (cos_tonearest_test_data): New variable.
67905         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67906         (cos_towardzero_test_data): New variable.
67907         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67908         (cos_downward_test_data): New variable.
67909         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67910         (cos_upward_test_data): New variable.
67911         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67912         (cosh_test_data): New variable.
67913         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67914         (cosh_tonearest_test_data): New variable.
67915         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67916         (cosh_towardzero_test_data): New variable.
67917         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67918         (cosh_downward_test_data): New variable.
67919         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67920         (cosh_upward_test_data): New variable.
67921         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67922         (erf_test_data): New variable.
67923         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67924         (erfc_test_data): New variable.
67925         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67926         (exp_test_data): New variable.
67927         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67928         (exp_tonearest_test_data): New variable.
67929         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67930         (exp_towardzero_test_data): New variable.
67931         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67932         (exp_downward_test_data): New variable.
67933         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67934         (exp_upward_test_data): New variable.
67935         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67936         (exp10_test_data): New variable.
67937         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67938         (exp2_test_data): New variable.
67939         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67940         (expm1_test_data): New variable.
67941         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67942         (fabs_test_data): New variable.
67943         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67944         (floor_test_data): New variable.
67945         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67946         (j0_test_data): New variable.
67947         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67948         (j1_test_data): New variable.
67949         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67950         (log_test_data): New variable.
67951         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67952         (log10_test_data): New variable.
67953         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67954         (log1p_test_data): New variable.
67955         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67956         (log2_test_data): New variable.
67957         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67958         (logb_test_data): New variable.
67959         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67960         (logb_downward_test_data): New variable.
67961         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67962         (nearbyint_test_data): New variable.
67963         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67964         (rint_test_data): New variable.
67965         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67966         (rint_tonearest_test_data): New variable.
67967         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67968         (rint_towardzero_test_data): New variable.
67969         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67970         (rint_downward_test_data): New variable.
67971         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67972         (rint_upward_test_data): New variable.
67973         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67974         (round_test_data): New variable.
67975         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67976         (sin_test_data): New variable.
67977         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67978         (sin_tonearest_test_data): New variable.
67979         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67980         (sin_towardzero_test_data): New variable.
67981         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67982         (sin_downward_test_data): New variable.
67983         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67984         (sin_upward_test_data): New variable.
67985         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67986         (sinh_test_data): New variable.
67987         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67988         (sinh_tonearest_test_data): New variable.
67989         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67990         (sinh_towardzero_test_data): New variable.
67991         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67992         (sinh_downward_test_data): New variable.
67993         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67994         (sinh_upward_test_data): New variable.
67995         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67996         (sqrt_test_data): New variable.
67997         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67998         (tan_test_data): New variable.
67999         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
68000         (tan_tonearest_test_data): New variable.
68001         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68002         (tan_towardzero_test_data): New variable.
68003         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
68004         (tan_downward_test_data): New variable.
68005         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
68006         (tan_upward_test_data): New variable.
68007         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
68008         (tanh_test_data): New variable.
68009         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
68010         (tgamma_test_data): New variable.
68011         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
68012         (trunc_test_data): New variable.
68013         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
68014         (y0_test_data): New variable.
68015         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
68016         (y1_test_data): New variable.
68017         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
68018         (significand_test_data): New variable.
68019         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
68021 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
68023         [BZ #12387]
68024         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
68026 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68028         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
68030 2013-05-10  Andreas Jaeger  <aj@suse.de>
68032         [BZ #15448]
68033         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
68034         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
68036 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
68038         * math/gen-libm-test.pl (adjust_arg): New function.
68039         (special_functions): Handle generating output in both functions
68040         and arrays.
68041         (parse_args): Likewise.
68042         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
68043         $in_func argument to parse_args.
68044         * math/libm-test.inc (struct test_f_f_data): New type.
68045         (IF_ROUND_INIT_): New macro.
68046         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
68047         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
68048         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
68049         (IF_ROUND_INIT_FE_UPWARD): Likewise.
68050         (ROUND_RESTORE_): Likewise.
68051         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
68052         (ROUND_RESTORE_FE_TONEAREST): Likewise.
68053         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
68054         (ROUND_RESTORE_FE_UPWARD): Likewise.
68055         (RUN_TEST_LOOP_f_f): New macro.
68056         (acos_test_data): New variable.
68057         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
68058         (acos_tonearest_test_data): New variable.
68059         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68061 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68063         * benchtests/bench-skeleton.c (startup): Fix coding style.
68065 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
68067         [BZ #6809]
68068         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
68069         negative infinity argument.
68070         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
68071         negative infinity argument.
68072         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
68073         negative infinity argument.
68074         * math/libm-test.inc (tgamma_test): Expect errno to be set for
68075         domain errors.
68077 2013-05-10  Florian Weimer  <fweimer@redhat.com>
68079         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
68080         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
68081         * iconv/iconv_prog.c (main): Likewise.
68082         * locale/programs/charmap-dir.c (charmap_readdir)
68083         (fopen_uncompressed): Likewise.
68084         * locale/programs/locfile.c (siblings_uncached)
68085         (write_locale_data): Use lstat64 instead of lstat.
68086         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
68087         stat.
68089 2013-05-10  Andreas Jaeger  <aj@suse.de>
68091         [BZ #15395]
68092         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
68093         localization.
68094         Include <locale.h>.
68096 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
68098         * elf/dl-close.c (_dl_close_worker): Add comments.
68100 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
68102         [BZ #15359]
68103         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
68104         high part of pi/2.
68105         (__ieee754_rem_pio2l): Update comments.
68107         [BZ #15429]
68108         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
68109         high part of pi/2.
68110         (__ieee754_rem_pio2l): Update comments.
68112         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
68113         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
68115         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
68116         M_PI_4l.
68118         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
68119         (M_PI_34_LOG10El): Likewise.
68120         (M_PI2_LOG10El): Likewise.
68121         (M_PI4_LOG10El): Likewise.
68122         (M_PI_LOG10El): Likewise.
68124 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68128 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
68130         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
68131         (MINUS_ZERO_INIT): Likewise.
68132         (PLUS_INFTY_INIT): Likewise.
68133         (MINUS_INFTY_INIT): Likewise.
68134         (QNAN_VALUE_INIT): Likewise.
68135         (MAX_VALUE_INIT): Likewise.
68136         (MIN_VALUE_INIT): Likewise.
68137         (MIN_SUBNORM_VALUE_INIT): Likewise.
68138         (plus_zero): Initialize with PLUS_ZERO_INIT.
68139         (minus_zero): Initialize with MINUS_ZERO_INIT.
68140         (plus_infty): Initialize with PLUS_INFTY_INIT.
68141         (minus_infty): Initialize with MINUS_INFTY_INIT.
68142         (qnan_value): Initialize with QNAN_VALUE_INIT.
68143         (max_value): Initialize with MAX_VALUE_INIT.
68144         (min_value): Initialize with MIN_VALUE_INIT.
68145         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
68147         * math/libm-test.inc (RUN_TEST_if_f): New macro.
68148         (jn_test): Use TEST_if_f instead of TEST_ff_f.
68149         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
68150         (yn_test): Use TEST_if_f instead of TEST_ff_f.
68152         * math/libm-test.inc (RUN_TEST_f_f): New macro.
68153         (RUN_TEST_2_f): Likewise.
68154         (RUN_TEST_ff_f): Likewise.
68155         (RUN_TEST_fi_f): Likewise.
68156         (RUN_TEST_fl_f): Likewise.
68157         (RUN_TEST_fff_f): Likewise.
68158         (RUN_TEST_c_f): Likewise.
68159         (RUN_TEST_f_f1): Likewise.
68160         (RUN_TEST_fF_f1): Likewise.
68161         (RUN_TEST_fI_f1): Likewise.
68162         (RUN_TEST_ffI_f1): Likewise.
68163         (RUN_TEST_c_c): Likewise.
68164         (RUN_TEST_cc_c): Likewise.
68165         (RUN_TEST_f_i): Likewise.
68166         (RUN_TEST_f_i_tg): Likewise.
68167         (RUN_TEST_ff_i_tg): Likewise.
68168         (RUN_TEST_f_b): Likewise.
68169         (RUN_TEST_f_b_tg): Likewise.
68170         (RUN_TEST_f_l): Likewise.
68171         (RUN_TEST_f_L): Likewise.
68172         (RUN_TEST_sincos): Likewise.
68173         * math/gen-libm-test.pl (new_test): Take new argument to indicate
68174         whether to show exceptions.  Do not include ");\n" in return
68175         value.
68176         (special_functions): Output call to RUN_TEST_sincos instead of
68177         check_float calls.  Update calls to new_test.
68178         (parse_args): Output call to single RUN_TEST_* macro instead of
68179         check_* calls and other assignments.  Update calls to new_test.
68181         [BZ #2546]
68182         [BZ #2560]
68183         [BZ #5159]
68184         [BZ #15426]
68185         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68186         input to result for tgamma overflow.
68187         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68188         (gamma_coeff): New variable.
68189         (NCOEFF): New macro.
68190         (gamma_positive): New function.
68191         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68192         underflow here.  Use gamma_positive instead of exp (lgamma) for
68193         other arguments.
68194         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68195         (gamma_coeff): New variable.
68196         (NCOEFF): New macro.
68197         (gammaf_positive): New function.
68198         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68199         underflow here.  Use gamma_positive instead of exp (lgamma) for
68200         other arguments.
68201         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68202         (gamma_coeff): New variable.
68203         (NCOEFF): New macro.
68204         (gammal_positive): New function.
68205         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68206         underflow here.  Use gamma_positive instead of exp (lgamma) for
68207         other arguments.
68208         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68209         (gamma_coeff): New variable.
68210         (NCOEFF): New macro.
68211         (gammal_positive): New function.
68212         (__ieee754_gammal_r): Handle positive infinity, overflow and
68213         underflow here.  Handle NaN the same as positive infinity.  Remove
68214         check x < 0xffffffff for negative integers.  Use gamma_positive
68215         instead of exp (lgamma) for other arguments.
68216         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68217         (gamma_coeff): New variable.
68218         (NCOEFF): New macro.
68219         (gammal_positive): New function.
68220         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68221         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68222         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68223         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68224         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68225         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68226         * sysdeps/generic/math_private.h (__gamma_productf): New
68227         prototype.
68228         (__gamma_product): Likewise.
68229         (__gamma_productl): Likewise.
68230         * math/Makefile (libm-calls): Add gamma_product.
68231         * math/libm-test.inc (tgamma_test): Add more tests.
68232         * sysdeps/i386/fpu/libm-test-ulps: Update.
68233         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68235 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
68237         * benchtests/bench-skeleton.c (main): Preheat CPU.
68239 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
68241         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68243 2013-05-07  Roland McGrath  <roland@hack.frob.com>
68245         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68246         and _dl_skip_args_internal.
68248 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
68250         * manual/message.texi (Message Translation): Talk about users.
68251         Message to key mapping impacts design.
68253 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68255         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68257         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68259         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68260         * sysdeps/wordsize-64/glob64.c: ... here.
68262         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68263         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68264         New macros.
68266         * debug/getlogin_r_chk.c: Moved to ...
68267         * login/getlogin_r_chk.c: ... here.
68268         * debug/Makefile (routines): Move getlogin_r_chk to ...
68269         * login/Makefile (routines): ... here.
68270         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68271         * login/Versions (libc: GLIBC_2.4): ... here.
68273         * io/poll.c (__poll): Renamed from poll.
68274         Add libc_hidden_def.
68275         (poll): Define as weak alias.
68277         * debug/ptsname_r_chk.c: Moved to ...
68278         * login/ptsname_r_chk.c: ... here.
68279         * debug/Makefile (routines): Move ptsname_r_chk to ...
68280         * login/Makefile (routines): ... here.
68281         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68282         * login/Versions (libc: GLIBC_2.4): ... here.
68284         * posix/getlogin.c: Moved to ...
68285         * login/getlogin.c: ... here.
68286         * posix/getlogin_r.c: Moved to ...
68287         * login/getlogin_r.c: ... here.
68288         * posix/getlogin_r.c: Moved to ...
68289         * login/getlogin_r.c: ... here.
68290         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68291         * login/Makefile (routines): ... here.
68292         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68293         * login/Versions (libc: GLIBC_2.0): ... here.
68295         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68296         (setrlimit): Define as weak alias.
68298         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68299         Call __ names for open, ftruncate, and close.
68300         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68301         (truncate): Define as weak alias.
68303 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68305         * math/gen-libm-test.pl (parse_args): Initialize x before each
68306         test of frexp, modf and remquo.
68308         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68309         test signgam value.
68311 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68313         [BZ #15418]
68314         [BZ #15419]
68315         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68316         internal tests.
68317         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68319 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68321         * elf/dl-writev.h: New file.
68322         * elf/dl-misc.c: Include it.
68323         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68324         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68326 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68328         * math/libm-test.inc (noXFails): Remove variable.
68329         (noXPasses): Likewise.
68330         (BUILD_COMPLEX_INT): Remove macro.
68331         (print_screen): Remove xfail argument.
68332         (print_screen_max_error): Likewise.
68333         (update_stats): Likewise.
68334         (print_max_error): Likewise.  Update calls to other affected
68335         functions.
68336         (print_complex_max_error): Likewise.
68337         (test_single_exception): Update calls to print_screen.
68338         (test_single_errno): Likewise.
68339         (check_float_internal): Remove xfail argument.  Update calls to
68340         other affected functions.
68341         (check_float): Likewise.
68342         (check_complex): Likewise.
68343         (check_int): Likewise.
68344         (check_long): Likewise.
68345         (check_bool): Likewise.
68346         (check_longlong): Likewise.
68347         (main): Don't print noXFails and noXPasses.
68348         * math/gen-libm-test.pl (top level): Don't mention expected
68349         failure handling in comment.
68350         (new_test): Don't handle expected failures.
68351         (parse_args): Don't mention expected failure handling in comment.
68352         (generate_testfile): Don't handle expected failures.
68353         (parse_ulps): Likewise.
68354         (print_ulps_file): Likewise.
68355         (get_failure): Remove function.
68356         (output_test): Don't handle expected failures.
68357         * make/README.libm-test: Don't mention expected failure handling.
68359         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68360         (minus_zero): Likewise.
68361         (plus_infty): Likewise.
68362         (minus_infty): Likewise.
68363         (qnan_value): Likewise.
68364         (max_value): Likewise.
68365         (min_value): Likewise.
68366         (min_subnorm_value): Likewise.
68367         (initialize): Do not initialize those variables dynamically.
68369 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68371         * io/open.c (__open_2): Moved to ...
68372         * io/open_2.c: ... this new file.
68373         * io/open64.c (__open64_2): Moved to ...
68374         * io/open64_2.c: ... this new file.
68375         * io/openat.c (__openat_2): Moved to ...
68376         * io/openat_2.c: ... this new file.
68377         * io/openat64.c (__openat64_2): Moved to ...
68378         * io/openat64_2.c: ... this new file.
68379         * io/Makefile (routines): Add them.
68380         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68381         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68382         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68383         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68384         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68385         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68386         (__openat64): Add hidden_ver.
68387         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68388         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68390         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68391         Separately conditionalize setting of GLRO(dl_sysinfo) so
68392         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68393         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68395 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68397         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68398         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68399         definition.
68400         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68401         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68402         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68403         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68404         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68406 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68408         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68409         test signgam value.
68411         * math/libm-test.inc (hypot_test): Do not use
68412         IGNORE_ZERO_INF_SIGN.
68414 2013-05-03  Andreas Jaeger  <aj@suse.de>
68416         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68417         Linux 3.9.
68418         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68419         (PF_MAX): Adjust for VSOCK change.
68421 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68425 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68427         [BZ #15264]
68428         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68429         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68430         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68432 2013-05-02  David S. Miller  <davem@davemloft.net>
68434         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68436 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
68438         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68440 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68442         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68444 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68446         [BZ #14952]
68447         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68448         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68449         Use __attribute__ ((__gnu_inline__)).
68450         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68451         Don't use __attribute__ ((__gnu_inline__)).
68453 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68455         [BZ #15423]
68456         * math/s_catan.c (__catan): Handle small real or imaginary part of
68457         input specially to avoid spurious underflow.
68458         * math/s_catanf.c (__catanf): Likewise.
68459         * math/s_catanh.c (__catanh): Likewise.
68460         * math/s_catanhf.c (__catanhf): Likewise.
68461         * math/s_catanhl.c (__catanhl): Likewise.
68462         * math/s_catanl.c (__catanl): Likewise.
68463         * math/libm-test.inc (catan_test): Add more tests.
68464         (catanh_test): Likewise.
68465         * sysdeps/i386/fpu/libm-test-ulps: Update.
68466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68468 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68472 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68474         [BZ #15416]
68475         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68476         accurately for denominator in atan2.
68477         * math/s_catanf.c (__catanf): Likewise.
68478         * math/s_catanh.c (__catanh): Likewise.
68479         * math/s_catanhf.c (__catanhf): Likewise.
68480         * math/s_catanhl.c (__catanhl): Likewise.
68481         * math/s_catanl.c (__catanl): Likewise.
68482         * math/libm-test.inc (catan_test): Add more tests.
68483         (catanh_test): Likewise.
68484         * sysdeps/i386/fpu/libm-test-ulps: Update.
68485         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68487 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68489         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68491         * benchtests/Makefile (bench): Remove slow benchmarks.
68492         * benchtests/atan-inputs: Add slow benchmark inputs.
68493         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68494         (BENCH_FUNC): Accept variant offset.
68495         (VARIANT): Define.
68496         * benchtests/bench-skeleton.c (main): Run benchmark for each
68497         variant.
68498         * benchtests/cos-inputs: Add slow benchmark inputs.
68499         * benchtests/exp-inputs: Likewise.
68500         * benchtests/pow-inputs: Likewise.
68501         * benchtests/sin-inputs: Likewise.
68502         * benchtests/slowatan-inputs: Remove.
68503         * benchtests/slowatan.c: Remove.
68504         * benchtests/slowcos-inputs: Remove.
68505         * benchtests/slowcos.c: Remove.
68506         * benchtests/slowexp-inputs: Remove.
68507         * benchtests/slowexp.c: Remove.
68508         * benchtests/slowpow-inputs: Remove.
68509         * benchtests/slowpow.c: Remove.
68510         * benchtests/slowsin-inputs: Remove.
68511         * benchtests/slowsin.c: Remove.
68512         * benchtests/slowtan-inputs: Remove.
68513         * benchtests/slowtan.c: Remove.
68514         * benchtests/tan-inputs: Add slow benchmark inputs.
68515         * scripts/bench.pl: Parse comments and directives.
68517         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68518         in CPPFLAGS.
68519         ($(objpfx)bench-%.c): Remove *-ITER.
68520         * benchtests/bench-modf.c: Remove definition of ITER.
68521         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68522         (main): Loop for DURATION seconds instead of fixed number of
68523         iterations.
68524         * scripts/bench.pl: Don't expect iterations in parameters.
68526 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68528         * io/fchdir.c (__fchdir): Renamed from fchdir.
68529         (fchdir): Define as weak alias.
68531 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68533         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68534         (ERRNO_EDOM): Likewise.
68535         (ERRNO_ERANGE): Likewise.
68536         (noErrnoTests): New variable.
68537         (init_max_error): Set errno to 0.
68538         (test_single_errno): New function.
68539         (test_errno): Likewise.
68540         (check_float_internal): Call test_errno.  Set errno to 0.
68541         (check_complex): Refer to errno tests in comment.
68542         (check_int): Call test_errno.  Set errno to 0.
68543         (check_long): Likewise.
68544         (check_bool): Likewise.
68545         (check_longlong): Likewise.
68546         (cos_test): Use ERRNO_* flags for errno tests instead of
68547         check_int.
68548         (expm1_test): Likewise.
68549         (fmod_test): Likewise.
68550         (ilogb_test): Likewise.
68551         (lgamma_test): Likewise.
68552         (pow_test): Likewise.
68553         (remainder_test): Likewise.
68554         (sin_test): Likewise.
68555         (tan_test): Likewise.
68556         (yn_test): Likewise.
68557         (initialize): Set errno to 0.
68558         (main): Print number of errno tests.
68559         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68561 2013-04-29  Andreas Jaeger  <aj@suse.de>
68563         [BZ #15084]
68564         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68565         and RES_USEVC.
68567         [BZ #15085]
68568         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68569         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68570         unimplemented.
68572         [BZ #15380]
68573         * stdlib/random.c (__initstate): Return NULL if
68574         __initstate fails.
68576         [BZ #15086]
68577         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68578         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68579         RES_SNGLKUPREOP.
68581 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68585 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68587         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68588         of individual tests.
68589         (casin_test): Likewise.
68590         (casinh_test): Likewise.
68592 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68594         [BZ #15409]
68595         * math/s_catan.c (__catan): Handle arguments with large real or
68596         imaginary part separately without squaring.
68597         * math/s_catanf.c (__catanf): Likewise.
68598         * math/s_catanh.c (__catanh): Likewise.
68599         * math/s_catanhf.c (__catanhf): Likewise.
68600         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68601         and redefine.
68602         (__catanhl): Handle arguments with large real or imaginary part
68603         separately without squaring.
68604         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68605         and redefine.
68606         (__catanl): Handle arguments with large real or imaginary part
68607         separately without squaring.
68608         * math/libm-test.inc (catan_test): Add more tests.
68609         (catanh_test): Likewise.
68610         * sysdeps/i386/fpu/libm-test-ulps: Update.
68611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68613 2013-04-27  Andreas Jaeger  <aj@suse.de>
68615         [BZ #15007]
68616         * stdlib/stdlib.h: Update guards for qecvt.
68617         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68618         <stdlib.h>.
68620 2013-04-27  Allan McRae  <allan@archlinux.org>
68622         * sysdeps/i386/fpu/libm-test-ulps: Update.
68624 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68626         [BZ #15406]
68627         * math/s_catan.c: Include <float.h>.
68628         (__catan): Ensure underflow exception occurs for underflowed
68629         result.
68630         * math/s_catanf.c: Include <float.h>.
68631         (__catanf): Ensure underflow exception occurs for underflowed
68632         result.
68633         * math/s_catanh.c: Include <float.h>.
68634         (__catanh): Ensure underflow exception occurs for underflowed
68635         result.
68636         * math/s_catanhf.c: Include <float.h>.
68637         (__catanhf): Ensure underflow exception occurs for underflowed
68638         result.
68639         * math/s_catanhl.c: Include <float.h>.
68640         (__catanhl): Ensure underflow exception occurs for underflowed
68641         result.
68642         * math/s_catanl.c: Include <float.h>.
68643         (__catanl): Ensure underflow exception occurs for underflowed
68644         result.
68645         * math/libm-test.inc (catan_test): Add more tests.
68646         (catanh_test): Likewise.
68648         [BZ #15405]
68649         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68650         underflowed result.
68651         * math/s_ccoshf.c (__ccoshf): Likewise.
68652         * math/s_ccoshl.c (__ccoshl): Likewise.
68653         * math/s_csin.c (__csin): Likewise.
68654         * math/s_csinf.c (__csinf): Likewise.
68655         * math/s_csinh.c (__csinh): Likewise.
68656         * math/s_csinhf.c (__csinhf): Likewise.
68657         * math/s_csinhl.c (__csinhl): Likewise.
68658         * math/s_csinl.c (__csinl): Likewise.
68659         * math/libm-test.inc (ccos_test): Add more tests.
68660         (ccosh_test): Likewise.
68661         (csin_test): Likewise.
68662         (csinh_test): Likewise.
68664 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68666         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68667         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68668         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68669         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68670         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68671         powerpc/power5+/fpu folders.
68672         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68675 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68679 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68681         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68682         additions to variable.
68683         [$(config-machine) = x86_64] (modules-names): Likewise.
68684         ($(objpfx)tst-audit3): Remove dependency.
68685         ($(objpfx)tst-audit3.out): Likewise.
68686         ($(objpfx)tst-audit4): Likewise.
68687         ($(objpfx)tst-audit4.out): Likewise.
68688         ($(objpfx)tst-audit5): Likewise.
68689         ($(objpfx)tst-audit5.out): Likewise.
68690         ($(objpfx)tst-audit6): Likewise.
68691         ($(objpfx)tst-audit6.out): Likewise.
68692         ($(objpfx)tst-audit7): Likewise.
68693         ($(objpfx)tst-audit7.out): Likewise.
68694         (tst-audit3-ENV): Remove variable.
68695         (tst-audit4-ENV): Likewise.
68696         (tst-audit5-ENV): Likewise.
68697         (tst-audit6-ENV): Likewise.
68698         (tst-audit7-ENV): Likewise.
68699         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68700         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68701         addition to variable.
68702         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68707         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68708         tst-audit3, tst-audit4 and tst-audit5.
68709         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68710         tst-audit6 and tst-audit7.
68711         [$(subdir) = elf] (modules-names): Add audit modules for those
68712         tests.
68713         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68714         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68715         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68716         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68717         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68718         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68719         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68720         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68721         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68722         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68723         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68724         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68725         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68726         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68727         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68728         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68729         Likewise.
68730         [$(subdir) = elf && $(config-cflags-avx) = yes]
68731         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68732         [$(subdir) = elf && $(config-cflags-avx) = yes]
68733         (CFLAGS-tst-auditmod4a.c): Likewise.
68734         [$(subdir) = elf && $(config-cflags-avx) = yes]
68735         (CFLAGS-tst-auditmod4b.c): Likewise.
68736         [$(subdir) = elf && $(config-cflags-avx) = yes]
68737         (CFLAGS-tst-auditmod6b.c): Likewise.
68738         [$(subdir) = elf && $(config-cflags-avx) = yes]
68739         (CFLAGS-tst-auditmod6c.c): Likewise.
68740         [$(subdir) = elf && $(config-cflags-avx) = yes]
68741         (CFLAGS-tst-auditmod7b.c): Likewise.
68742         * elf/tst-audit3.c: Move to ...
68743         * sysdeps/x86_64/tst-audit3.c: ... here.
68744         * elf/tst-audit4.c: Move to ...
68745         * sysdeps/x86_64/tst-audit4.c: ... here.
68746         * elf/tst-audit5.c: Move to ...
68747         * sysdeps/x86_64/tst-audit5.c: ... here.
68748         * elf/tst-audit6.c: Move to ...
68749         * sysdeps/x86_64/tst-audit6.c: ... here.
68750         * elf/tst-audit7.c: Move to ...
68751         * sysdeps/x86_64/tst-audit7.c: ... here.
68752         * elf/tst-auditmod3a.c: Move to ...
68753         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68754         * elf/tst-auditmod3b.c: Move to ...
68755         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68756         * elf/tst-auditmod4a.c: Move to ...
68757         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68758         * elf/tst-auditmod4b.c: Move to ...
68759         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68760         * elf/tst-auditmod5a.c: Move to ...
68761         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68762         * elf/tst-auditmod5b.c: Move to ...
68763         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68764         * elf/tst-auditmod6a.c: Move to ...
68765         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68766         * elf/tst-auditmod6b.c: Move to ...
68767         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68768         * elf/tst-auditmod6c.c: Move to ...
68769         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68770         * elf/tst-auditmod7a.c: Move to ...
68771         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68772         * elf/tst-auditmod7b.c: Move to ...
68773         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68775 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68777         [BZ #15366]
68778         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68779         define unconditionally.
68780         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68781         define unconditionally.
68782         (INT8_C, INT16_C, etc.): Likewise.
68784 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68786         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68787         __ehdr_start with hidden visibility.
68789         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68791 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68793         * math/libm-test.inc (cos_test): Use accurate hex constants.
68794         (sincost_test): Likewise.
68796 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68798         * math/libm-test.inc (catan_test): Add more tests.
68799         (catanh_test): Likewise.
68801         * math/s_catanf.c (__catanf): Use suffixed floating-point
68802         constants.
68803         * math/s_catanhf.c (__catanhf): Likewise.
68804         * math/s_catanhl.c (__catanhl): Likewise.
68805         * math/s_catanl.c (__catanl): Likewise.
68807         [BZ #15394]
68808         * math/s_catan.c (__catan): Calculate imaginary part of result
68809         with log1p not log unless computing log of number close to 0.
68810         * math/s_catanf.c (__catanf): Likewise.
68811         * math/s_catanl.c (__catanl): Likewise.
68812         * math/s_catanh.c (__catanh): Calculate real part of result with
68813         log1p not log unless computing log of number close to 0.
68814         * math/s_catanhf.c (__catanhf): Likewise.
68815         * math/s_catanhl.c (__catanhl): Likewise.
68816         * math/libm-test.inc (catan_test): Add more tests.
68817         (catanh_test): Likewise.
68818         * sysdeps/i386/fpu/libm-test-ulps: Update.
68819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68821 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68823         * benchtests/Makefile: Mention files in which fast and slow
68824         paths of math functions are implemented.
68826 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68828         * sysdeps/posix/timespec_get.c: New file.
68830 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68832         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68833         POWER.
68834         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68835         for POWER.
68836         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68837         powerpc/power5/fpu folders.
68838         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68839         * benchtests/Makefile: Add modf testcase.
68840         * benchtests/bench-modf.c: New file: Benchmark test for mo
68842 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68844         [BZ #14888]
68845         * time/Makefile (tests): Add tst-strptime-whitespace.
68846         * time/strptime_l.c (get_number): Use ISSPACE.
68847         (__strptime_internal): Likewise.
68848         * time/tst-strptime-whitespace.c: New test case.
68850 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68852         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68853         member.
68854         (_nss_files_init): Set it here.
68856 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68858         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68859         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68860         unsigned.
68862 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68864         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68866 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68868         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68869         size just once.
68871 2013-04-21  David S. Miller  <davem@davemloft.net>
68873         * po/ru.po: Update Russion translation from translation project.
68875 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68877         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68878         and setfsgid.
68880 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68882         * configure.in: Remove i386 configure warning. Remove i386 case.
68883         * configure: Regenerate.
68884         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68885         Add example to error message.
68886         * sysdeps/i386/configure: Regenerate.
68888 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68890         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68891         slowtan.
68892         * benchtests/cos-inputs: New file.
68893         * benchtests/slowcos-inputs: New file.
68894         * benchtests/slowcos.c: New file.
68895         * benchtests/slowtan-inputs: New file.
68896         * benchtests/slowtan.c: New file.
68897         * benchtests/tan-inputs: New file.
68899 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68901         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68902         considered kosher.
68904 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68906         * benchtests/Makefile: Include cppflags-iterator.mk to add
68907         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68909         * Makefile.in (bench-clean): New target.
68910         * benchtests/Makefile (bench-clean): Likewise.
68912 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68914         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68916 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68918         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68920 2013-04-15  Andreas Schwab  <schwab@suse.de>
68922         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68923         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68924         * nscd/pwdcache.c (cache_addpw): Likewise.
68925         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68926         more than recsize.
68928 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68930         * benchtests/Makefile (bench): Write all output to
68931         bench-out.tmp together.
68933 2013-04-15  Andreas Schwab  <schwab@suse.de>
68935         * nscd/nscd.c (main): Don't fork again after closing files.
68937 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68939         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68941         * benchtests/Rules (bench-deps): Collect dependencies into a
68942         single variable.  Add Makefile to dependencies.
68943         ($(objpfx)bench-%.c): Depend on bench-deps.
68945 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68946             Xavier Roche  <roche+kml2@exalead.com>
68948         [BZ #15361]
68949         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68950         just that it's a file descriptor.
68951         * manual/llio.texi (Synchronizing AIO Operations): Update description
68952         for EBADF error from aio_fsync.
68954 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68956         * Rules (bench): Move target definition...
68957         * benchtests/Makefile: ... here.
68959 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68961         * math/libm-test.inc (cos_test): Fix PI/2 test.
68962         (sincos_test): Likewise.
68963         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68964         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68966 2013-04-11  Andreas Schwab  <schwab@suse.de>
68968         [BZ #13988]
68969         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68970         accept exponent character only when digits were seen.
68971         * stdio-common/Makefile (tests): Add bug26.
68972         * stdio-common/bug26.c: New file.
68974         [BZ #14293]
68975         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68976         non-freeable.
68978 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68980         * Makeconfig (rtld-prefix): Define built linker prefix.
68981         * Rules (run-bench): Use it.
68982         * math/Makefile (run-regen-ulps): Likewise.
68984         * Rules (bench): Remove eval.
68986 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68987             Roland McGrath  <roland@hack.frob.com>
68988             Ondrej Bilka  <neleai@seznam.cz>
68990         [BZ #15346]
68991         * time/getdate.c: Include ctype.h and alloca.h.
68992         (__getdate_r): Trim leading and trailing spaces of input.
68993         * time/tst-getdate.c (tests): Add tests with leading and
68994         trailing spaces.
68996 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68998         [BZ #14280]
68999         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
69000         when computing value.
69002 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69004         * math/README.libm-test (How can I generate "libm-test-ulps"?):
69005         Use testrun.sh to run libm tests.
69007         [BZ #15309]
69008         * elf/dl-open.c (dl_open_worker): memset all of seen array.
69010 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
69012         [BZ #15264]
69013         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
69015 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69017         * Makefile.in (regen-ulps): New target.
69018         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
69019         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
69020         [ifneq (no,$(PERL)] (regen-ulps): New target.
69021         [ifeq (no,$(PERL)] (regen-ulps): New target.
69022         * math/libm-test.inc (ulps_file_name): Define.
69023         (output_dir): New variable.
69024         (options): Add "output-dir" option.
69025         (parse_opt): Handle 'o' case.
69026         (main): If output_dir is non-NULL use it as a prefix
69027         otherwise use "".
69028         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
69030 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69032         [BZ #10060, #10062]
69033         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
69034         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
69035         fail configure if __sync_val_compare_and_swap is not inlined.
69036         * sysdeps/i386/configure: Regenerate.
69037         * configure.in: Build for i686 when configured for i386.
69038         * configure: Regenerate.
69039         * README: Remove i386 reference.
69041 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69043         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
69044         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69046 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69048         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
69049         (lmsnanval): New variables.
69050         (F): Add conversion tests.
69051         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
69052         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
69054         * stdio-common/tstdiomisc.c (F): Properly collect individual
69055         tests' results.
69057         [BZ #14686, #15336]
69058         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
69059         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
69060         Instead, use input NaN values or generate a qNaN by arithmetic
69061         operation.  Also fix bugs to comply with the standard.
69062         * math/libm-test.inc (remainder_test): Add more tests.
69064         [BZ #15335, #15342]
69065         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
69066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
69067         input NaN values or generate a qNaN by arithmetic operation.
69069         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
69070         unreachable code.
69072         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
69073         definitions.
69075 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
69077         [BZ #14478]
69078         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
69079         underflowed result.
69080         * math/s_cexpf.c (__cexpf): Likewise.
69081         * math/s_cexpl.c (__cexpl): Likewise.
69082         * math/libm-test.inc (cexp_test): Add more tests.
69084 2013-04-03  Andreas Schwab  <schwab@suse.de>
69086         [BZ #15330]
69087         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
69088         order arrays from heap if bigger than alloca cutoff.
69090 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
69092         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
69093         (SNAN_TESTS_double): Refer to GCC PR56831.
69094         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
69095         GCC PR56828.
69097 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
69099         * Rules (bench): Move bench.out after the run is complete.
69101         * Rules (bench): Echo currently running benchmark.
69103         * benchtests/Makefile (bench): Add atan and slowatan.
69104         * benchtests/atan-inputs: New file.
69105         * benchtests/slowatan-inputs: New file.
69106         * benchtests/slowatan.c: New file.
69108         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69109         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
69110         its value.
69112         [BZ #15305]
69113         * sysdeps/unix/sysv/linux/kernel-features.h
69114         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
69115         __ASSUME_XFS_RESTRICTED_CHOWN.
69116         * sysdeps/unix/sysv/linux/pathconf.c
69117         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
69118         Save and restore errno.
69120 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
69122         [BZ #15327]
69123         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
69124         arguments using __kernel_casinh.
69125         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
69126         arguments using __kernel_casinhf.
69127         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
69128         arguments using __kernel_casinhl.
69129         * math/libm-test.inc (cacosh_test): Add more tests.
69130         * sysdeps/i386/fpu/libm-test-ulps: Update.
69131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69133 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69135         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
69136         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69138         * bench/Makefile (bench): Add sin and slowsin.
69139         * benchtests/sin-inputs: New file.
69140         * benchtests/slowsin-inputs: New file.
69141         * benchtests/slowsin.c: New file.
69143         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
69144         (bench): Add slowexp and slowpow.
69145         (exp-ITER): Increase iterations.
69146         (pow-ITER): Likewise.
69147         * benchtests/exp-inputs: Change input.
69148         * benchtests/pow-inputs: Likewise.
69149         * benchtests/slowexp-inputs: New file.
69150         * benchtests/slowexp.c: New file.
69151         * benchtests/slowpow-inputs: New file.
69152         * benchtests/slowpow.c: New file.
69154 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69156         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
69157         instructions.
69158         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69159         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69160         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69161         * benchtests/Makefile: Add rint benchtest.
69162         * benchtests/rint-inputs: Input for rint benchtest.
69164 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69166         * Versions.def (libm): Add GLIBC_2.18.
69167         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69168         hidden libm prototypes.
69169         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69170         * math/Makefile (libm-calls): Add s_issignaling.
69171         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69172         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
69173         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69174         declaration.
69175         * math/math.h [__USE_GNU] (issignaling): New macro.
69176         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69177         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69178         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69179         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69180         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69181         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69182         * manual/arith.texi (issignaling): New section.
69183         * manual/libm-err-tab.pl (@all_functions): Update comment.
69184         * math/gen-libm-test.pl (parse_args): Apply special handling for
69185         issignaling.
69186         * math/libm-test.inc (print_float, issignaling_test): New
69187         functions.
69188         (check_float_internal): Add issignaling checks.
69189         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69190         default definition.
69191         * sysdeps/powerpc/math-tests.h: New file.
69192         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69193         tests.
69194         * math/test-snan.c (TEST_FUNC): Likewise.
69196 2013-03-30  David S. Miller  <davem@davemloft.net>
69198         * po/de.po: Update from translation team.
69200 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
69202         [BZ #10357]
69203         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69204         imaginary part less than 1.0 and real part less than 0.5
69205         specially.
69206         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69207         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69208         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69209         (cacos_test): Add more tests.
69210         (casin_test): Likewise.
69211         (casinh_test): Likewise.
69212         * sysdeps/i386/fpu/libm-test-ulps: Update.
69213         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69215 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69217         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69218         ONE with its value.
69220         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69221         (__pow_mp): Replace ONE and MONE with their values.
69222         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69223         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69224         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69225         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69226         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69227         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69229         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69231         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69232         (__pow_mp): Replace ZERO and MZERO with their values.
69233         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69234         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69235         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69236         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69237         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69238         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69239         (__sqr): Likewise.
69241         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69243         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69245 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69247         * include/stdlib.h [!SHARED] (__call_tls_dtors):
69248         Declare with __attribute__ ((weak)).
69249         * stdlib/exit.c (__libc_atexit) [!SHARED]:
69250         Call __call_tls_dtors only if it's not NULL.
69252 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69254         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69255         didn't do it already, then set _dl_phdr and _dl_phnum based on the
69256         magic __ehdr_start linker symbol if it's defined.
69257         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69258         them up here if it was already done.
69260         * elf/dl-support.c (_dl_phdr): Make pointer to const.
69261         (_dl_aux_init): Use const in cast when setting it.
69262         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69263         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69264         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69266         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69267         Declare them here.
69268         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69269         * csu/libc-tls.c: Nor here.
69270         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69272         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69273         (__libc_message): Never call vsyslog.
69275 2013-03-28  Alan Modra  <amodra@gmail.com>
69277         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69278         Define as empty.
69279         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69280         Likewise.
69282 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69284         [BZ #15214]
69285         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69286         underflow.
69287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69289 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69291         [BZ #15304]
69292         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69293         Don't add gid passed as argument.
69295         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69297 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69299         [BZ #15307]
69300         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69301         imaginary part between 1.0 and 1.5 and real part less than 0.5
69302         specially.
69303         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69304         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69305         * math/libm-test.inc (cacos_test): Add more tests.
69306         (casin_test): Likewise.
69307         (casinh_test): Likewise.
69308         * sysdeps/i386/fpu/libm-test-ulps: Update.
69309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69311 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69313         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69314         constants.
69315         (norm): Likewise.
69316         (denorm): Likewise.
69317         (__dbl_mp): Likewise.
69318         (add_magnitudes): Likewise.
69319         (sub_magnitudes): Likewise.
69320         (__add): Likewise.
69321         (__sub): Likewise.
69322         (__mul): Likewise.
69323         (__sqr): Likewise.
69324         (__inv): Likewise.
69325         (__dvd): Likewise.
69327         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69328         commented code.
69329         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69330         (__dubcos): Likewise.
69331         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69332         (__ieee754_acos): Likewise.
69333         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69334         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69335         (__exp1): Likewise.
69336         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69337         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69338         (log1): Likewise.
69339         (my_log2): Likewise.
69340         (checkint): Likewise.
69341         * sysdeps/ieee754/dbl-64/e_remainder.c
69342         (__ieee754_remainder): Likewise.
69343         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69344         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69345         (bsloww): Likewise.
69346         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69348         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69349         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69350         MANTISSA_STORE_T to store computations on mantissa.  Use
69351         macros for rounding and division.
69352         (denorm): Likewise.
69353         (__dbl_mp): Likewise.
69354         (add_magnitudes): Likewise.
69355         (sub_magnitudes): Likewise.
69356         (__mul): Likewise.
69357         (__sqr): Likewise.
69358         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69359         powers of two in terms of TWOPOW macro.
69360         (mp_no): Make type of mantissa as MANTISSA_T.
69361         [!RADIXI]: Define RADIXI.
69362         [!TWO52]: Define TWO52.
69363         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69365 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69367         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69368         llroundl symbol when building for PPC32.
69370 2013-03-24  Mark H Weaver  <mhw@netris.org>
69372         * manual/arith.texi (Normalization Functions): Fix prototypes for
69373         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69375 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69377         [BZ #13889]
69378         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69379         high value to check if expl overflow.
69380         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69381         to check for underflow and overflow.
69382         * math/libm-test.inc: Add exp test.
69384 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69386         [BZ #11120]
69387         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69388         with NOT_IN_libc.
69390 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69392         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69393         symbol.
69395 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69397         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69398         wrap blocks consisting of several statements.
69400         * sysdeps/generic/math-tests.h: New file.
69401         * sysdeps/i386/fpu/math-tests.h: Likewise.
69402         * math/test-snan.c: Include it.
69403         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69405 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69407         [BZ #15285]
69408         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69409         (__ieee754_j0l): Do not improve calculations using cos of twice
69410         input for inputs above LDBL_MAX / 2.0L.
69411         (__ieee754_y0l): Likewise.
69412         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69413         (__ieee754_j1l): Do not improve calculations using cos of twice
69414         input for inputs above LDBL_MAX / 2.0L.
69415         (__ieee754_y1l): Likewise.
69416         * math/libm-test.inc (j0_test): Add another test.
69417         (j1_test): Likewise.
69418         (y0_test): Likewise.
69419         (y1_test): Likewise.
69420         * sysdeps/i386/fpu/libm-test-ulps: Update.
69422 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69424         * Rules ($(objpfx)bench-%.c): Include code from a C source
69425         file.
69427 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69429         [BZ #15287]
69430         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69431         imaginary part 1.0 and real part less than 0.5 specially.
69432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69434         * math/libm-test.inc (cacos_test): Add more tests.
69435         (casin_test): Likewise.
69436         (casinh_test): Likewise.
69437         * sysdeps/i386/fpu/libm-test-ulps: Update.
69438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69440 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69442         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69443         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69445 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69447         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69448         * config.make.in (config-cflags-sse4): Remove variable.
69449         (config-cflags-avx): Likewise.
69450         (config-cflags-sse2avx): Likewise.
69451         (config-cflags-novzeroupper): Likewise.
69452         (config-asflags-i686): Likewise.
69453         (have-mfma4): Likewise.
69454         (have-as-vis3): Likewise.
69455         (MIG): Likewise.
69456         * configure.in (MIG): Do not AC_SUBST.
69457         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69458         (libc_cv_cc_sse4): Do not AC_SUBST.
69459         (libc_cv_cc_avx): Likewise.
69460         (libc_cv_cc_sse2avx): Likewise.
69461         (libc_cv_cc_novzeroupper): Likewise.
69462         (libc_cv_cc_fma4): Likewise.
69463         (libc_cv_as_i686): Likewise.
69464         (libc_cv_sparc_as_vis3): Likewise.
69465         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69466         LIBC_CONFIG_VAR.
69467         (config-asflags-i686): Likewise.
69468         (config-cflags-avx): Likewise.
69469         (config-cflags-sse2avx): Likewise.
69470         (have-mfma4): Likewise.
69471         (config-cflags-novzeroupper): Likewise.
69472         * sysdeps/mach/configure.in (MIG): Likewise.
69473         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69474         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69475         LIBC_CONFIG_VAR.
69476         (config-cflags-avx): Likewise.
69477         (config-cflags-sse2avx): Likewise.
69478         (have-mfma4): Likewise.
69479         (config-cflags-novzeroupper): Likewise.
69480         * configure: Regenerated.
69481         * sysdeps/i386/configure: Likewise.
69482         * sysdeps/mach/configure: Likewise.
69483         * sysdeps/sparc/configure: Likewise.
69484         * sysdeps/x86_64/configure: Likewise.
69486 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69488         [BZ #14812]
69489         * locale/programs/localedef.c (options): Put N_ translation marker
69490         on argument names, not just descriptions.
69492 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69494         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69496 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
69498         [BZ #14176]
69499         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69501 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69503         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69504         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69505         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69506         [!BEFORE_ABORT] (before_abort): New function.
69507         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69508         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69509         (writev_for_fatal): New function.
69510         (WRITEV_FOR_FATAL): New macro; call that.
69511         (backtrace_and_maps): New function.
69512         (BEFORE_ABORT): New macro; call that.
69513         (struct str_list): Type removed.
69514         (__libc_message, __libc_fatal): Functions removed.
69515         Include <sysdeps/posix/libc_fatal.c> instead.
69517 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69519         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69520         constants.
69521         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69522         double constants.
69524 2013-03-19  Andreas Schwab  <schwab@suse.de>
69526         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69527         * sysdeps/gnu/configure: Regenerate.
69529         * configure.in: Substitute libc_cv_rtlddir.
69530         * configure: Regenerate.
69531         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69532         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69533         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69534         * elf/Makefile (install-others, CFLAGS-interp.c)
69535         (ldso_install, common-ldd-rewrite): Likewise.
69536         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69537         $(inst_slibdir)/$(rtld-installed-name).
69538         * scripts/rellns-sh: Add -p option.
69539         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69540         for source.
69542 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69544         * manual/nptl.texi: Renamed to ...
69545         * manual/threads.texi: ... this.
69546         * manual/Makefile (chapters): Update.
69548 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69550         [BZ #14812]
69551         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69552         on argument names, not just descriptions.
69553         * malloc/memusagestat.c (options): Likewise.
69554         * nss/getent.c (options): Likewise.
69556 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69558         [BZ #14812]
69559         * iconv/iconv_prog.c (options): Put N_ translation marker
69560         on argument names, not just descriptions.
69561         * iconv/iconvconfig.c (options): Likewise.
69563 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69565         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69566         implementation which is faster on all x86_64 architectures.
69567         Tested on AMD, Intel Nehalem, SNB, IVB.
69568         * sysdeps/x86_64/strnlen.S: Likewise.
69570         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69571         Remove all multiarch strlen and strnlen versions.
69572         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69573         Remove strlen and strnlen related parts.
69575         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69576         Inline strlen part.
69577         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69579         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69580         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69581         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69582         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69583         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69584         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69586 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69588         * manual/memory.texi (Malloc Tunable Parameters):
69589         Sort parameters alphabetically. Add comments for missing entries.
69591 2013-03-17  David S. Miller  <davem@davemloft.net>
69593         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69595 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69597         [BZ #15283]
69598         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69599         for arguments at most half maximum finite value.
69600         * math/libm-test.inc (j0_test): Add more tests.
69601         (j1_test): Likewise.
69602         (y0_test): Likewise.
69603         (y1_test): Likewise.
69604         * sysdeps/i386/fpu/libm-test-ulps: Update.
69605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69607         [BZ #14155]
69608         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69609         1 / x and functions P and Q for arguments above 0x1p256L.
69610         (__ieee754_y0l): Likewise.
69611         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69612         (__ieee754_y1l): Likewise.
69613         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69614         (j1_test): Likewise.
69615         (y0_test): Likewise.
69616         (y1_test): Likewise.
69618 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69620         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69621         variable.
69623 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69625         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69626         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69627         zero since it's initialized to EXEC_PAGESIZE.
69629         * sysdeps/unix/sysv/linux/ldsodefs.h
69630         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69631         * sysdeps/generic/ldsodefs.h: ... here.
69633 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69635         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69637         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69638         math/test-snan.c.
69639         * math/test-snan.c: Renamed from
69640         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69641         * math/Makefile (tests): Add test-snan.
69642         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69643         test-powerpc-snan.
69645         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69646         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69647         functions.
69648         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69649         __builtin_nan family of functions.
69650         * math/libm-test.inc (initialize): Initialize qnan_value with
69651         __builtin_nan family of functions.
69652         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69653         Remove variables.
69654         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69655         Remove functions.
69656         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69657         storage class.  Initialize qNaN_var and sNaN_var with
69658         __builtin_nan and __builtin_nans families of functions,
69659         respectively.
69661         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69662         (sqrt_test): Remove duplicate test with qNaN input.
69663         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69664         (round_test, signbit_test, significand_test): Note missing +/-Inf
69665         as well as qNaN tests.
69667         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69668         qNaN_var.  Fix a few strings, too.
69669         * math/libm-test.inc (nan_value): Rename to qnan_value.
69670         * math/gen-libm-test.pl (%beautify): Adjust to that.
69671         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69672         * math/test-misc.c (main): Likewise.
69673         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69674         to __qnan_bytes, and __qnan_union, respectively.
69675         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69676         Likewise.
69677         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69678         and lqnanval, respectively.
69679         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69680         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69681         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69682         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69684         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69685         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69686         doubles.
69688         * math/test-misc.c (main): Fix copy'n'pastos.
69689         * misc/tst-efgcvt.c (special): Likewise.
69691         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69692         Remove declarations.
69694 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69696         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69697         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69698         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69699         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69701 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69703         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69704         macro to return vdso values correctly in IFUNC implementations.
69705         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69706         Optimization by using IFUNC.
69708 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69709             Richard Henderson  <rth@redhat.com>
69710             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69712         * Makefile.in (bench): New target.
69713         * NEWS: Mention the benchmark framework.
69714         * Rules (bench): Likewise.
69715         (binaries-bench): Generate binaries for functions to
69716         benchmark.
69717         * benchtests/Makefile: New makefile for benchmark tests.
69718         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69719         programs.
69720         * benchtests/exp-inputs: New input file for EXP function.
69721         * benchtests/pow-inputs: New input file for POW function.
69722         * scripts/bench.pl: New script to generate source files for
69723         benchmark programs.
69725 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69727         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69728         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69729         computations on mantissa.  Use macros for rounding and
69730         division.
69731         (denorm): Likewise.
69732         (__dbl_mp): Likewise.
69733         (add_magnitudes): Likewise.
69734         (sub_magnitudes): Likewise.
69735         (__mul): Likewise.
69736         (__sqr): Likewise.
69737         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69738         powers of two in terms of TWOPOW macro.
69739         (mp_no): Make type of mantissa as MANTISSA_T.
69740         [!RADIXI]: Define RADIXI.
69741         [!TWO52]: Define TWO52.
69742         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69744         * manual/nptl.texi (cindex): Modify threads to pthreads.
69746 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69748         * sysdeps/x86_64/preconfigure: Regenerated.
69750 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69752         [BZ #14155]
69753         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69754         0x1p28 and above.
69755         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69756         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69757         0x1p28 and above.
69758         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69759         * math/libm-test.inc (j0_test): Do not allow one spurious
69760         underflow exception.
69761         (y1_test): Likewise.
69763 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69765         * manual/Makefile (chapters): Add nptl.
69766         * manual/debug.texi (Debugging Support): Add link to Threads
69767         chapter.
69768         * manual/nptl.texi: New file.
69770         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69772 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69774         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69775         for non-NULL pointer before the memory validity test. Pointed
69776         out by Holger Brunck <holger.brunck@keymile.com>.
69778 2013-03-13  Andreas Schwab  <schwab@suse.de>
69780         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69781         instead of .os.
69783 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69785         * timezone/zic.c: Update from tzcode 2013b.
69787 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69789         * manual/install.texi (Configuring and compiling):
69790         Mention i686 and i586.
69791         * INSTALL: Regenerate.
69793 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69795         * sysdeps/init_array/elf-init.c: New file.
69796         * csu/elf-init.c
69797         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69798         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69800         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69801         __gmon_start__ as global, but as static with a .preinit_array pointer.
69802         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69803         * sysdeps/init_array/crti.S: New file, empty except for comments.
69804         * sysdeps/init_array/crtn.S: Likewise.
69806 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
69808         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69809         definining bcopy.
69810         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69811         Remove Prefer_SSE_for_memop.
69812         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69813         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69814         HAS_PREFER_SSE_FOR_MEMOP.
69815         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69816         memset-x86-64.
69817         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69818         Remove bzero, memset ifunc support.
69819         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69820         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69821         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69822         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69824 2013-03-11  Andreas Schwab  <schwab@suse.de>
69826         [BZ #15234]
69827         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69828         by SHLIB_COMPAT.
69829         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69830         (GLIBC_2.16): Remove pthread_atfork.
69832 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69834         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69835         (ptestcases.h): Likewise.
69837 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69839         * Makeconfig ($(common-objpfx)config.status): Depend on
69840         sysdeps/*/preconfigure{,.in} too.
69842 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69844         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69845         (__free_hook): Use void * instead of __malloc_ptr_t.
69846         (__malloc_hook): Likewise.
69847         (__realloc_hook): Likewise.
69848         (__memalign_hook): Likewise.
69849         (__after_morecore_hook): Likewise.
69850         * malloc/arena.c (save_malloc_hook): Likewise.
69851         (save_free_hook): Likewise.
69852         * malloc/hooks.c (malloc_hook_ini): Likewise.
69853         (realloc_hook_ini): Likewise.
69854         (memalign_hook_ini): Likewise.
69855         * malloc/malloc.c (malloc_hook_ini): Likewise.
69856         (realloc_hook_ini): Likewise.
69857         (memalign_hook_ini): Likewise.
69858         (__free_hook): Likewise.
69859         (__malloc_hook): Likewise.
69860         (__realloc_hook): Likewise.
69861         (__memalign_hook): Likewise.
69862         (__libc_malloc): Likewise.
69863         (__libc_free): Likewise.
69864         (__libc_realloc): Likewise.
69865         (__libc_memalign): Likewise.
69866         (__libc_valloc): Likewise.
69867         (__libc_pvalloc): Likewise.
69868         (__libc_calloc): Likewise.
69869         (__posix_memalign): Likewise.
69870         * malloc/morecore.c (__sbrk): Likewise.
69871         (__default_morecore): Likewise.
69873         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69875         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69876         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69877         __malloc_ptrdiff_t.
69879         * malloc/malloc.h (__malloc_size_t): Remove macro.
69880         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69881         __malloc_size_t.
69882         (old_memalign_hook): Likewise.
69883         (old_realloc_hook): Likewise.
69884         (struct hdr): Likewise.
69885         (flood): Likewise.
69886         (mallochook): Likewise.
69887         (memalignhook): Likewise.
69888         (reallochook): Likewise.
69889         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69890         (tr_old_realloc_hook): Likewise.
69891         (tr_old_memalign_hook): Likewise.
69892         (tr_mallochook): Likewise.
69893         (tr_reallochook): Likewise.
69894         (tr_memalignhook): Likewise.
69896 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69898         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69899         default_ldbl_pack and using as default implementation.
69900         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69901         implementation.
69902         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69903         redundant definition.
69904         (ldbl_insert_mantissa): Likewise.
69905         (ldbl_canonicalize): Likewise.
69906         (ldbl_nearbyint): Likewise.
69907         (ldbl_pack): Rename to ldbl_pack_ppc.
69908         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69909         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69910         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69912 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69914         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69915         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69916         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69917         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69918         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69919         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69920         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69921         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69923 2013-03-07  Andreas Jaeger  <aj@suse.de>
69925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69926         bits/mman-linux.h.
69928 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69930         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69931         Include mpa.h and declare __MPEXP.
69932         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69933         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69934         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69935         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69936         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69937         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69938         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69940         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69941         (__slowpow): Use long double EXPL and LOGL functions to
69942         compute POW.
69943         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69944         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69945         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69946         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69947         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69948         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69950         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69951         intermediate variable to calculate exponent.
69952         (__sqr): Likewise.
69953         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69954         Likewise.
69955         (__sqr): Likewise.
69957         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69958         [!NO__SQR]: Define __sqr.
69959         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69960         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69961         sysdeps/ieee754/dbl-64/mpa.c.
69962         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69964         [BZ #12723]
69965         * posix/Makefile (tests): Add tst-pathconf.
69966         * posix/tst-pathconf.c: New test case.
69967         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69968         _PC_PIPE_BUF.
69969         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69971 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69973         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69975 2013-03-06  Andreas Jaeger  <aj@suse.de>
69977         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69978         definition via __MAP_ANONYMOUS.
69980         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69981         it's not part of Linux headers.
69983         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69984         (MAP_HUGE_MASK): Define.
69986         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69987         Define.
69988         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69989         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69990         Define.
69991         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69992         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69993         Define.
69994         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69995         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69996         Define.
69997         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69999         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
70000         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
70001         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
70002         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
70003         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
70004         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
70006         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70007         Handle f2fs.
70009         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70010         Handle f2fs and efivarfs.
70012         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
70013         f2fs.
70015         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
70016         (EFIVARFS_MAGIC): Add.
70017         (F2FS_LINK_MAX): Add.
70019 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70021         * stdio-common/vfprintf.c: Replace __builtin_expect with
70022         __glibc_unlikely.
70024 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
70026         [BZ #13550]
70027         * sysdeps/generic/bp-sym.h: Remove file.
70028         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
70029         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
70030         <bp-sym.h> and <bp-asm.h>.
70031         (__longjmp): Don't use BP_SYM.
70032         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
70033         and <bp-asm.h>.
70034         (memcpy): Don't use BP_SYM.
70035         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
70036         <bp-sym.h> and <bp-asm.h>.
70037         (memcpy): Don't use BP_SYM.
70038         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
70039         <bp-asm.h>.
70040         (memcpy): Don't use BP_SYM.
70041         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
70042         <bp-asm.h>.
70043         (memset): Don't use BP_SYM.
70044         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70045         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70046         (__bzero): Don't use BP_SYM.
70047         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70048         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70049         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70050         <bp-sym.h> and <bp-asm.h>.
70051         (memcmp): Don't use BP_SYM.  Remove comment about bounded
70052         pointers.
70053         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
70054         <bp-sym.h> and <bp-asm.h>.
70055         (memcpy): Don't use BP_SYM.
70056         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
70057         <bp-sym.h> and <bp-asm.h>.
70058         (memset): Don't use BP_SYM.
70059         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70060         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70061         (__bzero): Don't use BP_SYM.
70062         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70063         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70064         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
70065         <bp-sym.h> and <bp-asm.h>.
70066         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70067         pointers.
70068         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
70069         <bp-sym.h> and <bp-asm.h>.
70070         (memcpy): Don't use BP_SYM.
70071         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
70072         <bp-sym.h> and <bp-asm.h>.
70073         (memset): Don't use BP_SYM.
70074         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70075         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70076         (__bzero): Don't use BP_SYM.
70077         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70078         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70079         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
70080         <bp-sym.h> and <bp-asm.h>.
70081         (__memchr): Don't use BP_SYM.
70082         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
70083         <bp-sym.h> and <bp-asm.h>.
70084         (memcmp): Don't use BP_SYM.  Remove comment about bounded
70085         pointers.
70086         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
70087         <bp-sym.h> and <bp-asm.h>.
70088         (memcpy): Don't use BP_SYM.
70089         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
70090         <bp-sym.h> and <bp-asm.h>.
70091         (__mempcpy): Don't use BP_SYM.
70092         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
70093         <bp-sym.h> and <bp-asm.h>.
70094         (__memrchr): Don't use BP_SYM.
70095         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
70096         <bp-sym.h> and <bp-asm.h>.
70097         (memset): Don't use BP_SYM.
70098         (__bzero): Likewise.
70099         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
70100         <bp-sym.h> and <bp-asm.h>.
70101         (__rawmemchr): Don't use BP_SYM.
70102         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
70103         <bp-sym.h> and <bp-asm.h>.
70104         (__STRCMP): Don't use BP_SYM.
70105         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
70106         <bp-sym.h> and <bp-asm.h>.
70107         (strchr): Don't use BP_SYM.
70108         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
70109         <bp-sym.h> and <bp-asm.h>.
70110         (__strchrnul): Don't use BP_SYM.
70111         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
70112         <bp-sym.h> and <bp-asm.h>.
70113         (strlen): Don't use BP_SYM.
70114         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
70115         <bp-sym.h> and <bp-asm.h>.
70116         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70117         pointers.
70118         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
70119         <bp-sym.h> and <bp-asm.h>.
70120         (__strnlen): Don't use BP_SYM.
70121         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
70122         <bp-sym.h> and <bp-asm.h>.
70123         (__GI__setjmp): Don't use BP_SYM.
70124         (_setjmp): Likewise.
70125         (__sigsetjmp): Likewise.
70126         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
70127         (L(start_addresses)): Don't use BP_SYM.
70128         (_start): Likewise.
70129         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
70130         <bp-asm.h>.
70131         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
70132         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
70133         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70134         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70135         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
70136         <bp-asm.h>.
70137         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
70138         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
70139         about bounded pointers.
70140         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70141         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70142         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
70143         <bp-asm.h>.
70144         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
70145         about bounded pointers.  Remove GKM FIXME comments.
70146         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70147         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
70148         <bp-asm.h>.
70149         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
70150         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
70151         Remove GKM FIXME comments.
70152         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70153         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70154         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
70155         <bp-asm.h>.
70156         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
70157         about bounded pointers.  Remove GKM FIXME comment.
70158         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
70159         and <bp-asm.h>.
70160         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70161         pointers.
70162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70163         <bp-sym.h> and <bp-asm.h>.
70164         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70166         <bp-sym.h> and <bp-asm.h>.
70167         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70168         comment.
70170 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70172         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70173         call free(NULL).
70175 2013-03-05  David S. Miller  <davem@davemloft.net>
70177         * po/es.po: Update from translation team.
70179 2013-03-05  Andreas Jaeger  <aj@suse.de>
70181         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70182         <bits/mman-linux.h>.
70183         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70184         is fine.
70185         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70186         <bits/mman-linux.h> to end of file.
70187         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70188         is fine.
70189         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70190         <bits/mman-linux.h> to end of file.
70191         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70192         is fine.
70193         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70194         <bits/mman-linux.h> to end of file.
70196         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70197         (MCL_CURRENT, MCL_FUTURE): Define here.
70199 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70201         [BZ #15232]
70202         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70203         attribute_hidden.
70204         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70206 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70208         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70209         fourth parameter needed for rt_sigprocmask syscall.
70210         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70211         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70212         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70213         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70214         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70215         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70217 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
70219         [BZ #13550]
70220         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70221         comment about bounded pointers.
70222         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70223         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70225 2013-03-04  Andreas Jaeger  <aj@suse.de>
70227         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70228         common definitions.
70230         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70231         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70232         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70233         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70234         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70237 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70239         [BZ #15055]
70240         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70241         __ieee754_sqrl instead of __sqrl.
70243 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
70245         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70246         * sysdeps/powerpc/fpu_control.h: ... here.
70247         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70248         * sysdeps/powerpc/bits/fenvinline.h: ... here.
70249         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70250         * sysdeps/powerpc/bits/mathinline.h: ... here.
70252 2013-03-01  Roland McGrath  <roland@hack.frob.com>
70254         * elf/dl-hwcaps.c (_dl_important_hwcaps):
70255         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70256         to just [NEED_DL_SYSINFO_DSO].
70257         * elf/dl-support.c: Likewise.
70258         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70259         * elf/rtld.c (dl_main): Likewise.
70260         * elf/setup-vdso.h (setup_vdso): Likewise.
70261         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70262         * sysdeps/unix/sysv/linux/dl-sysdep.c
70263         (_dl_discover_osversion): Likewise.
70265 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70267         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70268         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70270 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70272         * NEWS: Mention libm performance improvements and non-x86 PI
70273         futex support.
70275         * csu/libc-start.c (__pthread_initialize_minimal): Change
70276         function arguments.
70277         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70279 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70281         [BZ #13550]
70282         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70283         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70284         <bp-sym.h> and <bp-asm.h>.
70285         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70286         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70287         and <bp-asm.h>.
70288         (memcpy): Don't use BP_SYM.
70289         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70290         <bp-asm.h>.
70291         (__mpn_add_n): Don't use BP_SYM.
70292         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70293         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70294         and <bp-asm.h>.
70295         (__mpn_addmul_1): Don't use BP_SYM.
70296         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70297         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70298         <bp-sym.h>.
70299         (_setjmp): Don't use BP_SYM.
70300         (__novmx_setjmp): Likewise.
70301         (__GI__setjmp): Likewise.
70302         (__vmx_setjmp): Likewise.
70303         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70304         <bp-sym.h>.
70305         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70306         (__bzero): Don't use BP_SYM.
70307         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70308         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70309         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70310         <bp-sym.h> and <bp-asm.h>.
70311         (memcpy): Don't use BP_SYM.
70312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70313         <bp-sym.h> and <bp-asm.h>.
70314         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70315         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70316         <bp-sym.h> and <bp-asm.h>.
70317         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70318         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70319         <bp-asm.h>.
70320         (__mpn_lshift): Don't use BP_SYM.
70321         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70322         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70323         <bp-asm.h>.
70324         (memset): Don't use BP_SYM.
70325         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70326         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70327         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70328         <bp-asm.h>.
70329         (__mpn_mul_1): Don't use BP_SYM.
70330         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70331         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70332         <bp-sym.h> and <bp-asm.h>.
70333         (memcmp): Don't use BP_SYM.
70334         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70335         <bp-sym.h> and <bp-asm.h>.
70336         (memcpy): Don't use BP_SYM.
70337         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70338         <bp-sym.h> and <bp-asm.h>.
70339         (memset): Don't use BP_SYM.
70340         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70341         <bp-sym.h> and <bp-asm.h>.
70342         (strncmp): Don't use BP_SYM.
70343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70344         <bp-sym.h> and <bp-asm.h>.
70345         (memcpy): Don't use BP_SYM.
70346         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70347         <bp-sym.h> and <bp-asm.h>.
70348         (memset): Don't use BP_SYM.
70349         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70350         <bp-sym.h> and <bp-asm.h>.
70351         (__memchr): Don't use BP_SYM.
70352         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70353         <bp-sym.h> and <bp-asm.h>.
70354         (memcmp): Don't use BP_SYM.
70355         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70356         <bp-sym.h> and <bp-asm.h>.
70357         (memcpy): Don't use BP_SYM.
70358         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70359         <bp-sym.h> and <bp-asm.h>.
70360         (__mempcpy): Don't use BP_SYM.
70361         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70362         <bp-sym.h> and <bp-asm.h>.
70363         (__memrchr): Don't use BP_SYM.
70364         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70365         <bp-sym.h> and <bp-asm.h>.
70366         (memset): Don't use BP_SYM.
70367         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70368         <bp-sym.h> and <bp-asm.h>.
70369         (__rawmemchr): Don't use BP_SYM.
70370         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70371         <bp-sym.h> and <bp-asm.h>.
70372         (__STRCMP): Don't use BP_SYM.
70373         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70374         <bp-sym.h> and <bp-asm.h>.
70375         (strchr): Don't use BP_SYM.
70376         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70377         <bp-sym.h> and <bp-asm.h>.
70378         (__strchrnul): Don't use BP_SYM.
70379         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70380         <bp-sym.h> and <bp-asm.h>.
70381         (strlen): Don't use BP_SYM.
70382         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70383         <bp-sym.h> and <bp-asm.h>.
70384         (strncmp): Don't use BP_SYM.
70385         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70386         <bp-sym.h> and <bp-asm.h>.
70387         (__strnlen): Don't use BP_SYM.
70388         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70389         <bp-asm.h>.
70390         (__mpn_rshift): Don't use BP_SYM.
70391         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70392         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70393         <bp-sym.h> and <bp-asm.h>.
70394         (__sigsetjmp): Don't use BP_SYM.
70395         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70396         (L(start_addresses)): Don't use BP_SYM.
70397         (_start): Likewise.
70398         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70399         <bp-asm.h>.
70400         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70401         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70402         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70403         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70404         <bp-asm.h>.
70405         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70406         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70407         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70408         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70409         <bp-asm.h>.
70410         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70411         comments.
70412         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70413         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70414         <bp-asm.h>.
70415         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70416         FIXME comments.
70417         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70418         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70419         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70420         <bp-asm.h>.
70421         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70422         comment.
70423         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70424         and <bp-asm.h>.
70425         (strncmp): Don't use BP_SYM,
70426         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70427         <bp-asm.h>.
70428         (__mpn_sub_n): Don't use BP_SYM.
70429         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70430         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70431         and <bp-asm.h>.
70432         (__mpn_submul_1): Don't use BP_SYM.
70433         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70435         <bp-sym.h> and <bp-asm.h>.
70436         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70438         <bp-sym.h> and <bp-asm.h>.
70439         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70440         comment.
70442 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70444         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70445         Use ZK to minimize writes to Z.
70446         (sub_magnitudes): Simplify code a bit.
70447         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70448         Use ZK to minimize writes to Z.
70449         (sub_magnitudes): Simplify code a bit.
70451 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70453         * csu/gmon-start.c: Add special exception to license text.
70455 2013-02-27  Richard Henderson  <rth@redhat.com>
70457         * scripts/config.guess: Update from config.git.
70458         * scripts/config.sub: Likewise.
70460 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70462         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70464         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70466         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70468         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70470         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70472 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70474         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70475         [$(build-shared = yes].
70477 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70479         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70480         (__mul): Reduce iterations for calculating mantissa.
70482         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70483         MPTWO.
70484         (__mpranred): Likewise.
70486         [BZ #15160]
70487         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70488         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70490 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70492         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70493         Define __attribute__.
70495 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70497         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70498         unused.
70499         * posix/regex_internal.h (__attribute): Remove.
70500         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70501         (re_string_context_at): Likewise.
70502         (bitset_not): Use __attribute__ and mark function as possibly
70503         unused.
70504         (bitset_merge): Likewise.
70505         (bitset_mask): Likewise.
70506         (re_string_char_size_at): Likewise.
70507         (re_string_wchar_at): Likewise.
70508         (re_string_elem_size_at): Likewise.
70510 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70512         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70513         code.
70514         (cc32): Likewise.
70516         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70517         (__acr): Likewise.
70518         (__cpy): Likewise.
70519         (norm): Likewise.
70520         (denorm): Likewise.
70521         (__dbl_mp): Likewise.
70522         (add_magnitudes): Likewise.
70523         (sub_magnitudes): Likewise.
70524         (__mul): Likewise.
70525         (__inv): Likewise.
70527         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70528         style.
70530         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70531         style.
70533         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70534         code.
70536         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70537         up changes with default code.
70538         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70539         Likewise.
70541 2013-02-24  Allan McRae  <allan@archlinux.org>
70543         * manual/socket.texi (The Internet Namespace): Order menu items
70544         to match that in the file.
70546         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70547         node listing of the info page menu.
70549 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70551         [BZ #13550]
70552         * sysdeps/i386/bp-asm.h: Remove file.
70553         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70554         (PARMS): Do not use macros from bp-asm.h.
70555         (S1): Likewise.
70556         (S2): Likewise.
70557         (SIZE): Likewise.
70558         (__mpn_add_n): Do not use BP_SYM
70559         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70560         "bp-asm.h".
70561         (PARMS): Do not use macros from bp-asm.h.
70562         (S1): Likewise.
70563         (SIZE): Likewise.
70564         (__mpn_addmul_1): Do not use BP_SYM
70565         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70566         "bp-asm.h".
70567         (PARMS): Do not use macros from bp-asm.h.
70568         (SIGMSK): Likewise.
70569         (_setjmp): Likewise.  Do not use BP_SYM.
70570         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70571         "bp-asm.h".
70572         (PARMS): Do not use macros from bp-asm.h.
70573         (SIGMSK): Likewise.
70574         (setjmp): Likewise.  Do not use BP_SYM.
70575         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70576         "bp-asm.h".
70577         (PARMS): Do not use macros from bp-asm.h.
70578         (__frexp): Do not use BP_SYM.
70579         (frexp): Likewise.
70580         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70581         "bp-asm.h".
70582         (PARMS): Do not use macros from bp-asm.h.
70583         (__frexpf): Do not use BP_SYM.
70584         (frexpf): Likewise.
70585         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70586         "bp-asm.h".
70587         (PARMS): Do not use macros from bp-asm.h.
70588         (__frexpl): Do not use BP_SYM.
70589         (frexpl): Likewise.
70590         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70591         "bp-asm.h".
70592         (PARMS): Do not use macros from bp-asm.h.
70593         (__remquo): Do not use BP_SYM.
70594         (remquo): Likewise.
70595         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70596         "bp-asm.h".
70597         (PARMS): Do not use macros from bp-asm.h.
70598         (__remquof): Do not use BP_SYM.
70599         (remquof): Likewise.
70600         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70601         "bp-asm.h".
70602         (PARMS): Do not use macros from bp-asm.h.
70603         (__remquol): Do not use BP_SYM.
70604         (remquol): Likewise.
70605         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70606         "bp-asm.h".
70607         (PARMS): Do not use macros from bp-asm.h.
70608         (DEST): Likewise.
70609         (SRC): Likewise.
70610         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70611         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70612         "bp-asm.h".
70613         (PARMS): Do not use macros from bp-asm.h.
70614         (strlen): Do not use BP_SYM.
70615         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70616         "bp-asm.h".
70617         (PARMS): Do not use macros from bp-asm.h.
70618         (S1): Likewise.
70619         (S2): Likewise.
70620         (SIZE): Likewise.
70621         (__mpn_add_n): Do not use BP_SYM.
70622         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70623         "bp-asm.h".
70624         (PARMS): Do not use macros from bp-asm.h.
70625         (S1): Likewise.
70626         (SIZE): Likewise.
70627         (__mpn_addmul_1): Do not use BP_SYM.
70628         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70629         weak_alias.
70630         (bzero): Likewise.
70631         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70632         "bp-asm.h".
70633         (PARMS): Do not use macros from bp-asm.h.
70634         (S): Likewise.
70635         (SIZE): Likewise.
70636         (__mpn_lshift): Do not use BP_SYM.
70637         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70638         "bp-asm.h".
70639         (PARMS): Do not use macros from bp-asm.h.
70640         (DEST): Likewise.
70641         (SRC): Likewise.
70642         (LEN): Likewise.
70643         (memcpy): Likewise.  Do not use BP_SYM.
70644         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70645         libc_hidden_def and weak_alias.
70646         (mempcpy): Do not use BP_SYM in weak_alias.
70647         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70648         "bp-asm.h".
70649         (PARMS): Do not use macros from bp-asm.h.
70650         (DEST): Likewise.
70651         (LEN): Likewise.
70652         [!BZERO_P] (CHR): Likewise.
70653         (memset): Likewise.  Do not use BP_SYM.
70654         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70655         "bp-asm.h".
70656         (PARMS): Do not use macros from bp-asm.h.
70657         (S1): Likewise.
70658         (SIZE): Likewise.
70659         (__mpn_mul_1): Do not use BP_SYM.
70660         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70661         "bp-asm.h".
70662         (PARMS): Do not use macros from bp-asm.h.
70663         (S): Likewise.
70664         (SIZE): Likewise.
70665         (__mpn_rshift): Do not use BP_SYM.
70666         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70667         "bp-asm.h".
70668         (PARMS): Do not use macros from bp-asm.h.
70669         (STR): Likewise.
70670         (CHR): Likewise.
70671         (strchr): Likewise.  Do not use BP_SYM.
70672         (index): Do not use BP_SYM in weak_alias.
70673         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70674         "bp-asm.h".
70675         (PARMS): Do not use macros from bp-asm.h.
70676         (DEST): Likewise.
70677         (SRC): Likewise.
70678         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70679         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70680         "bp-asm.h".
70681         (PARMS): Do not use macros from bp-asm.h.
70682         (strlen): Do not use BP_SYM.
70683         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70684         "bp-asm.h".
70685         (PARMS): Do not use macros from bp-asm.h.
70686         (S1): Likewise.
70687         (S2): Likewise.
70688         (SIZE): Likewise.
70689         (__mpn_sub_n): Do not use BP_SYM.
70690         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70691         "bp-asm.h".
70692         (PARMS): Do not use macros from bp-asm.h.
70693         (S1): Likewise.
70694         (SIZE): Likewise.
70695         (__mpn_submul_1): Do not use BP_SYM.
70696         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70697         "bp-asm.h".
70698         (PARMS): Do not use macros from bp-asm.h.
70699         (S1): Likewise.
70700         (S2): Likewise.
70701         (SIZE): Likewise.
70702         (__mpn_add_n): Do not use BP_SYM.
70703         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70704         weak_alias.
70705         (bzero): Likewise.
70706         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70707         "bp-asm.h".
70708         (PARMS): Do not use macros from bp-asm.h.
70709         (BLK2): Likewise.
70710         (LEN): Likewise.
70711         (memcmp): Do not use BP_SYM.
70712         (bcmp): Do not use BP_SYM in weak_alias.
70713         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70714         "bp-asm.h".
70715         (PARMS): Do not use macros from bp-asm.h.
70716         (DEST): Likewise.
70717         (SRC): Likewise.
70718         (LEN): Likewise.
70719         (memcpy): Likewise.  Do not use BP_SYM.
70720         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70721         "bp-asm.h".
70722         (PARMS): Do not use macros from bp-asm.h.
70723         (DEST): Likewise.
70724         (SRC): Likewise.
70725         (LEN): Likewise.
70726         (memmove): Likewise.  Do not use BP_SYM.
70727         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70728         "bp-asm.h".
70729         (PARMS): Do not use macros from bp-asm.h.
70730         (DEST): Likewise.
70731         (SRC): Likewise.
70732         (LEN): Likewise.
70733         (__mempcpy): Likewise.  Do not use BP_SYM.
70734         (mempcpy): Do not use BP_SYM in weak_alias.
70735         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70736         "bp-asm.h".
70737         (PARMS): Do not use macros from bp-asm.h.
70738         (DEST): Likewise.
70739         (LEN): Likewise.
70740         [!BZERO_P] (CHR): Likewise.
70741         (memset): Likewise.  Do not use BP_SYM.
70742         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70743         "bp-asm.h".
70744         (PARMS): Do not use macros from bp-asm.h.
70745         (STR2): Likewise.
70746         (strcmp): Do not use BP_SYM.
70747         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70748         "bp-asm.h".
70749         (PARMS): Do not use macros from bp-asm.h.
70750         (STR): Likewise.
70751         (DELIM): Likewise.
70752         [USE_AS_STRTOK_R] (SAVE): Likewise.
70753         (FUNCTION): Likewise.  Do not use BP_SYM.
70754         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70755         aliases.
70756         (strtok_r): Likewise.
70757         (__GI___strtok_r): Likewise.
70758         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70759         (PARMS): Do not use macros from bp-asm.h.
70760         (S): Likewise.
70761         (SIZE): Likewise.
70762         (__mpn_lshift): Do not use BP_SYM.
70763         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70764         (PARMS): Do not use macros from bp-asm.h.
70765         (STR): Likewise.
70766         (CHR): Likewise.
70767         (__memchr): Do not use BP_SYM.
70768         (memchr): Do not use BP_SYM in weak_alias.
70769         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70770         (PARMS): Do not use macros from bp-asm.h.
70771         (BLK2): Likewise.
70772         (LEN): Likewise.
70773         (memcmp): Do not use BP_SYM.
70774         (bcmp): Do not use BP_SYM in weak_alias.
70775         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70776         (PARMS): Do not use macros from bp-asm.h.
70777         (S1): Likewise.
70778         (SIZE): Likewise.
70779         (__mpn_mul_1): Do not use BP_SYM.
70780         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70781         "bp-asm.h".
70782         (PARMS): Do not use macros from bp-asm.h.
70783         (STR): Likewise.
70784         (CHR): Likewise.
70785         (__rawmemchr): Do not use BP_SYM.
70786         (rawmemchr): Do not use BP_SYM in weak_alias.
70787         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70788         (PARMS): Do not use macros from bp-asm.h.
70789         (S): Likewise.
70790         (SIZE): Likewise.
70791         (__mpn_rshift): Do not use BP_SYM.
70792         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70793         (PARMS): Do not use macros from bp-asm.h.
70794         (SIGMSK): Likewise.
70795         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70796         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70797         (_start): Do not use BP_SYM.
70798         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70799         (PARMS): Do not use macros from bp-asm.h.
70800         (DEST): Likewise.
70801         (SRC): Likewise.
70802         (__stpcpy): Likewise.  Do not use BP_SYM.
70803         (stpcpy): Do not use BP_SYM in weak_alias.
70804         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70805         "bp-asm.h".
70806         (PARMS): Do not use macros from bp-asm.h.
70807         (DEST): Likewise.
70808         (SRC): Likewise.
70809         (LEN): Likewise.
70810         (__stpncpy): Likewise.  Do not use BP_SYM.
70811         (stpncpy): Do not use BP_SYM in weak_alias.
70812         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70813         (PARMS): Do not use macros from bp-asm.h.
70814         (STR): Likewise.
70815         (CHR): Likewise.
70816         (strchr): Likewise.  Do not use BP_SYM.
70817         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70818         "bp-asm.h".
70819         (PARMS): Do not use macros from bp-asm.h.
70820         (STR): Likewise.
70821         (CHR): Likewise.
70822         (__strchrnul): Likewise.  Do not use BP_SYM.
70823         (strchrnul): Do not use BP_SYM in weak_alias.
70824         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70825         "bp-asm.h".
70826         (PARMS): Do not use macros from bp-asm.h.
70827         (STOP): Likewise.
70828         (strcspn): Do not use BP_SYM.
70829         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70830         "bp-asm.h".
70831         (PARMS): Do not use macros from bp-asm.h.
70832         (STR): Likewise.
70833         (STOP): Likewise.
70834         (strpbrk): Likewise.  Do not use BP_SYM.
70835         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70836         "bp-asm.h".
70837         (PARMS): Do not use macros from bp-asm.h.
70838         (STR): Likewise.
70839         (CHR): Likewise.
70840         (strrchr): Likewise.  Do not use BP_SYM.
70841         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70842         (PARMS): Do not use macros from bp-asm.h.
70843         (SKIP): Likewise.
70844         (strspn): Do not use BP_SYM.
70845         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70846         (PARMS): Do not use macros from bp-asm.h.
70847         (STR): Likewise.
70848         (DELIM): Likewise.
70849         (SAVE): Likewise.
70850         (FUNCTION): Likewise.  Do not use BP_SYM.
70851         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70852         aliases.
70853         (strtok_r): Likewise.
70854         (__GI___strtok_r): Likewise.
70855         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70856         (PARMS): Do not use macros from bp-asm.h.
70857         (S1): Likewise.
70858         (S2): Likewise.
70859         (SIZE): Likewise.
70860         (__mpn_sub_n): Do not use BP_SYM.
70861         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70862         "bp-asm.h".
70863         (PARMS): Do not use macros from bp-asm.h.
70864         (S1): Likewise.
70865         (SIZE): Likewise.
70866         (__mpn_submul_1): Do not use BP_SYM.
70867         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70868         <bp-sym.h>.
70869         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70870         and <bp-asm.h>.
70871         (PARMS): Do not use macros from bp-asm.h.
70872         (FLAGS): Likewise.
70873         (PTID): Likewise.
70874         (TLS): Likewise.
70875         (CTID): Likewise.
70876         (__clone): Do not use BP_SYM.
70877         (clone): Do not use BP_SYM in weak_alias.
70878         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70879         and <bp-asm.h>.
70880         (PARMS): Do not use macros from bp-asm.h.
70881         (LEN): Likewise.
70882         (__mmap64): Do not use BP_SYM.
70883         (mmap64): Do not use BP_SYM in weak_alias.
70884         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70885         <bp-sym.h> and <bp-asm.h>.
70886         (PARMS): Do not use macros from bp-asm.h.
70887         (__posix_fadvise64_l64): Do not use BP_SYM.
70888         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70889         (PARMS): Do not use macros from bp-asm.h.
70890         (NSOPS): Likewise.
70891         (semtimedop): Do not use BP_SYM.
70892         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70893         and <bp-asm.h>.
70895 2013-02-21  Allan McRae  <allan@archlinux.org>
70897         * manual/message.texi (Charset conversion in gettext):
70898         Move @end statement to beginning of line.
70900 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70903         static.
70904         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70905         Likewise.
70907         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70908         (denorm): Likewise.
70909         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70910         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70912 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70914         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70915         tail-call to the resolved function if pltexit isn't needed.
70917 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70919         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70920         or Y being zero as being unlikely.
70921         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70922         Likewise.
70924 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70926         * manual/nss.texi (System Databases and Name Service Switch):
70927         Remove frobnicate @pxref.
70929 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70931         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70932         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70934 2013-02-20  Petr Machata  <pmachata@redhat.com>
70936         * elf/elf.h (R_ARM_TARGET1): New macro.
70937         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70938         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70939         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70940         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70941         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70942         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70943         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70944         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70945         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70946         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70947         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70948         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70949         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70950         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70951         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70952         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70953         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70954         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70955         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70956         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70957         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70958         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70959         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70960         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70961         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70962         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70963         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70964         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70965         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70966         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70967         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70968         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70969         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70970         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70971         (R_ARM_THM_GOT_BREL12): Likewise.
70972         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70973         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70974         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70975         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70976         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70977         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70978         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70979         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70980         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70982 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70984         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70985         __attribute_used__ to __attribute__ ((unused)).
70987 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70989         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70990         powerpc mpa.c.
70991         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70992         comment formatting.
70993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70995 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70997         [BZ #13550]
70998         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70999         Remove macro.
71000         (ENTER): Remove both macro definitions.
71001         (LEAVE): Likewise.
71002         (CHECK_BOUNDS_LOW): Likewise.
71003         (CHECK_BOUNDS_HIGH): Likewise.
71004         (CHECK_BOUNDS_BOTH): Likewise.
71005         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
71006         (RETURN_BOUNDED_POINTER): Likewise.
71007         (RETURN_NULL_BOUNDED_POINTER): Likewise.
71008         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
71009         (POP_ERRNO_LOCATION_RETURN): Likewise.
71010         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
71011         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71012         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
71013         macros.
71014         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71015         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
71016         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
71017         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
71018         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
71019         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
71020         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
71021         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
71022         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
71023         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
71024         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
71025         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
71026         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71027         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
71028         removed macros.
71029         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71030         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
71031         macros.
71032         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71033         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
71034         * sysdeps/i386/i586/memset.S (memset): Likewise.
71035         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
71036         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71037         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
71038         macros.
71039         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71040         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
71041         Change uses of L(2) to L(out).
71042         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
71043         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
71044         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
71045         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71046         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
71047         removed macros.
71048         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71049         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
71050         macros.
71051         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71052         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
71053         (RETURN): Do not use macro LEAVE.
71054         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
71055         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
71056         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
71057         * sysdeps/i386/i686/memset.S (memset): Likewise.
71058         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
71059         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
71060         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
71061         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
71062         Likewise.
71063         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71064         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
71065         L(1_2) and L(1_3) into L(1).
71066         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71067         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
71068         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71069         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
71070         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
71071         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
71072         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
71073         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71074         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
71075         macros.
71076         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
71077         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71078         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
71079         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
71080         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
71081         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
71082         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
71083         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
71084         * sysdeps/i386/strcspn.S (strcspn): Likewise.
71085         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
71086         * sysdeps/i386/strrchr.S (strrchr): Likewise.
71087         * sysdeps/i386/strspn.S (strspn): Likewise.
71088         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
71089         conditional code.
71090         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71091         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
71092         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71093         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
71094         L(1_3) into L(1_1).
71095         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
71096         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71097         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
71098         macros.
71099         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71101 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
71103         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
71104         macro.
71106 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71108         * math/atest-exp.c (exp_mpn): Remove ROUND.
71109         * math/atest-exp2.c (exp_mpn): Likewise.
71110         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
71112         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
71113         * stdlib/tst-tls-atexit-lib.c: Likewise.
71114         * stdlib/tst-tls-atexit.c: Likewise.
71116 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71118         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
71119         and __attribute_alloc_size__.
71121 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71123         * include/programs/xmalloc.h: Change __attribute_alloc_size to
71124         __attribute_alloc_size__.
71125         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
71126         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
71128 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71130         * include/programs/xmalloc.h: New file.
71131         * catgets/gencat.c: Include it.
71132         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
71133         * elf/pldd.c: Likewise.
71134         * iconv/iconv_charmap.c: Likewise.
71135         * iconv/iconvconfig.c: Likewise.
71136         * iconv/strtab.c: Likewise.
71137         * locale/programs/locale.c: Likewise.
71138         * locale/programs/localedef.h: Likewise.
71139         * locale/programs/simple-hash.c: Likewise.
71140         * nscd/nscd.h: Likewise.
71141         * nss/makedb.c: Likewise.
71142         * sysdeps/generic/ldconfig.h: Likewise.
71144 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71146         * Versions.def: Add GLIBC_2.18.
71147         * include/link.h (struct link_map): New member l_tls_dtor_count.
71148         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
71149         (__call_tls_dtors): Likewise.
71150         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
71151         __cxa_thread_atexit_impl.
71152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71153         Likewise.
71154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71155         Likewise.
71156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
71157         Likewise.
71158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
71159         Likewise.
71160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71162         Likewise.
71163         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71164         Likewise.
71165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71167         Likewise.
71168         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71169         (tests): Add test case tst-tls-atexit.
71170         (modules-names): Add shared library for tst-tls-atexit.
71171         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71172         (GLIBC_PRIVATE): Add __call_tls_dtors.
71173         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71174         for libstdc++.
71175         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71176         * stdlib/tst-tls-atexit.c: New test case.
71177         * stdlib/tst-tls-atexit-lib.c: New test case.
71179         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71181         * elf/Versions (ld): Add _dl_find_dso_for_object.
71182         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71183         * elf/dl-open.c (_dl_find_dso_for_object): New function.
71184         (dl_open_worker): Use _dl_find_dso_for_object.
71185         * elf/dl-sym.c (do_sym): Likewise.
71186         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71188 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71190         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71191         Syntactic changes only.
71192         (_dl_runtime_profile): Do a tail-call to the resolved function.
71194 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
71196         [BZ #13550]
71197         * sysdeps/x86_64/bp-asm.h: Remove file.
71198         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71199         <bp-sym.h> and <bp-asm.h>.
71200         (__clone): Do not use BP_SYM.
71201         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71202         <bp-sym.h> and <bp-asm.h>.
71203         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71204         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71205         "bp-asm.h".
71206         (_setjmp): Do not use BP_SYM.
71207         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71208         "bp-asm.h".
71209         (setjmp): Do not use BP_SYM.
71210         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71211         libc_hidden_def.
71212         (mempcpy): Do not use BP_SYM in weak_alias.
71213         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71214         "bp-asm.h".
71215         (strchr): Do not use BP_SYM.
71216         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71217         "bp-asm.h".
71218         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71219         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71220         (_start): Do not use BP_SYM.
71221         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71222         "bp-asm.h".
71223         (strcat): Do not use BP_SYM.
71224         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71225         "bp-asm.h".
71226         (STRCMP): Do not use BP_SYM.
71227         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71228         "bp-asm.h".
71229         (STRCPY): Do not use BP_SYM.
71230         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71231         "bp-asm.h".
71232         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71233         "bp-asm.h".
71234         (FUNCTION): Do not use BP_SYM.
71235         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71236         weak_alias.
71237         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71239 2013-02-17  Andreas Jaeger  <aj@suse.de>
71241         * time/Versions: Sort entries.
71242         * string/Versions: Likewise.
71243         * resolv/Versions: Likewise.
71244         * posix/Versions: Likewise.
71245         * iconv/Versions: Likewise.
71246         * elf/Versions: Likewise.
71247         * wcsmbs/Versions: Likewise.
71249 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
71251         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71252         loop termination condition.
71254         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71255         variable to calculate EZ.
71256         (__sqr): Likewise.
71258         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71259         the lower precision input.
71261 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71263         [BZ #13550]
71264         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71265         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71266         (run-via-rtld-prefix): Do not handle %-bp tests.
71267         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71268         (all-object-suffixes): Remove .ob.
71269         (bppfx): Remove variable.
71270         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71271         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71272         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71273         [$(build-bounded) = yes] (libtype.ob): Likewise.
71274         * Makerules (elide-routines.ob): Remove variable.
71275         (do-tests-clean): Do not handle *-bp.out.
71276         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71277         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71278         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71279         (tests): Do not include $(tests-bp.out).
71280         (xtests): Do not include $(xtests-bp.out).
71281         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71282         [$(build-bounded) = yes] ($(addprefix
71283         $(objpfx),$(binaries-bounded))): Remove rule.
71284         ($(objpfx)%-bp.out): Remove rule.
71285         * config.make.in (build-bounded): Remove variable.
71286         * crypt/Makefile [$(build-bounded) = yes]
71287         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71288         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71289         append to variable.
71290         [$(build-bounded) = yes] (install-lib): Likewise.
71291         [$(build-bounded) = yes] (generated): Likewise.
71292         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71293         Remove rule.
71294         * intl/Makefile [$(build-bounded) = yes]
71295         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71296         * math/Makefile [$(build-bounded) = yes]
71297         ($(tests:%=$(objpfx)%-bp): Likewise.
71298         * misc/Makefile [$(build-bounded) = yes]
71299         ($(objpfx)tst-tsearch-bp): Likewise.
71300         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71301         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71302         Remove dependency.
71303         * string/Makefile (o-objects.ob): Remove variable.
71304         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71305         (CFLAGS-.ob): Remove variable.
71306         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71307         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71308         both definitions of variable.
71309         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71310         (ASFLAGS-.ob): Remove variable.
71312 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71314         [BZ #13550]
71315         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71316         Remove __BOUNDED_POINTERS__ from condition.
71317         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71318         * string/bits/string2.h [!__NO_STRING_INLINES &&
71319         !__BOUNDED_POINTERS__]: Likewise.
71320         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71321         Likewise.
71322         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71323         Remove conditional code.
71324         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71325         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71326         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71327         condition.
71329         [BZ #13550]
71330         * csu/libc-start.c: Do not include <bp-sym.h>.
71331         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71332         * elf/dl-open.c: Do not include <bp-sym.h>.
71333         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71334         * math/fegetenv.c: Do not include <bp-sym.h>.
71335         (fegetenv): Do not use BP_SYM in versioned symbols.
71336         * nptl/sysdeps/pthread/bits/libc-lockP.h
71337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71338         <bp-sym.h>.
71339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71340         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71342         (__pthread_mutex_destroy): Likewise.
71343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71344         (__pthread_mutex_lock): Likewise.
71345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71346         (__pthread_mutex_trylock): Likewise.
71347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71348         (__pthread_mutex_unlock): Likewise.
71349         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71350         (__pthread_mutexattr_init): Likewise.
71351         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71352         (__pthread_mutexattr_destroy): Likewise.
71353         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71354         (__pthread_mutexattr_settype): Likewise.
71355         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71356         (__pthread_rwlock_init): Likewise.
71357         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71358         (__pthread_rwlock_destroy): Likewise.
71359         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71360         (__pthread_rwlock_rdlock): Likewise.
71361         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71362         (__pthread_rwlock_tryrdlock): Likewise.
71363         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71364         (__pthread_rwlock_wrlock): Likewise.
71365         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71366         (__pthread_rwlock_trywrlock): Likewise.
71367         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71368         (__pthread_rwlock_unlock): Likewise.
71369         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71370         (__pthread_key_create): Likewise.
71371         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71372         (__pthread_setspecific): Likewise.
71373         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71374         (__pthread_getspecific): Likewise.
71375         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71376         Likewise.
71377         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71378         (_pthread_cleanup_push_defer): Likewise.
71379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71380         (_pthread_cleanup_pop_restore): Likewise.
71381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71382         (pthread_setcancelstate): Likewise.
71383         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71384         <bp-sym.h>.
71385         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71386         (memchr): Do not use BP_SYM in weak_alias.
71387         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71388         (fegetenv): Do not use BP_SYM in versioned symbols.
71389         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71390         (fesetenv): Do not use BP_SYM in versioned symbols.
71391         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71392         (feupdateenv): Do not use BP_SYM in versioned symbols.
71393         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71394         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71395         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71396         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71397         (open64): Do not use BP_SYM in weak_alias.
71398         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71399         (fegetenv): Do not use BP_SYM in versioned symbols.
71400         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71401         (fesetenv): Do not use BP_SYM in versioned symbols.
71402         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71403         (feupdateenv): Do not use BP_SYM in versioned symbols.
71404         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71405         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71406         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71407         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71408         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71409         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71410         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71411         <bp-sym.h>.
71412         (__libc_start_main): Do not use BP_SYM.
71414 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71416         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71417         redundant return line.
71418         (norm): Likewise.
71419         (denorm): Likewise.
71420         (dbl_mp): Likewise.
71421         (sub_magnitudes): Likewise.
71422         (__add): Likewise.
71423         (__sub): Likewise.
71424         (__mul): Likewise.
71425         (__inv): Likewise.
71426         (__dvd): Likewise.
71427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71428         (norm): Likewise.
71429         (denorm): Likewise.
71430         (dbl_mp): Likewise.
71431         (sub_magnitudes): Likewise.
71432         (__add): Likewise.
71433         (__sub): Likewise.
71434         (__mul): Likewise.
71435         (__inv): Likewise.
71436         (__dvd): Likewise.
71438         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71439         instead of __mul.
71440         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71441         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71442         (cc32): Likewise.
71444         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71445         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71446         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71447         of __mul for squares.
71448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71449         function
71450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71451         Likewise.
71452         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71453         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71455 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71457         [BZ #13550]
71458         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71459         code.
71460         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71461         prototype or function definition.  Rename ubp_* variables and
71462         parameters.  Remove argv definitions conditional on
71463         [__BOUNDED_POINTERS__].
71464         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71465         * elf/dl-runtime.c (_dl_fixup): Likewise.
71466         * include/set-hooks.h (RUN_HOOK): Likewise.
71467         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71468         definition.
71469         * string/strcpy.c (strcpy): Do not use __unbounded.
71470         * sysdeps/generic/frame.h (struct layout): Likewise.
71471         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71472         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71473         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71474         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71475         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71476         (__backtrace): Likewise.
71477         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71478         use __ptrvalue.
71479         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71480         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71481         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71482         Likewise.
71483         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71484         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71485         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71486         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71487         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71488         Do not use __unbounded.
71489         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71490         Rename __unboundedrlimits parameter to rlimits in prototype.
71491         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71492         Do not use __unbounded.
71493         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71494         not use __ptrvalue.
71495         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71496         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71497         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71498         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71499         __ptrvalue or __unbounded.
71500         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71501         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71502         use __unbounded.
71503         (__new_msgctl): Do not use __ptrvalue.
71504         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71505         __unbounded.
71506         (__libc_msgrcv): Do not use __ptrvalue.
71507         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71508         startup_info): Do not use __unbounded.
71509         (__libc_start_main): Likewise.  Rename ubp_* variables and
71510         parameters.  Remove argv definitions conditional on
71511         [__BOUNDED_POINTERS__].
71512         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71513         __ptrvalue.
71514         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71515         use __unbounded.
71516         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71517         or __ptrvalue.
71518         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71519         use __unbounded.
71520         (__new_shmctl): Do not use __ptrvalue.
71521         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71522         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71523         Likewise.
71524         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71525         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71526         (__libc_sigaction): Likewise.
71527         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71528         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71529         Likewise.
71530         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71532 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
71534         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71536         * string/mempcpy.c: Implement by calling memcpy.
71538 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71540         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71542         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71543         evaluation.
71545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71546         values in the mantissa.
71548         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71549         minimize writes to Z.
71550         (sub_magnitudes): Simplify code a bit.
71552 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71554         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71555         from the message.  The linker prefixes all warnings with that already.
71557 2013-02-12  Andreas Schwab  <schwab@suse.de>
71559         [BZ #15078]
71560         * posix/regexec.c (extend_buffers): Add parameter min_len.
71561         (check_matching): Pass minimum needed length.
71562         (clean_state_log_if_needed): Likewise.
71563         (get_subexp): Likewise.
71564         * posix/Makefile (tests): Add bug-regex34.
71565         (bug-regex34-ENV): Define.
71566         * posix/bug-regex34.c: New file.
71568         [BZ #11561]
71569         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71570         elements compare against the byte sequence of it, not its name.
71571         * posix/Makefile (tests): Add bug-regex35.
71572         (bug-regex35-ENV): Define.
71573         * posix/bug-regex35.c: New file.
71575 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71577         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71578         comment.
71579         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71580         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71581         (CHECK_EOL): Add undef.
71583 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
71585         * bits/stdlib-bsearch.h: New file.
71586         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71587         * stdlib/stdlib.h: Likewise.
71589 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71591         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71592         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71593         declaration.
71594         * manual/search.texi (Array Search Function): Add missing const in
71595         lfind prototype.
71596         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71597         declaration to use rlim_t.
71598         (Basic Scheduling Functions): Remove erroneous const from
71599         sched_getparam prototype.  Remove erroneous * from
71600         sched_get_priority_max and sched_get_priority_min prototypes.
71601         (Resource Usage): Fix summary @comment on vtimes to refer to
71602         sys/vtimes.h rather than vtimes.h.
71603         Add missing *s in vtimes prototype.
71604         (Limits on Resources): Fix ulimit prototype to return long int.
71605         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71606         prototypes to use long int rather than double.
71607         (BSD Random): Fix initstate and setstate to use char *, not void *.
71608         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71609         prototype to make second argument 'struct aiocb64 *const[]'.
71610         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71611         (Status of AIO Operations): Remove erroneous const in aio_return and
71612         aio_return64 prototypes.
71613         (Synchronizing I/O): Fix sync prototype to return void.
71614         * manual/startup.texi (Suboptions): Remove an erroneous const in
71615         getsubopt prototype.
71616         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71617         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71618         use size_t rather than int.
71619         (Scanning All Users): Likewise for getpwent_r.
71620         (Setting Groups): Add missing const to setgroups prototype.
71621         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71622         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71623         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71624         'const void *' rather than 'const char *'.
71625         (Host Address Functions): Likewise for inet_ntop.
71626         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71627         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71628         ssize_t for return value.
71629         (Sending Data): Likewise for send, sendto, sendmsg.
71630         (Socket Option Functions): Add a missing const in setsockopt prototype.
71631         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71632         use wchar_t for the argument.
71633         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71634         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71635         take no arguments.
71636         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71637         double/float/long double for second argument.
71638         Fix return types of significand, significandf, significandl.
71639         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71640         argument in fchmod prototype.
71641         (File Owner): Use uid_t and gid_t in fchown prototype.
71642         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71643         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71644         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71645         use 'const struct dirent **' as argument types to CMP function pointer
71646         argument.
71647         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71648         (File Times): Fix summary magic @comment for struct utimbuf and utime
71649         to refer to utime.h, not time.h.
71650         * manual/string.texi (Argz Functions): Add missing const in
71651         argz_extract and argz_next prototypes.
71652         (Finding Tokens in a String): Likewise for basename.
71653         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71654         (Copying and Concatenation): Fix typo in wmemmove prototype.
71655         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71656         (Signal Stack): Remove erroneous const in sigstack prototype.
71657         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71658         prototype.
71659         (Simple Calendar Time): Likewise for stime.
71660         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71661         prototype.
71662         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71663         say sys/sysctl.h instead.
71664         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71665         and vsyslog prototypes.
71667 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71669         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71670         Remove.
71672 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71674         * misc/sys/mman.h: Fix typo in mremap comment.
71676 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71678         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71679         the '\0' terminator.
71681 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71683         [BZ #13550]
71684         * debug/segfault.c: Don't include <bp-checks.h>.
71685         * sysdeps/generic/bp-checks.h: Remove file.
71686         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71687         (__GETDENTS): Don't use CHECK_N.
71688         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71689         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71690         (__getgroups): Don't use CHECK_N.
71691         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71692         (setgroups): Don't use CHECK_N.
71693         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71694         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71695         (__libc_msgrcv): Don't use CHECK_N.
71696         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71697         (__libc_msgsnd): Don't use CHECK_N.
71698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71699         <bp-checks.h>.
71700         (__libc_pread): Don't use CHECK_N.
71701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71702         include <bp-checks.h>.
71703         (__libc_pread64): Don't use CHECK_N.
71704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71705         include <bp-checks.h>.
71706         (__libc_pwrite): Don't use CHECK_N.
71707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71708         include <bp-checks.h>.
71709         (__libc_pwrite64): Don't use CHECK_N.
71710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71711         <bp-checks.h>.
71712         (__libc_pread): Don't use CHECK_N.
71713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71714         include <bp-checks.h>.
71715         (__libc_pread64): Don't use CHECK_N.
71716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71717         include <bp-checks.h>.
71718         (__libc_pwrite): Don't use CHECK_N.
71719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71720         include <bp-checks.h>.
71721         (__libc_pwrite64): Don't use CHECK_N.
71722         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71723         (do_pread): Don't use CHECK_N.
71724         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71725         (do_pread64): Don't use CHECK_N.
71726         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71727         (do_pwrite): Don't use CHECK_N.
71728         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71729         (do_pwrite64): Don't use CHECK_N.
71730         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71731         (__libc_readv): Don't use CHECK_N.
71732         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71733         (semop): Don't use CHECK_N.
71734         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71735         <bp-checks.h>.
71736         (semtimedop): Don't use CHECK_N.
71737         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71738         (__libc_pread): Don't use CHECK_N.
71739         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71740         <bp-checks.h>.
71741         (__libc_pread64): Don't use CHECK_N.
71742         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71743         <bp-checks.h>.
71744         (__libc_pwrite): Don't use CHECK_N.
71745         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71746         <bp-checks.h>.
71747         (__libc_pwrite64): Don't use CHECK_N.
71748         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71749         <bp-checks.h>.
71750         (__libc_msgrcv): Don't use CHECK_N.
71751         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71752         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71753         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71754         (__libc_writev): Don't use CHECK_N.
71756 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71758         * string/strcpy.c: Removed unused variable.
71760         * Makeconfig (+sysdep-includes): Define with := rather than =.
71761         Use an existing include/ subdir of each sysdeps dir before it.
71763 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71765         * nscd/connection.c (register_traced_file): Comment function.
71766         [HAVE_INOTIFY] (union __inev): Define.
71767         [HAVE_INOTIFY] (inotify_check_files): New function.
71768         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71769         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71770         clear_db_cache.
71771         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71773 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71775         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71776         loaded if not already and that a failure is permanent.
71778 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71780         [BZ #15006]
71781         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71782         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71784 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71786         [BZ #13550]
71787         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71788         (CHECK_1_NULL_OK): Likewise.
71789         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71790         (__fxstat): Do not use CHECK_1.
71791         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71792         <bp-checks.h>.
71793         (___fxstat64): Do not use CHECK_1.
71794         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71795         <bp-checks.h>.
71796         (__fxstatat): Do not use CHECK_1.
71797         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71798         <bp-checks.h>.
71799         (__fxstatat64): Do not use CHECK_1.
71800         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71801         <bp-checks.h>.
71802         (__fxstat): Do not use CHECK_1.
71803         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71804         <bp-checks.h>.
71805         (__fxstatat): Do not use CHECK_1.
71806         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71807         <bp-checks.h>.
71808         (__getresgid): Do not use CHECK_1.
71809         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71810         <bp-checks.h>.
71811         (__getresuid): Do not use CHECK_1.
71812         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71813         <bp-checks.h>.
71814         (__lxstat): Do not use CHECK_1.
71815         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71816         <bp-checks.h>.
71817         (__old_msgctl): Do not use CHECK_1.
71818         (__new_msgctl): Likewise.
71819         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71820         <bp-checks.h>.
71821         (__new_setrlimit): Do not use CHECK_1.
71822         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71823         <bp-checks.h>.
71824         (__old_shmctl): Do not use CHECK_1.
71825         (__new_shmctl): Likewise.
71826         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71827         <bp-checks.h>.
71828         (__xstat): Do not use CHECK_1.
71829         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71830         (__lxstat): Do not use CHECK_1.
71831         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71832         <bp-checks.h>.
71833         (___lxstat64): Do not use CHECK_1.
71834         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71835         (__old_msgctl): Do not use CHECK_1.
71836         (__new_msgctl): Likewise.
71837         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71838         <bp-checks.h>.
71839         (__gettimeofday): Do not use CHECK_1.
71840         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71841         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71842         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71843         <bp-checks.h>.
71844         (__gettimeofday): Do not use CHECK_1.
71845         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71846         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71847         (__new_shmctl): Do not use CHECK_1.
71848         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71849         <bp-checks.h>.
71850         (do_sigtimedwait): Do not use CHECK_1.
71851         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71852         <bp-checks.h>.
71853         (do_sigwaitinfo): Do not use CHECK_1.
71854         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71855         <bp-checks.h>.
71856         (msgctl): Do not use CHECK_1.
71857         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71858         <bp-checks.h>.
71859         (shmctl): Do not use CHECK_1.
71860         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71861         (ustat): Do not use CHECK_1.
71862         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71863         <bp-checks.h>.
71864         (__fxstat): Do not use CHECK_1.
71865         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71866         <bp-checks.h>.
71867         (__fxstatat): Do not use CHECK_1.
71868         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71869         <bp-checks.h>.
71870         (__lxstat): Do not use CHECK_1.
71871         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71872         <bp-checks.h>.
71873         (__xstat): Do not use CHECK_1.
71874         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71875         (__xstat): Do not use CHECK_1.
71876         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71877         (___xstat64): Do not use CHECK_1.
71879         [BZ #13550]
71880         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71881         definitions.
71882         (CHECK_BOUNDS_HIGH): Likewise.
71883         * string/strcpy.c: Do not include <bp-checks.h>.
71884         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71886 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71888         * nscd/nscd-client.h (__nscd_drop_map_ref):
71889         Add __attribute__ ((unused)).
71890         * nis/nss-nisplus.h (niserr2nss): Likewise.
71892         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71893         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71895         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71896         Remove inline keyword.
71897         * include/rounding-mode.h (round_away): Likewise.
71898         * libio/wfileops.c (adjust_wide_data): Likewise.
71899         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71900         (__m128i_strloadu_tolower): Likewise.
71901         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71902         (__m128i_strloadu_tolower): Likewise.
71903         * time/mktime.c (ydhms_diff): Likewise.
71904         * locale/elem-hash.h (elem_hash): Likewise.
71905         * locale/setlocale.c (setdata): Likewise.
71906         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71907         (re_string_wchar_at): Likewise.
71908         (bitset_not, bitset_merge, bitset_mask): Likewise.
71909         [!(__GNUC__ > 3)] (inline): Remove macro.
71910         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71911         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71912         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71913         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71914         * string/memcmp.c (memcmp_bytes): Likewise.
71915         * locale/programs/locarchive.c (compute_hashval): Likewise.
71916         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71917         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71918         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71919         * nss/getent.c (print_rpc, print_protocols): Likewise.
71920         (print_passwd, print_group, print_aliases): Likewise.
71921         * nis/nss-nisplus.h (niserr2nss): Likewise.
71922         * nscd/connections.c (restart_p): Likewise.
71923         Change return type to bool.
71925 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71927         * Makeconfig (all-Depend-files): Add existing
71928         $(sorted-subdirs:=/Depend) files.
71929         (all-subdirs): Remove nss.
71930         * sysdeps/unix/inet/Subdirs: Add it here instead.
71931         * hesiod/Depend: New file.
71933         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71934         instead of calling alloca.
71936         * io/lseek.c (__lseek): Rename to __libc_lseek.
71937         Define __lseek as an alias.
71939         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71941 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71943         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71944         else clause and remove check for non-standard endianness.
71946 2013-02-04  David S. Miller  <davem@davemloft.net>
71948         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71950 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71952         [BZ #13550]
71953         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71954         (__ubp_memchr): Remove prototype.
71955         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71956         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71957         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71958         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71959         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71960         Remove alias.
71961         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71962         (__ubp_memchr): Likewise.
71963         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71964         (__ubp_memchr): Likewise.
71965         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71966         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71967         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71968         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71969         CHECK_STRING.
71970         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71971         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71972         (__getcwd): Do not use CHECK_STRING.
71973         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71974         <bp-checks.h>.
71975         (__real_chown): Do not use CHECK_STRING.
71976         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71977         <bp-checks.h>.
71978         (fchownat): Do not use CHECK_STRING.
71979         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71980         CHECK_STRING.
71981         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71982         <bp-checks.h>.
71983         (__lchown): Do not use CHECK_STRING.
71984         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71985         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71986         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71987         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71989         include <bp-checks.h>.
71990         (truncate64): Do not use CHECK_STRING.
71991         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71992         <bp-checks.h>.
71993         (__real_chown): Do not use CHECK_STRING.
71994         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71995         <bp-checks.h>.
71996         (__lchown): Do not use CHECK_STRING.
71997         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71998         <bp-checks.h>.
71999         (__chown): Do not use CHECK_STRING.
72000         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
72001         <bp-checks.h>.
72002         (truncate64): Do not use CHECK_STRING.
72003         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
72004         Likewise.
72005         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
72006         (__xmknod): Do not use CHECK_STRING.
72007         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
72008         <bp-checks.h>.
72009         (__xmknodat): Do not use CHECK_STRING.
72010         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
72011         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
72013 2013-02-04  Andreas Schwab  <schwab@suse.de>
72015         [BZ #14142]
72016         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
72017         * include/netdb.h: Likewise for h_errno.
72018         * elf/tst-stackguard1.c: Include <tls.h>.
72020 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
72022         * elf/link.h (struct link_map): Extend the l_addr comment.
72023         * include/link.h (struct link_map): Likewise.
72025 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
72027         [BZ #13550]
72028         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
72029         (BOUNDED_1): Remove macro.
72030         * debug/backtrace.c: Don't include <bp-checks.h>.
72031         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
72032         (__backtrace): Likewise.
72033         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
72034         <bp-checks.h>.
72035         (__backtrace): Don't use BOUNDED_1.
72036         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
72037         <bp-checks.h>.
72038         (__backtrace): Don't use BOUNDED_1.
72039         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
72040         (__backtrace): Don't use BOUNDED_1.
72041         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
72042         (shmat): Don't use BOUNDED_N.
72044 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
72046         [BZ #13550]
72047         * sysdeps/generic/bp-start.h: Remove file.
72048         * csu/libc-start.c: Don't include <bp-start.h>.
72049         (LIBC_START_MAIN): Set up __environ directly instead of using
72050         INIT_ARGV_and_ENVIRON.
72051         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
72052         <bp-start.h>.
72054         [BZ #13550]
72055         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
72056         definitions.
72057         (CHECK_FCNTL): Likewise.
72058         (CHECK_N_PAGES): Likewise.
72060         [BZ #13550]
72061         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
72062         definitions.
72063         (CHECK_SIGSET_NULL_OK): Likewise.
72064         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
72065         <bp-checks.h>.
72066         (sigpending): Don't use CHECK_SIGSET.
72067         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
72068         <bp-checks.h>.
72069         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72070         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
72071         <bp-checks.h>.
72072         (do_sigsuspend): Don't use CHECK_SIGSET.
72073         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
72074         use CHECK_SIGSET.
72075         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
72076         (do_sigwait): Don't use CHECK_SIGSET.
72077         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
72078         use CHECK_SIGSET.
72079         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
72080         include <bp-checks.h>.
72081         (sigpending): Don't use CHECK_SIGSET.
72082         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
72083         include <bp-checks.h>.
72084         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72085         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
72086         <bp-checks.h>.
72087         (sigpending): Don't use CHECK_SIGSET.
72088         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
72089         <bp-checks.h>.
72090         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72092         [BZ #13550]
72093         * sysdeps/generic/bp-semctl.h: Remove file.
72094         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
72095         <bp-checks.h> and <bp-semctl.h>.
72096         (__old_semctl): Don't use CHECK_SEMCTL.
72097         (__new_semctl): Likewise.
72098         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
72099         and <bp-semctl.h>.
72100         (__old_semctl): Don't use CHECK_SEMCTL.
72101         (__new_semctl): Likewise.
72102         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
72103         <bp-checks.h> and <bp-semctl.h>.
72104         (__old_semctl): Don't use CHECK_SEMCTL.
72105         (__new_semctl): Likewise.
72106         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
72107         <bp-checks.h> and <bp-semctl.h>.
72108         (semctl): Don't use CHECK_SEMCTL.
72110         [BZ #13550]
72111         * Makerules (elide-bp-thunks): Remove variable.
72112         (elide-routines.oS): Don't use $(elide-bp-thunks).
72113         (elide-routines.os): Likewise.
72114         (elide-routines.o): Likewise.
72115         (elide-routines.op): Likewise.
72116         (elide-routines.og): Likewise.
72117         (objects): Don't use $(bp-thunks).
72118         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
72119         include.
72120         (common-generated): Do not add s-proto-bp.d.
72121         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
72122         (int): Likewise.
72123         (typ): Likewise.
72124         Do not generate makefile rules for bounded-pointer thunks.
72125         * sysdeps/generic/bp-thunks.h: Remove file.
72126         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
72127         * sysdeps/unix/s-proto-bp.S: Likewise.
72129         [BZ #15062]
72130         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
72131         parts of result separately when argument is not close to line from
72132         -i to i and one part of argument is small.
72133         * math/k_casinhf.c (__kernel_casinhf): Likewise.
72134         * math/k_casinhl.c (__kernel_casinhl): Likewise.
72135         * math/libm-test.inc (cacos_test): Add more tests.
72136         (casin_test): Likewise.
72137         (casinh_test): Likewise.
72138         * sysdeps/i386/fpu/libm-test-ulps: Update.
72139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72141 2013-01-31  David S. Miller  <davem@davemloft.net>
72143         * po/de.po: Update from translation team.
72145 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
72147         * time/tzfile.c: Include stdint.h for SIZE_MAX.
72149 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
72151         * configure.in (_AC_PROG_CC_C89): New definition.
72152         * configure: Regenerate.
72154         * configure.in (AC_PROG_CPP): New definition.
72155         * configure: Regenerate.
72157 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72159         * debug/tst-backtrace.h: New file.
72160         * debug/tst-backtrace2.c: Include tst-backtrace.h.
72161         (ret): Remove variable.
72162         (x): Likewise.
72163         (FAIL): Remove macro.
72164         (NO_INLINE): Likewise.
72165         (fn1): Use match function instead of strstr.
72166         * debug/tst-backtrace3.c: Include tst-backtrace.h.
72167         (ret): Remove variable.
72168         (x): Likewise.
72169         (FAIL): Remove macro.
72170         (NO_INLINE): Likewise.
72171         (fn): Use match function instead of strstr.
72172         * debug/tst-backtrace4.c: Include tst-backtrace.h.
72173         (ret): Remove variable.
72174         (x): Likewise.
72175         (FAIL): Remove macro.
72176         (NO_INLINE): Likewise.
72177         (handle_signal): Use match function instead of strstr.
72178         * debug/tst-backtrace5.c: Include tst-backtrace.h.
72179         (ret): Remove variable.
72180         (x): Likewise.
72181         (FAIL): Remove macro.
72182         (NO_INLINE): Likewise.
72183         (handle_signal): Use match function instead of strstr.
72185 2013-01-23  Roland McGrath  <roland@hack.frob.com>
72187         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72189 2013-01-23  David S. Miller  <davem@davemloft.net>
72191         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72192         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72193         argument of CAS if possible.
72194         * sysdeps/sparc/sparc64/bits/atomic.h
72195         (__arch_compare_and_exchange_val_32_acq): Likewise.
72196         (__arch_compare_and_exchange_val_64_acq): Likewise.
72198 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
72200         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72201         * sysdeps/posix/ulimit.c: ... this.
72202         Include <limits.h>.
72203         * sysdeps/unix/bsd/ulimit.c: Remove file.
72205 2013-01-23  Adam Conrad  <adconrad@0c3.net>
72207         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72208         (LDFLAGS-tst-array5): Likewise.
72210 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72212         [BZ #15036]
72213         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72214         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72215         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72216         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72218 2013-01-21  David S. Miller  <davem@davemloft.net>
72220         * sysdeps/sparc/backtrace.c: New file.
72221         * sysdeps/sparc/sparc32/backtrace.h: New file.
72222         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72223         * sysdeps/sparc/sparc64/backtrace.h: New file.
72224         * sysdeps/sparc/sparc64/backtrace.c: Delete.
72225         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72226         -funwind-tables.
72228 2013-01-21  Andreas Schwab  <schwab@suse.de>
72230         [BZ #15020]
72231         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72232         closed its stdout.
72234 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
72236         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72237         "mpa2.h".
72238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72240 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
72241             Mark Mitchell  <mark@codesourcery.com>
72242             Tom de Vries  <tom@codesourcery.com>
72243             Paul Pluzhnikov  <ppluzhnikov@google.com>
72245         * debug/tst-backtrace2.c: New file.
72246         * debug/tst-backtrace3.c: Likewise.
72247         * debug/tst-backtrace4.c: Likewise.
72248         * debug/tst-backtrace5.c: Likewise.
72249         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72250         (CFLAGS-tst-backtrace3.c): Likewise.
72251         (CFLAGS-tst-backtrace4.c): Likewise.
72252         (CFLAGS-tst-backtrace5.c): Likewise.
72253         (LDFLAGS-tst-backtrace2): Likewise.
72254         (LDFLAGS-tst-backtrace3): Likewise.
72255         (LDFLAGS-tst-backtrace4): Likewise.
72256         (LDFLAGS-tst-backtrace5): Likewise.
72257         (tests): Add new tests tst-backtrace2, tst-backtrace3,
72258         tst-backtrace4 and tst-backtrace5.
72260 2013-01-18  Anton Blanchard  <anton@samba.org>
72261             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72263         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72264         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72265         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72266         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72268         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72269         "+r" and remove output regs list as redundant.  Add explicit inline
72270         asm to specify register of return val to work around compiler codegen
72271         bug.  Remove (int) cast on return value.  Add return type parameter to
72272         use in macro so that this macro does not truncate return value for
72273         64-bit values.
72274         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72275         pass to INTERNAL_VSYSCALL_NCS.
72276         (INLINE_VSYSCALL): Add 'long int' as return type to
72277         INTERNAL_VSYSCALL_NCS macro invocation.
72278         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72279         INTERNAL_VSYSCALL_NCS macro invocation.
72280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72282 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72284         [BZ #14496]
72285         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72286         Fix application of SIMD FP exception mask.
72288         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72289         mp_no from a power of two.
72290         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72291         __mpexp_twomm1.  Use __pow_mp.
72293         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72294         multiplication.
72296 2013-01-17  David S. Miller  <davem@davemloft.net>
72298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72300 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72302         [BZ #15023]
72303         * include/complex.h: Condition contents on [!_COMPLEX_H].
72304         (__kernel_casinhf): New prototype.
72305         (__kernel_casinh): Likewise.
72306         (__kernel_casinhl): Likewise.
72307         * math/Makefile (libm_calls): Add k_casinh.
72308         * math/k_casinh.c: New file.
72309         * math/k_casinhf.c: Likewise.
72310         * math/k_casinhl.c: Likewise.
72311         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72312         finite nonzero arguments.
72313         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72314         finite nonzero arguments.
72315         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72316         finite nonzero arguments.
72317         * math/s_casinh.c: Do not include <float.h>.
72318         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72319         * math/s_casinhf.c: Do not include <float.h>.
72320         (__casinhf): Move code for finite nonzero arguments to
72321         k_casinhf.c.
72322         * math/s_casinhl.c: Do not include <float.h>.
72323         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72324         redefine.
72325         (__casinhl): Move code for finite nonzero arguments to
72326         k_casinhl.c.
72327         * math/libm-test.inc (cacos_test): Add more tests.
72328         * sysdeps/i386/fpu/libm-test-ulps: Update.
72329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72331 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72333         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72334         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72335         [!HAVE_MREMAP]: Remove [defined linux] case.
72336         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72338 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72340         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72342 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72344         * elf/elf.h (R_386_SIZE32): New relocation.
72345         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72346         R_386_SIZE32.
72347         (elf_machine_rela): Likewise.
72348         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72349         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72351 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72353         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72354         (FP_FAST_FMA): Do not define.
72355         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72356         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72357         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72358         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72359         !_SOFT_FLOAT]: Likewise.
72360         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72361         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72362         value.
72363         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72364         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72365         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72366         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72367         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72368         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72369         file.
72371 2013-01-16  Andreas Schwab  <schwab@suse.de>
72373         [BZ #14327]
72374         * include/stdlib.h (__mktemp): Add declaration.
72375         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72376         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72378 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72380         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72381         definitions.
72382         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72383         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72384         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72385         definitions here.
72386         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72387         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72388         definitions.
72389         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72390         and ONE.
72391         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72392         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72393         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72394         definitions.
72395         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72396         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72397         definitions.
72398         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72400         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72402 2013-01-15  David S. Miller  <davem@davemloft.net>
72404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72405         trunc{,f} to libm-sysdep_routes.
72406         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72408         file.
72409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72411         file.
72412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72413         file.
72414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72416         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72417         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72418         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72419         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72420         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72421         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72424         nearbyint{,f} to libm-sysdep_routes.
72425         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72427         New file.
72428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72429         file.
72430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72431         New file.
72432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72433         file.
72434         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72436         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72437         file.
72438         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72440         file.
72441         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72442         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72443         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72445         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72446         libc_feholdexcept and libc_fesetenv.
72448 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72450         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72452 2013-01-14  David S. Miller  <davem@davemloft.net>
72454         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72455         (SPARC_ASM_VIS2_IFUNC): Likewise.
72456         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72458         use of 'siam' instruction.
72459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72460         Likewise.
72461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72462         Likewise.
72463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72464         Likewise.
72465         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72467         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72470         file.
72471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72472         file.
72473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72474         file.
72475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72476         file.
72477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72479         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72482         new VIS2 routines.
72483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72486         Likewise.
72487         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72492         routines to libm-sysdep_routines.
72493         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72496         fdim/fdimf to libm-sysdep_routines.
72497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72498         file.
72499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72501         file.
72502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72505         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72506         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72507         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72508         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72510 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72512         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72513         to optimize copies.
72515         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72516         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72519         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72520         local variable MPTWO.
72521         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72522         Likewise.
72524 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72526         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72527         GLOB_NOESCAPE.
72529 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72531         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72533 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72535         * manual/pattern.texi (glob_t): Document gl_flags.
72536         (glob64_t): Likewise.
72538 2013-01-11  David S. Miller  <davem@davemloft.net>
72540         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72541         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72542         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72543         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72544         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72545         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72546         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72547         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72548         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72549         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72550         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72551         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72552         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72554         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72555         sparc V9 rather than using V8 code.
72556         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72557         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72559         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72560         Move to...
72561         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72562         Here.
72564 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72566         [BZ #14941]
72567         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72568         not in the main loop.
72569         * configure: Regenerated.
72571 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72573         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72574         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72575         to just #else.
72576         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72577         [!__GLIBC_HAVE_LONG_LONG] case.
72578         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72579         condition to just #else.
72580         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72581         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72582         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72583         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72584         unconditional.
72585         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72586         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72587         #elif condition to just #else.
72588         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72589         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72590         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72591         #elif condition to just #else.
72593 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72595         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72596         (EF_MIPS_ARCH_64): Fix value.
72597         (EF_MIPS_ARCH_32R2): New.
72598         (EF_MIPS_ARCH_64R2): New.
72600 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72602         * Makeconfig (+link-pie-before-libc): New.
72603         (+link-pie-after-libc): Likewise.
72604         (+link-pie-tests): Likewise.
72605         (+link-pie): Rewritten.
72606         (link-before-libc): Remove $(config-LDFLAGS).
72607         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72608         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72609         (config-LDFLAGS): Renamed to ...
72610         (rtld-LDFLAGS): This.
72611         (rtld-tests-LDFLAGS): New macro.
72612         (link-libc-rpath-link): Likewise.
72613         (link-libc-tests-rpath-link): Likewise.
72614         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72615         (link-libc): Prepand $(link-libc-rpath-link).
72616         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72617         (test-program-prefix): New macro.
72618         (test-via-rtld-prefix): Likewise.
72619         (test-program-cmd): Likewise.
72620         (host-test-program-cmd): Likewise.
72621         * Makefile ($(common-objpfx)testrun.sh): Replace
72622         $(run-program-prefix) with $(test-program-prefix).
72623         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72624         $(rtld-LDFLAGS).
72625         ($(common-objpfx)shlib.lds): Likewise.
72626         (build-module-helper): Likewise.
72627         ($(common-objpfx)format.lds): Likewise.
72628         * Rules (binaries-pie-tests): New.
72629         (binaries-pie-notests): Likewise.
72630         (binaries-pie): Rewritten.
72631         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72632         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72633         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72634         (make-test-out): Replace $(host-built-program-cmd) with
72635         $(host-test-program-cmd).
72636         * config.make.in (build-hardcoded-path-in-tests): New variable.
72637         * configure.in (--enable-hardcoded-path-in-tests): New configure
72638         option.
72639         (hardcoded_path_in_tests): New AC_SUBST.
72640         * configure: Regenerated.
72641         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72642         $(built-program-cmd) with $(test-program-cmd).
72643         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72644         (test_program_cmd): This.
72645         * elf/Makefile ($(objpfx)order.out): Run test with
72646         $(test-program-prefix).
72647         ($(objpfx)order2.out): Likewise.
72648         ($(objpfx)tst-initorder.out): Likewise.
72649         ($(objpfx)tst-initorder2.out): Likewise.
72650         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72651         $(test-program-cmd).
72652         ($(objpfx)tst-array1-static.out): Likewise.
72653         ($(objpfx)tst-array2.out): Likewise.
72654         ($(objpfx)tst-array3.out): Likewise.
72655         ($(objpfx)tst-array4.out): Likewise.
72656         ($(objpfx)tst-array5.out): Likewise.
72657         ($(objpfx)tst-array5-static.out): Likewise.
72658         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72659         $(test-program-cmd).
72660         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72661         $(run-program-prefix) with $(test-program-prefix).
72662         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72663         (test_program_prefix): This.
72664         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72665         $(run-program-prefix) with $(test-program-prefix).
72666         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72667         (test_program_prefix): This.
72668         * iconvdata/tst-tables.sh: Likewise.
72669         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72670         $(run-program-prefix) with $(test-program-prefix).
72671         ($(objpfx)tst-translit.out): Likewise.
72672         ($(objpfx)tst-gettext2.out): Likewise.
72673         ($(objpfx)tst-gettext4.out): Likewise.
72674         ($(objpfx)tst-gettext6.out): Likewise.
72675         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72676         (test_program_prefix): This.
72677         * intl/tst-gettext2.sh: Likewise.
72678         * intl/tst-gettext4.sh  Likewise.
72679         * intl/tst-gettext6.sh: Likewise.
72680         * intl/tst-translit.sh: Likewise.
72681         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72682         with $(test-program-cmd).
72683         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72684         $(run-program-prefix) with $(test-program-prefix).
72685         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72686         (test_program_prefix): This.
72687         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72688         $(run-program-prefix) with $(test-program-prefix).
72689         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72690         (test_program_prefix): This.
72691         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72692         * posix/Makefile ($(objpfx)globtest.out): Replace
72693         $(run-via-rtld-prefix) and $(test-wrapper) with
72694         $(test-program-prefix) and $(test-via-rtld-prefix).
72695         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72696         $(test-program-prefix).
72697         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72698         $(host-test-program-cmd).
72699         (tst-spawn-ARGS): Likewise.
72700         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72701         $(test-program-prefix).
72702         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72703         (test_via_rtld_prefix): This.
72704         (test_wrapper): Renamed to ...
72705         (test_program_prefix): This.
72706         (run_program_prefix): Replaced by test_program_prefix.
72707         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72708         (test_program_prefix): This.
72709         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72710         with $(host-test-program-cmd).
72711         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72712         $(run-program-prefix) with $(test-program-prefix).
72713         ($(objpfx)tst-printf.out): Likewise.
72714         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72715         $(test-program-cmd).
72716         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72717         (test_program_prefix): This.
72718         * stdio-common/tst-unbputc.sh: Likewise.
72719         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72720         $(run-program-prefix) with $(test-program-prefix).
72721         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72722         (test_program_prefix): This.
72723         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72724         $(built-program-cmd) with $(test-program-cmd).
72726 2013-01-11  Andreas Jaeger  <aj@suse.de>
72728         [BZ #15003]
72729         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72730         value. Sync with Linux 3.7.
72732 2013-01-10  David S. Miller  <davem@davemloft.net>
72734         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72735         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72736         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72738 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72740         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72741         never set.
72742         * configure: Regenerated.
72744 2013-01-10  David S. Miller  <davem@davemloft.net>
72746         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72747         sparc V9 rather than using V8 code.
72748         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72749         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72751 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72753         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72754         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72755         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72756         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72757         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72758         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72759         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72760         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72761         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72762         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72763         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72764         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72765         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72766         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72767         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72768         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72769         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72770         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72771         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72772         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72773         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72774         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72775         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72776         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72777         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72778         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72779         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72781 2013-01-10  David S. Miller  <davem@davemloft.net>
72783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72785 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72787         * posix/Makefile (tests-static): New variable.
72788         (tests): Add $(tests-static).
72789         (tst-exec-static-ARGS): New variable.
72790         (tst-spawn-static-ARGS): Likewise.
72791         * posix/tst-exec-static.c: New file.
72792         * posix/tst-spawn-static.c: Likewise.
72793         * posix/tst-exec.c: Support run directly.
72794         * posix/tst-spawn.c: Likewise.
72796 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72798         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72799         long.
72800         * math/bits/mathcalls.h (llrint): Likewise.
72801         (llround): Likewise.
72802         * stdlib/stdlib.h (struct drand48_data): Likewise.
72803         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72804         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72805         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72806         Likewise.
72807         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72808         Likewise.
72809         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72810         (elf_greg_t): Likewise.
72811         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72812         (__jmp_buf): Likewise.
72813         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72814         definitions.
72815         (llrint): Likewise, for all definitions.
72816         (llrintl): Likewise.
72818         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72819         Remove [__GNUC__] condition.
72820         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72821         condition to just [__USE_ISOC99].
72822         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72824 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72826         [BZ #14200]
72827         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72828         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72829         defined.
72830         (_POSIX_V6_ILP32_OFF32): Likewise.
72831         (_XBS5_ILP32_OFF32): Likewise.
72832         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72833         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72835 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72837         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72840         doubles __mpexp_twomm1.  Adjust usage.
72841         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72842         Remove.
72844 2013-01-10  Andreas Schwab  <schwab@suse.de>
72846         [BZ #14964]
72847         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72848         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72850 2013-01-09  David S. Miller  <davem@davemloft.net>
72852         [BZ #15003]
72853         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72854         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72855         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72856         (TCP_FASTOPEN): Define.
72857         (tcp_repair_opt): New structure.
72858         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72859         enum values.
72860         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72861         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72862         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72863         (tcp_cookie_transactions): New structure.
72865 2013-01-09  Anton Blanchard  <anton@samba.org>
72867         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72868         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72869         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72870         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72872 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72874         * include/features.h (__USE_ANSI): Remove.
72876 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72878         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72880         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72882 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72884         * sysdeps/s390/fpu/libm-test-ulps: Update.
72886         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72888         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72889         (__acr): Likewise.
72890         (__cpy): Likewise.
72891         (norm): Likewise.
72892         (denorm): Likewise.
72893         (__mp_dbl): Likewise.
72894         (__dbl_mp): Likewise.
72895         (add_magnitudes): Likewise.
72896         (sub_magnitudes): Likewise.
72897         (__add): Likewise.
72898         (__sub): Likewise.
72899         (__mul): Likewise.
72900         (__inv): Likewise.
72901         (__dvd): Likewise.
72902         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72903         (__acr): Likewise.
72904         (__cpy): Likewise.
72905         (norm): Likewise.
72906         (denorm): Likewise.
72907         (__mp_dbl): Likewise.
72908         (__dbl_mp): Likewise.
72909         (add_magnitudes): Likewise.
72910         (sub_magnitudes): Likewise.
72911         (__add): Likewise.
72912         (__sub): Likewise.
72913         (__mul): Likewise.
72914         (__inv): Likewise.
72915         (__dvd): Likewise.
72916         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72917         (__acr): Likewise.
72918         (__cpy): Likewise.
72919         (norm): Likewise.
72920         (denorm): Likewise.
72921         (__mp_dbl): Likewise.
72922         (__dbl_mp): Likewise.
72923         (add_magnitudes): Likewise.
72924         (sub_magnitudes): Likewise.
72925         (__add): Likewise.
72926         (__sub): Likewise.
72927         (__mul): Likewise.
72928         (__inv): Likewise.
72929         (__dvd): Likewise.
72931 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72933         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72934         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72935         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72936         2 && __USE_EXTERN_INLINES]: Likewise.
72938 2013-01-08  Andreas Jaeger  <aj@suse.de>
72940         [BZ #14985]
72941         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72942         Remove.
72943         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72944         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72946 2013-01-07  Anton Blanchard  <anton@samba.org>
72948         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72949         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72950         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72951         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72952         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72953         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72954         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72955         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72957         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72958         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72960         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72961         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72962         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72963         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72965         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72966         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72967         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72968         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72969         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72970         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72971         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72972         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72973         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72974         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72975         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72976         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72977         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72978         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72980         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72981         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72982         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72983         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72984         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72985         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72986         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72987         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72988         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72990         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72992 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72994         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72995         (__MALLOC_PMT): Likewise.
72996         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72997         [__GNUC__], only on [_LIBC].
72998         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72999         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
73000         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
73001         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
73002         forward declaration.
73003         (realloc_hook_ini): Likewise.
73004         (memalign_hook_ini): Likewise.
73005         (__libc_memalign): Do not use __MALLOC_PMT in variable
73006         declaration.
73007         (__libc_valloc): Likewise.
73008         (__libc_pvalloc): Likewise.
73009         (__libc_calloc): Likewise.
73010         (__posix_memalign): Likewise.
73012         [BZ #14996]
73013         * math/s_casinh.c: Include <float.h>.
73014         (__casinh): Do not do computation with squaring and square root
73015         for large arguments.
73016         * math/s_casinhf.c: Include <float.h>.
73017         (__casinhf): Do not do computation with squaring and square root
73018         for large arguments.
73019         * math/s_casinhl.c: Include <float.h>.
73020         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
73021         (__casinhl): Do not do computation with squaring and square root
73022         for large arguments.
73023         * math/libm-test.inc (casin_test): Add more tests.
73024         (casinh_test): Likewise.
73025         * sysdeps/i386/fpu/libm-test-ulps: Update.
73026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73028 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
73030         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
73031         (__x86_64_raw_data_cache_size): Likewise.
73032         (__x86_64_data_cache_size_half): Likewise.
73033         (__x86_64_raw_data_cache_size_half): Likewise.
73034         (__x86_64_shared_cache_size): Likewise.
73035         (__x86_64_raw_shared_cache_size): Likewise.
73036         (__x86_64_shared_cache_size_half): Likewise.
73037         (__x86_64_raw_shared_cache_size_half): Likewise.
73038         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
73039         to ...
73040         (__x86_data_cache_size): This.
73041         (__x86_64_raw_data_cache_size): Renamed to ...
73042         (__x86_raw_data_cache_size): This.
73043         (__x86_64_data_cache_size_half): Renamed to ...
73044         (__x86_data_cache_size_half): This.
73045         (__x86_64_raw_data_cache_size_half): Renamed to ...
73046         (__x86_raw_data_cache_size_half): This.
73047         (__x86_64_shared_cache_size): Renamed to ...
73048         (__x86_shared_cache_size): This.
73049         (__x86_64_raw_shared_cache_size): Renamed to ...
73050         (__x86_raw_shared_cache_size): This.
73051         (__x86_64_shared_cache_size_half): Renamed to ...
73052         (__x86_shared_cache_size_half): This.
73053         (__x86_64_raw_shared_cache_size_half): Renamed to ...
73054         (__x86_raw_shared_cache_size_half): This.
73055         * sysdeps/x86_64/memcpy.S: Updated.
73056         * sysdeps/x86_64/memset.S: Likewise.
73057         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
73058         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73059         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73061 2013-01-04  David S. Miller  <davem@davemloft.net>
73063         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73065 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
73067         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
73068         1 to avoid redefinition warning.
73069         (__USE_GNU): Don't define.
73070         (init_signaling_nan): Protoize.
73072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73074 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73076         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
73077         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
73078         (__cpymn): Likewise.
73079         (norm): Remove commented code.
73080         (denorm): Likewise.
73081         (__mp_dbl): Likewise.
73082         (__inv): Likewise.
73083         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
73084         (__cpymn): Likewise.
73085         (norm): Remove commented code.
73086         (denorm): Likewise.
73087         (__mp_dbl): Likewise.
73088         (__inv): Likewise.
73090         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
73091         mp_no value for 1.0 and 2.0.
73092         (norm): Use RADIXI instead of radixi.d.
73093         (denorm): Likewise.
73094         (__mul): Use 0.0 instead of zero.d.
73095         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
73096         mp_no value for 1.0 and 2.0.
73097         (norm): Use RADIXI instead of radixi.d.
73098         (denorm): Likewise.
73099         (__mul): Use 0.0 instead of zero.d.
73101 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
73103         [BZ #14994]
73104         * math/s_casinh.c (__casinh): Reduce finite argument to first
73105         quadrant then set signs of results at the end.
73106         * math/s_casinhf.c (__casinhf): Likewise.
73107         * math/s_casinhl.c (__casinhl): Likewise.
73108         * math/libm-test.inc (casin_test): Add more tests.
73109         (casinh_test): Likewise.
73110         * sysdeps/i386/fpu/libm-test-ulps: Update.
73111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73113 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73115         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
73117         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
73119         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
73120         declarations.
73121         (denorm): Likewise.
73122         (__mp_dbl): Likewise.
73123         (__inv): Likewise.
73125         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
73126         and adjust the header comment.
73128         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
73129         variable name from declaration.
73131 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
73133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73134         Initialize COMMON_CPUID_INDEX_7 element.
73135         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
73136         (CPUID_RTM): Likewise.
73137         (HAS_RTM): Likewise.
73138         (COMMON_CPUID_INDEX_7): New enum.
73140 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
73142         [BZ #14981]
73143         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
73144         size is zero, record memory as freed.
73146 2013-01-03  Andreas Jaeger  <aj@suse.de>
73148         * po/ia.po: Add new Interlingua translation.
73150 2012-01-03  Allan McRae  <allan@archlinux.org>
73152         * locale/programs/localedef.c: Fix description of '--posix' flag.
73154 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
73156         * NEWS: Update dates in second copyright notice.
73157         * README: Update copyright dates in example.
73158         * manual/libc.texinfo: Update copyright dates.
73159         * scripts/test-installation.pl: Update copyright date in --version
73160         output.
73162         * hurd/ctty-input.c: Fix copyright notice formatting.
73163         * hurd/ctty-output.c: Likewise.
73164         * hurd/dtable.c: Likewise.
73165         * hurd/hurd-raise.c: Likewise.
73166         * hurd/hurdprio.c: Likewise.
73167         * hurd/msgportdemux.c: Likewise.
73168         * misc/sys/file.h: Likewise.
73169         * misc/sys/ioctl.h: Likewise.
73170         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73171         * sysdeps/mach/hurd/chdir.c: Likewise.
73172         * sysdeps/mach/hurd/fchdir.c: Likewise.
73173         * sysdeps/mach/hurd/rename.c: Likewise.
73174         * sysdeps/mach/hurd/rmdir.c: Likewise.
73175         * sysdeps/mach/hurd/seekdir.c: Likewise.
73176         * sysdeps/mach/hurd/setsid.c: Likewise.
73177         * sysdeps/posix/wait3.c: Likewise.
73179         * All files with FSF copyright notices: Update copyright dates
73180         using scripts/update-copyrights.
73181         * intl/plural.c: Regenerated.
73182         * locale/programs/charmap-kw.h: Likewise.
73183         * locale/programs/locfile-kw.h: Likewise.
73185 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
73187         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73188         four values.
73190         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73191         calculation loop and add branch prediction.
73193         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73194         check access beyond bounds of m1np.
73196         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73197         MPTWO.
73198         (__inv): Remove local variable MPTWO to use the global
73199         constant.
73200         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73201         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73202         variable MPTWO.
73203         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73204         MP3HALFS static const.
73206 2013-01-01  David S. Miller  <davem@davemloft.net>
73208         * po/ca.po: Update from translation team.
73210 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
73212         * scripts/update-copyrights: New file.
73213         * Makeconfig: Reformat copyright notice.
73214         * ctype/ctype.h: Likewise.
73215         * debug/swprintf_chk.c: Likewise.
73216         * elf/dl-cache.c: Likewise.
73217         * elf/dl-debug.c: Likewise.
73218         * elf/dl-object.c: Likewise.
73219         * grp/initgroups.c: Likewise.
73220         * hurd/Makefile: Likewise.
73221         * hurd/hurd/signal.h: Likewise.
73222         * hurd/hurdfault.c: Likewise.
73223         * hurd/hurdioctl.c: Likewise.
73224         * hurd/hurdlookup.c: Likewise.
73225         * hurd/intr-msg.c: Likewise.
73226         * iconv/gconv_open.c: Likewise.
73227         * libio/swprintf.c: Likewise.
73228         * locale/lc-ctype.c: Likewise.
73229         * locale/nl_langinfo.c: Likewise.
73230         * mach/Machrules: Likewise.
73231         * mach/Makefile: Likewise.
73232         * malloc/obstack.h: Likewise.
73233         * manual/Makefile: Likewise.
73234         * manual/tsort.awk: Likewise.
73235         * misc/bits/stab.def: Likewise.
73236         * nis/nis_print_group_entry.c: Likewise.
73237         * nis/nis_table.c: Likewise.
73238         * nis/nss_compat/compat-pwd.c: Likewise.
73239         * nis/nss_compat/compat-spwd.c: Likewise.
73240         * po/Makefile: Likewise.
73241         * posix/fnmatch.c: Likewise.
73242         * posix/regex.h: Likewise.
73243         * resolv/Makefile: Likewise.
73244         * resolv/nss_dns/dns-network.c: Likewise.
73245         * resolv/res_hconf.c: Likewise.
73246         * scripts/gen-sorted.awk: Likewise.
73247         * soft-fp/soft-fp.h: Likewise.
73248         * stdio-common/printf.h: Likewise.
73249         * stdlib/monetary.h: Likewise.
73250         * stdlib/random.c: Likewise.
73251         * stdlib/random_r.c: Likewise.
73252         * sysdeps/generic/Makefile: Likewise.
73253         * sysdeps/gnu/Makefile: Likewise.
73254         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73255         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73256         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73257         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73258         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73259         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73260         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73261         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73262         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73263         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73264         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73265         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73266         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73267         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73268         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73269         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73270         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73271         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73272         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73274         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73275         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73276         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73277         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73278         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73279         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73280         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73281         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73282         * sysdeps/mach/hurd/errnos.awk: Likewise.
73283         * sysdeps/mach/hurd/fork.c: Likewise.
73284         * sysdeps/mach/hurd/getcwd.c: Likewise.
73285         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73286         * sysdeps/mach/hurd/mmap.c: Likewise.
73287         * sysdeps/mach/hurd/utimes.c: Likewise.
73288         * sysdeps/mach/hurd/xmknod.c: Likewise.
73289         * sysdeps/posix/profil.c: Likewise.
73290         * sysdeps/posix/readdir_r.c: Likewise.
73291         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73292         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73293         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73294         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73295         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73296         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73297         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73298         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73299         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73300         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73301         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73302         * sysdeps/pthread/lio_listio.c: Likewise.
73303         * sysdeps/sparc/dl-procinfo.h: Likewise.
73304         * sysdeps/unix/i386/sysdep.S: Likewise.
73305         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73306         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73307         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73308         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73310         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73311         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73312         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73313         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73314         * sysdeps/wordsize-32/divdi3.c: Likewise.
73315         * time/sys/time.h: Likewise.
73316         * wcsmbs/Makefile: Likewise.
73318 2013-01-01  David S. Miller  <davem@davemloft.net>
73320         * po/fr.po: Update from translation team.
73322         * catgets/gencat.c: Update copyright year.
73323         * csu/version.c: Likewise.
73324         * debug/catchsegv.sh: Likewise.
73325         * debug/pcprofiledump.c: Likewise.
73326         * debug/xtrace.sh: Likewise.
73327         * elf/ldconfig.c: Likewise.
73328         * elf/ldd.bash.in: Likewise.
73329         * elf/pldd.c: Likewise.
73330         * elf/sotruss.ksh: Likewise.
73331         * elf/sprof.c: Likewise.
73332         * iconv/iconv_prog.c: Likewise.
73333         * iconv/iconvconfig.c: Likewise.
73334         * locale/programs/locale.c: Likewise.
73335         * locale/programs/localedef.c: Likewise.
73336         * login/programs/pt_chown.c: Likewise.
73337         * malloc/memusage.sh: Likewise.
73338         * malloc/memusagestat.c: Likewise.
73339         * malloc/mtrace.pl: Likewise.
73340         * nscd/nscd.c: Likewise.
73341         * nss/getent.c: Likewise.
73342         * nss/makedb.c: Likewise.
73343         * posix/getconf.c: Likewise.
73345 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73347         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73348         numbers.
73350 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73352         * math/bits/mathcalls.h (modf): Use __nonnull.
73354 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73356         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73357         (split): Use macro CN instead of the bare value.
73358         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73359         could be used.
73360         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73361         instead of the bare value.
73362         (power1): Likewise.
73364 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73366         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73367         __ATAN_TWOM.
73368         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73370         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73371         their values.
73372         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73373         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73374         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73375         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73377 2012-12-28  Andreas Jaeger  <aj@suse.de>
73379         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73380         values are from Linux 3.7.
73382         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73383         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73385 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73387         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73388         TRUE case.
73390         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73391         (norm): Likewise.
73392         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73393         variables with preprocessor constants.
73394         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73395         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73396         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73398 2012-12-27  Bruno Haible  <bruno@clisp.org>
73400         [BZ #14317]
73401         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73402         only if needed.
73404 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73406         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73407         and use variable directly.
73408         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73410         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73411         MPONE.
73412         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73413         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73414         variable MPONE.
73415         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73416         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73417         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73418         include directive.  Remove local variable MPONE.
73419         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73420         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73421         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73423 2012-12-25  David S. Miller  <davem@davemloft.net>
73425         * version.h (RELEASE): Set to "development".
73426         (VERSION): Set to "2.17.90".
73427         * NEWS: Add 2.18 section.
73429 2012-12-21  David S. Miller  <davem@davemloft.net>
73431         * po/hr.po: Update from translation team.
73433 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73435         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73437 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73439         * NEWS:  Mention new memcpy for MIPS.
73441 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73443         * manual/contrib.texi (Contributors): Spelling correction.
73445 2012-12-15  David S. Miller  <davem@davemloft.net>
73447         * po/ru.po: Update from translation team.
73449 2012-12-13  David S. Miller  <davem@davemloft.net>
73451         * NEWS: Mention IFUNC testsuite enhancements.
73453         * po/pl.po: Update from translation team.
73454         * po/bg.po: Likewise.
73456         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73457         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73459 2012-12-11  David S. Miller  <davem@davemloft.net>
73461         * po/sv.po: Update from translation team.
73463         * po/vi.po: Update from translation team.
73465         * po/cs.po: Update from translation team.
73467         * po/de.po: Update from translation team.
73468         * po/eo.po: Likewise.
73469         * po/nl.po: Likewise.
73471 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73473         [BZ #14246]
73474         * manual/argp.texi (Argp Helper Functions): Move node to follow
73475         Argp Parsing State.
73477         [BZ #14872]
73478         * manual/conf.texi (Limits on File System Capacity): Mention if
73479         terminating null is included in the max size.
73481 2012-12-10  Andreas Jaeger  <aj@suse.de>
73483         * po/cs.po: Update from translation team.
73485 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73487         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73488         void pointer and cast to uintptr_t.
73489         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73490         path.
73491         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73492         * sysdeps/s390/s390-64/memset.S: Likewise.
73494 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73496         [BZ #14833]
73497         * menual/message.texi (Message Translation): Fix typos.
73498         (Helper programs for gettext): Likewise.
73500 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73502         [BZ #14898]
73503         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73504         Change to -1.
73506 2012-12-07  David S. Miller  <davem@davemloft.net>
73508         * po/libc.pot: Update.
73510 2012-12-07  Richard Henderson  <rth@redhat.com>
73512         [BZ #10114]
73513         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73514         normal/normal case to before the switch.
73515         (_FP_DIV): Likewise.
73517 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73518             Mike Frysinger  <vapier@gentoo.org>
73520         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73521         check for __NR_fadvise64_64.
73523 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73525         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73526         0, not just to plain "0" as a statement.
73527         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73528         with cw.
73530 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73532         * NEWS: Use sourceware.org in Bugzilla URL.
73534 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73537         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73539         * stdio-common/tst-put-error.c (do_test): Add newline to the
73540         padded test to ensure flush.
73542 2012-12-05  Jeff Law  <law@redhat.com>
73544         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73546 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73548         * README: Don't refer to ports add-on as distributed separately.
73549         Mention AArch64 in list of systems supported in the ports add-on.
73551         * LICENSES: Add more non-FSF copyright and license notices.
73553         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73554         ((unused)).
73556         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73558         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73559         10000 as width of padded output.
73561 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73563         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73565         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73566         variable LX with __attribute__ ((unused)).
73567         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73568         Likewise.
73569         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73571         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73572         with __attribute__ ((unused)).
73574 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73576         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73578 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73580         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73581         (CFLAGS-nldbl-acos.c): New variable.
73582         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73583         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73584         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73585         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73586         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73587         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73588         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73589         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73590         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73591         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73592         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73593         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73594         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73595         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73596         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73597         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73598         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73599         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73600         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73601         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73602         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73603         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73604         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73605         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73606         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73607         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73608         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73609         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73610         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73611         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73612         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73613         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73614         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73615         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73616         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73617         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73618         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73619         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73620         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73621         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73622         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73623         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73624         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73625         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73626         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73627         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73628         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73629         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73630         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73631         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73632         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73633         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73634         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73635         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73636         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73637         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73638         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73639         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73640         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73641         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73642         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73643         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73644         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73645         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73646         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73647         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73648         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73649         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73650         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73651         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73652         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73653         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73654         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73655         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73656         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73657         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73658         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73659         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73660         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73661         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73662         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73663         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73664         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73665         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73666         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73667         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73668         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73669         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73670         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73671         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73672         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73673         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73674         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73675         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73676         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73677         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73678         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73681         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73683         [BZ #14914]
73684         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73685         whole low double instead of just low 47 bits when splitting values
73686         into two parts.
73688 2012-12-03  Allan McRae  <allan@archlinux.org>
73690         * manual/stdio.texi (Predefined Printf Handlers): Remove
73691         @hsep and @vsep usage.
73693 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73695         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73696         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73698 2012-12-03  Jeff Law  <law@redhat.com>
73700         * time/sys/time.h (settimeofday): Do not mark TV argument
73701         as __nonnull.
73703 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73705         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73706         when currently writing and seek to current position when not.
73707         * libio/Makefile (tests): Remove bug-fclose1.
73708         * libio/bug-fclose1.c: Delete.
73710 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73712         * manual/arith.texi (feenableexcept): Fix typo.
73713         (fedisableexcept): Likewise.
73715 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73717         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73718         second, differently-typed declaration, rather than a cast.
73720 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73722         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73723         * include/rpc/svc.h: ... here.
73725 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73727         [BZ #13013]
73728         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73729         depending n and resplen2 to catch cases where answer
73730         equals answerp2.
73732 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73734         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73735         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73737 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73739         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73741 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73743         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73745 2012-11-28  Jeff Law  <law@redhat.com>
73747         [BZ #13761]
73748         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73749         dataset_temporary.  Track alloca usage into alloca_used.
73750         If dataset is large allocate and release it via malloc/free.
73752 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73754         [BZ #14197]
73755         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73757 2012-11-28  David S. Miller  <davem@davemloft.net>
73759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73761 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73763         [BZ #14803]
73764         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73765         of pi/2 rounded to nearest to 64 bits.
73766         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73767         nearest to 64 bits.
73768         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73769         bits.
73771 2012-11-28  Jeff Law <law@redhat.com>
73772             Martin Osvald <mosvald@redhat.com>
73774         [BZ #14889]
73775         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73776         * sunrpc/svc.c: Include time.h.
73777         (__svc_accept_failed): New function.
73778         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73779         any reason other than EINTR, call __svc_accept_failed.
73780         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73781         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73783 2012-11-28  Andreas Schwab  <schwab@suse.de>
73785         * scripts/abilist.awk: Also handle indirect functions in .opd
73786         section.
73788 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73790         [BZ #13881]
73791         * sysdeps/x86/fpu/powl_helper.c: New file.
73792         * sysdeps/x86/fpu/Makefile: Likewise.
73793         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73794         (p3): New object.
73795         (__ieee754_powl): Use __powl_helper for finite arguments except
73796         integer exponents below 8.
73797         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73798         (p3): New object.
73799         (__ieee754_powl): Use __powl_helper for finite arguments except
73800         integer exponents below 8.
73801         * math/libm-test.inc (pow_test): Add more tests and enable some
73802         previously disabled tests.
73803         * sysdeps/i386/fpu/libm-test-ulps: Update.
73804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73806 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73807             Carlos O'Donell  <carlos_odonell@mentor.com>
73809         * nss/makedb.c (is_prime): Assert that input is odd and greater
73810         than 4.  Note that fact in a comment too.
73811         (next_prime): Add 4 to input.
73813 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73815         [BZ #11741]
73816         * libio/Makefile (tests): Add test case tst-fwrite-error.
73817         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73818         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73819         * libio/tst-fwrite-error.c: New test case.
73821 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73823         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73824         before casting to void *.
73825         * include/libc-internal.h (__pointer_type): New macro.
73826         (__integer_if_pointer_type_sub): Likewise.
73827         (__integer_if_pointer_type): Likewise.
73828         (cast_to_integer): Likewise.
73829         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73830         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73831         before casting to atomic64_t.
73832         (atomic_exchange_acq): Likewise.
73833         (__arch_exchange_and_add_body): Likewise.
73834         (__arch_add_body): Likewise.
73835         (atomic_add_negative): Likewise.
73836         (atomic_add_zero): Likewise.
73838 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73840         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73841         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73842         (add_fdes): Likewise.
73843         (linear_search_fdes): Likewise.
73844         (binary_search_unencoded_fdes): Likewise.
73846 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73848         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73850 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73852         * configure.in: Autodetect C++ header directories.
73853         * configure: Regenerated.
73855 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73857         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73859 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73861         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73863 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73865         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73866         LDBL_MANT_DIG == 106]: Disable some tests.
73867         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73868         Likewise.
73869         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73870         Likewise.
73872         [BZ #14871]
73873         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73874         input for small inputs.  Return +/- pi/2 for large inputs.
73875         * math/libm-test.inc (atan_test): Add more tests.
73877         * sysdeps/generic/unwind-dw2-fde-glibc.c
73878         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73879         __attribute__ ((unused)).
73881         [BZ #14645]
73882         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73883         x * y if x and y are nonzero and z is zero.
73885         [BZ #14811]
73886         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73887         nonzero exponents with absolute value below 0x1p-117 to +/-
73888         0x1p-117.
73890         [BZ #14869]
73891         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73892         up arguments below 2**-450, not just those below 2**-500.
73893         * math/libm-test.inc (hypot_test): Add another test.
73895         [BZ #14868]
73896         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73897         Return a+b for ratio over 2**120, not 2**60.
73898         * math/libm-test.inc (hypot_test): Add another test.
73900         * math/libm-test.inc (clog_test): Use
73901         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73902         (clog10_test): Likewise.
73904         [BZ #6778]
73905         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73907 2012-11-22  Andreas Schwab  <schwab@suse.de>
73909         * sysdeps/i386/fpu/libm-test-ulps: Update.
73911 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73913         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73914         printf output with newline.
73916 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73918         [BZ #14865]
73919         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73920         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73921         -z nodlopen, -z initfirst and -z execstack support.
73922         * configure: Regenerated.
73924         * elf/elf.h (DF_1_NODIRECT): New macro.
73925         (DF_1_IGNMULDEF): Likewise.
73926         (DF_1_NOKSYMS): Likewise.
73927         (DF_1_NOHDR): Likewise.
73928         (DF_1_EDITED): Likewise.
73929         (DF_1_NORELOC): Likewise.
73930         (DF_1_SYMINTPOSE): Likewise.
73931         (DF_1_GLOBAUDIT): Likewise.
73932         (DF_1_SINGLETON): Likewise.
73933         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73934         DT_1_SUPPORTED_MASK bits.
73935         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73937 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73939         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73941 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73943         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73944         macro.
73946         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73947         (sendmmsg): Move declarations...
73948         * socket/sys/socket.h: ... here.
73949         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73950         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73951         include it from...
73952         * socket/recvmmsg.c: ... this new file.
73953         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73954         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73955         definition of __sendmmsg hidden.
73956         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73957         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73958         Move ENOSYS stub into and include it from...
73959         * socket/sendmmsg.c: ... this new file.
73960         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73961         (sysdep_routines): Move recvmmsg and sendmmsg...
73962         * socket/Makefile (routines): ... here.
73963         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73964         (GLIBC_PRIVATE): Add __sendmmsg.
73965         * include/sys/socket.h (__sendmmsg): Add declarations.
73966         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73967         sendmmsg.
73969 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73971         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73972         variable I1 with __attribute__ ((unused)).
73973         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73975 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73977         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73978         DUMMY variables with __attribute__ ((unused)).
73980         * bits/byteswap.h: Include <bits/types.h>.
73981         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73983 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73985         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73986         string_t.  Do not manually set errno.
73987         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73988         length with __strnlen.  Make sure to both set errno and return it on
73989         failure.
73991 2012-11-19  David S. Miller  <davem@davemloft.net>
73993         With help from Joseph Myers.
73994         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73995         very large arguments properly.
73996         * math/libm-test.inc (atan_test): New tests.
73997         (atan2_test): New tests.
73998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73999         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74001 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
74003         [BZ #14856]
74004         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
74005         Define to 3.
74007         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
74008         [POSIX] (EADDRNOTAVAIL): Likewise.
74009         [POSIX] (EAFNOSUPPORT): Likewise.
74010         [POSIX] (EALREADY): Likewise.
74011         [POSIX] (ECONNABORTED): Likewise.
74012         [POSIX] (ECONNREFUSED): Likewise.
74013         [POSIX] (ECONNRESET): Likewise.
74014         [POSIX] (EDESTADDRREQ): Likewise.
74015         [POSIX] (EDQUOT): Likewise.
74016         [POSIX] (EHOSTUNREACH): Likewise.
74017         [POSIX] (EIDRM): Likewise.
74018         [POSIX] (EISCONN): Likewise.
74019         [POSIX] (ELOOP): Likewise.
74020         [POSIX] (EMULTIHOP): Likewise.
74021         [POSIX] (ENETDOWN): Likewise.
74022         [POSIX] (ENETUNREACH): Likewise.
74023         [POSIX] (ENOBUFS): Likewise.
74024         [POSIX] (ENODATA): Likewise.
74025         [POSIX] (ENOLINK): Likewise.
74026         [POSIX] (ENOMSG): Likewise.
74027         [POSIX] (ENOPROTOOPT): Likewise.
74028         [POSIX] (ENOSR): Likewise.
74029         [POSIX] (ENOSTR): Likewise.
74030         [POSIX] (ENOTCONN): Likewise.
74031         [POSIX] (ENOTSOCK): Likewise.
74032         [POSIX] (EOPNOTSUPP): Likewise.
74033         [POSIX] (EOVERFLOW): Likewise.
74034         [POSIX] (EPROTO): Likewise.
74035         [POSIX] (EPROTONOSUPPORT): Likewise.
74036         [POSIX] (EPROTOTYPE): Likewise.
74037         [POSIX] (ESTALE): Likewise.
74038         [POSIX] (ETIME): Likewise.
74039         [POSIX] (ETXTBSY): Likewise.
74040         [POSIX] (EWOULDBLOCK): Likewise.
74041         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
74042         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
74043         [POSIX] (SEEK_CUR): Likewise.
74044         [POSIX] (SEEK_END): Likewise.
74045         [POSIX || UNIX98] (mode_t): Do not require.
74046         [POSIX] (off_t): Likewise.
74047         [POSIX] (pid_t): Likewise.
74048         [POSIX] (sys/stat.h): Do not allow header.
74049         [POSIX] (unistd.h): Likewise.
74050         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
74051         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
74052         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
74053         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
74054         require.
74055         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
74056         sigevent): Specify elements.
74057         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
74058         entry.
74059         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
74060         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
74062         * conform/data/cpio.h-data [POSIX]: Disable whole file.
74063         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
74064         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
74065         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
74066         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
74067         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
74068         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
74069         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
74070         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
74071         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
74072         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
74073         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
74074         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
74075         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
74076         Likewise.
74077         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
74078         Likewise.
74079         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
74080         Likewise.
74081         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
74082         Likewise.
74083         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
74084         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
74085         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
74086         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
74087         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
74088         Specify lower bound on value.
74089         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
74090         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
74091         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
74092         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
74093         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
74094         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
74095         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
74096         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
74097         value.
74098         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
74099         as optional.
74100         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
74101         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
74102         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
74103         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
74104         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
74105         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
74106         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
74107         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
74108         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
74109         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
74110         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
74111         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
74112         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
74113         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
74114         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
74115         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
74116         entry.
74117         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
74118         optional.
74119         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
74120         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
74121         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
74122         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
74123         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
74124         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
74125         Likewise.
74126         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
74127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
74128         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
74129         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
74130         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
74131         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
74132         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
74133         as optional.
74134         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
74135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
74136         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
74137         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
74138         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
74139         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
74140         specify as optional.
74141         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
74142         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
74143         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
74144         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
74145         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
74146         [XPG3] (NL_LANGMAX): Likewise.
74147         [POSIX || XPG3] (NL_MSGMAX): Likewise.
74148         [POSIX || XPG3] (NL_NMAX): Likewise.
74149         [POSIX || XPG3] (NL_SETMAX): Likewise.
74150         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
74151         [XPG3] (NZERO): Likewise.
74152         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
74153         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
74154         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
74155         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
74156         (REG_ERANGE): Expect.
74157         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
74158         optional-constant.
74159         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74160         Use (void) in prototype.
74161         [POSIX] (*_t): Allow.
74162         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74163         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74164         (WRDE_BADVAL): Expect.
74166         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74167         expect.
74168         [XPG3 || XPG4] (O_RSYNC): Likewise.
74169         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74170         Likewise.
74171         [XPG3 || XPG4] (pthread_sigmask): Likewise.
74172         [XPG3 || XPG4] (sigqueue): Likewise.
74173         [XPG3 || XPG4] (sigtimedwait): Likewise.
74174         [XPG3 || XPG4] (sigwaitinfo): Likewise.
74175         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74176         [XPG3 || XPG4] (vsnprintf): Likewise.
74177         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74178         Likewise.
74179         [XPG3 || XPG4] (blksize_t): Likewise.
74180         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74181         Likewise.
74182         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74183         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74184         [XPG3 || XPG4] (struct itimerspec): Likewise.
74185         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74186         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74187         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74188         [XPG3 || XPG4] (clockid_t): Likewise.
74189         [XPG3 || XPG4] (timer_t): Likewise.
74190         [XPG3 || XPG4] (clock_getres): Likewise.
74191         [XPG3 || XPG4] (clock_gettime): Likewise.
74192         [XPG3 || XPG4] (clock_settime): Likewise.
74193         [XPG3 || XPG4] (nanosleep): Likewise.
74194         [XPG3 || XPG4] (timer_create): Likewise.
74195         [XPG3 || XPG4] (timer_delete): Likewise.
74196         [XPG3 || XPG4] (timer_gettime): Likewise.
74197         [XPG3 || XPG4] (timer_getoverrun): Likewise.
74198         [XPG3 || XPG4] (timer_settime): Likewise.
74199         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74200         [XPG3 || XPG4] (getlogin_r): Likewise.
74201         [XPG3 || XPG4] (pread): Likewise.
74202         [XPG3 || XPG4] (pthread_atfork): Likewise.
74203         [XPG3 || XPG4] (pwrite): Likewise.
74205         [BZ #14835]
74206         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74207         <bits/siginfo.h>.
74209 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
74211         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74212         finalizing MALLSTREAM.
74214         * sysdeps/mach/hurd/syncfs.c: New file.
74216 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
74218         [BZ #14719]
74219         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74220         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74221         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74222         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74223         (_nss_dns_gethostbyname4_r): Likewise.
74224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74225         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74227 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
74229         [BZ #13763]
74230         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74232 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
74234         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74235         * elf/cache.c (print_entry): Print ",AArch64" for
74236         FLAG_AARCH64_LIB64
74238         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74239         * elf/cache.c (print_entry): Print ",hard-float" for
74240         FLAG_ARM_LIBHF.
74242 2012-11-18  David S. Miller  <davem@davemloft.net>
74244         With help from Joseph Myers.
74245         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74246         cutoff to 2**-13.
74247         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74248         cutoff to 2**-25.
74249         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74250         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74251         small.
74252         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74253         * math/libm-test.inc (y0_test): New tests.
74254         (y1_test): New tests.
74255         * sysdeps/i386/fpu/libm-test-ulps: Update.
74256         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74257         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74259 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
74261         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74262         64-bit targets.
74263         * configure: Regenerated.
74265 2012-11-17  David S. Miller  <davem@davemloft.net>
74267         [BZ #14811]
74268         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74269         nonzero exponents with absolute value below 0x1p-128 to +/-
74270         0x1p-128.
74272 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74274         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74276         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74278         * posix/getconf-speclist.c: New file.
74279         * posix/posix-envs.def: Likewise.
74280         * posix/confstr.c (START_ENV_GROUP): New macro.
74281         (END_ENV_GROUP): Likewise.
74282         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74283         (KNOWN_PRESENT_ENV_STRING): Likewise.
74284         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74285         (UNKNOWN_ENVIRONMENT): Likewise.
74286         (confstr): Include posix-envs.def instead of handling
74287         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74288         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74289         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74290         (END_ENV_GROUP): Likewise.
74291         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74292         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74293         (UNKNOWN_ENVIRONMENT): Likewise.
74294         (__sysconf): Include posix-envs.def instead of handling associated
74295         cases directly here.
74296         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74297         preprocessing getconf-speclist.c rather than running getconf or
74298         generating empty file.
74300 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74302         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74304 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74306         [BZ #14672]
74307         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74309 2012-11-16  David S. Miller  <davem@davemloft.net>
74311         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74312         smaller than LDBL_EPSILON/2.0L, just return xm1.
74314 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74316         * elf/tst-array1.c (init): Set constructor priority to 1000.
74317         (fini): Set destructor priority to 1000.
74318         * elf/tst-array2dep.c: Likewise.
74320 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74322         [BZ #11741]
74323         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74324         (_IO_new_file_xsputn): Also return EOF if none of the input
74325         data was written when overflow failed.
74326         * libio/iopadn.c (_IO_padn): Likewise.
74327         * libio/iowpadn.c (_IO_wpadn): Likewise.
74328         * stdio-common/tst-put-error.c: Add copyright notice.
74329         (do_test): Add case for printing padded string.
74330         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74331         _IO_padn returned error.
74332         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74333         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74334         return EOF.
74336 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74338         * libio/libioP.h: Add comment note that the references to C++
74339         bits are now obsolete.
74341 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74343         * math/libm-test.inc (check_complex): Use asprintf.
74345 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74347         * debug/pcprofiledump.c (print_version): Update copyright year.
74348         * malloc/memusagestat.c (print_version): Likewise.
74350 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74352         [BZ #14831]
74353         * elf/Makefile (tests): Add tst-audit8.
74354         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74355         ($(objpfx)tst-audit8.out): New target.
74356         (tst-audit8-ENV): New variable.
74357         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74358         audit if l_reloc_result is NULL.
74359         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74360         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74361         * elf/tst-audit8.c: New file.
74363 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74365         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74366         * misc/Makefile (CFLAGS-select.c): Define.
74367         * posix/Makefile (CFLAGS-pause.c): Define.
74369 2012-11-13  David S. Miller  <davem@davemloft.net>
74371         * crypt/Makefile: Move test targets after toplevel Rules
74372         inclusion.  Grab any necessary sysdep routines when linking.
74373         * crypt/md5.c (md5_process_block): Remove define, we will always
74374         name it __md5_process_block.
74375         (md5_finish_ctx): Update md5_process_block call.
74376         (md5_stream): Likewise.
74377         (md5_process_bytes): Likewise.
74378         (md5_process_block): Rename to __md5_process_block and move to ...
74379         * crypt/md5-block.c: ... here.
74380         * crypt/sha256.c (sha256_process_block): Move to ...
74381         * crypt/sha256-block.c: ... here.
74382         * crypt/sha512.c (sha512_process_block): Move to ...
74383         * crypt/sha512-block.c: ... here.
74384         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74385         path.
74386         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74387         * sysdeps/sparc/sparc64/multiarch/Makefile
74388         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74389         crypt subdir.
74390         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74391         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74392         multiarch changes.
74393         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74394         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74395         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74396         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74397         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74398         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74399         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74400         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74401         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74402         file.
74403         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74405         file.
74406         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74408 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74410         * timezone/tzselect.ksh: Update from tzcode git revision
74411         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74412         * timezone/zdump.c: Likewise.
74413         * timezone/zic.c: Likewise.
74414         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74415         in TZVERSION setting, not $(PKGVERSION).
74416         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74417         REPORT_BUGS_TO settings.
74419         [BZ #14838]
74420         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74421         macro.
74423 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74425         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74426         detection to immediately after _FP_ROUND().
74427         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74428         bits are 0.
74430 2012-11-11  David S. Miller  <davem@davemloft.net>
74432         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74433         inttypes.h
74434         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74435         __close rather than their public counterparts.
74437 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74439         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74440         file.
74441         [UNIX98] (sem_timedwait): Do not expect.
74442         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74443         [XPG4 || UNIX98] (sockatmark): Do not expect.
74444         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74445         (clock_getcpuclockid): Do not expect.
74446         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74447         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74448         Do not expect.
74449         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74450         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74451         [UNIX98] (vwscanf): Likewise.
74452         [UNIX98] (vswscanf): Likewise.
74454 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74456         * timezone/version.h: Remove file.
74457         * timezone/README: Do not refer to version.h.
74458         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74459         $(objpfx)version.h.
74460         ($(objpfx)zdump.o): Likewise.
74461         ($(objpfx)version.h): New target.
74463         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74464         2012i.
74465         * timezone/README: Don't mention modification to tzselect.ksh.
74466         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74467         work on unmodified tzselect.ksh.  Substitute version numbers in
74468         tzselect.ksh.
74470         * Makefile (format-me): Remove.
74471         (INSTALL): Adjust indentation.  Use commands directly instead of
74472         using $(format-me).
74474         * aclocal.m4 (ACX_PKGVERSION): New macro.
74475         (ACX_BUGURL): Likewise.
74476         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74477         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74478         (REPORT_BUGS_TO): Likewise.
74479         * configure: Regenerated.
74480         * config.h.in (PKGVERSION): New macro.
74481         (REPORT_BUGS_TO): Likewise.
74482         * config.make.in (PKGVERSION): New variable.
74483         (PKGVERSION_TEXI): Likewise.
74484         (REPORT_BUGS_TO): Likewise.
74485         (REPORT_BUGS_TEXI): Likewise.
74486         * Makefile (format-me): Use -I$(common-objpfx)manual.
74487         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74488         ($(common-objpfx)manual/%): New target.
74489         (manual/%): Remove target.
74490         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74491         (print_version): Use PKGVERSION.
74492         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74493         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74494         and REPORT_BUGS_TO.
74495         ($(objpfx)xtrace): Likewise.
74496         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74497         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74498         (print_version): Use PKGVERSION.
74499         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74500         (do_version): Use PKGVERSION.
74501         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74502         REPORT_BUGS_TO.
74503         (common-ldd-rewrite): Likewise.
74504         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74505         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74506         (print_version): Use PKGVERSION.
74507         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74508         * elf/pldd.c (argp_program_bug_address): Remove variable.
74509         (more_help): New function.
74510         (argp): Use more_help.
74511         (print_version): Use PKGVERSION.
74512         * elf/sln.c (main): Use PKGVERSION.
74513         (usage): Use REPORT_BUGS_TO.
74514         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74515         (top level): Use PKGVERSION.
74516         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74517         (print_version): Use PKGVERSION.
74518         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74519         (print_version): Use PKGVERSION.
74520         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74521         (print_version): Use PKGVERSION.
74522         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74523         (print_version): Use PKGVERSION.
74524         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74525         (print_version): Use PKGVERSION.
74526         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74527         (print_version): Use PKGVERSION.
74528         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74529         and BUGURL.
74530         ($(objpfx)memusage): Likewise.
74531         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74532         (do_version): Use PKGVERSION.
74533         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74534         (print_version): Use PKGVERSION.
74535         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74536         ($PKGVERSION): New variable.
74537         ($REPORT_BUGS_TO): Likewise.
74538         (usage): Use $REPORT_BUGS_TO.
74539         (top level): Use $PKGVERSION.
74540         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74541         ($(objpfx)pkgvers.texi): New rule.
74542         ($(objpfx)stamp-pkgvers): Likewise.
74543         * manual/install.texi: Include pkgvers.texi.
74544         (--with-pkgversion): Document new configure option.
74545         (--with-bugurl): Likewise.
74546         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74547         than necessarily for this particular distribution.  Use
74548         REPORT_BUGS_TO for where to report bugs.
74549         * INSTALL: Regenerated.
74550         * manual/libc.texinfo: Include pkgvers.texi.
74551         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74552         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74553         (print_version): Use PKGVERSION.
74554         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74555         (print_version): Use PKGVERSION.
74556         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74557         (print_version): Use PKGVERSION.
74558         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74559         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74560         macro.
74561         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74562         (print_version): Use PKGVERSION.
74563         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74564         (print_version): Use PKGVERSION.
74565         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74566         and PKGVERSION.
74568         * timezone/checktab.awk: Update from tzcode 2012i.
74569         * timezone/ialloc.c: Likewise.
74570         * timezone/private.h: Likewise.
74571         * timezone/scheck.c: Likewise.
74572         * timezone/tzfile.h: Likewise.
74573         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74574         (TZVERSION): Hardcode tzcode version number.
74575         * timezone/zdump.c: Update from tzcode 2012i.
74576         * timezone/zic.c: Likewise.
74577         * timezone/version.h: New file.
74578         * timezone/README: Describe version.h.  Update upstream location.
74580         [BZ #14824]
74581         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74582         (mktemp): Enable declaration.
74583         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74587         Likewise.
74588         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74589         Likewise.
74590         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74591         Likewise.
74592         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74593         Likewise.
74594         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74595         Likewise.
74596         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74597         Likewise.
74599         [BZ #14821]
74600         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74601         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74602         for copies of such integer values.
74603         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74604         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74606 2012-11-09  Andreas Jaeger  <aj@suse.de>
74608         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74609         definitions and declarations that are provided by
74610         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74612 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74614         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74615         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74616         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74617         definition.
74619 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74621         * elf/elf.h: Update comment before AArch64 relocations.
74623 2012-11-07  David S. Miller  <davem@davemloft.net>
74625         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74626         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74627         (__start_context): Declare.
74628         (__makecontext_ret): Delete.
74629         (__makecontext): Hook up __start_context instead of
74630         __makecontext_ret.
74631         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74632         (sysdep_routines): Add __start_context when in stdlib.
74634 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74636         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74637         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74638         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74639         hardcoded "nm".
74640         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74641         (READELF): New variable.  Use it instead of hardcoded "readelf".
74643 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74645         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74646         * sysdeps/x86/Makefile: Here.
74647         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74648         * sysdeps/x86/tst-xmmymm.sh: This.
74650 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74652         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74653         expectations.
74654         [UNIX98] (pthread_barrier_t): Do not expect.
74655         [UNIX98] (pthread_barrierattr_t): Likewise.
74656         [UNIX98] (pthread_spinlock_t): Likewise.
74657         [UNIX98] (pthread_barrier_destroy): Likewise.
74658         [UNIX98] (pthread_barrier_init): Likewise.
74659         [UNIX98] (pthread_barrier_wait): Likewise.
74660         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74661         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74662         [UNIX98] (pthread_barrierattr_init): Likewise.
74663         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74664         [UNIX98] (pthread_getcpuclockid): Likewise.
74665         [UNIX98] (pthread_mutex_timedlock): Likewise.
74666         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74667         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74668         [UNIX98] (pthread_sigmask): Likewise.
74669         [UNIX98] (pthread_spin_destroy): Likewise.
74670         [UNIX98] (pthread_spin_init): Likewise.
74671         [UNIX98] (pthread_spin_lock): Likewise.
74672         [UNIX98] (pthread_spin_trylock): Likewise.
74673         [UNIX98] (pthread_spin_unlock): Likewise.
74674         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74675         Do not expect.
74676         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74677         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74678         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74679         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74680         [XPG3 || XPG4] (pthread_key_t): Likewise.
74681         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74682         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74683         [XPG3 || XPG4] (pthread_once_t): Likewise.
74684         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74685         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74686         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74687         [XPG3 || XPG4] (pthread_t): Likewise.
74689         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74690         not expect.
74691         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74693         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74694         Change function return type to int.
74696         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74697         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74698         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74699         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74700         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74701         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74702         [!POSIX] (posix_madvise): Likewise.
74703         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74704         && !UNIX98].
74705         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74706         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74707         (mode_t): Likewise.
74708         (posix_mem_offset): Likewise.
74709         (posix_typed_mem_get_info): Likewise.
74710         (posix_typed_mem_open): Likewise.
74712         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74713         Change condition to [XOPEN2K8].
74715         * conform/conformtest.pl: Preprocess allow-header data with -x c
74716         instead of from stdin.
74717         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74718         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74719         [C99-based standards] (cerfc): Likewise.
74720         [C99-based standards] (cexp2): Likewise.
74721         [C99-based standards] (cexpm1): Likewise.
74722         [C99-based standards] (clog10): Likewise.
74723         [C99-based standards] (clog1p): Likewise.
74724         [C99-based standards] (clog2): Likewise.
74725         [C99-based standards] (clgamma): Likewise.
74726         [C99-based standards] (ctgamma): Likewise.
74727         [C99-based standards] (cerff): Likewise.
74728         [C99-based standards] (cerfcf): Likewise.
74729         [C99-based standards] (cexp2f): Likewise.
74730         [C99-based standards] (cexpm1f): Likewise.
74731         [C99-based standards] (clog10f): Likewise.
74732         [C99-based standards] (clog1pf): Likewise.
74733         [C99-based standards] (clog2f): Likewise.
74734         [C99-based standards] (clgammaf): Likewise.
74735         [C99-based standards] (ctgammaf): Likewise.
74736         [C99-based standards] (cerfl): Likewise.
74737         [C99-based standards] (cerfcl): Likewise.
74738         [C99-based standards] (cexp2l): Likewise.
74739         [C99-based standards] (cexpm1l): Likewise.
74740         [C99-based standards] (clog10l): Likewise.
74741         [C99-based standards] (clog1pl): Likewise.
74742         [C99-based standards] (clog2l): Likewise.
74743         [C99-based standards] (clgammal): Likewise.
74744         [C99-based standards] (ctgammal): Likewise.
74745         * conform/data/inttypes.h-data [C99-based standards]: Include
74746         stdint.h-data.  Remove all expectations for stdint.h contents.
74747         [C99-based standards] (PRI*): Do not allow.
74748         [C99-based standards] (SCN*): Likewise.
74749         [C99-based standards] (*_t): Likewise.
74750         [C99-based-standards] (PRId8): Expect macro.
74751         [C99-based-standards] (PRIi8): Likewise.
74752         [C99-based-standards] (PRIo8): Likewise.
74753         [C99-based-standards] (PRIu8): Likewise.
74754         [C99-based-standards] (PRIx8): Likewise.
74755         [C99-based-standards] (PRIX8): Likewise.
74756         [C99-based-standards] (SCNd8): Likewise.
74757         [C99-based-standards] (SCNi8): Likewise.
74758         [C99-based-standards] (SCNo8): Likewise.
74759         [C99-based-standards] (SCNu8): Likewise.
74760         [C99-based-standards] (SCNx8): Likewise.
74761         [C99-based-standards] (PRIdLEAST8): Likewise.
74762         [C99-based-standards] (PRIiLEAST8): Likewise.
74763         [C99-based-standards] (PRIoLEAST8): Likewise.
74764         [C99-based-standards] (PRIuLEAST8): Likewise.
74765         [C99-based-standards] (PRIxLEAST8): Likewise.
74766         [C99-based-standards] (PRIXLEAST8): Likewise.
74767         [C99-based-standards] (SCNdLEAST8): Likewise.
74768         [C99-based-standards] (SCNiLEAST8): Likewise.
74769         [C99-based-standards] (SCNoLEAST8): Likewise.
74770         [C99-based-standards] (SCNuLEAST8): Likewise.
74771         [C99-based-standards] (SCNxLEAST8): Likewise.
74772         [C99-based-standards] (PRIdFAST8): Likewise.
74773         [C99-based-standards] (PRIiFAST8): Likewise.
74774         [C99-based-standards] (PRIoFAST8): Likewise.
74775         [C99-based-standards] (PRIuFAST8): Likewise.
74776         [C99-based-standards] (PRIxFAST8): Likewise.
74777         [C99-based-standards] (PRIXFAST8): Likewise.
74778         [C99-based-standards] (SCNdFAST8): Likewise.
74779         [C99-based-standards] (SCNiFAST8): Likewise.
74780         [C99-based-standards] (SCNoFAST8): Likewise.
74781         [C99-based-standards] (SCNuFAST8): Likewise.
74782         [C99-based-standards] (SCNxFAST8): Likewise.
74783         [C99-based-standards] (PRId16): Likewise.
74784         [C99-based-standards] (PRIi16): Likewise.
74785         [C99-based-standards] (PRIo16): Likewise.
74786         [C99-based-standards] (PRIu16): Likewise.
74787         [C99-based-standards] (PRIx16): Likewise.
74788         [C99-based-standards] (PRIX16): Likewise.
74789         [C99-based-standards] (SCNd16): Likewise.
74790         [C99-based-standards] (SCNi16): Likewise.
74791         [C99-based-standards] (SCNo16): Likewise.
74792         [C99-based-standards] (SCNu16): Likewise.
74793         [C99-based-standards] (SCNx16): Likewise.
74794         [C99-based-standards] (PRIdLEAST16): Likewise.
74795         [C99-based-standards] (PRIiLEAST16): Likewise.
74796         [C99-based-standards] (PRIoLEAST16): Likewise.
74797         [C99-based-standards] (PRIuLEAST16): Likewise.
74798         [C99-based-standards] (PRIxLEAST16): Likewise.
74799         [C99-based-standards] (PRIXLEAST16): Likewise.
74800         [C99-based-standards] (SCNdLEAST16): Likewise.
74801         [C99-based-standards] (SCNiLEAST16): Likewise.
74802         [C99-based-standards] (SCNoLEAST16): Likewise.
74803         [C99-based-standards] (SCNuLEAST16): Likewise.
74804         [C99-based-standards] (SCNxLEAST16): Likewise.
74805         [C99-based-standards] (PRIdFAST16): Likewise.
74806         [C99-based-standards] (PRIiFAST16): Likewise.
74807         [C99-based-standards] (PRIoFAST16): Likewise.
74808         [C99-based-standards] (PRIuFAST16): Likewise.
74809         [C99-based-standards] (PRIxFAST16): Likewise.
74810         [C99-based-standards] (PRIXFAST16): Likewise.
74811         [C99-based-standards] (SCNdFAST16): Likewise.
74812         [C99-based-standards] (SCNiFAST16): Likewise.
74813         [C99-based-standards] (SCNoFAST16): Likewise.
74814         [C99-based-standards] (SCNuFAST16): Likewise.
74815         [C99-based-standards] (SCNxFAST16): Likewise.
74816         [C99-based-standards] (PRId32): Likewise.
74817         [C99-based-standards] (PRIi32): Likewise.
74818         [C99-based-standards] (PRIo32): Likewise.
74819         [C99-based-standards] (PRIu32): Likewise.
74820         [C99-based-standards] (PRIx32): Likewise.
74821         [C99-based-standards] (PRIX32): Likewise.
74822         [C99-based-standards] (SCNd32): Likewise.
74823         [C99-based-standards] (SCNi32): Likewise.
74824         [C99-based-standards] (SCNo32): Likewise.
74825         [C99-based-standards] (SCNu32): Likewise.
74826         [C99-based-standards] (SCNx32): Likewise.
74827         [C99-based-standards] (PRIdLEAST32): Likewise.
74828         [C99-based-standards] (PRIiLEAST32): Likewise.
74829         [C99-based-standards] (PRIoLEAST32): Likewise.
74830         [C99-based-standards] (PRIuLEAST32): Likewise.
74831         [C99-based-standards] (PRIxLEAST32): Likewise.
74832         [C99-based-standards] (PRIXLEAST32): Likewise.
74833         [C99-based-standards] (SCNdLEAST32): Likewise.
74834         [C99-based-standards] (SCNiLEAST32): Likewise.
74835         [C99-based-standards] (SCNoLEAST32): Likewise.
74836         [C99-based-standards] (SCNuLEAST32): Likewise.
74837         [C99-based-standards] (SCNxLEAST32): Likewise.
74838         [C99-based-standards] (PRIdFAST32): Likewise.
74839         [C99-based-standards] (PRIiFAST32): Likewise.
74840         [C99-based-standards] (PRIoFAST32): Likewise.
74841         [C99-based-standards] (PRIuFAST32): Likewise.
74842         [C99-based-standards] (PRIxFAST32): Likewise.
74843         [C99-based-standards] (PRIXFAST32): Likewise.
74844         [C99-based-standards] (SCNdFAST32): Likewise.
74845         [C99-based-standards] (SCNiFAST32): Likewise.
74846         [C99-based-standards] (SCNoFAST32): Likewise.
74847         [C99-based-standards] (SCNuFAST32): Likewise.
74848         [C99-based-standards] (SCNxFAST32): Likewise.
74849         [C99-based-standards] (PRId64): Likewise.
74850         [C99-based-standards] (PRIi64): Likewise.
74851         [C99-based-standards] (PRIo64): Likewise.
74852         [C99-based-standards] (PRIu64): Likewise.
74853         [C99-based-standards] (PRIx64): Likewise.
74854         [C99-based-standards] (PRIX64): Likewise.
74855         [C99-based-standards] (SCNd64): Likewise.
74856         [C99-based-standards] (SCNi64): Likewise.
74857         [C99-based-standards] (SCNo64): Likewise.
74858         [C99-based-standards] (SCNu64): Likewise.
74859         [C99-based-standards] (SCNx64): Likewise.
74860         [C99-based-standards] (PRIdLEAST64): Likewise.
74861         [C99-based-standards] (PRIiLEAST64): Likewise.
74862         [C99-based-standards] (PRIoLEAST64): Likewise.
74863         [C99-based-standards] (PRIuLEAST64): Likewise.
74864         [C99-based-standards] (PRIxLEAST64): Likewise.
74865         [C99-based-standards] (PRIXLEAST64): Likewise.
74866         [C99-based-standards] (SCNdLEAST64): Likewise.
74867         [C99-based-standards] (SCNiLEAST64): Likewise.
74868         [C99-based-standards] (SCNoLEAST64): Likewise.
74869         [C99-based-standards] (SCNuLEAST64): Likewise.
74870         [C99-based-standards] (SCNxLEAST64): Likewise.
74871         [C99-based-standards] (PRIdFAST64): Likewise.
74872         [C99-based-standards] (PRIiFAST64): Likewise.
74873         [C99-based-standards] (PRIoFAST64): Likewise.
74874         [C99-based-standards] (PRIuFAST64): Likewise.
74875         [C99-based-standards] (PRIxFAST64): Likewise.
74876         [C99-based-standards] (PRIXFAST64): Likewise.
74877         [C99-based-standards] (SCNdFAST64): Likewise.
74878         [C99-based-standards] (SCNiFAST64): Likewise.
74879         [C99-based-standards] (SCNoFAST64): Likewise.
74880         [C99-based-standards] (SCNuFAST64): Likewise.
74881         [C99-based-standards] (SCNxFAST64): Likewise.
74882         [C99-based-standards] (PRIdMAX): Likewise.
74883         [C99-based-standards] (PRIiMAX): Likewise.
74884         [C99-based-standards] (PRIoMAX): Likewise.
74885         [C99-based-standards] (PRIuMAX): Likewise.
74886         [C99-based-standards] (PRIxMAX): Likewise.
74887         [C99-based-standards] (PRIXMAX): Likewise.
74888         [C99-based-standards] (SCNdMAX): Likewise.
74889         [C99-based-standards] (SCNiMAX): Likewise.
74890         [C99-based-standards] (SCNoMAX): Likewise.
74891         [C99-based-standards] (SCNuMAX): Likewise.
74892         [C99-based-standards] (SCNxMAX): Likewise.
74893         [C99-based-standards] (PRIdPTR): Likewise.
74894         [C99-based-standards] (PRIiPTR): Likewise.
74895         [C99-based-standards] (PRIoPTR): Likewise.
74896         [C99-based-standards] (PRIuPTR): Likewise.
74897         [C99-based-standards] (PRIxPTR): Likewise.
74898         [C99-based-standards] (PRIXPTR): Likewise.
74899         [C99-based-standards] (SCNdPTR): Likewise.
74900         [C99-based-standards] (SCNiPTR): Likewise.
74901         [C99-based-standards] (SCNoPTR): Likewise.
74902         [C99-based-standards] (SCNuPTR): Likewise.
74903         [C99-based-standards] (SCNxPTR): Likewise.
74904         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74905         allow.
74906         * conform/data/stdint.h-data: Update comments to clarify
74907         requirements.
74908         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74909         type.
74910         [C99-based standards] (INT8_MAX): Likewise.
74911         [C99-based standards] (INT16_MIN): Likewise.
74912         [C99-based standards] (INT16_MAX): Likewise.
74913         [C99-based standards] (INT32_MIN): Likewise.
74914         [C99-based standards] (INT32_MAX): Likewise.
74915         [C99-based standards] (INT64_MIN): Likewise.
74916         [C99-based standards] (INT64_MAX): Likewise.
74917         [C99-based standards] (UINT8_MAX): Likewise.
74918         [C99-based standards] (UINT16_MAX): Likewise.
74919         [C99-based standards] (UINT32_MAX): Likewise.
74920         [C99-based standards] (UINT64_MAX): Likewise.
74921         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74922         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74923         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74924         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74925         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74926         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74927         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74928         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74929         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74930         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74931         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74932         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74933         [C99-based standards] (INT_FAST8_MIN): Likewise.
74934         [C99-based standards] (INT_FAST8_MAX): Likewise.
74935         [C99-based standards] (INT_FAST16_MIN): Likewise.
74936         [C99-based standards] (INT_FAST16_MAX): Likewise.
74937         [C99-based standards] (INT_FAST32_MIN): Likewise.
74938         [C99-based standards] (INT_FAST32_MAX): Likewise.
74939         [C99-based standards] (INT_FAST64_MIN): Likewise.
74940         [C99-based standards] (INT_FAST64_MAX): Likewise.
74941         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74942         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74943         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74944         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74945         [C99-based standards] (INTPTR_MIN): Likewise.
74946         [C99-based standards] (INTPTR_MAX): Likewise.
74947         [C99-based standards] (UINTPTR_MAX): Likewise.
74948         [C99-based standards] (INTMAX_MIN): Likewise.
74949         [C99-based standards] (INTMAX_MAX): Likewise.
74950         [C99-based standards] (UINTMAX_MAX): Likewise.
74951         [C99-based standards] (PTRDIFF_MIN): Likewise.
74952         [C99-based standards] (PTRDIFF_MAX): Likewise.
74953         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74954         [C99-based standards] (SIZE_MAX): Likewise.
74955         [C99-based standards] (WCHAR_MAX): Likewise.
74956         [C99-based standards] (WINT_MAX): Likewise.
74957         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74958         constraint on value.
74959         [C99-based standards] (WCHAR_MIN): Likewise.
74960         [C99-based standards] (WINT_MIN): Likewise.
74961         [C99-based standards] (*_t): Allow.
74962         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74963         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74964         Include math.h-data and complex.h-data.  Remove all expectations
74965         of math.h and complex.h contents.
74966         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74967         at end of line.
74968         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74969         (struct tm): Expect tag.
74970         [C99-based-standards] (wcstof): Expect function.
74971         [C99-based-standards] (wcstold): Likewise.
74972         [C99-based-standards] (wcstoll): Likewise.
74973         [C99-based-standards] (wcstoull): Likewise.
74974         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74975         macro-int-constant.  Specify type.
74976         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74977         constraint on value.
74978         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74979         Specify type.
74980         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74981         Specify value.
74982         [ISO C standards]: Do not allow headers.
74983         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74984         wcs[abcdefghijklmnopqrstuvwxyz]*.
74985         [ISO C standards] (*_t): Do not allow.
74986         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74987         Expect function.
74988         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74989         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74990         Specify type.
74991         [ISO C standards]: Do not allow headers.
74992         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74993         is[abcdefghijklmnopqrstuvwxyz]*.
74994         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74995         to[abcdefghijklmnopqrstuvwxyz]*.
74996         [ISO C standards] (*_t): Do not allow.
74997         * conform/data/stdalign.h-data: New file.
74998         * conform/data/stdbool.h-data: Likewise.
74999         * conform/data/stdnoreturn.h-data: Likewise.
75001 2012-11-07  Roland McGrath  <roland@hack.frob.com>
75003         [BZ #14815]
75004         * manual/filesys.texi (Directory Entries): Typo fix.
75005         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
75007 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
75009         * elf/elf.h (EM_AARCH64): New macro.
75010         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
75011         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
75012         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
75013         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
75014         (R_AARCH64_TLSDESC): Likewise.
75015         (NT_ARM_TLS): Likewise.
75016         (NT_ARM_HW_BREAK): Likewise.
75017         (NT_ARM_HW_WATCH): Likewise.
75019 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
75021         [BZ #14811]
75022         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
75023         (__ieee754_powl): Saturate nonzero exponents with absolute value
75024         below 0x1p-79 to +/- 0x1p-79.
75025         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
75026         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
75027         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
75028         nonzero exponents with absolute value below 0x1p-32 to +/-
75029         0x1p-32.
75030         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
75031         (__ieee754_powl): Saturate nonzero exponents with absolute value
75032         below 0x1p-79 to +/- 0x1p-79.
75033         * math/libm-test.inc (pow_test): Add more tests.
75035 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75037         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
75038         _dl_s390_cap_flags with kernel. Increase string length.
75039         (_dl_s390_platforms): Add z196 and zEC12.
75041 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
75043         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
75044         Change XOPEN21K to XOPEN2K.
75046 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
75048         * string/memmove.c: Use memcpy when possible.
75050 2012-11-06  Andreas Jaeger  <aj@suse.de>
75052         * po/eo.po: Update from translation team.
75054 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
75056         [BZ #14793]
75057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
75058         exponent and small x and y exponents, scale x or y up.  Increase
75059         by 2 the exponent used in scaling up.
75060         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75061         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75062         * math/libm-test.inc (fma_test): Add more tests.
75063         (fma_test_towardzero): Likewise.
75064         (fma_test_downward): Likewise.
75065         (fma_test_upward): Likewise.
75067 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
75069         [BZ #14805]
75070         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
75071         fenv_t *.
75073         [BZ #14801]
75074         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
75075         namespace for names of struct fields.
75076         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
75077         fenv_t fields.
75078         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
75079         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
75081 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75083         [BZ #3665]
75084         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
75086 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
75088         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
75089         PTR_DEMANGLE.
75091         [BZ #5246]
75092         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
75093         PTR_DEMANGLE.
75095 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
75097         [BZ #14797]
75098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
75099         definitely overflow as x * y not x * y + z.
75100         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75101         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75102         * math/libm-test.inc (fma_test): Add more tests.
75103         (fma_test_towardzero): Likewise.
75104         (fma_test_downward): Likewise.
75105         (fma_test_upward): Likewise.
75107 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
75109         [BZ #157]
75111         * include/stub-tag.h: Remove file.
75112         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
75113         '#include' of it.
75114         * manual/maint.texi (Porting): Don't reference it.
75115         * Makerules ($(objpfx)stubs): Likewise.
75116         * dirent/closedir.c: Don't include <stub-tag.h>.
75117         * dirent/dirfd.c: Likewise.
75118         * dirent/fdopendir.c: Likewise.
75119         * dirent/getdents.c: Likewise.
75120         * dirent/getdents64.c: Likewise.
75121         * dirent/opendir.c: Likewise.
75122         * dirent/readdir.c: Likewise.
75123         * dirent/readdir64.c: Likewise.
75124         * dirent/readdir64_r.c: Likewise.
75125         * dirent/readdir_r.c: Likewise.
75126         * dirent/rewinddir.c: Likewise.
75127         * dirent/seekdir.c: Likewise.
75128         * dirent/telldir.c: Likewise.
75129         * gmon/profil.c: Likewise.
75130         * grp/setgroups.c: Likewise.
75131         * inet/if_index.c: Likewise.
75132         * io/access.c: Likewise.
75133         * io/chdir.c: Likewise.
75134         * io/chmod.c: Likewise.
75135         * io/chown.c: Likewise.
75136         * io/close.c: Likewise.
75137         * io/dup.c: Likewise.
75138         * io/dup2.c: Likewise.
75139         * io/dup3.c: Likewise.
75140         * io/euidaccess.c: Likewise.
75141         * io/faccessat.c: Likewise.
75142         * io/fchdir.c: Likewise.
75143         * io/fchmod.c: Likewise.
75144         * io/fchmodat.c: Likewise.
75145         * io/fchown.c: Likewise.
75146         * io/fchownat.c: Likewise.
75147         * io/fcntl.c: Likewise.
75148         * io/flock.c: Likewise.
75149         * io/fstatfs.c: Likewise.
75150         * io/fstatfs64.c: Likewise.
75151         * io/fstatvfs.c: Likewise.
75152         * io/fstatvfs64.c: Likewise.
75153         * io/futimens.c: Likewise.
75154         * io/fxstat.c: Likewise.
75155         * io/fxstat64.c: Likewise.
75156         * io/fxstatat.c: Likewise.
75157         * io/fxstatat64.c: Likewise.
75158         * io/getcwd.c: Likewise.
75159         * io/isatty.c: Likewise.
75160         * io/lchmod.c: Likewise.
75161         * io/lchown.c: Likewise.
75162         * io/link.c: Likewise.
75163         * io/linkat.c: Likewise.
75164         * io/lseek.c: Likewise.
75165         * io/lseek64.c: Likewise.
75166         * io/lxstat64.c: Likewise.
75167         * io/mkdir.c: Likewise.
75168         * io/mkdirat.c: Likewise.
75169         * io/mkfifo.c: Likewise.
75170         * io/mkfifoat.c: Likewise.
75171         * io/open.c: Likewise.
75172         * io/open64.c: Likewise.
75173         * io/openat.c: Likewise.
75174         * io/openat64.c: Likewise.
75175         * io/pipe.c: Likewise.
75176         * io/pipe2.c: Likewise.
75177         * io/poll.c: Likewise.
75178         * io/posix_fadvise.c: Likewise.
75179         * io/posix_fadvise64.c: Likewise.
75180         * io/posix_fallocate.c: Likewise.
75181         * io/posix_fallocate64.c: Likewise.
75182         * io/read.c: Likewise.
75183         * io/readlink.c: Likewise.
75184         * io/readlinkat.c: Likewise.
75185         * io/rmdir.c: Likewise.
75186         * io/sendfile.c: Likewise.
75187         * io/sendfile64.c: Likewise.
75188         * io/statfs.c: Likewise.
75189         * io/statfs64.c: Likewise.
75190         * io/statvfs.c: Likewise.
75191         * io/statvfs64.c: Likewise.
75192         * io/symlink.c: Likewise.
75193         * io/symlinkat.c: Likewise.
75194         * io/ttyname.c: Likewise.
75195         * io/ttyname_r.c: Likewise.
75196         * io/umask.c: Likewise.
75197         * io/unlink.c: Likewise.
75198         * io/unlinkat.c: Likewise.
75199         * io/utime.c: Likewise.
75200         * io/utimensat.c: Likewise.
75201         * io/write.c: Likewise.
75202         * io/xmknod.c: Likewise.
75203         * io/xmknodat.c: Likewise.
75204         * io/xstat.c: Likewise.
75205         * io/xstat64.c: Likewise.
75206         * login/getpt.c: Likewise.
75207         * login/grantpt.c: Likewise.
75208         * login/unlockpt.c: Likewise.
75209         * math/e_acoshl.c: Likewise.
75210         * math/e_acosl.c: Likewise.
75211         * math/e_asinl.c: Likewise.
75212         * math/e_atan2l.c: Likewise.
75213         * math/e_atanhl.c: Likewise.
75214         * math/e_coshl.c: Likewise.
75215         * math/e_expl.c: Likewise.
75216         * math/e_fmodl.c: Likewise.
75217         * math/e_gammal_r.c: Likewise.
75218         * math/e_hypotl.c: Likewise.
75219         * math/e_j0l.c: Likewise.
75220         * math/e_j1l.c: Likewise.
75221         * math/e_jnl.c: Likewise.
75222         * math/e_lgammal_r.c: Likewise.
75223         * math/e_log10l.c: Likewise.
75224         * math/e_log2l.c: Likewise.
75225         * math/e_logl.c: Likewise.
75226         * math/e_powl.c: Likewise.
75227         * math/e_rem_pio2l.c: Likewise.
75228         * math/e_sinhl.c: Likewise.
75229         * math/e_sqrtl.c: Likewise.
75230         * math/fclrexcpt.c: Likewise.
75231         * math/fedisblxcpt.c: Likewise.
75232         * math/feenablxcpt.c: Likewise.
75233         * math/fegetenv.c: Likewise.
75234         * math/fegetexcept.c: Likewise.
75235         * math/fegetround.c: Likewise.
75236         * math/feholdexcpt.c: Likewise.
75237         * math/fesetenv.c: Likewise.
75238         * math/fesetround.c: Likewise.
75239         * math/feupdateenv.c: Likewise.
75240         * math/fgetexcptflg.c: Likewise.
75241         * math/fraiseexcpt.c: Likewise.
75242         * math/fsetexcptflg.c: Likewise.
75243         * math/ftestexcept.c: Likewise.
75244         * math/k_cosl.c: Likewise.
75245         * math/k_rem_pio2l.c: Likewise.
75246         * math/k_sinl.c: Likewise.
75247         * math/k_tanl.c: Likewise.
75248         * math/s_asinhl.c: Likewise.
75249         * math/s_atanl.c: Likewise.
75250         * math/s_cbrtl.c: Likewise.
75251         * math/s_erfl.c: Likewise.
75252         * math/s_expm1l.c: Likewise.
75253         * math/s_log1pl.c: Likewise.
75254         * math/s_tanhl.c: Likewise.
75255         * misc/acct.c: Likewise.
75256         * misc/brk.c: Likewise.
75257         * misc/chflags.c: Likewise.
75258         * misc/chroot.c: Likewise.
75259         * misc/fchflags.c: Likewise.
75260         * misc/fgetxattr.c: Likewise.
75261         * misc/flistxattr.c: Likewise.
75262         * misc/fremovexattr.c: Likewise.
75263         * misc/fsetxattr.c: Likewise.
75264         * misc/fsync.c: Likewise.
75265         * misc/ftruncate.c: Likewise.
75266         * misc/futimes.c: Likewise.
75267         * misc/futimesat.c: Likewise.
75268         * misc/getdomain.c: Likewise.
75269         * misc/getdtsz.c: Likewise.
75270         * misc/gethostid.c: Likewise.
75271         * misc/gethostname.c: Likewise.
75272         * misc/getloadavg.c: Likewise.
75273         * misc/getpagesize.c: Likewise.
75274         * misc/getsysstats.c: Likewise.
75275         * misc/getxattr.c: Likewise.
75276         * misc/gtty.c: Likewise.
75277         * misc/ioctl.c: Likewise.
75278         * misc/lgetxattr.c: Likewise.
75279         * misc/listxattr.c: Likewise.
75280         * misc/llistxattr.c: Likewise.
75281         * misc/lremovexattr.c: Likewise.
75282         * misc/lsetxattr.c: Likewise.
75283         * misc/lutimes.c: Likewise.
75284         * misc/madvise.c: Likewise.
75285         * misc/mincore.c: Likewise.
75286         * misc/mlock.c: Likewise.
75287         * misc/mlockall.c: Likewise.
75288         * misc/mmap.c: Likewise.
75289         * misc/mprotect.c: Likewise.
75290         * misc/msync.c: Likewise.
75291         * misc/munlock.c: Likewise.
75292         * misc/munlockall.c: Likewise.
75293         * misc/munmap.c: Likewise.
75294         * misc/preadv.c: Likewise.
75295         * misc/preadv64.c: Likewise.
75296         * misc/ptrace.c: Likewise.
75297         * misc/pwritev.c: Likewise.
75298         * misc/pwritev64.c: Likewise.
75299         * misc/readv.c: Likewise.
75300         * misc/reboot.c: Likewise.
75301         * misc/remap_file_pages.c: Likewise.
75302         * misc/removexattr.c: Likewise.
75303         * misc/revoke.c: Likewise.
75304         * misc/select.c: Likewise.
75305         * misc/setdomain.c: Likewise.
75306         * misc/setegid.c: Likewise.
75307         * misc/seteuid.c: Likewise.
75308         * misc/sethostid.c: Likewise.
75309         * misc/sethostname.c: Likewise.
75310         * misc/setregid.c: Likewise.
75311         * misc/setreuid.c: Likewise.
75312         * misc/setxattr.c: Likewise.
75313         * misc/sstk.c: Likewise.
75314         * misc/stty.c: Likewise.
75315         * misc/swapoff.c: Likewise.
75316         * misc/swapon.c: Likewise.
75317         * misc/sync.c: Likewise.
75318         * misc/syncfs.c: Likewise.
75319         * misc/syscall.c: Likewise.
75320         * misc/truncate.c: Likewise.
75321         * misc/ualarm.c: Likewise.
75322         * misc/usleep.c: Likewise.
75323         * misc/ustat.c: Likewise.
75324         * misc/utimes.c: Likewise.
75325         * misc/vhangup.c: Likewise.
75326         * misc/writev.c: Likewise.
75327         * posix/_exit.c: Likewise.
75328         * posix/alarm.c: Likewise.
75329         * posix/execve.c: Likewise.
75330         * posix/fexecve.c: Likewise.
75331         * posix/fork.c: Likewise.
75332         * posix/fpathconf.c: Likewise.
75333         * posix/getaddrinfo.c: Likewise.
75334         * posix/getegid.c: Likewise.
75335         * posix/geteuid.c: Likewise.
75336         * posix/getgid.c: Likewise.
75337         * posix/getgroups.c: Likewise.
75338         * posix/getlogin.c: Likewise.
75339         * posix/getlogin_r.c: Likewise.
75340         * posix/getpgid.c: Likewise.
75341         * posix/getpid.c: Likewise.
75342         * posix/getppid.c: Likewise.
75343         * posix/getresgid.c: Likewise.
75344         * posix/getresuid.c: Likewise.
75345         * posix/getsid.c: Likewise.
75346         * posix/getuid.c: Likewise.
75347         * posix/glob64.c: Likewise.
75348         * posix/nanosleep.c: Likewise.
75349         * posix/pathconf.c: Likewise.
75350         * posix/pause.c: Likewise.
75351         * posix/posix_madvise.c: Likewise.
75352         * posix/pread.c: Likewise.
75353         * posix/pread64.c: Likewise.
75354         * posix/pwrite.c: Likewise.
75355         * posix/pwrite64.c: Likewise.
75356         * posix/sched_getaffinity.c: Likewise.
75357         * posix/sched_getp.c: Likewise.
75358         * posix/sched_gets.c: Likewise.
75359         * posix/sched_primax.c: Likewise.
75360         * posix/sched_primin.c: Likewise.
75361         * posix/sched_rr_gi.c: Likewise.
75362         * posix/sched_setaffinity.c: Likewise.
75363         * posix/sched_setp.c: Likewise.
75364         * posix/sched_sets.c: Likewise.
75365         * posix/sched_yield.c: Likewise.
75366         * posix/setgid.c: Likewise.
75367         * posix/setlogin.c: Likewise.
75368         * posix/setpgid.c: Likewise.
75369         * posix/setresgid.c: Likewise.
75370         * posix/setresuid.c: Likewise.
75371         * posix/setsid.c: Likewise.
75372         * posix/setuid.c: Likewise.
75373         * posix/sleep.c: Likewise.
75374         * posix/spawni.c: Likewise.
75375         * posix/sysconf.c: Likewise.
75376         * posix/times.c: Likewise.
75377         * posix/wait.c: Likewise.
75378         * posix/wait3.c: Likewise.
75379         * posix/wait4.c: Likewise.
75380         * posix/waitpid.c: Likewise.
75381         * resolv/gai_sigqueue.c: Likewise.
75382         * resource/getpriority.c: Likewise.
75383         * resource/getrlimit.c: Likewise.
75384         * resource/getrusage.c: Likewise.
75385         * resource/nice.c: Likewise.
75386         * resource/setpriority.c: Likewise.
75387         * resource/setrlimit.c: Likewise.
75388         * resource/ulimit.c: Likewise.
75389         * rt/aio_cancel.c: Likewise.
75390         * rt/aio_fsync.c: Likewise.
75391         * rt/aio_read.c: Likewise.
75392         * rt/aio_sigqueue.c: Likewise.
75393         * rt/aio_suspend.c: Likewise.
75394         * rt/aio_write.c: Likewise.
75395         * rt/clock_getres.c: Likewise.
75396         * rt/clock_gettime.c: Likewise.
75397         * rt/clock_nanosleep.c: Likewise.
75398         * rt/clock_settime.c: Likewise.
75399         * rt/lio_listio.c: Likewise.
75400         * rt/mq_close.c: Likewise.
75401         * rt/mq_getattr.c: Likewise.
75402         * rt/mq_notify.c: Likewise.
75403         * rt/mq_open.c: Likewise.
75404         * rt/mq_receive.c: Likewise.
75405         * rt/mq_send.c: Likewise.
75406         * rt/mq_setattr.c: Likewise.
75407         * rt/mq_timedreceive.c: Likewise.
75408         * rt/mq_timedsend.c: Likewise.
75409         * rt/mq_unlink.c: Likewise.
75410         * rt/shm_open.c: Likewise.
75411         * rt/shm_unlink.c: Likewise.
75412         * rt/timer_create.c: Likewise.
75413         * rt/timer_delete.c: Likewise.
75414         * rt/timer_getoverr.c: Likewise.
75415         * rt/timer_gettime.c: Likewise.
75416         * rt/timer_settime.c: Likewise.
75417         * setjmp/__longjmp.c: Likewise.
75418         * setjmp/setjmp.c: Likewise.
75419         * signal/kill.c: Likewise.
75420         * signal/killpg.c: Likewise.
75421         * signal/raise.c: Likewise.
75422         * signal/sigaction.c: Likewise.
75423         * signal/sigaltstack.c: Likewise.
75424         * signal/sigblock.c: Likewise.
75425         * signal/sigignore.c: Likewise.
75426         * signal/sigintr.c: Likewise.
75427         * signal/signal.c: Likewise.
75428         * signal/sigpause.c: Likewise.
75429         * signal/sigpending.c: Likewise.
75430         * signal/sigqueue.c: Likewise.
75431         * signal/sigreturn.c: Likewise.
75432         * signal/sigset.c: Likewise.
75433         * signal/sigsetmask.c: Likewise.
75434         * signal/sigstack.c: Likewise.
75435         * signal/sigsuspend.c: Likewise.
75436         * signal/sigtimedwait.c: Likewise.
75437         * signal/sigvec.c: Likewise.
75438         * signal/sigwait.c: Likewise.
75439         * signal/sigwaitinfo.c: Likewise.
75440         * signal/sysv_signal.c: Likewise.
75441         * socket/accept.c: Likewise.
75442         * socket/accept4.c: Likewise.
75443         * socket/bind.c: Likewise.
75444         * socket/connect.c: Likewise.
75445         * socket/getpeername.c: Likewise.
75446         * socket/getsockname.c: Likewise.
75447         * socket/getsockopt.c: Likewise.
75448         * socket/isfdtype.c: Likewise.
75449         * socket/listen.c: Likewise.
75450         * socket/recv.c: Likewise.
75451         * socket/recvfrom.c: Likewise.
75452         * socket/recvmsg.c: Likewise.
75453         * socket/send.c: Likewise.
75454         * socket/sendmsg.c: Likewise.
75455         * socket/sendto.c: Likewise.
75456         * socket/setsockopt.c: Likewise.
75457         * socket/shutdown.c: Likewise.
75458         * socket/sockatmark.c: Likewise.
75459         * socket/socket.c: Likewise.
75460         * socket/socketpair.c: Likewise.
75461         * stdio-common/ctermid.c: Likewise.
75462         * stdio-common/cuserid.c: Likewise.
75463         * stdio-common/remove.c: Likewise.
75464         * stdio-common/rename.c: Likewise.
75465         * stdio-common/renameat.c: Likewise.
75466         * stdio-common/tempname.c: Likewise.
75467         * stdlib/getcontext.c: Likewise.
75468         * stdlib/makecontext.c: Likewise.
75469         * stdlib/setcontext.c: Likewise.
75470         * stdlib/swapcontext.c: Likewise.
75471         * stdlib/system.c: Likewise.
75472         * streams/fattach.c: Likewise.
75473         * streams/fdetach.c: Likewise.
75474         * streams/getmsg.c: Likewise.
75475         * streams/getpmsg.c: Likewise.
75476         * streams/putmsg.c: Likewise.
75477         * streams/putpmsg.c: Likewise.
75478         * sysdeps/unix/bsd/getpt.c: Likewise.
75479         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75480         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75481         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75483         Likewise.
75484         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75485         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75486         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75487         * sysvipc/msgctl.c: Likewise.
75488         * sysvipc/msgget.c: Likewise.
75489         * sysvipc/msgrcv.c: Likewise.
75490         * sysvipc/msgsnd.c: Likewise.
75491         * sysvipc/semctl.c: Likewise.
75492         * sysvipc/semget.c: Likewise.
75493         * sysvipc/semop.c: Likewise.
75494         * sysvipc/semtimedop.c: Likewise.
75495         * sysvipc/shmat.c: Likewise.
75496         * sysvipc/shmctl.c: Likewise.
75497         * sysvipc/shmdt.c: Likewise.
75498         * sysvipc/shmget.c: Likewise.
75499         * termios/tcdrain.c: Likewise.
75500         * termios/tcflow.c: Likewise.
75501         * termios/tcflush.c: Likewise.
75502         * termios/tcgetattr.c: Likewise.
75503         * termios/tcgetpgrp.c: Likewise.
75504         * termios/tcsendbrk.c: Likewise.
75505         * termios/tcsetattr.c: Likewise.
75506         * termios/tcsetpgrp.c: Likewise.
75507         * time/adjtime.c: Likewise.
75508         * time/clock.c: Likewise.
75509         * time/getitimer.c: Likewise.
75510         * time/gettimeofday.c: Likewise.
75511         * time/setitimer.c: Likewise.
75512         * time/settimeofday.c: Likewise.
75513         * time/stime.c: Likewise.
75514         * time/time.c: Likewise.
75516 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75518         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75519         /usr/old/bin.
75521         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75522         instead of spaces.
75523         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75525 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75527         [BZ #14796]
75528         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75529         FE_TONEAREST before applying Dekker multiplication and Knuth
75530         addition.  Clear inexact exceptions and check for exact zero
75531         results afterwards.
75532         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75533         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75534         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75535         * math/libm-test.inc (fma_test): Add more tests.
75536         (fma_test_towardzero): Likewise.
75537         (fma_test_downward): Likewise.
75538         (fma_test_upward): Likewise.
75539         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75540         function.
75541         (libc_fesetround): New macro.
75542         (libc_fesetroundf): Likewise.
75543         (libc_fesetroundl): Likewise.
75544         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75545         function.
75546         (libc_fesetround_387): Likewise.
75547         (libc_fesetroundf): New macro.
75548         (libc_fesetround): Likewise.
75549         (libc_fesetroundl): Likewise.
75550         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75551         function.
75552         (libc_fesetroundf): New macro.
75553         (libc_fesetround): Likewise.
75554         (libc_fesetroundl): Likewise.
75555         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75556         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75557         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75558         libm_hidden_ver.
75559         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75560         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75561         libm_hidden_def.
75562         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75563         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75564         libm_hidden_ver.
75565         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75566         libm_hidden_def.
75568         [BZ #3439]
75569         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75570         integer constant usable in #if and use that to give value to enum
75571         constant.
75572         (FE_DIVBYZERO): Likewise.
75573         (FE_UNDERFLOW): Likewise.
75574         (FE_OVERFLOW): Likewise.
75575         (FE_INVALID): Likewise.
75576         (FE_INVALID_SNAN): Likewise.
75577         (FE_INVALID_ISI): Likewise.
75578         (FE_INVALID_IDI): Likewise.
75579         (FE_INVALID_ZDZ): Likewise.
75580         (FE_INVALID_IMZ): Likewise.
75581         (FE_INVALID_COMPARE): Likewise.
75582         (FE_INVALID_SOFTWARE): Likewise.
75583         (FE_INVALID_SQRT): Likewise.
75584         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75585         (FE_TONEAREST): Likewise.
75586         (FE_TOWARDZERO): Likewise.
75587         (FE_UPWARD): Likewise.
75588         (FE_DOWNWARD): Likewise.
75589         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75590         (FE_DIVBYZERO): Likewise.
75591         (FE_OVERFLOW): Likewise.
75592         (FE_UNDERFLOW): Likewise.
75593         (FE_INEXACT): Likewise.
75594         (FE_TONEAREST): Likewise.
75595         (FE_DOWNWARD): Likewise.
75596         (FE_UPWARD): Likewise.
75597         (FE_TOWARDZERO): Likewise.
75598         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75599         (FE_UNDERFLOW): Likewise.
75600         (FE_OVERFLOW): Likewise.
75601         (FE_DIVBYZERO): Likewise.
75602         (FE_INVALID): Likewise.
75603         (FE_TONEAREST): Likewise.
75604         (FE_TOWARDZERO): Likewise.
75605         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75606         (FE_OVERFLOW): Likewise.
75607         (FE_UNDERFLOW): Likewise.
75608         (FE_DIVBYZERO): Likewise.
75609         (FE_INEXACT): Likewise.
75610         (FE_TONEAREST): Likewise.
75611         (FE_TOWARDZERO): Likewise.
75612         (FE_UPWARD): Likewise.
75613         (FE_DOWNWARD): Likewise.
75614         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75615         (FE_DIVBYZERO): Likewise.
75616         (FE_OVERFLOW): Likewise.
75617         (FE_UNDERFLOW): Likewise.
75618         (FE_INEXACT): Likewise.
75619         (FE_TONEAREST): Likewise.
75620         (FE_DOWNWARD): Likewise.
75621         (FE_UPWARD): Likewise.
75622         (FE_TOWARDZERO): Likewise.
75624 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75626         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75628 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75630         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75631         commands.  Quote $PWD.
75632         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75633         -x" by "export".
75634         (remove_newlines): Remove.
75636 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75638         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75639         * stdlib/stdlib.h (atof): Moved to ...
75640         * include/bits/stdlib-float.h: Here.  New file.
75641         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75642         * stdlib/bits/stdlib-float.h: New file.
75643         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75644         -mno-sse -mno-mmx.
75645         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75646         <xmmintrin.h>.
75648 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75650         * conform/conformtest.pl (@headers): Add fenv.h.
75651         * conform/data/fenv.h-data: New file.
75652         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75653         include of <math/fenv.h>.
75655         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75656         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75657         && !UNIX98].  Enables tests for XOPEN2K8.
75658         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75659         POSIX2008]: Likewise.
75661         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75662         (struct rusage): Do not expect type or its members.
75664         [BZ #3439]
75665         * math/math.h (FP_NAN): Define macro to integer constant usable in
75666         #if and use that to give value to enum constant.
75667         (FP_INFINITE): Likewise.
75668         (FP_ZERO): Likewise.
75669         (FP_SUBNORMAL): Likewise.
75670         (FP_NORMAL): Likewise.
75672 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75674         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75675         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75676         arguments.
75678 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75680         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75681         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75682         autoconf-time if not.
75683         * configure.in: Remove AC_PREREQ.
75685 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75687         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75688         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75689         of the internal implementation.
75691 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75693         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75694         except include of <misc/sys/syslog.h>.
75696 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75699         function returns with a NULL context exit with zero.
75701 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75703         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75705 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75707         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75708         (run_program_cmd): This.
75709         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75710         (tst_langinfo): New variable.  Use it.
75712 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75714         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75715         floating point opcodes.
75717 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75719         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75720         variable.
75722         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75724         * sysdeps/mach/hurd/powerpc: Remove directory.
75725         * sysdeps/mach/powerpc: Likewise.
75727 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75729         * scripts/check-local-headers.sh: Ignore c++ headers.
75731 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75733         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75734         __libc_cleanup_region_start argument.
75736 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75738         [BZ #14784]
75739         [BZ #14785]
75740         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75741         x * y using scaling, not as x * y + z.
75742         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75743         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75744         * math/libm-test.inc (fma_test): Add more tests.
75745         (fma_test_towardzero): Likewise.
75746         (fma_test_downward): Likewise.
75747         (fma_test_upward): Likewise.
75749 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75751         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75753 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75755         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75756         New variable.
75758 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75760         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75762 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75765         Fix sort order.
75766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75767         Likewise.
75769 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75772         Fix the order of the list for glibc 2.17.
75773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75774         Likewise.
75776 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75778         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75780 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75782         [BZ #14610]
75783         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75784         for low part of x being zero before using __atanl (y).
75785         * math/libm-test.inc (atan2_test): Add another test.
75787         * manual/install.texi (Configuring and compiling): Document
75788         general use of test-wrapper and test-wrapper-env.
75789         * INSTALL: Regenerated.
75791         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75792         (__fma): Do not extract and scale down low bits on after-rounding
75793         systems when result rounded to normal precision would have normal
75794         exponent.
75795         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75796         (__fmal): Do not extract and scale down low bits on after-rounding
75797         systems when result rounded to normal precision would have normal
75798         exponent.
75799         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75800         (__fmal): Do not extract and scale down low bits on after-rounding
75801         systems when result rounded to normal precision would have normal
75802         exponent.
75803         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75804         macro.
75805         (fma_test): Add more tests.
75806         (fma_test_towardzero): Likewise.
75807         (fma_test_downward): Likewise.
75808         (fma_test_upward): Likewise.
75810 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75812         * sysdeps/i386/tininess.h: Renamed to ...
75813         * sysdeps/x86/tininess.h: This.
75814         * sysdeps/x86_64/tininess.h: Removed.
75816 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75818         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75819         input.  Use $(build-program-cmd).
75820         ($(objpfx)tst-array1-static.out): Likewise.
75821         ($(objpfx)tst-array2.out): Likewise.
75822         ($(objpfx)tst-array3.out): Likewise.
75823         ($(objpfx)tst-array4.out): Likewise.
75824         ($(objpfx)tst-array5.out): Likewise.
75825         ($(objpfx)tst-array5-static.out): Likewise.
75827 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75829         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75830         if defined.
75832         * nss/nsswitch.h (nss_interface_function): Provide new
75833         macro for use with NSS functions.
75834         * grp/initgroups.c: Use new macro.
75835         * nss/getXXbyYY.c: Likewise.
75836         * nss/getXXbyYY_r.c: Likewise.
75837         * nss/getXXent.c: Likewise.
75838         * nss/getXXent_r.c: Likewise.
75839         * sysdeps/posix/getaddrinfo.c: Likewise.
75841 2012-10-30  Andreas Jaeger  <aj@suse.de>
75843         * po/ru.po: Update Russion translation from translation project.
75845 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75847         [BZ #14152]
75848         [BZ #14783]
75849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75850         result and shift together with sticky bit instead of replicating
75851         round-to-nearest rounding.
75852         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75853         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75854         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75855         missing underflow exceptions.
75856         (fma_test_towardzero): Add more tests.
75857         (fma_test_downward): Likewise.
75858         (fma_test_upward): Likewise.
75860         [BZ #14047]
75861         * sysdeps/generic/tininess.h: New file.
75862         * sysdeps/i386/tininess.h: Likewise.
75863         * sysdeps/sh/tininess.h: Likewise.
75864         * sysdeps/x86_64/tininess.h: Likewise.
75865         * stdlib/tst-strtod-underflow.c: Likewise.
75866         * stdlib/tst-tininess.c: Likewise.
75867         * stdlib/strtod_l.c: Include <tininess.h>.
75868         (round_and_return): Do not set errno for exact underflow cases.
75869         Force an underflow exception when setting errno for underflow.
75870         Determine underflow based on rounding to normal precision if
75871         TININESS_AFTER_ROUNDING.
75872         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75873         ERANGE for exact underflow cases.
75874         * stdlib/Makefile (tests): Add tst-tininess and
75875         tst-strtod-underflow.
75876         ($(objpfx)tst-tininess): Use $(link-libm).
75877         ($(objpfx)tst-strtod-underflow): Likewise.
75879 2012-10-30  Andreas Jaeger  <aj@suse.de>
75881         [BZ #14767]
75882         * elf/Makefile (tests): Remove conditional for have-initfini-array
75883         since this is now always required and the variable does not exist
75884         anymore.
75885         (tests-static): Likewise.
75886         (modules-names): Likewise.
75888         * po/eo.po: Add Esperanto translation from translation project.
75890         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75891         merged with constructor/destructor.
75892         (init_array): Likewise.
75893         * elf/tst-array2dep.c (fini_array): Likewise.
75894         (init_array): Likewise.
75896 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75898         * manual/message.texi: Delete @cartouche tags.
75900 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75902         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75903         EOPNOTSUPP.
75904         * sysdeps/mach/hurd/fsync.c: Likewise.
75906         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75907         [_POSIX_REALTIME_SIGNALS]: Change condition to
75908         [_POSIX_REALTIME_SIGNALS > 0].
75910 2012-10-27  Andreas Jaeger  <aj@suse.de>
75912         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75913         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75914         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75915         [__WORDSIZE != 64]: Likewise.
75917 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75919         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75920         *  iconvdata/tst-tables.sh: Likewise.
75922 2012-10-25  David S. Miller  <davem@davemloft.net>
75924         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75925         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75926         of strtoull.
75928         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75929         ifunc-impl-list.c
75930         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75931         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75932         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75933         file.
75935 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75937         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75938         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75939         __getdirentries.
75941 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75942             Jim Blandy  <jimb@codesourcery.com>
75944         * scripts/cross-test-ssh.sh: New file.
75945         * manual/install.texi (Configuring and compiling): Document use of
75946         cross-test-ssh.sh.
75947         * INSTALL: Regenerated.
75949 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75951         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75952         EOPNOTSUPP.
75954 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75956         * Makeconfig (run-program-prefix): Fix comment.
75958 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75959             Jim Blandy  <jimb@codesourcery.com>
75961         * Makeconfig (test-wrapper): New variable,
75962         (test-wrapper-env): Likewise.
75963         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75964         (run-built-tests): Define to yes.
75965         (run-program-prefix): Use $(test-wrapper).
75966         (built-program-cmd): Likewise.
75967         * Rules (make-test-out): Use $(test-wrapper-env) and
75968         $(host-built-program-cmd).
75969         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75970         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75971         tst-pathopt.sh.
75972         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75973         $(test-wrapper-env) to tst-rtld-load-self.sh.
75974         ($(objpfx)order2.out): Use $(test-wrapper).
75975         ($(objpfx)tst-initorder.out): Likewise.
75976         ($(objpfx)tst-initorder2.out): Likewise.
75977         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75978         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75979         (test_wrapper_env): New variable.  Use it to run ld.so.
75980         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75981         Use it to run ld.so.
75982         (test_wrapper_env): Likewise.
75983         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75984         $(test-wrapper) to run-iconv-test.sh.
75985         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75986         (ICONV): Use $test_wrapper.
75987         * posix/Makefile ($(objpfx)globtest.out): Pass
75988         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75989         globtest.sh, not $(run-program-prefix).
75990         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75991         (test_wrapper): Likewise.
75992         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75993         set together with run_via_rtld_prefix.
75994         (run_program_prefix): Define in terms of test_wrapper and
75995         run_via_rtld_prefix.
75997 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75999         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
76000         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
76001         Targets removed.
76003         [BZ #14743]
76004         * include/time.h: Remove librt_hidden_proto (clock_gettime).
76005         Declare __clock_getres, __clock_gettime, __clock_settime,
76006         __clock_nanosleep, and __clock_getcpuclockid.
76007         * rt/clock_gettime.c: Define __clock_gettime as an alias.
76008         Remove librt_hidden_def (clock_gettime).
76009         * sysdeps/unix/clock_gettime.c: Likewise.
76010         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
76011         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
76012         * rt/clock_getres.c: Define __clock_getres as an alias.
76013         * sysdeps/posix/clock_getres.c: Likewise.
76014         * rt/clock_settime.c: Define __clock_settime as an alias.
76015         * sysdeps/unix/clock_settime.c: Likewise.
76016         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
76017         * sysdeps/unix/clock_nanosleep.c: Likewise.
76018         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
76019         * rt/clock-compat.c: New file.
76020         * rt/Makefile (librt-routines): Add clock-compat and move
76021         $(clock-routines) to ...
76022         (routines): ... here, new variable.
76023         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
76024         Don't add get_clockfreq here.
76025         * rt/Versions (libc: GLIBC_2.17): New version set.
76026         Add clock_* symbols here.
76027         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
76028         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
76029         (GLIBC_2.17): Add clock_* symbols.
76030         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76032         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76034         Likewise.
76035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76036         Likewise.
76037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76039         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76040         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76041         * NEWS: Mention the move.
76043         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
76044         Use __open, __read, __close rather than their public counterparts.
76045         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76046         (__get_clockfreq_via_cpuinfo): Likewise.
76047         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
76048         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
76050         * config.h.in (HAVE_IFUNC): New #undef.
76051         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
76052         was successful.
76053         * configure: Regenerated.
76055 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
76057         * configure.in: Move READELF check to start of file.
76058         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
76059         libc_cv_asm_gnu_indirect_function in the process.
76060         * configure: Regenerated.
76062 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
76064         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
76065         send the output to /dev/null.
76066         (libc_cv_cc_with_libunwind): Likewise.
76067         (libc_cv_as_noexecstack): Likewise.
76068         * configure: Regenerate.
76070 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
76072         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
76074         * posix/globtest.sh (TMPDIR): Do not set.
76075         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
76076         (testout): Likewise.
76078 2012-10-24  Andreas Jaeger  <aj@suse.de>
76080         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
76081         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
76082         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
76083         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
76084         posix_fadvise64, posix_fallocate64.
76086         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
76087         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
76088         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
76089         Likewise.
76090         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
76091         Likewise.
76092         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
76094         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
76095         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
76096         <bits/fcntl-linux.h>.
76097         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
76099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
76100         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
76101         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
76102         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
76103         [__WORDSIZE != 64]: Likewise.
76105 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
76107         * Makeconfig (run-built-tests): New variable.
76108         * Rules [$(cross-compiling) = yes]: Change condition to
76109         [$(run-built-tests) = no].
76110         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
76111         to [$(run-built-tests) = yes].
76112         * elf/Makefile [$(cross-compiling) = no]: Likewise.
76113         * grp/Makefile [$(cross-compiling) = no]: Likewise.
76114         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
76115         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
76116         * intl/Makefile [$(cross-compiling) = no]: Likewise.
76117         * io/Makefile [$(cross-compiling) = no]: Likewise.
76118         * libio/Makefile [$(cross-compiling) = no]: Likewise.
76119         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
76120         * misc/Makefile [$(cross-compiling) = no]: Likewise.
76121         * posix/Makefile [$(cross-compiling) = no]: Likewise.
76122         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
76123         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
76124         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
76125         * string/Makefile [$(cross-compiling) = no]: Likewise.
76127         * posix/Makefile ($(objpfx)globtest.out): Pass
76128         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
76129         $(rtld-installed-name).
76130         * posix/globtest.sh (elf_objpfx): Remove variable.
76131         (rtld_installed_name): Likewise.
76132         (library_path): Likewise.
76133         (run_program_prefix): New variable.  Use for running globtest
76134         binary.
76136 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
76137             Joseph Myers  <joseph@codesourcery.com>
76139         * Makeconfig (host-built-program-cmd): New variable.
76140         * elf/Makefile (tst-stackguard1-ARGS): Use
76141         $(host-built-program-cmd).
76142         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
76143         (tst-spawn-ARGS): Likewise.
76144         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76146 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
76147             Jim Blandy  <jimb@codesourcery.com>
76149         * Makeconfig (run-via-rtld-prefix): New variable.
76150         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
76151         (built-program-cmd): Likewise.
76153 2012-10-22  Andreas Jaeger  <aj@suse.de>
76155         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
76156         __O_RSYNC if it exists, otherwise to O_SYNC.
76158 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
76159             Joseph Myers  <joseph@codesourcery.com>
76161         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76162         /dev/null.
76163         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76164         from /dev/null
76165         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76166         /dev/null.
76168 2012-10-22  Andreas Jaeger  <aj@suse.de>
76170         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76171         Define always.
76172         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76174         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76175         bits/fcntl-linux.h.
76177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76178         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76180         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76181         to __O_LARGEFILE.
76182         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76183         to __O_LARGEFILE.
76185 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
76186             Joseph Myers  <joseph@codesourcery.com>
76188         * config.make.in (NM): New variable.
76190 2012-10-21  Andreas Jaeger  <aj@suse.de>
76192         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76193         definitions and declarations that are provided by
76194         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76196 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76198         [BZ #14683]
76199         * elf/Makefile (tests-static): Add tst-leaks1-static.
76200         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76201         ($(objpfx)tst-leaks1-static): New rule.
76202         ($(objpfx)tst-leaks1-static-mem): Likewise.
76203         (tst-leaks1-static-ENV): New macro.
76204         * elf/dl-open.c (dl_open_worker): Check the main application
76205         only if SHARED is defined.
76206         * elf/tst-leaks1-static.c: New file.
76208 2012-10-20  Andreas Jaeger  <aj@suse.de>
76210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76211         generic values for Linux.
76212         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76213         and declarations that are provided by <bits/fcntl-linux.h> and
76214         include <bits/fcntl-linux.h>.
76215         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76216         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76218 2012-10-20  Roland McGrath  <roland@hack.frob.com>
76220         * io/fcntl.h: Move include of <bits/types.h> to the top and
76221         include it unconditionally.
76223 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76225         * wcsmbs/Makefile (tests-ifunc): New variable.
76226         (tests): Add $(tests-ifunc).
76227         * wcsmbs/test-wcschr-ifunc.c: New file.
76228         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76229         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76230         * wcsmbs/test-wcslen-ifunc.c: Likewise.
76231         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76232         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76234         * string/Makefile (tests-ifunc): New variable.
76235         (tests): Add $(tests-ifunc).
76236         * string/test-memccpy.c (TEST_NAME): New macro.
76237         * string/test-memchr.c (TEST_NAME): Likewise.
76238         * string/test-memcmp.c (TEST_NAME): Likewise.
76239         * string/test-memcpy.c (TEST_NAME): Likewise.
76240         * string/test-memmem.c (TEST_NAME): Likewise.
76241         * string/test-memmove.c (TEST_NAME): Likewise.
76242         * string/test-memset.c (TEST_NAME): Likewise.
76243         * string/test-rawmemchr.c (TEST_NAME): Likewise.
76244         * string/test-stpcpy.c (TEST_NAME): Likewise.
76245         * string/test-stpncpy.c (TEST_NAME): Likewise.
76246         * string/test-strcasecmp.c (TEST_NAME): Likewise.
76247         * string/test-strcasestr.c (TEST_NAME): Likewise.
76248         * string/test-strcat.c (TEST_NAME): Likewise.
76249         * string/test-strchr.c (TEST_NAME): Likewise.
76250         * string/test-strcmp.c(TEST_NAME): Likewise.
76251         * string/test-strcpy.c (TEST_NAME): Likewise.
76252         * string/test-strcspn.c (TEST_NAME): Likewise.
76253         * string/test-strlen.c (TEST_NAME): Likewise.
76254         * string/test-strncasecmp.c (TEST_NAME): Likewise.
76255         * string/test-strncmp.c (TEST_NAME): Likewise.
76256         * string/test-strncpy.c (TEST_NAME): Likewise.
76257         * string/test-strnlen.c (TEST_NAME): Likewise.
76258         * string/test-strpbrk.c (TEST_NAME): Likewise.
76259         * string/test-strrchr.c (TEST_NAME): Likewise.
76260         * string/test-strspn.c (TEST_NAME): Likewise.
76261         * string/test-strstr.c (TEST_NAME): Likewise.
76262         * string/test-bcopy-ifunc.c: New file.
76263         * string/test-bzero-ifunc.c: Likewise.
76264         * string/test-memccpy-ifunc.c: Likewise.
76265         * string/test-memchr-ifunc.c: Likewise.
76266         * string/test-memcmp-ifunc.c: Likewise.
76267         * string/test-memcpy-ifunc.c: Likewise.
76268         * string/test-memmem-ifunc.c: Likewise.
76269         * string/test-memmove-ifunc.c: Likewise.
76270         * string/test-mempcpy-ifunc.c: Likewise.
76271         * string/test-memset-ifunc.c: Likewise.
76272         * string/test-rawmemchr-ifunc.c: Likewise.
76273         * string/test-stpcpy-ifunc.c: Likewise.
76274         * string/test-stpncpy-ifunc.c: Likewise.
76275         * string/test-strcasecmp-ifunc.c: Likewise.
76276         * string/test-strcasestr-ifunc.c: Likewise.
76277         * string/test-strcat-ifunc.c: Likewise.
76278         * string/test-strchr-ifunc.c: Likewise.
76279         * string/test-strchrnul-ifunc.c: Likewise.
76280         * string/test-strcmp-ifunc.c: Likewise.
76281         * string/test-strcpy-ifunc.c: Likewise.
76282         * string/test-strcspn-ifunc.c: Likewise.
76283         * string/test-strlen-ifunc.c: Likewise.
76284         * string/test-strncasecmp-ifunc.c: Likewise.
76285         * string/test-strncat-ifunc.c: Likewise.
76286         * string/test-strncmp-ifunc.c: Likewise.
76287         * string/test-strncpy-ifunc.c: Likewise.
76288         * string/test-strnlen-ifunc.c: Likewise.
76289         * string/test-strpbrk-ifunc.c: Likewise.
76290         * string/test-strrchr-ifunc.c: Likewise.
76291         * string/test-strspn-ifunc.c: Likewise.
76292         * string/test-strstr-ifunc.c: Likewise.
76294         * debug/Makefile (tests-ifunc): New variable.
76295         (tests): Add $(tests-ifunc).
76296         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76297         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76298         * debug/test-stpcpy_chk-ifunc.c: New file.
76299         * debug/test-strcpy_chk-ifunc.c: Likewise.
76301 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76303         [BZ #13601]
76304         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76305         header is not read in.
76307 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76309         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76310         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76311         directly.  Pass built executable to script as
76312         $(built-program-cmd).
76313         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76314         $testprogram without using LD_LIBRARY_PATH and $ldso.
76316         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76317         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76318         $(rtld-installed-name).
76319         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76320         (rtld_installed_name): Likewise.
76321         (library_path): Likewise.
76322         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76323         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76324         $(run-program-prefix) to tst-tables.sh.
76325         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76326         it to run tst-table-from and tst-table-to.
76327         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76328         Pass it to tst-table.sh.
76329         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76330         $(run-program-prefix) to tst-gettext.sh.
76331         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76332         tst-translit.sh.
76333         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76334         tst-gettext2.sh.
76335         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76336         to run tst-gettext.
76337         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76338         to run tst-gettext2.
76339         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76340         to run tst-translit.
76341         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76342         $(run-program-prefix) to tst-mtrace.sh.
76343         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76344         to run tst-mtrace.
76345         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76346         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76347         $(rtld-installed-name).
76348         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76349         (rtld_installed_name): Likewise.
76350         (run_program_prefix): New variable.  Use it to run wordexp-test.
76352         * Makeconfig (ARCH): Remove all definitions.
76353         (machine): Likewise.
76354         [ARCH]: Remove conditional code.
76355         [!objdir]: Give error.
76356         [!objdir] (objpfx): Remove.
76357         [!objdir] (common-objpfx): Likewise.
76358         [!objdir] (common-objdir): Likewise.
76359         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76360         AC_CONFIG_FILES call.
76361         * configure: Regenerated.
76363         [BZ #13888]
76364         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76365         or TMPDIR.
76366         (testout): Likewise.
76368         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76369         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76370         $(rtld-installed-name).
76371         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76372         (rtld_installed_name): Likewise.
76373         (runit): Remove function.
76374         (run_getconf): New variable,  Use it for running getconf binary.
76376 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76378         [BZ #14716]
76379         * string/test-memmem.c (check_result): New function.
76380         (do_one_test): Use it.
76381         (check1): New function.
76382         (test_main): Use it.
76384 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76386         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76388 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76390         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76391         (_G_LSEEK64): Likewise.
76392         (_G_MMAP64): Likewise.
76393         (_G_FSTAT64): Likewise.
76394         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76395         (_G_LSEEK64): Likewise.
76396         (_G_MMAP64): Likewise.
76397         (_G_FSTAT64): Likewise.
76398         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76399         unconditional.  Call __mmap64 directly.
76400         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76401         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76402         __lseek64 directly.
76403         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76404         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76405         __mmap64 directly.
76406         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76407         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76408         __lseek64 directly.
76409         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76410         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76411         __lseek64 directly.
76412         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76413         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76414         __lseek64 directly.
76415         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76416         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76417         __fxstat64 directly.
76418         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76419         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76420         unconditional.
76421         (freopen64) [!_G_OPEN64]: Remove conditional code.
76422         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76423         unconditional.
76424         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76425         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76426         unconditional.
76427         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76428         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76429         unconditional.
76430         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76431         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76432         unconditional.
76433         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76434         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76435         unconditional.
76436         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76437         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76438         unconditional.
76439         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76440         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76441         unconditional.
76442         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76444 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76446         [BZ #12140]
76447         * manual/memory.texi (Malloc Tunable Parameters): Add note
76448         about free list pointers overwriting some perturb bytes.
76449         Wording suggested by Roland McGrath.
76451 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76453         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76454         (lgamma_test): Likewise.
76455         (tgamma_test): Likewise.
76457 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76459         [BZ #14700]
76460         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76461         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76463 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76465         * NEWS: Mention BZ #14716.
76466         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76467         when removing AVAILABLE1_USES_J macro.
76469 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76471         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76472         (__bswap_64): __uint64_t for unsigned 64-bit int.
76474 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76476         * include/string.h (memmem): Declare libc hidden alias.
76477         * string/memmem.c (memmem): Define libc hidden alias.
76478         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76479         __read, __close instead of open, read, close.
76481 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76483         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76484         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76485         global and hidden.
76486         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76487         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76488         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76489         Likewise.
76490         (__rawmemchr_sse2): Likewise.
76491         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76492         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76493         (__strchr_sse2): Likewise.
76494         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76495         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76496         (__strcasecmp_sse2): Likewise.
76497         (__strncasecmp_sse2): Likewise.
76498         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76499         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76500         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76501         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76502         (__strrchr_sse2): Likewise.
76503         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76504         ifunc-impl-list.c.
76505         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76506         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76507         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76508         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76509         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76510         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76511         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76512         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76513         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76514         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76515         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76516         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76517         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76518         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76519         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76520         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76521         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76522         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76523         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76524         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76525         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76526         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76527         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76528         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76529         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76530         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76531         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76532         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76533         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76534         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76536         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76537         global and hidden.
76538         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76539         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76540         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76541         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76542         Likewise.
76543         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76544         Likewise.
76545         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76546         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76547         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76548         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76549         ifunc-impl-list.c.
76550         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76551         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76552         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76553         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76554         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76555         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76556         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76557         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76559         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76560         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76561         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76562         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76563         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76564         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76566         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76567         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76568         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76569         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76570         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76571         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76572         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76573         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76574         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76575         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76576         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76577         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76578         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76579         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76580         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76581         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76582         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76583         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76584         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76585         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76586         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76587         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76588         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76589         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76590         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76592         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76593         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76594         * include/ifunc-impl-list.h: New file.
76595         * misc/ifunc-impl-list.c: Likewise.
76596         * misc/Makefile (routines): Add ifunc-impl-list.
76597         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76598         * string/test-string.h: Include <ifunc-impl-list.h>.
76599         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76600         TEST_NAME]: New variables.
76601         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76602         are defined.
76603         (test_init): Call __libc_ifunc_impl_list to initialize
76604         func_list if TEST_IFUNC and TEST_NAME are defined.
76606         * string/Makefile (strop-tests): Add bcopy and bzero.
76607         * string/test-bcopy.c: New file.
76608         * string/test-bzero.c: Likewise.
76609         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76610         defined.
76611         * string/test-memset.c: Support bzero test if TEST_BZERO is
76612         defined.
76613         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76614         __libc_memmove.
76615         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76616         __libc_memset.
76617         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76618         of memset.
76620 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76622         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76623         * configure: Regenerated.
76625         * Makeconfig (+link-static-before-libc): Don't include
76626         $(link-static-libc).
76628         * libio/libio.h (_IO_pos_t): Remove.
76630 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76632         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76633         McGrath.
76635 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76637         * crypt/crypt-entry.c: Include fips-private.h.
76638         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76639         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76640         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76641         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76643 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76645         * crypt/crypt-private.h: Include stdbool.h.
76646         (_ufc_setup_salt_r): Return bool.
76647         * crypt/crypt-entry.c: Include errno.h.
76648         (__crypt_r): Return NULL with EINVAL for bad salt.
76649         * crypt/crypt_util.c (bad_for_salt): New.
76650         (_ufc_setup_salt_r): Check that salt is long enough and within
76651         the specified alphabet.
76652         * crypt/badsalttest.c: New file.
76653         * crypt/Makefile (tests): Add it.
76654         ($(objpfx)badsalttest): New.
76656 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76658         * NEWS: Add entry for BZ #14602.
76660 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76662         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76663         type-generic.
76664         * math/libm-test.inc: Update comment listing what functions and
76665         macros are tested.
76666         (isgreater_test): New function.
76667         (isgreaterequal_test): Likewise.
76668         (isless_test): Likewise.
76669         (islessequal_test): Likewise.
76670         (islessgreater_test): Likewise.
76671         (isunordered_test): Likewise.
76672         (main): Call the new functions.
76674 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76676         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76677         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76678         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76679         * sysdeps/i386/configure: Regenerated.
76680         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76681         * sysdeps/mach/configure: Regenerated.
76682         * sysdeps/mach/hurd/configure: Regenerated.
76683         * sysdeps/powerpc/configure: Regenerated.
76684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76685         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76686         * sysdeps/s390/s390-32/configure: Regenerated.
76687         * sysdeps/s390/s390-64/configure: Regenerated.
76688         * sysdeps/sh/configure: Regenerated.
76689         * sysdeps/sparc/configure: Regenerated.
76690         * sysdeps/unix/sysv/linux/configure: Regenerated.
76691         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76692         * sysdeps/x86_64/configure: Regenerated.
76694         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76695         defined.  Don't check if MAP is NULL.
76697 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76699         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76700         (_G_stat64): Likewise.
76701         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76702         (_G_stat64): Likewise.
76703         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76704         instead of struct _G_stat64.
76705         * libio/fileops.c (mmap_remap_check): Likewise.
76706         (decide_maybe_mmap): Likewise.
76707         (_IO_new_file_seekoff): Likewise.
76708         (_IO_file_stat): Likewise.
76709         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76710         _G_off64_t.
76711         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76712         instead of struct _G_stat64.
76713         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76715 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76717         [BZ #14602]
76718         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76719         Replace with ...
76720         (CHECK_EOL): New macro.
76721         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76722         CHECK_EOL.
76723         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76724         Replace with CHECK_EOL.
76725         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76726         Replace with CHECK_EOL.
76728 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76730         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76731         type-generic.
76732         * math/libm-test.inc: Update comment listing what functions and
76733         macros are tested.
76734         (finite_test): New function.
76735         (isinf_test): Likewise.
76736         (isnan_test): Likewise.
76737         (fpclassify_test): Test subnormal input.
76738         (isfinite_test): Likewise.
76739         (isnormal_test): Likewise.
76740         (main): Call the new functions.
76742 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76744         [BZ #14660]
76745         * Makerules (%.dynsym): Force C locale when running
76746         $(OBJDUMP) --dynamic-syms.
76748 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76750         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76751         <stdint.h>.
76753 2012-10-06  David S. Miller  <davem@davemloft.net>
76755         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76756         upper 32-bits of the length value in %o2 since we use branch-on-register
76757         tests which consider the entire 64-bit register.
76759 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76761         * string/test-strstr.c (check2): Add a test for page boundary.
76763 2012-10-05  David S. Miller  <davem@davemloft.net>
76765         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76766         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76767         file.
76768         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76769         sysdep_routines.
76770         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76771         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76772         and bzero when HWCAP_SPARC_CRYPTO is present.
76774 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76776         [BZ #14602]
76777         * string/test-strstr.c (check2): New function.
76778         (test_main): Call check2.
76780         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76781         and bug-strchr1.
76782         * string/bug-strcasestr1.c (do_test): Moved to ...
76783         * string/test-strcasestr.c (check1): Here.  New function.
76784         (do_one_test): Break out result checking code into ...
76785         (check_result): This.  New function.
76786         (do_one_test): Call check_result.
76787         (test_main): Call check1.
76788         * string/bug-strchr1.c (do_test): Moved to ...
76789         * string/test-strchr.c (check1): Here.  New function.
76790         (do_one_test): Break out result checking code into ...
76791         (check_result): This.  New function.
76792         (do_one_test): Call check_result.
76793         (test_main): Call check1.
76794         * string/bug-strstr1.c (main): Moved to ...
76795         * string/test-strstr.c (check1): Here.  New function.
76796         (do_one_test): Break out result checking code into ...
76797         (check_result): This.  New function.
76798         (do_one_test): Call check_result.
76799         (test_main): Call check1.
76800         * string/bug-strcasestr1.c: Removed.
76801         * string/bug-strchr1.c: Likewise.
76802         * string/bug-strstr1.c: Likewise.
76804         * elf/Makefile (dl-routines): Add hwcaps.
76805         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76806         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76807         (_dl_important_hwcaps): Moved to ...
76808         * elf/dl-hwcaps.c: Here.  New file.
76809         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76811         [BZ #14557]
76812         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76813         if IS_IN_rtld isn't defined.
76815         * elf/dl-support.c (_dl_sysinfo_map): New.
76816         Include "get-dynamic-info.h" and "setup-vdso.h".
76817         (_dl_non_dynamic_init): Call setup_vdso.
76818         * elf/dynamic-link.h: Don't include <assert.h>.
76819         (elf_get_dynamic_info): Moved to ...
76820         * elf/get-dynamic-info.h: Here.  New file.
76821         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76822         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76823         * elf/setup-vdso.h: Here.  New file.
76824         * elf/rtld.c: Include "setup-vdso.h".
76825         (dl_main): Call setup_vdso.
76827 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76829         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76830         creal in comment listing functions tested.  List finite, isinf,
76831         isnan, isless, islessequal, isgreater, isgreaterequal,
76832         islessgreater, isunordered, lgamma_r and pow10 as functions and
76833         macros not tested.  Mention which functions not tested are aliases
76834         for other functions.  Fix typo.  Note that signs of NaNs are not
76835         tested.
76837         * scripts/config.guess: Update from config.git.
76838         * scripts/config.sub: Likewise.
76840 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76842         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76843         * misc/madvise.c (madvise): Renamed to __madvise.
76844         Make madvise a weak alias.
76845         * include/sys/mman.h: Declare __madvise.
76846         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76847         * sysdeps/unix/syscalls.list
76848         (madvise): Make __madvise the strong name, and madvise a weak alias.
76849         * sysdeps/unix/sysv/linux/syscalls.list
76850         (madvise, mmap): Remove redundant entries.
76851         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76852         * malloc/malloc.c (mtrim): Likewise.
76853         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76855 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76857         * sysdeps/mach/hurd/dl-cache.c: File removed.
76858         * config.h.in (USE_LDCONFIG): New #undef.
76859         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76860         * configure: Regenerated.
76861         * elf/Makefile (dl-routines): Add dl-cache only under
76862         [$(use-ldconfig) = yes].
76863         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76864         cache on [USE_LDCONFIG].
76865         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76866         [USE_LDCONFIG].
76867         * elf/rtld.c (dl_main): Likewise.
76869 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76871         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76872         _SC_LEVEL4_CACHE_LINESIZE.
76874 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76876         * sysdeps/unix/bsd/confstr.h: File removed.
76878 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76880         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76881         sys/sdt-config.h.
76883 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76885         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76886         Make 'mapoff' field ElfW(Off) rather than off_t.
76888 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76890         * nscd/Makefile: Remove nscd-cflags and all its users.
76891         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76892         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76894         [BZ #10631]
76895         * malloc.c (malloc_printerr): Clarify error message.
76897 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76899         [BZ #14648]
76900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76901         Set bit_FMA_Usable if FMA is supported.
76902         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76903         macro.
76904         (bit_FMA4_Usable): Updated.
76905         (index_FMA_Usable): New macro.
76906         (CPUID_FMA): Likewise.
76907         (HAS_FMA): Defined with bit_FMA_Usable.
76909 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76911         * bits/types.h (__swblk_t): Type removed.
76912         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76913         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76914         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76915         (__SWBLK_T_TYPE): Likewise.
76916         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76917         (__SWBLK_T_TYPE): Likewise.
76918         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76919         (__SWBLK_T_TYPE): Likewise.
76920         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76921         (__SWBLK_T_TYPE): Likewise.
76923 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76924             Honza Horak <hhorak@redhat.com>
76926         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76927         (xdr_mapname): Use YPMAXMAP as maxsize.
76928         (xdr_peername): Use YPMAXPEER as maxsize.
76929         (xdr_keydat): Use YPAXRECORD as maxsize.
76930         (xdr_valdat): Use YPMAXRECORD as maxsize.
76932 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76934         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76936         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76937         * csu/init-first.c: ... here.
76938         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76939         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76940         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76941         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76942         * sysdeps/i386/init-first.c: File removed.
76943         * sysdeps/sh/init-first.c: File removed.
76945 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76947         [BZ #14645]
76948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76949         if x * y might underflow to zero and z is zero.
76950         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76951         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76952         * math/libm-test.inc (min_subnorm_value): New variable.
76953         (fma_test): Add more tests.
76954         (fma_test_towardzero): Likewise.
76955         (fma_test_downward): Likewise.
76956         (fma_test_upward): Likewise.
76957         (initialize): Set min_subnorm_value.
76959 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76961         [BZ #14638]
76962         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76963         0 + 0.
76964         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76965         mode for addition resulting in exact zero.
76966         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76968         exact 0 + 0.
76969         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76970         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76971         * math/libm-test.inc (fma_test): Add more tests.
76972         (fma_test_towardzero): New function.
76973         (fma_test_downward): Likewise.
76974         (fma_test_upward): Likewise.
76975         (main): Call the new functions.
76977 2012-09-28  David S. Miller  <davem@davemloft.net>
76979         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76981 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76983         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76984         instead of SIGALRM.
76986         * sysdeps/gnu/_G_config.h: Moved to ...
76987         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76988         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76989         * sysdeps/generic/_G_config.h: ... here.
76991         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76993         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76995         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76996         Conditionalize target on [libnss_test1.so-version].
76998         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
77000         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
77001         (elfobjdir): Move out of conditionals.
77003         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
77004         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
77005         (__nss_lookup_function): Conditionalize label remove_from_tree on
77006         [!DO_STATIC_NSS || SHARED], matching its only use.
77008 2012-09-28  David S. Miller  <davem@davemloft.net>
77010         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
77011         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
77012         file.
77013         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
77014         sysdep_routines.
77015         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
77016         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
77017         when HWCAP_SPARC_CRYPTO is present.
77019 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
77021         * io/tst-mknodat.c: Create a FIFO instead of a socket.
77023 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
77025         [BZ #6530]
77026         * stdio-common/vfprintf.c (process_string_arg): Revert
77027         2000-07-22 change.
77029 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
77031         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
77032         for testcase.
77033         * stdio-common/tst-sprintf.c: Include <locale.h>
77034         (main): Test sprintf's handling of incomplete multibyte
77035         characters.
77037 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
77039         * elf/dl-runtime.c (VERSYMIDX): Removed.
77040         * elf/dl-version.c (VERSYMIDX): Likewise.
77041         * elf/do-rel.h (VERSYMIDX): Likewise.
77042         (VALIDX): Likewise.
77043         * elf/dynamic-link.h (VERSYMIDX): Likewise.
77044         * elf/rtld.c (VALIDX): Likewise.
77045         (ADDRIDX): Likewise.
77046         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
77047         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
77048         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
77049         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
77050         (VALIDX): Likewise.
77051         (ADDRIDX): Likewise.
77053 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
77055         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
77057 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
77059         [BZ #11438]
77060         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
77061         to global scope.
77062         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
77063         addresses are in the same scope as 192.0.2/24.
77064         * posix/gai.conf: Document new scope table defaults.
77066 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77068         [BZ #5298]
77069         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
77070         for ftell.  Compute offsets from write pointers instead.
77071         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
77073 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77075         [BZ #14543]
77076         * libio/Makefile (tests): New test case tst-fseek.
77077         * libio/tst-fseek.c: New test case to verify that fseek/ftell
77078         combination works in wide mode.
77079         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
77080         state when the external buffer state changes.
77082 2012-09-27  David S. Miller  <davem@davemloft.net>
77084         [BZ #14376]
77085         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
77086         pass reloc->r_addend in as the 'high' argument to
77087         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
77089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77091 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
77093         * rt/tst-aio2.c: Include <pthread.h>.
77094         * rt/tst-aio3.c: Likewise.
77096 2012-09-27  Steve Ellcey  <sellcey@mips.com>
77098         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
77100 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
77102         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
77103         contents on [SHARED].
77105 2012-09-26  Marek Polacek  <polacek@redhat.com>
77107         [BZ #14530]
77108         [BZ #13741]
77109         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
77110         for C++ and GCC <4.3 as well as for non GCC compilers.
77112 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
77114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77116 2012-09-25  Roland McGrath  <roland@hack.frob.com>
77118         * Makefile.in (all, install): Declare with .PHONY.
77119         Reported by Michael Hope <michael.hope@linaro.org>.
77121 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77123         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
77124         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
77125         system header.
77126         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
77127         Likewise.
77128         (sydep_routines): Add the new and the internal functions.
77129         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
77130         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
77131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
77132         (GLIBC_2.17): Add the new function.
77133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77134         (GLIBC_2.17): Likewise.
77135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
77136         (GLIBC_2.17): Likewise.
77137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
77138         (GLIBC_2.17): Likewise.
77139         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
77141 2012-09-25  Alan Modra  <amodra@gmail.com>
77143         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
77144         Add release barrier before setting once_control to say
77145         initialisation is done.  Add hints on lwarx.  Use macro in
77146         place of isync.
77147         (clear_once_control): Add release barrier.
77149 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77151         [BZ #13629]
77152         * math/s_clog.c (__clog): Handle more values close to |z| = 1
77153         specially.
77154         * math/s_clog10.c (__clog10): Likewise.
77155         * math/s_clog10f.c (__clog10f): Likewise.
77156         * math/s_clog10l.c (__clog10l): Likewise.
77157         * math/s_clogf.c (__clogf): Likewise.
77158         * math/s_clogl.c (__clogl): Likewise.
77159         * math/Makefile (libm-calls): Add x2y2m1.
77160         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77161         (__x2y2m1): Likewise.
77162         (__x2y2m1l): Likewise.
77163         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77164         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77165         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77166         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77167         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77168         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77169         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77170         * sysdeps/i386/fpu/libm-test-ulps: Update.
77171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77173         [BZ #14621]
77174         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77175         int as type of variable DEPTH.
77176         (glob): Use size_t instead of int as type of variables NEWCOUNT
77177         and OLD_PATHC.
77179 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77181         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77182         Add s_sincosf-sse2.
77183         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77184         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77185         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77186         macros for using routine as __sincosf_ia32.
77187         Use macro for function declaration and weak_alias.
77188         * sysdeps/i386/fpu/libm-test-ulps: Update.
77190         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77193         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77194         subnormal argument.
77195         * math/s_cexpf.c (__cexpf): Likewise.
77196         * math/s_csinf.c (__csinf): Likewise.
77197         * math/s_csinhf.c (__csinhf): Likewise.
77198         * math/s_ctanf.c (__ctanf): Likewise.
77199         * math/s_ctanhf.c (__ctanhf): Likewise.
77200         * math/s_ccosh.c (__ccoshf): Likewise.
77201         * math/s_cexp.c (__cexpl): Likewise.
77202         * math/s_csin.c (__csin): Likewise.
77203         * math/s_csinh.c (__csinh): Likewise.
77204         * math/s_ctan.c (__ctan): Likewise.
77205         * math/s_ctanh.c (ctanh): Likewise.
77206         * math/s_ccoshl.c (__ccoshl): Likewise.
77207         * math/s_cexpl.c (__cexpl): Likewise.
77208         * math/s_csinl.c (__csinl): Likewise.
77209         * math/s_csinhl.c (__csinhl): Likewise.
77210         * math/s_ctanl.c (__ctanl): Likewise.
77211         * math/s_ctanhl.c (__ctanhl): Likewise.
77213 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77215         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77216         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77217         (_IO_off_t): Define to __off_t, not _G_off_t.
77218         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77219         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77220         (_IO_wint_t): Define to wint_t, not _G_wint_t.
77221         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77222         type of __dummy and __dummy2 fields.
77223         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77224         (_G_ssize_t): Likewise.
77225         (_G_off_t): Likewise.
77226         (_G_pid_t): Likewise.
77227         (_G_uid_t): Likewise.
77228         (_G_wchar_t): Likewise.
77229         (_G_wint_t): Likewise.
77230         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77231         (_G_ssize_t): Likewise.
77232         (_G_off_t): Likewise.
77233         (_G_pid_t): Likewise.
77234         (_G_uid_t): Likewise.
77235         (_G_wchar_t): Likewise.
77236         (_G_wint_t): Likewise.
77237         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77238         (_G_ssize_t): Likewise.
77239         (_G_off_t): Likewise.
77240         (_G_pid_t): Likewise.
77241         (_G_uid_t): Likewise.
77242         (_G_wchar_t): Likewise.
77243         (_G_wint_t): Likewise.
77245 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77247         * malloc/arena.c: Include malloc-sysdep.h.
77248         (shrink_heap): Use check_may_shrink_heap to decide if madvise
77249         is sufficient to shrink the heap or an unmap is needed.
77250         * sysdeps/generic/malloc-sysdep.h: New file.  Define
77251         new function check_may_shrink_heap.
77252         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
77253         new function check_may_shrink_heap.
77255 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77257         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77258         comments.
77260 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
77262         * catgets/test-gencat.sh: Add "set -e".
77263         * elf/tst-pathopt.sh: Likewise.
77264         * grp/tst_fgetgrent.sh: Likewise.
77265         * iconvdata/run-iconv-test.sh: Likewise.
77266         * intl/tst-gettext.sh: Likewise.
77267         * intl/tst-gettext2.sh: Likewise.
77268         * intl/tst-gettext4.sh: Likewise.
77269         * intl/tst-gettext6.sh: Likewise.
77270         * intl/tst-translit.sh: Likewise.
77271         * io/ftwtest-sh: Likewise.
77272         * libio/test-freopen.sh: Likewise.
77273         * malloc/tst-mtrace.sh: Likewise.
77274         * posix/globtest.sh: Likewise.
77275         * posix/tst-getconf.sh: Likewise.
77276         * posix/wordexp-tst.sh: Likewise.
77277         * stdio-common/tst-printf.sh: Likewise.
77278         * stdio-common/tst-unbputc.sh: Likewise.
77279         * stdlib/tst-fmtmsg.sh: Likewise.
77280         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77281         * catgets/Makefile: Do not specify -e option when running
77282         testsuite shell scripts.
77283         * elf/Makefile: Likewise.
77284         * grp/Makefile: Likewise.
77285         * iconvdata/Makefile: Likewise.
77286         * intl/Makefile: Likewise.
77287         * io/Makefile: Likewise.
77288         * libio/Makefile: Likewise.
77289         * malloc/Makefile: Likewise.
77290         * posix/Makefile: Likewise.
77291         * stdio-common/Makefile: Likewise.
77292         * stdlib/Makefile: Likewise.
77293         * sysdeps/x86_64/Makefile: Likewise.
77295         * io/ftwtest-sh: Add copyright header.
77296         * posix/globtest.sh: Likewise.
77297         * posix/tst-getconf.sh: Likewise.
77298         * posix/wordexp-tst.sh: Likewise.
77299         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77301 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77303         [BZ #13679]
77304         * Makeconfig (+link): Defined as $(+link-static) if
77305         $(build-shared) isn't yes.
77306         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77307         isn't yes.
77308         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77310         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77312         [BZ #14562]
77313         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77314         new chunk size with MALLOC_ALIGN_MASK.
77316 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77318         [BZ #5044]
77319         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77320         <rounding-mode.h>.
77321         (__printf_fphex): Determine rounding using get_rounding_mode and
77322         round_away.
77323         * stdio-common/tst-printf-round.c (struct hex_test): New
77324         structure.
77325         (hex_tests): New variable.
77326         (test_hex_in_one_mode): New function.
77327         (do_test): Also run tests for hex float output.
77329 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77331         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77332         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77333         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77334         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77335         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77336         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77337         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77338         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77340 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77342         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77343         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77344         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77345         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77347 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77349         [BZ #14579]
77350         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77351         mode only.
77352         * elf/tst-rtld-load-self.sh: New test.
77353         * elf/Makefile: Run it.
77355 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77357         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77358         (tst-writev-ENV): Remove.
77359         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77361 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77363         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77365 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77367         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77368         unconditional.
77369         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77370         Likewise.
77371         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77372         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77373         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77374         Likewise.
77376 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77378         [BZ #14587]
77379         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77380         * config.make.in (have-cpp-asm-debuginfo): Removed.
77381         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77382         * configure: Regenerated.
77384 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77386         [BZ #5044]
77387         * stdio-common/printf_fp.c: Include <stdbool.h> and
77388         <rounding-mode.h>.
77389         (___printf_fp): Determine rounding using get_rounding_mode and
77390         round_away.
77391         * stdio-common/tst-printf-round.c: New file.
77392         * stdio-common/Makefile (tests): Add tst-printf-round.
77393         (link-libm): New variable.
77394         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77396 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77398         [BZ #14576]
77399         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77400         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77401         Likewise.
77402         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77403         Likewise.
77405 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77407         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77408         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77409         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77410         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77412 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77414         [BZ #14518]
77415         * include/rounding-mode.h: New file.
77416         * sysdeps/generic/get-rounding-mode.h: Likewise.
77417         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77418         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77419         (MAX_VALUE): New macro.
77420         (MIN_VALUE): Likewise.
77421         (overflow_value): New function.
77422         (underflow_value): Likewise.
77423         (round_and_return): Use overflow_value and underflow_value to
77424         determine return values in overflow and underflow cases.  Use
77425         round_away to determine rounding depending on rounding mode.
77426         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77427         determine return values in overflow and underflow cases.
77428         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77429         (struct test_results): New structure.
77430         (struct test): Use struct test_results to store expected results
77431         for all rounding modes.
77432         (TEST): Include expected results for all rounding modes.
77433         (test_in_one_mode): New function.
77434         (do_test): Use test_in_one_mode to compute and check results.
77435         Check results for all rounding modes.
77436         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77437         $(link-libm).
77439 2012-12-09  Allan McRae  <allan@archlinux.org>
77441         * sysdeps/i386/fpu/libm-test-ulps: Update
77443 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77445         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77446         (_G_int32_t): Likewise.
77447         (_G_uint16_t): Likewise.
77448         (_G_uint32_t): Likewise.
77449         (_G_HAVE_BOOL): Likewise.
77450         (_G_HAVE_ATEXIT): Likewise.
77451         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77452         (_G_HAVE_IO_FILE_OPEN): Likewise.
77453         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77454         (_G_int32_t): Likewise.
77455         (_G_uint16_t): Likewise.
77456         (_G_uint32_t): Likewise.
77457         (_G_HAVE_BOOL): Likewise.
77458         (_G_HAVE_ATEXIT): Likewise.
77459         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77460         (_G_HAVE_IO_FILE_OPEN): Likewise.
77461         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77462         (_G_int32_t): Likewise.
77463         (_G_uint16_t): Likewise.
77464         (_G_uint32_t): Likewise.
77465         (_G_HAVE_BOOL): Likewise.
77466         (_G_HAVE_ATEXIT): Likewise.
77467         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77468         (_G_HAVE_IO_FILE_OPEN): Likewise.
77470 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77472         * csu/libc-tls.c: Update copyright years.
77474 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77476         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77477         [!_G_USING_THUNKS]: Remove conditional code.
77478         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77479         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77481         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77482         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77483         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77484         (_G_VTABLE_LABEL_PREFIX): Likewise.
77485         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77486         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77487         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77488         (_G_VTABLE_LABEL_PREFIX): Likewise.
77489         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77490         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77491         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77492         (_G_VTABLE_LABEL_PREFIX): Likewise.
77493         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77495 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77497         * libio/Makefile: Include ../Makeconfig before tests.
77498         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77499         only if $(build-shared) is yes.
77501         * iconv/gconv_db.c: Update copyright years.
77503 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77505         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77506         unwind info if defined PIC. Fix special cases description.
77507         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77509         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77510         DP_HI_MASK entry.
77511         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77513 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77515         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77517         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77518         is NULL.
77520         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77521         (LDLIBS-tst-chk4): This.
77522         (LDFLAGS-tst-chk5): Renamed to ...
77523         (LDLIBS-tst-chk5): This.
77524         (LDFLAGS-tst-chk6): Renamed to ...
77525         (LDLIBS-tst-chk6): This.
77526         (LDFLAGS-tst-lfschk4): Renamed to ...
77527         (LDLIBS-tst-lfschk4): This.
77528         (LDFLAGS-tst-lfschk5): Renamed to ...
77529         (LDLIBS-tst-lfschk5): This.
77530         (LDFLAGS-tst-lfschk6): Renamed to ...
77531         (LDLIBS-tst-lfschk6): This.
77533         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77534         on $(common-objpfx)soversions.mk.
77536 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77538         [BZ #10014]
77539         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77540         example host name.
77542 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77544         * malloc/arena.c (arena_get_retry): New function that gets
77545         another arena for the caller to try its request on.
77546         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77547         current arena cannot fulfill the request.
77548         (__libc_memalign): Likewise.
77549         (__libc_memalign): Likewise.
77550         (__libc_pvalloc): Likewise.
77551         (__libc_calloc): Likewise.
77553 2012-09-05  John Tobey  <john.tobey@gmail.com>
77555         [BZ #13542]
77556         * manual/arith.texi (Operations on Complex): Fix description
77557         of carg branch cut.
77559 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77561         [BZ #10014]
77562         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77563         host name.
77565         [BZ #10038]
77566         * manual/memory.texi (Memory): Make order of menu items match
77567         order of sections.
77569 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77571         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77572         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77573         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77575 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77577         * csu/libc-tls.c (static_dtv): Renamed to ...
77578         (_dl_static_dtv): This.  Make it global.
77579         (_dl_initial_dtv): Removed.
77580         (__libc_setup_tls): Updated.
77581         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77582         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77583         DL_INITIAL_DTV.
77585 2012-09-06  Petr Machata  <pmachata@redhat.com>
77587         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77588         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77589         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77590         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77592 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77594         [BZ #14545]
77595         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77596         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77597         freeing dtv[-1].
77599 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77601         [BZ #14544]
77602         * Makeconfig (link-static-before-libc): Replace $(+prector)
77603         with $(+prectorT).
77604         (link-static-after-libc): Replace $(+postctor) with
77605         $(+postctorT).
77606         (link-bounded): Replace $(+prector)/$(+postctor) with
77607         $(+prectorT)/$(+postctorT).
77608         (+prectorT): New macro.
77609         (+postctorT): Likewise.
77611 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77613         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77614         (round_str): Handle values above the maximum for IBM long double
77615         as inexact.
77616         * stdlib/tst-strtod-round.c (tests): Regenerated.
77618 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77620         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77621         assembler flag.
77622         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77623         zarch_nohighgprs around the zarch optimized routines.
77624         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77625         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77626         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77627         for zarch.
77629 2012-09-05  David S. Miller  <davem@davemloft.net>
77631         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77633         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77634         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77635         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77636         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77637         entries.
77639 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77641         * malloc/arena.c: Fold copyright years.
77642         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77644 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77646         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77648 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77650         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77652 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77654         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77655         change internal state upon failure.
77657 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77659         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77660         * malloc/memusage.c (mmap): Likewise.
77661         (mmap64, mremap): Likewise.  Adjust name in comment.
77663 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77665         * libio/fileops.c: Fix typos in comments.
77666         * libio/oldfileops.c: Likewise.
77667         * libio/wfileops.c: Likewise.
77669 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77671         [BZ #1349]
77672         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77673         (tst-malloc-usable-ENV): Set environment for test case.
77674         * malloc/hooks.c (malloc_check_get_size): New function to get
77675         requested size.
77676         * malloc/malloc.c (musable): Use malloc_check_get_size.
77677         * malloc/tst-malloc-usable.c: New test case.
77679 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77681         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77683 2012-09-05  Allan McRae  <allan@archlinux.org>
77685         [BZ #13966]
77686         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77687         determine header location.
77688         * configure: Regenerated.
77690 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77692         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77693         float format.
77694         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77695         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77696         format.
77697         (test): Regenerate.
77699 2012-09-04  David S. Miller  <davem@davemloft.net>
77701         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77702         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77703         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77705 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77707         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77708         failures.
77710         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77712 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77714         [BZ #9914]
77715         * libio/iogetdelim.c: Include <limits.h>.
77716         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77717         + len + 1 would overflow.
77719 2012-09-03  Andreas Jaeger  <aj@suse.de>
77721         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77722         * sysdeps/i386/fpu/libm-test-ulps: Update.
77724 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77726         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77727         Add s_sinf-sse2, s_conf-sse2.
77729         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77730         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77731         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77732         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77734         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77735         for using routine as __sinf_ia32.
77736         Use macro for function declaration and weak_alias.
77737         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77738         for using routine as __cosf_ia32.
77739         Use macro for function declaration and weak_alias.
77741         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77742         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77744         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77745         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77748         * math/libm-test.inc (cos_test): Add more test cases.
77749         (sin_test): Likewise.
77750         (sincos_test): Likewise.
77752 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77754         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77755         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77756         hidden.
77757         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77759 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77761         [BZ #14538]
77762         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77763         first element of the GOT.
77764         (elf_machine_load_address): Return the difference between
77765         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77767 2012-09-01  Allan McRae  <allan@archlinux.org>
77769         [BZ #13412]
77770         * configure.in (AWK): Require gawk version 3.0 or later.
77771         * configure: Regenerated.
77773 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77775         * sysdeps/unix/sysv/linux/kernel-features.h
77776         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77777         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77778         [__NR_clock_getres]: Make code unconditional.
77779         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77780         (clock_getcpuclockid): Remove code left unreachable by removal of
77781         conditionals.
77782         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77783         code unconditional.
77784         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77785         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77786         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77787         Make code unconditional.
77788         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77789         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77790         * sysdeps/unix/sysv/linux/clock_settime.c
77791         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77792         conditional code.
77793         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77794         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77796 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77798         [BZ #14476]
77799         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77800         scripts/test-installation.pl.
77802         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77803         and $ld_so_version if it is set.
77805 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77807         [BZ #14516]
77808         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77809         failure if reading from procfs failed.
77810         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77812 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77814         * sysdeps/unix/sysv/linux/kernel-features.h
77815         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77816         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77817         Remove conditional code.
77818         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77819         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77820         Remove conditional code.
77821         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77822         * sysdeps/unix/sysv/linux/i386/fxstat.c
77823         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77824         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77825         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77826         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77827         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77828         * sysdeps/unix/sysv/linux/i386/lxstat.c
77829         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77830         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77831         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77832         Remove conditional code.
77833         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77834         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77835         Remove conditional code.
77836         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77837         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77838         <kernel-features.h>.
77839         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77840         Remove.
77841         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77842         Remove conditional code.
77843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77844         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77845         Remove conditional.
77847 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77849         [BZ #5400]
77850         * NEWS: Add fixed bug number.
77852 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77854         [BZ #14519]
77855         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77856         underflowing exponent in case of negative sign.
77857         * stdlib/tst-strtod-round-data: Add more tests.
77858         * stdlib/tst-strtod-round.c (tests): Regenerated.
77860         [BZ #3479]
77861         * stdlib/strtod_l.c (NDIG): Remove.
77862         (HEXNDIG): Likewise.
77863         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77864         smallest representable value.
77865         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77866         lie within an exact representation of 1/2 ulp of the result.
77867         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77868         unconditionally.
77869         (TENS_P9_IDX): Define unconditionally.
77870         (TENS_P9_SIZE): Likewise.
77871         (TENS_P10_IDX): Likewise.
77872         (TENS_P10_SIZE): Likewise.
77873         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77874         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77875         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77876         entries for 10^2^13 and 10^2^14.
77877         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77878         (TENS_P13_IDX): Define.
77879         (TENS_P13_SIZE): Likewise.
77880         (TENS_P14_IDX): Likewise.
77881         (TENS_P14_SIZE): Likewise.
77882         (_fpioconst_pow10): Change array size to
77883         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77884         unconditional.
77885         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77886         1024]: Add entries for 10^2^13 and 10^2^14.
77887         [LAST_POW10 > _LAST_POW10]: Remove #error.
77888         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77889         (_fpioconst_pow10): Change array size to
77890         FPIOCONST_POW10_ARRAY_SIZE.
77891         * stdlib/gen-fpioconst.c: New file.
77892         * stdlib/gen-tst-strtod-round.c: Likewise.
77893         * stdlib/tst-strtod-round-data: Likewise.
77894         * stdlib/tst-strtod-round.c: Likewise.
77895         * stdlib/Makefile (tests): Add tst-strtod-round.
77897         [BZ #14459]
77898         * stdlib/strtod_l.c: Include <stdint.h>.
77899         (NDEBUG): Do not define.
77900         (round_and_return): Change EXPONENT parameter to type intmax_t.
77901         Rearrange calculations to avoid internal overflow possibilities.
77902         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77903         Rearrange calculations to avoid internal overflow possibilities.
77904         Assert that number fits inside MPNSIZE limbs.
77905         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77906         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77907         calculations and add assertions to avoid internal overflow
77908         possibilities.  Add casts to avoid signed/unsigned operations.
77909         * stdlib/tst-strtod-overflow.c: New file.
77910         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77912 2012-08-25  Marek Polacek  <polacek@redhat.com>
77914         * time/time.h: Fix some typos in comments.
77916 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77918         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77919         * posix/tst-rfc3484-2.c: Likewise.
77920         * posix/tst-rfc3484-3.c: Likewise.
77922 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77924         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77925         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77927 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77929         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77930         #include of fxstatat64.c.
77932 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77934         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77935         * shadow/getspent_r.c: Likewise.
77936         * shadow/getspnam.c: Likewise.
77937         * shadow/getspnam_r.c: Likewise.
77938         * gshadow/getsgent.c: Likewise.
77939         * gshadow/getsgent_r.c: Likewise.
77940         * gshadow/getsgnam.c: Likewise.
77941         * gshadow/getsgnam_r.c: Likewise.
77942         * inet/getnetbyad.c: Likewise.
77943         * inet/getnetbyad_r.c: Likewise.
77944         * inet/getnetbynm.c: Likewise.
77945         * inet/getnetbynm_r.c: Likewise.
77946         * inet/getnetent.c: Likewise.
77947         * inet/getnetent_r.c: Likewise.
77948         * inet/getproto.c: Likewise.
77949         * inet/getproto_r.c: Likewise.
77950         * inet/getprtent.c: Likewise.
77951         * inet/getprtent_r.c: Likewise.
77952         * inet/getprtname.c: Likewise.
77953         * inet/getprtname_r.c: Likewise.
77954         * inet/getrpcbyname.c: Likewise.
77955         * inet/getrpcbyname_r.c: Likewise.
77956         * inet/getrpcbynumber.c: Likewise.
77957         * inet/getrpcbynumber_r.c: Likewise.
77958         * inet/getrpcent.c: Likewise.
77959         * inet/getrpcent_r.c: Likewise.
77960         * inet/getaliasent.c: Likewise.
77961         * inet/getaliasent_r.c: Likewise.
77962         * inet/getaliasname.c: Likewise.
77963         * inet/getaliasname_r.c: Likewise.
77964         * nscd/getgrgid_r.c: Likewise.
77965         * nscd/getgrnam_r.c: Likewise.
77966         * nscd/gethstbyad_r.c: Likewise.
77967         * nscd/gethstbynm3_r.c: Likewise.
77968         * nscd/getpwnam_r.c: Likewise.
77969         * nscd/getpwuid_r.c: Likewise.
77970         * nscd/getsrvbynm_r.c: Likewise.
77971         * nscd/getsrvbypt_r.c: Likewise.
77972         * nscd/gai.c: Likewise.
77974         * configure.in (build_nscd): New substituted variable, set
77975         by --disable-build-nscd and defaults to $use_nscd.
77976         * configure: Regenerated.
77977         * config.make.in (build-nscd): New substituted variable.
77978         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77979         Change conditional to require [$(build-nscd) = yes] as well.
77980         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77982         [BZ #13696]
77983         * configure.in (use_nscd): New substituted variable, set by
77984         --disable-nscd.  If enabled, define USE_NSCD.
77985         * configure: Regenerated.
77986         * config.h.in: Add USE_NSCD.
77987         * config.make.in (use-nscd): New substituted variable.
77988         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77989         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77990         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77991         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77992         (CFLAGS-getgrnam_r.c): Likewise.
77993         (CFLAGS-initgroups.c): Likewise.
77994         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77995         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77996         Variables removed.
77997         * inet/getnetgrent_r.c
77998         (nscd_setnetgrent): New function, broken out of ...
77999         (setnetgrent): ... here.  Call it.
78000         (innetgr): Conditionalize nscd bits on [USE_NSCD].
78001         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
78002         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
78003         * nscd/Makefile (routines, aux): Move definitions after include of
78004         Makeconfig.  Conditionalize on [$(use-nscd) != no].
78005         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
78006         Conditionalize on [USE_NSCD].
78007         (is_nscd, nscd_init_cb): Likewise.
78008         (nss_load_library): Conditionalize init callback on [USE_NSCD].
78009         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
78010         * nss/nss_db/db-init.c: Likewise.
78011         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
78012         [USE_NSCD].
78013         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
78014         (make_request): Use it.
78015         (cache_valid_p): New function.
78016         (__check_pf): Use it.
78017         * NEWS: Add item for --disable-nscd.
78019 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
78021         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
78022         to support sed >= 4.2.1-20-ga9bf076.
78023         * configure: Regenerated.
78025 2012-08-22  Roland McGrath  <roland@hack.frob.com>
78027         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
78028         Conditionalize whole body on [IREL].
78030 2012-08-22  Jeff Law <law@redhat.com>
78032         [BZ #14505]
78033         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
78034         if the family is PF_UNSPEC.
78036 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
78038         * Makerules (lib-version): Rename from V.
78039         (install-lib-nosubdir): Change V to lib-version.
78041 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
78043         [BZ #14252]
78044         * powerpc32/power6/wcschr.c: New file.
78045         * powerpc32/power6/wcscpy.c: New file.
78046         * powerpc32/power6/wcsrchr.c: New file.
78047         * powerpc64/power6/wcschr.c: New file.
78048         * powerpc64/power6/wcscpy.c: New file.
78049         * powerpc64/power6/wcsrchr.c: New file.
78051 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
78053         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
78054         (two_way_short_needle): Use it.
78055         * string/strstr.c (AVAILABLE1_USES_J): Define.
78056         * string/strcasestr.c: Likewise.
78058         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
78059         array references.
78060         * string/strcasestr.c (TOLOWER): Make side-effect safe.
78062         [BZ #11607]
78063         * NEWS: Add an entry.
78064         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
78065         define their defaults.
78066         (two_way_short_needle): Detect end-of-string on-the-fly.
78067         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
78068         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
78069         * string/bug-strcasestr1.c: New test.
78070         * string/Makefile: Run it.
78072 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
78074         [BZ #11607]
78075         * string/str-two-way.h (two_way_short_needle): Optimize matching of
78076         the first character.
78078 2012-08-21  Roland McGrath  <roland@hack.frob.com>
78080         * csu/elf-init.c (__libc_csu_irel): Function removed.
78081         * csu/libc-start.c (apply_irel): New function.
78082         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
78084 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
78086         * sysdeps/unix/sysv/linux/kernel-features.h
78087         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
78088         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
78089         <kernel-features.h>.
78090         [__NR_fadvise64_64]: Make code unconditional.
78091         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
78092         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78093         !__NR_fadvise64_64)]: Likewise.
78094         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78095         !__NR_fadvise64_64))]: Likewise.
78096         [__NR_fadvise64]: Make code unconditional.
78097         [!__NR_fadvise64]: Remove conditional code.
78098         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
78099         <kernel-features.h>.
78100         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78101         unconditional.
78102         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78103         conditional code.
78104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
78105         not include <kernel-features.h>.
78106         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78107         unconditional.
78108         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78109         conditional code.
78110         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
78111         include <kernel-features.h>.
78112         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78113         unconditional.
78114         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78115         conditional code.
78117 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78119         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
78120         slight instruction rearrangements per scrollpipe analysis.
78121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
78123 2012-08-20  Roland McGrath  <roland@hack.frob.com>
78125         * manual/syslog.texi (syslog; vsyslog, closelog):
78126         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
78127         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
78129         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
78130         DSOCAPS to match condition on defining it.
78132 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
78134         * sysdeps/unix/sysv/linux/kernel-features.h
78135         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
78136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
78137         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78138         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
78140         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78141         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
78143         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78144         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78146         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
78147         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
78149         * sysdeps/unix/sysv/linux/kernel-features.h
78150         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
78151         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
78152         unconditional.
78153         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78154         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
78155         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78156         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78157         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
78158         Make code unconditional.
78159         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78160         (__mmap64) [!__NR_mmap2]: Likewise.
78161         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78162         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78163         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78164         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78165         [__NR_mmap2]: Make code unconditional.
78166         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78167         (__mmap64) [!__NR_mmap2]: Likewise.
78169 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78171         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78173 2012-08-18  Andreas Jaeger  <aj@suse.de>
78175         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78177 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78179         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78180         * include/unistd.h (__have_sock_cloexec): Likewise.
78181         (__have_pipe2): Likewise.
78182         (__have_dup3): Likewise.
78184 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78186         [BZ #9685]
78187         * include/unistd.h (__have_pipe2): Change define into an extern int.
78188         (__have_dup3): Likewise.
78189         * socket/have_sock_cloexec.c: Include fcntl.h.
78190         (__have_pipe2): New variable.
78191         (__have_dup3): Likewise.
78193 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
78195         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78197 2012-08-17  Marek Polacek  <polacek@redhat.com>
78199         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78200         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78202 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78204         * configure.in: Add AC_SUBST for sysheaders.
78205         * configure: Regenerated.
78206         * config.make.in (sysheaders): New substituted variable.
78208         * sysdeps/unix/mkfifo.c: Moved ...
78209         * sysdeps/posix/mkfifo.c: ... here.
78210         * sysdeps/unix/mkfifoat.c: Moved ...
78211         * sysdeps/posix/mkfifoat.c: ... here.
78213         * sysdeps/unix/utime.c: Moved ...
78214         * sysdeps/posix/utime.c: ... here.
78216         * sysdeps/unix/time.c: Moved ...
78217         * sysdeps/posix/time.c: ... here.
78218         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78219         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78221         * sysdeps/unix/nice.c: Moved ...
78222         * sysdeps/posix/nice.c: ... here.
78224         * sysdeps/unix/alarm.c: Moved ...
78225         * sysdeps/posix/alarm.c: ... here.
78227         * intl/Makefile ($(codeset_mo)): Depend on the input file.
78229 2012-08-17  Jeff Law <law@redhat.com>
78231         * intl/Makefile (codeset_mo): New variable.
78232         ($(codeset_mo)): New target.
78233         (tst-codeset.out): Depend on that.  Remove explicit rule.
78234         (tst-gettext3.out, tst-gettext5.out): Likewise.
78235         (LOCPATH-ENV, tst-codeset-ENV): New variables.
78236         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78237         * intl/tst-codeset.sh: Remove.
78238         * intl/tst-gettext3.sh: Likewise.
78239         * intl/tst-gettext5.sh: Likewise.
78241 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78243         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
78244         * sysdeps/unix/syscalls.list: ... here.
78246         * sysdeps/posix/getaddrinfo.c
78247         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78248         (gaiconf_init, gaiconf_reload): Use them.
78249         [!_STATBUF_ST_NSEC]
78250         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78251         Define using time_t rather than struct timespec.
78253         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78254         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78255         Macros removed.
78256         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78257         [!NO_THREADS].
78258         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78259         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78260         Likewise.
78262         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78263         __libc_cleanup_push argument.
78265         * bits/param.h: New file.
78266         * misc/sys/param.h: New file.
78267         * include/sys/param.h: New file.
78268         * misc/Makefile (headers): Add bits/param.h.
78269         * sysdeps/generic/sys/param.h: File removed.
78270         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78271         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78272         * sysdeps/mach/hurd/bits/param.h: New file.
78273         * sysdeps/mach/hurd/sys/param.h: File removed.
78275         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78276         last change.
78278         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78279         [_IO_MTSAFE_IO].
78280         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78281         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78282         New macros.
78284         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78285         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78286         rather than -D_IO_MTSAFE_IO conditionally.
78287         * stdio-common/Makefile (CPPFLAGS): Likewise.
78288         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78289         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78290         Use $(libio-mtsafe).
78291         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78292         of -D_IO_MTSAFE_IO.
78293         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78294         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78295         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78296         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78297         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78298         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78299         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78300         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78301         (CFLAGS-fread_u_chk.c): Likewise.
78302         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78303         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78304         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78305         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78306         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78307         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78308         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78309         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78310         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78312         * libio/Makefile: Test [$(libc-reentrant) = yes]
78313         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78315         * Makeconfig
78316         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78317         * sysdeps/pthread/configure: File removed.
78318         * sysdeps/pthread/Makeconfig: New file.
78319         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78320         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78322 2012-08-16  Gary Benson  <gbenson@redhat.com>
78324         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78325         unmapping the first object in a namespace.
78327 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78329         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78330         (__internal_setnetgrent): ... this.  Add internal_function to
78331         definition.  Add libc_hidden_def.
78332         (setnetgrent): Update caller.
78333         (internal_endnetgrent): Renamed to ...
78334         (__internal_endnetgrent): ... this.  Add internal_function to
78335         definition.  Add libc_hidden_def.
78336         (endnetgrent): Update caller.
78337         (internal_getnetgrent_r): Renamed to ...
78338         (__internal_getnetgrent_r): ... this.  Add internal_function to
78339         definition.  Add libc_hidden_def.
78340         (__getnetgrent_r): Update caller.
78341         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78343 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78345         * stdlib/longlong.h: Update from GCC.
78347 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78349         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78350         on _QL, which is set by umul_ppmm but never used.
78351         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78352         variables, which are set by GMP macros but never used.
78353         * stdio-common/_itowa.c (_itowa): Likewise.
78354         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78355         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78357 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78359         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78360         struct La_sh_regs is not constant.
78361         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78362         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78363         and struct La_sparc64_regs are not constant.
78365 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78367         * sysdeps/unix/sysv/linux/kernel-features.h
78368         (__ASSUME_POSIX_TIMERS): Remove.
78369         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78370         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78371         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78372         Make code unconditional.
78373         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78374         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78375         Make code unconditional.
78376         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78377         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78378         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78379         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78380         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78381         Make code unconditional.
78382         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78383         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78384         (__libc_missing_posix_timers): Remove.
78386 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78388         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78389         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78391         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78393         * elf/dl-sym.c: Include <stdlib.h>.
78395         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78396         constants, which avoids warnings in 32-bit builds.
78398         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78399         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78401         * misc/lseek.c: File moved to ...
78402         * io/lseek.c: ... here.
78404         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78406         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78407         shifting LEN more than 31 bits at once.
78409 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78411         [BZ #14195]
78412         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78413         segmentation fault for a case of two empty input strings.
78414         * string/test-strncasecmp.c (check1): Renamed to...
78415         (bz12205): ...this.
78416         (bz14195): Add new testcase for two empty input strings and N > 0.
78417         (test_main): Call new testcase, adapt for renamed function.
78419 2012-08-15  Andreas Jaeger  <aj@suse.de>
78421         [BZ #14090]
78422         * crypt/md5test2.c: New test, based on test supplied by Serge
78423         Belyshev <belyshev@depni.sinp.msu.ru>.
78424         * crypt/Makefile (xtests): Add md5test-giant..
78425         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78427 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78429         [BZ #14090]
78430         * crypt/md5.c (md5_process_block): Don't assume the buffer
78431         length is less than 2**32.
78432         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78433         length is less than 2**64.
78435 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78437         * string/str-two-way.h: Include <sys/param.h>.
78438         (MAX): Macro removed.
78440         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78441         Move #define and #undef of memmove to just before and after
78442         including <string.h>.
78444         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78445         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78446         and after including <string.h>.  Move declarations of
78447         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78448         to before #include "string/memmove.c".
78450         * include/dirent.h: Declare __getdirentries.
78452         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78453         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78455 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78457         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78458         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78459         * sysdeps/i386/configure: Regenerated.
78460         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78461         STABS_CURRENT_FILE, and STABS_FUN.
78462         (END): Remove call to STABS_FUN_END.
78463         (STABS_CURRENT_FILE1): Delete.
78464         (STABS_CURRENT_FILE): Likewise.
78465         (STABS_FUN): Likewise.
78466         (STABS_FUN_END): Likewise.
78467         (STABS_FUN2): Likewise.
78468         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78469         * sysdeps/x86_64/configure: Regenerated.
78471 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78473         * elf/dl-open.c: Include <atomic.h>.
78474         * elf/dl-lookup.c: Likewise.
78476 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78478         * sysdeps/unix/sysv/linux/kernel-features.h
78479         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78480         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78481         unconditionally.
78482         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78483         unconditionally.
78484         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78485         condition on __ASSUME_CLONE_THREAD_FLAGS.
78487 2012-08-14  Andreas Jaeger  <aj@suse.de>
78489         * sysdeps/i386/fpu/libm-test-ulps: Update.
78491 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78493         * include/atomic.h (atomic_exchange_and_add): Split into ...
78494         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78495         New atomic macros.
78497 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78501 2012-08-13  Jeff Law <law@redhat.com>
78503         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78504         null byte in the output string.
78506 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78508         * sysdeps/unix/sysv/linux/kernel-features.h
78509         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78510         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78511         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78512         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78513         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78514         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78515         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78517 2012-08-09  Jeff Law <law@redhat.com>
78519         [BZ #13939]
78520         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78521         When avoid_arena is set, don't retry in the that arena.  Pick the
78522         next one, whatever it might be.
78523         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78524         (arena_lock): Pass in new parameter to arena_get2.
78525         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78526         arena_get2.
78527         (__libc_malloc): Unify retrying after main arena failure with
78528         __libc_memalign version.
78529         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78531 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78533         [BZ #14166]
78534         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78535         to __redirect_strstr.
78536         (__strstr_sse42): Use typeof __redirect_strstr.
78537         (__strstr_ia32): Likewise.
78538         (__libc_strstr): New prototype.
78539         (strstr): Renamed to ...
78540         (__libc_strstr): This.
78541         (strstr): New strong alias of __libc_strstr.
78542         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78543         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78544         __redirect_time.
78545         Include <time.h>.
78546         (__libc_time): New prototype.
78547         (time_ifunc): Replace time with __libc_time.
78548         (time): New strong alias and hidden definition of __libc_time.
78549         (__GI_time): Remove strong alias.
78550         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78551         Include <stddef.h>.
78552         (memmove): Redefined to __redirect_memmove.
78553         (__memmove_sse2): Use typeof __redirect_memmove.
78554         (__memmove_ssse3): Likewise.
78555         (__memmove_ssse3_back): Likewise.
78556         (__libc_memmove): New prototype.
78557         (memmove): Renamed to ...
78558         (__libc_memmove): This.
78559         (memmove): New strong alias of __libc_memmove.
78561 2012-08-08  Mark Salter  <msalter@redhat.com>
78563         * elf/elf.h
78564         (R_MN10300_TLS_GD): Define.
78565         (R_MN10300_TLS_LD): Likewise.
78566         (R_MN10300_TLS_LDO): Likewise.
78567         (R_MN10300_TLS_GOTIE): Likewise.
78568         (R_MN10300_TLS_IE): Likewise.
78569         (R_MN10300_TLS_LE): Likewise.
78570         (R_MN10300_TLS_DTPMOD): Likewise.
78571         (R_MN10300_TLS_DTPOFF): Likewise.
78572         (R_MN10300_TLS_TPOFF): Likewise.
78573         (R_MN10300_SYM_DIFF): Likewise.
78574         (R_MN10300_ALIGN): Likewise.
78575         (R_MN10300_NUM): Update.
78577 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78579         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78580         Remove.
78582 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78584         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78586         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78587         sysdeps/unix -> sysdeps/posix move.
78588         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78590 2012-08-07      Allan McRae     <allan@archlinux.org>
78592         [BZ #14303]
78593         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78594         (SUNOS_CPP): Likewise.
78595         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78596         not found.
78597         (open_input): Call CPP using execvp.
78599 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78601         * sysdeps/unix/sysv/linux/kernel-features.h
78602         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78603         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78604         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78605         (__ASSUME_WAITID_SYSCALL): Likewise.
78606         * sysdeps/unix/sysv/linux/dl-execstack.c
78607         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78608         code unconditional.
78609         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78610         conditional code.
78611         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78612         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78613         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78614         code.
78615         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78616         unconditional.
78617         [__ASSUME_WAITID_SYSCALL]: Likewise.
78618         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78620 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78622         * sysdeps/unix/closedir.c: Renamed to ...
78623         * sysdeps/posix/closedir.c: ... here.
78624         * sysdeps/unix/dirfd.c: Renamed to ...
78625         * sysdeps/posix/dirfd.c: ... here.
78626         * sysdeps/unix/dirstream.h: Renamed to ...
78627         * sysdeps/posix/dirstream.h: ... here.
78628         * sysdeps/unix/fdopendir.c: Renamed to ...
78629         * sysdeps/posix/fdopendir.c: ... here.
78630         * sysdeps/unix/opendir.c: Renamed to ...
78631         * sysdeps/posix/opendir.c: ... here.
78632         * sysdeps/unix/readdir.c: Renamed to ...
78633         * sysdeps/posix/readdir.c: ... here.
78634         * sysdeps/unix/readdir_r.c: Renamed to ...
78635         * sysdeps/posix/readdir_r.c: ... here.
78636         * sysdeps/unix/rewinddir.c: Renamed to ...
78637         * sysdeps/posix/rewinddir.c: ... here.
78638         * sysdeps/unix/seekdir.c: Renamed to ...
78639         * sysdeps/posix/seekdir.c: ... here.
78640         * sysdeps/unix/telldir.c: Renamed to ...
78641         * sysdeps/posix/telldir.c: ... here.
78642         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78643         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78644         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78645         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78647         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78648         * bits/fcntl.h: ... here.
78650         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78651         not 0.
78652         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78653         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78654         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78655         (struct flock): Move l_start, l_len to the beginning.
78656         Use __pid_t for l_pid.
78657         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78658         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78659         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78660         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78661         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78662         [__USE_LARGEFILE64] (struct flock64): New type.
78663         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78665         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78666         * bits/dirent.h: ... here.
78668         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78669         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78671 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78673         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78674         Change from 2.6.0 to 2.6.16.
78675         * sysdeps/unix/sysv/linux/configure: Regenerated.
78676         * sysdeps/unix/sysv/linux/kernel-features.h
78677         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78678         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78679         version.
78680         (__ASSUME_UTIMES): Likewise.
78681         (__ASSUME_CLONE_STOPPED): Remove.
78682         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78683         architectures, not kernel version.
78684         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78685         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78686         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78687         (__ASSUME_WAITID_SYSCALL): Likewise.
78688         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78689         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78690         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78691         refer to older versions.
78693 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78695         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78696         Define alphasort64 as an alias.
78697         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78698         Define versionsort64 as an alias.
78699         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78700         Define scandir64 as an alias.
78701         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78702         Define scandirat64 as an alias.
78703         * dirent/alphasort64.c (alphasort64):
78704         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78705         * dirent/versionsort64.c: Likewise.
78706         * dirent/scandir64.c: Likewise.
78707         * dirent/scandirat64.c: Likewise.
78708         * sysdeps/wordsize-64/alphasort.c: File removed.
78709         * sysdeps/wordsize-64/alphasort64.c: File removed.
78710         * sysdeps/wordsize-64/scandir.c: File removed.
78711         * sysdeps/wordsize-64/scandir64.c: File removed.
78712         * sysdeps/wordsize-64/scandirat.c: File removed.
78713         * sysdeps/wordsize-64/scandirat64.c: File removed.
78714         * sysdeps/wordsize-64/versionsort.c: File removed.
78715         * sysdeps/wordsize-64/versionsort64.c: File removed.
78716         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78717         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78718         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78720         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78722         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78725         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78726         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78727         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78728         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78729         [defined __arch64__ || defined __sparcv9]
78730         (__INO_T_MATCHES_INO64_T): New macro.
78731         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78732         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78733         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78734         * sysdeps/unix/sysv/linux/bits/dirent.h
78735         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78736         (_DIRENT_MATCHES_DIRENT64): New macro.
78738         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78739         Define lockf64 as an alias.
78740         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78741         Define fseeko64 as an alias.
78742         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78743         Define ftello64 as an alias.
78744         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78745         Define _IO_fgetpos64 and fgetpos64 as aliases.
78746         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78747         Define _IO_fsetpos64 and fsetpos64 as aliases.
78748         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78749         Conditionalize body on this.
78750         * libio/fseeko64.c: Likewise.
78751         * libio/ftello64.c: Likewise.
78752         * libio/iofgetpos64.c: Likewise.
78753         * libio/iofsetpos64.c: Likewise.
78754         * sysdeps/wordsize-64/lockf.c: File removed.
78755         * sysdeps/wordsize-64/lockf64.c: File removed.
78756         * sysdeps/wordsize-64/fseeko.c: File removed.
78757         * sysdeps/wordsize-64/fseeko64.c: File removed.
78758         * sysdeps/wordsize-64/ftello.c: File removed.
78759         * sysdeps/wordsize-64/ftello64.c: File removed.
78760         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78761         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78762         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78763         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78764         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78765         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78766         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78767         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78768         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78769         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78770         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78771         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78772         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78773         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78775         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78776         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78777         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78778         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78779         [defined __arch64__ || defined __sparcv9]
78780         (__OFF_T_MATCHES_OFF64_T): New macro.
78781         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78782         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78783         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78784         (__OFF_T_MATCHES_OFF64_T): New macro.
78786 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78788         * stdlib/secure-getenv.c (__secure_getenv): Replace
78789         GLIBC_2_16 with GLIBC_2_17.
78791 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78793         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78796 2012-08-03  David S. Miller  <davem@davemloft.net>
78798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78800 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78802         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78803         Remove.
78804         (__ASSUME_CORRECT_SI_PID): Likewise.
78805         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78806         (__ASSUME_TMPFS_NAME): Likewise.
78807         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78808         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78809         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78810         (HAVE_AUX_SECURE): Make definition unconditional.
78811         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78812         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78814 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78816         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78817         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78818         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78819         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78820         __eloop_threshold instead of SYMLOOP_MAX.
78822         * sysdeps/generic/eloop-threshold.h: New file.
78823         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78824         of MAXSYMLINKS.
78825         * elf/chroot_canon.c (chroot_canon): Likewise.
78827 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78829         [BZ #13717]
78830         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78831         Change to 2.6.0 everywhere.
78832         * sysdeps/unix/sysv/linux/configure: Regenerated.
78833         * sysdeps/unix/sysv/linux/kernel-features.h
78834         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78835         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78836         kernel versions.
78837         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78838         (__ASSUME_FUTEX_REQUEUE): Remove.
78839         (__ASSUME_STATFS64): Define unconditionally.
78840         (__ASSUME_AT_SECURE): Likewise.
78841         (__ASSUME_CORRECT_SI_PID): Likewise.
78842         (__ASSUME_TGKILL): Define without depending on kernel version for
78843         i386.
78844         (__ASSUME_UTIMES): Likewise.
78845         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78846         kernel version.
78847         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78848         (__ASSUME_TMPFS_NAME): Likewise.
78849         * README: Update reference to Linux kernel versions.
78851 2012-08-02  Marek Polacek  <polacek@redhat.com>
78853         [BZ #14150]
78854         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78855         libc_cv_asm_type_prefix with %.
78856         * configure: Regenerated.
78857         * include/libc-symbols.h: Remove comment about
78858         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78859         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78860         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78861         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78862         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78863         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78864         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78865         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78866         * elf/tst-unique2mod1.c: Likewise.
78867         * elf/tst-unique1mod2.c: Likewise.
78868         * elf/tst-unique1mod1.c: Likewise.
78869         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78870         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78871         Replace ASM_TYPE_DIRECTIVE with .type.
78872         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78873         * sysdeps/i386/sysdep.h: Likewise.
78874         * sysdeps/x86_64/sysdep.h: Likewise.
78875         * sysdeps/sh/sysdep.h: Likewise.
78876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78877         Do not define ASM_TYPE_DIRECTIVE.
78878         * sysdeps/powerpc/sysdep.h: Likewise.
78879         * sysdeps/powerpc/powerpc32/sysdep.h:
78880         Replace ASM_TYPE_DIRECTIVE with .type.
78881         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78882         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78883         * sysdeps/i386/fpu/e_powf.S: Likewise.
78884         * sysdeps/i386/fpu/e_expl.S: Likewise.
78885         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78886         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78887         * sysdeps/i386/fpu/e_pow.S: Likewise.
78888         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78889         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78890         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78891         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78892         * sysdeps/i386/fpu/e_log2.S: Likewise.
78893         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78894         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78895         * sysdeps/i386/fpu/e_powl.S: Likewise.
78896         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78897         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78898         * sysdeps/i386/fpu/e_logl.S: Likewise.
78899         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78900         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78901         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78902         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78903         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78904         * sysdeps/i386/fpu/e_log.S: Likewise.
78905         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78906         * sysdeps/i386/fpu/e_logf.S: Likewise.
78907         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78908         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78909         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78910         * sysdeps/i386/fpu/e_log10.S: Likewise.
78911         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78912         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78913         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78914         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78915         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78916         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78917         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78918         * sysdeps/i386/i686/strtok.S: Likewise.
78919         * sysdeps/i386/i386-mcount.S: Likewise.
78920         * sysdeps/i386/strtok.S: Likewise.
78921         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78922         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78923         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78924         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78925         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78926         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78927         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78928         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78929         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78930         * sysdeps/x86_64/_mcount.S: Likewise.
78931         * sysdeps/x86_64/strtok.S: Likewise.
78932         * sysdeps/sh/_mcount.S: Likewise.
78934 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78936         * libio/iofopen.c: Include <fcntl.h>.
78937         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78938         (_IO_fopen64, fopen64): Define as aliases.
78939         * libio/iofopen64.c: Include <fcntl.h>.
78940         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78941         Conditionalize body on this.
78942         * sysdeps/wordsize-64/iofopen.c: File removed.
78943         * sysdeps/wordsize-64/iofopen64.c: File removed.
78945 2012-08-01  Marek Polacek  <polacek@redhat.com>
78947         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78948         Use dlfcn directly instead of a variable.
78949         (binfmt-subdir): Do not define.
78950         (dlfcn): Likewise.
78952 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78955         Remove all definitions.
78956         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78957         <kernel-features.h>.
78958         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78959         (miss_F_GETOWN_EX): Remove all definitions.
78960         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78961         macro definition.
78962         [!__ASSUME_FCNTL64]: Remove conditional code.
78963         [__ASSUME_FCNTL64]: Make code unconditional.
78964         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78965         <kernel-features.h>.
78966         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78967         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78968         (lockf64) [__NR_fcntl64]: Make code unconditional.
78969         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78971         * sysdeps/unix/sysv/linux/kernel-features.h
78972         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78973         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78974         Make code unconditional.
78975         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78976         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78978         [__NR_vfork]: Make code unconditional.
78979         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78980         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78982         [__NR_vfork]: Make code unconditional.
78983         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78984         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78986 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78988         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78989         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78991         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78992         Define mkstemp64 as an alias.
78993         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78994         Define mkstemps64 as an alias.
78995         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78996         Define mkostemp64 as an alias.
78997         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78998         Define mkostemps64 as an alias.
78999         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
79000         Conditionalize body on this.
79001         * misc/mkostemp64.c: Likewise.
79002         * misc/mkostemps64.c: Likewise.
79003         * misc/mkstemps64.c: Likewise.
79004         * sysdeps/wordsize-64/mkstemp64.c: File removed.
79005         * sysdeps/wordsize-64/mkostemp64.c: File removed.
79006         * sysdeps/wordsize-64/mkostemp.c: File removed.
79007         * sysdeps/wordsize-64/mkstemp.c: File removed.
79008         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
79009         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
79010         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
79011         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
79013         [BZ #14138]
79014         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
79015         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
79016         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
79017         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
79019         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
79020         compat_symbol macros from <shlib-compat.h> rather than the underlying
79021         default_symbol_version and symbol_version macros, so that DEFAULT
79022         lines in shlib-versions are respected.
79023         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
79025 2012-08-01  Florian Weimer  <fweimer@redhat.com>
79027         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
79028         Declare with warn_unused_result.
79029         (setgid, setregid, setegid, setresgid): Likewise.
79030         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
79031         Likewise.
79032         * WUR-REPORT: Remove set*id functions.
79034 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
79036         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
79038 2012-07-31  Roland McGrath  <roland@hack.frob.com>
79040         [BZ #10191]
79041         * include/sys/socket.h (__libc_accept, __libc_accept4):
79042         Add attribute_hidden.
79043         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
79045         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
79046         use of PTR_MANGLE.
79047         * inet/getnetgrent_r.c (setup): Likewise.
79049         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
79051 2012-07-31  David S. Miller  <davem@davemloft.net>
79053         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79055 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
79057         [BZ #13629]
79058         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
79059         value between 1.0 and 2.0 and smaller part has absolute value less
79060         than 1.0.
79061         * math/s_clog10.c (__clog10): Likewise.
79062         * math/s_clog10f.c (__clog10f): Likewise.
79063         * math/s_clog10l.c (__clog10l): Likewise.
79064         * math/s_clogf.c (__clogf): Likewise.
79065         * math/s_clogl.c (__clogl): Likewise.
79066         * math/libm-test.inc (clog_test): Add more tests.
79067         (clog10_test): Likewise.
79068         * sysdeps/i386/fpu/libm-test-ulps: Update.
79069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79071 2012-07-31  Florian Weimer  <fweimer@redhat.com>
79073         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
79074         Exit with zero in case no suitable GID is found, and write a
79075         message to standard error.
79077 2012-07-30  Roland McGrath  <roland@hack.frob.com>
79079         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
79080         rather than to 1.
79081         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
79082         (MAXPATHLEN): Removed.
79083         (NOGROUP, NODEV): New macros.
79084         (setbit, clrbit, isset, isclr): New macros.
79085         (howmany, roundup, powerof2): New macros.
79086         (DEV_BSIZE): New macro.
79088         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
79089         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
79091         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
79092         definition on [!__NO_LONG_DOUBLE_MATH].
79094         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
79095         PTR_MANGLE and PTR_DEMANGLE.
79097         * socket/accept4.c (accept4): Rename to __libc_accept4.
79098         Define accept4 as a weak alias.
79100         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
79101         on [_DIRENT_HAVE_D_TYPE].
79102         * io/ftw.c (ftw_dir): Likewise.
79104         * io/xmknod.c (__xmknod): Don't check PATH for being null.
79106         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
79108         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
79109         Use the BSD numbers rather than the arbitrary ones we had.
79110         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
79111         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
79112         (SIGXCPU, SIGXFSZ): New macros.
79113         (_NSIG): Now 32.
79115         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
79116         initializer on [_LIBC_REENTRANT].
79118         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
79119         definitions inside [_POSIX_MAPPED_FILES].
79121         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
79123         * dirent/opendir.c: Include <fcntl.h>.
79125         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
79126         (__libc_getspecific): Likewise.
79127         (__libc_key_create): Likewise.
79129         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
79130         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
79131         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
79132         (tmpfile64): Define as alias.
79133         * sysdeps/wordsize-64/tmpfile.c: File removed.
79134         * sysdeps/wordsize-64/tmpfile64.c: File removed.
79135         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
79136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
79138         * stdio-common/vfscanf.c: Include <stdbool.h>.
79139         * nss/makedb.c: Likewise.
79140         * stdio-common/_i18n_number.h: Likewise.
79141         * argp/argp-help.c: Likewise.
79142         * posix/wordexp.c: Likewise.
79143         * sysdeps/posix/spawni.c: Likewise.
79144         * nss/nss_files/files-initgroups.c: Likewise.
79145         * stdio-common/reg-modifier.c: Include <stdlib.h>.
79146         * nss/nss_files/files-initgroups.c: Likewise.
79147         * nss/nss_db/db-netgrp.c: Likewise.
79148         * nss/nss_db/db-initgroups.c: Likewise.
79149         * io/fchmodat.c: Include <sys/stat.h>.
79151         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
79152         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
79154         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
79155         [HAVE_MMAP].
79157         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
79158         Add multiple inclusion protection.
79160 2012-07-27  David S. Miller  <davem@davemloft.net>
79162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79164 2012-07-27  Gary Benson  <gbenson@redhat.com>
79166         [BZ #14298]
79167         * elf/rtld.c: Include <stap-probe.h>.
79168         (dl_main): Added static probes "init_start" and "init_complete".
79169         * elf/dl-load.c: Include <stap-probe.h>.
79170         (lose): Take new parameter "nsid".
79171         Added static probe "map_failed".
79172         (_dl_map_object_from_fd): Pass namespace id to lose.
79173         Added static probe "map_start".
79174         (open_verify): Pass namespace id to lose.
79175         * elf/dl-open.c: Include <stap-probe.h>.
79176         (dl_open_worker) Added static probes "map_complete", "reloc_start"
79177         and "reloc_complete".
79178         * elf/dl-close.c: Include <stap-probe.h>.
79179         (_dl_close_worker): Added static probes "unmap_start" and
79180         "unmap_complete".
79181         * elf/rtld-debugger-interface.txt: New file documenting the above.
79183 2012-07-26  Roland McGrath  <roland@hack.frob.com>
79185         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79186         rather than a string variable.
79187         * sunrpc/rpc_main.c (h_output): Likewise.
79188         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79190 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
79192         * inet/check_native.c: New file.
79194 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
79196         [BZ #13629]
79197         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79198         if larger part has absolute value 1.0.
79199         * math/s_clog10.c (__clog10): Likewise.
79200         * math/s_clog10f.c (__clog10f): Likewise.
79201         * math/s_clog10l.c (__clog10l): Likewise.
79202         * math/s_clogf.c (__clogf): Likewise.
79203         * math/s_clogl.c (__clogl): Likewise.
79204         * math/libm-test.inc (clog_test): Add more tests.
79205         (clog10_test): Likewise.
79206         * sysdeps/i386/fpu/libm-test-ulps: Update.
79207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79209         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79210         (pltexit): Likewise.
79211         (La_regs): Likewise.
79212         (La_retval): Likewise.
79213         (int_retval): Likewise.
79214         Update #error for removed macros to refer only to definitions in
79215         tst-audit.h.
79216         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79217         macro.
79218         (pltexit): Likewise.
79219         (La_regs): Likewise.
79220         (La_retval): Likewise.
79221         (int_retval): Likewise.
79222         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79223         macro.
79224         (pltexit): Likewise.
79225         (La_regs): Likewise.
79226         (La_retval): Likewise.
79227         (int_retval): Likewise.
79228         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79229         macro.
79230         (pltexit): Likewise.
79231         (La_regs): Likewise.
79232         (La_retval): Likewise.
79233         (int_retval): Likewise.
79234         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79235         macro.
79236         (pltexit): Likewise.
79237         (La_regs): Likewise.
79238         (La_retval): Likewise.
79239         (int_retval): Likewise.
79240         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79241         macro.
79242         (pltexit): Likewise.
79243         (La_regs): Likewise.
79244         (La_retval): Likewise.
79245         (int_retval): Likewise.
79246         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79247         macro.
79248         (pltexit): Likewise.
79249         (La_regs): Likewise.
79250         (La_retval): Likewise.
79251         (int_retval): Likewise.
79252         * sysdeps/generic/tst-audit.h: Update comment to refer only to
79253         macro definitions in tst-audit.h.
79254         * sysdeps/i386/tst-audit.h: New file.
79255         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79256         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79257         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79258         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79259         * sysdeps/sh/tst-audit.h: Likewise.
79260         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79261         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79262         * sysdeps/x86_64/tst-audit.h: Likewise.
79264 2012-07-26  Andreas Jaeger  <aj@suse.de>
79266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79267         ptrace.
79269         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79270         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79271         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79272         PTRACE_O_MASK.
79273         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79274         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79275         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79277         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79278         value.
79280         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79281         _sigsys.
79282         (si_call_addr, si_syscall, si_arch): Define new macro.
79283         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79284         _sigsys.
79285         (si_call_addr, si_syscall, si_arch): Define new marcro.
79286         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79287         _sigsys.
79288         (si_call_addr, si_syscall, si_arch): Define new macro.
79289         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79290         _sigsys.
79291         (si_call_addr, si_syscall, si_arch): Define new macro.
79293 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79295         [BZ #13717]
79296         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79297         Change to 2.4.21 where previously 2.4.1.
79298         * sysdeps/unix/sysv/linux/configure: Regenerated.
79299         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79300         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79301         Linux kernel version.
79302         (__ASSUME_STD_AUXV): Remove.
79303         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79304         kernel version.
79305         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79306         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79307         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79308         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79309         (__ASSUME_NETLINK_SUPPORT): Likewise.
79310         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79311         (__no_netlink_support): Remove conditional definition.
79312         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79313         Remove.
79314         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79315         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79316         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79317         (if_nameindex_ioctl): Remove.
79318         (if_nameindex_netlink): Do not handle __no_netlink_support.
79319         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79320         code.
79321         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79322         Remove conditional code.
79323         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79324         code.
79325         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79326         unconditional.
79327         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79328         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79329         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79330         Remove.
79331         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79332         [!__ASSUME_STD_AUXV]: Remove conditional code.
79333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79334         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79335         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79337         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79338         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79339         code.
79340         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79342         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79343         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79344         conditional code.
79345         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79347         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79348         code.
79349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79350         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79351         conditional code.
79352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79353         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79354         code unconditional.
79355         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79356         conditional code.
79357         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79358         unconditional.
79359         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79360         conditional code.
79361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79362         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79363         unconditional.
79364         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79365         conditional code.
79366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79367         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79368         code unconditional.
79369         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79370         conditional code.
79371         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79372         unconditional.
79373         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79374         conditional code.
79375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79376         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79377         code unconditional.
79378         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79379         conditional code.
79380         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79381         unconditional.
79382         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79383         conditional code.
79385 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79387         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79388         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79389         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79390         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79391         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79392         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79393         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79394         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79395         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79396         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79397         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79398         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79399         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79400         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79401         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79402         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79403         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79404         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79405         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79406         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79407         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79408         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79409         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79411 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79413         * Versions.def: Add GLIBC_2.17.
79414         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79415         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79416         Introduce __libc_secure_getenv.
79417         * stdlib/Versions (2.17): Add secure_getenv
79418         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79419         * stdlib/secure-getenv.c: Rename __secure_getenv to
79420         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79421         symbol __secure_getenv for GLIBC_2.0.
79422         * stdlib/tst-secure-getenv.c: New.
79423         * stdlib/Makefile (tests): Add testcase.
79424         * manual/startup.texi (Environment Access): Document
79425         secure_getenv.
79426         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79427         __libc_secure_getenv.
79428         * inet/ruserpass.c (ruserpass): Likewise.
79429         * malloc/mtrace.c (mtrace): Likewise.
79430         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79431         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79432         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79433         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79434         HAVE_SECURE_GETENV.
79435         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79436         __secure_getenv to __libc_secure_getenv.
79437         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79439         Likewise.
79440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79441         Likewise.
79442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79444         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79445         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79446         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79450 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79452         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79453         (struct La_i86_retval): Likewise.
79454         (struct La_x86_64_regs): Likewise.
79455         (struct La_x86_64_retval): Likewise.
79456         (struct La_x32_regs): Likewise.
79457         (struct La_x32_retval): Likewise.
79458         (struct La_ppc32_regs): Likewise.
79459         (struct La_ppc32_retval): Likewise.
79460         (struct La_ppc64_regs): Likewise.
79461         (struct La_ppc64_retval): Likewise.
79462         (struct La_sh_regs): Likewise.
79463         (struct La_sh_retval): Likewise.
79464         (struct La_s390_32_regs): Likewise.
79465         (struct La_s390_32_retval): Likewise.
79466         (struct La_s390_64_regs): Likewise.
79467         (struct La_s390_64_retval): Likewise.
79468         (struct La_sparc32_regs): Likewise.
79469         (struct La_sparc32_retval): Likewise.
79470         (struct La_sparc64_regs): Likewise.
79471         (struct La_sparc64_retval): Likewise.
79472         (struct audit_ifaces): Remove architecture-specific pltenter and
79473         pltexit members.
79474         * sysdeps/i386/ldsodefs.h: New file.
79475         * sysdeps/powerpc/ldsodefs.h: Likewise.
79476         * sysdeps/s390/ldsodefs.h: Likewise.
79477         * sysdeps/sh/ldsodefs.h: Likewise.
79478         * sysdeps/sparc/ldsodefs.h: Likewise.
79479         * sysdeps/x86_64/ldsodefs.h: Likewise.
79481 2012-07-25  Marek Polacek  <polacek@redhat.com>
79483         [BZ #6808]
79484         * math/libm-test.inc (yn_test): Add another test.
79485         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79486         to ERANGE when the result is +-Inf.
79487         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79488         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79489         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79490         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79492 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79494         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79495         equal to 0.
79496         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79497         clock_t.
79498         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79500 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79502         * configure.in <sysdeps resolving>: Correct printing
79503         Implies_before.
79504         * configure: Regenerate.
79506 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79508         * math/w_ilogb.c: Include <limits.h>.
79509         * math/w_ilogbl.c: Likewise.
79511 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79513         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79514         va_copy.  Document allowing for unavailable va_copy only as
79515         pre-C99 compatibility.
79516         * manual/string.texi (Copying and Concatenation): Use va_copy
79517         instead of __va_copy in concat example.
79519 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79521         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79522         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79523         it if not null.
79525         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79526         with O_NOLINK passed to __file_name_lookup.
79528         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79529         with O_NOLINK passed to __file_name_lookup.
79531         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79532         negative N or less than NGIDS.
79534         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79535         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79536         enough.  Use memcpy instead of strncpy.
79538 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79540         * elf/Makefile (check-data): Remove.
79541         (localplt.data): New vpath directive.
79542         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79543         instead of $(check-data).
79544         * scripts/data/localplt-generic.data: Move to ...
79545         * sysdeps/generic/localplt.data: ... here.
79546         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79547         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79548         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79550         ... here.
79551         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79553         ... here.
79554         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79556         ... here.
79557         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79559         ... here.
79560         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79562         ... here.
79563         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79564         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79565         ... here.
79567 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79569         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79570         PPC32 and PPC64 files.
79571         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79572         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79574 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79576         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79577         __makecontext_ret to ...
79578         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79579         ... here and call exit if uc_link is NULL.  New file.
79580         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79581         __makecontext_ret.S.
79582         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79583         __makecontext_ret to ...
79584         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79585         ... here and call exit if uc_link is NULL.  New file.
79586         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79587         __makecontext_ret.S.
79589 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79591         * elf/elf.h (R_390_IRELATIVE): New definition.
79592         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79593         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79594         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79595         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79596         (elf_machine_lazy_rel): Likewise.
79597         * sysdeps/s390/dl-irel.h: New file.
79598         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79599         * sysdeps/s390/s390-64/memset.S: New asm code.
79600         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79601         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79602         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79603         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79604         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79605         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79606         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79607         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79608         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79609         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79610         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79611         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79612         * sysdeps/s390/s390-32/memset.S: New asm code.
79613         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79615 2012-07-17  Marek Polacek  <polacek@redhat.com>
79617         [BZ #14349]
79618         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79619         * sysdeps/s390/s390-64/configure.in: Likewise.
79620         * sysdeps/sparc/configure.in: Likewise.
79621         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79622         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79623         * sysdeps/i386/configure.in: Likewise.
79624         * sysdeps/x86_64/configure.in: Likewise.
79625         * sysdeps/sh/configure.in: Likewise.
79626         * sysdeps/s390/s390-32/configure: Regenerated.
79627         * sysdeps/s390/s390-64/configure: Likewise.
79628         * sysdeps/x86_64/configure: Likewise.
79629         * sysdeps/sh/configure: Likewise.
79630         * sysdeps/powerpc/powerpc64/configure: Likewise.
79631         * sysdeps/powerpc/powerpc32/configure: Likewise.
79632         * sysdeps/sparc/configure: Likewise.
79633         * sysdeps/i386/configure: Likewise.
79635         * elf/dl-open.c: Comment fixes.
79637 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79639         * Makefile [CXX] (check-data): Remove.
79640         [CXX] (c++-types.data): New vpath directive.
79641         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79642         vpath.  Do not allow for C++ type data being missing.
79643         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79644         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79645         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79646         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79647         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79648         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79649         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79651         ... here.
79652         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79653         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79654         ... here.
79655         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79657         ... here.
79658         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79660         ... here.
79661         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79662         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79663         ... here.
79664         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79666         ... here.
79667         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79668         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79669         ... here.
79670         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79671         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79673         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79674         definitions to architecture-specific files.
79675         (TLS_IE): Likewise.
79676         (TLS_LD): Likewise.
79677         (TLS_GD): Likewise.
79678         * sysdeps/i386/tls-macros.h: New file.
79679         * sysdeps/powerpc/tls-macros.h: Likewise.
79680         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79681         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79682         * sysdeps/sh/tls-macros.h: Likewise.
79683         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79684         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79685         * sysdeps/x86_64/tls-macros.h: Likewise.
79687 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79689         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79690         zero value for regular exit case.
79692         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79693         (__start_context): Preserve zero value for regular exit case.
79695 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79696             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79698         * manual/setjmp.texi (setcontext): Clarify normal process
79699         termination when uc_link is the null pointer.
79700         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79701         exit call.
79703 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79705         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79706         preprocessor.  Test for each exception mask separately.
79708 2012-07-16  Andreas Jaeger  <aj@suse.de>
79710         * po/ru.po: Update from translation team.
79712 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79714         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79715         equal to 0.
79716         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79717         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79718         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79719         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79720         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79722 2012-07-13  Andreas Jaeger  <aj@suse.de>
79724         * po/fr.po: Update from translation team.
79726 2012-07-12  Marek Polacek  <polacek@redhat.com>
79728         [BZ #14173]
79729         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79730         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79731         loop condition.
79733 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79735         [BZ #13717]
79736         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79737         Change to 2.4.1 where previously 2.4.0.
79738         * sysdeps/unix/sysv/linux/configure: Regenerated.
79739         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79740         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79741         version.
79742         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79743         (__ASSUME_AT_CLKTCK): Remove.
79744         (__ASSUME_AT_PAGESIZE): Likewise.
79745         (__ASSUME_AT_XID): Likewise.
79746         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79747         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79748         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79749         unconditionally.
79750         (HAVE_AUX_PAGESIZE): Likewise.
79751         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79752         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79753         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79755 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79757         [BZ #14307]
79758         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79759         the temporary buffer used to invoke __gethostbyname2_r,
79760         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79761         host_data / struct gaih_addrtuple.
79762         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79763         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79764         header file nss/nsswitch.h.
79765         * nss/nsswitch.h (global scope): Add definition of implementation
79766         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79767         resolv/nss_dns/dns-host.c).
79769 2012-07-11  Andreas Jaeger  <aj@suse.de>
79771         * po/fr.po: Update from translation team.
79773         * po/sv.po: Update from translation team
79774         * po/fr.po: Another update from translation team.
79776 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79778         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79779         for subnormals or multiply small sinh result by itself.
79780         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79783 2012-07-11  David S. Miller  <davem@davemloft.net>
79785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79787 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79789         [BZ #14347]
79790         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79791         (INTERNAL_MARK): Shift it here.
79793 2012-07-10  Marek Polacek  <polacek@redhat.com>
79795         [BZ #14151]
79796         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79797         libc_cv_asm_global_directive with .globl.
79798         * configure: Regenerated.
79799         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79800         with .globl.
79801         * sysdeps/i386/configure: Regenerated.
79802         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79803         with .globl.
79804         * sysdeps/x86_64/configure: Regenerated.
79805         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79806         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79807         * elf/tst-unique2mod2.c: Likewise.
79808         * elf/tst-unique2mod1.c: Likewise.
79809         * elf/tst-unique1mod2.c: Likewise.
79810         * elf/tst-unique1mod1.c: Likewise.
79811         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79812         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79813         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79814         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79815         * sysdeps/mach/sysdep.h: Likewise.
79816         * sysdeps/i386/sysdep.h: Likewise.
79817         * sysdeps/i386/i386-mcount.S: Likewise.
79818         * sysdeps/x86_64/_mcount.S: Likewise.
79819         * sysdeps/x86_64/sysdep.h: Likewise.
79820         * sysdeps/sh/_mcount.S: Likewise.
79821         * sysdeps/sh/sysdep.h: Likewise.
79822         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79823         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79824         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79825         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79826         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79827         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79828         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79829         * locale/localeinfo.h: Likewise.
79830         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79831         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79833 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79835         [BZ #14336]
79836         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79837         system".
79838         * manual/message.texi (The Uniforum approach): Likewise.
79839         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79840         (glibc iconv Implementation): Likewise.
79842 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79844         [BZ #14337]
79845         * math/s_clog.c (__clog): Avoid scaling a value down where that
79846         could result in underflow.
79847         * math/s_clog10.c (__clog10): Likewise.
79848         * math/s_clog10f.c (__clog10f): Likewise.
79849         * math/s_clog10l.c (__clog10l): Likewise.
79850         * math/s_clogf.c (__clogf): Likewise.
79851         * math/s_clogl.c (__clogl): Likewise.
79852         * math/libm-test.inc (clog_test): Add more tests.
79853         (clog10_test): Likewise.
79854         * sysdeps/i386/fpu/libm-test-ulps: Update.
79855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79857 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79859         [BZ #14283]
79860         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79861         by 7 not 8 to examine high bit of fractional part.
79863         [BZ #14042]
79864         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79865         for call to __mcount_internal.
79866         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79867         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79868         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79870 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79872         [BZ #14154]
79873         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79874         approximation for values within 0x1p-13f of an odd multiple of
79875         pi/4.
79876         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79877         exception.  Add more tests.
79878         * sysdeps/i386/fpu/libm-test-ulps: Update.
79880         [BZ #6778]
79881         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79882         inputs and return -1 for them.  Do not check for +Inf in case not
79883         reachable for +Inf.
79884         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79885         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79886         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79887         and return -1 for them.  Do not check for +Inf in case not
79888         reachable for +Inf.
79889         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79890         define.
79891         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79892         and return -1 for them.  Do not check for +Inf in case not
79893         reachable for +Inf.
79894         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79895         spurious underflow.
79896         * sysdeps/i386/fpu/libm-test-ulps: Update.
79897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79899 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79901         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79903 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79905         [BZ #14157]
79906         [BZ #14331]
79907         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79908         could result in spurious underflow.  Scale down values above
79909         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79910         * math/s_csqrtf.c (__csqrtf): Likewise.
79911         * math/s_csqrtl.c (__csqrtl): Likewise.
79912         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79913         spurious underflow.
79914         * sysdeps/i386/fpu/libm-test-ulps: Update.
79915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79917 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79919         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79920         xopen-msg.sed.
79921         * catgets/xopen-msg.awk: New file.
79922         * catgets/xopen-msg.sed: Removed.
79924         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79925         po2text.sed.
79926         * intl/po2test.awk: New file.
79927         * intl/po2test.sed: Removed.
79929 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79931         [BZ #14328]
79932         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79933         or multiply small sinh result by itself.
79934         * math/s_ctanf.c (__ctanf): Likewise.
79935         * math/s_ctanh.c (__ctanh): Likewise.
79936         * math/s_ctanhf.c (__ctanhf): Likewise.
79937         * math/s_ctanhl.c (__ctanhl): Likewise.
79938         * math/s_ctanl.c (__ctanl): Likewise.
79939         * math/libm-test.inc (ctan_test_tonearest): New function.
79940         (ctan_test_towardzero): Likewise.
79941         (ctan_test_downward): Likewise.
79942         (ctan_test_upward): Likewise.
79943         (ctanh_test_tonearest): Likewise.
79944         (ctanh_test_towardzero): Likewise.
79945         (ctanh_test_downward): Likewise.
79946         (ctanh_test_upward): Likewise.
79947         (main): Call these new functions.
79948         * sysdeps/i386/fpu/libm-test-ulps: Update.
79949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79951 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79953         * .gitignore: Delete /ports entry.
79955 2012-07-03  Andreas Jaeger  <aj@suse.de>
79957         * po/bg.po: Update from translation team.
79958         * po/cs.po: Likewise.
79959         * po/de.po: Likewise.
79960         * po/hr.po: Likewise.
79961         * po/nl.pl: Likewise.
79962         * po/pl.po: Likewise.
79963         * po/vi.po: Likewise.
79965 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79967         * Makeconfig [!+link] (+link-before-libc): New variable.
79968         [!+link] (+link-after-libc): Likewise.
79969         [!+link] (+link-tests): Likewise.
79970         [!+link] (+link): Define in terms of $(+link-before-libc) and
79971         $(+link-after-libc).
79972         [!+link-static] (+link-static-before-libc): New variable.
79973         [!+link-static] (+link-static-after-libc): Likewise.
79974         [!+link-static] (+link-static-tests): Likewise.
79975         [!+link-static] (+link-static): Define in terms of
79976         $(+link-static-before-libc) and $(+link-static-after-libc).
79977         [build-shared] (link-libc-before-gnulib): New variable.
79978         [build-shared] (link-libc-tests): Likewise.
79979         [build-shared] (link-libc): Define in terms of
79980         $(link-libc-before-gnulib).
79981         [!build-shared] (link-libc-tests): New variable.
79982         (link-libc-static-tests): New variable.
79983         [!gnulib] (gnulib-arch): New variable.
79984         [!gnulib] (gnulib-tests): Likewise.
79985         [!gnulib] (static-gnulib-arch): Likewise.
79986         [!gnulib] (static-gnulib-tests): Likewise.
79987         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79988         Define with "=" instead of ":=".
79989         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79990         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79991         * Rules (binaries-all-notests): New variable.
79992         (binaries-all-tests): Likewise.
79993         (binaries-static-notests): Likewise.
79994         (binaries-static-tests): Likewise.
79995         (binaries-all): Define using $(binaries-all-notests) and
79996         $(binaries-all-tests).
79997         (binaries-static): Define using $(binaries-static-notests) and
79998         $(binaries-static-tests).
79999         (binaries-shared-tests): New variable.
80000         (binaries-shared-notests): Likewise.
80001         (binaries-shared): Remove variable.
80002         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
80003         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
80004         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
80005         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
80006         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
80007         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
80008         * elf/Makefile (sln-modules): New variable.
80009         (extra-objs): Add $(sln-modules:=.o).
80010         (ldconfig-modules): Add static-stubs.
80011         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
80012         * elf/static-stubs.c: New file.
80014         [BZ #14283]
80015         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
80016         by 7 not 8 to examine high bit of fractional part.  Use volatile
80017         variables when splitting into final array of floats if
80018         __FLT_EVAL_METHOD__ != 0.
80019         * math/libm-test.inc (cos_test): Add another test.
80020         (sin_test): Likewise.
80021         * sysdeps/i386/fpu/libm-test-ulps: Update.
80023         [BZ #14273]
80024         * math/libm-test.inc (cosh_test): Add more tests.
80026         * version.h (RELEASE): Set to "development".
80027         (VERSION): Set to "2.16.90".
80029 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
80031         * NEWS: Update copyright. Remove last-updated date.
80032         Mention math library bug fixes and timezone data changes.
80033         * README: Mention GNU/Hurd, x32, and HPPA support status.
80035 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
80037         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
80039 2012-06-27  Andreas Jaeger  <aj@suse.de>
80041         * manual/contrib.texi (Contributors): Add Samuel Thibault.
80043 2012-06-25  Andreas Jaeger  <aj@suse.de>
80045         * sysdeps/s390/fpu/libm-test-ulps: Update.
80047 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
80048             Thomas Schwinge  <thomas@codesourcery.com>
80050         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
80051         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
80052         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
80053         fanotify_mark.
80055 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
80057         * sysdeps/mach/start.c: Remove file.
80058         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
80059         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
80060         * sysdeps/sh/init-first.c: Likewise.
80062         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
80063         registers for frame unwinding purposes, add CFI directives.
80064         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80065         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
80066         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
80067         Likewise.
80069         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
80070         __fortify_fail returning.
80071         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80073         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
80074         sysdeps/sh/____longjmp_chk.S.
80075         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
80076         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
80077         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
80078         (gen-as-const-headers): Append sigaltstack-offsets.sym.
80080         * sysdeps/sh/abort-instr.h: New file.
80081         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
80082         process in case exit returns.
80084         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
80085         initialize the GOT register before use.
80087         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
80088         calculation of ARGC > 4.
80090         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
80091         meaningful names to some local labels.
80093 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80094             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80096         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
80097         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
80098         (__arch_compare_and_exchange_val_16_acq): Likewise.
80099         (__arch_compare_and_exchange_val_32_acq): Likewise.
80100         (atomic_exchange_and_add): Fix gUSA sequence.
80101         (atomic_add): Likewise.
80102         (atomic_add_negative): Likewise.
80103         (atomic_add_zero): Likewise.
80104         (atomic_bit_test_set): Likewise.
80106 2012-06-22  Andreas Schwab  <schwab@redhat.com>
80108         [BZ #13579]
80109         * include/link.h (struct link_map): Add l_free_initfini.
80110         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
80111         l_initfini.
80112         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80113         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
80114         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
80115         set.
80117 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
80119         * configure.in: Use AC_LANG_SOURCE.
80120         * configure: Regenerate.
80122 2012-06-22  Roland McGrath  <roland@hack.frob.com>
80124         * configure.in (libc_cv_localstatedir): New substituted variable.
80125         * configure: Regenerated.
80126         * config.make.in (localstatedir): New variable, substituted from
80127         libc_cv_localstatedir.
80128         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
80129         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
80130         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
80131         * sysdeps/gnu/configure: Regenerated.
80133 2012-06-21  Jeff Law  <law@redhat.com>
80135         [BZ #14277]
80136         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
80137         free.  Simplify list management for _LIBC case.
80139 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
80141         [BZ #14273]
80142         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
80143         Clear sign bit of 64-bit integer value before comparing against
80144         overflow value.
80146         * sysdeps/mach/configure: Regenerated.
80148 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
80150         [BZ #14278]
80151         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
80153 2012-06-21  Jeff Law  <law@redhat.com>
80155         [BZ #13882]
80156         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
80157         uint16_t for elements in the "seen" array to avoid char overflows.
80158         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80159         * elf/dl-open.c (dl_open_worker): Likewise.
80161 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
80163         * scripts/list-sources.sh: Scan PORTS for translations.
80164         * po/libc.pot: Regenerated.
80166 2012-06-21  Andreas Jaeger  <aj@suse.de>
80168         [BZ #12194]
80169         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80170         warning.
80171         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80172         * bits/byteswap-16.h (__bswap_16): Likewise.
80173         * bits/byteswap.h (__bswap_constant_16): Likewise.
80175 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
80177         [BZ #14117]
80178         * sysdeps/i386/fpu_control.h: Removed.
80179         * sysdeps/x86_64/fpu_control.h: Moved to ...
80180         * sysdeps/x86/fpu_control.h: Here.
80182         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80183         (_FPU_SETCW): Likewise.
80185 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
80187         [BZ #14117]
80188         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80189         * sysdeps/x86/fpu/bits/mathinline.h: This.
80190         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80192         [BZ #14050]
80193         [BZ #14117]
80194         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80195         functions if __x86_64__ is defined.
80197 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
80199         * string/endian.h: Add !__ASSEMBLER__ condition for including
80200         conversion interfaces.
80202 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
80204         [BZ #14241]
80205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80206         of ABS(x) in calculating zero to negative powers other than odd
80207         integers.
80208         * math/libm-test.inc (pow_test): Add more tests.
80210 2012-06-15  Andreas Jaeger  <aj@suse.de>
80212         * manual/contrib.texi (Contributors): Update entry of Liubov
80213         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80214         Machado Filho.
80216 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
80218         * string/string.h: Add __wur to GNU version of strerror_r.
80220 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
80222         [BZ #14229]
80223         * string/Makefile (tests): Add tst-strtok_r.
80224         * string/tst-strtok_r.c: New file.
80225         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80226         RAX_LP/RDX_LP on SAVE_PTR.
80228 2012-06-14  Roland McGrath  <roland@hack.frob.com>
80230         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80232 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
80234         * libm_test.inc (csqrt_test): Allow more spurious underflow
80235         exceptions.
80236         (j0_test): Likewise.
80237         (j1_test): Likewise.
80238         (y0_test): Likewise.
80239         (y1_test): Likewise.
80241 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
80243         * po/Makefile (libc.pot): Use UTF-8 charset.
80245 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
80247         [BZ #14210]
80248         Suppress sign-conversion warning from FD_SET.
80249         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80250         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80251         not unsigned long int.
80252         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80254 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
80256         [BZ #14050]
80257         [BZ #14117]
80258         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80259         __extern_always_inline instead of __extern_inline.
80260         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80261         (__signbit): Likewise.
80262         (__signbitl): Support C++ namespace.
80263         (lrintf): New inline function.
80264         (lrint): Likewise.
80265         (llrintf): Likewise.
80266         (llrint): Likewise.
80267         (fmaxf): Likewise.
80268         (fmax): Likewise.
80269         (fminf): Likewise.
80270         (fmin): Likewise.
80271         (rint): Likewise.
80272         (rintf): Likewise.
80273         (ceil): Likewise.
80274         (ceilf): Likewise.
80275         (floor): Likewise.
80276         (floorf): Likewise.
80277         (nearbyint): Likewise.
80278         (nearbyintf): Likewise.
80280 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80282         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80283         non-default versions.
80285 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80287         [BZ #14218]
80288         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80290 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80292         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80293         (FE_UPWARD, FE_DOWNWARD): Don't define.
80294         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80295         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80298         reading it.
80299         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80300         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80302 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80304         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80305         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80306         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80307         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80309 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80311         [BZ #14117]
80312         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80313         * sysdeps/i386/fpu/Implies: New file.
80314         * sysdeps/x86_64/fpu/Implies: Likewise.
80315         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80316         * sysdeps/x86/fpu/bits/fenv.h: This.
80318         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80319         __SSE_MATH__.
80321 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80323         [BZ #14134]
80324         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80325         character 0xffff that matches the last element of the
80326         conversion table.
80328 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80330         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80331         fmodl commit.
80333 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80335         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80336         values higher than 25.6283.
80338 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80340         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80341         subnormal exponent extraction and add some __builtin_expect.
80342         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80343         Fix for subnormal mantissa calculation.
80345 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80347         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80348         cpu2 is -1 and errno is not ENOSYS.
80350 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80352         [BZ #14117]
80353         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80354         * sysdeps/x86/bits/string.h: This.
80355         * sysdeps/x86_64/bits/string.h: Removed.
80357         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80358         if not compiling for x86-64, but compiling for >= i486.
80360         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80361         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80363         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80364         New macro from Linux kernel 3.4.0.
80365         (FP_XSTATE_MAGIC2): Likewise.
80366         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80367         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80368         (struct _fpx_sw_bytes): New struct.
80369         (struct _xsave_hdr): Likewise.
80370         (struct _ymmh_state): Likewise.
80371         (struct _xstate): Likewise.
80373         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80374         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80375         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80376         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80377         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80378         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80380         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80381         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80382         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80383         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80384         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80385         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80387 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80389         [BZ #13743]
80390         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80391         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80392         (sysdep_headers): Include sys/platform/ppc.h.
80393         * sysdeps/powerpc/test-gettimebase.c: Test for
80394         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80395         * manual/Makefile (appendices): Include platform.texi.
80396         * manual/contrib.texi (Contributors): Update @node pointers.
80397         * manual/maint.texi (Maintenance): Likewise.
80398         (Platform): New node.
80399         * manual/platform.texi: New file.  Document the new features.
80401 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80402             Jakub Jelinek  <jakub@redhat.com>
80404         [BZ #14188]
80405         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80406         where __builtin_expect is unavailable.
80408 2012-06-03  David S. Miller  <davem@davemloft.net>
80410         * stdlib/longlong.h: Updated from GCC.
80412 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80414         [BZ #14042]
80415         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80416         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80417         __mcount_internal.
80418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80419         (GLIBC_2.16): Likewise.
80421 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80423         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80425 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80428         (default-abi): New variable.
80429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80430         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80431         variable.
80432         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80433         Likewise.
80434         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80435         Likewise.
80436         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80437         Likewise.
80439         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80440         definition.  Document in comment.
80442 2012-06-01  David S. Miller  <davem@davemloft.net>
80444         * stdlib/longlong.h: Updated from GCC.
80446 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80448         [BZ #14117]
80449         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80450         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80451         sys/debugreg.h sys/io.h here.
80452         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80453         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80454         sys/io.h.
80455         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80456         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80457         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80458         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80459         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80460         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80462         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80463         Define only if __x86_64__ is defined.
80465 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80467         [BZ #14048]
80468         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80469         Use int64_t for variable i.
80470         * math/libm-test.inc (fmod_test): Add more tests.
80472         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80473         z computation is not scheduled after fetestexcept.
80474         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80475         Use math_force_eval instead of asm to ensure calculation scheduled
80476         before exception test.
80477         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80478         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80480 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80482         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80483         computation is not scheduled after fetestexcept.
80485 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80487         [BZ #14117]
80488         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80489         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80491 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80493         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80494         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80496 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80498         [BZ #14117]
80499         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80500         <bits/wordsize.h>.
80501         (__WCHAR_MIN): Support __WORDSIZE == 64.
80502         (__WCHAR_MAX): Likewise.
80504         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80505         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80507         [BZ #14183]
80508         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80509         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80511         [BZ #14117]
80512         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80513         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80515         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80516         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80518         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80519         Defined to 1 if __x86_64__ isn't defined.
80520         (_STAT_VER_LINUX_OLD): New.
80521         (st_atime): Remove duplicate.
80522         (st_mtime): Likewise.
80523         (st_ctime): Likewise.
80525 2012-05-31  David S. Miller  <davem@davemloft.net>
80527         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80528         entries.
80530 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80532         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80533         gen-libm-test.pl.
80535         [BZ #14132]
80536         * elf/dl-reloc.c: Include <_itoa.h>.
80537         (_dl_reloc_bad_type): Remove use of INTUSE.
80538         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80539         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80540         * stdio-common/psiginfo.c (psiginfo): Likewise.
80541         * stdio-common/psignal.c (psignal): Likewise.
80542         * string/strsignal.c (strsignal): Likewise.
80543         * include/signal.h (_sys_siglist): Declare hidden proto.
80544         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80545         INTVARDEF with libc_hidden_data_def.
80546         * stdio-common/itoa-udigits.c: Likewise.
80547         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80548         (_itoa_lower_digits_internal): Remove declaration.
80549         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80550         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80551         (_sys_sigabbrev_internal): Remove aliases.
80552         (_sys_siglist): Define hidden alias.
80554 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80556         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80557         bits/sysctl.h.
80559 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80561         [BZ #14117]
80562         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80563         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80565         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80566         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80567         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80568         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80569         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80570         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80572         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80573         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80574         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80576         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80577         with __addr.
80578         (insw): Likewise.
80579         (insl): Likewise.
80580         (outsb): Likewise.
80581         (outsw): Likewise.
80582         (outsl): Likewise.
80584         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80585         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80586         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80588         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80589         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80591         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80592         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80593         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80595         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80596         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80598         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80599         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80601         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80602         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80603         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80605         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80606         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80607         to ...
80608         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80610         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80611         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80612         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80614         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80615         for x86-64.
80616         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80618 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80620         * math/math.h (M_El): Use two more decimal places.
80621         (M_LOG2El): Likewise.
80622         (M_LOG10El): Likewise.
80623         (M_LN2l): Likewise.
80624         (M_LN10l): Likewise.
80625         (M_PIl): Likewise.
80626         (M_PI_2l): Likewise.
80627         (M_PI_4l): Likewise.
80628         (M_1_PIl): Likewise.
80629         (M_2_PIl): Likewise.
80630         (M_2_SQRTPIl): Likewise.
80631         (M_SQRT2l): Likewise.
80632         (M_SQRT1_2l): Likewise.
80634 2012-05-31  David S. Miller  <davem@davemloft.net>
80636         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80637         values between float registers.
80638         * sysdeps/sparc/sparc64/memset.S: Likewise.
80639         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80641 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80643         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80644         -D_FORTIFY_SOURCE=1.
80645         (CPPFLAGS-tst-longjmp_chk.c): Define.
80646         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80647         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80648         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80649         CFLAGS-tst-wchar-h.c.
80651 2012-05-31  Marek Polacek  <polacek@redhat.com>
80653         [BZ #14132]
80654         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80655         __endmntent_internal): Remove declaration.
80656         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80657         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80658         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80660 2012-05-30  David S. Miller  <davem@davemloft.net>
80662         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80663         (___Q_simulate_exceptions): Use real FP ops rather than writing
80664         into the %fsr.
80665         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80666         Likewise.
80668 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80670         [BZ #14117]
80671         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80672         * sysdeps/x86/bits/xtitypes.h: This.
80674         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80675         * sysdeps/x86/bits/wordsize.h: This.
80677         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80678         * sysdeps/x86/bits/huge_vall.h: This.
80680         * sysdeps/i386/bits/select.h: Removed.
80681         * sysdeps/x86_64/bits/select.h: Renamed to ...
80682         * sysdeps/x86/bits/select.h: This.
80684         * sysdeps/i386/bits/setjmp.h: Removed.
80685         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80686         * sysdeps/x86/bits/setjmp.h: This.
80688         * sysdeps/i386/bits/mathdef.h: Removed.
80689         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80690         * sysdeps/x86/bits/mathdef.h: This.
80692 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80694         [BZ #14132]
80695         * include/sys/socket.h (__connect_internal)
80696         (__libc_sa_len_internal): Remove declaration.
80697         (__connect, __libc_sa_len): Declare hidden_proto.
80698         (SA_LEN): Remove use of INTUSE.
80699         * socket/connect.c: Add libc_hidden_def.
80700         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80701         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80702         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80703         alias.
80704         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80705         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80706         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80707         of adding _internal alias.
80709 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80711         [BZ #14117]
80712         * sysdeps/i386/bits/link.h: Removed.
80713         * sysdeps/i386/bits/linkmap.h: Likewise.
80714         * sysdeps/x86_64/bits/link.h: Renamed to ...
80715         * sysdeps/x86/bits/link.h: This.
80716         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80717         * sysdeps/x86/bits/linkmap.h: This.
80719         * sysdeps/i386/bits/endian.h: Removed.
80720         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80721         * sysdeps/x86/bits/endian.h: This.
80723         * sysdeps/i386/bits/byteswap.h: Removed.
80724         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80725         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80726         * sysdeps/x86/bits/byteswap.h: This.
80727         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80728         * sysdeps/x86/bits/byteswap-16.h: This.
80729         * sysdeps/i386/Implies: Add x86.
80730         * sysdeps/x86_64/Implies: Likewise.
80732 2012-05-30  David S. Miller  <davem@davemloft.net>
80734         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80735         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80736         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80737         (FP_TRAPPING_EXCEPTIONS): Define.
80738         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80739         (FP_TRAPPING_EXCEPTIONS): Define.
80740         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80741         subnormals only when inexact has been signalled or underflow
80742         exceptions are enabled.
80743         (_FP_PACK_CANONICAL): Likewise.
80745 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80747         [BZ #14183]
80748         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80749         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80751 2012-05-30  Richard Henderson  <rth@twiddle.net>
80753         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80754         with #ifndef NOT_IN_libc.
80756         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80757         marked to avoid plt entry.
80759 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80761         [BZ #14112]
80762         * Makeconfig (default-abi): New macro.
80763         (abi-includes): Likewise.
80764         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80765         $(abi-$(default-abi)-lib-soname) for soname if defined.
80766         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80767         abi-variants.
80768         * Makefile (installed-stubs): Likewise.
80769         * include/stubs-biarch.h: Removed.
80770         * scripts/lib-names.awk: Only handle one library at a time.
80771         * scripts/soversions.awk: Remove WORDSIZE support.
80772         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80773         entries.
80774         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80775         Removed.
80776         (syscall-list-default-condition): Likewise.
80777         (syscall-list-default-condition): Likewise.
80778         (syscall-list-includes): Likewise.
80779         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80780         syscall-list-* with abi-*.  Handle undefined abi-variants.
80781         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80782         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80783         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80784         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80785         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80786         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80787         Removed.
80788         (syscall-list-32-options): Likewise.
80789         (syscall-list-32-condition): Likewise.
80790         (syscall-list-64-options): Likewise.
80791         (syscall-list-64-condition): Likewise.
80792         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80793         macro.
80794         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80795         Renamed to ...
80796         (abi-*): This.
80797         (abi-64-ld-soname): New macro.
80798         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80799         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80800         Renamed to ...
80801         (abi-*): This.
80802         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80803         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80805 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80807         * sysdeps/unix/sysv/linux/kernel-features.h
80808         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80809         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80810         include <kernel-features.h>.
80811         [!__NR_ftruncate64]: Remove conditional code.
80812         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80813         [__NR_ftruncate64]: Make code unconditional.
80814         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80815         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80816         include <kernel-features.h>.
80817         [!__NR_ftruncate64]: Remove conditional code.
80818         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80819         [__NR_ftruncate64]: Make code unconditional.
80820         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80822         include <kernel-features.h>.
80823         [!__NR_ftruncate64]: Remove conditional code.
80824         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80825         [__NR_ftruncate64]: Make code unconditional.
80826         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80828         include <kernel-features.h>.
80829         [!__NR_ftruncate64]: Remove conditional code.
80830         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80831         [__NR_ftruncate64]: Make code unconditional.
80832         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80834         * configure.in (libc_cv_fpie): Weaken to a compile test using
80835         LIBC_TRY_CC_OPTION.
80836         * configure: Regenerated.
80838 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80844         Refreshed.
80845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80851         Refreshed.
80853 2012-05-27  David S. Miller  <davem@davemloft.net>
80855         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80856         (___Q_zero): New.
80857         (__Q_simulate_exceptions): Return void.  Change to simulate
80858         exceptions by writing into the %fsr.
80859         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80860         (__Qp_handle_exceptions): Likewise.
80861         (numbers): Delete.
80862         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80863         __Qp_handle_exceptions.
80864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80865         __Qp_handle_exceptions.
80866         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80867         as unused and give dummy FP_RND_NEAREST initializer.
80868         (FP_INHIBIT_RESULTS): Define.
80869         (___Q_simulate_exceptions): Update declaration.
80870         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80871         formatting.
80872         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80873         as unused and give dummy FP_RND_NEAREST initializer.
80874         (__Qp_handle_exceptions): Update declaration.
80875         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80876         formatting.
80878 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80880         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80881         the temporary FPU control word.
80882         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80883         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80884         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80885         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80886         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80887         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80888         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80889         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80890         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80891         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80892         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80894 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80896         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80897         fields.
80899 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80901         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80902         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80903         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80904         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80905         Likewise.
80906         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80907         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80908         Likewise.
80910 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80912         * po/h.po: Update from translation team.
80914 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80916         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80918         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80919         handling of denormals.
80920         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80921         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80922         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80923         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80924         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80925         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80927         Likewise.
80929 2012-05-26  Marek Polacek  <polacek@redhat.com>
80931         [BZ #14152]
80932         * math/libm-test.inc (fma_test): Don't always expect underflow
80933         exception.
80935 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80937         [BZ #12416]
80938         * elf/tst-execstack.c: Include stackinfo.h.
80939         (do_test): Adjust test case to ensure that pthread_getattr_np
80940         behaviour remains the same after marking stack executable.
80942 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80944         * sysdeps/unix/sysv/linux/kernel-features.h
80945         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80946         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80947         kernel-features.h.
80948         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80949         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80950         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80951         kernel-features.h.
80952         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80953         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80955 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80957         * configure.in: Define the default includes to being none.
80958         * configure: Regenerated.
80960 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80962         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80963         * sysdeps/x86_64/setjmp.S: Likewise.
80964         * sysdeps/i386/bsd-setjmp.S: Likewise.
80965         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80966         * sysdeps/i386/setjmp.S: Likewise.
80967         * sysdeps/i386/__longjmp.S: Likewise.
80968         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80969         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80971         * include/stap-probe.h: New file.
80972         * configure.in: Handle --enable-systemtap.
80973         * configure: Regenerated.
80974         * config.h.in (USE_STAP_PROBE): New #undef.
80975         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80976         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80977         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80979 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80981         [BZ #13717]
80982         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80983         to 2.4.0 where earlier.
80984         * sysdeps/unix/sysv/linux/configure: Regenerated.
80985         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80986         <kernel-features.h>.
80987         [__ASSUME_32BITUIDS]: Make code unconditional.
80988         [!__ASSUME_32BITUIDS]: Remove conditional code.
80989         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80990         <kernel-features.h>.
80991         [__ASSUME_32BITUIDS]: Make code unconditional.
80992         [!__ASSUME_32BITUIDS]: Remove conditional code.
80993         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80994         [__ASSUME_32BITUIDS]: Make code unconditional.
80995         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80996         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80997         <kernel-features.h>.
80998         [__ASSUME_32BITUIDS]: Make code unconditional.
80999         [!__ASSUME_32BITUIDS]: Remove conditional code.
81000         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
81001         <kernel-features.h>.
81002         [__ASSUME_32BITUIDS]: Make code unconditional.
81003         [!__ASSUME_32BITUIDS]: Remove conditional code.
81004         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
81005         <kernel-features.h>.
81006         [__ASSUME_32BITUIDS]: Make code unconditional.
81007         [!__ASSUME_32BITUIDS]: Remove conditional code.
81008         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
81009         <kernel-features.h>.
81010         [__ASSUME_32BITUIDS]: Make code unconditional.
81011         [!__ASSUME_32BITUIDS]: Remove conditional code.
81012         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
81013         <kernel-features.h>.
81014         [__ASSUME_32BITUIDS]: Make code unconditional.
81015         [!__ASSUME_32BITUIDS]: Remove conditional code.
81016         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
81017         <kernel-features.h>.
81018         [__ASSUME_32BITUIDS]: Make code unconditional.
81019         [!__ASSUME_32BITUIDS]: Remove conditional code.
81020         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
81021         <kernel-features.h>.
81022         [__ASSUME_32BITUIDS]: Make code unconditional.
81023         [!__ASSUME_32BITUIDS]: Remove conditional code.
81024         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
81025         <kernel-features.h>.
81026         [__ASSUME_32BITUIDS]: Make code unconditional.
81027         [!__ASSUME_32BITUIDS]: Remove conditional code.
81028         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
81029         <kernel-features.h>.
81030         [__ASSUME_32BITUIDS]: Make code unconditional.
81031         [!__ASSUME_32BITUIDS]: Remove conditional code.
81032         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
81033         <kernel-features.h>.
81034         [__ASSUME_32BITUIDS]: Make code unconditional.
81035         [!__ASSUME_32BITUIDS]: Remove conditional code.
81036         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
81037         <kernel-features.h>.
81038         [__NR_setresgid] (__setresgid): Do not declare.
81039         [__ASSUME_32BITUIDS]: Make code unconditional.
81040         [!__ASSUME_32BITUIDS]: Remove conditional code.
81041         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
81042         <kernel-features.h>.
81043         [__NR_setresuid] (__setresuid): Do not declare.
81044         [__ASSUME_32BITUIDS]: Make code unconditional.
81045         [!__ASSUME_32BITUIDS]: Remove conditional code.
81046         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
81047         <kernel-features.h>.
81048         [__ASSUME_32BITUIDS]: Make code unconditional.
81049         [!__ASSUME_32BITUIDS]: Remove conditional code.
81050         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
81051         <kernel-features.h>.
81052         [__ASSUME_32BITUIDS]: Make code unconditional.
81053         [!__ASSUME_32BITUIDS]: Remove conditional code.
81054         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
81055         <kernel-features.h>.
81056         [__ASSUME_32BITUIDS]: Make code unconditional.
81057         [!__ASSUME_32BITUIDS]: Remove conditional code.
81058         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
81059         <kernel-features.h>.
81060         [__ASSUME_32BITUIDS]: Make code unconditional.
81061         [!__ASSUME_32BITUIDS]: Remove conditional code.
81062         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
81063         <kernel-features.h>.
81064         [__ASSUME_32BITUIDS]: Make code unconditional.
81065         [!__ASSUME_32BITUIDS]: Remove conditional code.
81066         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
81067         <kernel-features.h>.
81068         [__ASSUME_32BITUIDS]: Make code unconditional.
81069         [!__ASSUME_32BITUIDS]: Remove conditional code.
81070         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
81071         <kernel-features.h>.
81072         [__ASSUME_32BITUIDS]: Make code unconditional.
81073         [!__ASSUME_32BITUIDS]: Remove conditional code.
81074         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
81075         <kernel-features.h>.
81076         [__ASSUME_32BITUIDS]: Make code unconditional.
81077         [!__ASSUME_32BITUIDS]: Remove conditional code.
81078         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
81079         <kernel-features.h>.
81080         [__ASSUME_32BITUIDS]: Make code unconditional.
81081         [!__ASSUME_32BITUIDS]: Remove conditional code.
81082         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
81083         <kernel-features.h>.
81084         [__ASSUME_32BITUIDS]: Make code unconditional.
81085         [!__ASSUME_32BITUIDS]: Remove conditional code.
81086         * sysdeps/unix/sysv/linux/kernel-features.h
81087         (__ASSUME_SETRESUID_SYSCALL): Remove.
81088         (__ASSUME_SETRESGID_SYSCALL): Likewise.
81089         (__ASSUME_32BITUIDS): Likewise.
81090         (__ASSUME_LDT_WORKS): Likewise.
81091         (__ASSUME_O_DIRECTORY): Likewise.
81092         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
81093         architecture but not kernel version.
81094         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
81095         (__ASSUME_MMAP2_SYSCALL): Likewise.
81096         (__ASSUME_STAT64_SYSCALL): Likewise.
81097         (__ASSUME_IPC64): Likewise.
81098         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
81099         <kernel-features.h>.
81100         [__ASSUME_32BITUIDS]: Make code unconditional.
81101         [!__ASSUME_32BITUIDS]: Remove conditional code.
81102         * sysdeps/unix/sysv/linux/opendir.c: Do not include
81103         <kernel-features.h>.
81104         [__ASSUME_O_DIRECTORY]: Make code unconditional.
81105         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
81106         132096]: Remove conditional code.
81107         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
81108         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
81109         <kernel-features.h>.
81110         [__ASSUME_32BITUIDS]: Make code unconditional.
81111         [!__ASSUME_32BITUIDS]: Remove conditional code.
81112         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
81113         <kernel-features.h>.
81114         [__ASSUME_32BITUIDS]: Make code unconditional.
81115         [!__ASSUME_32BITUIDS]: Remove conditional code.
81116         * sysdeps/unix/sysv/linux/setegid.c: Do not include
81117         <kernel-features.h>.
81118         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
81119         unconditional.
81120         (__setresgid): Do not declare.
81121         [__ASSUME_32BITUIDS]: Make code unconditional.
81122         [!__ASSUME_32BITUIDS]: Remove conditional code.
81123         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
81124         <kernel-features.h>.
81125         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
81126         unconditional.
81127         (__setresuid): Do not declare.
81128         [__ASSUME_32BITUIDS]: Make code unconditional.
81129         [!__ASSUME_32BITUIDS]: Remove conditional code.
81130         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
81131         <kernel-features.h>.
81132         [__ASSUME_32BITUIDS]: Make code unconditional.
81133         [!__ASSUME_32BITUIDS]: Remove conditional code.
81134         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
81135         <kernel-features.h>.
81136         [__ASSUME_32BITUIDS]: Make code unconditional.
81137         [!__ASSUME_32BITUIDS]: Remove conditional code.
81139 2012-05-25  Richard Henderson  <rth@twiddle.net>
81141         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
81142         dl_hwcap to ifunc resolver.
81143         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
81144         elf_ifunc_invoke.
81145         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
81146         dl_hwcap to ifunc resolver.
81147         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
81149 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81151         [BZ #14153]
81152         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
81153         for |x| <= 2**-26, not 2**-57.
81154         * math/libm-test.inc (acos_test): Do not allow spurious underflow
81155         exception.
81157 2012-05-24  Jeff Law  <law@redhat.com>
81159         * stdio-common/Makefile (tests): Add bug25.
81160         * stdio-common/bug25.c: New test.
81162 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81164         [BZ #13576]
81165         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81166         multiple of MALLOC_ALIGNMENT in size.
81167         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81169 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81171         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81172         Require >= 256.
81173         (FILENAME_MAX): Use macro-int-constant.
81174         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
81175         (_IOFBF): Use macro-int-constant.
81176         (_IOLBF): Likewise.
81177         (_IONBF): Likewise.
81178         (SEEK_CUR): Likewise.
81179         (SEEK_END): Likewise.
81180         (SEEK_SET): Likewise.
81181         (TMP_MAX): Likewise.
81182         (EOF): Use macro-int-constant.  Require < 0.
81183         (NULL): Use macro-constant.  Require == 0.
81184         (stdin): Require type to be FILE *.
81185         (stdout): Likewise.
81186         (stderr): Likewise.
81187         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81188         macro-int-constant.
81189         (EXIT_SUCCESS): Likewise.
81190         (NULL): Use macro-constant.  Require == 0.
81191         (RAND_MAX): Use macro-int-constant.
81192         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81193         [C99-based standards] (strtof): Require function.
81194         [C99-based standards] (strtold): Likewise.
81195         [C99-based standards] (strtoll): Likewise.
81196         [C99-based standards] (strtoull): Likewise.
81197         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81198         [ISO || ISO99 || ISO11] (limits.h): Likewise.
81199         [ISO || ISO99 || ISO11] (math.h): Likewise.
81200         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81201         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81202         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81204 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
81206         [BZ #14132]
81207         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81208         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81209         * intl/dgettext.c (DCGETTEXT): Likewise.
81210         * intl/gettext.c (DCGETTEXT): Likewise.
81211         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81212         * posix/regex_internal.h (gettext): Likewise.
81213         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81214         Remove declaration.
81215         * include/argz.h (__argz_count_internal)
81216         (__argz_stringify_internal): Remove declaration.
81217         (__argz_count, __argz_stringify): Declare hidden proto.
81218         * intl/dcgettext.c: Remove use of INTDEF.
81219         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81220         * string/argz-stringify.c: Likewise.
81221         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81222         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81223         Declare hidden proto.
81224         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81225         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81226         Declare hidden proto.
81227         * include/stdio.h (__asprintf_internal): Don't declare.
81228         (__asprintf): Don't define as macro.  Declare hidden proto.
81229         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81230         (__fsetlocking): Declare hidden proto.
81231         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81232         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81233         hidden proto.
81234         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81235         (_IO_setlinebuf): Remove use of INTUSE.
81236         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81237         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81238         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81239         Remove declaration.
81240         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81241         (_IO_do_flush): Remove use of INTUSE.
81242         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81243         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81244         (_IO_adjust_column, _IO_least_wmarker)
81245         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81246         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81247         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81248         (_IO_default_doallocate, _IO_wdefault_doallocate)
81249         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81250         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81251         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81252         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81253         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81254         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81255         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81256         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81257         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81258         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81259         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81260         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81261         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81262         proto.
81263         (_IO_flush_all_internal, _IO_adjust_column_internal)
81264         (_IO_default_uflow_internal, _IO_default_finish_internal)
81265         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81266         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81267         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81268         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81269         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81270         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81271         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81272         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81273         (_IO_file_close_internal, _IO_file_close_it_internal)
81274         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81275         (_IO_file_init_internal, _IO_file_attach_internal)
81276         (_IO_file_fopen_internal, _IO_file_read_internal)
81277         (_IO_file_sync_internal, _IO_file_seek_internal)
81278         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81279         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81280         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81281         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81282         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81283         (_IO_list_all_internal, _IO_link_in_internal)
81284         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81285         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81286         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81287         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81288         (_IO_do_write_internal, _IO_padn_internal)
81289         (_IO_getline_info_internal, _IO_getline_internal)
81290         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81291         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81292         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81293         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81294         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81295         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81296         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81297         with libc_hidden_ver, remove use of INTUSE.
81298         * libio/genops.c: Likewise.
81299         * libio/freopen.c: Likewise.
81300         * libio/freopen64.c: Likewise.
81301         * libio/iofclose.c: Likewise.
81302         * libio/iofdopen.c: Likewise.
81303         * libio/iofflush.c: Likewise.
81304         * libio/iofflush_u.c: Likewise.
81305         * libio/iofgets.c: Likewise.
81306         * libio/iofgets_u.c: Likewise.
81307         * libio/iofopen.c: Likewise.
81308         * libio/iofopncook.c: Likewise.
81309         * libio/iofread.c: Likewise.
81310         * libio/iofread_u.c: Likewise.
81311         * libio/ioftell.c: Likewise.
81312         * libio/iofwrite.c: Likewise.
81313         * libio/iogetline.c: Likewise.
81314         * libio/iogets.c: Likewise.
81315         * libio/iogetwline.c: Likewise.
81316         * libio/iopadn.c: Likewise.
81317         * libio/iopopen.c: Likewise.
81318         * libio/ioseekoff.c: Likewise.
81319         * libio/ioseekpos.c: Likewise.
81320         * libio/iosetbuffer.c: Likewise.
81321         * libio/iosetvbuf.c: Likewise.
81322         * libio/ioungetc.c: Likewise.
81323         * libio/ioungetwc.c: Likewise.
81324         * libio/iovdprintf.c: Likewise.
81325         * libio/iovsprintf.c: Likewise.
81326         * libio/iovsscanf.c: Likewise.
81327         * libio/memstream.c: Likewise.
81328         * libio/obprintf.c: Likewise.
81329         * libio/oldfileops.c: Likewise.
81330         * libio/oldiofclose.c: Likewise.
81331         * libio/oldiofdopen.c: Likewise.
81332         * libio/oldiofopen.c: Likewise.
81333         * libio/oldiopopen.c: Likewise.
81334         * libio/oldstdfiles.c: Likewise.
81335         * libio/putc.c: Likewise.
81336         * libio/setbuf.c: Likewise.
81337         * libio/setlinebuf.c: Likewise.
81338         * libio/stdfiles.c: Likewise.
81339         * libio/strops.c: Likewise.
81340         * libio/vasprintf.c: Likewise.
81341         * libio/vscanf.c: Likewise.
81342         * libio/vsnprintf.c: Likewise.
81343         * libio/vswprintf.c: Likewise.
81344         * libio/wfiledoalloc.c: Likewise.
81345         * libio/wfileops.c: Likewise.
81346         * libio/wgenops.c: Likewise.
81347         * libio/wmemstream.c: Likewise.
81348         * libio/wstrops.c: Likewise.
81349         * libio/__fpurge.c: Likewise.
81350         * libio/__fsetlocking.c: Likewise.
81351         * assert/assert.c: Likewise.
81352         * debug/fgets_chk.c: Likewise.
81353         * debug/fgets_u_chk.c: Likewise.
81354         * debug/fread_chk.c: Likewise.
81355         * debug/fread_u_chk.c: Likewise.
81356         * debug/gets_chk.c: Likewise.
81357         * debug/obprintf_chk.c: Likewise.
81358         * debug/vasprintf_chk.c: Likewise.
81359         * debug/vdprintf_chk.c: Likewise.
81360         * debug/vsnprintf_chk.c: Likewise.
81361         * debug/vsprintf_chk.c: Likewise.
81362         * malloc/mtrace.c: Likewise.
81363         * misc/error.c: Likewise.
81364         * misc/syslog.c: Likewise.
81365         * stdio-common/asprintf.c: Likewise.
81366         * stdio-common/fxprintf.c: Likewise.
81367         * stdio-common/getw.c: Likewise.
81368         * stdio-common/isoc99_fscanf.c: Likewise.
81369         * stdio-common/isoc99_scanf.c: Likewise.
81370         * stdio-common/isoc99_vfscanf.c: Likewise.
81371         * stdio-common/isoc99_vscanf.c: Likewise.
81372         * stdio-common/isoc99_vsscanf.c: Likewise.
81373         * stdio-common/printf-prs.c: Likewise.
81374         * stdio-common/printf_fp.c: Likewise.
81375         * stdio-common/printf_fphex.c: Likewise.
81376         * stdio-common/printf_size.c: Likewise.
81377         * stdio-common/putw.c: Likewise.
81378         * stdio-common/scanf.c: Likewise.
81379         * stdio-common/sprintf.c: Likewise.
81380         * stdio-common/tmpfile.c: Likewise.
81381         * stdio-common/vfprintf.c: Likewise.
81382         * stdio-common/vfscanf.c: Likewise.
81383         * stdlib/strfmon_l.c: Likewise.
81384         * sunrpc/openchild.c: Likewise.
81385         * sunrpc/xdr_stdio.c: Likewise.
81386         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81387         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81389 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81391         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81393         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81394         in the third column, to generate for the shared library an IFUNC
81395         that uses _dl_vdso_vsym.
81396         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81397         * Makeconfig (object-suffixes-noshared): New variable.
81399         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81400         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81401         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81402         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81404         [BZ #14132]
81405         * include/sys/time.h (__gettimeofday): Remove macro.
81406         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81407         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81408         Remove INTDEF.
81409         (__gettimeofday): Add libc_hidden_def.
81410         (gettimeofday): Add libc_hidden_weak.
81411         * sysdeps/mach/gettimeofday.c: Likewise.
81412         * sysdeps/posix/gettimeofday.c: Likewise.
81413         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81414         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81415         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81416         (__gettimeofday_internal): Remove strong_alias.
81417         (__gettimeofday): Add libc_hidden_def.
81418         (gettimeofday): Add libc_hidden_weak.
81419         * sysdeps/unix/syscalls.list (gettimeofday):
81420         Remove __gettimeofday_internal alias.
81422 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81423             H.J. Lu  <hongjiu.lu@intel.com>
81425         [BZ #12495]
81426         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81427         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81428         (largebin_index_32_big): New.
81429         (largebin_index): Use it for 16-byte alignment.
81430         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81431         correction with front_misalign.
81433 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81435         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81437         Likewise.
81438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81439         Likewise.
81440         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81441         Likewise.
81442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81443         Likewise.
81444         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81445         Likewise.
81446         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81447         Likewise.
81448         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81449         Likewise.
81450         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81451         Likewise.
81452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81453         Likewise.
81454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81455         Likewise.
81456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81457         Likewise.
81458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81459         Likewise.
81461         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81462         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81464 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81466         [BZ #10846]
81467         [BZ #14036]
81468         * math/libm-test.inc (exp_test): Add test from bug 14036.
81469         (pow_test): Add test from bug 10846.
81471         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81472         and other flags.
81473         (special_function): Do not include flags in test name.
81474         (parse_args): Likewise.
81475         * sysdeps/i386/fpu/libm-test-ulps: Update.
81476         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81477         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81478         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81481         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81482         exceptions.
81483         * math/libm-test.inc ("Philosophy"): Update comment about
81484         exception testing.
81485         (UNDERFLOW_EXCEPTION): New macro.
81486         (UNDERFLOW_EXCEPTION_OK): Likewise.
81487         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81488         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81489         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81490         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81491         (INVALID_EXCEPTION_OK): Update value.
81492         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81493         (OVERFLOW_EXCEPTION_OK): Likewise.
81494         (IGNORE_ZERO_INF_SIGN): Likewise.
81495         (test_exceptions): Handle underflow exceptions.
81496         (acos_test): Update for underflow exception expectations.
81497         (cexp_test): Likewise.
81498         (clog_test): Likewise.
81499         (clog10_test): Likewise.
81500         (csqrt_test): Likewise.
81501         (ctan_test): Likewise.
81502         (ctanh_test): Likewise.
81503         (exp_test): Likewise.
81504         (exp10_test): Likewise.
81505         (exp2_test): Likewise.
81506         (expm1_test): Likewise.
81507         (fma_test): Likewise.
81508         (j0_test): Likewise.
81509         (jn_test): Likewise.
81510         (nexttoward_test): Likewise.
81511         (pow_test): Likewise.
81512         (scalbn_test): Likewise.
81513         (scalbln_test): Likewise.
81514         (tan_test): Likewise.
81515         (y1_test): Likewise.
81516         * sysdeps/i386/fpu/libm-test-ulps: Update.
81517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81519 2012-05-23  David S. Miller  <davem@davemloft.net>
81521         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81522         (__libc_sigaction): Remove unused local variables.
81524 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81526         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81528 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81530         mktime: avoid signed integer overflow
81531         * time/mktime.c (__mktime_internal): Do not mishandle the case
81532         where diff == INT_MIN.
81534         mktime: simplify computation of average
81535         * time/mktime.c (ranged_convert): Use new time_t_avg function
81536         instead of rolling our own (probably-slower) code.
81538         mktime: do not assume signed right shift propagates sign bit
81539         * time/mktime.c (isdst_differ): New static function.
81540         (__mktime_internal): No need to normalize tm_isdst now.
81541         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81542         tm_isdst values.
81544         mktime: merge another wrapv change from gnulib
81545         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81546         from some compilers.
81548         mktime: remove incorrect attempt at unusual arithmetics
81549         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81550         The code didn't really work on such machines anyway.
81551         (TYPE_MINIMUM): Assume two's complement.
81552         (twos_complement_arithmetic): Verify that long_int and time_t
81553         are two's complement (or unsigned, in the latter case).
81555         mktime: check signed shifts on long_int and time_t, too
81556         * time/mktime.c (SHR): Check that shifts work as desired
81557         on the types long_int and time_t too, as SHR is used on
81558         such types.
81560         mktime: do not assume 'long' is wide enough
81561         * time/mktime.c (verify): Move decl up.
81562         (long_int): New type.
81563         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81564         to remove assumption in the code that 'long' is wide enough to
81565         store year values.  This assumption is not true on x32 and on
81566         some non-glibc platforms.
81568         mktime: merge wrapv change from gnulib
81569         * time/mktime.c (WRAPV): New macro.
81570         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81571         (guess_time_tm, __mktime_internal): Do not assume that signed
81572         integer overflow wraps around; modern compilers generate code
81573         where this assumption is no longer valid.
81575 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81577         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81578         Replace "jmp L(pseudo_end)" with "ret".
81579         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81580         Likewise.
81582 2012-05-23  Andreas Jaeger  <aj@suse.de>
81584         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81585         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81587 2012-05-23  Andreas Jaeger  <aj@suse.de>
81588             Maximilian Attems  <max@stro.at>
81590         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81591         New macros.
81593 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81595         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81596         code so that pseudo_end is just ret and the stack pointer is
81597         correct also for static library in error case.
81599 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81601         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81602         move to syscalls.list.
81603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81608         * manual/install.texi (Running make install): Do not mention Linux
81609         kernel version for which pt_chown is not needed.
81610         (Linux): Do not mention problems with nscd with 2.0 kernels.
81611         * INSTALL: Regenerated.
81613 2012-05-23  Andreas Jaeger  <aj@suse.de>
81615         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81616         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81617         macro.
81618         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81619         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81620         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81621         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81622         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81623         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81624         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81625         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81626         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81627         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81628         * sysdeps/unix/sysv/linux/bits/in.h
81629         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81631 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81633         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81634         (PREPARE_VERSION): Just use assert instead, it will be elided
81635         under [NDEBUG] anyway.
81637 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81639         * sysdeps/unix/sysv/linux/Makefile: Include
81640         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81641         (sysdep_routines): Remove sysctl.
81642         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81643         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81644         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81645         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81646         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81648 2012-05-22  Andreas Jaeger  <aj@suse.de>
81650         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81651         that pseudo_end is just ret and the stack pointer is correct also
81652         for static library in error case.
81654 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81656         [BZ #14122]
81657         * nss/nsswitch.c (defconfig_entries): New variable.
81658         (__nss_database_lookup): Don't leak defconfig entries.
81659         (nss_parse_service_list): Don't leak on error paths.
81660         (free_database_entries): New function.
81661         (free_defconfig): New function.
81662         (free_mem): Move common code to free_database_entries.
81664 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81666         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81667         Add arch_prctl.
81668         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81670         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81671         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81672         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81673         New macro.
81674         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81675         (INTERNAL_SYSCALL_TYPES): Likewise.
81676         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81677         (LOAD_REGS_TYPES_[1-6]): Likewise.
81678         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81679         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81681 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81683         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81684         copysignl for GLIBC_2_0.
81685         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81686         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81688         logbl for GLIBC_2_0.
81689         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81690         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81692 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81694         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81695         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81697         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81698         Use "neg %eax".
81700         * time/mktime.c: Update copyright years.
81702 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81704         mktime: merge comment-quoting-style change from gnulib
81705         * time/mktime.c: Quote 'like this' in comments.
81706         The GNU coding standards suggest that we no longer quote `like this',
81707         as "`" and "'" are typically rendered asymmetrically nowadays.
81708         The typical gnulib style is to quote 'like this' when quoting
81709         code, and "like this" when quoting English.
81711         * time/mktime.c (compile-command): Add "-I.".
81713         mktime: merge mktime-internal.h change from gnulib
81714         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81716         mktime: merge time_r change from gnulib
81717         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81719         mktime: merge DEBUG change from gnulib
81720         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81721         case system <time.h> has a #define.
81723         mktime: merge <sys/types.h> change from gnulib
81724         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81725         since <time.t> is now guaranteed to define time_t.
81727         mktime: merge HAVE_CONFIG_H change from gnulib
81728         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81730 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81732         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81733         Use "neg %eax".
81735         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81736         __rlim_t cast.
81737         (struct rusage): Use anonymous union to pad each field to
81738         __syscall_slong_t.
81740 2012-05-21  David S. Miller  <davem@davemloft.net>
81742         * Makefules (o-iterator): Remove .s cases.
81743         (compile-command.s): Delete.
81744         (COMPILE.s): Delete.
81745         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81747 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81749         * configure.in (libc_cv_predef_stack_protector): Only consider
81750         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81751         * configure: Regenerated.
81753 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81755         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81756         New macro.  Use R*LP on int and pointer.
81757         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81758         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81759         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81760         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81762         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81763         [__WORDSIZE_TIME64_COMPAT32] instead of
81764         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81765         (struct utmp): Likewise.
81766         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81767         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81768         Renamed to ...
81769         (__WORDSIZE_TIME64_COMPAT32): This.
81770         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81771         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81772         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81773         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81774         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81775         (__WORDSIZE_TIME64_COMPAT32): New macro.
81777 2012-05-21  Andreas Jaeger  <aj@suse.de>
81779         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81780         only if [SHARED]. Add prototype for __wcschr_ia32.
81782 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81784         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81785         of %rbp unmolested in the jmp_buf while mangling the low bits.
81786         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81787         unmolested high bits of %rbp while demangling the low bits.
81788         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81790 2012-05-21  Andreas Jaeger  <aj@suse.de>
81792         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81793         * sunrpc/svc_simple.c: Use it for registerrpc.
81794         * sunrpc/xcrypt.c: Use it for passwd2des.
81796         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81798 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81800         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81801         Don't define if [__SYSCALL_WORDSIZE != 32].
81802         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81803         New macro.
81805 2012-05-21  Bruno Haible  <bruno@clisp.org>
81806             Andreas Jaeger  <aj@suse.de>
81808         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81809         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81810         inptr and inend for must_buffer_ch.
81811         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81812         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81813         * stdio-common/Makefile (tests): Remove bug15.
81814         (bug15-ENV): Remove macro.
81815         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81816         anymore.
81818 2012-05-19  Andreas Jaeger  <aj@suse.de>
81819             Roland McGrath  <roland@hack.frob.com>
81821         * manual/contrib.texi: Completely rewritten. It contains now an
81822         alphabetical list of contributors and their contributions.
81824 2012-05-21  Richard Henderson  <rth@twiddle.net>
81826         * misc/getauxval.c (__getauxval): Use unsigned long int.
81827         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81828         (getauxval): Use unsigned long int.
81830 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81832         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81834 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81836         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81837         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81838         __alignof__ (long double).
81840 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81842         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81844 2012-05-20  Richard Henderson  <rth@twiddle.net>
81846         * misc/getauxval.c: New file.
81847         * misc/sys/auxv.h: New file.
81848         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81849         (routines): Add getauxval.
81850         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81852         * elf/dl-sysdep.c (_dl_auxv): Remove.
81853         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81854         * elf/dl-support.c (_dl_auxv): New variable.
81855         (_dl_aux_init): Initialize it.
81856         * manual/startup.texi (Auxiliary Vector): New node.
81857         * sysdeps/generic/bits/hwcap.h: New file.
81858         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81859         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81860         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81861         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81862         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81863         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81865         Update.
81866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81868         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81869         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81873         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81875 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81879 2012-05-19  David S. Miller  <davem@davemloft.net>
81881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81883 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81885         [BZ #14123]
81886         * math/s_ccosh.c: Include <float.h>
81887         (__ccosh): Avoid internal overflow calculating sinh and cosh
81888         values before multiplying by sin and cos values.
81889         * math/s_ccoshf.c: Likewise.
81890         * math/s_ccoshl.c: Likewise.
81891         * math/s_csin.c: Likewise.
81892         * math/s_csinf.c: Likewise.
81893         * math/s_csinl.c: Likewise.
81894         * math/s_csinh.c: Likewise.
81895         * math/s_csinhf.c: Likewise.
81896         * math/s_csinhl.c: Likewise.
81897         * math/libm-test.inc (ccos_test): Add more tests.
81898         (ccosh_test): Likewise.
81899         (csin_test): Likewise.
81900         (csinh_test): Likewise.
81901         * sysdeps/i386/fpu/libm-test-ulps: Update.
81902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81904 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81906         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81907         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81909         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81911 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81913         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81914         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81915         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81916         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81917         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81918         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81919         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81920         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81921         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81922         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81923         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81924         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81925         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81926         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81927         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81928         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81929         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81930         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81931         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81932         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81933         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81934         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81935         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81936         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81937         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81938         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81939         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81940         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81941         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81942         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81943         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81945 2012-05-18  Andreas Jaeger  <aj@suse.de>
81947         * csu/.gitignore: Delete.
81949 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81951         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81952         (timex): Use __syscall_slong_t.
81954 2012-05-18  Andreas Jaeger  <aj@suse.de>
81955             Carlos O'Donell  <carlos_odonell@mentor.com>
81957         * manual/install.texi (Configuring and compiling): Update
81958         description about files modified in the source directory.
81959         * INSTALL: Regenerated.
81961 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81963         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81964         value.  Use "or" to set return value to -1.
81965         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81966         negate return value.
81968 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81970         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81971         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81972         failure if the compiler has Graphite support disabled.
81973         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81974         Likewise.
81975         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81976         (CFLAGS-memmove.c): Likewise.
81977         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81978         Likewise.
81980 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81982         * sysdeps/x86_64/x32/_itoa.h: New file.
81984         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81985         getdents system call only if kernel and user dirents have the
81986         same d_ino and d_off.
81988         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81989         LLONG_MAX != LONG_MAX.
81990         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81991         (_fitoa_word): Likewise.
81993         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81994         years.
81995         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81996         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81997         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81999         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
82000         include <bits/wordsize.h>.  Check __x86_64__ instead of
82001         __WORDSIZE.
82002         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
82003         if __x86_64__ is defined.  Use anonymous union on fpstate.
82005         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
82006         anonymous union.
82008 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
82010         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
82011         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
82012         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
82013         Refer to _rtld_local_ro instead of _rtld_global_ro.
82014         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
82015         Likewise.
82016         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
82017         Likewise.
82018         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
82019         Likewise.
82020         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
82021         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
82022         of _rtld_global, and rtld_progname instead of _dl_argv[0].
82024         [BZ #10882]
82025         * sysdeps/powerpc/powerpc32/dl-machine.c
82026         (__elf_machine_runtime_setup) [PROF]: Don't reference
82027         _dl_prof_resolve.
82029 2012-05-18  Andreas Jaeger  <aj@suse.de>
82031         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
82032         function only available for GCCs before 3.4 since GCC 3.4
82033         introduced a builtin.
82034         (lrint): Likewise.
82035         (llrintf): Likewise.
82036         (llrint): Likewise.
82037         (fmaxf): Likewise.
82038         (fmax): Likewise.
82039         (fminf): Likewise.
82040         (fmin): Likewise.
82041         (rint): Likewise.
82042         (rintf): Likewise.
82043         (nearbyint): Likewise.
82044         (nearbyintf): Likewise.
82045         (ceil): Likewise.
82046         (ceilf): Likewise.
82047         (floor): Likewise.
82048         (floorf): Likewise.
82050 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82052         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
82053         on both fields and cast pointer to __syscall_ulong_t.
82055         * bits/types.h (__fsword_t): New type.
82056         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
82057         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
82058         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82059         (__FSWORD_T_TYPE): Likewise.
82060         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82061         (__FSWORD_T_TYPE): Likewise.
82062         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82063         (__FSWORD_T_TYPE): Likewise.
82064         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
82065         (__FSWORD_T_TYPE): Likewise.
82066         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
82067         __SWORD_TYPE with __fsword_t.
82068         (statfs64): Likewise.
82070 2012-05-17  David S. Miller  <davem@davemloft.net>
82072         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
82074 2012-05-17  Andreas Jaeger  <aj@suse.de>
82076         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
82077         warning.
82079 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82081         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
82083 2012-05-17  Andreas Jaeger  <aj@suse.de>
82085         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
82086         when it is used.
82088 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
82090         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
82092 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82094         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
82095         * sysdeps/x86_64/tst-mallocalign1.c: New file.
82097 2012-05-17  Andreas Jaeger  <aj@suse.de>
82098             Carlos O'Donell  <carlos_odonell@mentor.com>
82100         [BZ #14059]
82101         * sysdeps/x86_64/multiarch/init-arch.h
82102         (bit_YMM_Usable): Rename to...
82103         (bit_AVX_Usable): ... this.
82104         (bit_FMA4_Usable): New macro.
82105         (bit_XMM_state): New macro.
82106         (bit_YMM_state): New macro.
82107         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
82108         [__ASSEMBLER__] (index_AVX_Usable): ... this.
82109         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
82110         (CPUID_OSXSAVE): New macro.
82111         (CPUID_AVX): New macro.
82112         (CPUID_FMA4): New macro.
82113         (index_YMM_Usable): Rename to...
82114         (index_AVX_Usable): ... this.
82115         (HAS_AVX): Use HAS_ARCH_FEATURE.
82116         (HAS_FMA4): Likewise.
82117         (HAS_YMM_USABLE): Remove.
82118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82119         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
82120         are present.
82121         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
82122         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
82123         * sysdeps/x86_64/multiarch/Makefile: Likewise.
82124         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
82125         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
82127 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
82129         * math/libm-test.c: Support platforms without multiple rounding modes.
82130         * math/bug-nextafter.c: Support platforms without FP exceptions.
82131         * math/bug-nexttoward.c: Likewise.
82132         * math/test-fenv.c: Likewise.
82133         * math/test-misc.c: Likewise.
82134         * stdlib/bug-getcontext.c: Likewise.
82136 2012-05-17  Andreas Jaeger  <aj@suse.de>
82138         * manual/examples/search.c (critter_cmp): Change signature to
82139         avoid warnings.
82140         * manual/string.texi (Collation Functions): Likewise.
82142 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82144         * bits/types.h: Fold copyright years.
82145         * bits/typesizes.h: Likewise.
82146         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
82147         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
82148         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
82149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
82150         * time/time.h: Likewise.
82152 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
82154         [BZ #208]
82155         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
82156         in instead of returning them.  Return void.
82157         (__libc_mallinfo): Accumulate over all arenas.
82158         (__malloc_stats): Adjust for change in int_mallinfo interface.
82160 2012-05-16  Roland McGrath  <roland@hack.frob.com>
82162         [BZ #10375]
82163         * configure.in (NM): Add AC_CHECK_TOOL for it.
82164         (libc_extra_cflags): New substituted variable.
82165         Check for -fstack-protector being used implicitly.
82166         * configure: Regenerated.
82167         * config.make.in (config-extra-cflags): New variable,
82168         gets @libc_extra_cflags@.
82169         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82171         [BZ #10375]
82172         * configure.in: Check for _FORTIFY_SOURCE being predefined.
82173         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82174         * configure: Regenerated.
82175         * config.make.in (CPPUNDEFS): New substituted variable.
82176         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82177         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82178         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82180 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82182         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82183         (mq_attr): Use __syscall_slong_t.
82185 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82187         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82188         Check __x86_64__ instead of __WORDSIZE.
82189         (_STAT_VER_LINUX): Likewise.
82190         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
82191         __syscall_ulong_t and __syscall_slong_t.
82192         (stat64): Likewise.
82194 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82196         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82198 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82200         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82202 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82204         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82205         __syscall_ulong_t.
82207         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82208         include <bits/wordsize.h>.  Check __x86_64__ instead of
82209         __WORDSIZE.
82210         (greg_t): Use "__extension__ long long int" if __x86_64__ is
82211         defined.
82212         (mcontext_t): Replace "unsigned long" with "unsigned long long".
82214         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82215         include <bits/wordsize.h>.  Check __x86_64__ instead of
82216         __WORDSIZE.
82217         (user_regs_struct): Use "__extension__ unsigned long long"
82218         instead of "unsigned long" if __x86_64__ is defined.
82219         (user): Likewise.  Pad after pointer field if __ILP32__ is
82220         defined.
82222 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
82224         * configure.in (makeinfo): Require version 4.5 or later.  Allow
82225         versions 5 to 9.
82226         * configure: Regenerated.
82227         * manual/install.texi (texinfo): Increase version requirement to
82228         4.5 or later.
82229         * INSTALL: Regenerated.
82231         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82233 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82235         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82237         * sysdeps/x86_64/x32/ffs.c: New file.
82239         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82240         __syscall_ulong_t.
82241         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82242         defined.  Use __syscall_ulong_t.
82243         (shminfo): Use __syscall_ulong_t.
82244         (shm_info): Likewise.
82246         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82247         __syscall_ulong_t.
82249         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82250         <bits/wordsize.h>.
82251         (msgqnum_t): Use __syscall_ulong_t.
82252         (msglen_t): Likewise.
82253         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
82254         __syscall_ulong_t.
82256         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82257         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82259         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82261         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82262         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82264         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82265         __syscall_slong_t.
82267         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82268         include <bits/wordsize.h>.  Check __x86_64__ instead of
82269         __WORDSIZE.
82271         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82272         "unsigned long long int" if __x86_64__ is defined.
82273         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82275         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82276         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82277         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82279         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82280         <stdint.h>.
82281         (GET_PC): Cast to uintptr_t first.
82282         (GET_FRAME): Likewise.
82283         (GET_STACK): Likewise.
82285         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82286         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82287         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82288         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82289         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82290         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82291         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82292         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82293         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82294         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82296         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82298         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82299         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82300         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82301         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82302         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82303         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82304         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82305         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82306         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82307         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82308         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82309         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82310         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82311         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82312         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82313         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82315 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82317         * Makerules (+depfiles): Also collect depfiles from .oS in
82318         $(extra-objs).
82319         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82320         .oS, $(libnldbl-routines)).
82322         * Makerules (native-compile-mkdep-flags): Define.
82323         * sunrpc/Makefile (extra-objs): Add $(addprefix
82324         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82325         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82326         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82327         calling $(make-target-directory).
82329 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82331         * bits/types.h (__snseconds_t): Removed.
82332         * time/time.h (struct timespec): Replace __snseconds_t with
82333         __syscall_slong_t.
82334         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82335         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82336         Likewise.
82337         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82338         (__SNSECONDS_T_TYPE): Likewise.
82339         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82340         (__SNSECONDS_T_TYPE): Likewise.
82341         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82342         (__SNSECONDS_T_TYPE): Likewise.
82344 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82346         * sysdeps/mach/hurd/bits/typesizes.h
82347         (__SYSCALL_SLONG_TYPE): New macro.
82348         (__SYSCALL_ULONG_TYPE): Likewise.
82350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82352         * bits/types.h (__syscall_slong_t): New type.
82353         (__syscall_ulong_t): Likewise.
82355         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82356         (__SYSCALL_ULONG_TYPE): Likewise.
82357         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82358         (__SYSCALL_SLONG_TYPE): Likewise.
82359         (__SYSCALL_ULONG_TYPE): Likewise.
82360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82361         (__SYSCALL_SLONG_TYPE): Likewise.
82362         (__SYSCALL_ULONG_TYPE): Likewise.
82363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82364         (__SYSCALL_SLONG_TYPE): Likewise.
82365         (__SYSCALL_ULONG_TYPE): Likewise.
82367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82369         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82370         Add sigaltstack-offsets.sym.
82371         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82372         <sigaltstack-offsets.h>.
82373         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82374         longjmp_msg pointer.
82375         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82376         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82377         signal stack.
82378         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82380 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82382         * elf/stackguard-macros.h: Remove file.
82383         * sysdeps/generic/stackguard-macros.h: New file.
82384         * sysdeps/i386/stackguard-macros.h: Likewise.
82385         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82386         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82387         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82388         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82389         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82390         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82391         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82392         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82393         <elf/stackguard-macros.h>.
82395         [BZ #14109]
82396         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82397         __aligned__ in attribute.
82398         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82399         (gregset_t): Likewise.
82401 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82403         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82404         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82405         * sysdeps/x86_64/x32/Implies-after: New file.
82407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82409         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82410         and access return value for _dl_profile_fixup.  Use R10_LP to
82411         load frame size.
82413 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82415         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82417 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82419         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82420         * sysdeps/x86_64/x32/sysdep.h: New file.
82422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82424         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82425         * sysdeps/x86_64/setjmp.S: Likewise.
82427 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82429         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82430         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82431         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82432         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82433         remove unused global constant.
82435 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82437         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82438         include of <not-cancel.h>.
82440 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82442         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82444 2012-05-15  Jeff Law  <law@redhat.com>
82445             Andreas Jaeger  <aj@suse.de>
82447         [BZ #13594]
82448         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82449         out from...
82450         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82451         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82452         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82453         code changing __hst_map_handle.map.
82455 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82457         * configure.in (sysnames): Look for Implies-before and Implies-after
82458         files.
82459         * configure: Regenerated.
82461 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82463         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82464         8-byte data alignment with LP_SIZE alignment.
82466 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82468         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82469         into R10_LP.
82471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82473         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82477         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82478         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82479         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82480         Likewise.
82481         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82483 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82485         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82486         (stackinfo_sub_sp): Likewise.
82488 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82490         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82491         RAX_LP.
82493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82495         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82496         into R*_LP.
82498 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82500         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82501         sizes into R*_LP.
82503 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82505         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82507 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82509         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82510         into R11_LP and load __x86_64_shared_cache_size_half into
82511         R8_LP.
82513 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82515         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82516         R8_LP.
82518 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82520         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82521         logb for POWER7.
82522         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82523         logbf for POWER7.
82524         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82525         logbl for POWER7.
82526         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82527         powerpc32/power7/fpu/s_logb.c via #include.
82528         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82529         powerpc32/power7/fpu/s_logbf.c via #include.
82530         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82531         powerpc32/power7/fpu/s_logbl.c via #include.
82533 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82535         * README.libm: Remove file.
82537 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82539         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82540         count for x32.  Use R*_LP and omit operand-size suffix.
82542 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82544         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82545         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82546         * sysdeps/x86_64/x32/shlib-versions: New file.
82548 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82550         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82551         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82552         Use _dl_fatal_printf instead.
82554 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82556         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82557         set if not set by the user.  Do not allow for being unset.
82558         * sysdeps/unix/sysv/linux/configure: Regenerated.
82560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82562         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82563         the `q' suffix from lea and replace .quad with ASM_ADDR.
82565 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82567         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82568         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82569         instead of $17.
82570         (PTR_DEMANGLE): Likewise.
82572 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82574         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82575         (LP_OP): Likewise.
82576         (ASM_ADDR): Likewise.
82577         (RAX_LP): Likewise.
82578         (RBP_LP): Likewise.
82579         (RBX_LP): Likewise.
82580         (RCX_LP): Likewise.
82581         (RDI_LP): Likewise.
82582         (RSI_LP): Likewise.
82583         (RSP_LP): Likewise.
82584         (R8_LP): Likewise.
82585         (R9_LP): Likewise.
82586         (R10_LP): Likewise.
82587         (R10_LP): Likewise.
82588         (R11_LP): Likewise.
82589         (R12_LP): Likewise.
82590         (R13_LP): Likewise.
82591         (R14_LP): Likewise.
82592         (R15_LP): Likewise.
82594 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82596         * sysdeps/x86_64/x32/dl-machine.h: New file.
82598 2012-05-14  Andreas Jaeger  <aj@suse.de>
82600         * manual/Makefile (subdir): Remove export of subdir.
82601         (all): Remove target.
82602         (.PHONY): Remove all from list.
82603         (mkinstalldirs): Remove.
82604         (.PHONY): Remove installdirs from list.
82605         ($(inst_infodir)/libc.info): Use make-target-directory.
82606         (installdirs): Remove.
82607         (subdir_%): Remove.
82608         (glibc-targets): Remove.
82609         (lib): Remove.
82610         (stubs): Remove.
82611         ($(objpfx)stubs ../po/manual.pot): Remove.
82612         ($(objpfx)stamp%): Remove.
82613         (make-target-directory): Remove.
82614         (subdir_install): Remove.
82615         (routines): Remove.
82616         (aux): Remove.
82617         (sources): Remove.
82618         (objects): Remove.
82619         (headers): Remove.
82621         [BZ #13750]
82622         * manual/.gitignore: Remove, it's not needed anymore.
82623         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82624         all files in it.
82625         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82626         directory.
82627         (texis): Renamed to $(objpfx)texis.
82628         (texis-path): New, contains path to generated files.
82629         (chapters.%): Use texis-path for complete path, add extra argument
82630         libc-texinfo.sh.
82631         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82632         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82633         (summary,texi, stamp-summary): Use complete path of
82634         files. Generate files in build dir.
82635         (dir-add.texi): Build in build dir.
82636         (libm-err.texi,stamp-libm-err): Likewise.
82637         (version.texi, stamp-version): Likewise.
82638         (.%c.texi): Likewise.
82639         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82640         (mostlyclean): Remove target.
82641         (realclean): Remove target.
82642         (generated): Add new variable with contents from mostlyclean and
82643         realclean, remove entries duplicated in common-mostlyclean, add
82644         stamp-libm-err and stamp-version.
82645         (generated-dirs): Add libc directory.
82646         ($(inst_infodir)/libc.info): Install files from build dir.
82648         * manual/install.texi (Configuring and compiling): Adjust since
82649         the info files are not part of the tar ball anymore.
82651 2012-05-14  Andreas Jaeger  <aj@suse.de>
82653         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82654         variable.
82656 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82658         [BZ #13717]
82659         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82660         to 2.2.0 where earlier.
82661         * sysdeps/unix/sysv/linux/configure: Regenerated.
82662         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82663         Remove conditional code.
82664         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82665         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82666         Remove conditional code.
82667         [!__NR_lchown]: Likewise.
82668         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82669         [__NR_lchown]: Likewise.
82670         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82671         comment referencing __ASSUME_LCHOWN_SYSCALL.
82672         * sysdeps/unix/sysv/linux/i386/sigaction.c
82673         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82674         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82675         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82676         Remove conditional code.
82677         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82678         (__protocol_available): Remove #if 0 code.
82679         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82680         conditional code.
82681         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82682         * sysdeps/unix/sysv/linux/kernel-features.h
82683         (__ASSUME_GETCWD_SYSCALL): Don't define.
82684         (__ASSUME_REALTIME_SIGNALS): Likewise.
82685         (__ASSUME_PREAD_SYSCALL): Likewise.
82686         (__ASSUME_PWRITE_SYSCALL): Likewise.
82687         (__ASSUME_POLL_SYSCALL): Likewise.
82688         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82689         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82690         non-SPARC.
82691         (__ASSUME_SIOCGIFNAME): Don't define.
82692         (__ASSUME_MSG_NOSIGNAL): Likewise.
82693         (__ASSUME_SENDFILE): Define unconditionally.
82694         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82695         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82696         conditional code.
82697         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82698         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82699         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82700         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82701         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82702         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82703         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82705         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82706         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82708         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82709         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82711         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82712         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82714         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82715         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82717         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82718         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82720         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82721         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82723         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82724         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82726         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82727         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82728         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82729         Remove conditional code.
82730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82731         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82732         Remove conditional code.
82733         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82734         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82735         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82736         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82737         Remove conditional code.
82738         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82739         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82740         Remove conditional code.
82741         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82742         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82743         Remove conditional code.
82744         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82745         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82746         Remove conditional code.
82747         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82748         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82749         Remove conditional code.
82750         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82751         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82752         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82753         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82754         * sysdeps/unix/sysv/linux/sigaction.c
82755         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82756         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82757         * sysdeps/unix/sysv/linux/sigpending.c
82758         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82759         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82760         * sysdeps/unix/sysv/linux/sigprocmask.c
82761         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82762         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82763         * sysdeps/unix/sysv/linux/sigsuspend.c
82764         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82765         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82766         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82767         (__libc_missing_rt_sigs): Remove.
82768         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82769         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82770         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82771         Remove conditional code.
82772         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82773         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82774         return 1.
82775         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82776         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82777         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82778         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82780 2012-05-14  Andreas Jaeger  <aj@suse.de>
82782         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82783         it's not used in glibc.
82784         (__coshm1): Likewise.
82785         (__acosh1p): Likewise.
82786         (__sgn): Likewise.
82788         * manual/string.texi (Copying and Concatenation): Add missing
82789         variable in concat example.
82790         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82792 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82794         [BZ #14103]
82795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82796         __builtin_clzl with __builtin_clzll.
82798 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82800         [BZ #14104]
82801         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82802         libc_freeres_ptr.
82804 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82806         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82807         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82808         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82809         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82811 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82813         * NEWS: Update ia64 info.
82815 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82817         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82818         used as bcopy.
82820 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82822         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82823         * sysdeps/unix/syscalls.list (dup3): Likewise.
82824         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82825         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82827 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82829         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82830         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82832 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82834         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82835         thread pointer.
82836         (TLS_IE): Use mov/add instead of movq/addq to load thread
82837         pointer.
82838         (TLS_GD_PREFIX): New.
82839         (TLS_GD): Use it.
82841 2012-05-11  David S. Miller  <davem@davemloft.net>
82843         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82844         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82845         (_FPU_SETCW): Likewise.
82847 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82849         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82850         is 32-byte aligned.
82852 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82854         [BZ #11837]
82855         * iconvdata/gb18030.c: Update tables.
82856         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82857         characters specially.
82858         (BODY for TO_LOOP): Add encoding of missing ranges.
82860 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82862         [BZ #13673]
82863         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82864         * sysdeps/mach/hurd/dup3.c: Likewise.
82865         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82866         * sysdeps/powerpc/memmove.c:: Likewise.
82868 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82870         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82871         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82873 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82875         * elf/elf.h (R_X86_64_RELATIVE64): New.
82876         (R_X86_64_NUM): Updated.
82877         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82878         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82879         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82880         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82881         tst-quad1pie tst-quad2pie
82882         (modules-names): Add tst-quadmod1 tst-quadmod2.
82883         ($(objpfx)tst-quad1): New dependency.
82884         ($(objpfx)tst-quad2): Likewise.
82885         ($(objpfx)tst-quad1pie): Likewise.
82886         ($(objpfx)tst-quad2pie): Likewise.
82887         * sysdeps/x86_64/tst-quad1.c: New file.
82888         * sysdeps/x86_64/tst-quad1pie.c: New file.
82889         * sysdeps/x86_64/tst-quad2.c: Likewise.
82890         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82891         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82892         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82893         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82894         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82896 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82898         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82899         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82900         * streams/stropts.h (t_scalar_t): Define type.
82902         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82903         (_PATH_PRESERVE): Set to "/var/lib".
82904         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82906         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82907         instead of int.
82909         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82910         if __dir_mkfile succeeded.
82912         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82913         checking for _hurd_dtablesize.  Unlock it right after having
82914         finished _hurd_dtable allocation.
82916 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82918         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82919         * sysdeps/mach/hurd/configure: Regenerated.
82920         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82921         special-casing to...
82922         * sysdeps/gnu/configure.in: ... this new file.
82923         * sysdeps/unix/sysv/linux/configure: Regenerated.
82924         * sysdeps/gnu/configure: New generated file.
82926         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82927         for Linux: use nsec instead of usec, as well as:
82928         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82929         members of type struct timespec.
82930         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82931         New macros.
82932         (struct stat64): Likewise.
82933         (_STATBUF_ST_NSEC): New macro.
82934         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82936         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82937         __strtoul_internal rather than strtoul.
82939 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82941         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82942         and reject them.
82944 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82946         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82947         which preserves existing values.
82948         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82950 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82952         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82953         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82954         greater than FD_SETSIZE.
82956 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82958         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82959         allocated, call __vm_protect to finish enabling the existing space, and
82960         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82961         allocate the remainder.
82963 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82965         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82966         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82968 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82970         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82971         sysdeps/mach/hurd/readlink.c.
82973         * posix/tst-sysconf.c (posix_options): Only use
82974         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82975         _POSIX_SYNCHRONIZED_IO when they are defined
82976         * sysdeps/mach/hurd/bits/posix_opt.h:
82977         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82978         (_XOPEN_REALTIME): Undefine macro.
82979         (_XOPEN_REALTIME_THREADS): Undefine macro.
82980         (_XOPEN_SHM): Undefine macro.
82981         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82982         macro to -1.
82983         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82984         macro to -1.
82985         (_POSIX_ASYNC_IO): Undefine macro.
82986         (_POSIX_PRIORITIZED_IO): Undefine macro.
82987         (_POSIX_SPIN_LOCKS): Define macro to -1.
82989         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82990         SA_NODEFER, SA_RESETHAND.
82991         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82992         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82993         F_DUPFD_CLOEXEC.
82995 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82997         * elf/Makefile (pldd-modules): Define unconditionally.
82999 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83001         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
83003 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83005         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
83006         Return ENOENT when name is empty.
83007         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
83009 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83011         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
83013         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
83015 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83017         Fix mlock in all cases except non-readable pages.
83018         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
83019         instead of VM_PROT_ALL as parameter to __vm_wire function.
83021         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
83022         (__mkdir): When path is `/', just fail with EEXIST.
83023         * sysdeps/mach/hurd/mkdirat.c: Likewise.
83025 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83027         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
83028         <sys/uio.h> (for writev).
83029         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
83030         and <sys/param.h> (for MIN).
83032 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
83034         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
83035         REQUESTED_TIME.  Properly set the remaining time and return EINTR
83036         if interrupted.
83038 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83040         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
83041         Depend on against $(link-rpcuserlibs).
83043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83045         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
83046         (__libc_stack_end): Do not use attribute_relro.
83047         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
83048         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
83049         to libthread-provided value.
83050         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
83051         attribute_relro.
83053 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83055         [BZ #3748]
83056         * bits/libc-lock.h (__libc_once_get): New macro.
83057         * sysdeps/mach/bits/libc-lock.h: Likewise.
83058         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
83059         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
83060         instead of using implementation details.
83062         * libio/fileops.c: Unconditionally include <kernel-features.h>.
83063         * libio/freopen.c: Likewise.
83064         * libio/freopen64.c: Likewise.
83065         * misc/syslog.c: Likewise.
83066         * nscd/connections.c: Likewise.
83067         * nscd/netgroupcache.c: Likewise.
83068         * sysdeps/posix/getcwd.c: Likewise.
83070 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83072         * math/w_ilogbf.c: Add #include <limits.h>.
83074 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83076         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
83077         path instead of returning without unlocking.
83079         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
83080         immediate-write ioctls.
83081         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
83083 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83085         * sysdeps/mach/hurd/i386/init-first.c (init): Use
83086         __builtin_frame_address instead of making assumptions about the
83087         location of the return address relative to DATA.  Force early load of
83088         the return address.
83089         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
83090         __builtin_frame_address.
83092         dup3 for GNU Hurd.
83093         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
83094         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
83095         implement dup3 and do some further code clean-ups.
83096         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83097         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
83099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83101         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
83103         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
83104         HURD_CRITICAL_END around holding _hurd_dtable_lock.
83105         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
83106         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
83107         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
83108         d->port.lock.
83110         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
83111         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
83112         when handler == SIG_ERR, not when handler != SIG_ERR.
83114 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83116         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
83117         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
83118         definitions.
83120         accept4 for GNU Hurd.
83121         * include/sys/socket.h (__libc_accept4): New prototype.
83122         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
83123         to implement __libc_accept4.
83124         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
83125         __libc_accept4.
83126         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
83128         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
83129         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
83130         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
83131         signal-defines.sym.
83133 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83135         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
83137 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83139         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
83140         assertion on O_CLOEXEC flag.
83141         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83142         * hurd/intern-fd.c: Likewise.
83143         * hurd/port2fd.c: Likewise.
83145 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83147         [BZ #3906]
83148         * bits/in.h (IPV6_PKTINFO): Define new macro.
83149         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
83151 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83153         [BZ #13954]
83154         [BZ #13955]
83155         [BZ #13956]
83156         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
83157         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
83158         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
83159         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83160         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83161         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83162         * math/libm-test.inc (logb_test) : Additional logb tests.
83164 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
83165             Andreas Jaeger  <aj@suse.de>
83167         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83168         * configure: Regenerated.
83169         * config.h.in (LINK_OBSOLETE_RPC): New macro.
83170         * config.make.in (link-obsolete-rpc): New substituted variable.
83171         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83172         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83173         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83174         (shared-only-routines): Don't set it under [link-obsolete-rpc],
83175         so that libc.a contains the symbols.
83176         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83177         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83178         * sunrpc/auth_none.c: Likewise.
83179         * sunrpc/auth_unix.c: Likewise.
83180         * sunrpc/authdes_prot.c: Likewise.
83181         * sunrpc/authuxprot.c: Likewise.
83182         * sunrpc/clnt_gen.c: Likewise.
83183         * sunrpc/clnt_perr.c: Likewise.
83184         * sunrpc/clnt_raw.c: Likewise.
83185         * sunrpc/clnt_simp.c: Likewise.
83186         * sunrpc/clnt_tcp.c: Likewise.
83187         * sunrpc/clnt_udp.c: Likewise.
83188         * sunrpc/clnt_unix.c: Likewise.
83189         * sunrpc/des_crypt.c: Likewise.
83190         * sunrpc/des_soft.c: Likewise.
83191         * sunrpc/get_myaddr.c: Likewise.
83192         * sunrpc/key_call.c: Likewise.
83193         * sunrpc/key_prot.c: Likewise.
83194         * sunrpc/netname.c: Likewise.
83195         * sunrpc/pm_getmaps.c: Likewise.
83196         * sunrpc/pm_getport.c: Likewise.
83197         * sunrpc/pmap_clnt.c: Likewise.
83198         * sunrpc/pmap_prot.c: Likewise.
83199         * sunrpc/pmap_prot2.c: Likewise.
83200         * sunrpc/pmap_rmt.c: Likewise.
83201         * sunrpc/publickey.c: Likewise.
83202         * sunrpc/rpc_cmsg.c: Likewise.
83203         * sunrpc/rpc_common.c: Likewise.
83204         * sunrpc/rpc_dtable.c: Likewise.
83205         * sunrpc/rpc_prot.c: Likewise.
83206         * sunrpc/rpc_thread.c: Likewise.
83207         * sunrpc/rtime.c: Likewise.
83208         * sunrpc/svc.c: Likewise.
83209         * sunrpc/svc_auth.c: Likewise.
83210         * sunrpc/svc_raw.c: Likewise.
83211         * sunrpc/svc_run.c: Likewise.
83212         * sunrpc/svc_tcp.c: Likewise.
83213         * sunrpc/svc_udp.c: Likewise.
83214         * sunrpc/svc_unix.c: Likewise.
83215         * sunrpc/svcauth_des.c: Likewise.
83216         * sunrpc/xcrypt.c: Likewise.
83217         * sunrpc/xdr.c: Likewise.
83218         * sunrpc/xdr_array.c: Likewise.
83219         * sunrpc/xdr_float.c: Likewise.
83220         * sunrpc/xdr_intXX_t.c: Likewise.
83221         * sunrpc/xdr_mem.c: Likewise.
83222         * sunrpc/xdr_rec.c: Likewise.
83223         * sunrpc/xdr_ref.c: Likewise.
83224         * sunrpc/xdr_sizeof.c: Likewise.
83225         * sunrpc/xdr_stdio.c: Likewise.
83227 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83229         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83230         change.  Update copyright years.
83232 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83234         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83236 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
83237             Joseph Myers  <joseph@codesourcery.com>
83238             Paul Pluzhnikov  <ppluzhnikov@google.com>
83240         [BZ #14012]
83241         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83242         requiring rpcgen.
83243         [cross-compiling] (extra-libs): Likewise.
83244         [cross-compiling] (extra-libs-others): Likewise.
83245         [cross-compiling] (librpcsvc-routines): Likewise.
83246         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83247         [cross-compiling] (omit-deps): Likewise.
83248         (sunrpc-CPPFLAGS): New variable.
83249         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83250         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83251         (cross-rpcgen-objs): New variable.
83252         (extra-objs): Append $(cross-rpcgen-objs).
83253         ($(cross-rpcgen-objs)): New rule.
83254         ($(objpfx)cross-rpcgen): Likewise.
83255         (rpcgen-cmd): Define to use $(built-program-file).  Expand
83256         comment.
83257         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83258         ($(objpfx)x%.stmp): Likewise.
83259         * sunrpc/proto.h [IS_IN_build] (_): Define.
83260         [IS_IN_build] (_libc_intl_domainname): Likewise.
83262 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83264         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83265         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83266         and R_X86_64_TPOFF64.
83268 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83270         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83271         sysdeps/unix/sysv/syscalls.list.
83272         (stime): Likewise.
83273         (utime): Likewise.
83274         * sysdeps/unix/sysv/syscalls.list: Remove file.
83276 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83278         [BZ #3440]
83279         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83280         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83281         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83282         (__LC_IDENTIFICATION): Make these macros useful in #if
83283         expressions, as required by C99.
83285 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83287         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83288         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83289         after this.
83291 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83293         * stdlib/longlong.h: Updated from GCC.
83295 2012-05-09  Andreas Jaeger  <aj@suse.de>
83297         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83298         default is first entry.
83299         (run_mode): Set type.
83300         (main): Remove informal message about syslog.
83301         (options): Fix typo.
83303         [BZ #14053]
83304         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83305         to asm.
83306         (lrint): Likewise.
83307         (llrintf): Likewise.
83308         (llrint): Likewise.
83309         (rint): Likewise.
83310         (rintf): Likewise.
83311         (nearbyint): Likewise.
83312         (nearbyintf): Likewise.
83314 2012-05-09  Andreas Jaeger  <aj@suse.de>
83315             Pedro Alves  <palves@redhat.com>
83317         * nscd/nscd.c (run_mode): Use enum.
83318         (main): Cleanup coding style issue.
83320 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83321             Andreas Jaeger  <aj@suse.de>
83323         * nscd/nscd.c (go_background): Replaced with...
83324         (run_mode): ... this.
83325         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83326         (options): Add -F --foreground.
83327         (main): Implement it.
83328         (parse_opt): Parse it.
83330 2012-05-09  Andreas Jaeger  <aj@suse.de>
83332         [BZ #14083]
83333         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83334         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83335         -Wconversion warning.
83336         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83337         Likewise.
83339 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83341         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83342         == 0.
83343         (LC_ALL): Use macro-int-constant.
83344         (LC_COLLATE): Likewise.
83345         (LC_CTYPE): Likewise.
83346         (LC_MESSAGES): Likewise.
83347         (LC_MONETARY): Likewise.
83348         (LC_NUMERIC): Likewise.
83349         (LC_TIME): Likewise.
83350         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83351         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83352         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83353         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83354         Specify type.
83355         [C99-based standards] (float_t): Expect type.
83356         [C99-based standards] (double_t): Expect type.
83357         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83358         type.
83359         [C99-based standards] (HUGE_VALL): Likewise.
83360         [C99-based standards] (INFINITY): Likewise.
83361         [C99-based standards] (NAN): Likewise.
83362         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83363         [C99-based standards] (FP_NAN): Likewise.
83364         [C99-based standards] (FP_NORMAL): Likewise.
83365         [C99-based standards] (FP_SUBNORMAL): Likewise.
83366         [C99-based standards] (FP_ZERO): Likewise.
83367         [C99-based standards] (FP_FAST_FMA): Use
83368         optional-macro-int-constant.  Specify type.  Require == 1.
83369         [C99-based standards] (FP_FAST_FMAF): Likewise.
83370         [C99-based standards] (FP_FAST_FMAL): Likewise.
83371         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83372         [C99-based standards] (FP_ILOGBNAN): Likewise.
83373         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83374         Specify type.
83375         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83376         [C99-based standards] (math_errhandling): Specify type.
83377         [ISO99 || ISO11] (signgam): Do not allow.
83378         [non-C99-based standards] (copysignf): Do not allow.
83379         [non-C99-based standards] (exp2f): Likewise.
83380         [non-C99-based standards] (log2f): Likewise.
83381         [non-C99-based standards] (modff): Allow.
83382         [non-C99-based standards] (erff): Do not allow.
83383         [non-C99-based standards] (erfcf): Likewise.
83384         [non-C99-based standards] (gammaf): Likewise.
83385         [non-C99-based standards] (hypotf): Likewise.
83386         [non-C99-based standards] (j0f): Likewise.
83387         [non-C99-based standards] (j1f): Likewise.
83388         [non-C99-based standards] (jnf): Likewise.
83389         [non-C99-based standards] (lgammaf): Likewise.
83390         [non-C99-based standards] (tgammaf): Likewise.
83391         [non-C99-based standards] (y0f): Likewise.
83392         [non-C99-based standards] (y1f): Likewise.
83393         [non-C99-based standards] (ynf): Likewise.
83394         [non-C99-based standards] (isnanf): Likewise.
83395         [non-C99-based standards] (acoshf): Likewise.
83396         [non-C99-based standards] (asinhf): Likewise.
83397         [non-C99-based standards] (atanhf): Likewise.
83398         [non-C99-based standards] (cbrtf): Likewise.
83399         [non-C99-based standards] (expm1f): Likewise.
83400         [non-C99-based standards] (ilogbf): Likewise.
83401         [non-C99-based standards] (log1pf): Likewise.
83402         [non-C99-based standards] (logbf): Likewise.
83403         [non-C99-based standards] (nextafterf): Likewise.
83404         [non-C99-based standards] (remainderf): Likewise.
83405         [non-C99-based standards] (rintf): Likewise.
83406         [non-C99-based standards] (scalbf): Likewise.
83407         [non-C99-based standards] (copysignl): Likewise.
83408         [non-C99-based standards] (exp2l): Likewise.
83409         [non-C99-based standards] (log2l): Likewise.
83410         [non-C99-based standards] (modfl): Allow.
83411         [non-C99-based standards] (erfl): Do not allow.
83412         [non-C99-based standards] (erfcl): Likewise.
83413         [non-C99-based standards] (gammal): Likewise.
83414         [non-C99-based standards] (hypotl): Likewise.
83415         [non-C99-based standards] (j0l): Likewise.
83416         [non-C99-based standards] (j1l): Likewise.
83417         [non-C99-based standards] (jnl): Likewise.
83418         [non-C99-based standards] (lgammal): Likewise.
83419         [non-C99-based standards] (tgammal): Likewise.
83420         [non-C99-based standards] (y0l): Likewise.
83421         [non-C99-based standards] (y1l): Likewise.
83422         [non-C99-based standards] (ynl): Likewise.
83423         [non-C99-based standards] (isnanl): Likewise.
83424         [non-C99-based standards] (acoshl): Likewise.
83425         [non-C99-based standards] (asinhl): Likewise.
83426         [non-C99-based standards] (atanhl): Likewise.
83427         [non-C99-based standards] (cbrtl): Likewise.
83428         [non-C99-based standards] (expm1l): Likewise.
83429         [non-C99-based standards] (ilogbl): Likewise.
83430         [non-C99-based standards] (log1pl): Likewise.
83431         [non-C99-based standards] (logbl): Likewise.
83432         [non-C99-based standards] (nextafterl): Likewise.
83433         [non-C99-based standards] (remainderl): Likewise.
83434         [non-C99-based standards] (rintl): Likewise.
83435         [non-C99-based standards] (scalbl): Likewise.
83436         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83437         [non-C99-based standards] (FP_*): Do not allow.
83438         [C99-based standards] (FP_*): Change to
83439         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83440         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83441         allow.
83442         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83443         (SIG_ERR): Likewise.
83444         [X/Open-based standards] (SIG_HOLD): Likewise.
83445         (SIG_IGN): Likewise.
83446         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83447         positive value.
83448         (SIGFPE): Likewise.
83449         (SIGILL): Likewise.
83450         (SIGINT): Likewise.
83451         (SIGSEGV): Likewise.
83452         (SIGTER): Likewise.
83453         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83454         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83455         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83456         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83457         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83458         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83459         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83460         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83461         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83462         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83463         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83464         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83465         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83466         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83467         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83468         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83469         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83470         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83471         [X/Open-based standards] (SIGTRAP): Likewise.
83472         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83473         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83474         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83475         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83476         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83477         allow.
83479 2012-05-08  Ian Wienand  <ianw@vmware.com>
83481         [BZ #14080]
83482         * time/tzset.c (__tzset_parse_tz): Update default rules for
83483         daylight time changes in the Energy Policy Act of 2005.
83485 2012-05-09  Andreas Jaeger  <aj@suse.de>
83487         [BZ #13983]
83488         * elf/ldconfig.c (parse_conf): Change string to make clear that
83489         ldconfig only issued a warning if ld.so.conf does not exist.
83491 2012-05-08  David S. Miller  <davem@davemloft.net>
83493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83494         movxtod instead of popping the value on the stack.
83496         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83498 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83500         * config.h.in: Add HAVE_ARM_PCS_VFP.
83502 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83504         [BZ #13979]
83505         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83506         checking but the checks are disabled for any reason.
83508 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83510         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83511         and ELF64_R_TYPE with ELFW(R_TYPE).
83513 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83515         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83516         (ulimit): Likewise.
83518         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83519         (settimeofday): Likewise.
83521 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83523         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83524         a struct th_u2 inside the union, and move tu_block/tu_code into
83525         a new th_u3 union of tu_block/tu_code inside of that.  Move
83526         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83527         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83528         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83529         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83530         (th_stuff): Change to th_u1.tu_stuff.
83531         (th_data): Define.
83532         (th_msg): Change to th_u1.th_u2.tu_data.
83534 2012-05-07  David S. Miller  <davem@davemloft.net>
83536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83538         [BZ #14074]
83539         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83540         (SETUP_PIC_REG): Use it.
83541         (SETUP_PIC_REG_LEAF): Use it.
83543 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83545         [BZ #13885]
83546         [BZ #13923]
83547         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83548         USE_AS_EXPM1L.
83549         (EXPL_FINITE): Likewise.
83550         (FLDLOG): Likewise.
83551         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83552         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83553         e_expl.S.
83554         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83555         USE_AS_EXPM1L.
83556         (EXPL_FINITE): Likewise.
83557         (FLDLOG): Likewise.
83558         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83559         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83560         e_expl.S.
83561         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83562         test of -max_value argument for long double.
83563         * sysdeps/i386/fpu/libm-test-ulps: Update.
83564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83566 2012-05-06  David S. Miller  <davem@davemloft.net>
83568         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83569         quad soft-float symbols whose references which are compiler
83570         generated.
83571         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83573 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83575         [BZ #13884]
83576         [BZ #13914]
83577         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83578         USE_AS_EXP10L.
83579         (EXPL_FINITE): Likewise.
83580         (FLDLOG): Likewise.
83581         (c0): Likewise.
83582         (c1): Likewise.
83583         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83584         Adjust comments for base varying.
83585         (__expl_finite): Change alias to EXPL_FINITE.
83586         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83587         e_expl.S.
83588         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83589         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83590         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83591         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83592         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83593         USE_AS_EXP10L.
83594         (EXPL_FINITE): Likewise.
83595         (FLDLOG): Likewise.
83596         (c0): Likewise.
83597         (c1): Likewise.
83598         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83599         Adjust comments for base varying.
83600         (__expl_finite): Change alias to EXPL_FINITE.
83601         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83602         tests for bugs.
83603         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83605         [BZ #14064]
83606         * math/libm-test.inc (check_float_internal): Correct ulp
83607         calculation for subnormal expected results.
83609 2012-05-06  Andreas Jaeger  <aj@suse.de>
83611         * Makeconfig (+math-flags): New, set to -frounding-math.
83612         (+cflags): Add +math-flags so that all of glibc gets compiled with
83613         it.
83615         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83617 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83619         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83620         Disable one test.
83622         [BZ #13787]
83623         [BZ #13922]
83624         [BZ #14036]
83625         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83626         (__ieee754_expl): Allow for and saturate large arguments.
83627         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83628         (u_threshold): Likewise.
83629         (__exp): Call __ieee754_exp before checking for overflow and
83630         underflow.
83631         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83632         (u_threshold): Likewise.
83633         (__expf): Call __ieee754_expf before checking for overflow and
83634         underflow.
83635         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83636         (u_threshold): Likewise.
83637         (__expl): Call __ieee754_expl before checking for overflow and
83638         underflow.
83639         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83640         (__ieee754_expl): Allow for and saturate large arguments.
83641         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83642         missing overflow exception on overflow.
83643         (expm1_test): Do not allow missing overflow exception on overflow.
83645         * sysdeps/i386/fpu/e_expl.c: Move to ...
83646         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83647         rather than using inline asm.
83648         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83649         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83650         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83652         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83653         (nice): Likewise.
83654         (poll): Likewise.
83655         (signal): Likewise.
83656         (time): Likewise.
83657         (times): Likewise.
83659 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83661         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83662         sysdeps/unix/common/syscalls.list.
83663         (fchmod): Likewise.
83664         (fchown): Likewise.
83665         (ftruncate): Likewise.
83666         (getrusage): Likewise.
83667         (gettimeofday): Likewise.
83668         (setpgid): Likewise.
83669         (setregid): Likewise.
83670         (setreuid): Likewise.
83671         (sigaction): Likewise.
83672         (truncate): Likewise.
83673         (vhangup): Likewise.
83674         * sysdeps/unix/common/syscalls.list: Remove file.
83675         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83676         * sysdeps/unix/sysv/linux/Implies: Likewise.
83678 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83680         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83681         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83682         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83683         Moved to ...
83684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83685         Here.
83686         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83687         to ...
83688         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83689         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83690         to ...
83691         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83692         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83693         to ...
83694         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83695         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83696         to ...
83697         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83698         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83699         to ...
83700         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83701         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83702         to ...
83703         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83704         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83705         to ...
83706         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83707         Here.
83708         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83709         to ...
83710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83711         Here.
83712         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83713         to ...
83714         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83715         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83716         Moved to ...
83717         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83718         Here.
83719         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83720         to ...
83721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83723 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83725         * sysdeps/unix/common/bits/dirent.h: Remove file.
83726         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83728         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83729         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83730         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83731         * sysdeps/unix/bsd/isatty.c: Likewise.
83732         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83733         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83734         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83736 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83738         [BZ #13563]
83739         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83740         long double comparison inaccuracies.
83741         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83742         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83744 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83746         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83747         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83749 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83751         [BZ #14049]
83752         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83753         nonzero digits before rounding a hex value.
83754         * stdlib/tst-strtod.c (tests): Add another test.
83756 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83758         * sysdeps/s390/fpu/libm-test-ulps: Update.
83760 2012-05-03  Andreas Jaeger  <aj@suse.de>
83762         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83763         does not get optimized out.
83764         (malloc_opt_barrier): New.
83766 2012-05-03  Andreas Jaeger  <aj@suse.de>
83767             Roland McGrath  <roland@hack.frob.com>
83769         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83770         intermediate file deletion.
83771         (generated): Add .symlist files.
83773 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83775         [BZ #13775]
83776         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83777         Redirect under this condition.
83778         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83779         [__USE_GNU] (__dprintf_chk): Not under this condition.
83780         [__USE_GNU] (__vdprintf_chk): Likewise.
83781         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83782         under this condition.
83783         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83784         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83785         [__USE_XOPEN2K8] (vdprintf): Likewise.
83786         [__USE_GNU] (__dprintf_chk): Not under this condition.
83787         [__USE_GNU] (__vdprintf_chk): Likewise.
83788         [__USE_GNU] (dprintf): Likewise.
83789         [__USE_GNU] (vdprintf): Likewise.
83791 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83793         * elf/Makefile (common-generated): Set this instead of generated for
83794         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83795         $(all-built-dso)-derived lists.
83797 2012-05-03  Andreas Jaeger  <aj@suse.de>
83799         * sysdeps/i386/fpu/libm-test-ulps: Update.
83801         * FAQ: Removed.
83802         * FAQ.in: Likewise.
83803         * scripts/gen-FAQ.pl: Likewise.
83804         * manual/install.texi (Installation): Point to online location of
83805         FAQ.
83806         * Makefile (files-for-dist): Remove FAQ.
83807         (FAQ): Remove.
83809 2012-05-02  Allan McRae  <allan@archlinux.org>
83811         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83812         (LDFLAGS-reldepmod5.so): Likewise.
83813         (LDFLAGS-reldep6mod1.so): Likewise.
83814         (LDFLAGS-reldep6mod4.so): Likewise.
83815         (LDFLAGS-reldep8mod3.so): Likewise.
83816         (LDFLAGS-unload4mod1.so): Likewise.
83817         (LDFLAGS-unload4mod2.so): Likewise.
83818         (LDFLAGS-tst-initorder): Likewise.
83819         (LDFLAGS-tst-initordera2.so): Likewise.
83820         (LDFLAGS-tst-initordera3.so): Likewise.
83821         (LDFLAGS-tst-initordera4.so): Likewise.
83822         (LDFLAGS-tst-initorderb2.so): Likewise.
83823         (LDFLAGS-noload): Likewise.
83824         (LDFLAGS-next): Likewise.
83825         (LDFLAGS-order2mod1.so): Likewise.
83826         (LDFLAGS-order2mod2.so): Likewise.
83827         (LDFLAGS-tst-initorder2): Likewise.
83828         (LDFLAGS-tst-initorder2a.so): Likewise.
83829         (LDFLAGS-tst-initorder2b.so): Likewise.
83830         (LDFLAGS-tst-initorder2c.so): Likewise.
83831         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83833 2012-05-02  David S. Miller  <davem@davemloft.net>
83835         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83837 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83839         [BZ #14055]
83840         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83842 2012-05-02  Andreas Jaeger  <aj@suse.de>
83844         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83845         since we manipulate rounding mode.
83846         (CPPFLAGS-test-idouble.c): Likewise.
83847         (CPPFLAGS-test-ifloat.c): Likewise.
83848         (CFLAGS-test-ldouble.c): Likewise.
83849         (CFLAGS-test-double.c): Likewise.
83850         (CFLAGS-test-float.c): Likewise.
83851         (CFLAGS-test-misc.c): Likewise.
83852         (CFLAGS-test-test-fenv.c): Likewise.
83854 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83856         [BZ #2550]
83857         [BZ #2570]
83858         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83859         comparisons to determine direction to adjust input.
83861 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83863         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83864         output to the target.
83866         * scripts/localplt.awk: New file.
83867         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83868         (check-localplt-CFLAGS): Variable removed.
83869         ($(all-built-dso:=.jmprel)): New static pattern rule.
83870         (generated): Add those targets.
83871         (localplt-built-dso): New variable.
83872         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83874         * elf/check-localplt.c: File removed.
83876         * scripts/check-execstack.awk: New file.
83877         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83878         (check-execstack-CFLAGS): Variable removed.
83879         ($(objpfx)check-execstack.h): Target removed.
83880         ($(objpfx)execstack-default): New target.
83881         (generated): Add that instead of check-execstack.h.
83882         ($(all-built-dso:=.phdr)): New static pattern rule.
83883         (generated): Add those targets.
83884         * elf/check-execstack.c: File removed.
83886         * scripts/check-textrel.awk: New file.
83887         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83888         (check-textrel-CFLAGS): Variable removed.
83889         (all-built-dso): Use := to define.o
83890         ($(all-built-dso:=.dyn)): New static pattern rule.
83891         (generated): Add those targets.
83892         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83893         * config.make.in (READELF): New substituted variable.
83894         * elf/check-textrel.c: File removed.
83896 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83898         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83899         allow.
83900         * conform/data/ctype.h-data [C99-based standards] (isblank):
83901         Expect function.
83902         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83903         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83904         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83905         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83906         Specify type.  Require positive value.
83907         (EILSEQ): Likewise.
83908         (ERANGE): Likewise.
83909         [ISO || POSIX] (EILSEQ): Do not expect.
83910         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83911         Specify type.  Require positive value.
83912         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83913         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83914         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83915         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83916         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83917         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83918         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83919         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83920         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83921         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83922         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83923         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83924         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83925         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83926         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83927         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83928         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83929         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83930         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83931         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83932         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83933         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83934         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83935         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83936         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83937         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83938         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83939         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83940         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83941         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83942         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83943         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83944         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83945         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83946         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83947         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83948         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83949         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83950         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83951         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83952         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83953         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83954         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83955         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83956         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83957         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83958         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83959         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83960         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83961         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83962         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83963         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83964         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83965         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83966         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83967         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83968         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83969         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83970         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83971         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83972         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83973         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83974         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83975         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83976         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83977         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83978         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83979         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83980         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83981         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83982         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83983         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83984         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83985         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83986         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83987         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83988         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83989         Require >= 2.
83990         (FLT_ROUNDS): Expect as macro, not constant.
83991         (FLT_MANT_DIG): Use macro-int-constant.
83992         (DBL_MANT_DIG): Likewise.
83993         (LDBL_MANT_DIG): Likewise.
83994         (FLT_DIG): Likewise.
83995         (DBL_DIG): Likewise.
83996         (LDBL_DIG): Likewise.
83997         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83998         (DBL_MIN_EXP): Likewise.
83999         (LDBL_MIN_EXP): Likewise.
84000         (FLT_MAX_EXP): Use macro-int-constant.
84001         (DBL_MAX_EXP): Likewise.
84002         (LDBL_MAX_EXP): Likewise.
84003         (FLT_MAX_10_EXP): Likewise.
84004         (DBL_MAX_10_EXP): Likewise.
84005         (LDBL_MAX_10_EXP): Likewise.
84006         (FLT_MAX): Use macro-constant.
84007         (DBL_MAX): Likewise.
84008         (LDBL_MAX): Likewise.
84009         (FLT_EPSILON): Use macro-constant.  Give upper bound.
84010         (DBL_EPSILON): Likewise.
84011         (LDBL_EPSILON): Likewise.
84012         (FLT_MIN): Likewise.
84013         (DBL_MIN): Likewise.
84014         (LDBL_MIN): Likewise.
84015         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
84016         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
84017         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
84018         [ISO11] (FLT_HAS_SUBNORM): Likewise.
84019         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
84020         [ISO11] (DBL_DECIMAL_DIG): Likewise.
84021         [ISO11] (FLT_DECIMAL_DIG): Likewise.
84022         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
84023         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
84024         [ISO11] (FLT_TRUE_MIN): Likewise.
84025         [ISO11] (LDBL_TRUE_MIN): Likewise.
84026         [ISO || ISO99 || ISO11] (*_t): Do not allow.
84027         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
84028         (SCHAR_MIN): Use macro-int-constant.  Specify type.
84029         (SCHAR_MAX): Likewise.
84030         (UCHAR_MAX): Likewise.
84031         (CHAR_MIN): Likewise.
84032         (CHAR_MAX): Likewise.
84033         (MB_LEN_MAX): Use macro-int-constant.
84034         (SHRT_MIN): Use macro-int-constant.  Specify type.
84035         (SHRT_MAX): Likewise.
84036         (USHRT_MAX): Likewise.
84037         (INT_MAX): Likewise.
84038         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
84039         bound negative.
84040         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
84041         bound with "U".
84042         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
84043         bound with "L".
84044         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
84045         bound negative.  Suffix upper bound with "L".
84046         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
84047         bound with "UL".
84048         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
84049         Specify type.
84050         [C99-based standards] (LLONG_MAX): Likewise.
84051         [C99-based standards] (ULLONG_MAX): Likewise.
84052         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
84053         == 0.
84054         [ISO11] (max_align_t): Require type.
84055         [ISO || ISO99 || ISO11] (*_t): Do not allow.
84057         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
84058         from $CFLAGS, without defining away __attribute__ calls.
84059         (checknamespace): Use $CFLAGS_namespace.
84061         * conform/conformtest.pl (@keywords): Only include C99 keywords
84062         for standards based on C99 or C11.
84064         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
84065         Disable tests.
84066         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
84067         UNIX98]: Likewise.
84069         * conform/conformtest.pl: Handle "macro-int-constant" and test for
84070         usability of symbols in #if.
84072         * conform/conformtest.pl: If macro or constant types start
84073         "promoted:", expect the symbol to be of the following type
84074         promoted by the integer promotions.
84076         * conform/conformtest.pl: Parse all "constant" and "macro" lines
84077         in one place.  Also handle "macro-constant".
84079         * conform/conformtest.pl: Only accept expected macro values with
84080         "==".  Parse all "macro" lines in one place.
84081         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
84083         * conform/conformtest.pl: Handle braced types on "constant" lines
84084         instead of handling "typed-constant".
84085         * conform/data/signal.h-data: Use "constant" instead of
84086         "typed-constant".
84088         * conform/conformtest.pl: Handle "optional-" at start of lines in
84089         one place rather than duplicating several cases.  Handle each
84090         format of "macro" line with initial "optional-".
84092         * conform/conformtest.pl: Only accept expected constant or
84093         optional-constant values with "==".  Parse all "constant" lines in
84094         one place.  Parse all "optional-constant" lines in one place.
84095         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
84096         * conform/data/fmtmsg.h-data: Likewise.
84097         * conform/data/netinet/in.h-data: Likewise.
84098         * conform/data/tar.h-data: Likewise.
84099         * conform/data/limits.h-data: Use "==" form on "constant" and
84100         "optional-constant" lines.
84102         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
84103         Use -std=c99 for XOPEN2K.
84104         (@knownproblems): Remove.
84105         (newtoken): Don't check %isknown.
84107         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
84108         Do not expect macro.
84109         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
84110         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
84111         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
84112         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
84113         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
84114         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
84115         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
84116         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
84117         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
84118         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
84119         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
84120         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
84121         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
84122         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
84123         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
84124         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
84125         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
84126         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
84127         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
84128         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
84129         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
84130         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
84131         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
84132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
84133         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
84134         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
84135         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
84136         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
84137         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
84138         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
84139         [XPG3] (acosh): Likewise.
84140         [XPG3] (asinh): Likewise.
84141         [XPG3] (atanh): Likewise.
84142         [XPG3] (cbrt): Likewise.
84143         [XPG3] (expm1): Likewise.
84144         [XPG3] (ilogb): Likewise.
84145         [XPG3] (log1p): Likewise.
84146         [XPG3] (logb): Likewise.
84147         [XPG3] (nextafter): Likewise.
84148         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
84149         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84150         [XPG3] (remainder): Likewise.
84151         [XPG3] (rint): Likewise.
84152         [XPG3 || XPG4 || UNIX98] (round): Likewise.
84153         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
84154         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
84155         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
84156         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
84157         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
84158         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
84159         [UNIX98 || XOPEN2K] (scalb): Expect.
84160         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84161         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84162         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84163         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84164         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84165         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84166         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84167         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84168         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84169         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84170         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84171         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84172         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84173         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84174         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84175         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84176         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84177         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84178         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84179         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84180         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84181         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84182         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84183         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84184         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84185         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84186         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84187         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84188         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84189         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84190         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84191         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84192         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84193         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84194         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84195         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84196         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84197         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84198         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84199         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84200         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84201         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84202         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84203         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84204         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84205         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84206         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84207         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84208         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84209         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84210         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84211         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84212         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84213         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84214         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84215         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84216         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84217         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84218         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84219         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84220         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84221         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84222         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84223         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84224         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84225         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84226         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84227         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84228         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84229         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84230         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84231         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84232         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84233         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84234         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84235         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84236         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84237         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84238         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84239         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84240         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84241         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84242         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84243         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84244         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84245         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84246         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84247         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84248         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84249         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84250         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84251         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84252         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84253         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84254         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84255         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84256         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84257         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84258         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84259         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84260         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84261         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84262         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84263         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84264         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84265         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84266         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84267         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84268         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84269         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84270         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84271         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84272         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84273         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84274         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84275         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84276         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84277         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84278         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84279         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84280         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84281         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84282         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84283         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84284         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84285         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84286         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84287         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84288         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84289         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84290         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84291         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84292         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84293         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84294         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84295         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84296         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84298         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84299         _XOPEN_SOURCE_EXTENDED for XPG4.
84301         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84303         * Makeconfig (localtime): Remove variable.
84304         (inst_localtime-file): Likewise.
84306 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84309         Update.
84310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84311         Update.
84312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84313         Update.
84314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84315         Update.
84316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84317         Update.
84318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84319         Update.
84320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84321         Update.
84322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84323         Update.
84324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84325         Update.
84327 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84329         [BZ #2550]
84330         [BZ #2570]
84331         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84332         comparisons to determine direction to adjust input.
84333         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84334         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84335         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84336         Likewise.
84337         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84338         Likewise.
84339         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84340         Likewise.
84341         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84342         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84343         Likewise.
84344         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84345         Likewise.
84346         * math/libm-test.inc (nexttoward_test): Add more tests.
84348 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84350         [BZ #14040]
84351         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84352         in version GLIBC_2.1, not GLIBC_2.0.
84353         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84354         Likewise.
84356 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84358         [BZ #13942]
84359         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84360         (1 - x) * (1 + x).
84361         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84362         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84363         * math/libm-test.inc (acos_test): Add more tests.
84364         (asin_test): Likewise.
84365         * sysdeps/i386/fpu/libm-test-ulps: Update.
84366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84368         [BZ #14034]
84369         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84370         of square root.
84371         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84372         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84373         * math/libm-test.inc (acos_test_tonearest): New function.
84374         (acos_test_towardzero): Likewise.
84375         (acos_test_downward): Likewise.
84376         (acos_test_upward): Likewise.
84377         (asin_test_tonearest): Likewise.
84378         (asin_test_towardzero): Likewise.
84379         (asin_test_downward): Likewise.
84380         (asin_test_upward): Likewise.
84381         (main): Call the new functions.
84382         * sysdeps/i386/fpu/libm-test-ulps: Update.
84383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84385         [BZ #13884]
84386         [BZ #13924]
84387         * math/e_exp10.c: Include <float.h>.
84388         (__ieee754_exp10): Handle underflow here rather than multiplying
84389         large negative argument by M_LN10.
84390         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84391         of __ieee754_expf.
84392         * math/e_exp10l.c: Include <float.h>.
84393         (__ieee754_exp10l): Handle underflow here rather than multiplying
84394         large negative argument by M_LN10l.
84395         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84396         spurious overflow exception on underflow.
84398 2012-04-29  Marek Polacek  <polacek@redhat.com>
84400         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84401         (__fortify_function): New macro.
84402         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84403         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84404         __extern_always_inline.
84405         * libio/bits/stdio2.h: Likewise.
84406         * libio/bits/stdio.h: Likewise.
84407         * string/string.h: Likewise.
84408         * string/bits/string3.h: Likewise.
84409         * include/stdio.h: Likewise.
84410         * stdlib/bits/stdlib.h: Likewise.
84411         * stdlib/stdlib.h: Likewise.
84412         * rt/bits/mqueue2.h: Likewise.
84413         * rt/mqueue.h: Likewise.
84414         * posix/bits/unistd.h: Likewise.
84415         * posix/unistd.h: Likewise.
84416         * io/bits/poll2.h: Likewise.
84417         * io/bits/fcntl2.h: Likewise.
84418         * io/fcntl.h: Likewise.
84419         * io/sys/poll.h: Likewise.
84420         * misc/bits/syslog.h: Likewise.
84421         * misc/bits/syslog-ldbl.h: Likewise.
84422         * misc/sys/syslog.h: Likewise.
84423         * socket/bits/socket2.h: Likewise.
84424         * socket/sys/socket.h: Likewise.
84425         * debug/tst-chk1.c: Likewise.
84426         * wcsmbs/bits/wchar2.h: Likewise.
84427         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84428         * wcsmbs/wchar.h: Likewise.
84430 2012-04-29  Andreas Jaeger  <aj@suse.de>
84432         * Makerules (tests): Remove enable-check-abi protection.
84433         (check-abi-warn): Remove.
84434         (check-abi-%): Remove check-abi-warn usage.
84436         * configure.in: Remove check-abi configure option.
84437         * configure: Regenerated.
84438         * config.make.in (enable-check-abi): Remove.
84440 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84442         [BZ #14033]
84443         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84444         double functions to double *_finite functions.
84446         [BZ #13941]
84447         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84448         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84449         LDBL_MIN_EXP.
84450         * stdio-common/Makefile (tests): Add tst-sprintf3.
84451         * stdio-common/tst-sprintf3.c: New file.
84453         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84454         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84456 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84458         * conform/conformtest.pl: Remove duplicate typed-constant
84459         handling.
84461 2012-04-28  David S. Miller  <davem@davemloft.net>
84463         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84464         (check-abi-%): Remove AWK script prerequisite and explicit
84465         abilist directory.
84466         (check-abi): Rewrite to just diff the symlist with the abilist.
84467         (config-tls, config-abi-config): Delete, no longer used.
84468         (update-abi-%): Remove AWK script and explicit abilist directory.
84469         (update-abi): Rewrite to simply compare and conditionally copy the
84470         symlist and the sysdep abilist file.  Remove update-abi-config
84471         checks.
84472         * abilist/ld.abilist: Remove.
84473         * abilist/libBrokenLocale.abilist: Remove.
84474         * abilist/libanl.abilist: Remove.
84475         * abilist/libcrypt.abilist: Remove.
84476         * abilist/libdl.abilist: Remove.
84477         * abilist/librt.abilist: Remove.
84478         * abilist/libthread_db.abilist: Remove.
84479         * abilist/libutil.abilist: Remove.
84480         * scripts/extract-abilist.awk: Remove.
84481         * scripts/merge-abilist.awk: Remove.
84482         * sysdeps/generic/libcidn.abilist: New file.
84483         * sysdeps/generic/libnss_compat.abilist: New file.
84484         * sysdeps/generic/libnss_db.abilist: New file.
84485         * sysdeps/generic/libnss_dns.abilist: New file.
84486         * sysdeps/generic/libnss_files.abilist: New file.
84487         * sysdeps/generic/libnss_hesiod.abilist: New file.
84488         * sysdeps/generic/libnss_nis.abilist: New file.
84489         * sysdeps/generic/libnss_nisplus.abilist: New file.
84490         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84491         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84492         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84493         file.
84494         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84495         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84496         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84497         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84498         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84499         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84500         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84501         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84502         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84503         file.
84504         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84505         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84506         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84507         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84508         file.
84509         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84510         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84511         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84512         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84513         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84514         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84515         file.
84516         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84517         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84518         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84519         file.
84520         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84521         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84522         New file.
84523         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84524         New file.
84525         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84526         New file.
84527         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84528         New file.
84529         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84530         New file.
84531         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84532         New file.
84533         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84534         New file.
84535         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84536         New file.
84537         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84538         New file.
84539         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84540         New file.
84541         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84542         New file.
84543         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84544         New file.
84545         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84546         New file.
84547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84548         file.
84549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84550         New file.
84551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84552         New file.
84553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84554         file.
84555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84556         New file.
84557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84558         New file.
84559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84560         file.
84561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84562         New file.
84563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84564         New file.
84565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84566         New file.
84567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84568         New file.
84569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84570         New file.
84571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84572         New file.
84573         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84575         file.
84576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84577         New file.
84578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84579         file.
84580         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84581         file.
84582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84583         file.
84584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84585         file.
84586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84587         file.
84588         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84589         New file.
84590         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84591         file.
84592         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84593         file.
84594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84595         New file.
84596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84597         file.
84598         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84600         file.
84601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84602         New file.
84603         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84604         file.
84605         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84606         file.
84607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84608         file.
84609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84610         file.
84611         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84612         file.
84613         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84614         New file.
84615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84616         file.
84617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84618         file.
84619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84620         New file.
84621         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84622         file.
84623         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84624         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84625         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84626         file.
84627         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84628         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84629         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84630         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84631         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84632         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84633         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84634         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84635         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84636         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84637         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84639         file.
84640         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84641         New file.
84642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84643         file.
84644         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84645         file.
84646         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84647         file.
84648         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84649         file.
84650         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84651         file.
84652         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84653         New file.
84654         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84655         New file.
84656         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84657         file.
84658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84659         New file.
84660         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84661         file.
84662         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84664         file.
84665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84666         New file.
84667         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84668         file.
84669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84670         file.
84671         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84672         file.
84673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84674         file.
84675         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84676         file.
84677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84678         New file.
84679         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84680         New file.
84681         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84682         file.
84683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84684         New file.
84685         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84686         file.
84688 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84690         * conform/conformtest.pl: Fix typo in handling typed-constant from
84691         allow-header.
84693 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84695         * README: Cut down references to pre-2.6 Linux kernels and
84696         Linuxthreads.  Update lists of configurations in libc and ports
84697         and sort alphabetically.  Say "or newer" with Linux kernel version
84698         requirements.
84700         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84702 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84704         [BZ #887]
84705         * math/libm-test.inc (logb_test_downward): New test to expose
84706         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84707         rounding mode.
84709 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84711         [BZ #14027]
84712         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84713         to be done.
84714         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84715         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84717 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84719         * sysdeps/unix/i386/brk.S: Remove file.
84720         * sysdeps/unix/i386/dl-brk.S: Likewise.
84721         * sysdeps/unix/i386/pipe.S: Likewise.
84722         * sysdeps/unix/i386/sigreturn.S: Likewise.
84723         * sysdeps/unix/i386/syscall.S: Likewise.
84724         * sysdeps/unix/i386/vfork.S: Likewise.
84725         * sysdeps/unix/i386/wait.S: Likewise.
84727         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84728         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84730         * configure.in (arm*-none*): Do not allow without
84731         --enable-hacker-mode.
84732         (netbsd*): Remove case setting base_os.
84733         (386bsd*): Likewise.
84734         (freebsd*): Likewise.
84735         (bsdi*): Likewise.
84736         (osf*): Likewise.
84737         (sunos*): Likewise.
84738         (ultrix*): Likewise.
84739         (newsos*): Likewise.
84740         (dynix*): Likewise.
84741         (*bsd*): Likewise.
84742         (sysv*): Likewise.
84743         (isc*): Likewise.
84744         (esix*): Likewise.
84745         (sco*): Likewise.
84746         (minix*): Likewise.
84747         (irix4*): Likewise.
84748         (irix6*): Likewise.
84749         (solaris[2-9]*): Likewise.
84750         (none): Likewise.
84751         * configure: Regenerated.
84753 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84755         [BZ #11521]
84756         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84757         overflow or cancellation in calculating denominator.
84758         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84759         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84760         down expression to avoid unexpected rounding in newer GCCs.
84761         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84763 2012-04-26  David S. Miller  <davem@davemloft.net>
84765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84766         long-double compat symbols.
84767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84781 2012-04-25  David S. Miller  <davem@davemloft.net>
84783         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84784         HWCAP_* values only after the memory barriers have been defined.
84785         (atomic_full_barrier): Define.
84786         (atomic_read_barrier): Define.
84787         (atomic_write_barrier): Define.
84789 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84791         * shlib-versions: Add libgcc_s version information.
84792         * sysdeps/generic/libgcc_s.h: Remove.
84793         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84794         libgcc_s.h.
84795         * sysdeps/gnu/unwind-resume.c: Likewise.
84796         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84798 2012-04-25  David S. Miller  <davem@davemloft.net>
84800         * sysdeps/unix/sparc/brk.S: Delete.
84801         * sysdeps/unix/sparc/dl-brk.S: Delete.
84802         * sysdeps/unix/sparc/pipe.S: Delete.
84803         * sysdeps/unix/sparc/sysdep.S: Delete.
84804         * sysdeps/unix/sparc/sysdep.h: Delete.
84805         * sysdeps/unix/sparc/vfork.S: Delete.
84806         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84807         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84808         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84809         (ret_ERRVAL, r0, r1, MOVE): Define.
84810         (JUMPTARGET): Remove.
84811         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84812         sysdeps/unix/sparc/sysdep.h
84813         (ENTRY, END): Remove.
84814         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84816 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84818         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84819         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84820         -DIS_IN_build.
84822         * timezone/README: Update upstream location and email address for
84823         tzcode and tzdata.
84824         * timezone/zdump.c: Update from tzcode 2012b.
84825         * timezone/zic.c: Likewise.
84827         * configure.in (libc_cv_as_needed): Remove test.
84828         * configure: Regenerated.
84829         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84830         conditional definition.
84831         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84832         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84833         * config.make.in (have-as-needed): Remove variable.
84835 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84836             Paul Pluzhnikov  <ppluzhnikov@google.com>
84838         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84839         strings correctly.
84841 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84843         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84844         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84845         * sysdeps/sh/strlen.S: Likewise.
84847 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84849         * sysdeps/unix/fork.S: Remove file.
84850         * sysdeps/unix/i386/fork.S: Likewise.
84851         * sysdeps/unix/sparc/fork.S: Likewise.
84853         * sysdeps/unix/system.c: Remove file.
84854         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84856         * sysdeps/unix/getegid.S: Remove file.
84857         * sysdeps/unix/geteuid.S: Likewise.
84859 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84861         * scripts/check-localplt.awk: New file.
84862         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84863         of diff.
84864         * scripts/data/localplt-generic.data: Add a comment.
84866         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84867         NODE when __dir_mkfile failed.
84868         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84869         Reported by Ludovic Courtès <ludo@gnu.org>.
84871 2012-04-24  Andreas Jaeger  <aj@suse.de>
84873         * Makerules (common-clean): Also remove gen-as-const-headers
84874         files.
84876 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84878         * Makerules (native-compile): Do not change working directory for
84879         build.  Use $(OUTPUT_OPTION) in command.
84880         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84882 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84884         [BZ #13886]
84885         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84886         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84887         * math/libm-test.inc (floor_test): Add more tests.
84888         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84890 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84892         * sysdeps/unix/getdents.c: Remove file.
84893         * sysdeps/unix/sysv/getdents.c: Likewise.
84894         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84896         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84897         sysdeps/unix/mman/syscalls.list.
84898         (mmap): Likewise.
84899         (mprotect): Likewise.
84900         (msync): Likewise.
84901         (munmap): Likewise.
84902         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84903         * sysdeps/unix/mman/syscalls.list: Remove.
84904         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84906         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84907         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84908         * configure: Regenerated.
84909         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84910         $(libgcc_s_suffix).
84911         * config.make.in (libgcc_s_suffix): Remove variable.
84913 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84915         * sysdeps/unix/sysv/gethostname.c: Move to ...
84916         * sysdeps/posix/gethostname.c: ... here.
84918         * sysdeps/unix/execve.S: Remove file.
84920         * sysdeps/unix/_exit.S: Remove file.
84922 2012-04-23  Andreas Jaeger  <aj@suse.de>
84924         [BZ #13739]
84925         * manual/Makefile: Remove make dist support, there's no
84926         need for a stand-alone documentation tar ball.
84927         (TEXI2DVI): Define always, it's not in Makeconfig.
84928         (dist): Removed.
84929         (tar-it): Removed.
84930         (edition): Removed.
84931         (glibc-doc-$(edition).tar): Removed
84932         (%.Z): Removed.
84933         (%.gz): Removed.
84934         (%.uu): Removed.
84935         (ETAGS): Remove, it's in Makeconfig.
84936         (move-if-change): Remove, it's in Makeconfig.
84938 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84940         [BZ #13970]
84941         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84942         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84943         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84944         (strtod_l, strtof_l, strtold_l): Remove __wur.
84945         It is not necessarily an error to ignore strtol's return value.
84946         One can reliably look at the stored endptr to decide whether
84947         the number had valid syntax.
84949 2012-04-21  Andreas Jaeger  <aj@suse.de>
84951         [BZ #13739]
84952         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84954 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84956         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84957         * sysdeps/unix/sysv/Versions: Remove file.
84959 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84961         [BZ #13927]
84962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84964 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84966         [BZ #7064]
84967         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84968         version from __vm86.
84970 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84972         * sysdeps/unix/common/lxstat.c: Remove file.
84973         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84975         * sysdeps/unix/sysv/Makefile: Remove file.
84977         * sysdeps/unix/sysv/direct.h: Remove file.
84979         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84980         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84981         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84982         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84983         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84984         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84985         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84987         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84989         * sysdeps/unix/xmknod.c: Remove file.
84990         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84992         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84994         * sysdeps/unix/sysv/i386/time.S: Remove file.
84996         * sysdeps/unix/fxstat.c: Remove file.
84997         * sysdeps/unix/xstat.c: Likewise.
84998         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
85000         * sysdeps/unix/sysv/sigaction.c: Remove file.
85002         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
85003         (sysdep_headers): Remove variable.
85004         [termio.h not in sysdep_headers] (generated): Likewise.
85005         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
85006         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
85007         * sysdeps/unix/sysv/tcdrain.c: Likewise.
85008         * sysdeps/unix/sysv/tcflow.c: Likewise.
85009         * sysdeps/unix/sysv/tcflush.c: Likewise.
85010         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
85011         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
85012         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
85013         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
85014         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
85016         * sysdeps/unix/siglist.c: Remove file.
85018         * sysdeps/unix/getppid.S: Remove file.
85020         * sysdeps/unix/mkdir.c: Remove file.
85021         * sysdeps/unix/rmdir.c: Likewise.
85023 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
85025         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
85026         ERR_MAX value.
85027         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
85028         errlist-compat value.
85030 2012-04-18  David S. Miller  <davem@davemloft.net>
85032         * sysdeps/generic/memcopy.h (reg_char): Delete.
85033         * debug/strcat_chk.c: Use char, not reg_char.
85034         * debug/strcpy_chk.c: Likewise.
85035         * debug/strncat_chk.c: Likewise.
85036         * debug/strncpy_chk.c: Likewise.
85037         * string/memchr.c: Likewise.
85038         * string/memrchr.c: Likewise.
85039         * string/rawmemchr.c: Likewise.
85040         * string/strcat.c: Likewise.
85041         * string/strchr.c: Likewise.
85042         * string/strchrnul.c: Likewise.
85043         * string/strcmp.c: Likewise.
85044         * string/strcpy.c: Likewise.
85045         * string/strncat.c: Likewise.
85046         * string/strncmp.c: Likewise.
85047         * string/strncpy.c: Likewise.
85049 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
85051         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
85052         __builtin_memcopy is called when src and dest ranges are known to not
85053         overlap.
85055 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
85057         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
85058         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
85059         fwd_align_merge macro call.
85060         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
85061         bwd_align_merge macro call.
85062         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85064 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
85066         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
85067         bwd_align_merge macros.
85068         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
85069         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
85070         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85072 2012-04-18  David S. Miller  <davem@davemloft.net>
85074         * sysdeps/sparc/sparc64/memcopy.h: Delete.
85076 2012-04-18  Andreas Jaeger  <aj@suse.de>
85078         [BZ #6794]
85079         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
85080         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
85081         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85083         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
85084         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
85085         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85087         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
85088         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
85089         Adjust for changed ldbl-128 files.
85091         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
85092         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
85093         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85095 2012-04-17  David S. Miller  <davem@davemloft.net>
85097         * sysdeps/sparc/sparc32/memcopy.h: Delete.
85099 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
85101         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
85102         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
85103         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
85104         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
85105         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
85106         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
85108 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85110         [BZ #6794]
85111         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
85112         * math/libm-test.inc: Add ilogb errno and exception tests.
85113         * math/w_ilogb.c: New file: ilogb wrapper.
85114         * math/w_ilogbf.c: New file: ilogbf wrapper.
85115         * math/w_ilogbl.c: New file: ilogbl wrapper.
85116         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
85117         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
85118         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
85119         exception being thrown with 0.0 as argument.
85120         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
85121         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
85122         exception being thrown with 0.0 as argument.
85123         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
85124         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85125         exception being thrown with 0.0 as argument.
85126         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
85127         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85128         exception being thrown with 0.0 as argument.
85129         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
85130         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
85131         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
85132         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
85133         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
85134         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
85135         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
85136         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
85137         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
85139 2012-04-17  Petr Baudis  <pasky@ucw.cz>
85141         * include/sys/uio.h: Change __vector to __iovec to avoid clash
85142         with altivec.
85144 2012-04-16  Marek Polacek  <polacek@redhat.com>
85146         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
85148 2012-04-16  Marek Polacek  <polacek@redhat.com>
85150         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
85151         operands of fdivp instruction.
85153 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
85155         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
85156         * elf/tst-auditmod3b.c: Likewise.
85157         * elf/tst-auditmod4b.c: Likewise.
85158         * elf/tst-auditmod5b.c: Likewise.
85159         * elf/tst-auditmod6b.c: Likewise.
85160         * elf/tst-auditmod6c.c: Likewise.
85161         * elf/tst-auditmod7b.c: Likewise.
85162         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85163         * sysdeps/x86_64/preconfigure.in: Likewise.
85164         * sysdeps/x86_64/preconfigure: Regenerated.
85166 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
85168         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85169         __ILP32__.
85171 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
85173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85174         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85176 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
85178         [BZ #13973]
85179         * locale/iso-639.def: Fix gl language name. Spotted by
85180         Yaron Shahrabani.
85182 2012-04-12  Roland McGrath  <roland@hack.frob.com>
85184         [BZ #2074]
85185         * libio/libio.h (__io_write_fn): Update comment.
85187 2012-04-12  Petr Baudis  <pasky@ucw.cz>
85189         [BZ #2074]
85190         * stdio.texi (Hook Functions): The user provided writer function
85191         is not allowed to return -1.
85193 2012-04-11  David S. Miller  <davem@davemloft.net>
85195         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85197 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
85199         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85200         Add a leading slash to rtkaio.
85202 2012-04-11  Jim Meyering  <meyering@redhat.com>
85204         [BZ #11959]
85205         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85206         It is not necessarily an error to ignore fwrite's return
85207         value.  One can reliably use ferror to test for errors after
85208         the fact.
85210 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85212         * bits/types.h (__snseconds_t): New type.
85213         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85215         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85216         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85217         (__SNSECONDS_T_TYPE): Likewise.
85218         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85219         (__SNSECONDS_T_TYPE): Likewise.
85220         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85221         (__SNSECONDS_T_TYPE): Likewise.
85223 2012-04-10  Andreas Jaeger  <aj@suse.de>
85225         [BZ #2636]
85226         * manual/time.texi (Processor Time): Return type of times is
85227         elapsed real time since an arbitrary point in the past.
85228         (CPU Time): Move CLK_TCK from here...
85229         (Processor Time): ...to here.  Correct description.
85230         * manual/conf.texi (Constants for Sysconf): Correct description of
85231         _SC_CLK_TCK.
85233 2012-04-10  David S. Miller  <davem@davemloft.net>
85235         [BZ #13967]
85236         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85237         where the is a gap between DT_REL(A) and DT_JMPREL.
85239 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85241         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85242         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85243         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85245 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
85247         * elf/dl-support.c (_dl_inhibit_cache): New variable.
85248         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85249         (dl_main): Handle --inhibit-cache.
85250         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85251         _dl_inhibit_cache.
85252         * elf/dl-load.c (_dl_map_object): Use it.
85253         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85255 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85257         [BZ #13872]
85258         * sysdeps/i386/fpu/e_powl.S (p78): New object.
85259         (__ieee754_powl): Saturate large exponents rather than testing for
85260         overflow of y*log2(x).
85261         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85262         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85263         exceptions.
85265         [BZ #11521]
85266         * math/s_ctan.c: Include <float.h>.
85267         (__ctan): Avoid internal overflow or cancellation in calculating
85268         denominator.
85269         * math/s_ctanf.c: Likewise.
85270         * math/s_ctanl.c: Likewise.
85271         * math/s_ctanh.c: Likewise.
85272         * math/s_ctanhf.c: Likewise.
85273         * math/s_ctanhl.c: Likewise.
85274         * math/libm-test.inc (ctan_test): Add more tests.
85275         (ctanh_test): Likewise.
85276         * sysdeps/i386/fpu/libm-test-ulps: Update.
85277         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85279 2012-04-09  Andreas Jaeger  <aj@suse.de>
85281         [BZ #6894]
85282         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85283         is an optional BSD extension.
85285         [BZ #10254]
85286         * manual/stdio.texi (Opening Streams): Document additional fopen
85287         parameters.
85289 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85291         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85292         %eax without telling the compiler.
85294 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85296         [BZ # 13963]
85297         * manual/install.texi: Use sourceware.org.
85299 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85301         [BZ #13873]
85302         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85303         (__ieee754_pow): Generate overflow and underflow using huge*huge
85304         and tiny*tiny rather than just returning constant infinity or zero
85305         for large exponents.
85306         * math/libm-test.inc (pow_test): Require overflow exceptions for
85307         applicable cases of large exponents.
85309         [BZ #706]
85310         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85311         (__ieee754_pow): Use iterative multiplication algorithm only for
85312         integer exponents with absolute value below 1024.  Check for odd
85313         integer exponents when using algorithm for real exponents.
85314         * math/libm-test.inc (pow_test): Add more tests.
85315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85317 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85319         [BZ #13705]
85320         * math/libm-test.inc (exp_test): Do not allow overflow exception
85321         on underflow test.
85323 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85325         [BZ #13705]
85326         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85327         instead of __kernel_standard_f.
85329 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85331         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85332         * sysdeps/x86_64/memset_chk.S: Likewise.
85334 2012-04-08  Andreas Jaeger  <aj@suse.de>
85336         [BZ #10153]
85337         * manual/startup.texi (Environment Access): Describe return value
85338         for putenv and setenv.
85340         [BZ #6895]
85341         * manual/filesys.texi (Directory Entries): Add description for
85342         DT_LNK.
85344         [BZ #6890]
85345         * manual/filesys.texi (Directory Entries): Clarify that it's file
85346         system not operating system in the description of DT_UNKNOWN.
85348         [BZ #6578]
85349         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85351 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85353         [BZ #6649]
85354         * manual/llio.texi (Opening and Closing Files): Add cross
85355         reference to explain mode argument.
85357 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85359         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85360         * sysdeps/x86_64/memset_chk.S: Likewise.
85362 2012-04-07  David S. Miller  <davem@davemloft.net>
85364         * elf/elf.h (R_SPARC_WDISP10): Define.
85365         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85366         R_SPARC_SIZE32.
85367         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85368         R_SPARC_SIZE64 and R_SPARC_H34.
85370 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85372         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85373         conditions and remove no longer applicable assertion.
85375 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85377         * bits/byteswap.h: Include <features.h>.
85378         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85379         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85381 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85383         * bits/byteswap.h (__bswap_16): Removed.
85384         Include <bits/byteswap-16.h> to get __bswap_16.
85385         * sysdeps/i386/bits/byteswap.h: Likewise.
85386         * sysdeps/s390/bits/byteswap.h: Likewise.
85387         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85388         * bits/byteswap-16.h: New file.
85389         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85390         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85391         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85392         * string/Makefile (headers): Add bits/byteswap-16.h.
85394 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85396         [BZ #13895]
85397         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85398         extra indirection.
85399         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85400         * nss/tst-nss-static.c: New.
85402 2012-04-06  Robert Millan  <rmh@gnu.org>
85404         [BZ #6486]
85405         * manual/llio.texi (File Position Primitive): lseek
85406         refers to WHENCE when it really means OFFSET.
85408 2012-04-06  Andreas Jaeger  <aj@suse.de>
85410         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85411         strncmp declarations.
85413         * abilist/libc.abilist: Add __poll and __ppoll.
85415 2012-04-05  David S. Miller  <davem@davemloft.net>
85417         * scripts/check-local-headers.sh: Accept a host triplet in the
85418         path matched by the exclude regexp.
85420         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85421         definition.
85422         * sysdeps/powerpc/powerpc32/dl-machine.h
85423         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85424         * sysdeps/s390/s390-32/dl-machine.h
85425         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85426         * sysdeps/sparc/sparc32/dl-machine.h
85427         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85428         * sysdeps/sparc/sparc64/dl-machine.h
85429         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85431         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85432         lazy binding.
85433         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85434         undefined symbol errors.
85436         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85437         DT_NEEDED entries.
85439 2012-04-05  Michael Matz  <matz@suse.de>
85441         [BZ #13592]
85442         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85444 2012-04-05  Andreas Jaeger  <aj@suse.de>
85446         [BZ #13908]
85447         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85448         comment.
85450 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85452         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85453         which ROUND is no valid rounding mode.
85455 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85457         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85458         read again.
85459         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85461 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85463         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85464         an exception using FPU order intentionally.
85466 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85468         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85469         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85470         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85471         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85473 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85475         [BZ #12340]
85476         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85477         EINVAL when BUFLEN is too smal.
85479 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85481         [BZ #13553]
85482         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85483         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85485 2012-04-03  Andreas Jaeger  <aj@suse.de>
85487         [BZ #13938]
85488         * manual/setjmp.texi (System V contexts): Fix sentence.
85490         [BZ #13926]
85491         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85492         New macro for this case.
85493         [!__GNUC__] (__bswap_64): New inline function for this case.
85494         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85495         * bits/byteswap.h: Likewise.
85496         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85497         ull, guard with __GLIBC_HAVE_LONG_LONG.
85499         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85500         __GLIBC_HAVE_LONG_LONG.
85502         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85503         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85505 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85507         [BZ #13691]
85508         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85509         inptr and inend, rather than using last_ch.
85511 2012-04-02  David S. Miller  <davem@davemloft.net>
85513         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85514         * stdio-common/printf-parse.h (read_int): Change return type to
85515         'int', return -1 on INT_MAX overflow.
85516         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85517         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85518         overflows INT_MAX.  Check for overflow of in-format-string precision
85519         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85520         SIZE_MAX not INT_MAX for integer overflow test.
85521         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85522         skip the construct in the format string but do not record anything.
85523         * stdio-common/bug22.c: Adjust to test both width/prevision
85524         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85525         explicitly for proper errno values.
85527 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85529         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85530         CHAR_MAX.
85531         * string/test-strcmp.c [! WIDE]: Likewise.
85532         * time/tst-mktime2.c: Likewise for INT_MAX.
85533         * string/test-string.h: #include <sys/param.h> for MIN.
85535         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85536         * sysdeps/i386/init-first.c (init): Likewise.
85537         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85538         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85539         * sysdeps/sh/init-first.c (init): Likewise.
85541 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85543         * po/ru.po: Update from translation team.
85544         * po/vi.po: Likewise.
85546 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85548         * resolv/nss_dns/dns-host.c: Merge copyright years.
85550 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85553         Optimize memcpy with prefetch if
85554         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85555         src, dst pointers have unequal 16 byte alignments.
85557 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85559         [BZ #13928]
85560         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85561         from a CNAME entry and return the minimum ttl for the query.
85562         (gaih_getanswer_slice): Likewise.
85564 2012-03-30  Jeff Law  <law@redhat.com>
85566         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85567         due to long keys.
85568         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85569         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85571         * resolv/nss_dns/dns-host.c: Update copyright year.
85573 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85575         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85576         requests to save a system call.  Fix check that all bytes are sent.
85578         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85579         comments for sendmmsg.
85581 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85583         [BZ #13691]
85584         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85585         with only 1 character between 0x0041 and 0x01b0.
85586         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85587         * wcsmbs/tst-mbsnrtowcs.c: New file.
85589 2012-03-29  David S. Miller  <davem@davemloft.net>
85591         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85592         small copies by hand.
85594 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85596         [BZ #13761]
85597         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85598         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85599         group memberships.
85601 2012-03-28  David S. Miller  <davem@davemloft.net>
85603         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85604         that branches into memcpy.
85605         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85606         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85608         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85609         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85610         bits.
85611         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85612         implementation too.
85613         * sysdeps/sparc/mempcpy.S: New file.
85615         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85616         the IFUNC routine in the libc case.
85617         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85619         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85620         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85621         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85622         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85623         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85624         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85625         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85626         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85628         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85629         loop to 256 bytes instead of 64 bytes and fix test signedness.
85631         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85632         * sysdeps/sparc/sparc32/Makefile: rather than here...
85633         * sysdeps/sparc/sparc64/Makefile: and here.
85635 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85637         * malloc/mallocbug.c: Avoid warnings about unused variables.
85639 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85641         [BZ #13760]
85642         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85643         in the right place. Discard and retry query if response is
85644         larger than input buffer size.
85646 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85648         [BZ #369]
85649         [BZ #2678]
85650         [BZ #3866]
85651         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85652         x for large integer exponent.
85653         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85654         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85655         sign of result as needed afterwards.
85656         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85657         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85658         result for underflowing pow the same as for overflow.
85659         (__kernel_standard_l): Handle powl overflow and underflow here
85660         rather than calling __kernel_standard.
85661         * math/libm-test.inc (pow_test): Add more tests.
85663         [BZ #3868]
85664         [BZ #13879]
85665         [BZ #13910]
85666         [BZ #13911]
85667         [BZ #13912]
85668         [BZ #13913]
85669         [BZ #13915]
85670         [BZ #13916]
85671         [BZ #13917]
85672         [BZ #13918]
85673         [BZ #13919]
85674         [BZ #13920]
85675         [BZ #13921]
85676         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85677         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85678         (__kernel_standard_l): New function.
85679         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85680         __kernel_standard.
85681         * math/w_acosl.c (__acosl): Likewise.
85682         * math/w_asinl.c (__asinl): Likewise.
85683         * math/w_atan2l.c (__atan2l): Likewise.
85684         * math/w_atanhl.c (__atanhl): Likewise.
85685         * math/w_coshl.c (__coshl): Likewise.
85686         * math/w_exp10l.c (__exp10l): Likewise.
85687         * math/w_exp2l.c (__exp2l): Likewise.
85688         * math/w_fmodl.c (__fmodl): Likewise.
85689         * math/w_hypotl.c (__hypotl): Likewise.
85690         * math/w_j0l.c (__j0l, __y0l): Likewise.
85691         * math/w_j1l.c (__j1l, __y1l): Likewise.
85692         * math/w_jnl.c (__jnl, __ynl): Likewise.
85693         * math/w_lgammal.c (__lgammal): Likewise.
85694         * math/w_log10l.c (__log10l): Likewise.
85695         * math/w_log2l.c (__log2l): Likewise.
85696         * math/w_logl.c (__logl): Likewise.
85697         * math/w_powl.c (__powl): Likewise.
85698         * math/w_remainderl.c (__remainderl): Likewise.
85699         * math/w_scalbl.c (sysv_scalbl): Likewise.
85700         * math/w_sinhl.c (__sinhl): Likewise.
85701         * math/w_sqrtl.c (__sqrtl): Likewise.
85702         * math/w_tgammal.c (__tgammal): Likewise.
85703         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85704         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85705         * math/libm-test.inc (acos_test): Add more tests.
85706         (acosh_test): Likewise.
85707         (asin_test): Likewise.
85708         (atanh_test): Likewise.
85709         (exp_test): Likewise.
85710         (exp10_test): Likewise.
85711         (exp2_test): Likewise.
85712         (expm1_test): Likewise.
85713         (lgamma_test): Likewise.
85714         (log_test): Likewise.
85715         (log10_test): Likewise.
85716         (log1p_test): Likewise.
85717         (log2_test): Likewise.
85718         (pow_test): Do not allow some spurious overflow exceptions.
85719         (sqrt_test): Add more tests.
85720         (tgamma_test): Likewise.
85721         (y0_test): Likewise.
85722         (y1_test): Likewise.
85723         (yn_test): Likewise.
85725 2012-03-27  Anton Blanchard  <anton@samba.org>
85727         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85728         MAP_HUGETLB.
85729         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85730         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85731         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85733 2012-03-27  David S. Miller  <davem@davemloft.net>
85735         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85737         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85738         have-as-vis3 check.
85740 2012-03-27  Andreas Jaeger  <aj@suse.de>
85742         * sysdeps/x86_64/elf/configure.in: Moved to ...
85743         * sysdeps/x86_64/configure.in: ... here.
85744         * sysdeps/x86_64/elf/start.S: Moved to ...
85745         * sysdeps/x86_64/start.S: ... here.
85746         * sysdeps/x86_64/elf/configure: Delete.
85748         * sysdeps/x86_64/configure.in: Merge contents from
85749         sysdeps/i386/configure.in (without i686 check).
85751         * sysdeps/i386/elf/Versions: Merge into ...
85752         * sysdeps/i386/Versions: ... this.
85753         * sysdeps/i386/elf/Versions: Delete file.
85754         * sysdeps/i386/elf/start.S: Moved to ...
85755         * sysdeps/i386/start.S: ...here.
85756         * sysdeps/i386/elf/configure.in: Merge into...
85757         * sysdeps/i386/configure.in: ...here.
85758         * sysdeps/i386/elf/configure.in: Delete file.
85759         * sysdeps/i386/elf/configure: Delete file.
85761         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85762         * debug/backtracesyms.c: ... here.
85763         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85764         * debug/backtracesymsfd.c: ... here.
85765         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85766         * sysdeps/generic/ifunc-sel.h: ... here.
85768         * sysdeps/unix/i386/start.c: Delete file.
85769         * sysdeps/unix/sparc/start.c: Delete file.
85770         * sysdeps/unix/start.c: Delete file.
85772         * sysdeps/sh/elf/configure.in: Moved to ...
85773         * sysdeps/sh/configure.in: ... here.
85774         * sysdeps/sh/elf/start.S: Moved to ...
85775         * sysdeps/sh/start.S: ... here.
85776         * sysdeps/sh/elf/configure: Delete file.
85778         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85779         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85780         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85781         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85782         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85783         * sysdeps/powerpc/powerpc64/start.S: here.
85784         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85785         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85786         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85787         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85788         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85790         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85791         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85792         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85793         * sysdeps/powerpc/powerpc32/start.S: ... here.
85794         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85795         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85796         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85798         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85799         * sysdeps/powerpc/ifunc-sel.h: ... here.
85800         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85801         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85803         * sysdeps/sparc/elf/configure.in: Moved to ...
85804         * sysdeps/sparc/configure.in: ... here.
85805         * sysdeps/sparc/elf/configure: Delete file.
85806         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85807         * sysdeps/sparc/sparc32/start.S: ... here.
85808         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85809         * sysdeps/sparc/sparc64/start.S: ... here.
85810         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85811         * sysdeps/sparc/sparc32/Makefile: ... this.
85812         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85813         * sysdeps/sparc/sparc64/Makefile: ... this.
85815         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85816         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85817         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85818         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85819         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85820         * sysdeps/s390/s390-32/setjmp.S: ... here.
85821         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85822         * sysdeps/s390/s390-32/configure.in: ... here.
85823         * sysdeps/s390/s390-32/elf/configure: Delete file.
85824         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85825         * sysdeps/s390/s390-32/start.S: ... here.
85827         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85828         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85829         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85830         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85831         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85832         * sysdeps/s390/s390-64/setjmp.S: ... here.
85833         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85834         * sysdeps/s390/s390-64/configure.in: ... here
85835         * sysdeps/s390/s390-64/elf/configure: Delete file.
85836         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85837         * sysdeps/s390/s390-64/start.S: ... here.
85838         * sysdeps/s390/s390-64/elf/configure: Delete.
85840         * configure.in: Remove support for elf directories in sysdeps.
85842         * configure: Regenerated.
85843         * sysdeps/i386/configure: Regenerated.
85844         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85845         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85846         * sysdeps/s390/s390-32/configure: Regenerated.
85847         * sysdeps/s390/s390-64/configure: Regenerated.
85848         * sysdeps/sh/configure: Regenerated.
85849         * sysdeps/sparc/configure: Regenerated.
85850         * sysdeps/x86_64/configure: Regenerated.
85852 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85854         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85856         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85857         denormal result into account.
85859 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85861         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85862         Reported by Allan McRae <allan@archlinux.org>.
85864 2012-03-23  Jeff Law  <law@redhat.com>
85866         * nss/getnssent.c (__nss_getent): Fix typo.
85868 2012-03-23  David S. Miller  <davem@davemloft.net>
85870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85872 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85874         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85875         to pad to uint64_t for each field.
85876         (dl_tls_index): Replace unsigned long with uint64_t.
85878 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85879         Paul Pluzhnikov  <ppluzhnikov@google.com>
85881         [BZ #6528]
85882         * grp/Makefile (otherlibs): Don't set it.
85883         * inet/Makefile (otherlibs): Likewise.
85884         * login/Makefile (otherlibs): Likewise.
85885         * nscd/Makefile (otherlibs): Likewise.
85886         * posix/Makefile (otherlibs): Likewise.
85887         * pwd/Makefile (otherlibs): Likewise.
85888         * rt/Makefile (otherlibs): Likewise.
85889         * sunrpc/Makefile (otherlibs): Likewise.
85890         * nss/Makefile (otherlibs): Likewise.
85891         Add libnss_files to routines and static-only-routines.
85892         ($(objpfx)getent): Remove rule.
85893         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85894         static-only-routines.
85896 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85898         [BZ #13892]
85899         * math/s_cexp.c: Include <float.h>.
85900         (__cexp): Handle exp result overflowing not necessarily
85901         overflowing both real and imaginary parts of result.
85902         * math/s_cexpf.c: Likewise.
85903         * math/s_cexpl.c: Likewise.
85904         * math/libm-test.inc (cexp_test): Add more tests.
85905         * sysdeps/i386/fpu/libm-test-ulps: Update.
85906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85908 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85910         * include/link.h (ELFW): New macro.
85911         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85912         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85914 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85916         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85917         with uint64_t.
85919 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85921         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85922         declaration.
85923         (struct La_x32_retval): Likewise.
85925 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85927         * sysdeps/x86_64/preconfigure.in: New file.
85928         * sysdeps/x86_64/preconfigure: New generated file.
85930 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85932         [BZ #13824]
85933         * math/e_exp2l.c: Include <float.h>.
85934         (__ieee754_exp2l): Handle overflow and underflow cases
85935         separately.  Only pass fractional part of argument to
85936         __ieee754_expl.
85937         * math/libm-test.inc (exp2_test): Add more tests.
85939         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85940         negating x to take absolute value.
85941         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85942         Likewise.
85943         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85944         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85945         Likewise.
85946         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85947         computing low part if x was negated.
85948         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85950 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85952         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85953         la_x32_gnu_pltexit.
85954         (pltexit): Cast int_retval to ptrdiff_t.
85955         * elf/tst-auditmod3b.c: Likewise.
85956         * elf/tst-auditmod4b.c: Likewise.
85957         * elf/tst-auditmod5b.c: Likewise.
85958         * elf/tst-auditmod6b.c: Likewise.
85959         * elf/tst-auditmod6c.c: Likewise.
85960         * elf/tst-auditmod7b.c: Likewise.
85962         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85963         and x32_gnu_pltexit.
85965         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85966         __ELF_NATIVE_CLASS.
85967         (La_x32_regs): New macro.
85968         (La_x32_retval): Likewise.
85969         (la_x32_gnu_pltenter): New function prototype.
85970         (la_x32_gnu_pltexit): Likewise.
85972 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85974         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85975         exponent.
85977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85979         * configure.in (libc_cv_cc_nofma): Check for option to disable
85980         generation of FMA instructions.
85981         * configure: Regenerate.
85982         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85983         * sysdeps/ieee754/dbl-64/Makefile: New file.
85984         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85985         Remove brandred-fma4.
85986         (CFLAGS-brandred-fma4.c): Remove.
85987         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85988         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85989         define.
85990         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85991         define.
85993 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85995         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85996         LLONG_MAX != LONG_MAX.
85997         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85998         (_fitoa_word): Likewise.
85999         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
86000         LLONG_MAX != LONG_MAX.
86001         * stdio-common/_itowa.h: Include <_itoa.h>.
86002         (_itowa_word): Use _ITOA_WORD_TYPE on value.
86003         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
86004         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
86005         only if not defined.
86006         (_ITOA_WORD_TYPE): Likewise.
86007         (_itoa_word): Use _ITOA_WORD_TYPE on value.
86008         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
86010 2012-03-21  David S. Miller  <davem@davemloft.net>
86012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86014 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
86016         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
86017         of x86_64 when setting libc_cv_slibdir, libdir and
86018         libc_cv_localedir.
86019         * sysdeps/unix/sysv/linux/configure: Regenerated.
86021 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
86023         * manual/lang.texi (Old Varargs): Remove section.
86024         (How Variadic): Update menu.
86025         (va_start): Do not mention varargs.h.
86027 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
86028             Joseph Myers  <joseph@codesourcery.com>
86030         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
86031         link test.
86032         * configure: Regenerated.
86034 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
86036         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
86037         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
86038         conformtest.pl
86040 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
86042         * NOTES: Remove.
86043         * Makefile (files-for-dist): Remove NOTES.
86044         (NOTES): Remove rule.
86045         * README: Don't refer to NOTES.
86046         * manual/creature.texi: Don't include macros.texi.
86047         * manual/intro.texi (creature.texi): Remove comment referring to
86048         NOTES.
86050         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
86051         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
86052         * configure: Regenerated.
86053         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
86054         LIBC_TRY_CC_OPTION.
86055         (libc_cv_as_i686): Likewise.
86056         (libc_cv_cc_avx): Likewise.
86057         (libc_cv_cc_sse2avx): Likewise.
86058         (libc_cv_cc_fma4): Likewise.
86059         (libc_cv_cc_novzeroupper): Likewise.
86060         * sysdeps/i386/configure: Regenerated.
86062         [BZ #13883]
86063         * sysdeps/i386/fpu/s_cexp.S: Remove.
86064         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86065         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86066         * math/libm-test.inc (cexp_test): Add more tests.
86067         * sysdeps/i386/fpu/libm-test-ulps: Update.
86068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86070 2012-03-21  Allan McRae  <allan@archlinux.org>
86072         * timezone/Makefile: Do not install iso3166.tab and zone.tab
86074 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
86076         [BZ #13871]
86077         * math/w_exp2.c: Do not include <float.h>.
86078         (o_threshold, u_threshold): Remove.
86079         (__exp2): Calculate result before checking finiteness and calling
86080         __kernel_standard.
86081         * math/w_exp2f.c: Likewise.
86082         * math/w_exp2l.c: Likewise.
86083         * math/libm-test.inc (exp2_test): Require overflow exception for
86084         1e6 input.
86086         [BZ #3866]
86087         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
86088         range of signed 64-bit integers before using fistpll.  Remove
86089         checks for whether integers fit in mantissa bits.
86090         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
86091         the range of signed 32-bit integers before using fistpl.  Remove
86092         checks for whether integers fit in mantissa bits.
86093         * sysdeps/i386/fpu/e_powl.S (p64): New object.
86094         (__ieee754_powl): Test for y outside the range of signed 64-bit
86095         integers before using fistpll.  Reduce 64-bit values to 63-bit
86096         ones as needed.
86097         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
86098         divide-by-zero is raised for zero to large negative powers.
86099         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
86100         (__ieee754_powl): Test for y outside the range of signed 64-bit
86101         integers before using fistpll.  Reduce 64-bit values to 63-bit
86102         ones as needed.
86103         * math/libm-test.inc (pow_test): Add more tests.
86105 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86107         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
86108         <stdio-common/_itoa.h>.
86109         * debug/segfault.c: Likewise.
86110         * elf/dl-cache.c: Likewise.
86111         * elf/dl-minimal.c: Likewise.
86112         * elf/dl-misc.c: Likewise.
86113         * elf/dl-sysdep.c: Likewise.
86114         * elf/dl-version.c: Likewise.
86115         * elf/rtld.c: Likewise.
86116         * hurd/hurdsock.c: Likewise.
86117         * hurd/lookup-retry.c: Likewise.
86118         * malloc/malloc.c: Likewise.
86119         * malloc/mtrace.c: Likewise.
86120         * nscd/nscd_getgr_r.c: Likewise.
86121         * nscd/nscd_getpw_r.c: Likewise.
86122         * nscd/nscd_getserv_r.c: Likewise.
86123         * posix/getopt_init.c: Likewise.
86124         * posix/wordexp.c: Likewise.
86125         * stdio-common/_itoa.c: Likewise.
86126         * stdio-common/printf_fphex.c: Likewise.
86127         * stdio-common/vfprintf.c: Likewise.
86128         * string/_strerror.c: Likewise.
86129         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
86130         * sysdeps/i386/i686/hp-timing.h: Likewise.
86131         * sysdeps/mach/_strerror.c: Likewise.
86132         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
86133         * sysdeps/mach/hurd/sethostid.c: Likewise.
86134         * sysdeps/mach/hurd/xmknodat.c: Likewise.
86135         * sysdeps/mach/xpg-strerror.c: Likewise.
86136         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
86137         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
86138         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
86139         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
86140         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
86141         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
86142         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
86143         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
86144         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
86145         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
86146         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
86147         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
86148         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
86149         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
86150         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
86151         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
86152         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
86153         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
86154         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
86155         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
86156         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
86158         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
86160         * stdio-common/_itoa.h: Moved to ...
86161         * sysdeps/generic/_itoa.h: Here.
86163         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86165         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86166         instead of "_itoa.h" and "_itowa.h".
86167         * stdio-common/vfprintf.: Likewise.
86169 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86171         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86172         <bits/wordsize.h>.
86173         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86174         (__signbit): Likewise.
86175         (llrintf): Likewise.
86176         (llrint): Likewise.
86178 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86180         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86181         __WORDSIZE != 64.
86183 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
86185         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86186         OVERFLOW_EXCEPTION_OK.
86187         * math/libm-test.inc ("Philosophy"): Update comment about
86188         exception testing.
86189         (OVERFLOW_EXCEPTION): Define.
86190         (OVERFLOW_EXCEPTION_OK): Likewise.
86191         (INVALID_EXCEPTION_OK): Renumber.
86192         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86193         (IGNORE_ZERO_INF_SIGN): Likewise.
86194         (test_exceptions): Handle FE_OVERFLOW.
86195         (exp10_test): Expect overflow exceptions.
86196         (exp2_test): Likewise.
86197         (expm1_test): Likewise.
86198         (nextafter_test): Likewise.
86199         (pow_test): Likewise.
86200         (scalbn_test): Likewise.
86201         (scalbln_test): Likewise.
86203 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86205         * sysdeps/x86_64/bits/atomic.h
86206         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86207         64bit integer.
86208         (atomic_exchange_acq): Likewise.
86209         (__arch_exchange_and_add_body): Likewise.
86210         (__arch_add_body): Likewise.
86211         (atomic_add_negative): Likewise.
86212         (atomic_add_zero): Likewise.
86214 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86216         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86217         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86219 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86221         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86222         Check __x86_64__ instead of __WORDSIZE.
86224 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86226         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86228 2012-03-19  David S. Miller  <davem@davemloft.net>
86230         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86232         * sysdeps/sparc/fpu/fenv_private.h: New file.
86233         * sysdeps/sparc/fpu/math_private.h: Use it.
86234         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86235         Remove.
86236         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86237         (libc_feholdexcept_setroundl): Remove.
86238         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86239         Remove.
86240         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86241         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86243 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86245         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86246         int64_t instead of long int.
86247         (INSERT_WORDS64): Likewise.
86249 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86251         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86252         _Unwind_GetCFA return to _Unwind_Ptr first.
86254 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
86256         [BZ #13629]
86257         * math/s_clog.c: Include <float.h>.
86258         (__clog): Scale large or subnormal inputs.
86259         * math/s_clogf.c: Likewise.
86260         * math/s_clogl.c: Likewise.
86261         * math/s_clog10.c: Include <float.h>.
86262         (M_LOG10_2): Define.
86263         (__clog10): Scale large or subnormal inputs.
86264         * math/s_clog10f.c: Likewise.
86265         * math/s_clog10l.c: Likewise.
86266         * math/libm-test.inc (clog_test): Add more tests.
86267         (clog10_test): Likewise.
86268         * sysdeps/i386/fpu/libm-test-ulps: Update.
86269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86271         [BZ #11451]
86272         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86273         x and y.
86274         * math/libm-test.inc (atan2_test): Add another test.
86276         * Makerules (common-objdir-compile): Remove.
86277         * sysdeps/unix/Makefile (config-generated): Do not add
86278         $(unix-generated) to variable.
86279         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86280         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86281         Remove rule.
86282         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86283         Likewise.
86284         [generic bits/local_lim.h] (before-compile): Do not append to
86285         variable.
86286         [generic bits/local_lim.h] (common-generated): Likewise.
86287         [generic sys/param.h] (before-compile): Do not append to variable.
86288         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86289         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86290         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86291         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86292         include.
86293         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86294         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86295         [generic sys/param.h] ($(addprefix
86296         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86297         [generic sys/param.h] (common-generated): Do not append to
86298         variable.
86299         [generic sys/param.h] (sysdep_headers): Likewise.
86300         [generic bits/errno.h] (before-compile): Do not append to
86301         variable.
86302         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86303         rule.
86304         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86305         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86306         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86307         [generic bits/errno.h] (common-generated): Do not append to
86308         variable.
86309         [generic bits/ioctls.h] (before-compile): Do not append to
86310         variable.
86311         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86312         rule.
86313         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86314         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86315         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86316         rule.
86317         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86318         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86319         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86320         [generic bits/ioctls.h] (common-generated): Do not append to
86321         variable.
86322         [generic sys/syscall.h] (syscall.h): Remove variable.
86323         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86324         rule.
86325         [generic sys/syscall.h] (before-compile): Do not append to
86326         variable.
86327         [generic sys/syscall.h] (common-generated): Likewise.
86328         * sysdeps/unix/errnos-tmpl.c: Remove file.
86329         * sysdeps/unix/errnos.awk: Likewise.
86330         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86331         * sysdeps/unix/ioctls.awk: Likewise.
86332         * sysdeps/unix/mk-local_lim.c: Likewise.
86333         * sysdeps/unix/snarf-ioctls: Likewise.
86335 2012-03-19  Richard Henderson  <rth@twiddle.net>
86337         * sysdeps/i386/fpu/fenv_private.h: New file.
86338         * sysdeps/i386/fpu/math_private.h: Use it.
86339         (math_opt_barrier, math_force_eval): Remove.
86340         (libc_feholdexcept_setround_53bit): Remove.
86341         (libc_feupdateenv_53bit): Remove.
86342         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86343         (math_opt_barrier, math_force_eval): Remove.
86344         (libc_feholdexcept): Remove.
86345         (libc_feholdexcept_setround): Remove.
86346         (libc_fetestexcept, libc_fesetenv): Remove.
86347         (libc_feupdateenv_test): Remove.
86348         (libc_feupdateenv, libc_feholdsetround): Remove.
86349         (libc_feresetround): Remove.
86351         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86352         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86354         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86355         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86356         (libc_feupdateenv_testl): New.
86357         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86358         (libc_feupdateenv_testf): New.
86359         (libc_feupdateenv): Use libc_feupdateenv_test.
86360         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86361         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86363         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86364         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86365         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86366         (libc_feresetround_noex): New.
86367         (libc_feresetround_noexf): New.
86368         (libc_feresetround_noexl): New.
86369         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86370         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86371         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86372         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86373         SET_RESTORE_ROUND.
86374         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86375         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86376         (__cos): Likewise.
86377         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86378         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86379         SET_RESTORE_ROUND_NOEX.
86380         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86381         SET_RESTORE_ROUND_NOEXF.
86382         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86383         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86384         (libc_feholdsetroundf): New.
86385         (libc_feresetround, libc_feresetroundf): New.
86387         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86388         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86389         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86391         * sysdeps/generic/math_private.h: Include <fenv.h>.
86392         (default_libc_feholdexcept): New.
86393         (default_libc_feholdexcept_setround): New.
86394         (default_libc_fesetenv, default_libc_feupdateenv): New.
86395         (libc_feholdexcept): Only define if undefined.
86396         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86397         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86398         (libc_feholdexcept_setroundl): Likewise.
86399         (libc_feholdexcept_setround_53bit): Likewise.
86400         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86401         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86402         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86403         (libc_feupdateenv_53bit): Likewise.
86404         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86405         (libc_feholdexcept): Convert from macro to inline function.
86406         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86407         (libc_fesetenv, libc_feupdateenv): Likewise.
86409         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86410         not previously defined.
86411         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86412         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86413         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86414         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86415         * sysdeps/ieee754/flt-32/math_private.h: New file.
86416         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86417         math_private.h below SET_FLOAT_WORD.
86418         (__isnan, __isinf_ns, __finite): Remove.
86419         (__isnanf, __isinf_nsf, __finitef): Remove.
86421 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86425 2012-03-17  David S. Miller  <davem@davemloft.net>
86427         [BZ #6471]
86428         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86429         for 2.16.
86431 2012-03-16  David S. Miller  <davem@davemloft.net>
86433         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86434         warnings.
86436         [BZ #6471]
86437         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86438         properly.
86439         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86440         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86441         sysdep_routines when subdir is sysvipc.
86442         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86443         __getshmlba helper.
86445         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86447 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86449         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86450         [__LP64__].
86452 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86454         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86455         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86456         (__lround): Renamed to ...
86457         (__llround): This.  Replace long int with long long int.
86458         Define lround functions as aliases of llround functions.
86459         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86461 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86463         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86464         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86465         adresses to uintptr_t.  Replace "long int" and "unsigned long
86466         int" with "greg_t" on va_arg.
86468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86470         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86471         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86473         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86474         Move e_machine check before EI_CLASS check.  Handle x32
86475         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86476         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86477         SKIP_EM_IA_64 and include
86478         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86480         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86481         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86482         (add_system_dir): New macro.
86484         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86485         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86487 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86489         [BZ #2551]
86490         [BZ #2552]
86491         [BZ #2553]
86492         [BZ #2554]
86493         [BZ #2562]
86494         [BZ #2563]
86495         [BZ #2565]
86496         [BZ #2566]
86497         [BZ #2576]
86498         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86499         (y0): Likewise.
86500         * math/w_j0f.c (j0f): Likewise.
86501         (y0f): Likewise.
86502         * math/w_j0l.c (__j0l): Likewise.
86503         (__y0l): Likewise.
86504         * math/w_j1.c (j1): Likewise.
86505         (y1): Likewise.
86506         * math/w_j1f.c (j1f): Likewise.
86507         (y1f): Likewise.
86508         * math/w_j1l.c (__j1l): Likewise.
86509         (__y1l): Likewise.
86510         * math/w_jn.c (jn): Likewise.
86511         (yn): Likewise.
86512         * math/w_jnf.c (jnf): Likewise.
86513         (ynf): Likewise.
86514         * math/w_jnl.c (__jnl): Likewise.
86515         (__ynl): Likewise.
86516         * math/libm-test.inc (j0_test): Add more tests.
86517         (j1_test): Likewise.
86518         (jn_test): Likewise.  Add trailing semicolon to existing test.
86519         (y0_test): Likewise.
86520         (y1_test): Likewise.
86521         * sysdeps/i386/fpu/libm-test-ulps: Update.
86522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86524         [BZ #13851]
86525         [BZ #13854]
86526         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86527         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86528         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86529         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86530         (__tanl): Set errno for infinite argument.
86531         * sysdeps/i386/fpu/mptan.c: Remove.
86532         * sysdeps/i386/fpu/s_tan.S: Likewise.
86533         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86534         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86535         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86536         * math/libm-test.inc (tan_test): Add more tests and enable more
86537         tests for double and long double.
86538         * sysdeps/i386/fpu/libm-test-ulps: Update.
86539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86541 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86543         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86544         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86546 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86548         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86549         * configure.in: Use it for both main tree and add-ons.
86550         * configure: Regenerated.
86552 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86554         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86556 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86558         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86559         in comment.
86561         [BZ #13851]
86562         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86563         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86564         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86565         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86566         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86567         infinite argument.
86568         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86569         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86570         != 0 for prec == 2.
86571         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86572         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86573         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86574         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86575         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86576         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86577         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86578         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86579         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86580         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86581         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86582         * math/libm-test.inc (cos_test): Add more tests and enable more
86583         tests for long double.
86584         (sin_test): Likewise.
86585         (sincos_test): Likewise.
86586         * sysdeps/i386/fpu/libm-test-ulps: Update.
86587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86589 2012-03-16  David S. Miller  <davem@davemloft.net>
86591         * sysdeps/sparc/fpu/math_private.h: New file.
86593 2012-03-15  David S. Miller  <davem@davemloft.net>
86595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86596         file.
86597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86599         file.
86600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86601         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86605         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86606         sysdep routines.
86607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86609         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86610         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86612         * sysdeps/sparc/sparc-ifunc.h: New file.
86613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86614         sparc-ifunc.h
86615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86617         Likewise.
86618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86619         Likewise.
86620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86624         Likewise.
86625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86630         Likewise.
86631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86632         Likewise.
86633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86637         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86639         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86640         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86647         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86651         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86652         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86653         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86654         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86655         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86656         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86658 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86660         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86661         scaling.
86662         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86664 2012-03-15  Andreas Jaeger  <aj@suse.de>
86666         [BZ #13852]
86667         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86668         ieee754/flt-32 implementation for sin, cos and sincos.
86669         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86670         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86671         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86672         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86673         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86674         ieee754/flt-32 implementation for tan.
86676         * math/libm-test.inc (cos_test): Enable some large input tests for
86677         float as well
86678         (sin_test): Likewise.
86679         (sincos_test): Likewise.
86680         (tan_test): Add tests for large input.
86682         * sysdeps/i386/fpu/libm-test-ulps: Update.
86684 2012-03-15  Andreas Jaeger  <aj@suse.de>
86686         [BZ #13658]
86687         * math/libm-test.inc (cos_test): Add more test cases.
86688         (sin_test): Likewise.
86689         (sincos_test): Likewise.
86691 2012-03-15  Andreas Jaeger  <aj@suse.de>
86693         [BZ #13837]
86694         * math/libm-test.inc (cos_test): Add a test case for large input
86695         value.
86696         (sin_test): Likewise.
86697         (sincos_test): Likewise.
86699 2012-03-15  Andreas Jaeger  <aj@suse.de>
86700             Joseph Myers  <joseph@codesourcery.com>
86702         [BZ #13658]
86703         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86704         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86705         * sysdeps/i386/fpu/branred.c: Likewise.
86706         * sysdeps/i386/fpu/dosincos.c: Likewise.
86707         * sysdeps/i386/fpu/mpa.c: Likewise.
86708         * sysdeps/i386/fpu/s_cos.S: Likewise.
86709         * sysdeps/i386/fpu/s_sin.S: Likewise.
86710         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86711         * sysdeps/i386/fpu/sincos32.c: Likewise.
86713         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86714         Define.
86715         (libc_feupdateenv_53bit): Define.
86716         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86717         Define.
86718         (libc_feupdateenv_53bit): Define.
86720         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86721         53 bit (without extend i386 double precision).
86723         * math/libm-test.inc (sincos_test): Add tests for large input.
86724         (sin): Likewise.
86725         (cos): Likewise.
86727         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86729 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86731         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86733 2012-03-15  David S. Miller  <davem@davemloft.net>
86735         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86736         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86737         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86738         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86743         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86751         file.
86752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86754         file.
86755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86757         file.
86758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86760         file.
86761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86763         fmin/fmax sysdep routines.
86764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86766 2012-03-14  David S. Miller  <davem@davemloft.net>
86768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86772         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86780         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86788         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86792         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86796         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86797         routines.
86798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86799         file.
86800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86802         file.
86803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86805         file.
86806         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86808         file.
86809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86811         file.
86812         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86814         file.
86815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86816         file.
86817         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86818         file.
86819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86820         file.
86821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86822         New file.
86823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86824         file.
86825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86826         file.
86827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86829         file.
86830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86832         file.
86833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86835         file.
86836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86838         VIS3 routines.
86840         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86841         New file.
86843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86845         * sysdeps/sparc/configure.in: New file.
86846         * sysdeps/sparc/configure: Generate.
86847         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86848         * configure: Regenerate.
86849         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86850         * config.make.in (have-as-vis3): New.
86851         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86852         available use -Av9d instead of -Av9a.
86853         * sysdeps/sparc/sparc64/Makefile: Likewise.
86854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86856         New file.
86857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86858         file.
86859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86860         New file.
86861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86862         file.
86863         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86864         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86865         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86869         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86870         fzeros/fnegs to load 0x80000000 into a float register instead of
86871         using the stack.
86872         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86874 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86876         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86877         bits/syscall.h.
86878         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86879         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86880         ($(inst_includedir)/bits/syscall.h): Remove rule.
86881         ($(objpfx)bits/syscall.d): Include instead of
86882         $(objpfx)syscall-list.d.
86883         (generated): Change syscall-list.h and syscall-list.d to
86884         bits/syscall.h and bits/syscall.d.
86886 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86888         [BZ #13846]
86889         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86891 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86893         [BZ #13841]
86894         * math/s_csqrt.c: Include <float.h>.
86895         (__csqrt): Scale large or subnormal inputs.
86896         * math/s_csqrtf.c: Likewise.
86897         * math/s_csqrtl.c: Likewise.
86898         * math/libm-test.inc (csqrt_test): Add more tests.
86899         * sysdeps/i386/fpu/libm-test-ulps: Update.
86900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86902         [BZ #13840]
86903         * math/libm-test.inc (hypot_test): Add more tests.
86905 2012-03-13  David S. Miller  <davem@davemloft.net>
86907         [BZ #13840]
86908         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86909         double-precision for the calculation instead of scaling.
86911 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86913         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86914         manipulate bits before adding and subtracting TWO52[sx].
86915         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86916         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86917         Likewise.
86918         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86920 2012-03-13  David S. Miller  <davem@davemloft.net>
86922         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86923         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86924         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86925         rtld-global-offsets.h
86926         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86928         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86929         large parameters.
86931         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86933         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86934         'err' in the ifdef scope in which it is actually used.
86936         * nss/nss_db/db-init.c: Include string.h
86938 2012-03-12  David S. Miller  <davem@davemloft.net>
86940         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86941         masking out of the most significant byte of random value used.
86942         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86943         Fix coding style in previous change.
86945         * sysdeps/unix/sysv/linux/kernel-features.h
86946         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86947         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86948         expression.
86949         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86950         later.
86952 2012-03-11  David S. Miller  <davem@davemloft.net>
86954         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86955         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86956         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86957         for 'resultvar' otherwise things get truncated on 64-bit.
86959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86960         Fix masking out of the most significant byte of random value used.
86962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86964 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86968 2012-03-09  David S. Miller  <davem@davemloft.net>
86970         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86971         variables with appropriate CPP guards.
86972         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86973         from the frame pointer, not the stack pointer.  Correct layout
86974         comments.  Fix test on resulting framesize and the management of
86975         the outregs buffer for pltexit.  Preserve floating point return
86976         values across _dl_call_pltexit call.
86977         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86978         framesize and the management of the outregs buffer for pltexit.
86979         Preserve floating point return values across _dl_call_pltexit
86980         call.
86981         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86982         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86983         (la_sparc64_gnu_pltexit): New functions.
86984         (print_exit): Fix format string for return register value.
86986 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86988         * sunrpc/Makefile (others): Add rpcgen.
86989         ($(objpfx)rpcgen): Remove special build rule and dependency on
86990         libc.
86991         * sunrpc/rpcgen.c: New file.
86993 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86995         [BZ #13673]
86996         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86997         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86998         * sysdeps/i386/crti.S: Likewise.
86999         * sysdeps/i386/crtn.S: Likewise.
87000         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
87001         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
87002         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
87003         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
87004         * sysdeps/sh/crti.S: Likewise.
87005         * sysdeps/sh/crtn.S: Likewise.
87006         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
87008         [BZ #13673]
87009         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
87010         with URL.
87011         * locale/programs/locfile-kw.gperf: Likewise.
87012         * locale/programs/charmap-kw.h: Regenerated.
87013         * locale/programs/locfile-kw.h: Likewise.
87015         [BZ #13673]
87016         * intl/plural.y: Replace FSF snail mail address with URL.
87017         * intl/plural.c: Regenerated.
87019 2012-03-09  Richard Henderson  <rth@twiddle.net>
87021         * include/math_private.h: Remove file.
87022         * math/math_private.h: Move file ...
87023         * sysdeps/generic/math_private.h: ... here.
87025         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
87026         * sysdeps/powerpc/fpu/math_private.h: Likewise.
87027         * sysdeps/x86_64/fpu/math_private.h: Likewise.
87029         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
87030         and <math_private.h>.
87031         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87032         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87033         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87034         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87035         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87036         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
87037         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87038         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87039         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87040         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87041         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87042         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87043         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87044         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87045         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87046         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87047         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87048         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87049         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87050         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87051         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87052         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87053         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87055         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
87056         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87057         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87058         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87059         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87060         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87061         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87062         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87063         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
87064         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87065         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87066         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87067         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87068         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87069         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87070         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87071         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
87072         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87073         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87074         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
87075         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
87076         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87077         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
87078         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
87079         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87080         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87081         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
87082         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
87083         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
87084         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87085         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
87086         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87087         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87088         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
87089         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
87090         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
87091         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87092         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
87093         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87094         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87095         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
87096         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87097         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87098         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87099         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
87100         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
87101         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
87102         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87103         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
87104         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87105         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
87106         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
87107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
87108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87109         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
87110         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
87111         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
87112         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
87113         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
87114         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87115         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
87117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
87118         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
87119         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87120         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87121         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87122         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87123         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87124         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87125         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87126         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87127         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87128         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87129         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87130         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87131         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87132         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87133         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87134         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87135         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87136         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87137         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87138         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87139         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87141         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87142         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87143         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87144         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87145         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
87146         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87147         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87148         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87149         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87150         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87151         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87152         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87153         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87154         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
87155         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87156         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87157         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87158         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
87159         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87160         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87161         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87162         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87163         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87164         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87165         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87166         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87167         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87168         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87169         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87170         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87171         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87172         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87173         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87174         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87175         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87176         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87177         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87178         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87179         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87180         * sysdeps/ieee754/k_standard.c: Likewise.
87181         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87182         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87183         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87184         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87185         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87186         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87187         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87188         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87189         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87190         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87191         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87192         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87193         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87194         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87195         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87196         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87197         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87198         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87199         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87200         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87201         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87202         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87203         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87204         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87205         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87206         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87207         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87208         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87211         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87212         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87213         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87214         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87215         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87216         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87217         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87218         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87219         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87220         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87221         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87222         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87223         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87224         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87227         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87228         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87229         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87230         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87231         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87232         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87233         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87234         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87235         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87236         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87237         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87238         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87239         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87240         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87241         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87242         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87243         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87244         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87245         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87246         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87247         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87248         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87249         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87250         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87251         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87252         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87253         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87254         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87255         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87256         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87257         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87258         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87259         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87260         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87261         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87262         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87263         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87264         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87265         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87266         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87267         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87268         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87269         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87270         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87271         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87272         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87273         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87274         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87277         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87278         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87280         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87281         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87283         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87284         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87285         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87286         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87287         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87288         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87289         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87290         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87291         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87292         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87293         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87294         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87295         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87296         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87297         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87298         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87299         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87300         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87301         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87302         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87303         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87304         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87305         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87306         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87307         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87308         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87309         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87310         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87311         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87312         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87313         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87314         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87315         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87316         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87317         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87318         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87319         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87320         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87321         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87322         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87323         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87324         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87325         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87326         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87327         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87328         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87329         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87330         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87331         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87332         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87333         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87334         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87335         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87336         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87337         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87338         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87339         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87340         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87341         * sysdeps/ieee754/s_lib_version.c: Likewise.
87342         * sysdeps/ieee754/s_matherr.c: Likewise.
87343         * sysdeps/ieee754/s_signgam.c: Likewise.
87344         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87345         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87346         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87347         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87348         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87349         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87350         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87351         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87352         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87353         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87354         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87355         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87356         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87357         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87358         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87359         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87360         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87361         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87362         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87363         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87366 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87368         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87369         * sunrpc/rpc_main.c: Likewise.
87370         * sunrpc/rpc_svcout.c: Likewise.
87372 2012-03-09  David S. Miller  <davem@davemloft.net>
87374         * include/math_private.h: New file.
87376 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87378         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87379         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87380         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87381         from <bits/socket_type.h>.
87382         (enum __socket_type): Don't define here.
87383         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87385         bits/socket_type.h.
87387         [BZ #13566]
87388         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87389         checking __USE_GNU.
87391         * Makerules ($(inst_includedir)/%.h): New rule.
87392         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87393         (install-others): Remove variable setting.
87394         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87396 2012-03-08  Richard Henderson  <rth@twiddle.net>
87398         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87399         from macro to inline function; merge with the
87400         !__LIBC_INTERNAL_MATH_INLINES version.
87401         (__ieee754_sqrtf): Likewise.
87403         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87404         to inline function.
87405         (__rintf, __floor, __floorf): Likewise.
87407         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87408         macro to inline function.
87409         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87411         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87412         not <math/math_private.h>.
87414 2012-03-08  David S. Miller  <davem@davemloft.net>
87416         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87417         copyright year.
87418         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87420 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87422         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87423         normalization.
87424         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87425         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87427 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87429         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87430         be defined individually, they must be defined as a block.  Define
87431         S for printing a string instead of hidint the different by using a
87432         macro for adding the 'l'.
87433         * stdio-common/tst-fphex-wide.c: Adjust.
87435 2012-03-07  Marek Polacek  <polacek@redhat.com>
87437         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87439 2012-03-08  Marek Polacek  <polacek@redhat.com>
87441         [BZ #13806]
87442         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87443         * stdio-common/tst-fphex.c: Define a few macros to make the
87444         test reusable.  Use them.
87445         * stdio-common/tst-fphex-wide.c: New file.
87447 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87449         [BZ #6911]
87450         * manual/macros.texi (gnusystems): New macro.
87451         (nongnusystems): Likewise.
87452         (gnulinuxhurdsystems): Likewise.
87453         (gnuhurdsystems): Likewise..
87454         (gnulinuxsystems): Likewise.
87455         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87456         variants of the GNU system, not "GNU system".
87457         * manual/conf.texi: Likewise.
87458         * manual/errno.texi: Likewise.  Update example of errno macro
87459         expansion.
87460         * manual/filesys.texi: Likewise.
87461         (getumask): Document as specific to GNU/Hurd.
87462         * manual/install.texi: Likewise.  Reword some references to
87463         GNU/Linux.
87464         * manual/intro.texi: Likewise.
87465         * manual/io.texi: Likewise.
87466         (File Name Portability): Detail which constraints are inapplicable
87467         to all GNU systems and which are only inapplicable to GNU/Hurd.
87468         * manual/job.texi: Likewise.
87469         * manual/llio.texi: Likewise.
87470         (O_NOCTTY): Document as present on GNU/Linux.
87471         * manual/maint.texi: Likewise.
87472         * manual/memory.texi: Likewise.
87473         * manual/pattern.texi: Likewise.
87474         * manual/pipe.texi: Likewise.
87475         * manual/process.texi: Likewise.
87476         * manual/resource.texi: Likewise.
87477         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87478         child on GNU/Hurd.
87479         * manual/setjmp.texi: Likewise.
87480         * manual/signal.texi: Likewise.
87481         * manual/startup.texi: Likewise.
87482         * manual/stdio.texi: Likewise.
87483         * manual/terminal.texi: Likewise.
87484         (ONLCR): Document as POSIX.
87485         (OXTABS): Document availability on GNU/Linux as XTABS.
87486         (ONOEOT): Document availability separately from other bits.
87487         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87488         * manual/time.texi: Likewise.
87489         * manual/users.texi: Likewise.
87490         * INSTALL: Regenerated.
87491         * sysdeps/gnu/errlist.c: Regenerated.
87493         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87494         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87495         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87496         puts.
87497         * configure: Regenerated.
87499 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87501         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87502         default includes instead of AC_HEADER_CHECK.
87503         * sysdeps/i386/configure: Regenerated.
87505         [BZ #10716]
87506         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87507         * math/s_cacoshf.c (__cacoshf): Likewise.
87508         * math/s_cacoshl.c (__cacoshl): Likewise.
87509         * math/s_casinh.c (__casinh): Set signs of result from argument.
87510         * math/s_casinhf.c (__casinhf): Likewise.
87511         * math/s_casinhl.c (__casinhl): Likewise.
87512         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87513         (casinh_test): Add more tests.
87514         * sysdeps/i386/fpu/libm-test-ulps: Update.
87515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87517 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87519         * po/zh_TW.po: Update from translation team.
87521         * login/Makefile (distribute): Remove variable.
87522         * catgets/Makefile: Likewise.
87523         * mach/Makefile: Likewise.
87524         * malloc/Makefile: Likewise.
87525         * misc/Makefile: Likewise.
87526         * iconv/Makefile: Likewise.
87527         * nscd/Makefile: Likewise.
87528         * hurd/Makefile: Likewise.
87529         * manual/Makefile: Likewise.
87530         * locale/Makefile: Likewise.
87531         * intl/Makefile: Likewise.
87532         * conform/Makefile: Likewise.
87533         * nss/Makefile: Likewise.
87534         * time/Makefile: Likewise.
87535         * soft-fp/Makefile: Likewise.
87536         * dirent/Makefile: Likewise.
87537         * gmon/Makefile: Likewise.
87538         * po/Makefile: Likewise.
87539         * rt/Makefile: Likewise.
87540         * socket/Makefile: Likewise.
87541         * math/Makefile: Likewise.
87542         * signal/Makefile: Likewise.
87543         * debug/Makefile: Likewise.
87544         * elf/Makefile: Likewise.
87545         * timezone/Makefile: Likewise.
87546         * stdlib/Makefile: Likewise.
87547         * iconvdata/Makefile: Likewise.
87548         * sunrpc/Makefile: Likewise.
87549         * io/Makefile: Likewise.
87550         * argp/Makefile: Likewise.
87551         * inet/Makefile: Likewise.
87552         * hesiod/Makefile: Likewise.
87553         * grp/Makefile: Likewise.
87554         * csu/Makefile: Likewise.
87555         * wctype/Makefile: Likewise.
87556         * crypt/Makefile: Likewise.
87557         * libio/Makefile: Likewise.
87558         * string/Makefile: Likewise.
87559         * nis/Makefile: Likewise.
87560         * resolv/Makefile: Likewise.
87561         * stdio-common/Makefile: Likewise.
87562         * wcsmbs/Makefile: Likewise.
87563         * dlfcn/Makefile: Likewise.
87564         * posix/Makefile: Likewise.
87566         [BZ #6959]
87567         * timezone/Makefile: Don't install timezone files, just the programs
87568         and scripts.
87570 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87572         * nss/databases.def: Add missing gshadow entry.
87574         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87576 2012-03-06  Marek Polacek  <polacek@redhat.com>
87578         [BZ #13726]
87579         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87580         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87581         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87582         * stdio-common/tst-long-dbl-fphex.c: New file.
87584 2012-03-06  David S. Miller  <davem@davemloft.net>
87586         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87587         (set_obp_int): New function.
87588         (get_obp_int): New function.
87589         (__get_clockfreq_via_dev_openprom): Likewise.
87590         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87591         Avoid unused variable warnings on 'val' and use builtin_expect.
87592         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87593         __builtin_expect.
87594         (INLINE_CLONE_SYSCALL): Likewise.
87596 2012-03-05  David S. Miller  <davem@davemloft.net>
87598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87600 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87604         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87605         only for |x| >= 40.
87606         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87608 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87610         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87611         Replace gettimeofday with __vdso_gettimeofday.
87613         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87614         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87615         __vdso_clock_gettime and __vdso_getcpu.
87617         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87618         time with __vdso_time.
87620 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87622         * manual/lang.texi (size_t): Note types to which size_t may be
87623         equivalent with the GNU C Library, but do not describe when
87624         differences between them are significant.
87626 2012-03-05  Andreas Jaeger  <aj@suse.de>
87628         * sysdeps/i386/fpu/libm-test-ulps: Update.
87630 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87632         [BZ #3976]
87633         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87634         (__ieee754_pow): Save and restore rounding mode and use
87635         round-to-nearest for main computations.
87636         * math/libm-test.inc (pow_test_tonearest): New function.
87637         (pow_test_towardzero): Likewise.
87638         (pow_test_downward): Likewise.
87639         (pow_test_upward): Likewise.
87640         (main): Call the new functions.
87641         * sysdeps/i386/fpu/libm-test-ulps: Update.
87642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87644         [BZ #3976]
87645         * math/libm-test.inc (cosh_test_tonearest): New function.
87646         (cosh_test_towardzero): Likewise.
87647         (cosh_test_downward): Likewise.
87648         (cosh_test_upward): Likewise.
87649         (sinh_test_tonearest): Likewise.
87650         (sinh_test_towardzero): Likewise.
87651         (sinh_test_downward): Likewise.
87652         (sinh_test_upward): Likewise.
87653         (main): Call the new functions.
87654         * sysdeps/i386/fpu/libm-test-ulps: Update.
87655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87657 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87659         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87660         default stack guard is set in last bytes.
87661         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87663 2012-03-05  Kees Cook  <keescook@chromium.org>
87665         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87667         [BZ #13656]
87668         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87669         possibly allocate from heap instead of stack.
87670         * stdio-common/bug-vfprintf-nargs.c: New file.
87671         * stdio-common/Makefile (tests): Add nargs overflow test.
87673 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87677 2012-03-03  Marek Polacek  <polacek@redhat.com>
87679         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87680         * math/math_private.h: Likewise.
87681         * stdlib/tst-strtod.c: Likewise.
87682         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87683         * sysdeps/x86_64/bits/atomic.h: Likewise.
87685 2012-03-02  David S. Miller  <davem@davemloft.net>
87687         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87691         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87692         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87693         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87694         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87696 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87698         [BZ #13792]
87699         * manual/examples/README: New file, says the example source files
87700         can be used under GPL>=2.
87701         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87702         line containing just "*/".
87703         * manual/examples/add.c: Add copyright header (GPL>=2).
87704         * manual/examples/argp-ex1.c: Likewise.
87705         * manual/examples/argp-ex2.c: Likewise.
87706         * manual/examples/argp-ex3.c: Likewise.
87707         * manual/examples/argp-ex4.c: Likewise.
87708         * manual/examples/atexit.c: Likewise.
87709         * manual/examples/db.c: Likewise.
87710         * manual/examples/dir.c: Likewise.
87711         * manual/examples/dir2.c: Likewise.
87712         * manual/examples/execinfo.c: Likewise.
87713         * manual/examples/filecli.c: Likewise.
87714         * manual/examples/filesrv.c: Likewise.
87715         * manual/examples/fmtmsgexpl.c: Likewise.
87716         * manual/examples/genpass.c: Likewise.
87717         * manual/examples/inetcli.c: Likewise.
87718         * manual/examples/inetsrv.c: Likewise.
87719         * manual/examples/isockad.c: Likewise.
87720         * manual/examples/longopt.c: Likewise.
87721         * manual/examples/memopen.c: Likewise.
87722         * manual/examples/memstrm.c: Likewise.
87723         * manual/examples/mkfsock.c: Likewise.
87724         * manual/examples/mkisock.c: Likewise.
87725         * manual/examples/mygetpass.c: Likewise.
87726         * manual/examples/pipe.c: Likewise.
87727         * manual/examples/popen.c: Likewise.
87728         * manual/examples/rprintf.c: Likewise.
87729         * manual/examples/search.c: Likewise.
87730         * manual/examples/select.c: Likewise.
87731         * manual/examples/setjmp.c: Likewise.
87732         * manual/examples/sigh1.c: Likewise.
87733         * manual/examples/sigusr.c: Likewise.
87734         * manual/examples/stpcpy.c: Likewise.
87735         * manual/examples/strdupa.c: Likewise.
87736         * manual/examples/strftim.c: Likewise.
87737         * manual/examples/strncat.c: Likewise.
87738         * manual/examples/subopt.c: Likewise.
87739         * manual/examples/swapcontext.c: Likewise.
87740         * manual/examples/termios.c: Likewise.
87741         * manual/examples/testopt.c: Likewise.
87742         * manual/examples/testpass.c: Likewise.
87743         * manual/examples/timeval_subtract.c: Likewise.
87745         [BZ #13792]
87746         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87747         function to ...
87748         * manual/timeval_subtract.c.texi: ... here, new file.
87750 2012-03-02  David S. Miller  <davem@davemloft.net>
87752         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87754 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87756         [BZ #3976]
87757         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87758         (__sin): Save and restore rounding mode and use round-to-nearest
87759         for all computations.
87760         (__cos): Save and restore rounding mode and use round-to-nearest
87761         for all computations.
87762         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87763         <fenv.h>.
87764         (tan): Save and restore rounding mode and use round-to-nearest for
87765         all computations.
87766         * math/libm-test.inc (cos_test_tonearest): New function.
87767         (cos_test_towardzero): Likewise.
87768         (cos_test_downward): Likewise.
87769         (cos_test_upward): Likewise.
87770         (sin_test_tonearest): Likewise.
87771         (sin_test_towardzero): Likewise.
87772         (sin_test_downward): Likewise.
87773         (sin_test_upward): Likewise.
87774         (tan_test_tonearest): Likewise.
87775         (tan_test_towardzero): Likewise.
87776         (tan_test_downward): Likewise.
87777         (tan_test_upward): Likewise.
87778         (main): Call the new functions.
87779         * sysdeps/i386/fpu/libm-test-ulps: Update.
87780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87782         [BZ #10135]
87783         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87784         small n, then large n, before computing and testing k+n.
87785         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87786         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87787         Likewise.
87788         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87789         Likewise.
87790         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87791         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87792         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87793         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87794         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87795         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87796         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87797         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87798         * math/libm-test.inc (scalbn_test): Add more tests.
87799         (scalbln_test): Likewise.
87801         * manual/filesys.texi (mode_t): Describe constraints on size and
87802         signedness, not exact equivalence to a particular type.
87803         (ino_t): Likewise.
87804         (ino64_t): Likewise.
87805         (dev_t): Likewise.
87806         (nlink_t): Likewise.
87807         (blkcnt_t): Likewise.
87808         (blkcnt64_t): Likewise.
87809         * manual/llio.texi (off_t): Likewise.
87811         [BZ #3976]
87812         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87813         (__ieee754_exp): Save and restore rounding mode and use
87814         round-to-nearest for all computations.
87815         * math/libm-test.inc (exp_test_tonearest): New function.
87816         (exp_test_towardzero): Likewise.
87817         (exp_test_downward): Likewise.
87818         (exp_test_upward): Likewise.
87819         (main): Call the new functions.
87820         * sysdeps/i386/fpu/libm-test-ulps: Update.
87821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87823 2012-03-01  Chris Demetriou  <cgd@google.com>
87825         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87826         have predictable order.
87828 2012-03-01  David S. Miller  <davem@davemloft.net>
87830         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87832         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87833         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87834         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87835         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87837         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87838         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87839         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87841         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87842         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87843         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87844         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87845         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87849         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87850         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87851         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87853         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87854         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87855         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87856         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87857         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87858         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87859         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87860         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87861         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87862         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87863         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87864         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87865         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87866         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87867         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87868         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87869         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87870         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87871         * sysdeps/sparc/elf/configure: Regenerated.
87873 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87875         * configure.in (AS, LD): Require binutils 2.20 or later.
87876         * configure: Regenerated.
87877         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87878         as required minimum version.
87879         * INSTALL: Regenerated.
87881         [BZ #2541]
87882         [BZ #4108]
87883         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87884         before squaring exponent.
87885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87886         bottom long double and 27 bits of top long double before squaring
87887         exponent.
87888         * math/libm-test.inc (erfc_test): Add more tests.
87889         * sysdeps/i386/fpu/libm-test-ulps: Update.
87890         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87893 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87895         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87896         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87897         containing bit-fields.
87898         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87899         * soft-fp/single.h (_FP_UNION_S): Likewise.
87900         * soft-fp/double.h (_FP_UNION_D): Likewise.
87902 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87904         [BZ #13786]
87905         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87906         not include ../strcmp.S.
87907         [USE_AS_STRNCASECMP_L]: Likewise.
87908         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87909         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87910         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87911         (__strncasecmp_l_ia32): Define as alias to
87912         __strncasecmp_l_nonascii.
87914         [BZ #5794]
87915         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87916         * sysdeps/i386/fpu/libm-test-ulps: Update.
87917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87919         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87922 2012-02-29  Jeff Law  <law@redhat.com>
87924         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87925         out of bounds read.
87927 2012-02-29  Marek Polacek  <polacek@redhat.com>
87929         [BZ #13706]
87930         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87931         * elf/Makefile: Add rules to run tst-unused-dep.out.
87933 2012-02-28  David S. Miller  <davem@davemloft.net>
87935         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87936         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87937         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87939         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87940         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87942 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87944         * math/libm-test.inc (llround_test): Move one test from
87945         lround_test.  Use TEST_f_L in moved test.
87946         (lround_test): Move misplaced test to llround_test.  Add testcase
87947         from bug 2561.
87949 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87951         * sysdeps/x86_64/fpu/e_expf.S: New file.
87952         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87954 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87956         [BZ #13637]
87957         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87958         of remain_len that may cause incomplete multi-byte character and
87959         false match.
87960         * posix/bug-regex33.c: New file.
87961         * posix/Makefile (tests): Add bug-regex33.
87963 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87965         * manual/macros.texi: New file.
87966         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87967         * manual/libc.texinfo: Include macros.texi.
87968         * manual/creatute.texi: Likewise.
87969         * manual/install.texi: Likewise.
87970         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87971         @glibcadj{} in references to the GNU C Library.
87972         * manual/charset.texi: Likewise.
87973         * manual/conf.texi: Likewise.
87974         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87975         when not using those macros.
87976         * manual/creature.texi: Likewise.
87977         * manual/crypt.texi: Likewise.
87978         * manual/errno.texi: Likewise.
87979         * manual/filesys.texi: Likewise.
87980         * manual/header.texi: Likewise.
87981         * manual/install.texi: Likewise.
87982         * manual/intro.texi: Likewise.
87983         * manual/io.texi: Likewise.
87984         * manual/job.texi: Likewise.
87985         * manual/lang.texi: Likewise.
87986         * manual/libc.texiinfo: Likewise.
87987         * manual/llio.texi: Likewise.
87988         * manual/locale.texi: Likewise.
87989         * manual/maint.texi: Likewise.
87990         * manual/math.texi: Likewise.
87991         * manual/memory.texi: Likewise.
87992         * manual/message.texi: Likewise.
87993         * manual/nss.texi: Likewise.
87994         * manual/pattern.texi: Likewise.
87995         * manual/process.texi: Likewise.
87996         * manual/resource.texi: Likewise.
87997         * manual/search.texi: Likewise.
87998         * manual/setjmp.texi: Likewise.
87999         * manual/signal.texi: Likewise.
88000         * manual/socket.texi: Likewise.
88001         * manual/startup.texi: Likewise.
88002         * manual/stdio.texi: Likewise.
88003         * manual/string.texi: Likewise.
88004         * manual/sysinfo.texi: Likewise.
88005         * manual/syslog.texi: Likewise.
88006         * manual/terminal.texi: Likewise.
88007         * manual/time.texi: Likewise.
88008         * manual/users.texi: Likewise.
88009         * INSTALL: Regenerated.
88010         * NOTES: Regenerated.
88011         * sysdeps/gnu/errlist.c: Regenerated.
88013 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
88015         * include/dirent.h: Include <dirstream.h> before
88016         <dirent/dirent.h>.
88018 2012-02-28  David S. Miller  <davem@davemloft.net>
88020         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
88021         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
88022         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
88023         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
88025 2012-02-27  David S. Miller  <davem@davemloft.net>
88027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
88028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
88029         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
88030         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
88032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
88033         frame pointer instead of stack pointer relative arg slot.
88034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88035         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88036         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88038 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
88040         [BZ #3992]
88041         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
88043 2012-02-27  David S. Miller  <davem@davemloft.net>
88045         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
88046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
88048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
88049         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88050         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88051         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
88052         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
88054 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
88056         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
88057         later.  Allow versions 5-9.
88058         * configure: Regenerated.
88059         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
88060         required minimum version and 4.6 as recommended version.  Do not
88061         mention bugs in GCC 2.7 and 2.8.
88062         * INSTALL: Regenerated.
88064 2012-02-27  David S. Miller  <davem@davemloft.net>
88066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
88067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
88068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
88069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
88070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
88071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
88072         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
88073         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
88075         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
88076         manipulate bits before adding and subtracting TWO112[sx].
88077         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
88079 2012-02-27  Roland McGrath  <roland@hack.frob.com>
88081         [BZ #13775]
88082         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
88083         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
88084         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
88085         being in POSIX, because they are in 1003.1-2008.
88087         * rt/tst-aio.c: Include <fcntl.h>.
88088         * rt/tst-aio7.c: Likewise.
88089         * rt/tst-aio64.c: Likewise.
88091         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
88093 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
88095         * manual/install.texi (--with-headers): Describe headers as
88096         interface headers, not private headers.
88097         (Specific advice for GNU/Linux systems): Describe use of headers
88098         from "make headers_install", not private headers from older
88099         kernels.
88100         * INSTALL: Regenerated.
88101         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
88102         Change to 2.6.19.
88103         * sysdeps/unix/sysv/linux/configure: Regenerated.
88105         * manual/llio.texi (fclean): Remove documentation.
88107         * manual/Makefile (libc-texi-generated): New variable.  Include
88108         version.texi.
88109         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
88110         $(libc-texi-generated), not duplicated list of files.
88111         (version.texi, stamp-version): New rules.
88112         (realclean): Remove $(libc-texi-generated), not individual files
88113         from that list.  Do not remove dir-add.texinfo.
88114         * manual/libc.texinfo: Comment out uses of edition numbers and
88115         references to printed manual.  Remove last-updated dates.
88116         (EDITION): Comment out.
88117         (ISBN): Likewise.
88118         (VERSION, UPDATED): Remove.
88119         (version.texi): Include.
88121 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
88123         * sysdeps/posix/spawni.c: Include <signal.h>.
88124         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
88125         * sysdeps/pthread/aio_fsync.c: Likewise.
88127 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
88129         * conform/Makefile (tests): Run only when not cross-compiling and
88130         when fast-check is not defined.
88132         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
88133         * conform/data/limits.h-data: Fixes for POSIX2008.
88134         * conform/run-conformtest.sh: Run all tests.
88135         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
88136         headers.
88137         * include/bits/dlfcn.h: Likewise.
88138         * include/langinfo.h: Likewise.
88139         * include/monetary.h: Likewise.
88140         * include/sys/poll.h: Likewise.
88142         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
88143         for __USE_GNU.
88144         * posix/spawn.h: Define __need_sigset_t.
88145         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
88146         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
88147         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
88148         to get sigevent_t only.
88149         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
88150         only for __USE_GNU.
88151         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88152         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88153         process_vm_writev only for __USE_GNU.
88154         * termios/termios.h: Declare tcgetsid also for POSIX2008.
88156         * conform/Makefile: For now ignore errors from run-conformtest.
88157         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
88158         POSIX to avoid namespace pollution.  Don't prepend headers.
88159         * conform/data/aio.h-data: Fixes for POSIX testing.
88160         * conform/data/fcntl.h-data: Likewise.
88161         * conform/data/glob.h-data: Likewise.
88162         * conform/data/grp.h-data: Likewise.
88163         * conform/data/pthread.h-data: Likewise.
88164         * conform/data/pwd.h-data: Likewise.
88165         * conform/data/signal.h-data: Likewise.
88166         * conform/data/spawn.h-data: Likewise.
88167         * conform/data/stdio.h-data: Likewise.
88168         * conform/data/stdlib.h-data: Likewise.
88169         * conform/data/stropts.h-data: Likewise.
88170         * conform/data/sys/mman.h-data: Likewise.
88171         * conform/data/sys/stat.h-data: Likewise.
88172         * conform/data/sys/types.h-data: Likewise.
88173         * conform/data/sys/wait.h-data: Likewise.
88174         * conform/data/time.h-data: Likewise.
88175         * conform/data/unistd.h-data: Likewise.
88176         * conform/data/utime.h-data: Likewise.
88178         * io/sys/stat.h: fchmod was always in POSIX.
88179         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88180         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88181         * rt/aio.h: Define __need_timespec before including <time.h>.
88182         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88183         struct.  Add forward declaration of pthread_attr_t and use it in
88184         sigevent.
88185         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88186         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88187         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88188         always remove CLK_TCK definition.
88190 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
88192         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88194 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
88196         * conform/run-conformtest.sh: New file.
88197         * conform/Makefile: Run run-conformtest for tests.
88198         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
88199         support.
88201         * conform/data/uchar.h-data: New file.
88202         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88203         * conform/data/arpa/inet.h-data: Likewise.
88204         * conform/data/assert.h-data: Likewise.
88205         * conform/data/complex.h-data: Likewise.
88206         * conform/data/cpio.h-data: Likewise.
88207         * conform/data/ctype.h-data: Likewise.
88208         * conform/data/dirent.h-data: Likewise.
88209         * conform/data/dlfcn.h-data: Likewise.
88210         * conform/data/errno.h-data: Likewise.
88211         * conform/data/fcntl.h-data: Likewise.
88212         * conform/data/float.h-data: Likewise.
88213         * conform/data/fmtmsg.h-data: Likewise.
88214         * conform/data/fnmatch.h-data: Likewise.
88215         * conform/data/ftw.h-data: Likewise.
88216         * conform/data/glob.h-data: Likewise.
88217         * conform/data/grp.h-data: Likewise.
88218         * conform/data/iconv.h-data: Likewise.
88219         * conform/data/inttypes.h-data: Likewise.
88220         * conform/data/langinfo.h-data: Likewise.
88221         * conform/data/libgen.h-data: Likewise.
88222         * conform/data/limits.h-data: Likewise.
88223         * conform/data/locale.h-data: Likewise.
88224         * conform/data/math.h-data: Likewise.
88225         * conform/data/monetary.h-data: Likewise.
88226         * conform/data/mqueue.h-data: Likewise.
88227         * conform/data/ndbm.h-data: Likewise.
88228         * conform/data/net/if.h-data: Likewise.
88229         * conform/data/netdb.h-data: Likewise.
88230         * conform/data/netinet/in.h-data: Likewise.
88231         * conform/data/nl_types.h-data: Likewise.
88232         * conform/data/poll.h-data: Likewise.
88233         * conform/data/pthread.h-data: Likewise.
88234         * conform/data/pwd.h-data: Likewise.
88235         * conform/data/regex.h-data: Likewise.
88236         * conform/data/sched.h-data: Likewise.
88237         * conform/data/search.h-data: Likewise.
88238         * conform/data/semaphore.h-data: Likewise.
88239         * conform/data/setjmp.h-data: Likewise.
88240         * conform/data/signal.h-data: Likewise.
88241         * conform/data/spawn.h-data: Likewise.
88242         * conform/data/stdarg.h-data: Likewise.
88243         * conform/data/stdio.h-data: Likewise.
88244         * conform/data/stdlib.h-data: Likewise.
88245         * conform/data/string.h-data: Likewise.
88246         * conform/data/strings.h-data: Likewise.
88247         * conform/data/stropts.h-data: Likewise.
88248         * conform/data/sys/ipc.h-data: Likewise.
88249         * conform/data/sys/mman.h-data: Likewise.
88250         * conform/data/sys/msg.h-data: Likewise.
88251         * conform/data/sys/resource.h-data: Likewise.
88252         * conform/data/sys/select.h-data: Likewise.
88253         * conform/data/sys/sem.h-data: Likewise.
88254         * conform/data/sys/shm.h-data: Likewise.
88255         * conform/data/sys/socket.h-data: Likewise.
88256         * conform/data/sys/stat.h-data: Likewise.
88257         * conform/data/sys/statvfs.h-data: Likewise.
88258         * conform/data/sys/time.h-data: Likewise.
88259         * conform/data/sys/timeb.h-data: Likewise.
88260         * conform/data/sys/times.h-data: Likewise.
88261         * conform/data/sys/types.h-data: Likewise.
88262         * conform/data/sys/uio.h-data: Likewise.
88263         * conform/data/sys/un.h-data: Likewise.
88264         * conform/data/sys/utsname.h-data: Likewise.
88265         * conform/data/sys/wait.h-data: Likewise.
88266         * conform/data/syslog.h-data: Likewise.
88267         * conform/data/tar.h-data: Likewise.
88268         * conform/data/termios.h-data: Likewise.
88269         * conform/data/utime.h-data: Likewise.
88270         * conform/data/utmpx.h-data: Likewise.
88271         * conform/data/varargs.h-data: Likewise.
88272         * conform/data/wchar.h-data: Likewise.
88273         * conform/data/wctype.h-data: Likewise.
88274         * conform/data/wordexp.h-data: Likewise.
88276         * include/stropts.h: New file.
88277         * include/uchar.h: New file.
88278         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88279         * include/assert.h: Likewise.
88280         * include/ctype.h: Likewise.
88281         * include/dirent.h: Likewise.
88282         * include/dlfcn.h: Likewise.
88283         * include/fcntl.h: Likewise.
88284         * include/fnmatch.h: Likewise.
88285         * include/glob.h: Likewise.
88286         * include/grp.h: Likewise.
88287         * include/libio.h: Likewise.
88288         * include/locale.h: Likewise.
88289         * include/math.h: Likewise.
88290         * include/net/if.h: Likewise.
88291         * include/netdb.h: Likewise.
88292         * include/netinet/in.h: Likewise.
88293         * include/pthread.h: Likewise.
88294         * include/pwd.h: Likewise.
88295         * include/regex.h: Likewise.
88296         * include/sched.h: Likewise.
88297         * include/search.h: Likewise.
88298         * include/setjmp.h: Likewise.
88299         * include/signal.h: Likewise.
88300         * include/stdio.h: Likewise.
88301         * include/stdlib.h: Likewise.
88302         * include/string.h: Likewise.
88303         * include/sys/cdefs.h: Likewise.
88304         * include/sys/mman.h: Likewise.
88305         * include/sys/msg.h: Likewise.
88306         * include/sys/resource.h: Likewise.
88307         * include/sys/select.h: Likewise.
88308         * include/sys/socket.h: Likewise.
88309         * include/sys/stat.h: Likewise.
88310         * include/sys/statvfs.h: Likewise.
88311         * include/sys/time.h: Likewise.
88312         * include/sys/times.h: Likewise.
88313         * include/sys/uio.h: Likewise.
88314         * include/sys/utsname.h: Likewise.
88315         * include/sys/wait.h: Likewise.
88316         * include/termios.h: Likewise.
88317         * include/time.h: Likewise.
88318         * include/ulimit.h: Likewise.
88319         * include/unistd.h: Likewise.
88320         * include/utime.h: Likewise.
88321         * include/wchar.h: Likewise.
88322         * include/wctype.h: Likewise.
88323         * include/wordexp.h: Likewise.
88325         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88327         * time/time.h: TIME_UTC must be a macro.
88328         Make timespec_get available for ISO C11 only as well.
88330 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88332         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88333         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88335 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88337         * configure.in: Use -o not -a in test for unsupported multi-arch.
88339 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88341         * manual/texinfo.tex: Update to version 2012-01-19.16.
88343 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88345         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88347 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88349         [BZ #13738]
88350         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88351         * manual/fdl-1.3.texi: New file.
88352         * manual/fdl-1.1.texi: File removed.
88354         [BZ #13738]
88355         * manual/libc.texinfo (FDL_VERSION): New @set.
88356         Use it for mention of FDL in cover text.
88357         (Documentation License): Use it in @include file name.
88359 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88360             Roland McGrath  <roland@hack.frob.com>
88362         [BZ #5461]
88363         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88364         (not LONG_LONG_MAX and LONG_LONG_MIN.
88365         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88366         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88367         name.
88368         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88370 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88372         [BZ #2547]
88373         [BZ #11365]
88374         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88375         manipulate bits before adding and subtracting TWO23[sx].
88376         * math/libm-test.inc (nearbyint_test): Add more tests.
88378 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88380         [BZ #2548]
88381         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88382         bits before adding and subtracting TWO23[sx].
88383         * math/libm-test.inc (rint_test): Add more tests.
88384         (rint_test_tonearest): Likewise.
88385         (rint_test_towardzero): Likewise.
88386         (rint_test_downward): Likewise.
88387         (rint_test_upward: Likewise.
88389 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88391         [BZ #10110]
88392         * include/stdc-predef.h: New file.  Extracted from features.h.
88393         * include/features.h: Include stdc-predef.h.
88394         * Makefile (headers): Add stdc-predef.h.
88395         * CONFORMANCE (Compiler limitations): Update.
88397 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88399         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88401 2012-02-21  David S. Miller  <davem@davemloft.net>
88403         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88404         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88406 2012-02-20  David S. Miller  <davem@davemloft.net>
88408         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88409         using a normal save/restore sequence, rather than allocating a
88410         dummy stack frame just to store a frame pointer and restore.
88411         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88413 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88415         * manual/install.texi: Fix stray word in line-wrapped comment.
88417 2012-02-20  David S. Miller  <davem@davemloft.net>
88419         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88420         both binutils and gcc support GOTDATA.
88422         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88423         "rd %pc" in the PIC register setup sequences.
88425         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88426         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88427         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88428         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88429         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88430         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88431         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88433         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88434         (SYSCALL_ERROR_HANDLER): Likewise.
88435         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88436         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88437         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88438         (SYSCALL_ERROR_HANDLER): Likewise.
88440         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88441         (HAVE_GCC_GOTDATA): New.
88442         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88443         relocation support in both binutils and gcc.
88444         * sysdeps/sparc/elf/configure: Regenerate.
88446         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88447         * sysdeps/sparc/sparc32/elf/configure: Delete.
88448         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88449         * sysdeps/sparc/sparc64/elf/configure: Delete.
88450         * sysdeps/sparc/elf/configure.in: New file.
88451         * sysdeps/sparc/elf/configure: Generate.
88453         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88454         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88455         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88456         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88457         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88459 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88461         * manual/install.texi: Do not mention specific glibc version
88462         numbers.
88463         * manual/libc.texinfo (VERSION, UPDATED): Update.
88464         (@copying): Use @copyright{} and range of years.
88466 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88468         [BZ #13695]
88469         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88470         [crti.S not in sysdirs] (generated): Do not append.
88471         [crti.S not in sysdirs] (omit-deps): Likewise.
88472         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88473         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88474         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88475         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88476         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88477         Likewise.
88478         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88479         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88480         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88481         * csu/defs.awk: Remove file.
88482         * sysdeps/generic/initfini.c: Likewise.
88483         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88484         variable.
88485         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88486         Likewise.
88488 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88490         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88491         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88492         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88493         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88494         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88495         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88496         <bits/epoll.h>.
88497         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88498         (__EPOLL_PACKED): Define to empty if not defined by
88499         <bits/epoll.h>.
88500         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88501         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88502         bits/epoll.h.
88504 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88506         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88507         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88508         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88509         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88510         <bits/timerfd.h>.
88511         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88512         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88513         bits/timerfd.h.
88515 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88517         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88518         in C locale.
88519         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88520         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88521         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88524 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88526         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88527         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88529 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88531         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88532         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88533         defined.
88534         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88535         Likewise.
88536         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88537         entry for 2.16.
88539 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88541         * math/w_acos.c: Use non-signaling floating-point comparisons.
88542         * math/w_acosf.c: Likewise.
88543         * math/w_acosh.c: Likewise.
88544         * math/w_acoshf.c: Likewise.
88545         * math/w_acoshl.c: Likewise.
88546         * math/w_acosl.c: Likewise.
88547         * math/w_asin.c: Likewise.
88548         * math/w_asinf.c: Likewise.
88549         * math/w_asinl.c: Likewise.
88550         * math/w_atanh.c: Likewise.
88551         * math/w_atanhf.c: Likewise.
88552         * math/w_atanhl.c: Likewise.
88553         * math/w_exp2.c: Likewise.
88554         * math/w_exp2f.c: Likewise.
88555         * math/w_exp2l.c: Likewise.
88556         * math/w_j0.c: Likewise.
88557         * math/w_j0f.c: Likewise.
88558         * math/w_j0l.c: Likewise.
88559         * math/w_j1.c: Likewise.
88560         * math/w_j1f.c: Likewise.
88561         * math/w_j1l.c: Likewise.
88562         * math/w_jn.c: Likewise.
88563         * math/w_jnf.c: Likewise.
88564         * math/w_log.c: Likewise.
88565         * math/w_log10.c: Likewise.
88566         * math/w_log10f.c: Likewise.
88567         * math/w_log10l.c: Likewise.
88568         * math/w_log2.c: Likewise.
88569         * math/w_log2f.c: Likewise.
88570         * math/w_log2l.c: Likewise.
88571         * math/w_logf.c: Likewise.
88572         * math/w_logl.c: Likewise.
88573         * math/w_sqrt.c: Likewise.
88574         * math/w_sqrtf.c: Likewise.
88575         * math/w_sqrtl.c: Likewise.
88576         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88577         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88578         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88579         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88582 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88584         [BZ #9739]
88585         * manual/string.texi (strnlen): Use correct parameter name in
88586         equivalent expression.
88588 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88590         [BZ #11174]
88591         * manual/users.texi (seteuid): Consistently use neweuid for
88592         argument name.
88594 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88596         [BZ #13704]
88597         * manual/nss.texi (Services in the NSS configuration): Correct
88598         list of services in example configuration file.
88600 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88602         [BZ #11322]
88603         * manual/arith.texi: Remove statements about negative zero
88604         behaving identically to zero.
88606 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88608         [BZ #5993]
88609         * manual/install.texi: Do not document upgrading from libc5.
88611 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88613         [BZ #4596]
88614         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88616 2012-02-18  David S. Miller  <davem@davemloft.net>
88618         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88619         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88620         %o7 across the call.
88621         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88622         instead.
88623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88624         SETUP_PIC_REG_LEAF.
88625         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88626         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88627         * sysdeps/sparc/crtn.S: Likewise.
88629 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88631         * aout/Makefile: Remove.
88633 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88635         [BZ #13058]
88636         * manual/examples/argp-ex1.c (main): Format definition in GNU
88637         style.
88638         * manual/examples/argp-ex2.c (main): Likewise.
88639         * manual/examples/argp-ex3.c (main): Likewise.
88640         * manual/examples/argp-ex4.c (main): Likewise.
88641         * manual/examples/longopt.c (main): Use new-style prototype
88642         definition.
88643         * manual/examples/strncat.c (main): Specify return type and use
88644         (void) for arguments.
88645         * manual/examples/subopt.c (main): Use char **argv argument.
88647 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88649         [BZ #5077]
88650         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88651         rounding modes.
88653 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88655         [BZ #6907]
88656         * manual/string.texi (strchr): Change when strchrnul is
88657         recommended.
88659 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88661         [BZ #174]
88662         * manual/locale.texi (setlocale): Document LOCPATH.
88664 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88666         [BZ #10210]
88667         * manual/process.texi (execle): Move @dots{} before last argument.
88669 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88671         [BZ #12047]
88672         * manual/charset.texi (Generic Charset Conversion): Fix typo
88673         (LC_TYPE -> LC_CTYPE).
88675 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88677         [BZ #5805]
88678         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88679         (scalbnf): Likewise.
88680         (scalbnl): Likewise.
88681         (scalbln): Likewise.
88682         (scalblnf): Likewise.
88683         (scalblnl): Likewise.
88684         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88685         (vwarnx): Likewise.
88686         (verr): Likewise.
88687         (verrx): Likewise.
88688         * manual/filesys.texi (telldir): Use braces around return type.
88689         * manual/llio.texi (mmap): Add space after comma.
88690         (mmap64): Likewise.
88691         * manual/math.texi (jn): Use @var{} on parameter names.
88692         (jnf): Likewise.
88693         (jnl): Likewise.
88694         (yn): Likewise.
88695         (ynf): Likewise.
88696         (ynl): Likewise.
88697         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88698         line.
88699         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88700         "...".
88701         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88702         (sched_get_priority_max): Likewise.
88703         * manual/signal.texi (sigvec): Add space after comma.
88704         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88705         names.
88706         (if_indextoname): Likewise.
88707         (if_freenameindex): Likewise.
88708         (sendto): Use ',' instead of '.' in prototype.
88709         * manual/startup.texi (syscall): Use @dots{} instead of literal
88710         "...".
88711         * manual/stdio.texi (__fpending): Separate initial words of
88712         paragraph from @deftypefun line.
88713         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88714         "...".
88715         (vsyslog): Use @var{} on parameter names.
88716         * manual/terminal.texi (stty): Use @var{} on parameter names.
88717         * manual/users.texi (getutmp): Use @var{} on parameter names.
88718         (getutmpx): Likewise.
88720 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88722         [BZ #6884]
88723         * manual/stdio.texi (fopen): Fix typos in description of
88724         ",ccs=STRING".
88726 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88728         [BZ #4026]
88729         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88730         get clock_id definition.
88732 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88734         [BZ #4822]
88735         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88736         (madvise): Cast every argument to void on its own.
88738 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88740         [BZ #9902]
88741         * manual/startup.texi (Exit Status): Fix typo.
88743 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88745         [BZ #10140]
88746         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88747         * manual/examples/argp-ex2.c: Likewise.
88748         * manual/examples/argp-ex3.c: Likewise.
88750 2012-02-16  Richard Henderson  <rth@redhat.com>
88752         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88753         * sysdeps/s390/s390-32/initfini.c: Remove.
88754         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88755         * sysdeps/s390/s390-64/initfini.c: Remove.
88757 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88759         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88760         compiler output for sysdeps/generic/initfini.c.
88761         * sysdeps/sh/elf/initfini.c: Remove file.
88763 2012-02-16  David S. Miller  <davem@davemloft.net>
88765         [BZ #11494]
88766         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88768         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88769         * sysdeps/sparc/crti.S: New file.
88770         * sysdeps/sparc/crtn.S: New file.
88771         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88772         * sysdeps/sparc/sparc64/Makefile: Likewise.
88774 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88776         [BZ #3335]
88777         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88779 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88781         [BZ #4822]
88782         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88784         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88785         (write, read, close): Likewise.
88786         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88788 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88790         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88791         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88792         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88793         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88794         <bits/signalfd.h>.
88795         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88796         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88797         bits/signalfd.h.
88799 2012-02-14  Marek Polacek  <polacek@redhat.com>
88801         * sysdeps/x86_64/crti.S: New file.
88802         * sysdeps/x86_64/crtn.S: New file.
88803         * sysdeps/x86_64/elf/initfini.c: Remove file.
88805 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88807         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88808         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88809         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88810         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88811         <bits/inotify.h>.
88812         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88813         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88814         bits/inotify.h.
88816 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88818         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88819         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88820         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88821         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88822         <bits/eventfd.h>.
88823         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88824         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88825         bits/eventfd.h.
88827 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88829         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88830         __feraiseexcept instead of feraiseexcept.
88832         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88833         nanosleep invocations.
88834         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88835         strings, and add error checking for a nanosleep invocations.
88837 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88839         Replace FSF snail mail address with URLs, as per GNU coding standards.
88840         Most of the snail mail addresses were wrong anyway, and omitting
88841         them makes the source code easier to maintain.  Almost all of the
88842         changes are to license notices and to locale LC_IDENTIFICATION
88843         addresses, except for this one:
88844         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88845         not its snail mail address.
88847 2012-02-09  Richard Henderson  <rth@twiddle.net>
88849         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88850         of kernel-features.h.
88852         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88854 2012-02-08  Marek Polacek  <polacek@redhat.com>
88856         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88857         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88858         * sysdeps/gnu/_G_config.h: Likewise.
88859         * sysdeps/generic/_G_config.h: Likewise.
88861 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88863         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88864         tests.
88865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88867         * sysdeps/powerpc/powerpc32/crti.S: New file.
88868         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88869         * sysdeps/powerpc/powerpc64/crti.S: New file.
88870         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88872         * Makeconfig (have-initfini): Don't set.
88873         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88874         * configure.in (nopic_initfini): Don't substitute.
88875         * config.h.in (HAVE_INITFINI): Don't #undef.
88876         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88877         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88879 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88881         Support crti.S and crtn.S provided directly by architectures.
88882         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88883         [crti.S in sysdirs] (omit-deps): Likewise.
88884         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88885         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88886         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88887         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88888         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88889         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88890         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88891         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88892         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88893         compiler output for sysdeps/generic/initfini.c.
88894         * sysdeps/i386/elf/Makefile: Remove file.
88895         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88897 2012-02-07  Marek Polacek  <polacek@redhat.com>
88899         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88900         * sysdeps/gnu/_G_config.h: Likewise.
88901         * sysdeps/mach/hurd/_G_config.h: Likewise.
88903 2012-02-07  Marek Polacek  <polacek@redhat.com>
88905         * math/Makefile (tests): Add tst-CMPLX2.
88906         * math/tst-CMPLX2.c: New file.
88908 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88910         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88912         * math/libm-test.inc (jn_test): Add missing L suffix.
88914 2012-02-06  Marek Polacek  <polacek@redhat.com>
88916         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88917         * sysdeps/i386/fpu/e_powf.S: Likewise.
88918         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88919         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88920         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88921         * sysdeps/i386/fpu/e_pow.S: Likewise.
88922         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88923         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88924         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88925         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88926         * sysdeps/i386/fpu/e_log2.S: Likewise.
88927         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88928         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88929         * sysdeps/i386/fpu/e_powl.S: Likewise.
88930         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88931         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88932         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88933         * sysdeps/i386/fpu/e_logl.S: Likewise.
88934         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88935         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88936         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88937         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88938         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88939         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88940         * sysdeps/i386/fpu/e_log.S: Likewise.
88941         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88942         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88943         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88944         * sysdeps/i386/fpu/e_logf.S: Likewise.
88945         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88946         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88947         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88948         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88949         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88950         * sysdeps/i386/fpu/e_log10.S: Likewise.
88951         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88952         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88953         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88954         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88955         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88956         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88957         * sysdeps/i386/asm-syntax.h: Likewise.
88958         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88959         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88960         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88961         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88962         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88963         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88964         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88965         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88966         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88967         * sysdeps/powerpc/sysdep.h: Likewise.
88968         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88969         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88971 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88973         [BZ #411]
88974         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88976 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88978         * sysdeps/i386/sysdep.h: Include <features.h>.
88979         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88980         version.
88982 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88984         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88985         Define.
88986         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88987         LOAD_PIC_REG_STR.
88989 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88991         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88992         (SETUP_PIC_REG): Use GET_PC_THUNK.
88993         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88994         macro.
88996 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88998         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88999         for non-PIC compilation.
89000         (SETUP_PIC_REG): Add .p2align directive.
89001         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
89002         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
89003         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
89004         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
89005         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
89006         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
89007         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
89008         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
89009         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
89010         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
89011         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
89012         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
89013         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
89014         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
89015         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
89016         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
89017         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
89018         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
89019         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
89020         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
89021         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
89022         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
89023         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
89024         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
89025         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
89026         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
89027         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89028         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
89029         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
89030         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
89031         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
89032         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89033         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
89034         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
89035         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
89036         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
89037         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
89038         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
89039         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
89040         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
89041         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
89043 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
89045         * math/tst-CMPLX.c: Include <stdio.h>.
89047 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
89049         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
89050         float.
89051         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89052         * sysdeps/sparc/bits/mathdef.h: Likewise.
89054 2012-01-31  Marek Polacek  <polacek@redhat.com>
89056         * libio/libio.h: Don't define _PARAMS.
89057         * locale/programs/config.h: Don't define PARAMS.
89058         * stdlib/strtol_l.c: Likewise.
89059         (__strtol_l): Remove PARAMS from the prototype.
89061 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
89063         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
89064         names.  Just use the correct names.  Remove unnecessary wrapper
89065         functions.
89066         * malloc/arena.c: Likewise.
89067         * malloc/hooks.c: Likewise.
89069         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
89070         ARENA_TEST says not to.  Simplify test for creation of a new arena.
89071         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
89073 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
89075         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
89076         into tail calls.
89077         (update_get_addr): New function.
89078         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
89079         GET_ADDR_MODULE parameter.
89081 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
89083         * crypt/cert.c: Remove __STDC__ conditionals.
89084         * crypt/crypt-entry.c: Likewise.
89085         * crypt/crypt_util.c: Likewise.
89086         * libio/filedoalloc.c: Likewise.
89087         * libio/fileops.c: Likewise.
89088         * libio/genops.c: Likewise.
89089         * libio/iofclose.c: Likewise.
89090         * libio/iofdopen.c: Likewise.
89091         * libio/iofopen.c: Likewise.
89092         * libio/iofopen64.c: Likewise.
89093         * libio/iogetdelim.c: Likewise.
89094         * libio/iopopen.c: Likewise.
89095         * libio/obprintf.c: Likewise.
89096         * libio/oldfileops.c: Likewise.
89097         * libio/oldiofclose.c: Likewise.
89098         * libio/oldiofdopen.c: Likewise.
89099         * libio/oldiofopen.c: Likewise.
89100         * libio/oldiopopen.c: Likewise.
89101         * libio/wfiledoalloc.c: Likewise.
89102         * libio/wgenops.c: Likewise.
89103         * locale/programs/xmalloc.c: Likewise.
89104         * misc/syslog.c: Likewise.
89105         * stdio-common/xbug.c: Likewise.
89106         * string/memchr.c: Likewise.
89107         * string/memcmp.c: Likewise.
89108         * string/memrchr.c: Likewise.
89109         * string/rawmemchr.c: Likewise.
89110         * sysdeps/posix/getcwd.c: Likewise.
89111         * time/strftime_l.c: Likewise.
89113 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
89115         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
89116         * config.make.in (config-cflags-sse2avx): Define.
89117         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
89118         Fix typo.
89120 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
89122         * scripts/config.guess: Update from upstream config git repository.
89123         * scripts/config.sub: Likewise.
89125 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
89127         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
89128         (EM_NUM): Update.
89129         (R_TILEPRO_*, R_TILEGX_*): New macros.
89131         * scripts/firstversions.awk: Fix bug in version range handling.
89133         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
89135         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
89137         * include/sys/epoll.h: New file.
89138         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
89139         libc_hidden_def.
89141 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
89143         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
89144         Avoid unnecessary __WORDSIZE == 64 test.
89145         (fmaxf): Use VEX format if possible.
89146         (fmax): Likewise.
89147         (fminf): Likewise.
89148         (fmin): Likewise.
89150         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
89151         * math/math_private.h: Remove libc_fegetround* and
89152         libc_fesetround*.
89153         * sysdeps/i386/configure.in: Check for -msse2avx.
89154         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
89155         also if SSE2AVX is defined.
89156         Remove libc_fegetround* and libc_fesetround*.
89157         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
89158         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
89159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89160         of HAS_YMM_USABLE.
89161         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89162         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89163         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89164         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89165         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89167         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89169 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89171         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89172         size is not set.
89173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89175 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
89177         [BZ #13618]
89178         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89179         relocation.
89180         * Makeconfig (libm): Define.
89181         * elf/Makefile: Add rules to build and run tst-relsort1.
89182         * elf/tst-relsort1.c: New file.
89183         * elf/tst-relsort1mod1.c: New file.
89184         * elf/tst-relsort1mod2.c: New file.
89186 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
89188         * math/s_ldexp.c: Remove __STDC__ conditionals.
89189         * math/s_ldexpf.c: Likewise.
89190         * math/s_ldexpl.c: Likewise.
89191         * math/s_nextafter.c: Likewise.
89192         * math/s_nexttowardf.c: Likewise.
89193         * math/s_significand.c: Likewise.
89194         * math/s_significandf.c: Likewise.
89195         * math/s_significandl.c: Likewise.
89196         * math/w_jnl.c: Likewise.
89197         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89198         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89199         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89200         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89201         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89202         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89203         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89204         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89205         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89206         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89207         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89208         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89209         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89210         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89211         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89212         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89213         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89214         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89215         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89216         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89217         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89218         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89219         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89220         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89221         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89222         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89223         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89224         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89225         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89226         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89227         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89228         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89229         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89230         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89231         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89232         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89233         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89234         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89235         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89236         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89237         * sysdeps/ieee754/k_standard.c: Likewise.
89238         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89239         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89240         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89241         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89242         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89243         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89244         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89245         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89246         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89247         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89248         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89249         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89250         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89251         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89252         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89253         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89254         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89255         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89256         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89257         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89258         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89259         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89260         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89261         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89262         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89263         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89265         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89266         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89267         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89268         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89269         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89270         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89271         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89272         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89274         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89275         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89277         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89278         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89279         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89280         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89281         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89282         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89283         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89284         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89285         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89286         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89287         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89288         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89289         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89290         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89291         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89293         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89294         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89296         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89297         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89298         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89299         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89300         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89301         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89302         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89303         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89304         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89305         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89306         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89307         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89308         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89309         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89310         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89311         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89312         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89313         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89314         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89315         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89316         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89317         * sysdeps/ieee754/s_matherr.c: Likewise.
89318         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89319         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89320         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89323 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89325         * crypt/md5.h: Remove __STDC__ conditionals.
89326         * libio/libioP.h: Likewise.
89327         * locale/programs/config.h: Likewise.
89328         * sysdeps/generic/sysdep.h: Likewise.
89329         * sysdeps/i386/asm-syntax.h: Likewise.
89330         * sysdeps/s390/asm-syntax.h: Likewise.
89331         * sysdeps/unix/sysdep.h: Likewise.
89332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89335 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89337         * libio/libio.h: Remove __STDC__ conditionals.
89338         * malloc/obstack.h: Likewise.
89339         * math/complex.h: Likewise.
89340         * math/math.h: Likewise.
89341         * sysdeps/generic/_G_config.h: Likewise.
89342         * sysdeps/gnu/_G_config.h: Likewise.
89343         * sysdeps/mach/hurd/_G_config.h: Likewise.
89344         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89345         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89346         * sysdeps/sparc/bits/mathdef.h: Likewise.
89348 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89350         [BZ #13583]
89351         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89352         Clean up HAS_* macros.
89353         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89354         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89355         possible.
89356         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89357         HAS_AVX.
89358         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89359         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89360         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89361         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89362         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89364 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89366         * elf/tst-unique3.cc (gets): Remove declaration.
89367         * elf/tst-unique3lib.cc (gets): Likewise.
89368         * elf/tst-unique3lib2.cc (gets): Likewise.
89369         * elf/tst-unique4.cc (gets): Likewise.
89371 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89373         * include/stdio.h: Add C++ protection.  Add gets declarations and
89374         definitions.
89375         * debug/tst-chk1.c: Don't declare gets here.
89376         * stdio-common/tst-gets.c: Likewise.
89378 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89380         * posix/glob: Remove directory.
89382 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89384         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89386 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89388         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89389         of the non-standard EPFNOSUPPORT.
89391 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89393         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89394         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89395         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89397 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89399         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89401 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89403         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89404         transient errors.
89405         * nscd/grpcache.c (cache_addgr): Likewise.
89406         * nscd/hstcache.c (cache_addhst): Likewise.
89407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89408         * nscd/pwdcache.c (cache_addpw): Likewise.
89409         * nscd/servicescache.c (cache_addserv): Likewise.
89411 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89413         * malloc/malloc.c: Various cleanups.
89414         * malloc/hooks.c: Likewise.
89416         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89417         * stdlib/bug-fmtmsg1.c: New file.
89419         * stdlib/fmtmsg.c (init): Add missing unlock.
89420         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89422 2012-01-12  Marek Polacek  <polacek@redhat.com>
89424         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89425         and _GNU_SOURCE.
89427 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89429         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89430         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89431         macro to ensure uniqueness of label name.
89432         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89433         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89435 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89437         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89439         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89440         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89441         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89442         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89444 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89446         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89448         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89449         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89450         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89452         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89454         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89455         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89456         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89457         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89459         * math/bits/math-finite.h: Add ldexp support.
89461 2012-01-10  Marek Polacek  <polacek@redhat.com>
89463         * locale/programs/localedef.h (show_archive_content): Add noreturn
89464         attribute.
89466 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89468         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89470 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89472         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89474         * io/Makefile (headers): Add bits/poll2.h.
89476 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89479         typo #include statement.
89481 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89483         * include/sys/cdefs.h: Define __attribute_alloc_size.
89484         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89485         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89486         * elf/pldd.c: Likewise.
89487         * iconv/iconv_charmap.c: Likewise.
89488         * iconv/iconvconfig.c: Likewise.
89489         * iconv/strtab.c: Likewise.
89490         * locale/programs/locale.c: Likewise.
89491         * locale/programs/localedef.h: Likewise.
89492         * locale/programs/simple-hash.c: Likewise.
89493         * nscd/nscd.h: Likewise.
89494         * nss/makedb.c: Likewise.
89495         * sysdeps/generic/ldconfig.h: Likewise.
89496         * locale/programs/localedef.c: Remove xmalloc prototype.
89497         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89499 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89501         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89502         appropriate.
89504 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89506         * math/Makefile (tests): Add tst-CMPLX.
89507         * math/tst-CMPLX.c: New file.
89509         * math/complex.h (CMPLXL): Fix typo.
89511         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89512         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89513         GLIBC_2.16.
89514         * debug/tst-chk1.c: Add poll and ppoll tests.
89515         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89516         * include/sys/poll.h: Add hidden proto for ppoll.
89517         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89518         * sysdeps/mach/hurd/ppoll.c: Likewise.
89519         * io/ppoll.c: Likewise.
89520         * debug/poll_chk.c: New file.
89521         * debug/ppoll_chk.c: New file.
89522         * include/bits/poll2.h: New file.
89523         * io/bits/poll2.h: New file.
89525         [BZ #1350]
89526         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89528         * configure.in: static is always set to yes.  Remove.
89529         * config.make.in: Don't set build-static.
89530         * Makeconfig: Remove use of build-static.
89531         * dlfcn/Makefile: Likewise.
89532         * elf/Makefile: Likewise.
89533         * math/Makefile: Likewise.
89534         * misc/Makefile: Likewise.
89535         * nptl/Makefile: Likewise.
89536         * sysdeps/mach/hurd/Makefile: Likewise.
89538         * configure.in: PWD_P is not used anymore.
89539         * config.make.in: Remove PWD_P entry.
89541         * configure.in: Remove last remnants of RANLIB.
89542         No need to check for signed size_t anymore.
89543         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89544         and IA-64.
89545         Remove __builtin_expect test because we require at least gcc 3.4.
89546         * aclocal.m4: Likewise.
89548         * wcsmbs/mbrtoc16.c: Implement using towc function.
89549         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89550         * wcsmbs/wcsmbsload.c: Likewise.
89551         * iconv/gconv_simple.c: Likewise.
89552         * iconv/gconv_int.h: Likewise.
89553         * iconv/gconv_builtin.h: Likewise.
89554         * iconv/iconv_prog.c: Remove CHAR16 handling.
89556         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89558         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89560         * configure.in: Remove --with-elf and --enable-bounded options.
89561         Dont set base_machine for ia64.  More non-ELF conditions removed.
89562         Remove testing and setting of leading underscore information.
89563         * config.make.in (build-bounded): Set to no.
89564         * config.h.in: Remove NO_UNDERSCORES entry.
89565         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89566         them.
89567         * csu/start.c: Remove !NO_UNDERSCORE code.
89568         * locale/localeinfo.h: Likewise.
89569         * sysdeps/generic/machine-gmon.h: Likewise.
89570         * sysdeps/generic/sysdep.h: Likewise.
89571         * sysdeps/i386/sysdep.h: Likewise.
89572         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89573         * sysdeps/mach/sysdep.h: Likewise.
89574         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89575         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89576         * sysdeps/sh/sysdep.h: Likewise.
89577         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89578         * sysdeps/unix/i386/sysdep.S: Likewise.
89579         * sysdeps/unix/sparc/start.c: Likewise.
89580         * sysdeps/unix/sparc/sysdep.S: Likewise.
89581         * sysdeps/unix/sparc/sysdep.h: Likewise.
89582         * sysdeps/unix/start.c: Likewise.
89583         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89584         * sysdeps/x86_64/sysdep.h: Likewise.
89586 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89588         [BZ #13553]
89589         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89590         for non-gcc.
89591         * argp/argp-fmtstream.h: Use const instead __const.
89592         * argp/argp.h: Likewise.
89593         * assert/assert.h: Likewise.
89594         * bits/fenv.h: Likewise.
89595         * bits/sched.h: Likewise.
89596         * bits/sigset.h: Likewise.
89597         * bits/sigthread.h: Likewise.
89598         * catgets/nl_types.h: Likewise.
89599         * conform/data/pthread.h-data: Likewise.
89600         * crypt/crypt-private.h: Likewise.
89601         * crypt/crypt.h: Likewise.
89602         * crypt/crypt_util.c: Likewise.
89603         * ctype/ctype.h: Likewise.
89604         * debug/execinfo.h: Likewise.
89605         * debug/mbsnrtowcs_chk.c: Likewise.
89606         * debug/mbsrtowcs_chk.c: Likewise.
89607         * debug/wcsnrtombs_chk.c: Likewise.
89608         * debug/wcsrtombs_chk.c: Likewise.
89609         * debug/wcstombs_chk.c: Likewise.
89610         * dirent/dirent.h: Likewise.
89611         * dlfcn/dlfcn.h: Likewise.
89612         * elf/neededtest4.c: Likewise.
89613         * grp/grp.h: Likewise.
89614         * gshadow/gshadow.h: Likewise.
89615         * iconv/gconv.h: Likewise.
89616         * iconv/gconv_int.h: Likewise.
89617         * iconv/gconv_simple.c: Likewise.
89618         * iconv/iconv.h: Likewise.
89619         * iconv/loop.c: Likewise.
89620         * iconv/skeleton.c: Likewise.
89621         * include/aio.h: Likewise.
89622         * include/aliases.h: Likewise.
89623         * include/argz.h: Likewise.
89624         * include/arpa/inet.h: Likewise.
89625         * include/assert.h: Likewise.
89626         * include/dirent.h: Likewise.
89627         * include/dlfcn.h: Likewise.
89628         * include/execinfo.h: Likewise.
89629         * include/fcntl.h: Likewise.
89630         * include/fenv.h: Likewise.
89631         * include/glob.h: Likewise.
89632         * include/grp.h: Likewise.
89633         * include/libintl.h: Likewise.
89634         * include/mntent.h: Likewise.
89635         * include/netdb.h: Likewise.
89636         * include/pwd.h: Likewise.
89637         * include/rpc/netdb.h: Likewise.
89638         * include/sched.h: Likewise.
89639         * include/search.h: Likewise.
89640         * include/shadow.h: Likewise.
89641         * include/signal.h: Likewise.
89642         * include/stdio.h: Likewise.
89643         * include/stdlib.h: Likewise.
89644         * include/string.h: Likewise.
89645         * include/sys/socket.h: Likewise.
89646         * include/sys/stat.h: Likewise.
89647         * include/sys/statfs.h: Likewise.
89648         * include/sys/statvfs.h: Likewise.
89649         * include/sys/syslog.h: Likewise.
89650         * include/sys/time.h: Likewise.
89651         * include/sys/uio.h: Likewise.
89652         * include/time.h: Likewise.
89653         * include/unistd.h: Likewise.
89654         * include/utmp.h: Likewise.
89655         * include/wchar.h: Likewise.
89656         * include/wctype.h: Likewise.
89657         * inet/aliases.h: Likewise.
89658         * inet/arpa/inet.h: Likewise.
89659         * inet/netinet/ether.h: Likewise.
89660         * inet/netinet/in.h: Likewise.
89661         * intl/libintl.h: Likewise.
89662         * io/bits/fcntl2.h: Likewise.
89663         * io/fcntl.h: Likewise.
89664         * io/ftw.h: Likewise.
89665         * io/sys/poll.h: Likewise.
89666         * io/sys/stat.h: Likewise.
89667         * io/sys/statfs.h: Likewise.
89668         * io/sys/statvfs.h: Likewise.
89669         * io/utime.h: Likewise.
89670         * libio/bits/stdio.h: Likewise.
89671         * libio/bits/stdio2.h: Likewise.
89672         * libio/libio.h: Likewise.
89673         * libio/libioP.h: Likewise.
89674         * libio/stdio.h: Likewise.
89675         * locale/lc-ctype.c: Likewise.
89676         * locale/locale.h: Likewise.
89677         * login/utmp.h: Likewise.
89678         * malloc/arena.c: Likewise.
89679         * malloc/malloc.c: Likewise.
89680         * malloc/malloc.h: Likewise.
89681         * malloc/mcheck.c: Likewise.
89682         * malloc/mtrace.c: Likewise.
89683         * math/bits/mathcalls.h: Likewise.
89684         * math/fenv.h: Likewise.
89685         * math/math_private.h: Likewise.
89686         * misc/bits/error.h: Likewise.
89687         * misc/bits/syslog.h: Likewise.
89688         * misc/err.h: Likewise.
89689         * misc/error.h: Likewise.
89690         * misc/fstab.h: Likewise.
89691         * misc/mntent.h: Likewise.
89692         * misc/regexp.h: Likewise.
89693         * misc/search.h: Likewise.
89694         * misc/sgtty.h: Likewise.
89695         * misc/sys/mman.h: Likewise.
89696         * misc/sys/syslog.h: Likewise.
89697         * misc/sys/uio.h: Likewise.
89698         * misc/sys/xattr.h: Likewise.
89699         * misc/ttyent.h: Likewise.
89700         * nis/rpcsvc/ypclnt.h: Likewise.
89701         * nss/nss.h: Likewise.
89702         * posix/bits/unistd.h: Likewise.
89703         * posix/fnmatch.h: Likewise.
89704         * posix/glob.h: Likewise.
89705         * posix/sched.h: Likewise.
89706         * posix/spawn.h: Likewise.
89707         * posix/sys/wait.h: Likewise.
89708         * posix/unistd.h: Likewise.
89709         * posix/wordexp.h: Likewise.
89710         * pwd/pwd.h: Likewise.
89711         * resolv/netdb.h: Likewise.
89712         * resource/sys/resource.h: Likewise.
89713         * rt/aio.h: Likewise.
89714         * rt/bits/mqueue2.h: Likewise.
89715         * rt/mqueue.h: Likewise.
89716         * shadow/shadow.h: Likewise.
89717         * signal/signal.h: Likewise.
89718         * socket/send.c: Likewise.
89719         * socket/sendto.c: Likewise.
89720         * socket/sys/socket.h: Likewise.
89721         * stdio-common/printf.h: Likewise.
89722         * stdlib/bits/stdlib.h: Likewise.
89723         * stdlib/fmtmsg.h: Likewise.
89724         * stdlib/monetary.h: Likewise.
89725         * stdlib/stdlib.h: Likewise.
89726         * stdlib/ucontext.h: Likewise.
89727         * streams/stropts.h: Likewise.
89728         * string/argz.h: Likewise.
89729         * string/bits/string2.h: Likewise.
89730         * string/string.h: Likewise.
89731         * string/strings.h: Likewise.
89732         * sunrpc/rpc/auth.h: Likewise.
89733         * sunrpc/rpc/auth_des.h: Likewise.
89734         * sunrpc/rpc/clnt.h: Likewise.
89735         * sunrpc/rpc/netdb.h: Likewise.
89736         * sunrpc/rpc/pmap_clnt.h: Likewise.
89737         * sunrpc/rpc/xdr.h: Likewise.
89738         * sysdeps/generic/inttypes.h: Likewise.
89739         * sysdeps/generic/net/if.h: Likewise.
89740         * sysdeps/generic/sys/swap.h: Likewise.
89741         * sysdeps/gnu/net/if.h: Likewise.
89742         * sysdeps/gnu/utmpx.h: Likewise.
89743         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89744         * sysdeps/i386/i486/bits/string.h: Likewise.
89745         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89746         * sysdeps/s390/bits/string.h: Likewise.
89747         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89748         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89749         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89750         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89751         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89752         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89753         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89754         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89755         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89756         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89757         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89758         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89759         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89760         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89761         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89762         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89763         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89764         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89765         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89766         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89767         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89768         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89769         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89770         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89771         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89772         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89773         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89774         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89775         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89776         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89777         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89778         * sysvipc/sys/ipc.h: Likewise.
89779         * sysvipc/sys/msg.h: Likewise.
89780         * sysvipc/sys/sem.h: Likewise.
89781         * sysvipc/sys/shm.h: Likewise.
89782         * termios/termios.h: Likewise.
89783         * time/sys/time.h: Likewise.
89784         * time/time.h: Likewise.
89785         * wcsmbs/bits/wchar2.h: Likewise.
89786         * wcsmbs/uchar.h: Likewise.
89787         * wcsmbs/wchar.h: Likewise.
89788         * wctype/wctype.h: Likewise.
89790         [BZ #13551]
89791         * Makeconfig: Remove all but ELF support including AIX support.
89792         * Makerules: Likewise.
89793         * config.h.in: Likewise.
89794         * config.make.in: Likewise.
89795         * configure: Likewise.
89796         * configure.in: Likewise.
89797         * csu/Makefile: Likewise.
89798         * csu/version.c: Likewise.
89799         * debug/Makefile: Likewise.
89800         * dlfcn/Makefile: Likewise.
89801         * elf/Makefile: Likewise.
89802         * extra-lib.mk: Likewise.
89803         * iconv/Makefile: Likewise.
89804         * include/libc-symbols.h: Likewise.
89805         * include/shlib-compat.h: Likewise.
89806         * resolv/Makefile: Likewise.
89807         * resolv/res_libc.c: Likewise.
89808         * rt/Makefile: Likewise.
89809         * sysdeps/i386/asm-syntax.h: Likewise.
89810         * sysdeps/i386/sysdep.h: Likewise.
89811         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89812         * sysdeps/mach/sysdep.h: Likewise.
89813         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89814         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89815         * sysdeps/s390/asm-syntax.h: Likewise.
89816         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89817         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89818         * sysdeps/sh/sysdep.h: Likewise.
89819         * sysdeps/unix/sparc/sysdep.h: Likewise.
89820         * sysdeps/wordsize-32/divdi3.c: Likewise.
89821         * sysdeps/x86_64/sysdep.h: Likewise.
89823         * argp/Versions: Remove _argp_unlock_xxx.
89825         [BZ #13559]
89826         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89827         * abilist/libBrokenLocale.abilist: Likewise.
89828         * abilist/libanl.abilist: Likewise.
89829         * abilist/libc.abilist: Likewise.
89830         * abilist/libcrypt.abilist: Likewise.
89831         * abilist/libdl.abilist: Likewise.
89832         * abilist/libm.abilist: Likewise.
89833         * abilist/libnsl.abilist: Likewise.
89834         * abilist/libpthread.abilist: Likewise.
89835         * abilist/libresolv.abilist: Likewise.
89836         * abilist/librt.abilist: Likewise.
89837         * abilist/libthread_db.abilist: Likewise.
89838         * abilist/libutil.abilist: Likewise.
89839         * abilist/libnss_db.abilist: New file.
89841         * scripts/abilist.awk: Add support for indirect functions.
89843         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89845         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89847         * shlib-versions: Remove entries for ports architectures.
89849         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89850         files in ports.
89851         * elf/stackguard-macros.h: Remove support for IA-64.
89852         * elf/tst-auditmod1.c: Likewise.
89853         * sysdeps/generic/ldsodefs.h: Likewise.
89855         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89856         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89857         configure files.
89859         [BZ #13552]
89860         * configure.in: Remove --enable-omitfp support.
89861         * FAQ.in: Adjust.
89862         * config.make.in: Likewise.
89863         * Makeconfig: Likewise.
89864         * manual/install.texi: Likewise.
89866         In case anyone cares, the IA-64 architecture could move to ports.
89867         * sysdeps/ia64/*: Removed.
89868         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89869         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89871         [BZ #13555]
89872         * configure.in: Remove entries for unsupported architectures.
89874         [BZ #13533]
89875         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89876         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89877         routines.
89878         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89879         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89880         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89881         fall back to using wcrtomb.
89882         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89883         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89884         renaming.
89885         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89886         * wcsmbs/tst-c16c32-1.c: New file.
89888         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89889         local variable.
89891         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89893         * elf/tst-unique3.cc: Add explicit declaration of gets.
89894         * elf/tst-unique3lib.cc: Likewise.
89895         * elf/tst-unique3lib2.cc: Likewise.
89896         * elf/tst-unique4.cc: Likewise.
89898         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89900 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89902         [BZ #13566]
89903         * assert/assert.h (static_assert): Don't define for C++.
89904         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89905         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89907 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89909         * iconv/loop.c (single loop): Fix assertion in storing of
89910         remaining bytes.
89912         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89914 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89916         * posix/getconf.c: Update copyright year.
89917         * nss/getent.c: Likewise.
89918         * nss/makedb.c: Likewise.
89919         * iconv/iconvconfig.c: Likewise.
89920         * iconv/iconv_prog.c: Likewise.
89921         * elf/ldconfig.c: Likewise.
89922         * elf/pldd.c: Likewise.
89923         * elf/sotruss.ksh: Likewise.
89924         * catgets/gencat.c: Likewise.
89925         * csu/version.c: Likewise.
89926         * elf/ldd.bash.in: Likewise.
89927         * elf/sprof.c (print_version): Likewise.
89928         * locale/programs/locale.c: Likewise.
89929         * locale/programs/localedef.c: Likewise.
89930         * login/programs/pt_chown.c: Likewise.
89931         * nscd/nscd.c (print_version): Likewise.
89932         * debug/xtrace.sh: Likewise.
89933         * malloc/memusage.sh: Likewise.
89934         * malloc/mtrace.pl: Likewise.
89935         * debug/catchsegv.sh: Likewise.
89937 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89939         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89940         pure attribute.
89942 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89944         [BZ #13533]
89945         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89946         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89947         transformations.
89948         * iconv/gconv_int.h: Likewise.
89949         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89950         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89951         from libc for GLIBC_2.16.
89952         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89953         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89954         * wcsmbs/uchar.h: Really define mbstate_t.
89955         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89956         * wcsmbs/c16rtomb.c: New file.
89957         * wcsmbs/mbrtoc16.c: New file.
89958         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89959         for C/POSIX locale.
89960         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89961         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89963         * wcsmbs/wchar.h: Add missing __restrict.
89965 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89967         [BZ #13532]
89968         * time/Makefile (routines): Add timespec_get.
89969         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89970         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89971         timespec for ISO C11.
89972         * time/timespec_get.c: New file.
89973         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89974         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89976         [BZ #13531]
89977         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89978         * stdlib/stdlib.h: Declare aligned_alloc.
89979         * Versions.def: Add GLIBC_2.16 for libc.
89980         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89982         [BZ 13527]
89983         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89984         ISO C11.
89986         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89987         code.
89989         [BZ #13528]
89990         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89992         [BZ #13529]
89993         * assert/assert.h (static_assert): Define.
89995         * version.h: Update for 2.16 development version.
89997         [BZ #13526]
89998         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89999         _ISOC11_SOURCE.
90001         * version.h (RELEASE): Bump for 2.15 release.
90002         * include/features.h (__GLIBC_MINOR__): Bump to 15.
90004         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
90005         Patch by Marek Polacek <mpolacek@redhat.com>.
90007         * bits/byteswap.h: Protect long long constants with __extension__.
90008         * sysdeps/i386/bits/byteswap.h: Likewise.
90009         * sysdeps/ia64/bits/byteswap.h: Likewise.
90010         * sysdeps/s390/bits/byteswap.h: Likewise.
90011         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90013 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90015         [BZ #13540]
90016         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
90017         destination buffer.
90018         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
90020 2011-12-23  Marek Polacek  <polacek@redhat.com>
90022         * elf/dl-addr.c (determine_info): Add inline keyword.
90023         * elf/tst-auditmod4b.c (check_avx): Likewise.
90024         * elf/tst-auditmod6b.c (check_avx): Likewise.
90025         * elf/tst-auditmod6c.c (check_avx): Likewise.
90026         * elf/tst-auditmod7b.c (check_avx): Likewise.
90028 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
90030         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
90031         !__SSE_MATH__.
90033 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90035         [BZ #13540]
90036         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
90037         processing for last bytes.
90039 2011-08-06  Bruno Haible  <bruno@clisp.org>
90041         [BZ #13061]
90042         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
90043         U+0385, not to U+1FEE.
90045         [BZ #13062]
90046         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
90047         entry for U+00A5 U+0301.
90049 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
90051         [BZ #13166]
90052         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
90053         buffer for the output is too small.
90055         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
90056         optimization.
90058         [BZ #13185]
90059         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
90060         SSE flags if possible.
90062 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90064         [BZ #13540]
90065         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
90066         processing for last bytes.
90068 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
90070         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
90071         (syscall-list-default-options, syscall-list-default-condition)
90072         (syscall-list-includes): Define.
90073         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
90074         list of ABIs and options and #if conditions for each ABI.  Do not
90075         handle common syscalls between ABIs specially.
90076         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
90077         Remove.
90078         (syscall-list-variants, syscall-list-32bit-options)
90079         (syscall-list-32bit-condition, syscall-list-64bit-options)
90080         (syscall-list-64bit-condition): Define.
90081         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
90082         (syscall-list-variants, syscall-list-32bit-options)
90083         (syscall-list-32bit-condition, syscall-list-64bit-options)
90084         (syscall-list-64bit-condition): Define.
90085         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
90086         Remove.
90087         (syscall-list-variants, syscall-list-32bit-options)
90088         (syscall-list-32bit-condition, syscall-list-64bit-options)
90089         (syscall-list-64bit-condition): Define.
90090         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
90091         Remove.
90092         (syscall-list-variants, syscall-list-32bit-options)
90093         (syscall-list-32bit-condition, syscall-list-64bit-options)
90094         (syscall-list-64bit-condition): Define.
90096 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
90098         * locale/iso-639.def: Add brx entry.
90100         [BZ #13328]
90101         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
90102         Proposed by Mariusz_Cukr <marcukr@op.pl>.
90104         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
90105         __feraiseexcept_renamed.
90107 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
90109         [BZ #13538]
90110         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
90111         EPOLLET with unsigned values.
90112         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
90113         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
90115         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
90116         to large cancellation.
90117         * math/s_cacoshf.c: Likewise.
90118         * math/s_cacoshl.c: Likewise.
90120 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
90122         [BZ #13305]
90123         [BZ #12786]
90124         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
90125         * math/s_cacoshf.c: Likewise.
90126         * math/s_cacoshl.c: Likewise.
90128 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
90130         [BZ #13439]
90131         * iconv/gconv.h: Define __GCONV_SWAP.
90132         * iconvdata/unicode.c: The swap bit must be stored in __flags.
90133         * iconvdata/utf-16.c: Likewise.
90134         * iconvdata/utf-32.c: Likewise.
90136 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
90138         [BZ #13524]
90139         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
90140         numerator after shifting it by one limb.
90142 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
90144         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
90145         under [__USE_EXTERN_INLINES].
90147 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
90149         [BZ #13446]
90150         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
90152 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90154         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
90155         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
90156         optimized code.
90157         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
90158         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
90159         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90160         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90161         for strncasecmp/strncasecmp_l compilation.
90162         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90163         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90165 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
90167         [BZ #13484]
90168         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90169         of __asm__.
90171 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
90173         [BZ #13506]
90174         * time/tzfile.c (__tzfile_read): Check values from file header.
90176 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
90178         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90179         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90180         * powerpc/powerpc32/dl-start.S: Likewise.
90181         * powerpc/powerpc32/elf/start.S: Likewise.
90182         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90183         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90184         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90185         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90186         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90187         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90188         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90189         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90190         * powerpc/powerpc32/fpu/s_round.S: Likewise.
90191         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90192         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90193         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90194         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90195         * powerpc/powerpc32/memset.S: Likewise.
90196         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90197         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90198         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90199         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90200         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90201         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90202         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90203         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90204         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90205         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90206         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90207         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90208         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90210 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90212         * math/libm-test.inc: Added more nearbyint tests.
90213         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90215         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90218 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
90220         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90221         FD_CLOEXEC.
90223 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90225         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90226         Add wcscpy-ssse3 wcscpy-c.
90227         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90228         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90229         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90230         * sysdeps/x86_64/wcschr.S: New file.
90231         * sysdeps/x86_64/wcsrchr.S: New file.
90232         * string/test-strcmp.c: Remove checking of wcscmp function for
90233         wrong alignments.
90234         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90235         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90236         wcsrchr-sse2 wcsrchr-c.
90237         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90238         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90239         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90240         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90241         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90242         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90243         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90244         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90245         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90246         * wcsmbc/wcschr.c (WCSCHR): New macro.
90248 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90250         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90251         * wcsmbs/test-wcsrchr.c: New file.
90252         * string/test-strrchr.c: Add wcsrchr support.
90253         (WIDE): New macro.
90254         * wcsmbs/test-wcscpy.c: New file.
90255         * string/test-strcpy.c: Add wcscpy support.
90256         (WIDE): New macro.
90258 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
90260         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90261         the inner loop.
90263 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90265         [BZ #13472]
90266         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90268 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90270         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90271         Minor optimizations.
90273         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90274         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90275         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90277 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90279         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90280         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90281         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90282         for gcc to avoid warnings.
90283         * inet/Makefile (tests): Add tst-checks.
90284         * inet/tst-checks.c: New file.
90286         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90287         warning.
90289         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90290         __wmemcmp_sse2.
90292         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90293         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90295         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90297 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90299         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90300         problem.
90302         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90304 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90306         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90307         conditional on GCC version.
90308         (__arch_compare_and_exchange_val_8_acq)
90309         (__arch_compare_and_exchange_val_16_acq)
90310         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90311         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90312         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90314 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90316         * sysdeps/sh/backtrace.c: New file.
90318 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90320         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90321         parenthesis.
90323 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90325         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90326         falling back to utime.
90328 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90330         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90331         expectations for float.
90333 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90335         * locale/weight.h (findidx): Add parameter len.
90336         * locale/weightwc.h (findidx): Likewise.
90337         * posix/fnmatch_loop.c (FCT): Adjust caller.
90338         * posix/regcomp.c (build_equiv_class): Likewise.
90339         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90340         * posix/regexec.c (check_node_accept_bytes): Likewise.
90341         * string/strcoll_l.c (STRCOLL): Likewise.
90342         * string/strxfrm_l.c (STRXFRM): Likewise.
90344 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90346         * Makefile.in: Remove CVSOPT handling.
90347         * configure.in: Remove use of AC_REVISION.
90348         * iconvdata/Makefile (distribute): No need to filter out CVS.
90349         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90350         handling.
90352 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90354         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90355         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90356         [USE_AS_STRNCASECMP_L]: Likewise.
90357         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90358         NO_TLS_DIRECT_SEG_REFS.
90359         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90360         Fix argument offsets for non-PIC.
90361         [USE_AS_STRNCASECMP_L]: Likewise.
90362         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90363         NO_TLS_DIRECT_SEG_REFS.
90365 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90367         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90368         O_CLOEXEC.
90369         * locale/loadlocale.c (_nl_load_locale): Likewise.
90371 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90373         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90374         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90375         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90376         (SYSCALL_GETTIME): Set errno on error.
90378         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90379         count references to noai6ai_cached.
90381 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90383         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90385         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90386         FD_CLOEXEC for /proc/self/maps.
90388         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90389         FD_CLOEXEC for /proc/meminfo.
90391         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90392         gai.conf.
90394         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90395         FD_CLOEXEC for given file.
90397         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90399         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90400         FD_CLOEXEC for /etc/hosts.
90401         (_gethtent): Likewise.
90403         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90405         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90406         cancellation and set FD_CLOEXEC for /etc/netgroup.
90408         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90409         reading /etc/publickey.
90411         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90412         allow cancellation when reading /etc/group.
90414         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90415         cancellation.
90416         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90418         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90419         when using data file.
90421         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90423         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90424         (write_nis_obj): Use "c" and "e" in fopen.
90426         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90428         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90430         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90432         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90434         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90435         locale.alias.
90437         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90439         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90441         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90443         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90444         file parsing and set FD_CLOEXEC.
90446 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90448         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90450 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90452         * malloc/arena.c (arena_get2): Don't call reused_arena when
90453         _int_new_arena failed.
90455 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90457         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90458         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90459         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90460         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90461         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90462         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90463         to compile strcasecmp and strncasecmp.
90464         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90465         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90467         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90469 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90471         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90472         locale-defines.sym to gen-as-const-headers.
90473         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90474         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90475         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90476         to compile strcasecmp and strncasecmp.
90477         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90478         strcasecmp_l and strncasecmp_l.
90479         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90480         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90481         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90482         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90483         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90484         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90485         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90486         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90487         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90488         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90489         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90491 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90493         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90494         result of SYSDEP_GETTIME_CPU to retval.
90495         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90496         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90498         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90499         variable.
90501         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90502         mantissa words.
90503         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90505         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90506         from unused variable.
90508         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90509         DWARF definitions.
90510         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90511         for assembling.
90513         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90514         over namespaces.
90516         * sunrpc/rpc_prot.c (rejected): Fix case value.
90518         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90519         unsigned long long int to avoid warnings in shift.
90521         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90522         of use of trans.
90523         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90524         variable tmp.
90526         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90527         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90528         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90530         * nis/nis_table.c (nis_list): Use variable of correct type for
90531         result of __follow_path call.
90533 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90535         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90536         of math functions ceil, trunc, floor, round, and sqrt, when
90537         avaliable on the platform.
90538         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90539         name clash.
90540         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90541         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90542         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90544 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90546         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90547         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90549 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90551         * include/unistd.h: Fix __readlink return type.
90552         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90554 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90556         * stdlib/ucontext.h: Undo last change for makecontext.
90558 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90560         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90562         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90563         * setjmp/setjmp.h: Mark functions as non-leaf.
90564         * setjmp/bits/setjmp2.h: Likewise.
90565         * stdlib/ucontext.h: Likewise.
90567 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90569         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90570         (reused_arena): Don't check arena limit.
90571         (arena_get2): Atomically check arena limit.
90573 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90575         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90576         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90578         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90579         instructions.
90581 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90583         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90584         handler when locking.
90586         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90587         Fix size of allocated buffer.
90589 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90591         [BZ #10103]
90592         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90593         declarations for long double functions.
90594         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90596         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90598 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90600         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90601         installed.
90603         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90604         is disabled.
90606 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90608         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90610 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90612         * include/alloca.h (stackinfo_alloca_round): Define.
90613         (extend_alloca): Use it.
90614         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90615         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90616         here.
90618         * scripts/check-local-headers.sh: Ignore libaudit.h.
90620         * nscd/Makefile (extra-objs): Make recursively expanded.
90622 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90624         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90627         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90628         * posix/tst-rfc3484-2.c: Likewise.
90629         * posix/tst-rfc3484-3.c: Likewise.
90631         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90632         process_vm_writev.
90633         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90634         process_vm_writev.
90635         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90636         process_vm_writev from libc using GLIBC_2.15 version.
90638         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90640 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90642         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90643         stack usage.
90645 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90647         [BZ #13367]
90648         * nss/getent.c (initgroups_keys): Show error message in case no group
90649         names are given.
90651         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90652         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90653         __bump_nl_timestamp.
90654         * nscd/connections (nscd_init): When host database is served open
90655         netlink socket and request notification about configuration changes.
90656         (main_loop_poll): Track netlink file descriptor and bump timestamp
90657         in case data becomes available.
90658         (main_loop_epoll): Likewise.
90659         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90660         (database_pers_head): Add extra_data fileds.
90661         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90662         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90663         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90664         Adjust caller.
90665         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90666         in6ai data, call __free_in6ai.
90667         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90668         Add -DHAVE_NETLINK.
90669         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90670         interface information.  Reuse previous data if netlink timestamp
90671         is not changed.
90672         (__bump_nl_timestamp): New function.
90673         (__free_in6ai): New function.
90675 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90677         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90678         close_not_cancel_no_status here.
90679         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90681 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90683         [BZ #13276]
90684         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90685         return value.
90687         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90688         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90689         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90691 2011-07-03  Andreas Jaeger  <aj@suse.de>
90693         [BZ #10709]
90694         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90695         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90696         * math/libm-test.inc (sin_test): Add test case.
90698 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90700         [BZ #13337]
90701         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90702         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90704         * elf/chroot_canon.c (chroot_canon): Cleanups.
90706         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90708         [BZ #13335]
90709         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90710         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90712         * string/test-strchr.c: Make usable for strchrnul testing.
90713         * string/test-strchrnul.c: New file.
90714         * string/Makefile (strop-tests): Add strchrnul.
90716         * po/it.po: Update from translation team.
90717         * po/es.po: Likewise.
90719 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90721         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90722         the three constants needed as parameters.  Drop the others.
90723         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90724         __m128i_strloadu_tolower.
90725         Create and initialize variable zero and use it in all the places
90726         where _mm_setzero_si128 was used.
90728         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90729         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90730         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90731         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90732         anymore.
90733         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90734         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90735         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90736         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90737         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90738         __mpranred, __mptan.
90739         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90740         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90741         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90742         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90743         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90744         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90745         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90746         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90747         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90749 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90751         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90752         redefine if SHARED.
90753         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90755         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90756         wide char related routines to wcsmbs subdir.
90758 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90760         [BZ #13344]
90761         * misc/sys/cdefs.h (__THROWNL): Define.
90762         * posix/unistd.h: Use __THREADNL instead of __THREAD
90763         for memory synchronization functions.
90765 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90767         [BZ #13349]
90768         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90769         doesn't exist.
90770         * manual/stdio.texi (Obstack Streams): Node removed.
90772 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90774         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90775         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90776         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90778         * math/math_private.h (math_force_eval): Allow non-addressable
90779         arguments.
90780         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90782 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90784         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90785         file is not needed.
90787         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90788         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90789         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90790         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90791         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90792         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90793         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90794         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90795         Add AVX variants.
90796         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90797         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90798         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90799         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90800         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90801         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90802         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90803         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90804         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90805         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90806         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90807         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90808         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90809         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90810         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90811         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90812         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90813         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90814         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90816         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90817         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90819         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90820         place.  Use VEX encoding when compiling for AVX.
90822 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90824         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90825         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90827         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90829 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90831         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90832         useless if() expression.
90833         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90834         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90835         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90836         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90837         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90838         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90839         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90840         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90841         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90842         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90843         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90844         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90845         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90846         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90847         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90848         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90849         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90851         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90853         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90855 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90857         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90858         condition.
90859         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90861 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90863         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90864         .text section.  Avoid duplicate constants.
90865         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90866         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90867         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90868         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90869         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90870         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90871         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90872         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90873         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90874         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90875         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90876         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90877         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90878         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90879         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90880         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90881         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90882         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90883         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90884         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90885         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90886         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90887         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90888         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90889         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90890         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90891         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90892         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90893         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90894         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90895         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90896         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90897         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90898         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90899         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90900         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90901         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90902         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90903         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90904         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90905         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90906         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90907         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90908         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90909         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90911 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90913         * sysdeps/x86_64/dla.h: Move to ...
90914         * sysdeps/x86_64/fpu/dla.h: ...here.
90915         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90916         situations.  Use __builtin_fma only for gcc 4.6 and up.
90918         * config.make.in: Add have-mfma4 entry.
90919         * configure.in: Substitute libc_cv_cc_fma4.
90920         * math/Makefile (dbl-only-routines): Add sincostab.
90921         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90922         Use __sincostab not sincos.
90923         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90924         name is a macro.
90925         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90926         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90928         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90929         using __copysign.
90930         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90931         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90932         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90933         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90934         and __inv.
90935         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90936         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90937         __copysign.
90938         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90939         define aliases when function name is a macro.
90940         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90941         sysdeps/ieee754/dbl-64/sincos.tbl.
90942         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90943         fma4-enabled routines.
90944         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90945         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90946         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90947         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90948         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90949         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90950         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90951         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90952         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90953         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90954         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90955         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90956         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90957         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90958         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90959         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90960         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90961         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90962         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90963         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90964         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90965         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90966         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90967         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90968         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90969         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90970         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90971         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90972         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90973         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90975         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90976         rename.
90977         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90979         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90980         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90981         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90982         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90983         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90984         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90986 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90988         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90990 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90992         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90994         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90995         prediction.
90996         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90998         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90999         Remove unused variable magic_bits.
91000         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
91002         * string/strnlen.c: Define and use STRNLEN macro.
91003         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
91004         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
91005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
91006         * wcsmbs/wcslen.c: Define and use WCSLEN.
91007         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
91008         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
91009         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
91010         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
91011         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
91012         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
91013         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91015 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91017         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91018         strnlen-sse2-no-bsf.
91019         Rename strlen-no-bsf to strlen-sse2-no-bsf.
91020         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
91021         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
91022         Add strnlen support.
91023         (USE_AS_STRNLEN): New macro.
91024         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
91025         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
91026         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
91027         * sysdeps/x86_64/wcslen.S: New file.
91029 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
91031         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
91032         XMM-moves are used for copying on small sizes.
91034 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91036         * wcsmbs/Makefile (strop-tests): Add wcschr.
91037         * wcsmbs/test-wcschr.c: New file.
91038         * string/test-strchr.c: Update.
91039         Add wcschr support.
91040         (WIDE): New macro.
91042 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91044         * wcsmbs/Makefile (strop-tests): Add wcslen.
91045         * wcsmbs/test-wcslen.c: New file.
91046         * string/test-strlen.c: Update.
91047         Add wcslen support.
91048         (WIDE): New macro.
91050 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
91052         * po/it.po: Update from translation team.
91054 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91056         * sysdeps/x86_64/wcscmp.S: Update.
91057         Fix wrong comparison semantics.
91058         wcscmp shall use signed comparison not unsigned.
91059         Don't use substraction to avoid overflow bug.
91060         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
91061         * wcsmbc/wcscmp.c: Likewise.
91062         * string/test-strcmp.c: Likewise.
91063         Add new tests to check cases with negative values.
91065 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
91067         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
91068         * sysdeps/x86_64/dla.h: ...here.  New file.
91069         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
91070         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91073         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91074         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91075         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91076         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91077         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91079 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
91081         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
91082         __ynl_finite aliases.
91084 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
91086         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
91088         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
91089         define DLA_FMA.
91090         [DLA_FMA] (EMULV): Use DLA_FMA.
91091         [DLA_FMA] (MUL12): Use EMULV.
91092         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
91093         that are not needed.
91094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91095         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91096         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91097         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91098         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91099         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91100         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91102 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
91104         * math/s_nan.c: Undef __nan.
91105         * math/s_nanf.c: Undef __nanf.
91106         * math/s_nanl.c: Undef __nanl.
91107         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
91108         "math_private.h".
91110 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
91112         * math/s_catan.c: Add branch predictions.
91113         * math/s_catanf.c: Likewise.
91114         * math/s_catanh.c: Likewise.
91115         * math/s_catanhf.c: Likewise.
91116         * math/s_catanhl.c: Likewise.
91117         * math/s_catanl.c: Likewise.
91118         * math/s_cexp.c: Likewise.
91119         * math/s_cexpf.c: Likewise.
91120         * math/s_cexpl.c: Likewise.
91121         * math/s_clog.c: Likewise.
91122         * math/s_clog10.c: Likewise.
91123         * math/s_clog10f.c: Likewise.
91124         * math/s_clog10l.c: Likewise.
91125         * math/s_clogf.c: Likewise.
91126         * math/s_clogl.c: Likewise.
91127         * math/s_csqrt.c: Likewise.
91128         * math/s_csqrtf.c: Likewise.
91129         * math/s_csqrtl.c: Likewise.
91130         * math/s_ctanf.c: Likewise.
91131         * math/s_ctanh.c: Likewise.
91132         * math/s_ctanhf.c: Likewise.
91133         * math/s_ctanhl.c: Likewise.
91134         * math/s_ctanl.c: Likewise.
91136         * math/math_private.h: Define __nan, __nanf, __nanl.
91137         * math/s_cacosh.c: Include <math_private.h>.
91138         * math/s_cacoshl.c: Likewise.
91139         * math/s_casinh.c: Likewise.
91140         * math/s_casinhf.c: Likewise.
91141         * math/s_casinhl.c: Likewise.
91142         * math/s_ccos.c: Rely entire on ccosh.
91143         * math/s_ccosf.c: Rely entire on ccoshf.
91144         * math/s_ccosl.c: Rely entirely on ccoshl.
91145         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
91146         Remove tests for FE_INVALID.
91147         * math/s_ccoshf.c: Likewise.
91148         * math/s_ccoshl.c: Likewise.
91149         * math/s_csin.c: Likewise.
91150         * math/s_csinf.c: Likewise.
91151         * math/s_csinh.c Likewise.
91152         * math/s_csinhf.c: Likewise.
91153         * math/s_csinhl.c: Likewise.
91154         * math/s_csinl.c: Likewise.
91155         * math/s_ctan.c: Likewise.
91156         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
91157         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
91158         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
91160 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
91162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91163         compilation problems.
91165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91166         __builtin_expect.
91168 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
91170         * sysdeps/i386/configure.in: Test for -mfma4 option.
91171         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91172         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91173         COMMON_CPUID_INDEX_80000001.
91174         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91175         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91176         use it if FMA3 is not supported.
91177         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91179         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91180         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91182 2011-10-20  Andreas Schwab  <schwab@redhat.com>
91184         [BZ #12892]
91185         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91186         it would create a cycle with a link time dependency.
91188 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
91190         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91191         instruction.
91192         * string/Makefile (strop-tests): Add rawmemchr.
91193         * string/test-rawmemchr.c: New file.
91195         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91196         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
91197         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
91198         when compiling str{,n}casecmp and when AVX is available.  Hook up
91199         new optimized code in initializers.
91201 2011-10-19  Andreas Schwab  <schwab@redhat.com>
91203         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91204         __feraiseexcept instead of feraiseexcept.
91206 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
91208         * math/math_private.h: Define defaults for libc_fetestexcept and
91209         libc_feupdateenv.
91210         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91211         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91212         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91213         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91214         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91215         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91216         libc_fetestexcept and libc_feupdateenv.
91218         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91219         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91220         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91221         * sysdeps/x86_64/fpu/math_private.h: Define special version of
91222         libc_feholdexcept_setround.
91224         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91225         Add s_nearbyint-c and s_nearbyintf-c.
91226         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91227         nearbyintf inlines.
91228         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91229         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91230         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91231         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91233         * math/math_private.h: Define defaults for libc_fegetround,
91234         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91235         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91236         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91237         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91238         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91239         standard functions.
91240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91241         Remove comments and hacks for old compiler versions.
91242         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91243         libc_fegetround, libc_fesetround, libc_feholdexcept, and
91244         libc_feholdexceptl.
91246 2011-10-18  Andreas Schwab  <schwab@redhat.com>
91248         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91249         (__feraiseexcept_renamed): Add __NTH.
91250         (feraiseexcept): Add __NTH.  Rename local variables to fix
91251         namespace violations.
91253 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
91255         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91257         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91259         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91260         recently added interfaces.
91261         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91263         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91264         about macro parameter expansion.
91266         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91267         __NO_MATH_INLINES is defined.  Cleanups.
91269         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91270         and __floorf is target has SSE4.1.
91271         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91272         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91273         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91274         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91276         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91277         name.
91278         (floorf): Likewise.
91280         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91282 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91284         * misc/sys/cdefs.h: Fix last change.
91286         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91287         database lookup.
91289 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91291         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91293         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91294         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91295         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91296         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91297         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91298         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91299         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91300         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91301         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91302         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91303         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91304         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91305         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91306         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91307         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91308         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91309         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91310         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91311         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91312         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91313         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91314         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91316         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91317         ceil, ceilf, floor, floorf.
91319         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91320         Perform IRELATIVE relocations last.
91322         * elf/do-rel.h: Add another parameter nrelative, replacing the
91323         local variable with the same name.  Change name of the function
91324         to end in Rel or Rela (uppercase).
91325         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91326         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91327         elf_dynamic_do_##reloc function.
91329 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91331         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91332         is sufficient, at least on modern CPUs.
91334         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91336         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91337         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91339         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91340         __expl_finite.
91341         * math/bits/math-finite.h: Add entries for exp.
91342         * math/e_expl.c: Add __*_finite alias.
91343         * sysdeps/i386/fpu/e_exp.S: Likewise.
91344         * sysdeps/i386/fpu/e_expf.S: Likewise.
91345         * sysdeps/i386/fpu/e_expl.c: Likewise.
91346         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91347         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91348         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91349         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91350         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91351         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91352         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91354         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91355         is sufficient, at least on modern CPUs.
91357         * ctype/ctype-info.c (__ctype_init): Define.
91358         * include/ctype.h (__ctype_init): Declare.
91359         (__ctype_b_loc): The variable is always initialized.
91360         (__ctype_toupper_loc): Likewise.
91361         (__ctype_tolower_loc): Likewise.
91362         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91363         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91365 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91367         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91369         * configure.in: Also look in $cxxmachine/include for C++ system
91370         headers.
91372 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91374         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91375         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91376         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91377         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91378         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91379         (USE_AS_WMEMCMP): New macro.
91380         Fixing indents.
91381         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91382         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91383         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91384         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91385         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91386         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91387         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91388         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91389         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91390         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91391         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91392         (USE_AS_WMEMCMP): New macro.
91393         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91394         * sysdeps/string/test-memcmp.c: Update.
91395         Fix simple_wmemcmp.
91396         Add new tests.
91397         * wcsmbs/wmemcmp.c: Update.
91398         (WMEMCMP): New macro.
91399         Fix overflow bug.
91401 2011-10-12  Andreas Jaeger  <aj@suse.de>
91403         [BZ #13268]
91404         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91406 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91408         * libio/iofwide.c (do_length): Avoid warning.
91410         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91412 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91414         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91416         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91417         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91418         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91419         * sysdeps/i386/i686/fpu/e_log.S: New file.
91420         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91421         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91423         * ctype/ctype.h: Add support for inlined isXXX functions when
91424         compiling C++ code.
91426 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91428         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91430         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91432 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91434         [BZ #13291]
91435         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91437 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91439         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91440         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91441         feraiseexcept.
91443         * sysdeps/x86_64/memrchr.S: Check for zero size.
91445         * string/stratcliff.c: Add memrchr tests.
91447 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91449         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91450         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91451         rawmemchr-sse2 rawmemchr-sse2-bsf.
91452         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91453         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91454         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91455         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91456         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91457         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91458         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91459         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91460         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91461         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91462         * string/memrchr.c (MEMRCHR): New macro.
91464 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91466         Add integration with gcc's -ffinite-math-only and optimize wrapper
91467         functions in libm.
91468         * Versions.def: Define GLIBC_2.15 version for libm.
91469         * math/Makefile (headers): Add bits/math-finite.h.
91470         * math/bits/math-finite.h: New file.
91471         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91472         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91473         * math/e_acoshl.c: Add __*_finite alias.
91474         * math/e_acosl.c: Likewise.
91475         * math/e_asinl.c: Likewise.
91476         * math/e_atan2l.c: Likewise.
91477         * math/e_atanhl.c: Likewise.
91478         * math/e_coshl.c: Likewise.
91479         * math/e_exp10.c: Likewise.
91480         * math/e_exp10f.c: Likewise.
91481         * math/e_exp10l.c: Likewise.
91482         * math/e_exp2l.c: Likewise.
91483         * math/e_fmodl.c: Likewise.
91484         * math/e_gammal_r.c: Likewise.
91485         * math/e_hypotl.c: Likewise.
91486         * math/e_j0l.c: Likewise.
91487         * math/e_j1l.c: Likewise.
91488         * math/e_jnl.c: Likewise.
91489         * math/e_lgammal_r.c: Likewise.
91490         * math/e_log10l.c: Likewise.
91491         * math/e_log2l.c: Likewise.
91492         * math/e_logl.c: Likewise.
91493         * math/e_powl.c: Likewise.
91494         * math/e_sinhl.c: Likewise.
91495         * math/e_sqrtl.c: Likewise.
91496         * math/e_scalb.c: Completely rewritten and optimized.
91497         * math/e_scalbf.c: Likewise.
91498         * math/e_scalbl.c: Likewise.
91499         * math/w_acos.c: Likewise.
91500         * math/w_acosf.c: Likewise.
91501         * math/w_acosl.c: Likewise.
91502         * math/w_acosh.c: Likewise.
91503         * math/w_acoshf.c: Likewise.
91504         * math/w_acoshl.c: Likewise.
91505         * math/w_asin.c: Likewise.
91506         * math/w_asinf.c: Likewise.
91507         * math/w_asinl.c: Likewise.
91508         * math/w_atan2.c: Likewise.
91509         * math/w_atan2f.c: Likewise.
91510         * math/w_atan2l.c: Likewise.
91511         * math/w_atanh.c: Likewise.
91512         * math/w_atanhf.c: Likewise.
91513         * math/w_atanhl.c: Likewise.
91514         * math/w_exp10.c: Likewise.
91515         * math/w_exp10f.c: Likewise.
91516         * math/w_exp10l.c: Likewise.
91517         * math/w_fmod.c: Likewise.
91518         * math/w_fmodf.c: Likewise.
91519         * math/w_fmodl.c: Likewise.
91520         * math/w_j0.c: Likewise.
91521         * math/w_j0f.c: Likewise.
91522         * math/w_j0l.c: Likewise.
91523         * math/w_j1.c: Likewise.
91524         * math/w_j1f.c: Likewise.
91525         * math/w_j1l.c: Likewise.
91526         * math/w_jn.c: Likewise.
91527         * math/w_jnf.c: Likewise.
91528         * math/w_log.c: Likewise.
91529         * math/w_logf.c: Likewise.
91530         * math/w_logl.c: Likewise.
91531         * math/w_log10.c: Likewise.
91532         * math/w_log10f.c: Likewise.
91533         * math/w_log10l.c: Likewise.
91534         * math/w_log2.c: Likewise.
91535         * math/w_log2f.c: Likewise.
91536         * math/w_log2l.c: Likewise.
91537         * math/w_pow.c: Likewise.
91538         * math/w_powf.c: Likewise.
91539         * math/w_powl.c: Likewise.
91540         * math/w_remainder.c: Likewise.
91541         * math/w_remainderf.c: Likewise.
91542         * math/w_remainderl.c: Likewise.
91543         * math/w_scalb.c: Likewise.
91544         * math/w_scalbf.c: Likewise.
91545         * math/w_scalbl.c: Likewise.
91546         * math/w_sqrt.c: Likewise.
91547         * math/w_sqrtf.c: Likewise.
91548         * math/w_sqrtl.c: Likewise.
91549         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91550         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91551         used.
91552         * math/math_private.h: Declare __kernel_standard_f.
91553         * math/w_cosh.c: Remove cruft and optimize a bit.
91554         * math/w_coshf.c: Likewise.
91555         * math/w_coshl.c: Likewise.
91556         * math/w_exp2.c: Likewise.
91557         * math/w_exp2f.c: Likewise.
91558         * math/w_exp2l.c: Likewise.
91559         * math/w_hypot.c: Likewise.
91560         * math/w_hypotf.c: Likewise.
91561         * math/w_hypotl.c: Likewise.
91562         * math/w_lgamma.c: Likewise.
91563         * math/w_lgamma_r.c: Likewise.
91564         * math/w_lgammaf.c: Likewise.
91565         * math/w_lgammaf_r.c: Likewise.
91566         * math/w_lgammal.c: Likewise.
91567         * math/w_lgammal_r.c: Likewise.
91568         * math/w_sinh.c: Likewise.
91569         * math/w_sinhf.c: Likewise.
91570         * math/w_sinhl.c: Likewise.
91571         * math/w_tgamma.c: Likewise.
91572         * math/w_tgammaf.c: Likewise.
91573         * math/w_tgammal.c: Likewise.
91574         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91575         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91576         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91577         Minor optimizations.  Pretty printing.  Remove cruft.
91578         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91579         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91580         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91581         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91582         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91583         * sysdeps/i386/fpu/e_asin.S: Likewise.
91584         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91585         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91586         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91587         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91588         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91589         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91591         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91592         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91593         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91594         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91595         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91596         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91597         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91598         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91599         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91600         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91601         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91602         * sysdeps/i386/fpu/e_log.S: Likewise.
91603         * sysdeps/i386/fpu/e_log10.S: Likewise.
91604         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91605         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91606         * sysdeps/i386/fpu/e_log2.S: Likewise.
91607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91608         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91609         * sysdeps/i386/fpu/e_logf.S: Likewise.
91610         * sysdeps/i386/fpu/e_logl.S: Likewise.
91611         * sysdeps/i386/fpu/e_pow.S: Likewise.
91612         * sysdeps/i386/fpu/e_powf.S: Likewise.
91613         * sysdeps/i386/fpu/e_powl.S: Likewise.
91614         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91615         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91616         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91617         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91618         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91619         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91620         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91621         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91622         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91623         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91624         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91625         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91626         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91627         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91628         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91629         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91630         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91631         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91632         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91633         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91634         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91636         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91637         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91638         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91639         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91640         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91641         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91643         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91644         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91645         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91646         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91647         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91648         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91649         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91650         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91651         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91652         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91653         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91654         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91655         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91656         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91657         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91658         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91659         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91660         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91661         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91662         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91663         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91664         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91665         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91666         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91667         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91668         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91669         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91670         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91671         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91672         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91673         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91674         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91675         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91676         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91677         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91678         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91679         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91680         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91681         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91682         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91683         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91684         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91685         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91686         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91687         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91688         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91689         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91690         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91691         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91692         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91693         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91694         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91695         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91696         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91697         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91698         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91699         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91700         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91701         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91702         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91703         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91704         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91705         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91706         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91707         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91708         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91709         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91710         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91711         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91712         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91713         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91714         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91715         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91716         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91717         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91718         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91719         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91720         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91721         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91722         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91723         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91724         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91725         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91726         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91727         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91728         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91729         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91730         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91731         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91732         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91733         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91734         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91735         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91736         (__isnanf): Likewise.
91737         (__isinf_ns): Likewise.
91738         (__isinf_nsf): Likewise.
91739         (__finite): Likewise.
91740         (__finitef): Likewise.
91741         (__ieee754_sqrt): Define as macro.
91742         (__ieee754_sqrtf): Define as macro.
91743         (__ieee754_sqrtl): Define as macro.
91744         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91745         inlined copy.
91746         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91747         __FINITE_MATH_ONLY__ consistent.
91748         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91750 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91752         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91753         of rawmemchr.
91755         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91757 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91759         * po/ja.po: Update from translation team.
91761 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91763         * locale/programs/locarchive.c (prepare_address_space): New function.
91764         (create_archive, enlarge_archive, open_archive): Use it.
91766         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91767         inside [SHARED], where it is used.
91769         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91771         * nss/getent.c (netgroup_keys): Remove unused variable.
91772         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91774 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91776         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91777         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91779         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91780         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91781         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91782         * math/Makefile (libm-calls): Add s_isinf_ns.
91783         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91784         * math/multc3.c: Likewise.
91785         * math/s_casin.c: Likewise.
91786         * math/s_casinf.c: Likewise.
91787         * math/s_casinl.c: Likewise.
91788         * math/s_ccos.c: Likewise.
91789         * math/s_ccosf.c: Likewise.
91790         * math/s_ccosl.c: Likewise.
91791         * math/s_ctan.c: Likewise.
91792         * math/s_ctanf.c: Likewise.
91793         * math/s_ctanh.c: Likewise.
91794         * math/s_ctanhf.c: Likewise.
91795         * math/s_ctanhl.c: Likewise.
91796         * math/s_ctanl.c: Likewise.
91797         * math/w_fmod.c: Likewise.
91798         * math/w_fmodf.c: Likewise.
91799         * math/w_fmodl.c: Likewise.
91800         * math/w_remainder.c: Likewise.
91801         * math/w_remainderf.c: Likewise.
91802         * math/w_remainderl.c: Likewise.
91803         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91804         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91805         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91806         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91807         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91808         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91809         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91810         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91812         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91813         of the number.
91814         * stdio-common/printf_fphex.c: Likewise.
91815         * stdio-common/printf_size.c: Likewise.
91817         * math/e_exp10.c: Include math_private.h using <...> not "...".
91818         * math/e_exp10f.c: Likewise.
91819         * math/e_exp10l.c: Likewise.
91820         * math/e_exp2l.c: Likewise.
91821         * math/e_j0l.c: Likewise.
91822         * math/e_j1l.c: Likewise.
91823         * math/e_jnl.c: Likewise.
91824         * math/e_lgammal_r.c: Likewise.
91825         * math/e_rem_pio2l.c: Likewise.
91826         * math/e_scalb.c: Likewise.
91827         * math/e_scalbf.c: Likewise.
91828         * math/e_scalbl.c: Likewise.
91829         * math/k_cosl.c: Likewise.
91830         * math/k_sinl.c: Likewise.
91831         * math/k_tanl.c: Likewise.
91832         * math/s_cacoshf.c: Likewise.
91833         * math/s_catan.c: Likewise.
91834         * math/s_catanf.c: Likewise.
91835         * math/s_catanh.c: Likewise.
91836         * math/s_catanhf.c: Likewise.
91837         * math/s_catanhl.c: Likewise.
91838         * math/s_catanl.c: Likewise.
91839         * math/s_ccosh.c: Likewise.
91840         * math/s_ccoshf.c: Likewise.
91841         * math/s_ccoshl.c: Likewise.
91842         * math/s_cexp.c: Likewise.
91843         * math/s_cexpf.c: Likewise.
91844         * math/s_cexpl.c: Likewise.
91845         * math/s_clog.c: Likewise.
91846         * math/s_clog10.c: Likewise.
91847         * math/s_clog10f.c: Likewise.
91848         * math/s_clog10l.c: Likewise.
91849         * math/s_clogf.c: Likewise.
91850         * math/s_clogl.c: Likewise.
91851         * math/s_csin.c: Likewise.
91852         * math/s_csinf.c: Likewise.
91853         * math/s_csinh.c: Likewise.
91854         * math/s_csinhf.c: Likewise.
91855         * math/s_csinhl.c: Likewise.
91856         * math/s_csinl.c: Likewise.
91857         * math/s_csqrt.c: Likewise.
91858         * math/s_csqrtf.c: Likewise.
91859         * math/s_csqrtl.c: Likewise.
91860         * math/s_ctan.c: Likewise.
91861         * math/s_ctanf.c: Likewise.
91862         * math/s_ctanh.c: Likewise.
91863         * math/s_ctanhf.c: Likewise.
91864         * math/s_ctanhl.c: Likewise.
91865         * math/s_ctanl.c: Likewise.
91866         * math/s_ldexp.c: Likewise.
91867         * math/s_ldexpf.c: Likewise.
91868         * math/s_ldexpl.c: Likewise.
91869         * math/s_significand.c: Likewise.
91870         * math/s_significandf.c: Likewise.
91871         * math/s_significandl.c: Likewise.
91872         * math/w_acos.c: Likewise.
91873         * math/w_acosf.c: Likewise.
91874         * math/w_acosh.c: Likewise.
91875         * math/w_acoshf.c: Likewise.
91876         * math/w_acoshl.c: Likewise.
91877         * math/w_acosl.c: Likewise.
91878         * math/w_asin.c: Likewise.
91879         * math/w_asinf.c: Likewise.
91880         * math/w_asinl.c: Likewise.
91881         * math/w_atan2.c: Likewise.
91882         * math/w_atan2f.c: Likewise.
91883         * math/w_atan2l.c: Likewise.
91884         * math/w_atanh.c: Likewise.
91885         * math/w_atanhf.c: Likewise.
91886         * math/w_atanhl.c: Likewise.
91887         * math/w_cosh.c: Likewise.
91888         * math/w_coshf.c: Likewise.
91889         * math/w_coshl.c: Likewise.
91890         * math/w_dremf.c: Likewise.
91891         * math/w_exp10.c: Likewise.
91892         * math/w_exp10f.c: Likewise.
91893         * math/w_exp10l.c: Likewise.
91894         * math/w_exp2.c: Likewise.
91895         * math/w_exp2f.c: Likewise.
91896         * math/w_fmod.c: Likewise.
91897         * math/w_fmodf.c: Likewise.
91898         * math/w_fmodl.c: Likewise.
91899         * math/w_hypot.c: Likewise.
91900         * math/w_hypotf.c: Likewise.
91901         * math/w_hypotl.c: Likewise.
91902         * math/w_j0.c: Likewise.
91903         * math/w_j0f.c: Likewise.
91904         * math/w_j0l.c: Likewise.
91905         * math/w_j1.c: Likewise.
91906         * math/w_j1f.c: Likewise.
91907         * math/w_j1l.c: Likewise.
91908         * math/w_jn.c: Likewise.
91909         * math/w_jnf.c: Likewise.
91910         * math/w_jnl.c: Likewise.
91911         * math/w_lgamma.c: Likewise.
91912         * math/w_lgamma_r.c: Likewise.
91913         * math/w_lgammaf.c: Likewise.
91914         * math/w_lgammaf_r.c: Likewise.
91915         * math/w_lgammal.c: Likewise.
91916         * math/w_lgammal_r.c: Likewise.
91917         * math/w_log.c: Likewise.
91918         * math/w_log10.c: Likewise.
91919         * math/w_log10f.c: Likewise.
91920         * math/w_log10l.c: Likewise.
91921         * math/w_log2.c: Likewise.
91922         * math/w_log2f.c: Likewise.
91923         * math/w_log2l.c: Likewise.
91924         * math/w_logf.c: Likewise.
91925         * math/w_logl.c: Likewise.
91926         * math/w_pow.c: Likewise.
91927         * math/w_powf.c: Likewise.
91928         * math/w_powl.c: Likewise.
91929         * math/w_remainder.c: Likewise.
91930         * math/w_remainderf.c: Likewise.
91931         * math/w_remainderl.c: Likewise.
91932         * math/w_scalb.c: Likewise.
91933         * math/w_scalbf.c: Likewise.
91934         * math/w_scalbl.c: Likewise.
91935         * math/w_sinh.c: Likewise.
91936         * math/w_sinhf.c: Likewise.
91937         * math/w_sinhl.c: Likewise.
91938         * math/w_sqrt.c: Likewise.
91939         * math/w_sqrtf.c: Likewise.
91940         * math/w_sqrtl.c: Likewise.
91941         * math/w_tgamma.c: Likewise.
91942         * math/w_tgammaf.c: Likewise.
91943         * math/w_tgammal.c: Likewise.
91945         * po/ja.po: Update from translation team.
91947 2011-09-29  Andreas Jaeger  <aj@suse.de>
91949         [BZ #13179]
91950         * sunrpc/netname.c (netname2host): Fix logic.
91952         [BZ #6779]
91953         [BZ #6783]
91954         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91955         correctly.
91956         * math/w_remainder.c (__remainder): Likewise.
91957         * math/w_remainderf.c (__remainderf): Likewise.
91958         * math/libm-test.inc (remainder_test): Add test cases.
91960 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91962         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91963         sdiv_qrnnd.
91965 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91967         * string/test-memcmp.c: Avoid unncessary #defines.
91968         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91970 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91972         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91973         Use new sse2 version for core i3 - i7 as it's faster
91974         than sse42 version.
91975         (bit_Prefer_PMINUB_for_stringop): New.
91976         * sysdeps/x86_64/rawmemchr.S: Update.
91977         Replace with faster SSE2 version.
91978         * sysdeps/x86_64/memrchr.S: New file.
91979         * sysdeps/x86_64/memchr.S: Update.
91980         Replace with faster SSE2 version.
91982 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91984         * elf/dl-load.c (lose): Add cast to avoid warning.
91986 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91988         * po/ca.po: Update from translation team.
91990         * inet/getnetgrent_r.c: Hook up nscd.
91991         * nscd/Makefile (routines): Add nscd_netgroup.
91992         (nscd-modules): Add netgroupcache.
91993         (CFLAGS-netgroupcache.c): Define.
91994         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91995         (cache_search): Add const to second parameter.
91996         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91997         INNETGR.
91998         (dbs): Add netgrdb entry.
91999         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
92000         (verify_persistent_db): Handle netgrdb.
92001         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
92002         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
92003         GETFDNETGR.
92004         (netgroup_response_header): Define.
92005         (innetgroup_response_header): Define.
92006         (datahead): Add netgroup_response_header and innetgroup_response_header
92007         elements.
92008         * nscd/nscd.conf: Add entries for netgroup cache.
92009         * nscd/nscd.h (dbtype): Add netgrdb.
92010         (_PATH_NSCD_NETGROUP_DB): Define.
92011         (netgroup_iov_disabled): Declare.
92012         (xmalloc, xcalloc, xrealloc): Move declarations here.
92013         (cache_search): Adjust prototype.
92014         Add netgroup-related prototypes.
92015         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
92016         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
92017         (__nscd_innetgr): Declare.
92018         * nscd/selinux.c (perms): Use access_vector_t as element type and
92019         add netgroup-related initializers.
92020         * nscd/netgroupcache.c: New file.
92021         * nscd/nscd_netgroup.c: New file.
92022         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
92023         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
92024         For four parameters use innetgr.
92025         * nss/nss_files/files-init.c: Add definition and callback for netgr.
92026         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
92027         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
92028         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
92030         * nscd/connections.c (register_traced_file): Don't register file
92031         for disabled databases.
92033 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
92035         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
92037         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
92038         from tree and freeing node.
92040 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
92042         * nss/nsswitch.c (__nss_database_lookup): Handle
92043         nss_parse_service_list out of memory case.
92045 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
92047         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
92048         out of memory case.
92050 2011-10-04  Andreas Schwab  <schwab@redhat.com>
92052         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
92053         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
92054         pass it down.
92055         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
92056         elf_machine_rela, elf_machine_lazy_rel.
92057         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
92058         (ELF_DYNAMIC_DO_REL): Likewise.
92059         (ELF_DYNAMIC_DO_RELA): Likewise.
92060         (ELF_DYNAMIC_RELOCATE): Likewise.
92061         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
92062         to ELF_DYNAMIC_DO_REL.
92063         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
92064         (dl_main): In trace mode always set __RTLD_NOIFUNC.
92065         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
92066         elf_machine_rela.
92067         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
92068         skip_ifunc, don't call ifunc function if non-zero.
92069         (elf_machine_rela): Likewise.
92070         (elf_machine_lazy_rel): Likewise.
92071         (elf_machine_lazy_rela): Likewise.
92072         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
92073         (elf_machine_lazy_rel): Likewise.
92074         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
92075         Likewise.
92076         (elf_machine_lazy_rel): Likewise.
92077         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92078         Likewise.
92079         (elf_machine_lazy_rel): Likewise.
92080         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
92081         (elf_machine_lazy_rel): Likewise.
92082         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
92083         (elf_machine_lazy_rel): Likewise.
92084         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
92085         (elf_machine_lazy_rel): Likewise.
92086         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
92087         (elf_machine_lazy_rel): Likewise.
92088         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
92089         (elf_machine_lazy_rel): Likewise.
92090         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
92091         (elf_machine_lazy_rel): Likewise.
92093 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
92095         * nss/nss_files/files-init.c (_nss_files_init): Use static
92096         initialization for all the *_traced_file variables.
92098 2011-09-28  Andreas Schwab  <schwab@redhat.com>
92100         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92102 2011-09-27  Roland McGrath  <roland@hack.frob.com>
92104         [BZ #13226]
92105         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
92107 2011-09-27  Andreas Schwab  <schwab@redhat.com>
92109         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
92110         Reread the line before reparsing it.
92112 2011-09-26  Andreas Schwab  <schwab@redhat.com>
92114         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
92116 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
92117             Maxim Kuvyrkov  <maxim@codesourcery.com>
92118             Joseph Myers  <joseph@codesourcery.com>
92120         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
92121         if needed for __stack_chk_guard.
92123 2011-09-19  Roland McGrath  <roland@hack.frob.com>
92125         * sysdeps/posix/spawni.c (script_execute): Always define it.
92126         It will be optimized away if unused.
92127         (maybe_script_execute): New function.
92128         (__spawni): Call it.
92130         * Makerules: Don't include tls.make.
92131         (config-tls): Always set to thread.
92132         * tls.make.c: File removed.
92134 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
92136         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
92137         * config.make.in (CPPFLAGS-config): New substituted variable.
92139 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
92141         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
92143         [BZ #13192]
92144         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
92145         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
92147 2011-09-15  Roland McGrath  <roland@hack.frob.com>
92149         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
92150         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
92151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92152         (CALL_FAIL): Likewise.
92153         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
92154         (CALL_FAIL): Macro removed.
92155         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
92157 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
92159         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92160         for __FINITE_MATH_ONLY__ == 1.
92162 2011-09-15  Andreas Schwab  <schwab@redhat.com>
92164         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92165         __ieee754_sqrt instead of sqrt.
92166         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92167         __ieee754_sqrtf instead of sqrtf.
92168         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92169         __floorf instead of floorf.
92170         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92171         __floorf, __truncf instead of floorf, truncf.
92173 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
92175         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92177         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92178         __extern_always_inline.
92179         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92180         32-bit.
92182 2011-09-14  Andreas Schwab  <schwab@redhat.com>
92184         * elf/rtld.c (dl_main): Also relocate in dependency order when
92185         doing symbol dependency testing.
92187 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
92189         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92190         Always define `refsym'.
92192 2011-09-13  Andreas Schwab  <schwab@redhat.com>
92194         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92195         (__FD_ELT): Renamed from __FDELT.
92196         * misc/bits/select2.h (__FD_ELT): Likewise.
92197         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92198         __FD_MASK instead of __FDELT, __FDMASK.
92199         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92200         Likewise.
92201         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92202         Likewise.
92204         * elf/Makefile (gen-ldd): Fix pattern.
92206         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92207         (init_tls): Likewise.
92209 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
92211         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92213 2011-09-12  Andreas Schwab  <schwab@redhat.com>
92215         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92216         `struct cmsghdr *' instead of `void *'.
92217         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92218         Likewise.
92220 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
92222         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92223         if non-absolute.
92224         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92225         ldd_rewrite_script.
92227 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
92229         * configure.in: Remove --with-tls option.
92230         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92231         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92232         out in case it is missing.
92233         * sysdeps/ia64/elf/configure.in: Likewise.
92234         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92235         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92236         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92237         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92238         * sysdeps/sh/elf/configure.in: Likewise.
92239         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92240         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92241         * sysdeps/x86_64/elf/configure.in: Likewise.
92242         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92243         * sysdeps/mach/hurd/tls.h: Likewise.
92245         [BZ #13067]
92246         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92248         [BZ #13090]
92249         * configure.in: Fix use of AC_INIT.
92251         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92253 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
92255         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92256         __set_errno.
92257         * malloc/hooks.c: Likewise.
92259         [BZ #11929]
92260         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
92261         variables statically.
92262         (narenas): Initialize.
92263         (list_lock): Initialize.
92264         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92265         initializtion of main_arena and list_lock.  Small cleanups.
92266         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92267         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92268         Add initializers to main_arena and mp_.
92269         (malloc_state): Remove pagesize member.  Change all users to use
92270         GLRO(dl_pagesize).
92272         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92273         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92274         is always initialized.
92276         * malloc/malloc.c: Removed unused configurations and dead code.
92277         * malloc/arena.c: Likewise.
92278         * malloc/hooks.c: Likewise.
92279         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92281         * include/tls.h: Removed.  USE___THREAD must always be defined.
92282         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92283         * elf/dl-libc.c: Likewise.
92284         * elf/dl-tsd.c: Likewise.
92285         * include/errno.h: Likewise.
92286         * include/netdb.h: Likewise.
92287         * include/resolv.h: Likewise.
92288         * inet/herrno-loc.c: Likewise.
92289         * inet/herrno.c: Likewise.
92290         * malloc/arena.c: Likewise.
92291         * malloc/hooks.c: Likewise.
92292         * malloc/malloc.c: Likewise.
92293         * resolv/res-state.c: Likewise.
92294         * resolv/res_libc.c: Likewise.
92295         * sysdeps/i386/dl-machine.h: Likewise.
92296         * sysdeps/ia64/dl-machine.h: Likewise.
92297         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92298         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92299         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92300         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92301         * sysdeps/sh/dl-machine.h: Likewise.
92302         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92303         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92304         * sysdeps/unix/i386/sysdep.S: Likewise.
92305         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92306         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92307         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92309         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92311         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92312         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92314         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92315         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92316         * sysdeps/x86_64/dl-machine.h: Likewise.
92317         * tls.make.c: Likewise.
92319         * configure.in: Remove --with-__thread option.  Make tests for
92320         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92321         tls_model attribute fail if no support is available.  Remove
92322         USE_IN_LIBIO.
92323         * Makeconfig: Adjust for dropped configure option.  All features are
92324         now mandatory.
92325         * Makerules: Likewise.
92326         * Versions.def: Likewise.
92327         * argp/argp-fmtstream.c: Likewise.
92328         * argp/argp-fmtstream.h: Likewise.
92329         * argp/argp-help.c: Likewise.
92330         * assert/assert.c: Likewise.
92331         * config.h.in: Likewise.
92332         * config.make.in: Likewise.
92333         * configure: Likewise.
92334         * configure.in: Likewise.
92335         * csu/Versions: Likewise.
92336         * csu/init.c: Likewise.
92337         * elf/tst-audit2.c: Likewise.
92338         * elf/tst-tls10.c: Likewise.
92339         * elf/tst-tls10.h: Likewise.
92340         * elf/tst-tls11.c: Likewise.
92341         * elf/tst-tls12.c: Likewise.
92342         * elf/tst-tls14.c: Likewise.
92343         * elf/tst-tlsmod11.c: Likewise.
92344         * elf/tst-tlsmod12.c: Likewise.
92345         * elf/tst-tlsmod13.c: Likewise.
92346         * elf/tst-tlsmod13a.c: Likewise.
92347         * elf/tst-tlsmod14a.c: Likewise.
92348         * elf/tst-tlsmod15b.c: Likewise.
92349         * elf/tst-tlsmod16a.c: Likewise.
92350         * elf/tst-tlsmod16b.c: Likewise.
92351         * elf/tst-tlsmod7.c: Likewise.
92352         * elf/tst-tlsmod8.c: Likewise.
92353         * elf/tst-tlsmod9.c: Likewise.
92354         * gmon/gmon.c: Likewise.
92355         * grp/fgetgrent_r.c: Likewise.
92356         * grp/putgrent.c: Likewise.
92357         * hurd/fopenport.c: Likewise.
92358         * include/libc-symbols.h: Likewise.
92359         * include/tls.h: Likewise.
92360         * intl/gettextP.h: Likewise.
92361         * intl/loadinfo.h: Likewise.
92362         * locale/global-locale.c: Likewise.
92363         * locale/localeinfo.h: Likewise.
92364         * mach/devstream.c: Likewise.
92365         * malloc/arena.c: Likewise.
92366         * malloc/set-freeres.c: Likewise.
92367         * misc/err.c: Likewise.
92368         * misc/getttyent.c: Likewise.
92369         * misc/mntent_r.c: Likewise.
92370         * posix/getopt.c: Likewise.
92371         * posix/wordexp.c: Likewise.
92372         * pwd/fgetpwent_r.c: Likewise.
92373         * resolv/Versions: Likewise.
92374         * resolv/res_hconf.c: Likewise.
92375         * shadow/fgetspent_r.c: Likewise.
92376         * shadow/putspent.c: Likewise.
92377         * stdio-common/printf_fphex.c: Likewise.
92378         * stdio-common/tmpfile.c: Likewise.
92379         * stdlib/abort.c: Likewise.
92380         * stdlib/fmtmsg.c: Likewise.
92381         * sunrpc/auth_unix.c: Likewise.
92382         * sunrpc/clnt_perr.c: Likewise.
92383         * sunrpc/clnt_tcp.c: Likewise.
92384         * sunrpc/clnt_udp.c: Likewise.
92385         * sunrpc/clnt_unix.c: Likewise.
92386         * sunrpc/openchild.c: Likewise.
92387         * sunrpc/svc_simple.c: Likewise.
92388         * sunrpc/svc_tcp.c: Likewise.
92389         * sunrpc/svc_udp.c: Likewise.
92390         * sunrpc/svc_unix.c: Likewise.
92391         * sunrpc/xdr.c: Likewise.
92392         * sunrpc/xdr_array.c: Likewise.
92393         * sunrpc/xdr_rec.c: Likewise.
92394         * sunrpc/xdr_ref.c: Likewise.
92395         * sunrpc/xdr_stdio.c: Likewise.
92397 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92399         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92401 2011-07-03  Andreas Jaeger  <aj@suse.de>
92403         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92404         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92405         regenerate with gen-libm-tests.pl.
92407 2010-05-12  Petr Baudis  <pasky@suse.cz>
92409         [BZ #11589]
92410         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92411         around j0() zero points by switching to j1().
92412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92413         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92414         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92415         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92417 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92419         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92420         instead of 0.
92421         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92422         instead of 0.
92423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92424         Patch in part by Pavel Roskin <proski@gnu.org>.
92426         [BZ #13138]
92427         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92428         realloc.
92429         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92430         Free memory block if necessary.
92432         [BZ #12847]
92433         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92434         be NULL.  Don't lock in this case.
92436 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92438         * elf/elf.h (ELFOSABI_GNU): New macro.
92439         (ELFOSABI_LINUX): Define to that.
92441 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92443         * string/strncat.c (strncat): Undef the symbol in case it has been
92444         defined in bits/string.h.
92446 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92448         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92450         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92451         link map.
92453 2011-08-17  Andreas Jaeger  <aj@suse.de>
92455         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92457 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92458             Ian Lance Taylor  <iant@google.com>
92460         * math/libm-test.inc (lround_test): New testcase.
92461         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92463 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92465         * Makefile: Remove support for automatic cvs check-ins.
92466         * Makerules: Likewise.
92467         * config.make.in: Likewise.
92468         * configure.in: Likewise.
92469         * intl/Makefile: Likewise.
92470         * locale/Makefile: Likewise.
92471         * po/Makefile: Likewise.
92472         * posix/Makefile: Likewise.
92473         * sysdeps/gnu/Makefile: Likewise.
92474         * sysdeps/mach/hurd/Makefile: Likewise.
92475         * sysdeps/sparc/sparc32/Makefile: Likewise.
92477         [BZ #13118]
92478         * posix/Makefile (bug-regex32-ENV): Define.
92479         Patch by John Stanley <jpsinthemix@verizon.net>.
92481         * misc/Makefile (headers): Add bits/select2.h.
92482         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92483         * misc/bits/select2.h: New file.
92484         * include/bits/select2.h: New file.
92485         * debug/Makefile (routines): Add fdelt_chk.
92486         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92487         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92488         FD_ISSET.
92489         * debug/fdelt_chk.c: New file.
92491         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92492         * wcsmbs/test-wmemcmp.c: Likewise.
92493         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92494         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92496 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92498         * string/Makefile (strop-tests): Add memcmp.
92499         * string/test-wmemcmp.c: New file.
92500         * string/test-memcmp.c: Add wmemcmp support.
92502 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92504         [BZ #13153]
92505         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92506         2011-07-19 change.
92508         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92509         garbage value in a __mach_port_mod_refs call in the cases of the
92510         task-self and thread-self ports.
92512 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92514         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92516 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92518         * elf/dl-load.c (lose): Check for non-null L.
92520 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92522         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92524         * elf/dl-libc.c (dlerror_run): Pass back error code from
92525         dl_catch_error.
92527         [BZ #13123]
92528         * elf/dl-load.c (lose): Free l_origin if it is valid.
92530         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92531         names.
92532         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92533         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92534         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92535         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92536         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92537         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92539 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92541         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92542         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92543         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92544         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92545         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92546         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92547         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92548         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92549         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92550         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92552 2011-08-15  Alan Modra  <amodra@gmail.com>
92554         [BZ #13092]
92555         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92556         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92557         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92558         ppc_mcount to static-only-routines.
92559         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92560         __mcount_internal.
92561         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92562         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92564 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92566         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92567         for finite and infinity parameters.
92569 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92571         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92572         and add nop instructions for throughput optimization.
92573         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92575 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92577         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92578         aligned copy for power7 with vector-scalar instructions.
92579         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92581 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92583         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92584         AVX check.
92586 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92588         [BZ #13144]
92589         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92590         last change.
92592 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92594         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92595         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92596         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92597         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92598         clock_gettime.
92600 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92602         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92603         Forgot to demangle the pointer.
92605         * sysdeps/i386/sysdep.h: Define atom_text_section.
92606         * sysdeps/x86_64/sysdep.h: Likewise.
92607         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92608         section with atom_text_section.
92609         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92610         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92611         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92612         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92613         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92615         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92616         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92617         already be defined.  Change to take two parameters and don't assign
92618         result to variable.  Adjust all users.
92619         Define INTERNAL_GETTIME if not already defined.
92620         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92621         call.
92622         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92623         HAVE_CLOCK_GETTIME_VSYSCALL.
92624         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92626         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92627         gettimeofday vsyscall, just use time.
92629 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92632         <errno.h>.
92634 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92636         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92637         syscall on x86-64.
92638         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92639         syscall.
92640         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92641         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92642         syscall if possible.
92644 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92646         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92647         e_ident.  Don't pass to find_mapsXX.
92648         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92650 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92653         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92654         * sysdeps/x86_64/multiarch/strchr.S: Update.
92655         Check bit_slow_BSF bit.
92656         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92657         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92658         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92660 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92662         [BZ #13134]
92663         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92664         before glibc 2.15.
92665         (tryshell): Define.
92666         (__spawni): Change last parameter to be flag.  Test
92667         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92668         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92669         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92670         * posix/spawni.c: Likewise.
92671         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92672         * posix/spawnp.c: Likewise.  Change normal version to use
92673         SPAWN_XFLAGS_USE_PATH.
92674         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92675         SPAWN_XFLAGS_TRY_SHELL.
92677         [BZ #13150]
92678         * posix/glob.h: Remove gcc 1.x support.
92680         [BZ #13068]
92681         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92683 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92685         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92686         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92687         strrchr-sse2-bsf
92688         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92689         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92690         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92691         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92692         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92693         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92695 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92697         * sysdeps/x86_64/wcscmp.S: New file.
92699         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92700         wcscmp-c wcscmp-sse2
92701         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92702         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92703         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92704         * wcsmbs/wcscmp.c: Allow renaming.
92706 2011-09-05  David S. Miller  <davem@davemloft.net>
92708         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92709         stack slot, rather than the struct return pointer slot.
92710         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92711         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92712         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92713         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92715 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92717         * po/ja.po: Update from translation team.
92719         [BZ #13144]
92720         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92721         kernel in 64-bit binaries.
92723 2011-09-01  David S. Miller  <davem@davemloft.net>
92725         * elf/elf.h (HWCAP_SPARC_*): Move to..
92726         * sysdeps/sparc/sysdep.h: this new file and add new values.
92727         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92728         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92729         _DL_HWCAP_COUNT to 24.
92730         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92731         entries.
92732         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92733         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92734         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92735         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92736         instead of magic constants.
92737         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92739 2011-08-31  David S. Miller  <davem@davemloft.net>
92741         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92742         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92743         Reimplement to do errno handling inline.
92744         (SYSCALL_ERROR_HANDLER): New macro.
92745         (__SYSCALL_STRING): Do not do errno handling in asm.
92746         (__CLONE_SYSCALL_STRING): Delete.
92747         (__INTERNAL_SYSCALL_STRING): Delete.
92748         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92749         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92750         (PSEUDO): Reimplement to do errno handling inline.
92751         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92752         (SYSCALL_ERROR_HANDLER): New macro.
92753         (__SYSCALL_STRING): Do not do errno handling in asm.
92754         (__CLONE_SYSCALL_STRING): Delete.
92755         (__INTERNAL_SYSCALL_STRING): Delete.
92756         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92757         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92758         i386.
92759         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92760         (inline_syscall*): Add 'err' argument.
92761         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92762         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92763         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92764         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92766         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92767         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92769 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92771         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92773 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92775         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92776         directive.
92778 2011-08-24  David S. Miller  <davem@davemloft.net>
92780         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92782 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92784         * elf/Makefile: Add rules to build and run unload8 test.
92785         * elf/unload8.c: New file.
92786         * elf/unload8mod1.c: New file.
92787         * elf/unload8mod1x.c: New file.
92788         * elf/unload8mod2.c: New file.
92789         * elf/unload8mod3.c: New file.
92791         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92792         it wasn't used.
92794 2011-08-23  David S. Miller  <davem@davemloft.net>
92796         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92797         subtract stack bias.
92798         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92799         %sp not %fp in calculations.
92800         (_JMPBUF_UNWINDS_ADJ): Likewise.
92802         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92803         (aio_suspend): Call it to force an exception region around the
92804         AIO_MISC_WAIT() invocation.
92806 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92808         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92809         backslash.
92811 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92813         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92814         protection macro.
92815         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92816         and <dl-machine.h>.
92817         (Elf64_FuncDesc): Remove.
92819 2011-08-22  David S. Miller  <davem@davemloft.net>
92821         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92822         sigaltstack check, add missing cfi directives.
92823         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92824         missing cfi directives, and sigaltstack handling.
92826 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92828         [BZ #11724]
92829         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92830         object is seen twice.
92831         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92833         * elf/Makefile (distribute): Add tst-initorder2.c.
92834         (tests): Add tst-initorder2.
92835         (modules-names): Add tst-initorder2a tst-initorder2b
92836         tst-initorder2c tst-initorder2d.  Add rules to build them.
92837         ($(objpfx)tst-initorder2.out): New rule.
92838         * elf/tst-initorder2.c: New file.
92839         * elf/tst-initorder2.exp: New file.
92841 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92843         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92845         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92846         dependencies back to end of function.
92848         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92849         $(elfobjdir)/ld.so.
92851 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92853         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92854         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92855         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92856         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92857         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92858         of __vdso_gettimeofday.
92859         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92860         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92861         attribute_hidden.
92862         (_libc_vdso_platform_setup): Remove initialization of
92863         __vdso_gettimeofday and __vdso_time.
92865 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92867         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92868         and fgetc_unlocked.
92869         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92870         getc_unlocked.
92872         * elf/dl-open.c (add_to_global): Report additions to the global scope
92873         for LD_DEBUG=scopes.
92874         (dl_open_worker): Also print scope of newly loaded dependencies.
92875         (_dl_show_scope): Indicate if there is no scope.
92877         [BZ #13114]
92878         * stdio-common/Makefile (tests): Add bug24.
92879         * stdio-common/bug24.c: New file.
92881 2011-08-19  Andreas Jaeger  <aj@suse.de>
92883         [BZ #13114]
92884         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92885         non-existant file when using close-on-exec mode.
92887 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92889         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92890         the very first instruction.
92892         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92893         the CFI state in the end.
92894         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92895         inclusion of dl-trampoline.h.
92896         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92898 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92900         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92901         expectations for long double.
92903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92904         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92906 2011-08-14  David S. Miller  <davem@davemloft.net>
92908         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92909         artificual limit depends upon the system page size.
92911 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92913         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92914         * resolv/Makefile: Define CFLAGS-libresolv.
92916 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92918         * nss/makedb.c (compute_tables): Make variables used in nested
92919         function static.
92921 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92923         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92924         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92925         if buffer was too small.
92927         * elf/pldd.c (main): Attach to all threads in the process.
92928         Rewrite /proc handling to use *at functions.
92930 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92932         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92933         specifies first scope to show.
92934         (dl_open_worker): Update callers.  Move printing scope of new
92935         object to before the relocation.
92936         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92937         * sysdeps/generic/ldsodefs.h: Update declaration.
92939         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92940         string for the scope number.
92942 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92944         * nscd/servicescache.c (cache_addserv): Make sure written is always
92945         initialized.
92947 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92949         * sysdeps/i386/i486/bits/atomic.h
92950         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92951         statement expression, so as to suppress "set but not used" warning.
92952         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92954         * string/strncat.c (STRNCAT): Use prototype definition.
92956         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92957         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92958         -Iprograms here.
92959         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92960         (localedef-modules): Add localedef.
92961         (locale-modules): Add locale.
92963         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92964         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92965         to avoid a warning.
92967 2011-08-14  David S. Miller  <davem@davemloft.net>
92969         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92970         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92972 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92974         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92975         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92976         * elf/rtld.c (dl_main): Set l_name of vDSO.
92977         Call _dl_show_scope when DL_DEBUG_SCOPES.
92978         (process_dl_debug): Recognize scopes flag and also set it for all.
92979         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92980         Declare _dl_show_scope.
92982         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92983         (do_dlopen): Pass caller_dlopen to dl_open.
92984         (__libc_dlopen_mode): Initialize caller_dlopen.
92986         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92987         of libc.  Make tolower call locale-independent.  Optimize a bit by
92988         using isdigit instead of isalnum.
92989         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92991 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92993         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92994         was a dependency or dynamically loaded.
92996 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92998         * intl/l10nflist.c: Allow architecture-specific pop function.
92999         * sysdeps/x86_64/l10nflist.c: New file.
93001         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
93002         classification.
93004 2011-08-10  Andreas Schwab  <schwab@redhat.com>
93006         * include/dirent.h: Add libc_hidden_proto for scandirat and
93007         scandirat64.  Don't declare __scandirat64.
93008         * dirent/scandirat.c: Add libc_hidden_def.
93009         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
93010         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
93012 2011-08-10  David S. Miller  <davem@davemloft.net>
93014         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
93015         enum.
93016         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93017         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93020 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
93022         * Versions.def [libc]: Add GLIBC_2.15.
93023         * dirent/Makefile (routines): Add scandirat and scandirat64.
93024         * dirent/Versions [libc]: Export scandirat and scandirat64 for
93025         GLIBC_2.15.
93026         * dirent/dirent.h: Declare scandirat and scandirat64.
93027         * dirent/scandirat.c: New file.
93028         * dirent/scandirat64.c: New file.
93029         * sysdeps/wordsize-64/scandirat.c: New file.
93030         * sysdeps/wordsize-64/scandirat64.c: New file.
93031         * dirent/opendir.c: Define opendirat.
93032         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
93033         using scandirat.
93034         * dirent/scandir64.c: Adjust for scandir.c change.
93035         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
93036         __scandirat64, and __scandir_cancel_handler.
93037         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
93038         additional parameter and use openat instead of open (outside of ld.so).
93039         Add new __opendir as wrapper around __opendirat.
93040         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
93041         here without requiring old scandirat implementation.
93043 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
93045         * dirent/scandir.c (cancel_handler): Renamed to
93046         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
93047         defined.  Adjust users.
93048         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
93049         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
93051 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
93053         * string/test-string.h (IMPL): Use __STRING to expand name and then
93054         stringify it.
93056         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
93057         of cleanups.
93059 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
93061         * string/Makefile: Update.
93062         (strop-tests): Append strncat.
93063         * string/test-wcscmp.c: New file.
93064         New comprehensive test for wcscmp.
93065         * string/test-strcmp.c: Update.
93066         (WIDE): New define.
93068 2011-07-22  Andreas Schwab  <schwab@redhat.com>
93070         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
93071         line.
93073 2011-07-26  Andreas Schwab  <schwab@redhat.com>
93075         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93076         encoding to ACE if AI_IDN.
93078 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
93080         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
93081         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
93083 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93085         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
93086         Fix overflow bug in strncat.
93087         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
93089         * string/test-strncat.c: Update.
93090         Add new tests for checking overflow bugs.
93092 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93095         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
93096         * sysdeps/i386/i686/multiarch/strcat.S: New file.
93097         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
93098         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
93099         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
93100         * sysdeps/i386/i686/multiarch/strncat.S: New file.
93101         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
93102         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
93104         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
93105         (USE_AS_STRCAT): Define.
93106         Add strcat and strncat support.
93107         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
93109 2011-07-25  Andreas Schwab  <schwab@redhat.com>
93111         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
93112         __n bigger than INT_MAX+1.
93113         (__strncmp_g): Likewise.
93115 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
93117         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
93118         * libio/stido.h: Likewise.
93120         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
93121         (AF_NFC): Define.
93122         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
93123         (AF_NFC): Define.
93125         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
93126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93127         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93128         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
93129         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93131         [BZ #13021]
93132         * scripts/test-installation.pl: Don't expect libnss_test1 to be
93133         installed.
93135         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
93136         typo.
93137         (_dl_x86_64_save_sse): Likewise.
93139 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
93141         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
93142         OSXSAVE.
93143         (_dl_x86_64_save_sse): Likewise.
93145         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
93147         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
93149 2011-07-21  Andreas Schwab  <schwab@redhat.com>
93151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
93152         change.
93153         (_dl_x86_64_save_sse): Use correct AVX check.
93155 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
93157         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
93158         bug in strncpy/strncat.
93159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
93161 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
93163         * string/tester.c (test_strcat): Add tests for different alignments
93164         of source and destination.
93165         (test_strncat): Likewise.
93167 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93169         [BZ #12852]
93170         * posix/glob.c (glob): Check passed in values before using them in
93171         expressions to avoid some overflows.
93172         (glob_in_dir): Likewise.
93174         [BZ #13007]
93175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93176         check for AVX enablement so that we don't crash with old kernels and
93177         new hardware.
93178         * elf/tst-audit4.c: Add same checks here.
93179         * elf/tst-audit6.c: Likewise.
93181         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93183 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
93185         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93187 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93189         * po/cs.po: Update from translation team.
93190         * po/bg.po: Likewise.
93192 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
93194         * misc/sys/cdefs.h: Add support for const attribute.
93195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93196         to gnu_dev_{major,minor,makedev} functions.
93198 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
93200         * intl/dcigettext.c (get_output_charset): Add missing bracket.
93202 2011-07-20  Andreas Schwab  <schwab@redhat.com>
93204         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93205         strlen results.
93207 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93209         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93210         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93211         register in order to avoid conflicts with the soft frame pointer
93212         being held in r11 when necessary.
93213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93214         (INTERNAL_VSYSCALL_NCS): Likewise.
93216 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
93218         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93219         * elf/dl-fini.c (_dl_fini): Adjust caller.
93220         * elf/dl-close.c (_dl_close_worker): Likewise.
93221         * sysdeps/generic/ldsodefs.h: Adjust declaration.
93223 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93225         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93226         "aux_cache->nlibs < 0".
93228         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93229         in the reload-count case.
93231 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93234         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93235         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93236         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93237         * sysdeps/x86_64/multiarch/strcat.S: New file.
93238         * sysdeps/x86_64/multiarch/strncat.S: New file.
93239         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93240         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93241         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93242         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93243         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93244         (USE_AS_STRCAT): Define.
93245         Add strcat and strncat support.
93246         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93247         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93248         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93249         * string/strncat.c: Update.
93250         (USE_AS_STRNCAT): Define.
93251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93252         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93253         and i7.
93254         * sysdeps/x86_64/multiarch/init-arch.h
93255         (bit_Prefer_PMINUB_for_stringop): New.
93256         (index_Prefer_PMINUB_for_stringop): Likewise.
93257         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93258         bit_Prefer_PMINUB_for_stringop.
93260 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93262         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93263         buffer64.
93264         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93265         of casting of buffer.
93266         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93267         buffer32 and buffer64.
93268         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93269         writes instead of casting of buffer.
93270         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93271         buffer32.
93272         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93273         casting of buffer.
93275 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93277         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93279 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93281         * nscd/nscd.c (termination_handler): Don't do anything for a database
93282         if it has not yet been initialized.
93284 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93286         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93288 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93290         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93292 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93294         * po/nl.po: Update from translation team.
93295         * po/sv.po: Likewise.
93297 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93299         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93300         now disallowed by GCC.
93302         * configure.in (use-default-link): Default to yes if a test -shared
93303         link meets our qualifications.
93304         * configure: Regenerated.
93306         * config.make.in (output-format): New variable.
93307         * configure.in: Check for ld --print-output-format support.
93308         * configure: Regenerated.
93309         * Makerules ($(common-objpfx)format.lds)
93310         [$(output-format) != unknown]: Just use $(output-format),
93311         instead of the linker-script munging.
93313 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93315         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93316         of $(common-objpfx)shlib.lds.
93317         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93319         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93320         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93322         * configure.in (-z relro check): Adjust test code to add a large
93323         writable data section after it.
93324         * configure: Regenerated.
93326 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93328         * configure.in (-z relro check): Fix test code to make the variable
93329         truly const.
93330         * configure: Regenerated.
93332 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93334         * nscd/nscd.h (struct traced_file): Define.
93335         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93336         elements.  Add traced_files.
93337         (inotify_fd): Declare.
93338         (register_traced_file): Declare.
93339         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93340         (inotify_fd): Export.
93341         (resolv_conf_descr): Remove.
93342         (nscd_init): Move inotify descriptor creation to main.
93343         Don't register files for notification here.
93344         (register_traced_file): New function.
93345         (invalidate_cache): Don't use reset_res to determine whether to call
93346         res_init, go through the list of registered files.
93347         (main_loop_poll): The inotify descriptors are now stored in the
93348         structures for the traced files.
93349         (main_loop_epoll): Likewise.
93350         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93351         to __nss_disable_nscd.
93352         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93353         for a database anymore.  Check the records for all the registered
93354         files instead.
93355         * nss/Makefile (libnss_files-routines): Add files-init.
93356         (libnss_db-routines): Add db-init.
93357         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93358         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93359         * nss/nss_db/db-init.c: New file.
93360         * nss/nss_files/files-init.c: New file.
93361         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93362         __nss_lookup_function.
93363         (__nss_lookup_function): Call nss_load_library.
93364         (nss_load_all_libraries): New function.
93365         (__nss_disable_nscd): Take parameter with callback function for files
93366         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93367         used for the cached services.
93368         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93369         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93370         options for features to all the files in nscd.
93372         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93374 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93376         * csu/elf-init.c (__libc_csu_init): Comment typo.
93378 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93380         * po/pl.po: Update from translation team.
93381         * po/ja.po: Likewise.
93382         * po/ru.po: Likewise.
93383         * po/ko.po: Likewise.
93384         * po/fr.po: Likewise.
93386 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93388         * configure.in (.ctors/.dtors header and trailer check):
93389         Use an empirical test on a built program.
93390         * configure: Regenerated.
93392         * configure.in (-z relro check): Use an empirical test on a built DSO.
93393         Detect, but do not require, on ia64.
93394         * configure: Regenerated.
93396         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93397         Update tests that use readelf to use $READELF instead.
93398         * configure: Regenerated.
93400 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93402         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93403         if the result is not used.
93405 2011-07-05  Andreas Jaeger  <aj@suse.de>
93407         [BZ #9696]
93408         * stdlib/tst-strtod.c: Add testcase.
93410 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93412         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93413         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93414         The latter has a higher limit.  Take additional parameter to pass to
93415         the new function.
93416         (__pathconf): Pass file to __statfs_link_max.
93417         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93418         __statfs_link_max.
93419         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93420         __statfs_link_max.
93422         [BZ #12868]
93423         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93424         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93425         Handle Lustre.
93426         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93427         (__statfs_filesize_max): Likewise.
93428         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93430 2011-07-05  Andreas Jaeger  <aj@suse.de>
93432         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93434 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93436         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93437         `status' variable.
93438         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93439         Likewise.
93441 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93443         * Makefile (strop-tests): Add strncat.
93444         * string/test-strncat.c: New file.
93446 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93448         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93450 2011-06-21  Andreas Jaeger  <aj@suse.de>
93452         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93453         Copy rule from iconvdata/Makefile.
93455 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93457         [BZ #12922]
93458         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93459         but no long options are defined, just return 'W'.
93461 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93463         [BZ #9696]
93464         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93466 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93468         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93469         netgroups to read.
93470         (innetgr): Likewise.
93472 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93474         * config.make.in (install_root): Default to $(DESTDIR).
93476 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93478         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93480 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93482         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93484         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93485         containing directory rather than embedding absolute directory names.
93487         * scripts/check-local-headers.sh: Rewritten using awk.
93488         Match by word, not by line.  Print error messages for matches.
93489         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93491         * Makerules [shlib-lds-flags empty]:
93492         ($(common-objpfx)libc_pic.opts): New target.
93493         ($(common-objpfx)libc_pic.os.clean): New target.
93494         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93496         * config.make.in (OBJCOPY): New variable.
93497         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93498         * configure: Regenerated.
93500         * config.make.in (use-default-link): New variable.
93501         * configure.in (use_default_link): Grok --with-default-link to set it.
93502         * configure: Regenerated.
93503         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93504         (shlib-lds, shlib-lds-flags): Define to empty.
93506         * Makerules (shlib-lds): New variable.
93507         (shlib-lds-flags): New variable.
93508         (build-shlib, build-moduile, build-module-asneeded): Use it.
93509         ($(common-objpfx)libc.so): Use $(shlib-lds).
93510         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93511         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93513         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93514         DT_FLAGS/DT_FLAGS_1 with zero flags.
93516         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93517         linker script munging.
93519 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93521         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93522         as 128-bit value.
93523         * crypt/sha512.c (sha512_process_block): Perform total addition using
93524         128-bit if possible.
93525         (__sha512_finish_ctx): Likewise.
93526         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93527         as 64-bit value.
93528         * crypt/sha256.c (SWAP64): Define.
93529         (sha256_process_block): Perform total addition using 64-bit if
93530         possible.
93531         (__sha256_finish_ctx): Likewise.
93533 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93535         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93537         * nscd/hstcache.c (cache_addhst): Likewise.
93538         * nscd/grpcache.c (cache_addgr): Likewise.
93539         * nscd/aicache.c (addhstaiX): Likewise.
93540         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93542 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93544         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93545         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93546         * nscd/hstcache.c (cache_addhst): Likewise.
93547         * nscd/grpcache.c (cache_addgr): Likewise.
93548         * nscd/aicache.c (addhstaiX): Likewise.
93550 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93552         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93553         domain only when needed.
93555 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93557         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93558         is always restored.
93560 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93562         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93563         are re-adding the entry.
93564         * nscd/servicescache.c (cache_addserv): Likewise.
93566 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93568         * sysdeps/generic/dl-irel.h: fix protection against multiple
93569         inclusions.
93570         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93572 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93574         [BZ #12935]
93575         * malloc/memusage.sh: Fix quoting in message.
93576         * debug/xtrace.sh: Likewise.
93578         * configure.in: Remove support for --experimental-malloc option, make
93579         it the default.
93580         * config.make.in: Likewise.
93581         * malloc/Makefile: Likewise.
93583 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93585         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93586         two-byte characters.
93588 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93590         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93591         AC_CACHE_CHECK invocation.
93592         * configure: Regenerated.
93594         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93596 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93598         [BZ #12350]
93599         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93600         bit from old_res_options.
93602         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93604         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93605         value type for setfct.
93607 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93609         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93610         __gettimeofday instead of gettimeofday.
93612 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93614         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93616 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93618         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93620         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93621         info.
93623 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93625         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93626         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93627         strcpy-sse2-unaligned strncpy-sse2-unaligned
93628         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93629         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93630         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93631         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93632         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93633         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93634         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93635         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93636         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93637         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93638         (STRCPY): Support SSE2 and SSSE3 versions.
93640 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93642         [BZ #12874]
93643         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93644         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93645         kernels which artificially limit size of requests.
93647 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93649         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93650         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93651         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93652         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93653         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93654         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93655         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93656         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93657         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93658         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93659         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93660         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93661         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93662         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93663         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93664         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93665         Enable unaligned load optimization for Intel Core i3, i5 and i7
93666         processors.
93667         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93668         Define.
93669         (index_Fast_Unaligned_Load): Define.
93670         (HAS_FAST_UNALIGNED_LOAD): Define.
93672 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93674         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93676 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93678         [BZ #12907]
93679         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93680         until it is clear that the information is realy needed.
93681         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93683 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93685         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93687 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93689         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93690         /sys/devices/system/cpu/online if it is usable.
93692         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93693         reading the information from the /proc filesystem to once a second.
93695 2011-06-21  Andreas Jaeger  <aj@suse.de>
93697         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93698         NULL after inclusion of kernel headers.
93700 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93702         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93703         calls to internal_setent.
93705         [BZ #12885]
93706         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93707         addresses using gethostbyname4_r ignore IPv4 addresses.
93709         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93710         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93712         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93714 2011-06-20  David S. Miller  <davem@davemloft.net>
93716         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93717         inclusions.
93718         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93720         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93721         (elf_irel): Use it.
93722         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93723         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93724         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93725         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93726         * sysdeps/x86_64/dl-irel.h: Likewise.
93728         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93729         * elf/dl-sym.c: Likewise.
93731 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93733         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93734         need to dereference resplen2.
93736 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93738         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93740 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93742         * Makeconfig: Define vardbdir and inst_vardbdir.
93743         * nss/Makefile: Add rules to install db-Makefile.
93745         * nss/nss_db/db-XXX.c: Cleanup.
93747         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93748         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93749         GLIBC_PRIVATE.
93750         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93751         * nss/makedb.c: Implement -g option to specify that value strings
93752         are generated and should not be added to table iterated over for
93753         get*ent calls.
93754         * nss/nss_db/db-initgroups.c: New file.
93756         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93757         interface.
93759         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93760         (internal_getgrouplist): Adjust to name change.
93761         Update use_initgroups_entry if this is not the first call.
93762         * nss/databases.def: Add initgroups entry.
93764         * nss/makedb.c (compute_tables): Check result of multiple hash table
93765         sizes to minimize maximum chain length.
93767 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93769         * Versions.def: Add entry for libnss_db.
93770         * shlib-versions: Likewise.
93771         * nss/Makefile: Add rules to build libnss_db.
93772         * nss/Versions: Add libnss_db information.  Organize libnss_files
93773         entries better.
93774         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93775         makedb progra.  Some minor improvements to generate smaller files.
93776         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93777         here from...
93778         * nss/makedb.c: ...here.
93779         Improve database format to be smaller and require less memory at
93780         runtime.
93781         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93782         db anymore.
93783         * nss/nss_db/db-netgrp.c: Likewise.
93784         * nss/nss_db/db-open.c: Likewise.
93785         * nss/nss_files/flies-XXX.x: Adjust comments.
93786         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93787         * nss/nss_files/files-grp.c: Likewise.
93788         * nss/nss_files/files-hosts.c: Likewise.
93789         * nss/nss_files/files-network.c: Likewise.
93790         * nss/nss_files/files-proto.c: Likewise.
93791         * nss/nss_files/files-pwd.c: Likewise.
93792         * nss/nss_files/files-rpc.c: Likewise.
93793         * nss/nss_files/files-service.c: Likewise.
93794         * nss/nss_files/files-sgrp.c: Likewise.
93795         * nss/nss_files/files-spwd.c: Likewise.
93796         * nss/nss_db/db-alias.c: Removed.
93797         * nss/nss_db/dummy-db.h: Removed.
93799 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93801         * nss/makedb.c: Rewritten to not use database library.
93802         * nss/Makefile: Update to build new makedb program.
93804 2011-06-14  Andreas Jaeger  <aj@suse.de>
93806         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93807         memset declaration.
93809 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93811         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93812         tmpbuf.
93814 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93816         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93817         * elf/Makefile ($(objpfx)ld.so): Likewise.
93819         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93820         Don't list ld.so twice in dependencies.
93822         * posix/bug-regex31.c: Include <stdlib.h>.
93824         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93826         * nis/nss_compat/compat-spwd.c
93827         (getspent_next_nss_netgr): Remove unused variable.
93828         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93830         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93831         nonmembers" output to use the right array.
93833         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93835         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93837         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93838         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93839         * catgets/gencat.c (read_input_file): Likewise.
93840         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93842         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93843         variable definition inside #if's controlling its use.
93845         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93847         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93849         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93851         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93852         unreachable code.
93854         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93856         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93857         * configure: Regenerated.
93859         * Makerules: Revert last change.
93860         * elf/Makefile: Likewise.
93862 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93864         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93865         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93866         (reloc-link): Likewise.
93868 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93870         * elf/Makefile: Add rules to build pldd.
93871         * elf/pldd.c: New file.
93872         * elf/pldd-xx.c: New file.
93874 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93876         * version.h: Update for 2.15 development version.
93878 2011-06-07  David S. Miller  <davem@davemloft.net>
93880         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93881         ifuncs.
93882         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93883         elf_machine_lazy_rel): Likewise.
93884         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93885         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93886         elf_machine_lazy_rel): Likewise.
93887         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93888         dl_hwcap via passed in argument.
93889         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93890         Likewise.
93892 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93894         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93896 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93898         [BZ #12849]
93899         * manual/fdl-1.1.texi: New file, verbatim from:
93900         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93901         * manual/lgpl-2.1.texi: New file, verbatim from:
93902         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93903         * manual/Makefile (licenses): New variable, list those new file names.
93904         (texis): Use it.
93905         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93907         * manual/fdl.texi: File removed.
93908         * manual/lesser.texi: File removed.
93909         * manual/libc.texinfo (Copying, Documentation License):
93910         Use new @include file names, put @appendix directive before @include.
93912 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93914         [BZ #12841]
93915         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93916         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93917         (mq_open): Add __NTH.
93919 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93921         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93922         Assume Intel Core i3/i5/i7 processor if AVX is available.
93924 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93926         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93927         typo.
93929 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93931         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93932         memory.  Use alloca_account.  Fix memory leak when retrying.
93934 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93936         * version.h (RELEASE): Bump for 2.14 release.
93937         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93939         * config.make.in (RANLIB): Remove entry.
93941 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93943         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93944         (libc.pot): Work around missing support for .ksh extension in xgettext.
93946         [BZ #12684]
93947         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93948         if both request failed.
93949         (send_dg): In case of server errors clear resplen or *resplen2.
93951         [BZ #12454]
93952         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93953         when there are multiple maps.
93954         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93955         (_dl_fini): Remove test here.
93957         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93959 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93961         [BZ #12350]
93962         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93963         bit from old_res_options.
93964         (gaih_inet): Likewise.
93966         [BZ #11099]
93967         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93968         as signed.
93970         * resolv/res_init.c (res_setoptions): Make the code more compact.
93972         [BZ #11558]
93973         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93974         set RES_USEVC.
93976         [BZ #11634]
93977         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93979         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93981         [BZ #11781]
93982         * malloc/malloc.h: Declare malloc hook variables as volatile.
93984         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93985         in last patch.
93987         [BZ #11799]
93988         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93989         raise in the comment.
93990         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93991         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93992         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93994 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93996         [BZ #12811]
93997         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93998         grow the buffers more if it already has to be sufficient.
93999         (build_wcs_upper_buffer): Likewise.
94000         * posix/regexec.c (check_matching): Likewise.
94001         (clean_state_log_if_needed): Likewise.
94002         (extend_buffers): Don't enlarge buffers beyond size of the input
94003         buffer.
94004         Patches mostly by Emil Wojak <emil@wojak.eu>.
94005         * posix/bug-regex32.c: New file.
94006         * posix/Makefile (tests): Add bug-regex32.
94008         * locale/findlocale.c (_nl_find_locale): Return right away if
94009         _nl_explode_name failed.
94010         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
94012         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
94014         * debug/xtrace.sh: Unify messages.
94015         * malloc/memusage.sh: Likewise.
94017         [BZ #12813]
94018         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
94019         time symbol from vDSO.  Substitute with vsyscall if not available.
94020         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
94021         __vdso_time.
94023         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
94024         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
94025         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
94026         Add sendmmsg and internal_sendmmsg.
94027         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
94028         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
94029         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
94031         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
94032         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
94033         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
94035 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
94037         [BZ #12813]
94038         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
94039         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
94040         available.
94041         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
94042         __vdso_getcpu.
94044         [BZ #12814]
94045         * iconvdata/Makefile (tests): Add bug-iconv9.
94046         * iconvdata/bug-iconv9.c: New file.
94048 2011-05-27  Andreas Schwab  <schwab@redhat.com>
94050         [BZ #12814]
94051         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
94053 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
94055         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94056         (struct user_regs_struct): Change intcs field back to cs.
94058 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
94060         * po/ja.po: Update from translation team.
94062 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
94064         [BZ #12795]
94065         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
94066         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
94068 2011-05-20  Andreas Schwab  <schwab@redhat.com>
94070         * stdlib/longlong.h: Update from GCC.
94072 2011-05-23  Andreas Schwab  <schwab@redhat.com>
94074         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
94075         parameter name.
94076         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
94077         Add parameter name.
94078         (__sysconf): Pass it down.
94080 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
94082         [BZ #12671]
94083         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
94084         some situations.
94085         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
94086         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
94087         add in in __libc_use_alloca calls.  Adjust callers.
94088         (glob): Use malloc in some situations.
94090         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
94091         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
94092         pltexit.
94094 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
94096         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
94097         and CLOCK_BOOTTIME_ALARM.
94099         [BZ #12782]
94100         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
94101         is returned.
94103         * string/_strerror.c (__strerror_r): Print negative errors as signed
94104         numbers.
94106         [BZ #12777]
94107         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
94108         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
94109         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
94111         * configure.in: Fix typo in redirection and correct removal of test
94112         files in two cases.
94114         [BZ #12788]
94115         * locale/setlocale.c (new_composite_name): Fix test to check for
94116         identical name of all categories.
94118         [BZ #12792]
94119         * libio/filedoalloc.c (local_isatty): New function.
94120         (_IO_file_doallocate): Use local_isatty.
94121         * stdio-common/perror.c (perror): In case a new stream is used
94122         forward the stream error.
94123         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
94124         error flag.
94126 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
94128         [BZ #11884]
94129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
94130         alloca.
94131         * include/alloca.h (extend_alloca_account): Define.
94133         [BZ #11857]
94134         * posix/regex.h: Fix comments with documentation of user-accessible
94135         fields after compilation and describe correct free'ing of pattern
94136         after re_compile_pattern.
94137         Patch by Reuben Thomas <rrt@sc3d.org>.
94139 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
94141         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
94142         and -mno-altivec to prevent the compiler from using Altivec and/or
94143         VSX instructions when the corresponding registers are not available.
94145 2011-05-19  Andreas Schwab  <schwab@redhat.com>
94147         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
94149 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
94151         * libio/freopen.c (freopen): Use __dup2, not dup2.
94152         * libio/freopen64.c (freopen64): Likewise.
94154 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
94156         [BZ #12775]
94157         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
94158         * math/Makefile (tests): Add test-powl.
94159         (CFLAGS-test-powl.c): Define.
94160         * math/test-powl.c: New file.
94162 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
94164         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
94166 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
94168         [BZ #11837]
94169         * iconvdata/gb18030.c: Update to GB18020-2005.
94171 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
94173         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94174         RE_SYNTAX_POSIX_AWK): Update to match recent development.
94175         Patch by Aharon Robbins <arnold@skeeve.com>.
94177         [BZ #11892]
94178         * stdlib/putenv.c (putenv): Don't always create copy of the variable
94179         on the stack.
94181         [BZ #11895]
94182         * misc/pselect.c (__pselect): Handle timeout value errors hidden
94183         through underflows.
94185         [BZ #12766]
94186         * misc/error.c (error_at_line): Ensure file_name and old_file_name
94187         point to strings before performing equality test for error_one_per_line
94188         mode.
94190         [BZ #11697]
94191         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94193         [BZ #11820]
94194         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94195         (struct user_fpregs_struct): Avoid __uint*_t types.
94197         [BZ #6420]
94198         * malloc/mtrace.c (tr_where): Add additional parameter to point to
94199         symbol info.  Use it instead of calling _dl_addr locally.
94200         (lock_and_info): New function.
94201         (tr_freehook): Call lock_and_info and pass symbol info as additional
94202         parameter to tr_where.
94203         (tr_mallochook): Likewise.
94204         (tr_reallochook): Likewise.
94205         (tr_memalignhook): Likewise.
94207         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
94208         used and couldn't be at all thread-safe.
94210 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
94212         * libio/freopen.c (freopen): Don't close old file descriptor
94213         before the new one is opened.  Instead dup the new file descriptor
94214         to the old one after the new stream is created.
94215         * libio/freopen64.c (freopen64): Likewise.
94216         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94217         * libio/fileops.c (_IO_new_file_close_it): Handle new
94218         _IO_FLAGS2_NOCLOSE flag.
94219         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94220         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94221         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94222         _IO_FLAGS2_NOCLOSE flag.
94223         * include/unistd.h: Add hidden_proto for dup3.
94224         Define __have_dup3.
94225         * io/dup3.c: Define hidden symbol.
94226         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94228         [BZ #7101]
94229         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94230         when an incomplete long option is used.
94231         * posix/tst-getopt_long1.c: New file.
94232         * posix/Makefile (tests): Add tst-getopt_long1.
94234         [BZ #10138]
94235         * scripts/config.guess: Update from autoconf-2.68.
94236         * scripts/config.sub: Likewise.
94238         [BZ #10157]
94239         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94240         tests into ...
94241         (has_cpuclock): ...this.  New function.
94242         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94243         macro here based on has_cpuclock code.
94245         [BZ #10149]
94246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94247         First byte (not low byte) is now always NUL.
94248         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94250         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94251         Use non-cancelable interfaces.
94253         [BZ #9809]
94254         * locale/iso-639.def: Add entry for Sorani.
94256         [BZ #11901]
94257         * include/stdlib.h: Move include protection to the right place.
94258         Define abort_msg_s.  Declare __abort_msg with it.
94259         * stdlib/abort.c (__abort_msg): Adjust type.
94260         * assert/assert.c (__assert_fail_base): New function.  Majority
94261         of code from __assert_fail.  Allocate memory for __abort_msg with
94262         mmap.
94263         (__assert_fail): Now call __assert_fail_base.
94264         * assert/assert-perr.c: Remove bulk of implementation.  Use
94265         __assert_fail_base.
94266         * include/assert.hL Declare __assert_fail_base.
94267         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94268         mmap.
94269         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94271 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94273         [BZ #11952]
94274         [BZ #12453]
94275         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94276         until all modules are registered in the DTV.
94277         * elf/Makefile: Add rules to build and run tst-tls19.
94278         * elf/tst-tls19.c: New file.
94279         * elf/tst-tls19mod1.c: New file.
94280         * elf/tst-tls19mod2.c: New file.
94281         * elf/tst-tls19mod3.c: New file.
94282         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94284         [BZ #12083]
94285         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94286         correctly.
94288         [BZ #12601]
94289         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94290         two-byte sequence errors.
94291         * iconvdata/Makefile (tests): Add bug-iconv8.
94292         * iconvdata/bug-iconv8.c: New file.
94294         [BZ #12626]
94295         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94296         buf2 definition.
94298         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94300         [BZ #12432]
94301         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94302         (dummy_getcfa): New function.
94303         (init): Get _Unwind_GetCFA address, use dummy if not found.
94304         (backtrace_helper): In recursion check, also check whether CFA changes.
94305         (__backtrace): Completely initialize arg.
94307         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94308         storing incomplete byte sequence in state object.  Avoid testing for
94309         guaranteed too small input if we know there is enough data available.
94311 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94313         * Makeconfig (+link-pie): Indent.
94314         * Rules (binaries-pie): Define if $(have-fpie) and
94315         $(build-shared).
94316         (binaries-shared): Also filter out $(binaries-pie).
94317         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94318         * nscd/Makefile (others-pie): Add nscd.
94319         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94320         ($(objpfx)nscd): Remove command override.
94321         * login/Makefile (others-pie): Add pt_chown.
94322         ($(objpfx)pt_chown): Remove command override.
94323         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94324         remove command overrides.
94326 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94328         * libio/tst_putwc.c: Fix error messages.
94330         [BZ #12724]
94331         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94332         currently writing and seek to current position when not.
94333         * libio/Makefile (tests): Add bug-fclose1.
94334         * libio/bug-fclose1.c: New file.
94336 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94338         [BZ #12511]
94339         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94340         don't set DF_1_NODELETE here.
94341         (do_lookup_x): When entering new entry test for copy relocation
94342         and if necessary set DF_1_NODELETE flag.
94343         * elf/tst-unique4.cc: New file.
94344         * elf/tst-unique4.h: New file.
94345         * elf/tst-unique4lib.cc: New file.
94346         * elf/Makefile: Add rules to build and run tst-unique4.
94347         Patch by Piotr Bury <pbury@goahead.com>.
94349 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94351         [BZ #12052]
94352         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94354         [BZ #12625]
94355         * misc/mntent_r.c (addmntent): Flush the stream after the output
94357         [BZ #12393]
94358         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94359         (is_trusted_path_normalize): Skip initial colon.  Append slash
94360         to empty buffer.  Duplicate is_trusted_path code but allow
94361         constructed patch to be prefix.
94362         (is_dst): Allow $ORIGIN followed by /.
94363         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94364         Correct testing of result of is_trusted_path_normalize
94365         (decompose_rpath): Fix warning.
94367 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94369         [BZ #11257]
94370         * grp/initgroups.c (internal_getgrouplist): When we found the service
94371         list through the initgroups entry in nsswitch.conf do not always
94372         continue on a successful lookup.  Don't always use the
94373         __nss_group_database value if it is set.
94374         * nss/nsswitch.conf (initgroups): Change action for successful db
94375         lookup to continue for compatibility.
94377 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94379         [BZ #11532]
94380         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94381         and CP774 modules.
94382         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94383         and CP774 modules.
94384         * iconvdata/tst-tables.sh: Likewise.
94385         * iconvdata/cp770.c: New file.
94386         * iconvdata/cp771.c: New file.
94387         * iconvdata/cp772.c: New file.
94388         * iconvdata/cp773.c: New file.
94389         * iconvdata/cp774.c: New file.
94390         * iconvdata/testdata/CP770: New file.
94391         * iconvdata/testdata/CP770..UTF8: New file.
94392         * iconvdata/testdata/CP771: New file.
94393         * iconvdata/testdata/CP771..UTF8: New file.
94394         * iconvdata/testdata/CP772: New file.
94395         * iconvdata/testdata/CP772..UTF8: New file.
94396         * iconvdata/testdata/CP773: New file.
94397         * iconvdata/testdata/CP773..UTF8: New file.
94398         * iconvdata/testdata/CP774: New file.
94399         * iconvdata/testdata/CP774..UTF8: New file.
94401         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94402         END CHARMAP line.
94403         * iconvdata/gen-8bit-gap.sh: Likewise.
94404         * iconvdata/gen-8bit.sh: Likewise.
94406         * locale/iso-639.def: Add ary entry.
94408         [BZ #11258]
94409         * locale/C-translit.h.in: Add U20A1 transliteration.
94411         [BZ #12178]
94412         * locale/iso-639.def: Add wae entry.
94413         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94415         [BZ #12545]
94416         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94417         for n.
94419         [BZ #12711]
94420         * locale/C-translit.h.in: Add entry for U20B9.
94421         Patch by pravin.d.s@gmail.com.
94423 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94425         [BZ #12713]
94426         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94427         ENAMETOOLONG use generic getcwd.
94428         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94429         in rtld.  Use *stat64.
94430         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94431         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94432         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94433         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94434         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94435         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94436         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94437         __fstatat64 macros.
94438         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94439         * dirent/rewinddir.c: Add libc_hidden_def.
94440         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94441         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94443         * include/dirent.h (__alloc_dir): Add flags parameter.
94444         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94445         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94446         __alloc_dir.
94447         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94448         from fdopendir if O_CLOEXEC is already set.
94450 2011-03-15  Alan Modra  <amodra@gmail.com>
94452         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94453         l_tls_firstbyte_offset non-zero.  Save padding offset in
94454         l_tls_firstbyte_offset for later use.
94455         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94456         freeing static tls block.
94458 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94460         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94461         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94462         being defined by the kernel headers.
94464 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94466         [BZ #12734]
94467         * resolv/resolv.h: Define RES_NOTLDQUERY.
94468         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94469         no-tld-query and set RES_NOTLDQUERY.
94470         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94471         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94472         modern BIND to search name as TLD unless forbidden.
94474 2011-05-07  Petr Baudis  <pasky@suse.cz>
94475             Ulrich Drepper  <drepper@gmail.com>
94477         [BZ #12393]
94478         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94479         (is_trusted_path): ...to here.
94480         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94481         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94482         using is_trusted_path_normalize() in setuid scripts.
94484 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94486         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94487         __BEGIN/__END_DECLS.
94489 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94491         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94492         NSS_STATUS_NOTFOUND if no record was found.
94494 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94496         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94497         (headers-not-in-tirpc): Remove rpc/netdb.h
94498         * resolv/netdb.h: Revert last change.
94500 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94502         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94503         circular dependency between libgcc.a and libc.a.
94505 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94507         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94508         * nis/Makefile: Don't install rpcsvc/*.
94509         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94510         instead of <rpc/types.h>.
94511         (MAXHOSTNAMELEN): Define.
94513 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94515         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94517 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94519         [BZ #12714]
94520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94521         gethostbyname4_r when IPv6 results are possible.
94523 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94525         [BZ #12723]
94526         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94527         _PC_PIPE_BUF handling.
94529 2011-04-30  Bruno Haible  <bruno@clisp.org>
94531         [BZ #12717]
94532         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94533         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94534         to 'int'.
94535         * inet/getnameinfo.c (getnameinfo): Likewise.
94537 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94539         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94540         to groups setting in database lookup.
94541         * nss/nsswitch.conf: Add initgroups entry.
94543 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94545         [BZ #12685]
94546         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94547         mode string.
94548         Patch by Eric Blake <eblake@redhat.com>.
94550 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94552         * sunrpc/Makefile (need-export-routines): Add svc_run.
94553         (routines): Remove svc_run.
94554         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94555         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94556         * sunrpc/svc_run.c (svc_run): Likewise.
94557         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94559 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94561         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94562         problem in reallocation in last patch.
94564 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94566         * sunrpc/Makefile: Move inclusion of Rules.
94568 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94570         * nss/nss_files/files-initgroups.c: New file.
94571         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94572         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94573         _nss_files_initgroups_dyn.
94575 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94577         * elf/elf.h (R_ARM_IRELATIVE): Define.
94579 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94581         * po/ru.po: Update from translation team.
94583 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94585         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94586         dependencies.
94588 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94590         [BZ #12653]
94591         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94592         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94593         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94594         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94595         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94597 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94599         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94600         differing bytes.
94601         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94602         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94603         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94605 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94607         [BZ #12420]
94608         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94609         storing it.
94610         * stdlib/bug-getcontext.c: New file.
94611         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94613 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94615         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94616         instructions into .machine "z9-109".
94617         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94618         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94620 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94622         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94623         between environment variables and auxiliary vector.
94625 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94627         * Makefile: Add rules to build linkobj/libc.so.
94628         * include/libc-symbols.h: Define libc_hidden_nolink.
94629         * include/rpc/auth.h: Mark functions which are to be hidden.
94630         * include/rpc/auth_des.h: Likewise.
94631         * include/rpc/auth_unix.h: Likewise.
94632         * include/rpc/clnt.h: Likewise.
94633         * include/rpc/des_crypt.h: Likewise.
94634         * include/rpc/key_prot.h: Likewise.
94635         * include/rpc/pmap_clnt.h: Likewise.
94636         * include/rpc/pmap_prot.h: Likewise.
94637         * include/rpc/pmap_rmt.h: Likewise.
94638         * include/rpc/rpc_msg.h: Likewise.
94639         * include/rpc/svc.h: Likewise.
94640         * include/rpc/svc_auth.h: Likewise.
94641         * include/rpc/xdr.h: Likewise.
94642         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94643         * nss/Makefile: Likewise.
94644         * sunrpc/Makefile: Don't install headers.  Build library with normal
94645         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94646         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94647         for the compat linking library.  Remove use of INTDEF/INTUSE.
94648         * sunrpc/auth_none.c: Likewise.
94649         * sunrpc/auth_unix.c: Likewise.
94650         * sunrpc/authdes_prot.c: Likewise.
94651         * sunrpc/authuxprot.c: Likewise.
94652         * sunrpc/clnt_gen.c: Likewise.
94653         * sunrpc/clnt_perr.c: Likewise.
94654         * sunrpc/clnt_raw.c: Likewise.
94655         * sunrpc/clnt_simp.c: Likewise.
94656         * sunrpc/clnt_tcp.c: Likewise.
94657         * sunrpc/clnt_udp.c: Likewise.
94658         * sunrpc/clnt_unix.c: Likewise.
94659         * sunrpc/des_crypt.c: Likewise.
94660         * sunrpc/des_soft.c: Likewise.
94661         * sunrpc/get_myaddr.c: Likewise.
94662         * sunrpc/key_call.c: Likewise.
94663         * sunrpc/key_prot.c: Likewise.
94664         * sunrpc/netname.c: Likewise.
94665         * sunrpc/pm_getmaps.c: Likewise.
94666         * sunrpc/pm_getport.c: Likewise.
94667         * sunrpc/pmap_clnt.c: Likewise.
94668         * sunrpc/pmap_prot.c: Likewise.
94669         * sunrpc/pmap_prot2.c: Likewise.
94670         * sunrpc/pmap_rmt.c: Likewise.
94671         * sunrpc/publickey.c: Likewise.
94672         * sunrpc/rpc_cmsg.c: Likewise.
94673         * sunrpc/rpc_common.c: Likewise.
94674         * sunrpc/rpc_dtable.c: Likewise.
94675         * sunrpc/rpc_prot.c: Likewise.
94676         * sunrpc/rpc_thread.c: Likewise.
94677         * sunrpc/rtime.c: Likewise.
94678         * sunrpc/svc.c: Likewise.
94679         * sunrpc/svc_auth.c: Likewise.
94680         * sunrpc/svc_authux.c: Likewise.
94681         * sunrpc/svc_raw.c: Likewise.
94682         * sunrpc/svc_run.c: Likewise.
94683         * sunrpc/svc_simple.c: Likewise.
94684         * sunrpc/svc_tcp.c: Likewise.
94685         * sunrpc/svc_udp.c: Likewise.
94686         * sunrpc/svc_unix.c: Likewise.
94687         * sunrpc/svcauth_des.c: Likewise.
94688         * sunrpc/xcrypt.c: Likewise.
94689         * sunrpc/xdr.c: Likewise.
94690         * sunrpc/xdr_array.c: Likewise.
94691         * sunrpc/xdr_float.c: Likewise.
94692         * sunrpc/xdr_intXX_t.c: Likewise.
94693         * sunrpc/xdr_mem.c: Likewise.
94694         * sunrpc/xdr_rec.c: Likewise.
94695         * sunrpc/xdr_ref.c: Likewise.
94696         * sunrpc/xdr_sizeof.c: Likewise.
94697         * sunrpc/xdr_stdio.c: Likewise.
94699 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94701         [BZ #12650]
94702         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94703         * sysdeps/ia64/dl-tls.h: Likewise.
94704         * sysdeps/powerpc/dl-tls.h: Likewise.
94705         * sysdeps/s390/dl-tls.h: Likewise.
94706         * sysdeps/sh/dl-tls.h: Likewise.
94707         * sysdeps/sparc/dl-tls.h: Likewise.
94708         * sysdeps/x86_64/dl-tls.h: Likewise.
94709         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94711 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94713         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94714         rpath element also skip the following colon.
94715         (expand_dynamic_string_token): Add is_path parameter and pass
94716         down to DL_DST_REQUIRED and _dl_dst_substitute.
94717         (decompose_rpath): Call expand_dynamic_string_token with
94718         non-zero is_path.  Ignore empty rpaths.
94719         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94720         with zero is_path.
94722 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94725         Make cancelable.
94727 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94729         [BZ #12655]
94730         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94731         Patch by Filipe David Manana <fdmanana@apache.org>.
94733 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94735         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94736         Maintain aligned stack.
94737         (CHECK_RSP): Remove unused macro.
94739 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94741         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94742         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94744 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94746         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94748         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94750 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94752         [BZ #12518]
94753         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94754         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94755         * sysdeps/x86_64/memmove.c: New file.
94756         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94757         (memcpy): Renamed to ...
94758         (__new_memcpy): This.
94759         (memcpy): Provide GLIBC_2_14 memcpy.
94760         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94761         (memcpy): Provide GLIBC_2_2_5 memcpy.
94763 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94765         [BZ #12631]
94766         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94768 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94770         * misc/syncfs.c: New file.
94771         * misc/Makefile (routines): Add syncfs.
94772         * posix/unistd.h: Declare syncfs.
94773         * sysdeps/unix/syscalls.list: Add syncfs.
94775 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94777         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94778         open_by_handle_at.
94779         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94780         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94781         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94782         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94784         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94785         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94787 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94789         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94790         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94791         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94793         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94795         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94797         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94798         sync_file_range.c with -fexceptions.
94799         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94800         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94801         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94802         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94803         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94804         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94806         sync_file_range as cancellation point
94807         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94808         now a wrapper around __call_sync_file_range with cancellation handling.
94809         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94810         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94811         function name to __call_sync_file_range.
94812         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94813         Add call_sync_file_range.
94815 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94818         bits/timex.h.
94820 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94822         * iconv/iconv.h: Fix typo in comment.
94823         * io/fcntl.h: Likewise.
94824         * libio/stdio.h: Likewise.
94825         * posix/spawn.h: Likewise.
94826         * posix/unistd.h: Likewise.
94827         * stdlib/stdlib.h: Likewise.
94828         * time/time.h: Likewise.
94829         * wcsmbs/wchar.h: Likewise.
94831         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94832         open_by_handle): Add.
94833         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94834         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94835         Augment a few comments.
94836         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94837         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94838         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94839         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94840         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94841         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94842         open_by_handle.
94844         * io/fcntl.h (AT_EMPTY_PATH): Define.
94846 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94848         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94849         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94850         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94851         to...
94852         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94853         * Versions.def: Add GLIBC_2.14.
94854         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94855         Export.
94857 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94859         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94860         round counter.
94861         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94863 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94865         [BZ #12597]
94866         * string/test-strncmp.c (do_page_test): New function.
94867         (check2): Likewise.
94868         (test_main): Call check2.
94869         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94871 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94873         [BZ #12587]
94874         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94875         Handle cache information in CPU leaf 4.
94876         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94878 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94880         [BZ #12583]
94881         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94882         character representation.
94883         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94885 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94887         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94888         END(__isnan) to END(__isnanf) to match function entry point/label
94889         EALIGN(__isnanf,...).
94891 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94893         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94895 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94897         [BZ #12510]
94898         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94899         copy from the symbol referenced in the relocation to initialize the
94900         used variable.
94901         Patch by Piotr Bury <pbury@goahead.com>.
94902         * elf/Makefile: Add rules to build and tst-unique3.
94903         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94904         * elf/tst-unique3.cc: New file.
94905         * elf/tst-unique3.h: New file.
94906         * elf/tst-unique3lib.cc: New file.
94907         * elf/tst-unique3lib2.cc: New file.
94909         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94911 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94913         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94914         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94915         to _start.
94917 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94919         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94920         to-be-loaded object along a path to loader is ld.so.
94922 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94923             Ulrich Drepper  <drepper@gmail.com>
94925         * sysdeps/x86_64/memset.S: After aligning destination, code
94926         branches to different locations depending on the value of
94927         misalignment, when multiarch is enabled. Fix this.
94929 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94931         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94932         Set _x86_64_preferred_memory_instruction for AMD processsors.
94933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94934         Set bit_Prefer_SSE_for_memop for AMD processors.
94936 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94938         * libio/fmemopen.c (fmemopen): Optimize a bit.
94940 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94942         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94944 2011-03-03  Roland McGrath  <roland@redhat.com>
94946         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94948 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94950         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94951         __bzero_ultra1 instead of __memset_ultra1.
94953 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94954             Ulrich Drepper  <drepper@gmail.com>
94956         [BZ #12509]
94957         * include/link.h (struct link_map): Add l_orig_initfini.
94958         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94959         returning unsuccessfully.
94960         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94961         close of a file loaded at startup, restore the original l_initfini
94962         list.
94963         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94964         list, store the pointer.
94965         * elf/Makefile ($(objpfx)noload-mem): New rule.
94966         (noload-ENV): Define.
94967         (tests): Add $(objpfx)noload-mem.
94968         * elf/noload.c: Include <memcheck.h>.
94969         (main): Call mtrace.  Close all opened handles.
94971 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94973         [BZ #12454]
94974         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94975         dependencies are missing.
94977 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94979         Fix __if_freereq crash: Unlike the generic version which uses free,
94980         Hurd needs munmap.
94981         * sysdeps/mach/hurd/ifreq.h: New file.
94983 2011-01-27  Petr Baudis  <pasky@suse.cz>
94984             Ulrich Drepper  <drepper@gmail.com>
94986         [BZ 12445]#
94987         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94988         to extend_alloca().
94989         * stdio-common/bug23.c: New file.
94990         * stdio-common/Makefile (tests): Add bug23.
94992 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94993             Ulrich Drepper  <drepper@gmail.com>
94995         [BZ #12489]
94996         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94997         before performing relro protection.  At old place add assertion
94998         to make sure nothing changed.
95000 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
95001             Glauber de Oliveira Costa  <glommer@gmail.com>
95003         * elf/elf.h: Add new ARM TLS relocs.
95005 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
95007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
95008         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
95009         cast from r3.
95010         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
95011         'tests' variable.
95012         * sysdeps/wordsize-64/tst-writev.c: New file.
95014 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
95016         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
95017         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
95018         insns in _dl_start to prevent a TOC reference before relocs are
95019         resolved.
95021 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
95023         [BZ #12469]
95024         * Makeconfig: Remove RANLIB definition.
95025         * Makerules: Don't use RANLIB.
95026         * aclocal.m4: Remove ranlib test.
95027         * configure.in: No need to check for ranlib.
95028         * elf/rtld-Rules: Don't use RANLIB.
95030 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95032         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
95033         protection macro.
95034         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
95035         inclusion protection macro.
95037         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
95038         SIGRTMIN and SIGRTMAX and print information in that case only when
95039         SIGRTMIN is defined.
95041 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
95043         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
95044         arginfo fn returning -1.
95046         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
95047         and thousands string is zero terminated.
95049 2011-02-03  Andreas Schwab  <schwab@redhat.com>
95051         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
95052         sysdeps/unix/sysv/linux/bits/socket.h.
95054 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95056         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
95057         (__CPU_COUNT): Remove old macros.
95058         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
95059         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
95060         (__CPU_ALLOC, __CPU_FREE): Add macros.
95061         (__sched_cpualloc, __sched_cpufree): Add declarations.
95063 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
95065         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
95066         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
95067         * nscd/aicache.c (addhstaiX): Return timeout of added value.
95068         (readdhstai): Return value of addhstaiX call.
95069         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
95070         (addgrbyX): Return value returned by cache_addgr.
95071         (readdgrbyname): Return value returned by addgrbyX.
95072         (readdgrbygid): Likewise.
95073         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
95074         (addpwbyX): Return value returned by cache_addpw.
95075         (readdpwbyname): Return value returned by addhstbyX.
95076         (readdpwbyuid): Likewise.
95077         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
95078         (addservbyX): Return value returned by cache_addserv.
95079         (readdservbyname): Return value returned by addservbyX:
95080         (readdservbyport): Likewise.
95081         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
95082         (addhstbyX): Return value returned by cache_addhst.
95083         (readdhstbyname): Return value returned by addhstbyX.
95084         (readdhstbyaddr): Likewise.
95085         (readdhstbynamev6): Likewise.
95086         (readdhstbyaddrv6): Likewise.
95087         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
95088         (readdinitgroups): Return value returned by addinitgroupsX.
95089         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
95090         (prune_cache): Keep track of timeout value of re-added entries.
95091         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
95092         * nscd/nscd.h: Adjust prototypes of readd* functions.
95094 2011-02-04  Roland McGrath  <roland@redhat.com>
95096         * nis/nis_server.c (nis_servstate): Use the right name for 0.
95097         (nis_stats): Likewise.
95098         * nis/nis_modify.c (nis_modify): Likewise.
95099         * nis/nis_remove.c (nis_remove): Likewise.
95100         * nis/nis_add.c (nis_add): Likewise.
95102         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
95104         * posix/fnmatch_loop.c: Add some consts.
95106         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
95108 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
95110         [BZ #12460]
95111         * config.make.in (config-cflags-novzeroupper): Define.
95112         * configure.in: Substitute libc_cv_cc_novzeroupper.
95113         * elf/Makefile (AVX-CFLAGS): Define.
95114         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
95115         (CFLAGS-tst-auditmod4a.c): Likewise.
95116         (CFLAGS-tst-auditmod4b.c): Likewise.
95117         (CFLAGS-tst-auditmod6b.c): Likewise.
95118         (CFLAGS-tst-auditmod6c.c): Likewise.
95119         (CFLAGS-tst-auditmod7b.c): Likewise.
95120         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
95122 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
95124         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
95125         function to the callback.
95126         Patch partly by Jiri Olsa <jolsa@redhat.com>.
95128 2011-02-02  Andreas Schwab  <schwab@redhat.com>
95130         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
95131         of errno.
95133 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
95135         [BZ #11724]
95136         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
95137         of constructors.
95138         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
95139         of destructors.
95140         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
95142         [BZ #11724]
95143         * elf/Makefile: Add rules to build and run new test.
95144         * elf/tst-initorder.c: New file.
95145         * elf/tst-initorder.exp: New file.
95146         * elf/tst-initordera1.c: New file.
95147         * elf/tst-initordera2.c: New file.
95148         * elf/tst-initordera3.c: New file.
95149         * elf/tst-initordera4.c: New file.
95150         * elf/tst-initorderb1.c: New file.
95151         * elf/tst-initorderb2.c: New file.
95152         * elf/tst-order-a1.c: New file.
95153         * elf/tst-order-a2.c: New file.
95154         * elf/tst-order-a3.c: New file.
95155         * elf/tst-order-a4.c: New file.
95156         * elf/tst-order-b1.c: New file.
95157         * elf/tst-order-b2.c: New file.
95158         * elf/tst-order-main.c: New file.
95159         New test case by George Gensure <werkt0@gmail.com>.
95161 2010-10-01  Andreas Schwab  <schwab@redhat.com>
95163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95164         decoding ACE if AI_CANONIDN.
95166 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
95168         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95170 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
95172         * version.h (RELEASE): Bump for 2.13 release.
95173         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95175         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95177         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95178         MADV_NOHUGEPAGE.
95179         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95180         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95181         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95182         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95183         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95184         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95186         * posix/getconf.c: Update copyright year.
95187         * catgets/gencat.c: Likewise.
95188         * csu/version.c: Likewise.
95189         * debug/catchsegv.sh: Likewise.
95190         * debug/xtrace.sh: Likewise.
95191         * elf/ldconfig.c: Likewise.
95192         * elf/ldd.bash.in: Likewise.
95193         * elf/sprof.c (print_version): Likewise.
95194         * iconv/iconv_prog.c: Likewise.
95195         * iconv/iconvconfig.c: Likewise.
95196         * locale/programs/locale.c: Likewise.
95197         * locale/programs/localedef.c: Likewise.
95198         * malloc/memusage.sh: Likewise.
95199         * malloc/mtrace.pl: Likewise.
95200         * nscd/nscd.c (print_version): Likewise.
95201         * nss/getent.c: Likewise.
95203         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95204         PF_CAIF, and PF_ALG.
95205         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95207 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
95209         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95210         (modules-names): Use them.
95211         (ifunc-test-modules, ifunc-pie-tests): Define.
95212         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95213         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95214         (test-extras): Likewise.
95215         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95216         $(compile-command.c).
95217         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95218         (all-built-dso): Define.
95219         (check-textrel.out, check-execstack.out): Depend on it.
95221         * configure.in: Don't override --enable-multi-arch.
95223 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
95225         [BZ #6812]
95226         * nscd/hstcache.c (tryagain): Define.
95227         (cache_addhst): Return tryagain not notfound for temporary errors.
95228         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95229         failed.
95231 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
95233         [BZ #10563]
95234         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95235         to make the syscall.
95236         * sysdeps/unix/sysv/linux/setgroups.c: New file.
95238         [BZ #12378]
95239         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95240         and fall back to matching as normal character if the string ends before
95241         the matching ']' is found.  This is what POSIX requires.
95242         * posix/testfnm.c: Adjust test result.
95243         * posix/globtest.sh: Adjust test result.  Add new test.
95244         * posix/tst-fnmatch.input: Likewise.
95245         * posix/tst-fnmatch2.c: Add new test.
95247 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
95249         * elf/Makefile (check-execstack): Revert last change.  Depend on
95250         check-execstack.h.
95251         (check-execstack.h): New target.
95252         (generated): Add check-execstack.h.
95253         * elf/check-execstack.c: Include "check-execstack.h".
95254         (main): Revert last change.
95255         (handle_file): Return zero if GNU_STACK is absent and
95256         DEFAULT_STACK_PERMS doesn't include PF_X.
95258 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
95260         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95261         in child fails because the descriptor is already closed.
95262         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95263         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95264         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95266         [BZ #12397]
95267         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95268         syscall.
95270         [BZ #10484]
95271         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95272         temporary buffer used to handle multi lookups locally.
95273         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95275 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95277         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95278         loader is ld.so.
95280 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95282         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95283         alignment for SSE2.
95285 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95287         [BZ #12394]
95288         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95289         characters.  When rounding increased number of integer digits recompute
95290         number of groups.
95291         * stdio-common/tst-grouping.c: New file.
95292         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95294 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95296         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95297         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95299         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95300         void.
95301         * bits/select.h: Likewise.
95303 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95305         * po/ja.po: Update from translation team.
95307 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95309         [BZ #11155]
95310         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95311         implementation just like for lxstat, fxstatat, et al.
95313 2010-12-27  Jim Meyering  <meyering@redhat.com>
95315         [BZ #12348]
95316         * posix/regexec.c (build_trtable): Return failure indication upon
95317         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95319 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95321         [BZ #12201]
95322         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95323         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95324         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95325         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95327         [BZ #12207]
95328         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95330         [BZ #12204]
95331         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95332         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95334 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95336         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95337         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95338         script has SORT_BY_INIT_PRIORITY.
95339         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95340         NO_CTORS_DTORS_SECTIONS is defined.
95341         * elf/soinit.c: Likewise.
95342         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95343         NO_CTORS_DTORS_SECTIONS is defined.
95344         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95345         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95346         * sysdeps/sh/init-first.c: Likewise.
95347         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95349 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95351         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95352         always use the slow path.
95354 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95356         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95357         similar rule which adds the sysdep directories to the header search in
95358         order to pick up the correct platform stackinfo.h.
95359         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95360         perform test if it is, otherwise return successfully without testing.
95361         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95362         DEFAULT_STACK_PERMS define in stackinfo.h.
95363         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95364         defined in stackinfo.h.
95365         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95366         DEFAULT_STACK_PERMS defined in stackinfo.h.
95367         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95368         * sysdeps/ia64/stackinfo.h: Likewise.
95369         * sysdeps/s390/stackinfo.h: Likewise.
95370         * sysdeps/sh/stackinfo.h: Likewise.
95371         * sysdeps/sparc/stackinfo.h: Likewise.
95372         * sysdeps/x86_64/stackinfo.h: Likewise.
95373         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95374         PF_X for powerpc64.  Retain PF_X for powerpc32.
95376 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95378         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95379         accurately.
95380         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95381         GETDENTS_64BIT_ALIGNED.
95383 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95385         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95387 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95389         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95390         _GNU_SOURCE.
95392         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95393         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95394         Remove __restrict.
95395         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95396         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95398 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95400         [BZ #11655]
95401         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95402         are initialized.
95404 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95406         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95408 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95410         * po/it.po: Update from translation team.
95412 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95414         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95415         unused codes.
95417 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95419         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95421 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95423         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95424         specially.
95425         (gaih_getanswer_slice): Likewise.
95427 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95429         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95431 2010-05-31  Petr Baudis  <pasky@suse.cz>
95433         [BZ #11149]
95434         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95435         silently even in the chroot mode.
95437 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95439         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95440         last patch a bit.  Pretty printing
95442 2010-05-31  Petr Baudis <pasky@suse.cz>
95444         [BZ #10085]
95445         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95446         initialization of skip_initgroups_dyn.
95448 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95450         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95451         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95453 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95455         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95457 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95459         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95460         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95461         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95462         ($(objpfx)tst-fnmatch-mem): New rule.
95463         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95464         * posix/tst-fnmatch.c (main): Call mtrace.
95466 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95468         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95469         Support Intel processor model 6 and model 0x2c.
95471 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95473         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95474           signed comparison.
95476 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95478         [BZ #12205]
95479         * string/test-strncasecmp.c (check_result): New function.
95480         (do_one_test): Use it.
95481         (check1): New function.
95482         (test_main): Use it.
95483         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95484         Support strcasecmp and strncasecmp.
95486 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95488         [BZ #12194]
95489         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95490         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95492 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95494         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95495         IFUNC support.
95496         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95497         memset-x86-64.
95498         * sysdeps/x86_64/multiarch/bzero.S: New file.
95499         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95500         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95501         * sysdeps/x86_64/multiarch/memset.S: New file.
95502         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95504         Set bit_Prefer_SSE_for_memop for Intel processors.
95505         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95506         Define.
95507         (index_Prefer_SSE_for_memop): Define.
95508         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95510 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95512         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95513         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95515 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95517         [BZ #12191]
95518         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95519         (__x86_64_raw_data_cache_size_half): Likewise.
95520         (__x86_64_raw_shared_cache_size): Likewise.
95521         (__x86_64_raw_shared_cache_size_half): Likewise.
95523         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95524         (__x86_64_raw_data_cache_size_half): Likewise.
95525         (__x86_64_raw_shared_cache_size): Likewise.
95526         (__x86_64_raw_shared_cache_size_half): Likewise.
95527         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95528         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95529         and __x86_64_raw_shared_cache_size_half.  Round
95530         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95531         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95532         to multiple of 256 bytes.
95534 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95536         [BZ #12167]
95537         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95538         of inacessible symlinks.  Verify result of symlink before returning it.
95539         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95540         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95542 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95544         * math/math.h (isinf): Fix typo in comment.
95546 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95548         * po/da.po: Update from translation team.
95550 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95552         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95553         is added to the list.
95555 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95556             Ulrich Drepper  <drepper@gmail.com>
95558         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95559         the global list here.  Move code to...
95560         (_dl_add_to_namespace_list): ...here.  New function.
95561         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95562         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95563         * elf/dl-load.c (lose): Don't remove the element from the list.
95564         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95565         (_dl_map_object): Likewise.
95567 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95569         [BZ #12159]
95570         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95571         into all bytes of SSE register.
95572         Patch by Richard Li <richardpku@gmail.com>.
95574 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95576         [BZ #12140]
95577         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95578         perturbing.
95580 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95582         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95583         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95584         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95585         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95587         submachine.
95588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95590 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95592         * include/dlfcn.h (__RTLD_SECURE): Define.
95593         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95594         mode & __RTLD_SECURE instead.
95595         (open_path): Rename preloaded parameter to secure.
95596         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95597         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95598         * elf/dl-deps.c (openaux): Likewise.
95599         * elf/rtld.c (struct map_args): Remove is_preloaded.
95600         (map_doit): Don't use it.
95601         (dl_main): Likewise.
95602         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95603         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95605 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95607         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95608         (sysd-rules-targets): Remove duplicates.
95609         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95610         rtld-%.$o dependency.
95612 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95614         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95615         _dl_map_object do it.
95617 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95619         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95620         fast fma builtins, define the macros in the C99 standard.
95621         (FP_FAST_FMAF): Likewise.
95622         (FP_FAST_FMAL): Likewise.
95623         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95625         * bits/mathdef.h: Update copyright year.
95626         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95628 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95630         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95631         builtins, define the macros in the C99 standard.
95632         (FP_FAST_FMAF): Likewise.
95633         (FP_FAST_FMAL): Likewise.
95634         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95635         multiply/add.
95636         (FP_FAST_FMAF): Likewise.
95638 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95640         [BZ #3268]
95641         * math/libm-test.inc (fma_test): Some new testcases.
95642         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95643         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95644         y and infinite z.  Do multiplication by C already in long double.
95645         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95647         y and infinite z.  Do bitwise or of inexact bit into u.d.
95648         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95649         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95650         * sysdeps/i386/fpu/s_fma.S: Removed.
95651         * sysdeps/i386/fpu/s_fmal.S: Removed.
95653 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95655         [BZ #3268]
95656         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95658         computation is not scheduled after fetestexcept.  Fix value
95659         of minimum denormal long double.
95661 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95663         [BZ #3268]
95664         * math/libm-test.inc (fma_test): Add some more tests.
95665         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95666         correctly.
95668 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95670         * scripts/data/localplt-s390-linux-gnu.data: New file.
95671         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95673 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95675         [BZ #3268]
95676         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95677         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95678         instead of dbl-64.
95679         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95680         inlines.
95681         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95682         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95683         if one of x and y is very large and the other is subnormal.
95684         * sysdeps/s390/fpu/s_fmaf.c: New file.
95685         * sysdeps/s390/fpu/s_fma.c: New file.
95686         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95687         * sysdeps/powerpc/fpu/s_fma.S: New file.
95688         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95689         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95690         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95692 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95694         [BZ #3268]
95695         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95696         fma tests.
95697         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95698         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95699         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95700         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95701         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95702         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95703         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95705 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95707         [BZ #12078]
95708         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95709         * posix/bug-regex31.input: Add test case.
95711 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95713         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95714         * posix/bug-regex31.input: New file.
95716         [BZ #12078]
95717         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95718         (parse_sub_exp): Fix last change, use postorder.
95720         * posix/bug-regex31.c: New file.
95721         * posix/Makefile: Add rules to build and run bug-regex31.
95723         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95725         [BZ #12078]
95726         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95728         [BZ #12108]
95729         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95730         to have entries in sys_siglist.
95732         [BZ #12093]
95733         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95734         be NULL.
95736 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95738         [BZ #3268]
95739         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95740         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95741         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95742         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95743         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95744         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95745         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95746         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95747         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95748         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95749         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95750         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95751         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95752         * math/ftestexcept.c (fetestexcept): Likewise.
95753         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95754         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95755         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95756         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95757         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95758         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95759         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95761 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95763         [BZ #12107]
95764         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95765         newline.
95767 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95769         * string/bug-strstr1.c: New file.
95770         * string/Makefile: Add rules to build and run bug-strstr1.
95772 2010-10-05  Eric Blake  <eblake@redhat.com>
95774         [BZ #12092]
95775         * string/str-two-way.h (two_way_long_needle): Always clear memory
95776         when skipping input due to the shift table.
95778 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95780         [BZ #12005]
95781         * malloc/mcheck.c: Handle large requests.
95783         [BZ #12077]
95784         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95785         for strncmp and strncasecmp.
95786         * string/stratcliff.c: Add tests for strcmp and strncmp.
95787         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95789 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95791         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95792         __set_fpscr.
95794 2010-09-30  Andreas Jaeger  <aj@suse.de>
95796         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95797         (CGROUP_SUPER_MAGIC): Define.
95798         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95799         Handle btrfs and cgroup file systems.
95800         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95801         Likewise.
95803 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95805         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95806         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95808 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95810         [BZ #12067]
95811         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95812         trying to locate the ELF header.
95814 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95816         [BZ #11611]
95817         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95818         Mask out sign-bit copies when constructing f_fsid.
95820 2010-09-24  Petr Baudis <pasky@suse.cz>
95822         * debug/stack_chk_fail_local.c: Add missing licence exception.
95823         * debug/warning-nop.c: Likewise.
95825 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95827         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95828         implementing getdents64 using getdents syscall, set d_type if
95829         __ASSUME_GETDENTS32_D_TYPE.
95831 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95833         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95834         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95836 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95838         [BZ #12037]
95839         * posix/unistd.h: Undo change of feature selection for ftruncate from
95840         2010-01-11.
95842 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95844         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95845         detection.
95847 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95849         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95850         fanotify_mark.
95851         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95853 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95855         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95856         variables after CHECK_SP call.
95857         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95859 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95860             Ulrich Drepper  <drepper@redhat.com>
95862         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95863         re-relocationg ld.so.
95864         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95865         _dl_init_paths call.
95866         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95867         here anymore.
95869 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95871         * resolv/res_init.c (__res_vinit): Count the default server we added.
95873 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95874             Ulrich Drepper  <drepper@redhat.com>
95876         [BZ #11968]
95877         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95878         (____longjmp_chk): Use %ebx for saving value across system call.
95879         Add unwind info.
95881 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95883         * manual/Makefile: Don't mix pattern rules with normal rules.
95885 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95887         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95888         operation.
95889         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95890         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95891         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95892         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95894         Likewise.
95896 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95898         [BZ #11979]
95899         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95900         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95902 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95904         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95905         * sysdeps/x86_64/addmul_1.S: Likewise.
95906         * sysdeps/x86_64/lshift.S: Likewise.
95907         * sysdeps/x86_64/mul_1.S: Likewise.
95908         * sysdeps/x86_64/rshift.S: Likewise.
95909         * sysdeps/x86_64/sub_n.S: Likewise.
95910         * sysdeps/x86_64/submul_1.S: Likewise.
95912 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95914         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95915         Define __sched_param instead of SCHED_* and sched_param when
95916         <bits/sched.h> is included with __need_schedparam defined.
95917         * bits/sched.h [__need_schedparam]
95918         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95919         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95920         (__defined_schedparam): Define to 1.
95921         (__sched_param): New structure, identical to sched_param.
95922         (__need_schedparam): Undefine.
95924 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95926         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95927         (epoll_create1): Declare.
95929         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95931 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95933         [BZ #7066]
95934         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95935         shifting retval into place.
95937 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95939         * nis/rpcsvc/nis.h: Update copyright notice.
95940         * nis/rpcsvc/nis.x: Likewise.
95941         * nis/rpcsvc/nis_callback.h: Likewise.
95942         * nis/rpcsvc/nis_callback.x: Likewise.
95943         * nis/rpcsvc/nis_object.x: Likewise.
95944         * nis/rpcsvc/nis_tags.h: Likewise.
95945         * nis/rpcsvc/yp.h: Likewise.
95946         * nis/rpcsvc/yp.x: Likewise.
95947         * nis/rpcsvc/ypupd.h: Likewise.
95948         * nis/yp_xdr.c: Likewise.
95949         * nis/ypupdate_xdr.c: Likewise.
95951         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95952         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95953         (pmap_getport): Use __libc_rpc_getport.
95954         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95955         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95956         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95958 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95961         fanotify_mark.
95963 2010-08-27  Roland McGrath  <roland@redhat.com>
95965         * sysdeps/i386/i686/multiarch/Makefile
95966         (CFLAGS-varshift.c): New variable.
95968 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95970         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95971         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95973         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95975         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95977 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95979         * sysdeps/x86_64/strlen.S: Unroll the loop.
95980         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95981         strlen-sse2 strlen-sse2-bsf.
95982         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95983         __strlen_no_bsf if bit_Slow_BSF is set.
95984         (__strlen_sse42): Removed.
95985         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95986         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95988 2010-08-25  Roland McGrath  <roland@redhat.com>
95990         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95991         * sysdeps/x86_64/multiarch/varshift.c: New file.
95992         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95993         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95994         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95995         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95997 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96000         strlen-sse2 strlen-sse2-bsf.
96001         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
96002         __strlen_sse2_bsf if bit_Slow_BSF is unset.
96003         (__strlen_sse2): Removed.
96004         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
96005         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
96006         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
96007         bit_Slow_BSF for Atom.
96008         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
96009         (index_Slow_BSF): Define.
96010         (HAS_SLOW_BSF): Define.
96012 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
96014         [BZ #10851]
96015         * resolv/res_init.c (__res_vinit): When no server address at all
96016         is given default to loopback.
96018 2010-08-24  Roland McGrath  <roland@redhat.com>
96020         * configure.in: Remove config-name.h generation.
96021         * configure: Regenerated.
96022         * config-name.in: File removed.
96023         * scripts/config-uname.sh: New file.
96024         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
96025         ($(objdir)config-name.h): New target.
96027         * sunrpc/rpc_parse.h: Avoid nested comment.
96029 2010-08-24  Richard Henderson  <rth@redhat.com>
96030             Ulrich Drepper  <drepper@redhat.com>
96031             H.J. Lu  <hongjiu.lu@intel.com>
96033         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
96034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
96035         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
96036         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
96037         _mm_alignr_epi8 with _mm_loadu_si128.
96038         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
96039         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
96040         (__m128i_shift_right): Removed.
96041         * sysdeps/i386/i686/multiarch/varshift.h: New file.
96042         * sysdeps/i386/i686/multiarch/varshift.S: New file.
96043         * sysdeps/x86_64/multiarch/varshift.h: New file.
96044         * sysdeps/x86_64/multiarch/varshift.S: New file.
96046 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
96048         * configure.in: Move assembler checks to before sysdep dir checking.
96050 2010-08-20  Petr Baudis  <pasky@suse.cz>
96052         * LICENSES: Sync the sunrpc license.
96054 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
96056         * sunrpc/auth_des.c: Update copyright notice once again.
96057         * sunrpc/auth_none.c: Likewise.
96058         * sunrpc/auth_unix.c: Likewise.
96059         * sunrpc/authdes_prot.c: Likewise.
96060         * sunrpc/authuxprot.c: Likewise.
96061         * sunrpc/bindrsvprt.c: Likewise.
96062         * sunrpc/clnt_gen.c: Likewise.
96063         * sunrpc/clnt_perr.c: Likewise.
96064         * sunrpc/clnt_raw.c: Likewise.
96065         * sunrpc/clnt_simp.c: Likewise.
96066         * sunrpc/clnt_tcp.c: Likewise.
96067         * sunrpc/clnt_udp.c: Likewise.
96068         * sunrpc/clnt_unix.c: Likewise.
96069         * sunrpc/des_crypt.c: Likewise.
96070         * sunrpc/des_soft.c: Likewise.
96071         * sunrpc/get_myaddr.c: Likewise.
96072         * sunrpc/getrpcport.c: Likewise.
96073         * sunrpc/key_call.c: Likewise.
96074         * sunrpc/key_prot.c: Likewise.
96075         * sunrpc/openchild.c: Likewise.
96076         * sunrpc/pm_getmaps.c: Likewise.
96077         * sunrpc/pm_getport.c: Likewise.
96078         * sunrpc/pmap_clnt.c: Likewise.
96079         * sunrpc/pmap_prot.c: Likewise.
96080         * sunrpc/pmap_prot2.c: Likewise.
96081         * sunrpc/pmap_rmt.c: Likewise.
96082         * sunrpc/rpc/auth.h: Likewise.
96083         * sunrpc/rpc/auth_unix.h: Likewise.
96084         * sunrpc/rpc/clnt.h: Likewise.
96085         * sunrpc/rpc/des_crypt.h: Likewise.
96086         * sunrpc/rpc/key_prot.h: Likewise.
96087         * sunrpc/rpc/netdb.h: Likewise.
96088         * sunrpc/rpc/pmap_clnt.h: Likewise.
96089         * sunrpc/rpc/pmap_prot.h: Likewise.
96090         * sunrpc/rpc/pmap_rmt.h: Likewise.
96091         * sunrpc/rpc/rpc.h: Likewise.
96092         * sunrpc/rpc/rpc_des.h: Likewise.
96093         * sunrpc/rpc/rpc_msg.h: Likewise.
96094         * sunrpc/rpc/svc.h: Likewise.
96095         * sunrpc/rpc/svc_auth.h: Likewise.
96096         * sunrpc/rpc/types.h: Likewise.
96097         * sunrpc/rpc/xdr.h: Likewise.
96098         * sunrpc/rpc_clntout.c: Likewise.
96099         * sunrpc/rpc_cmsg.c: Likewise.
96100         * sunrpc/rpc_common.c: Likewise.
96101         * sunrpc/rpc_cout.c: Likewise.
96102         * sunrpc/rpc_dtable.c: Likewise.
96103         * sunrpc/rpc_hout.c: Likewise.
96104         * sunrpc/rpc_main.c: Likewise.
96105         * sunrpc/rpc_parse.c: Likewise.
96106         * sunrpc/rpc_parse.h: Likewise.
96107         * sunrpc/rpc_prot.c: Likewise.
96108         * sunrpc/rpc_sample.c: Likewise.
96109         * sunrpc/rpc_scan.c: Likewise.
96110         * sunrpc/rpc_scan.h: Likewise.
96111         * sunrpc/rpc_svcout.c: Likewise.
96112         * sunrpc/rpc_tblout.c: Likewise.
96113         * sunrpc/rpc_util.c: Likewise.
96114         * sunrpc/rpc_util.h: Likewise.
96115         * sunrpc/rpcinfo.c: Likewise.
96116         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
96117         * sunrpc/rpcsvc/key_prot.x: Likewise.
96118         * sunrpc/rpcsvc/klm_prot.x: Likewise.
96119         * sunrpc/rpcsvc/mount.x: Likewise.
96120         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
96121         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
96122         * sunrpc/rpcsvc/rex.x: Likewise.
96123         * sunrpc/rpcsvc/rstat.x: Likewise.
96124         * sunrpc/rpcsvc/rusers.x: Likewise.
96125         * sunrpc/rpcsvc/sm_inter.x: Likewise.
96126         * sunrpc/rpcsvc/spray.x: Likewise.
96127         * sunrpc/rpcsvc/yppasswd.x: Likewise.
96128         * sunrpc/rtime.c: Likewise.
96129         * sunrpc/svc.c: Likewise.
96130         * sunrpc/svc_auth.c: Likewise.
96131         * sunrpc/svc_authux.c: Likewise.
96132         * sunrpc/svc_raw.c: Likewise.
96133         * sunrpc/svc_run.c: Likewise.
96134         * sunrpc/svc_simple.c: Likewise.
96135         * sunrpc/svc_tcp.c: Likewise.
96136         * sunrpc/svc_udp.c: Likewise.
96137         * sunrpc/svc_unix.c: Likewise.
96138         * sunrpc/svcauth_des.c: Likewise.
96139         * sunrpc/xcrypt.c: Likewise.
96140         * sunrpc/xdr.c: Likewise.
96141         * sunrpc/xdr_array.c: Likewise.
96142         * sunrpc/xdr_float.c: Likewise.
96143         * sunrpc/xdr_mem.c: Likewise.
96144         * sunrpc/xdr_rec.c: Likewise.
96145         * sunrpc/xdr_ref.c: Likewise.
96146         * sunrpc/xdr_sizeof.c: Likewise.
96147         * sunrpc/xdr_stdio.c: Likewise.
96149         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
96150         handling.
96152 2010-08-19  Andreas Schwab  <schwab@redhat.com>
96154         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
96156 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
96158         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
96159         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96160         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96161         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96162         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96163         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96164         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96165         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96166         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96167         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96168         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96169         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96170         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96171         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96173 2010-07-26  Anton Blanchard  <anton@samba.org>
96175         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96176         * malloc/arena.c (heap_trim): Likewise.
96178 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
96180         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96181         here.  Not...
96182         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96183         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96185 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
96187         * sysdeps/i386/elf/Makefile: New file.
96189 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96191         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96192         from fanotify_init.
96193         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96194         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96196 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
96198         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96199         of strncasecmp_l.
96200         * sysdeps/multiarch/strcmp.S: Likewise.
96202 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
96204         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96205         strncase_l-nonascii.
96206         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96207         Add strncase_l-ssse3.
96208         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96209         * sysdeps/x86_64/strcmp.S: Likewise.
96210         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96211         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96212         * sysdeps/x86_64/strncase.S: New file.
96213         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96214         * sysdeps/x86_64/strncase_l.S: New file.
96215         * string/Makefile (strop-tests): Add strncasecmp.
96216         * string/test-strncasecmp.c: New file.
96218         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96219         warning.
96221         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96222         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96224 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96226         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96228 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
96230         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96231         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96232         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96234 2010-05-01  Alan Modra  <amodra@gmail.com>
96236         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96237         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96238         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96239         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96240         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96241         tidying.  Don't tail-call __sigjmp_save for static lib.
96242         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96243         save location.
96244         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96245         (CALL_MCOUNT): Add eh info, and nop after bl.
96246         (TAIL_CALL_SYSCALL_ERROR): New macro.
96247         (PSEUDO_RET): Use it.
96248         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96249         Correct save location of integer regs and cr.
96250         (_dl_profile_resolve): Correct cr save location.  Delete nops
96251         after bl when SHARED.  Reduce cfi size a little by better
96252         placement of cfi directives.
96253         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96254         make a stack frame.  Instead use parm save area as a temp.
96255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96256         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
96257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96258         Don't make a stack frame for parent, use parm save area.
96259         Increase child stack frame to 112 bytes.  Don't save unused reg,
96260         and adjust reg usage.  Set up cfi on error recovery and
96261         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96263         (__makecontext): Add dummy nop after jump to exit.
96264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96265         Use correct parm save area and cr save, reduce stack frame.
96266         Correct cfi for possible PSEUDO_RET frame setup.
96267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96268         Branch to local label emitted by PSEUDO_RET rather than
96269         __syscall_error.
96271 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96273         [BZ #11904]
96274         * locale/programs/locale.c (print_assignment): New function.
96275         (show_locale_vars): Use it.
96277 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96279         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96280         field.
96281         (struct statfs64): Likewise.
96282         (_STATFS_F_FLAGS): Define.
96283         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96284         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96285         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96286         (ST_VALID): Define locally.
96287         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96288         __statvfs_getflags, use the provided value.
96289         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96290         __ASSUME_STATFS_F_FLAGS.
96292         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96294         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96295         Add sys/fanotify.h.
96296         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96297         fanotify_mask for GLIBC_2.13.
96298         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96299         fanotify_init and fanotify_mark.
96300         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96301         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96303         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96304         Add prlimit.
96305         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96306         prlimit64 for GLIBC_2.13.
96307         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96308         prlimit64.
96309         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96310         syscall.
96311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96312         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96313         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96314         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96315         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96316         add prlimit alias.
96317         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96319         [BZ #11903]
96320         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96321         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96323         * nss/Makefile: Add rules to build and run tst-nss-test1.
96324         * shlib-versions: Add entry for libnss_test1.
96325         * nss/nss_test1.c: New file.
96326         * nss/tst-nss-test1.c: New file.
96328         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96329         (__nss_configure_lookup): Set appropriate entry in
96330         __nss_configure_lookup to true.
96331         * nss/nsswitch.h: Define enum with indeces of databases in
96332         databases and __nss_database_custom arrays.  Declare
96333         __nss_database_custom.
96334         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96335         to avoid using nscd when custom rules are installed.
96336         * nss/getXXbyYY_r.c: Likewise.
96337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96339         * nss/nss_files/files-parse.c: Whitespace fixes.
96341 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96343         [BZ #11883]
96344         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96345         * posix/fnmatch_loop.c: Likewise.
96347 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96349         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96350         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96351         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96352         * Versions.def [GLIBC_2.13]: Add.
96354 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96356         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96357         Also fail if tpwd after pwuid call is NULL.
96359 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96361         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96362         when converting to ms.
96364 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96366         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96367         EOPNOTSUPP errors with ENOTTY.
96368         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96369         EOPNOTSUPP errors with ENOTTY.
96371 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96373         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96374         Add strcasecmp_l-ssse3.
96375         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96376         strcasecmp.
96377         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96378         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96379         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96381 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96383         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96385         * string/Makefile (strop-tests): Add strcasecmp.
96386         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96387         strcasecmp_l-nonascii.
96388         (gen-as-const-headers): Add locale-defines.sym.
96389         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96390         * sysdeps/x86_64/strcasecmp.S: New file.
96391         * sysdeps/x86_64/strcasecmp_l.S: New file.
96392         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96393         * sysdeps/x86_64/locale-defines.sym: New file.
96394         * string/test-strcasecmp.c: New file.
96396         * string/test-strcasestr.c: Test both ends of the range of characters.
96397         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96399 2010-07-29  Roland McGrath  <roland@redhat.com>
96401         [BZ #11856]
96402         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96404 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96406         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96407         for ld.so.
96409 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96411         * manual/memory.texi (Malloc Tunable Parameters): Document
96412         M_PERTURB.
96414 2010-07-26  Roland McGrath  <roland@redhat.com>
96416         [BZ #11840]
96417         * configure.in (-fgnu89-inline check): Set and substitute
96418         gnu89_inline, not libc_cv_gnu89_inline.
96419         * configure: Regenerated.
96420         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96422 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96424         * string/test-strnlen.c: New file.
96425         * string/Makefile (strop-tests): Add strnlen.
96426         * string/tester.c (test_strnlen): Add a few more test cases.
96427         * string/tst-strlen.c: Better error reporting.
96429         * sysdeps/x86_64/strnlen.S: New file.
96431 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96433         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96434         lower-latency instructions.
96436 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96438         * string/test-strcasestr.c: New file.
96439         * string/test-strstr.c: New file.
96440         * string/Makefile (strop-tests): Add strstr and strcasestr.
96441         * string/str-two-way.h: Don't undefine MAX.
96442         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96444 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96446         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96447         strcasestr-nonascii.
96448         (CFLAGS-strcasestr-nonascii.c): Define.
96449         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96450         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96451         Remove unused attribute.
96453 2010-07-20  Roland McGrath  <roland@redhat.com>
96455         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96456         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96457         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96458         like LD_HWCAP_MASK can disable hwcaps.
96460 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96462         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96464 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96466         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96467         call in strcasestr.
96468         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96469         __strcasestr_sse42_nonascii.
96470         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96471         strcasestr-nonascii.c.
96472         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96474 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96476         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96478         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96481 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96483         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96484         fcntl.
96486 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96488         [BZ #11577]
96489         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96490         dl_signal_cerror.
96492 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96494         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96495         _PC_PIPE_BUF using F_GETPIPE_SZ.
96497 2010-07-05  Roland McGrath  <roland@redhat.com>
96499         * manual/arith.texi (Rounding Functions): Fix rint description
96500         implicit in round description.
96502 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96504         * elf/Makefile: Fix linking for a few tests to make recent linker
96505         happy.
96507 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96509         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96510         $(common-objpfx)libc_nonshared.a.
96512 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96514         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96515         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96516         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96517         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96518         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96519         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96520         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96521         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96536         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96537         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96538         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96539         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96540         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96541         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96542         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96543         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96544         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96545         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96546         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96547         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96563 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96565         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96566         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96567         * string/memmove.c (memmove): Renamed to ...
96568         (MEMMOVE): ...this.  Default to memmove.
96569         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96570         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96571         (END_CHK): Define.
96572         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96573         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96574         mempcpy-ssse3-back memmove-ssse3-back.
96575         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96576         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96577         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96578         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96579         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96580         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96581         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96582         * sysdeps/x86_64/multiarch/memmove.c: New file.
96583         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96584         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96585         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96586         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96587         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96588         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96589         Define.
96590         (index_Fast_Copy_Backward): Define.
96591         (HAS_ARCH_FEATURE): Define.
96592         (HAS_FAST_REP_STRING): Define.
96593         (HAS_FAST_COPY_BACKWARD): Define.
96595 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96597         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96598         Restore proper fallback handling.
96600 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96602         [BZ #11701]
96603         * posix/group_member.c (__group_member): Correct checking loop.
96605         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96606         OOM in getpwuid_r correctly.  Return error number when the caller
96607         should return, otherwise -1.
96608         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96609         call returning > 0 value.
96610         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96612 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96614         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96615         libc_nonshared.a from targets in modules-names.
96617 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96619         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96620         requires it.
96622 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96624         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96625         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96626         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96629 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96631         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96633 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96635         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96636         and F_GETPIPE_SZ.
96637         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96638         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96639         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96640         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96641         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96642         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96644 2010-06-14  Roland McGrath  <roland@redhat.com>
96646         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96648 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96650         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96651         __REDIRECT followed by __THROW.
96652         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96653         * posix/getopt.h (getopt): Likewise.
96655 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96657         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96658         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96659         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96660         in AT_FLAGS.
96661         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96662         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96664 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96666         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96668 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96670         [BZ #11640]
96671         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96672         Properly check family and model.
96674 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96676         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96678 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96680         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96682 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96684         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96685         symbol reference.
96687 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96689         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96690         symbol reference.
96692 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96694         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96695         and internal_recvmmsg.
96696         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96697         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96698         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96699         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96701         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96702         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96703         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96705 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96707         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96709 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96711         POWER7 optimizations.
96712         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96713         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96715 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96717         * version.h: Update for 2.13 development version.
96719 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96721         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96722         exceptions.  Return 0.
96724 2010-05-07  Roland McGrath  <roland@redhat.com>
96726         * elf/ldconfig.c (main): Add a const.
96728 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96730         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96731         (args_options): Add no-idn option.
96732         (ahosts_keys_int): Add idn_flags to ai_flags.
96733         (parse_option): Handle 'i' option to clear idn_flags.
96735         * malloc/malloc.c (_int_free): Possible race in the most recently
96736         added check.  Only act on the data if no current modification
96737         happened.
96739 See ChangeLog.17 for earlier changes.