Remove powerpc, sparc fdim inlines (bug 22987).
[glibc.git] / ChangeLog.old / ChangeLog.18
blobb0c91453ae1c99505f318ed1d316e1d975f9e395
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         [BZ #21654]
197         * grp/grp-merge.c (libc_hidden_def): Fix cast-after-dereference.
199 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
201         [BZ #21741]
202         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c
203         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
204         in libc.so.
206 2017-07-19  H.J. Lu  <hongjiu.lu@intel.com>
208         [BZ #21740]
209         * debug/Makefile (elide-routines.o): New.
211 2017-07-19  Szabolcs Nagy  <szabolcs.nagy@arm.com>
213         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c:
214         (_dl_aarch64_cap_flags): Update.
215         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
216         (_DL_HWCAP_COUNT, _DL_HWCAP_LAST): Update.
218 2017-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
220         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (_dl_procinfo): Revert.
221         (_dl_hwcap_string): Check range.
223 2017-07-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
225         [BZ #21707]
226         * csu/libc-start.c (LIBC_START_MAIN): Perform IREL{,A}
227         relocations before or after initializing the TCB on statically
228         linked executables.  That's a per-architecture definition.
229         * elf/rtld.c (dl_main): Add a comment about thread-local
230         variables initialization.
231         * sysdeps/generic/libc-start.h: New file.  Define
232         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
233         * sysdeps/powerpc/Makefile:
234         [$(subdir) = elf && $(multi-arch) != no] (tests-static-internal): Add
235         tst-tlsifunc-static.
236         [$(subdir) = elf && $(multi-arch) != no && $(build-shared) == yes]
237         (tests-internal): Add tst-tlsifunc.
238         * sysdeps/powerpc/tst-tlsifunc.c: New file.
239         * sysdeps/powerpc/tst-tlsifunc-static.c: Likewise.
240         * sysdeps/powerpc/powerpc64le/Makefile (f128-loader-link): New
241         variable.
242         [$(subdir) = math] (test-float128% test-ifloat128%): Force
243         linking to the loader after linking to libgcc.
244         [$(subdir) = wcsmbs || $(subdir) = stdlib] (bug-strtod bug-strtod2)
245         (bug-strtod2 tst-strtod-round tst-wcstod-round tst-strtod6 tst-strrom)
246         (tst-strfrom-locale strfrom-skeleton): Likewise.
247         * sysdeps/unix/sysv/linux/powerpc/libc-start.h: New file.  Define
248         ARCH_APPLY_IREL and ARCH_SETUP_IREL.
250 2017-07-17  DJ Delorie  <dj@redhat.com>
252         * nss/nss_test.h: New.
253         * nss/nss_test1.h: Rewrite to use test-provided data.  Add group
254         tests.  Parameterize to allow multiple instances.
255         * nss/nss_test2.h: New.  Second instance.
256         * nss/nss_test.ver: New.
257         * nss/nss_test1.c: Update to use new framework.
258         * nss/nss_test2.c: New.
259         * nss/nss_test3.c: New.
260         * nss/nss_test4.c: New.
261         * nss/nss_test5.c: New.
262         * nss/Makefile: Build new tests.
263         * shlib-versions: Add libnss_test2.
265 2017-07-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
267         [BZ #21512]
268         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Fix argument
269         passing to syscall exit.
271 2017-07-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
273         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_FCMA): New macro.
274         (HWCAP_JSCVT, HWCAP_LRCPC): Likewise.
276 2017-07-16  John David Anglin  <danglin@gcc.gnu.org>
278         * sysdeps/hppa/dl-trampoline.S (_dl_runtime_resolve): Return to caller
279         if _dl_fixup fails.
281         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Add .cfi annotation.
282         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Likewise.
283         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S (__vfork): Likewise.
284         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
286         * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Fix stack
287         offset for r19 load.
289         * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Return 0.
291         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Fix CFA offset.
292         Use .cfi_def_cfa_offset instead of .cfi_offset.  Don't record stack
293         pointer offset.  Correct PIC register offset.  Don't mention frame
294         related instructions in epilogue.
295         (PUSHARGS_1): Correct offset.
296         (PUSHARGS_2): Likewise.
297         (PUSHARGS_3): Likewise.
298         (PUSHARGS_4): Likewise.
299         (PUSHARGS_5): Likewise.
300         (PUSHARGS_6): Likewise.
301         (POPARGS_1): Don't mention register restore.
302         (POPARGS_2): Likewise.
303         (POPARGS_3): Likewise.
304         (POPARGS_4): Likewise.
305         (POPARGS_5): Likewise.
306         (POPARGS_6): Likewise.
307         * sysdeps/unix/sysv/linux/hppa/sysdep.h (SAVE_PIC): Don't mention
308         copy of PIC register.
309         (LOAD_PIC): Likewise don't mention restore.
310         (DO_CALL): Fix CFA offset.  Use .cfi_def_cfa_offset instead of
311         .cfi_offset.  Don't record stack pointer offset.  Correct PIC register
312         offset.  Don't mention frame related instructions in epilogue.
314         * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove _exit entry.
316         * sysdeps/hppa/__longjmp.c (__longjmp): Remove extra braces.
318         [BZ 20098]
319         * sysdeps/hppa/dl-fptr.c (_dl_read_access_allowed): New.
320         (_dl_lookup_address): Return address if it is not consistent with
321         being a linker defined function pointer.  Likewise, return address
322         if address and function descriptor addresses are not accessible.
324 2017-07-16  Siddhesh Poyarekar  <siddhesh@sourceware.org>
326         * po/libc.pot: Regenerate.
328 2017-07-15  John David Anglin  <danglin@gcc.gnu.org>
330         [BZ locale/19838]
331         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHMLBA): Set to page size.
333         * nptl/allocatestack.c (allocate_stack): Align old and new guard
334         addresses to page boundaries when the stack grows up.
336         * sysdeps/hppa/math-tests.h: New.
338 2017-07-14  DJ Delorie  <dj@redhat.com>
340         [BZ #21654]
341         * grp/grp_merge.c (__copy_grp): Align char** to minimum pointer
342         alignment not char alignment.
343         (__merge_grp): Likewise.
345 2017-07-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
346             Florian Weimer  <fweimer@redhat.com>
348         * libio/memstream.c (__open_memstream): Set _IO_FLAGS2_NEED_LOCK.
349         * libio/wmemstream.c (open_wmemstream): Likewise.
350         * nptl/tst-memstream.c: New.
352 2017-07-12  Jiong Wang  <jiong.wang@arm.com>
354         * sysdeps/arm/dl-machine.h (elf_machine_load_address):  Also strip bit 0
355         of pcrel_address under Thumb mode.
357 2017-07-12  Akhilesh Kumar <akhilesh.k@samsung.com>
359         [BZ #21207]
360         * locale/iso-639.def: Add Fiji Hindi (hif).
362 2017-07-12  John David Anglin  <danglin@gcc.gnu.org>
364         * sysdeps/hppa/dl-machine.h (elf_machine_rela): Fix typo.
366 2017-07-12  H.J. Lu  <hongjiu.lu@intel.com>
368         * debug/Makefile (CFLAGS-tst-ssp-1.c): Set to
369         -fstack-protector-all.
371 2017-07-11  Chris Leonard <cjl@sugarlabs.org>
373         [BZ #20496]
374         * locale/iso-639.def: Add Awajún / Aguaruna (agr).
376 2017-07-11  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
378         * sysdeps/powerpc/powerpc64le/Makefile: Use $(all-object-suffixes)
379         to iterate over all possible object suffixes.  Add a comment
380         explaining the use of sysdep-CFLAGS instead of CFLAGS.
382 2017-07-11  H.J. Lu  <hongjiu.lu@intel.com>
384         [BZ #12189]
385         * debug/Makefile (CFLAGS-tst-ssp-1.c): New.
386         (tests): Add tst-ssp-1 if -fstack-protector works.
387         * debug/fortify_fail.c: Include <stdbool.h>.
388         (_fortify_fail_abort): New function.
389         (__fortify_fail): Call _fortify_fail_abort.
390         (__fortify_fail_abort): Add a hidden definition.
391         * debug/stack_chk_fail.c: Include <stdbool.h>.
392         (__stack_chk_fail): Call __fortify_fail_abort, instead of
393         __fortify_fail.
394         * debug/tst-ssp-1.c: New file.
395         * include/stdio.h (__libc_message_action): New enum.
396         (__libc_message): Replace int with enum __libc_message_action.
397         (__fortify_fail_abort): New hidden prototype.
398         * malloc/malloc.c (malloc_printerr): Update __libc_message calls.
399         * sysdeps/posix/libc_fatal.c (__libc_message): Replace int
400         with enum __libc_message_action.  Call BEFORE_ABORT only if
401         action includes do_backtrace.
402         (__libc_fatal): Update __libc_message call.
404 2017-07-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
406         [BZ #21738]
407         * manual/llio.texi (RWF_NOWAIT): New item.
408         * misc/tst-preadvwritev2-common.c (do_test_with_invalid_flags):
409         Add RWF_NOWAIT check.
410         * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_NOWAIT): New flag.
412 2017-07-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
414         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
415         Support running on kernels without PTRACE_SINGLEBLOCK.
417 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
419         [BZ #21742]
420         * elf/Makefile (dl-routines): Move dl-conflict to ...
421         (rtld-routines): Here.
423 2017-07-10  H.J. Lu  <hongjiu.lu@intel.com>
425         [BZ #21741]
426         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
427         (__libc_ifunc_impl_list): Test memmove_chk and memset_chk only
428         in libc.so.
430 2017-07-09  John David Anglin  <danglin@gcc.gnu.org>
432         * sysdeps/hppa/fpu/libm-test-ulps: Update.
434         [BZ #21016]
435         * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
436         Fix typo.
437         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include
438         bits/types/struct_timespec.h.
439         (PTHREAD_MUTEX_INITIALIZER): Revise define.
440         (PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP): Likewise.
441         (PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP): Likewise.
442         (PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP): Likewise.
443         (PTHREAD_RWLOCK_INITIALIZER): Likewise.
444         (PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP): Likewise.
445         (PTHREAD_COND_INITIALIZER): Likewise.
446         Remove old definitions.
447         * sysdeps/unix/sysv/linux/hppa/internaltypes.h: Delete.
448         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: Delete.
449         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: Delete.
450         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: Delete.
451         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: Delete.
452         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: Delete.
454 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
456         * sysdeps/x86_64/multiarch/memcmp.c: Update comments.
457         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
458         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
459         * sysdeps/x86_64/multiarch/memset.c: Likewise.
460         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
461         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
462         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
463         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
464         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
465         * sysdeps/x86_64/multiarch/wcscpy.c: Likewise.
466         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
467         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
468         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
469         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
470         * sysdeps/x86_64/multiarch/wmemset.c: Likewise.
471         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
473 2017-07-09  H.J. Lu  <hongjiu.lu@intel.com>
475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update comments.
477 2017-07-09  Helge Deller  <deller@gmx.de>
479         [BZ #21049]
480         * sysdeps/hppa/__longjmp.c (__longjmp): Move call to CHECK_SP
481         up to avoid clobbering r26.
483 2017-07-08  Andreas Schwab  <schwab@linux-m68k.org>
485         * scripts/build-many-glibcs.py (Glibc.build_glibc): Also build
486         profiled objects.
488 2017-07-06  DJ Delorie  <dj@redhat.com>
490         * manual/tunables.texi: Add missing @end deftp.
492 2017-07-06  Florian Weimer  <fw@deneb.enyo.de>
494         * resolv/tst-resolv-basic.c (test_bug_21295): New function.
495         (do_test): Call it.
497 2017-07-06  DJ Delorie  <dj@redhat.com>
499         * config.make.in: Enable experimental malloc option.
500         * configure.ac: Likewise.
501         * configure: Regenerate.
502         * manual/install.texi: Document it.
503         * INSTALL: Regenerate.
504         * malloc/Makefile: Likewise.
505         * malloc/malloc.c: Add per-thread cache (tcache).
506         (tcache_put): New.
507         (tcache_get): New.
508         (tcache_thread_freeres): New.
509         (tcache_init): New.
510         (__libc_malloc): Use cached chunks if available.
511         (__libc_free): Initialize tcache if needed.
512         (__libc_realloc): Likewise.
513         (__libc_calloc): Likewise.
514         (_int_malloc): Prefill tcache when appropriate.
515         (_int_free): Likewise.
516         (do_set_tcache_max): New.
517         (do_set_tcache_count): New.
518         (do_set_tcache_unsorted_limit): New.
519         * manual/probes.texi: Document new probes.
520         * malloc/arena.c: Add new tcache tunables.
521         * elf/dl-tunables.list: Likewise.
522         * manual/tunables.texi: Document them.
523         * NEWS: Mention the per-thread cache.
525 2017-07-06  Joseph Myers  <joseph@codesourcery.com>
527         * iconvdata/tst-loading.c (TIMEOUT): Define to 30.
528         * misc/tst-tsearch.c (TIMEOUT): Remove.
529         * nptl/tst-create-detached.c (TIMEOUT): Define to 100.
530         * nptl/tst-robust-fork.c (TIMEOUT): Likewise.
531         * nptl/tst-rwlock19.c (TIMEOUT): Likewise.
532         * string/tst-cmp.c (TIMEOUT): Define to 600.
534 2017-07-06  Matthew Krupcale  <mkrupcale@matthewkrupcale.com>
536         [BZ #21715]
537         * sysdeps/nptl/bits/pthreadtypes.h (__have_pthread_attr_t): Fix typo
538         on definition.
540 2017-07-06  Florian Weimer  <fweimer@redhat.com>
541             H.J. Lu  <hongjiu.lu@intel.com>
543         [BZ #21609]
544         * sysdeps/x86_64/Makefile (sysdep-dl-routines): Add tls_get_addr.
545         (gen-as-const-headers): Add rtld-offsets.sym.
546         * sysdeps/x86_64/dl-tls.c: New file.
547         * sysdeps/x86_64/rtld-offsets.sym: Likwise.
548         * sysdeps/x86_64/tls_get_addr.S: Likewise.
549         * sysdeps/x86_64/dl-tls.h: Add multiple inclusion guards.
550         * sysdeps/x86_64/tlsdesc.sym (TI_MODULE_OFFSET): New.
551         (TI_OFFSET_OFFSET): Likwise.
553 2017-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
555         [BZ# 21697]
556         * sysdeps/posix/spawni.c (__spawni_child): Fix return value.
558 2017-07-05  Florian Weimer  <fweimer@redhat.com>
560         * resolv/Makefile (tests-internal): Add tst-resolv-threads.
561         (tst-resolv-threads): Link with -ldl, -lresolv, -lpthread.
562         * resolv/tst-resolv-threads.c: New file.
564 2017-07-05  Florian Weimer  <fweimer@redhat.com>
566         support: Add resolver testing mode which does not patch _res.
567         * support/resolv_test.h (struct resolv_redirect_config): Add
568         disable_redirect, server_address_overrides.
569         * support/resolv_test.c (make_server_sockets_for_address): New
570         function.
571         (resolv_test_start): Call it.
573 2017-07-05  Florian Weimer  <fweimer@redhat.com>
575         * support/namespace.h (struct support_chroot_configuration)
576         (struct support_chroot): Define.
577         (support_chroot_create, support_chroot_free): New functions.
578         * support/support_chroot.c: New file.
579         * support/Makefile (libsupport-routines): Add support_chroot.
580         * resolv/tst-resolv-res_init-skeleton.c (path_chroot)
581         (path_resolv_conf): Remove definitions.
582         (chroot_env): New variable.
583         (prepare): Call support_chroot_create.
584         (check_chroot_working, setup_nss_dns_and_chroot, run_res_init)
585         (special_test_callback, do_test): Likewise.
587 2017-07-05  Florian Weimer  <fweimer@redhat.com>
589         Add subtest to check isolation of multiple loopback addresses.
590         * support/tst-support-namespace.c (test_localhost_bind): New function.
591         (do_test): Call it.
593 2017-07-04  Szabolcs Nagy  <szabolcs.nagy@arm.com>
595         * libio/libio.h (_IO_FLAGS2_NEED_LOCK, _IO_need_lock): Define.
596         * libio/libioP.h (_IO_enable_locks): Declare.
597         * libio/Versions (_IO_enable_locks): New symbol.
598         * libio/genops.c (_IO_enable_locks): Define.
599         (_IO_old_init): Initialize flags2.
600         * libio/feof.c.c (_IO_feof): Avoid locking when not needed.
601         * libio/ferror.c (_IO_ferror): Likewise.
602         * libio/fputc.c (fputc): Likewise.
603         * libio/putc.c (_IO_putc): Likewise.
604         * libio/getc.c (_IO_getc): Likewise.
605         * libio/getchar.c (getchar): Likewise.
606         * libio/ioungetc.c (_IO_ungetc): Likewise.
607         * nptl/pthread_create.c (__pthread_create_2_1): Enable stdio locks.
608         * libio/iofopncook.c (_IO_fopencookie): Enable locking for the file.
609         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
611 2017-07-04  Florian Weimer  <fweimer@redhat.com>
613         [BZ #21542]
614         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Default to
615         two if no accurate information is available.
616         * posix/tst-sysconf-empty-chroot.c: New file.
617         * posix/Makefile (tests): Add it.
619 2017-07-04  Florian Weimer  <fweimer@redhat.com>
621         * resolv/resolv_conf.c (resolv_conf_matches): Tighten check for name
622         server and sort list counts.  Fix improper check for empty search
623         path (completely missing domain name) leading to assertion failure
624         in update_from_conf.
625         * resolv/tst-resolv-res_init-skeleton.c (struct test_case): Add
626         hostname member.
627         (run_res_init): Set host name if requested.
628         (test_cases): Update.
630 2017-07-04  Joseph Myers  <joseph@codesourcery.com>
632         * scripts/build-many-glibcs.py (Context.checkout): Default
633         binutils version to 2.29 branch, GMP version to 6.1.2 and Linux
634         kernel version to 4.12.
636 2017-07-04  Florian Weimer  <fweimer@redhat.com>
638         * resolv/resolv_conf.c (struct resolv_conf_global): Clarify free
639         list management and the role of free_list_start.
640         (decrement_at_index): Put zero at the end of the free list.
641         (__resolv_conf_attach): Fix bogus assert.
642         * resolv/Makefile (tests): Add tst-resolv-res_init-multi.
643         (tst-resolv-res_init-multi): Link with -lresolv, -lpthread.
645 2017-07-03  Florian Weimer  <fweimer@redhat.com>
647         resolv: Introduce free list for resolv_conf index slosts.
648         * resolv/resolv_conf.c (struct resolv_conf_array): Change element
649         type to uintptr_t.
650         (struct resolv_conf_global): Add free_list_start member.
651         (resolv_conf_get_1): Check for free list entry.
652         (decrement_at_index): Put freed slot on the free list.
653         (__resolv_conf_attach): Obtain new slot from the free list.
654         * resolv/tst-resolv-res_ninit.c: New file.
655         * resolv/Makefile (tests-internal): Add tst-resolv-res_ninit.
656         (tests-special): Add mtrace-tst-resolv-res_ninit.out.
657         (generated): Add mtrace-tst-resolv-res_ninit.out,
658         tst-resolv-res_ninit.mtrace.
659         (mtrace-tst-resolv-res_ninit.out): Add target.
661 2017-06-30  Florian Weimer  <fweimer@redhat.com>
663         [BZ #984]
664         Reload /etc/resolv.conf if has been changed on disk.
665         * resolv/resolv_conf.h (resolv_conf): Remove initstamp member.
666         (__resolv_conf_load, __resolv_conf_get_current): Declare.
667         * resolv/resolv_conf.c (struct resolv_conf_global): Add
668         conf_current, conf_mtime, conf_ctime, conf_size, conf_ino members.
669         (__resolv_conf_get_current): New function.
670         (__resolv_conf_allocate): Do not initialize initstamp.
671         (freeres): Deallocate global->conf_current.
672         * resolv/resolv.h (RES_NORELOAD): Define.
673         * resolv/res_debug.c (p_option): Add RES_NORELOAD.
674         * resolv/resolv-internal.h (__res_initstamp): Remove declaration.
675         * resolv/resolv_context.c (replicated_configuration_matches): New.
676         (maybe_init): Call it.  Use __resolv_conf_get_current to obtain
677         the current configration.
678         * resolv/res_init.c (__res_initstamp): Remove variable definition.
679         (has_preinit_values): New function.
680         (__resolv_conf_load): Renamed from __res_vinit.  Drop res_state
681         parameter and do not call __resolv_conf_attach.
682         (__res_vinit): Reimplement based __resolv_conf_load.
683         (res_options): Handle no-reload.
684         * resolv/res_libc.c (atomicinclock, atomicincunlock, atomicinc)
685         (lock): Remove.
686         (res_int): Do not update __res_initstamp.
687         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Handle
688         RES_NORELOAD.
689         (test_cases): Test no-reload.
690         (special_test_call_res_init): Remove.
691         (special_test_callback): Rely on automated reloading.  Add tests
692         for no-reload.
694 2017-06-30  Florian Weimer  <fweimer@redhat.com>
696         Mirror the entire resolver configuration in struct resolv_conf.
697         * resolv/resolv_context.h (__resolv_context_nameserver_count)
698         (__resolv_context_nameserver): New functions.
699         (__resolv_context_sort_count, __resolv_context_sort_entry):
700         Likewise.
701         * resolv/nss_dns/dns-host.c (getanswer_r): Add struct
702         resolv_context parameter.
703         (gethostbyname3_context, _nss_dns_gethostbyaddr2_r): Adjust.
704         (addrsort): Switch to struct resolv_context.
705         * resolv/resolv_conf.h (struct resolv_sortlist_entry): Define.
706         (struct resolv_conf): Add nameserver_list, nameserver_list_size,
707         sort_list, sort_list_size, options, retrans, retry, ndots members.
708         * resolv/resolv_conf.c (same_address_v4, same_address_v6)
709         (same_address): New functions.
710         (resolv_conf_matches): Compare the new array members.
711         (__resolv_conf_allocate): Allocate and copy the new array members.
712         (update_from_conf): Copy the entire configuration.
713         * resolv/res_init.c (struct nameserver_list, struct sort_list):
714         Define using dynarray.
715         (struct resolv_conf_parser): Add nameserver_list, sort_list,
716         template members.
717         (resolv_conf_parser_init): Add preinit argument.  Initialize the
718         new members.
719         (resolv_conf_parser_free): Deallocate the new arrays.
720         (allocate_address_v4): New function.
721         (res_setoptions): Switch to struct resolv_conf_parser * parameter.
722         (res_vinit_1): Drop res_state parameter.  Write all parsed date to
723         the parser object instead.  Use allocate_address_v4 to allocate
724         IPv4 addresses.
725         (__res_vinit): Adjust.
726         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print the
727         extended name server list.
728         (test_cases): Adjust.
730 2017-06-30  Florian Weimer  <fweimer@redhat.com>
732         [BZ #19569]
733         [BZ #21475]
734         Support an arbitrary number of search domains.
735         * resolv/resolv_context.h (__resolv_context_search_list): New.
736         * resolv/resolv_conf.h (struct resolv_conf): Add search_list,
737         search_list_size members.
738         * resolv/resolv_conf.c (resolv_conf_matches): Compare search list.
739         (__resolv_conf_allocate): Allocate and and copy search list.
740         (update_from_conf): Copy the search list.
741         * resolv/res_init.c (struct search_list): Define using dynarray.
742         (struct resolv_conf_parser): Define.
743         (resolv_conf_parser_init, resolv_conf_parser_free)
744         (domain_from_hostname): New functions.
745         (res_vinit_1): Add struct resolv_conf_parser * parameter.  Use
746         struct search_list to collect search list entries.  Call
747         domain_from_hostname to obtain the fallback domain name.
748         (__res_vinit): Create and destroy parser object.  Pass search list
749         to __resolv_conf_allocate.
750         * resolv/res_query.c (__res_context_search): Use
751         __resolv_context_search_list to obtain search list entries.
752         * resolv/tst-resolv-res_init-skeleton.c (print_resp): Print data
753         from extended resolver context.
754         (test_cases): Update.
756 2017-06-30  Florian Weimer  <fweimer@redhat.com>
758         Add extended resolver state/configuration (struct resolv_conf).
759         * resolv/resolv_conf.h, resolv/resolv_conf.c: New files.
760         * resolv/res-close.c (__res_iclose): Call __resolv_conf_detach.
761         * resolv/res_init.c (res_vinit_1): Do not initialize initstamp.
762         (__res_vinit): Call __resolv_conf_allocate and
763         __resolv_conf_attach.
764         * resolv/resolv_context.h (struct resolv_context): Add conf member
765         of type struct resolv_conf.
766         * resolv/resolv_context.c (maybe_init): Get initstamp from struct
767         resolv_conf.  Update conf member after initialization.
768         * resolv/Makefile (routines): Add resolv_conf.
769         * resolv/bits/types/res_state.h [_LIBC] (struct __res_state):
770         Rename _u._ext.initstamp to _u._ext.__glibc_extension_index.
771         [!_LIBC] (struct __res_state): Rename _u._ext._initstamp to
772         _u._ext.__glibc_reserved.
774 2017-06-30  Florian Weimer  <fweimer@redhat.com>
776         [BZ #21668]
777         Introduce temporary resolver contexts (struct resolv_conf).
778         * resolv/resolv-internal.h (__res_context_mkquery)
779         (__res_context_searchl __res_context_query, __res_context_send)
780         (__res_context_hostalias): Declare.
781         (__res_nopt): Switch to struct resolv_context.
782         * resolv/res_use_inet6.h: New file.
783         * resolv/resolv_context.h: Likewise.
784         * resolv/resolv_context.c: Likewise.
785         * resolv/compat-gethnamaddr.c (res_gethostbyname2_context):
786         Renamed from res_gethostbyname2.  Use struct resolv_context.
787         (res_gethostbyname2): New function.  Implement using
788         res_gethostbyname2_context.
789         (res_gethostbyaddr_context): Renamed from res_gethostbyaddr.  Use
790         struct resolv_context.
791         (res_gethostbyaddr): New function.  Implement using
792         res_gethostbyaddr_context.
793         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Use struct
794         resolv_context.
795         * resolv/nss_dns/dns-host.c (gethostbyname3_context): Renamed from
796         _nss_dns_gethostbyname3_r.  Use struct resolv_context.
797         (_nss_dns_gethostbyname3_r): Implement using gethostbyname3_context.
798         (_nss_dns_gethostbyname_r, _nss_dns_gethostbyname4_r): Likewise.
799         (_nss_dns_gethostbyaddr2_r): Use struct resolv_context.
800         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r)
801         (_nss_dns_getnetbyaddr_r): Likewise.
802         * resolv/res-close.c (res_thread_freeres): Call
803         __resolv_context_freeres.
804         * resolv/res_libc.c (__res_maybe_init): Remove function.  Moved to
805         maybe_init in resolv/resolv_context.c.
806         * resolv/res_mkquery.c (__res_context_mkquery): Rename from
807         res_nmkquery.  Use struct resolv_context.
808         (context_mkquery_common): New function.
809         (res_nmkquery, res_mkquery): Use it.
810         (res_nopt): Switch to struct resolv_context.
811         * resolv/res_query.c (__res_context_querydomain): Renamed from
812         __libc_res_nquerydomain.  Use struct resolv_context.
813         (__res_context_query): Renamed from __libc_res_nquery.  Use struct
814         resolv_context.
815         (context_query_common): New function.
816         (res_nquery, res_query): Use it.
817         (__res_context_search): Renamed from __libc_res_nsearch.  Use
818         struct resolv_context.
819         (context_search_common): New function.
820         (res_nsearch, res_search): Use it.
821         (__res_context_querydomain): Rename from __libc_res_nquerydomain.
822         Use struct resolv_context.
823         (context_querydomain_common): New function.
824         (res_nquerydomain, res_querydomain): Use it.
825         (__res_context_hostalias): Rename from res_hostalias.  Use struct
826         resolv_context.
827         (context_hostalias_common): New function.
828         (res_hostalias, hostalias): Use it.
829         * resolv/res_send.c (__res_context_send): Renamed from
830         __libc_res_nsend.  Use struct resolv_context.
831         (context_send_common): New function.
832         (res_nsend, res_send): Use it.
833         * resolv/Makefile (routines): Add resolv_context.
834         * resolv/Versions (libc): Export __resolv_context_get,
835         __resolv_context_get_preinit, __resolv_context_get_override,
836         __resolv_context_put.  Remove __res_maybe_init.
837         (libresolv): Export __res_context_query, __res_context_search,
838         __res_context_hostalias.  Remove __libc_res_nquery,
839         __libc_res_nsearch.
840         * include/resolv.h (__res_maybe_init, __libc_res_nquery)
841         (__libc_res_nsearch, __libc_res_nsend): Remove declaration.
842         (__hostalias, __res_nmkquery, __res_nquery, __res_nquerydomain)
843         (__res_hostalias, __res_nsearch, __res_nsend): Remove hidden
844         prototypes.
845         * nss/nsswitch.h (__nss_hostname_digits_dots_context): Declare.
846         * nss/digits_dots.c (__nss_hostname_digits_dots_context): Renamed
847         from __nss_hostname_digits_dots.  Use struct resolv_context.
848         (__nss_hostname_digits_dots): New function.
849         * nss/getXXbyYY.c [HANDLE_DIGITS_DOTS] (FUNCTION_NAME): Acquire
850         struct resolv_context object.  Call new function
851         __nss_hostname_digits_dots_context.
852         * nss/getXXbyYY_r.c (REENTRANT_NAME): Use struct resolv_context.
853         * nss/getnssent_r.c (__nss_setent): Likewise.
854         * nscd/aicache.c (addhstaiX): Use struct resolv_context,
855         __resolv_context_disable_inet6 and __resolv_context_enable_inet6
856         instead of direct _res manipulation.
857         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Likewise.
859 2017-07-03  Florian Weimer  <fweimer@redhat.com>
861         * resolv/tst-resolv-res_init-skeleton.c
862         (special_tests_count, special_test_call_res_init)
863         (special_test_callback, special_test_thread_func)
864         (run_special_test_on_thread, special_test): Define.
865         (do_test): call special_test.
866         (test_init_names): Fix typo.
868 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
870         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
871         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
873 2017-07-01  Florian Weimer  <fweimer@redhat.com>
874             H.J. Lu  <hongjiu.lu@intel.com>
876         [BZ #21696]
877         * posix/sched_cpucount.c: Don't include <limits.h>.
878         (__sched_cpucount): Use __builtin_popcount.
880 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
882         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
883         Fix typo.
885 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
887         * include/math.h (__signbitf128): Define as hidden.
888         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
889         Reimplement without builtins.
890         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
891         (__builtin_signbitf128): Define to __signbitf128.
892         * sysdeps/powerpc/bits/floatn.h: Likewise.
893         * sysdeps/x86/bits/floatn.h: Likewise.
895 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
897         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
898         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
899         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
900         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
901         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
902         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
903         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
904         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
906         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
907         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
908         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
909         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
910         fcntl_common and add check for F_GETOWN.
911         (__libc_fcntl): Use SYSCALL_CANCEL macro.
912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
913         use default implementation.
915 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
917         * elf/dl-tunables.h (tunable_is_name): Move from...
918         * elf/dl-tunables.c (is_name): ... here.
919         (parse_tunables, __tunables_init): Adjust.
920         * manual/tunables.texi: Document glibc.tune.cpu.
921         * sysdeps/aarch64/dl-tunables.list: New file.
922         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
923         cpu_list): New type.
924         (cpu_list): New list of CPU names and their MIDR.
925         (get_midr_from_mcpu): New function.
926         (init_cpu_features): Override MIDR if necessary.
928         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
929         (__libc_ifunc_impl_list): Unconditionally select thunderx
930         routine for testing.
932 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
934         [BZ #21120]
935         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
936         * sysdeps/generic/malloc-alignment.h: Here.  New file.
937         * sysdeps/i386/malloc-alignment.h: Likewise.
938         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
940 2017-06-30  Florian Weimer  <fweimer@redhat.com>
942         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
943         variable.
944         (test_file_contents): Use it.
946 2017-06-30  Florian Weimer  <fweimer@redhat.com>
948         * resolv/res_init.c (res_setoptions): Remove source argument.
949         (res_vinit_1): Adjust.
951 2017-06-30  Florian Weimer  <fweimer@redhat.com>
953         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
955 2017-06-30  Florian Weimer  <fweimer@redhat.com>
957         * resolv/res_data.c: Reformat to GNU style.
958         (res_close): Update comments.
960 2017-06-30  Florian Weimer  <fweimer@redhat.com>
962         * resolv/res_data.c (res_query, res_search, res_querydomain)
963         (hostalias): Move to ...
964         * resolv/res_Send.c (res_query, res_search, res_querydomain)
965         (hostalias): here.
967 2017-06-30  Florian Weimer  <fweimer@redhat.com>
969         * resolv/res_data.c (res_isourserver, res_send): Move to ...
970         * resolv/res_send.c (res_isourserver, res_send): here.
972 2017-06-30  Florian Weimer  <fweimer@redhat.com>
974         * resolv/res_debug.c (_res_opcodes): Rename ...
975         (res_opcodes): ... as compatibility symbol.
976         (fp_nquery): Use res_opcodes.
977         * include/resolv.h (_res_opcodes): Remove declaration.
979 2017-06-30  Florian Weimer  <fweimer@redhat.com>
981         * include/resolv.h (res_pquery): Remove declaration.
982         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
983         functions.
984         (_res_opcodes): Remove variable.
985         * resolv/res_debug.c (do_section): Receive pfcode instead of
986         statp.
987         (res_pquery): Rename ...
988         (fp_nquery): to this function.  Skip unnecessary _res
989         initialization.
990         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
992 2017-06-30  Florian Weimer  <fweimer@redhat.com>
994         * resolv/res_debug.h: Remove file.
995         * resolv/README: Adjust.
997 2017-06-30  Florian Weimer  <fweimer@redhat.com>
999         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
1000         conditionals.
1001         (Aerror, Perror): Remove function definitions.
1003 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1005         * resolv/res_data.c (res_mkquery): Move ...
1006         * resolv/res_mkquery.c (res_mkquery): to here.
1008 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1010         * resolv/res_mkquery.c: Reformat to GNU style.
1011         (T_OPT): Remove definition.  It is present in the header file.
1013 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1015         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
1016         conditionals.
1018 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1020         * support/support_capture_subprocess_check.c
1021         (support_capture_subprocess_check): Report actual exit status.
1023 2017-06-30  Florian Weimer  <fweimer@redhat.com>
1025         [BZ #19570]
1026         * resolv/res_send.c (nameserver_offset): New function.
1027         (__libc_res_nsend): Use it to implement RES_ROTATE.
1028         (get_nsaddr): Add assert with name server
1029         range check.
1030         * resolv/Makefile (xtests): Add tst-resolv-rotate.
1031         (tst-resolv-rotate): Link against libpthread.
1032         * resolv/tst-resolv-rotate.c: New file.
1034 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
1036         [BZ #21457]
1037         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
1038         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
1039         [__WORDSIZE == 64] (MC_PC): Likewise.
1040         [__WORDSIZE == 64] (MC_NPC): Likewise.
1041         [__WORDSIZE == 64] (MC_Y): Likewise.
1042         [__WORDSIZE == 64] (MC_G1): Likewise.
1043         [__WORDSIZE == 64] (MC_G2): Likewise.
1044         [__WORDSIZE == 64] (MC_G3): Likewise.
1045         [__WORDSIZE == 64] (MC_G4): Likewise.
1046         [__WORDSIZE == 64] (MC_G5): Likewise.
1047         [__WORDSIZE == 64] (MC_G6): Likewise.
1048         [__WORDSIZE == 64] (MC_G7): Likewise.
1049         [__WORDSIZE == 64] (MC_O0): Likewise.
1050         [__WORDSIZE == 64] (MC_O1): Likewise.
1051         [__WORDSIZE == 64] (MC_O2): Likewise.
1052         [__WORDSIZE == 64] (MC_O3): Likewise.
1053         [__WORDSIZE == 64] (MC_O4): Likewise.
1054         [__WORDSIZE == 64] (MC_O5): Likewise.
1055         [__WORDSIZE == 64] (MC_O6): Likewise.
1056         [__WORDSIZE == 64] (MC_O7): Likewise.
1057         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
1058         __MC_NGREG if [__USE_MISC].
1059         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
1060         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
1061         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
1062         Define fields using __ctx.
1063         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
1064         using __ctx.
1065         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
1066         (REG_PSR): Define only for [__USE_MISC].
1067         (REG_PC): Likewise.
1068         (REG_nPC): Likewise.
1069         (REG_Y): Likewise.
1070         (REG_G1): Likewise.
1071         (REG_G2): Likewise.
1072         (REG_G3): Likewise.
1073         (REG_G4): Likewise.
1074         (REG_G5): Likewise.
1075         (REG_G6): Likewise.
1076         (REG_G7): Likewise.
1077         (REG_O0): Likewise.
1078         (REG_O1): Likewise.
1079         (REG_O2): Likewise.
1080         (REG_O3): Likewise.
1081         (REG_O4): Likewise.
1082         (REG_O5): Likewise.
1083         (REG_O6): Likewise.
1084         (REG_O7): Likewise.
1085         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
1086         [__WORDSIZE == 64] (REG_FPRS): Likewise.
1087         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
1088         (gregset_t): Define using __NGREG.
1089         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
1090         __SPARC_MAXREGWINDOW if [__USE_MISC].
1091         (struct rwindow): Rename to struct __rwindow.  Define fields using
1092         __ctx.
1093         (rw_fp): Define only for [__USE_MISC].
1094         (rw_rtn): Likewise.
1095         (gwindows_t): Remove struct tag.  Define fields using __ctx and
1096         __SPARC_MAXREGWINDOW.
1097         (MAXFPQ): Define only for [__USE_MISC].
1098         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
1099         (struct fq): Rename to struct __fq.  Define fields using __ctx.
1100         (FPU_REGS_TYPE): Define only for [__USE_MISC].
1101         (FPU_DREGS_TYPE): Likewise.
1102         (V7_FPU_FSR_TYPE): Likewise.
1103         (V9_FPU_FSR_TYPE): Likewise.
1104         (V9_FPU_FPRS_TYPE): Likewise.
1105         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
1106         using __ctx.
1107         [__WORDSIZE != 64] (fpregset_t): Likewise.
1108         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
1109         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
1110         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
1111         Rename field filler to __glibc_reserved1.
1112         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
1113         (MC_FILLER): Remove.
1115 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1117         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
1118         Adjust format string.
1119         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
1120         dependency.
1122 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1124         * sysdeps/posix/spawni.c (__spawni_child): New function.
1125         (__spawni): Rename to __spawnix.
1127 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1129         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
1130         Use it to make the temporary copy at the start of the work buffer.
1131         (process_arg): Adjust call to group_number.
1133 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1135         * stdio-common/vfprintf.c (printf_positional): Use struct
1136         scratch_buffer to allocate backing storage for the args_value,
1137         args_size, args_type arrays.
1139 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1141         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
1142         scratch_buffer.
1144 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1146         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
1147         wchar_t builds.
1149 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1151         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
1152         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
1154 2017-06-29  Florian Weimer  <fweimer@redhat.com>
1156         * stdio-common/tst-vfprintf-user-type.c: New file.
1157         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
1159 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1161         * posix/tst-spawn2.c (do_test): Use libsupport.
1162         * posix/tst-spawn3.c (do_test): Likewise.
1164 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1166         * math/gen-tgmath-tests.py (Tests.__init__): Define
1167         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
1169         * math/tgmath.h: Include <bits/libc-header-start.h> and
1170         <bits/floatn.h>.
1171         (__TGMATH_F128): New macro.
1172         (__TGMATH_CF128): Likewise.
1173         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
1174         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
1175         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
1176         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
1177         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
1178         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
1179         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
1180         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
1181         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
1182         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1183         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
1184         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
1185         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
1186         (__TGMATH_BINARY_REAL_IMAG): Likewise.
1187         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
1188         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
1189         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
1190         _FloatNx types if the corresponding HUGE_VAL macros are defined.
1192         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
1193         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
1194         complex arguments.
1196         [BZ #21687]
1197         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
1198         (totalorder): Use it.
1199         (totalordermag): Likewise.
1200         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
1201         totalorder and totalordermag.
1202         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
1203         totalordermag in arguments of calls to those functions.
1204         (NCALLS): Change to 134.
1206         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
1207         cast to return type argument.
1208         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
1209         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
1210         (llrint): Likewise.
1211         (lround): Likewise.
1212         (llround): Likewise.
1213         (ilogb): Likewise.
1214         (llogb): Likewise.
1215         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
1216         (ufromfp): Likewise.
1217         (fromfpx): Likewise.
1218         (ufromfpx): Likewise.
1220         [BZ #21607]
1221         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
1222         [LDBL_MANT_DIG > DBL_MANT_DIG].
1223         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
1224         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
1225         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
1226         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
1227         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
1228         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
1229         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
1230         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
1231         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
1232         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
1233         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
1234         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
1235         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
1236         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
1237         * math/test-tgmath.c: Include <float.h>.
1238         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1239         DBL_MANT_DIG].
1240         * math/test-tgmath2.c: Include <float.h>.
1241         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
1242         DBL_MANT_DIG].
1244         * math/gen-tgmath-tests.py: New file.
1245         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
1246         [PYTHON] (generated): Add test-tgmath3.c.
1247         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
1248         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
1250         * configure.ac (AS): Require binutils 2.25 or later.
1251         (LD): Likewise.
1252         * configure: Regenerated.
1253         * sysdeps/s390/configure.ac (AS): Remove version check.
1254         * sysdeps/s390/configure: Regenerated.
1255         * sysdeps/x86_64/configure.ac (AS): Remove version check.
1256         * sysdeps/x86_64/configure: Regenerated.
1257         * manual/install.texi (Tools for Compilation): Document
1258         requirement for binutils 2.25 or later.
1259         * INSTALL: Regenerated.
1261 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
1263         [BZ #14995]
1264         * configure.ac: Allow gold 1.14 or above to configire glibc
1265         * configure: Regenerated.
1267 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
1269         [BZ #21457]
1270         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
1271         struct tag.
1272         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
1273         Likewise.
1274         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
1275         Likewise.
1276         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
1277         Declare struct type with __ctx.
1278         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
1279         tag.
1280         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
1281         and regs field name.
1283 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
1285         * elf/loadtest.c (OUT): Define using do { } while (0).
1287         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
1288         (DO_NUMBER_SPACEPAD): Likewise.
1290 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
1292         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
1293         sysdep_routines.
1294         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
1295         __memchr_neon.
1296         Add ifunc definitions for __memchr_neon and __memchr_noneon.
1297         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
1298         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
1299         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
1301 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1303         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
1304         Use vector and cu21 instruction.
1305         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
1306         Add __to_utf8_loop_vx_cu in ifunc resolver.
1308 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1310         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
1311         Use vector and cu24 instruction.
1313 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1315         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
1316         Use vector and cu42 instruction.
1317         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
1318         Add __to_utf16_loop_vx_cu in ifunc resolver.
1320 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1322         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
1323         Use vector and cu41 instruction.
1324         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
1325         in ifunc resolver.
1327 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1329         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1330         Add vxd, vxe, gs flag.
1331         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
1332         HWCAP_S390_GS capability.
1333         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1334         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
1336 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
1338         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
1339         the first 32 bytes before checking size when size >= 32 bytes.
1340         Replace vpmovmskb/subl/jnz with vptest/jnc.
1342 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1344         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
1345         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
1347 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1349         Work around test timeouts with ICMP rate limiting on localhost.
1350         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
1351         function.
1352         (do_test): Call it.
1354 2017-06-27  Florian Weimer  <fweimer@redhat.com>
1356         Call _res_hconf_init from __res_vinit.
1357         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1358         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
1359         (NEED__RES): Define.
1360         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
1361         (NEED__RES): Define.
1362         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
1363         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
1364         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
1365         (NEED__RES): Define.
1366         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
1367         _res_hconf_init.
1368         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
1369         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
1370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
1371         _res_hconf_init.
1373 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
1375         * sysdeps/ia64/Implies: Add ieee754/float128.
1376         * sysdeps/ia64/bits/floatn.h: New file.
1377         * sysdeps/ia64/float128-abi.h: Likewise.
1378         * manual/math.texi (Mathematics): Document support for _Float128
1379         on ia64.
1380         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
1381         Makefile variable.
1382         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
1383         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
1384         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
1385         * sysdeps/ia64/math-tests.h: New file.
1386         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
1387         based on TEST_COND_binary128 for [__ia64__].
1388         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
1389         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
1391         [BZ #21457]
1392         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
1393         ucontext_t.
1394         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
1395         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
1396         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
1397         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
1398         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
1399         ucontext): Likewise.
1400         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
1401         Likewise.
1402         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
1403         Likewise.
1404         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
1405         Likewise.
1406         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
1407         Likewise.
1408         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
1409         Likewise.
1410         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
1411         Likewise.
1412         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
1413         Likewise.
1414         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
1415         ucontext): Likewise.
1416         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
1417         Likewise.
1418         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
1419         Likewise.
1420         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
1421         Likewise.
1422         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
1423         Likewise.
1424         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
1425         Likewise.
1426         * sysdeps/powerpc/powerpc32/backtrace.c (struct
1427         rt_signal_frame_32): Likewise.
1428         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
1429         Likewise.
1430         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
1431         kernel_rt_sigframe): Likewise.
1432         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
1433         Likewise.
1434         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
1435         Likewise.
1436         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
1437         Likewise.
1438         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
1439         (__profil_counter): Likewise.
1440         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
1441         (SIGCONTEXT): Likewise.
1442         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
1443         kernel_rt_sigframe): Likewise.
1444         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
1445         kernel_rt_sigframe): Likewise.
1446         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
1447         Likewise.
1448         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
1449         Likewise.
1450         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
1451         (__start_context): Likewise.
1452         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
1453         Likewise.
1454         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
1455         Likewise.
1456         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
1457         Likewise.
1459         * sysdeps/i386/Implies: Add ieee754/float128.
1460         * sysdeps/x86_64/Implies: Likewise.
1461         * sysdeps/x86/bits/floatn.h: New file.
1462         * sysdeps/x86/float128-abi.h: Likewise.
1463         * manual/math.texi (Mathematics): Document support for _Float128
1464         on x86_64 and x86.
1465         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
1466         (math_opt_barrier): Do not put _Float128 values in floating-point
1467         registers.
1468         (math_force_eval): Likewise.
1469         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
1470         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
1471         to Makefile variable.
1472         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
1473         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
1474         * sysdeps/x86/math-tests.h: New file.
1475         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
1476         * math/libm-test-getpayload.inc (getpayload_test_data): Use
1477         XFAIL_FLOAT128_PAYLOAD.
1478         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
1479         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
1480         * math/libm-test-totalordermag.inc (totalordermag_test_data):
1481         Likewise.
1482         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
1483         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1484         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1485         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1486         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1487         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1488         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
1489         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1490         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1492 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1494         [BZ #21512]
1495         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
1496         syscall instead of jump to _exit.
1497         (CLONE_VM_BIT): Remove unused define.
1498         (CLONE_VM): Likewise.
1499         (CLONE_THREAD_BIT): Likewise.
1500         (CLONE_THREAD): Likewise.
1501         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
1502         (CLONE_VM): Remove unused define.
1503         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
1504         (CLONE_VM): Remove unused define.
1505         (CLONE_THREAD): Likewise.
1506         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
1507         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
1508         syscall instead of jump to _exit.
1509         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
1510         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
1511         (CLONE_VM): Remove unused define.
1512         (CLONE_THREAD): Likewise.
1513         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
1514         (CLONE_VM): Remove unused define.
1515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
1516         Likewise.
1517         (CLONE_VM): Remove unused define.
1518         (CLONE_THREAD): Likewise.
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1520         Likewise.
1521         (CLONE_VM): Remove unused define.
1522         (CLONE_THREAD): Likewise.
1523         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
1524         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
1525         (CLONE_VM): Remove unused define.
1526         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
1527         (CLONE_VM): Remove unused define.
1528         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
1529         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
1530         (CLONE_VM): Remove unused define.
1531         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
1532         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
1534 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1535             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1537         * manual/math.texi (Mathematics): Mention the enabling of float128
1538         for powerpc64le.
1539         * sysdeps/powerpc/bits/floatn.h: New file.
1540         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1541         * sysdeps/powerpc/fpu/math_private.h:
1542         (__ieee754_sqrtf128): New inline override.
1543         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
1544         * sysdeps/powerpc/powerpc64le/Makefile: New file.
1545         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
1546         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
1547         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
1548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
1549         Updated.
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1551         Likewise.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
1553         New file.
1555 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1557         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
1558         * sysdeps/powerpc/powerpc64le/configure: Update.
1560 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1561             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1563         * INSTALL: Regenerate.
1564         * manual/install.texi (Recommended Tools for Compilation): Mention
1565         the powerpc64le-specific requirement in the manual.
1566         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
1567         for the compiler features required for building float128.
1568         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
1570 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1572         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
1573         before comparing with another char.
1575 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
1577         * manual/math.texi: Fix a grammatical error.
1579 2017-06-24  Florian Weimer  <fweimer@redhat.com>
1581         [BZ #21295]
1582         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
1584 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
1586         [BZ #21295]
1587         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
1588         Append addresses at the end of the list.
1590 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1592         [BZ #21666]
1593         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
1594         (loc2): Likewise.
1595         (locs): Likewise.
1597 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1599         [BZ #16637]
1600         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
1601         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
1602         digits between colons.
1603         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
1605 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1606             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
1608         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
1609         (__sched_get_prioriry_min): Likewise.
1610         * include/sys/mman.h (__mmap): Likewise.
1611         (__mmap64): Likewise.
1612         (__munmap): Likewise.
1613         (__mprotect): Likewise.
1614         * include/termios.h (__tcsetattr): Likewise.
1615         * include/time.h (__nanosleep): Use hidden_proto instead of
1616         libc_hidden_proto.
1617         * posix/nanosleep.c (__nanosleep): Likewise.
1618         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
1619         __sched_get_priority_min, and __sched_get_priority_max under
1620         GLIBC_PRIVATE.
1621         * nptl/allocatestack.c (__free_stacks): Use internal definition for
1622         libc symbols.
1623         (change_stack_perm): Likewise.
1624         (change_stack_perm): Likewise.
1625         (allocate_stack): Likewise.
1626         * sysdeps/posix/gethostname.c: Likewise.
1627         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
1628         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
1629         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
1630         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
1631         (__pthread_key_delete): Likewise.
1632         (__pthread_detach): Likewise.
1633         (__pthread_cancel): Likewise.
1634         (__pthread_mutex_trylock): Likewise.
1635         (__pthread_mutexattr_init): Likewise.
1636         (__pthread_mutexattr_settype): Likewise.
1637         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
1638         create alias for exported one.
1639         * nptl/pthread_join.c (pthread_join): Likewise.
1640         * nptl/pthread_detach.c (pthread_detach): Likewise.
1641         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
1642         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
1643         * nptl/pthread_create.c: Change static requirements for pthread
1644         symbols.
1645         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
1646         for internal definition.
1647         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1648         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
1649         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
1650         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
1651         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1652         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
1653         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
1654         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
1655         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
1656         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
1657         Likewise.
1658         * nptl/pthread_self.c (__pthread_self): Likewise.
1659         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
1660         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
1661         * misc/mmap.c (__mmap): Add internal symbol definition.
1662         * misc/mmap.c (__mmap64): Likewise.
1663         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
1664         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
1665         (__mmap64): Likewise.
1666         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
1667         Add __uname.
1669 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
1671         * sysdeps/i386/fpu/libm-test-ulps: Update.
1672         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
1674         * libm-test-support.c (check_float_internal): Clear exceptions at
1675         end of function.
1676         (check_int): Likewise.
1677         (check_long): Likewise.
1678         (check_bool): Likewise.
1679         (check_longlong): Likewise.
1680         (check_intmax_t): Likewise.
1681         (check_uintmax_t): Likewise.
1683         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
1684         Do not declare.
1685         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
1686         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
1687         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
1689 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
1691         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1692         Replace movzbl and orl with movb.
1694 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1696         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
1697         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
1698         and HUGE_VAL_FNx.
1699         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
1700         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
1701         are in math.h, to avoid having to list the _FloatN and _FloatNx
1702         variants as well.  Likewise for the cabs functions.
1703         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
1704         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
1705         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
1706         come from TS 18661-3, since this section explicitly states that
1707         these functions come from BSD.
1708         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
1709         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
1710         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
1711         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
1712         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
1713         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
1714         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
1715         remainderfNx.
1716         (Setting and modifying single bits of FP values): Document
1717         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
1718         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
1719         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
1720         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
1721         (Floating-Point Comparison Functions): Document totalorderfN,
1722         totalorderfNx, totalordermagfN, totalordermagfNx.
1723         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
1724         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
1725         fdimfN, fdimfNx, fmafN, fmafNx.
1726         (Complex Numbers): Document the complex types: _FloatN complex and
1727         _FloatNx complex.
1728         (rojections, Conjugates, and Decomposing of Complex Numbers):
1729         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
1730         cargfN, cargfNx, cprojfN, cprojfNx.
1731         * manual/math.texi (Mathematics): Mention that the _FloatN and
1732         _FloatNx variants of the math functions come from TS 18661-3,
1733         unless otherwise stated.
1734         (Predefined Mathematical Constants): Document the _FloatN and
1735         _FloatNx variants of the macros prefixed with M_.
1736         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
1737         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
1738         ccosfNx, ctanfN, ctanfNx.
1739         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
1740         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
1741         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
1742         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
1743         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
1744         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
1745         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
1746         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
1747         cpowfNx.
1748         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
1749         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
1750         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
1751         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
1752         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
1753         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
1754         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
1755         ynfN, ynfNx.
1757 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1759         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
1761 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1763         * resolv/res_libc.c: Reformat to GNU style.
1765 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1767         * resolv/resolv-internal.h (__res_initstamp): Declare.
1768         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
1769         It is implied by the declaration.
1770         * resolv/res_libc.c (__res_initstamp): Remove declaration.
1772 2017-06-23  Florian Weimer  <fweimer@redhat.com>
1774         [BZ #21662]
1775         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
1776         Use only 24 bits of the register before the subtraction.
1777         * string/test-memcmp.c (check1): Check with different lengths.
1779 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1781         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
1782         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
1784 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1786         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
1787         Enable generation of float128 entries on the error table.
1789 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1791         * include/float.h: Include libc-header-start.h to get the
1792         definition of __GLIBC_USE.
1794 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1796         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
1797         rearranged code and doubles float types.
1799 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
1801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
1802         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
1804 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
1806         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
1807         to errno, and simplify remaining related code.
1809 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1811         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
1812         PPC_FEATURE2_SCV.
1813         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
1814         and darn.
1816 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1818         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
1819         the implementation-specific function name and remove unneeded macros
1820         definition.
1821         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
1822         function name if not defined and pass as parameter to macros
1823         accordingly.
1825 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1827         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1828         (libm-sysdep_routines): Add s_llroundf-ppc64.
1829         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
1830         (__llroundf): Define as strong alias of __llround.
1831         (llroundf):  Define as weak alias of __llround.
1832         (__lroundf): Define as strong alias of __llround.
1833         (lroundf):  Define as weak alias of __llround.
1834         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
1835         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
1836         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
1837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
1838         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
1839         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
1840         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
1842 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
1844         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
1845         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
1847         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
1848         (MATH_TESTS_TG): New macro.
1849         (SNAN_TESTS_float128): Likewise.
1850         (ROUNDING_TESTS_float128): Likewise.
1851         (EXCEPTION_TESTS_float128): Likewise.
1852         (SNAN_TESTS): Define using MATH_TESTS_TG.
1853         (ROUNDING_TESTS): Likewise.
1854         (EXCEPTION_TESTS): Likewise.
1856         * sysdeps/ieee754/float128/float128_private.h
1857         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1858         pass it to SET_RESTORE_ROUNDF128.
1860         * sysdeps/ieee754/float128/float128_private.h: Include
1861         <ieee754.h>.
1863         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1864         typeof to argument passed to __builtin_types_compatible_p.
1865         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1867         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1868         <errno.h>.
1869         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1870         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1871         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1872         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1873         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1874         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1875         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1876         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1877         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1878         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1879         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1880         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1881         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1882         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1883         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1884         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1885         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1886         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1887         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1888         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1889         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1890         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1892         * sysdeps/ieee754/float128/strtof128_l.c: Include
1893         <bits/types/locale_t.h> instead of <xlocale.h>.
1894         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1895         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1897 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1899         * benchtests/scripts/benchout_strings.schema.json: New file.
1900         * benchtests/scripts/compare_strings.py: New file.
1902         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1903         (do_one_test): Print json.
1904         (do_test): Likewise.
1905         (test_main): Likewise.
1906         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1907         (do_one_test): Print json.
1908         (do_test): Likewise.
1909         (test_main): Likewise.
1910         * benchtests/bench-memcpy.c: Include json-lib.h.
1911         (do_one_test): Print json.
1912         (do_test): Likewise.
1913         (test_main): Likewise.
1915         * benchtests/json-lib.h: Include inttypes.h.
1916         (json_attr_int, json_attr_int, json_element_string,
1917         json_element_int, json_element_uint): New functions.
1918         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1919         json_element_string, json_element_int, json_element_uint): New
1920         functions.
1922 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1924         * manual/arith.texi (Remainder Functions): Describe remainder as
1925         primary and drem as an alternative name.  Change the comment on
1926         remainder to ISO, since it is defined in ISO C99.
1928 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1930         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1931         macro expansion.
1932         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1934 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1936         [BZ #21533]
1937         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1938         201706L for Unicode 10.0.
1940 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1942         [BZ #21657]
1943         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1944         on node-local addresses.
1945         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1947 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1949         * intl/loadmsgcat.c: Remove alloca support.
1950         (_nl_load_domain): Use calloc instead of alloca.
1952 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1954         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1955         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1956         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1957         alloc_buffer_create_failure.
1958         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1959         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1960         (__libc_alloc_buffer_copy_string)
1961         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1962         * malloc/alloc_buffer_alloc_array.c: New file.
1963         * malloc/alloc_buffer_allocate.c: Likewise.
1964         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1965         * malloc/alloc_buffer_copy_string.c: Likewise.
1966         * malloc/alloc_buffer_create_failure.c: Likewise.
1967         * malloc/tst-alloc_buffer.c: Likewise.
1969 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1971         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1972         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1973         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1974         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1975         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1976         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1977         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1978         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1979         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1980         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1981         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1982         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1983         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1984         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1985         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1986         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1987         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1988         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1989         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1990         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1991         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1992         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1993         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1994         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1995         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1996         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1997         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1998         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1999         "locale-defines.h".
2000         (UPDATE_STRNCMP_COUNTER): New.
2001         (SECTION): Likewise.
2002         (GLABEL): Likewise.
2003         (LABEL): Likewise.
2004         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
2005         for libc.a.
2007 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
2009         [BZ #21622]
2010         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
2011         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
2012         __USE_MISC].
2013         (SA_NODEFER): Likewise.
2014         (SA_RESETHAND): Likewise.
2016 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
2018         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
2019         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
2020         Remove security_level on all fields.
2021         * manual/tunables.texi: Replace ifunc with hwcaps.
2022         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
2023         Renamed to ..
2024         (TUNABLE_CALLBACK (set_hwcaps)): This.
2025         (init_cpu_features): Updated.
2026         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
2027         data_cache_size, data_cache_size and non_temporal_threshold to
2028         unsigned long int.
2029         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
2030         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
2031         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
2032         use DEFAULT_STRLEN.
2034 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2036         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
2037         asprintf to construct an absolute pathname.
2039 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2041         * misc/tst-preadvwritev2-common.c: New file.
2042         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
2043         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
2045 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2047         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
2048         annotation.
2049         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
2051 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2053         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
2054         hidden __GI__dl_argv symbol.
2056 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2058         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
2059         to parse addresses with IPv6 scope IDs.
2061 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2063         Add the __inet_pton_length helper function.
2064         * resolv/resolv-internal.h (__inet_pton_length): Declare.
2065         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
2066         Add length argument.
2067         (__inet_pton): New function.
2068         (inet_pton4): Add length argument.
2069         (hex_digit_value): New function.
2070         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
2071         memmove and memset to fill :: gap.
2072         * resolv/Makefile (tests, tsts-static, tests-internal): Add
2073         tst-inet_pton.
2074         * resolv/tst-inet_pton.c: New file.
2075         * support/Makefile (libsupport-routines): Add xmprotect.
2076         * support/xunistd.h (xmprotect): Declare.
2077         * support/xmprotect.c: New file.
2079 2017-06-21  Florian Weimer  <fweimer@redhat.com>
2081         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
2082         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
2083         (call_gai, check_ai): New functions.
2084         (expect_failure, expect_success): Use them.  Add logging.
2086 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2088         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2089         (sysdep_routines): Add memchr_power8.
2090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2091         (memchr): Add __memchr_power8 to list of memchr functions.
2092         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
2093         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
2094         (memchr): Add __memchr_power8 to ifunc list.
2095         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
2097 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2099         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
2100         (__llrintf): Define as strong alias of __llrint.
2101         (llrintf):  Define as weak alias of __llrint.
2102         (__lrintf): Define as strong alias of __llrint.
2103         (lrintf):  Define as weak alias of __llrint.
2104         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
2105         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2106         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
2107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
2109 2017-06-20  Zack Weinberg  <zackw@panix.com>
2111         * bits/signum-generic.h: Renamed from bits/signum.h.
2112         Add proper multiple include guard and misuse check.
2113         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
2114         Move definition of SIGIO to "archaic names for compatibility" section.
2115         * bits/signum.h: New file which just includes bits/signum-generic.h.
2116         * sysdeps/unix/bsd/bits/signum.h
2117         * sysdeps/unix/sysv/linux/bits/signum.h
2118         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
2119         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
2120         * sysdeps/unix/sysv/linux/mips/bits/signum.h
2121         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
2122         Just include <bits/signum-generic.h> and then add or adjust
2123         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
2125         * signal/Makefile: Install bits/signum-generic.h.
2126         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
2128         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
2129         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
2131         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
2132         * sysdeps/unix/sysv/linux/Makefile: Run it.
2134 2017-06-20  Zack Weinberg  <zackw@panix.com>
2136         * locale/xlocale.h: Rename to...
2137         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
2138         Only define struct __locale_struct and __locale_t, not locale_t.
2139         * locale/bits/types/locale_t.h: New file; define locale_t here.
2140         * locale/Makefile (headers): Update to match.
2142         * include/xlocale.h: Delete wrapper.
2143         * include/bits/types/__locale_t.h: New wrapper.
2144         * include/bits/types/locale_t.h: New wrapper.
2146         * ctype/ctype.h, include/printf.h, include/time.h
2147         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
2148         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
2149         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
2150         Correct outdated comments regarding the standardization status of
2151         the functions that take locale_t arguments.
2153         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
2154         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2155         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2156         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2157         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2158         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
2159         Don't include xlocale.h. If necessary, include locale.h instead.
2161         * stdlib/strtold_l.c: Unconditionally include wchar.h.
2163         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
2164         * include/monetary.h, include/stdlib.h, include/time.h
2165         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
2166         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
2167         * locale/localeinfo.h, locale/newlocale.c
2168         * locale/nl_langinfo_l.c, locale/uselocale.c
2169         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
2170         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
2171         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
2172         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
2173         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
2174         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
2175         * string/strings.h, string/strncase.c, string/strxfrm_l.c
2176         * sysdeps/ieee754/float128/strtof128_l.c
2177         * sysdeps/ieee754/float128/wcstof128.c
2178         * sysdeps/ieee754/float128/wcstof128_l.c
2179         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
2180         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
2181         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
2182         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
2183         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
2184         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
2185         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
2186         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
2187         * sysdeps/x86_64/strcasecmp_l-nonascii.c
2188         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
2189         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
2190         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
2191         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
2192         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
2193         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
2194         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
2195         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
2196         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
2197         Change all uses of __locale_t to locale_t.
2199 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2201         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
2202         for !__OFF_T_MATCHES_OFF64_T.
2203         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
2204         implementation based on open64.
2205         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
2206         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
2208 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2210         * elf/dl-tunables.list: Move x86 specific tunables to ...
2211         * sysdeps/x86/dl-tunables.list: Here.  New file.
2213 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
2215         [BZ #21635]
2216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
2217         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
2218         * conform/data/signal.h-data (uc_mcontext): XFAIL for
2219         powerpc32-linux.
2220         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
2222         [BZ #21634]
2223         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
2224         (conformtest-xfail-conds): New variable.
2225         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
2226         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
2228 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2230         * benchtests/powf-inputs: Add reduced trace from wrf.
2232 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
2233             Erich Elsen  <eriche@google.com>
2235         * elf/dl-tunables.list (tune): Add ifunc,
2236         x86_non_temporal_threshold,
2237         x86_data_cache_size and x86_shared_cache_size.
2238         * manual/tunables.texi: Document glibc.tune.ifunc,
2239         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
2240         and glibc.tune.x86_non_temporal_threshold.
2241         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
2242         * sysdeps/x86/cpu-tunables.c: Likewise.
2243         * sysdeps/x86/cacheinfo.c
2244         (init_cacheinfo): Check and get data cache size, shared cache
2245         size and non temporal threshold from cpu_features.
2246         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
2247         New.
2248         [HAVE_TUNABLES] Include <unistd.h>.
2249         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
2250         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
2251         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
2252         IFUNC selection, data cache size, shared cache size and non
2253         temporal threshold.
2254         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
2255         shared_cache_size and non_temporal_threshold.
2257 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2259         * benchtests/README: Describe workload feature.
2260         * benchtests/bench-skeleton.c (main): Add support for
2261         benchmarking traces from workloads.
2263 2017-06-20  Zack Weinberg  <zackw@panix.com>
2265         * string/string.h (__mempcpy_inline): Delete.
2266         * sysdeps/x86_64/multiarch/mempcpy.c
2267         * sysdeps/x86_64/multiarch/stpcpy.c:
2268         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
2269         before including string.h.
2271 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
2273         * benchtests/Makefile (bench-math): Add powf.
2274         * benchtests/powf-inputs: New file.
2276 2017-06-20  Zack Weinberg  <zackw@panix.com>
2278         * bits/string.h, string/bits/string.h
2279         * sysdeps/aarch64/bits/string.h
2280         * sysdeps/m68k/m680x0/m68020/bits/string.h
2281         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
2282         * sysdeps/x86/bits/string.h: Delete file.
2284         * string/string.h: Don't include bits/string.h.
2285         * string/bits/string3.h: Rename to bits/string_fortified.h.
2286         No need to undef various symbols that the removed headers
2287         might have defined as macros.
2288         * string/Makefile (headers): Remove bits/string.h, change
2289         bits/string3.h to bits/string_fortified.h.
2290         * string/string-inlines.c: Update commentary.  Remove definitions
2291         of various macros that nothing looks at anymore.  Don't directly
2292         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
2293         compiler-predefined macros.
2294         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
2295         _is_ defined, provide internal hidden alias __strncat.
2296         * include/string.h: Declare internal hidden alias __strncat.
2297         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
2298         not defined.
2299         * include/bits/string3.h: Rename to bits/string_fortified.h,
2300         update to match above.
2302         * sysdeps/i386/string-inlines.c: Define compat symbols for
2303         everything formerly defined by sysdeps/x86/bits/string.h.
2304         Make existing definitions into compat symbols as well.
2305         Remove some no-longer-necessary messing around with macros.
2307         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2308         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2309         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2310         * sysdeps/s390/multiarch/mempcpy.c
2311         No need to define _HAVE_STRING_ARCH_mempcpy.
2312         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
2314         * sysdeps/i386/i686/multiarch/strncat-c.c
2315         * sysdeps/s390/multiarch/strncat-c.c
2316         * sysdeps/x86_64/multiarch/strncat-c.c
2317         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
2319 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
2321         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
2322         (LDBL_DIG): Likewise.
2323         (LDBL_MIN_EXP): Likewise.
2324         (LDBL_MIN_10_EXP): Likewise.
2325         (LDBL_MAX_EXP): Likewise.
2326         (LDBL_MAX_10_EXP): Likewise.
2327         (LDBL_MAX): Likewise.
2328         (LDBL_MIN): Likewise.
2329         (LDBL_EPSILON): Likewise.
2330         (FLT_ROUNDS): Change standard from ISO to C90.
2331         (FLT_RADIX): Likewise.
2332         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
2333         (FLT_DIG, DBL_DIG): Likewise.
2334         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
2335         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
2336         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
2337         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
2338         (FLT_MAX, DBL_MAX): Likewise.
2339         (FLT_MIN, DBL_MIN): Likewise.
2340         (FLT_EPSILON, DBL_EPSILON): Likewise.
2342 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2344         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
2345         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
2346         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
2347         * sysdeps/mips/math-tests.h
2348         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
2349         conditional code.
2351 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2353         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
2354         It cannot change while __libc_setlocale_lock is acquired.
2356 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2358         * elf/rtld.c (audit_list_string): New variable.
2359         (audit_list): Update comment.
2360         (struct audit_list_iter): Define.
2361         (audit_list_iter_init, audit_list_iter_next): New function.
2362         (dl_main): Use struct audit_list_iter to process audit modules.
2363         (process_dl_audit): Call dso_name_valid_for_suid.
2364         (process_envvars): Set audit_list_string instead of calling
2365         process_dl_audit.
2367 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2369         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
2370         (dso_name_valid_for_suid): New function.
2371         (handle_ld_preload): Likewise.
2372         (dl_main): Call it.  Remove alloca.
2374 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2376         [BZ #21625]
2377         * posix/sys/wait.h (strust rusage forward declaration): Change
2378         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
2379         !__USE_XOPEN2K].
2380         (wait3): Likewise.
2382         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
2383         * configure: Regenerated.
2384         * manual/install.texi (Tools for Compilation): Document
2385         requirement for GCC 4.9 or later.
2386         * INSTALL: Regenerated.
2388 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2390         [BZ #21624]
2391         CVE-2017-1000366
2392         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
2393         __libc_enable_secure.
2395 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2397         [BZ #21539]
2398         * NEWS: Mention s390 ptrace request changes.
2399         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
2400         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
2401         PTRACE_SETFPREGS): Remove enum constant.
2402         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
2403         Remove defines.
2404         (PTRACE_SINGLEBLOCK): New enum constant.
2405         (PT_STEPBLOCK): New define.
2406         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
2407         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
2408         PTRACE_TE_ABORT_RAND): New enum constant and define.
2409         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
2410         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
2411         New file.
2412         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
2414 2017-06-16  Florian Weimer  <fweimer@redhat.com>
2416         * resolv/res_init.c (res_vinit_1): Use getline to read from the
2417         configuration file.
2418         (__res_vinit): Adjust.
2420 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2422         * resolv/res_init.c (res_vinit_1): New function.
2423         (__res_vinit): Call it.  Handle file open and memory allocation
2424         failures.
2425         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
2426         erno from __res_maybe_init failure.
2427         (_nss_dns_gethostbyname4_r): Likewise.
2428         (_nss_dns_gethostbyaddr2_r): Likewise.
2429         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
2430         (_nss_dns_getnetbyaddr_r): Likewise.
2432 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2434         * resolv/res_init.c: Reformat to GNU style.
2436 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2438         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
2439         (is_sort_mask): New function.
2440         (__res_vinit): Use it.
2442 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2444         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
2445         conditionals.
2447 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2449         * resolv/res-close.c: New file.
2450         * resolv/res_init.c (__res_iclose, res_nclose)
2451         (res_thread_freeres): Remove definitions.
2452         * resolv/Makefile (routines): Add res-close.
2454 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2456         * resolv/res_randomid.c: New file.
2457         * resolv/res_init.c (res_randomid): Remove definition.
2458         * resolv/Makefile (routines): Add res_randomid.
2460 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2462         * include/resolv.h (__res_vinit): Declare as hidden.
2463         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
2464         * resolv/res_libc.c (res_init): Likewise.
2466 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
2468         [BZ #21457]
2469         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
2470         _libc_xmmreg): Use __ctx in defining field.
2472         [BZ #21597]
2473         * signal/signal.h (siginterrupt): Make declaration conditional on
2474         [__USE_XOPEN_EXTENDED || __USE_MISC].
2476         [BZ #21584]
2477         * signal/signal.h: Make includes of <bits/sigstack.h> and
2478         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
2479         __USE_MISC].
2480         (sigaltstack): Make declaration conditional on
2481         [__USE_XOPEN_EXTENDED || __USE_MISC].
2483         [BZ #21575]
2484         * resource/bits/types/struct_rusage.h: New file.
2485         * include/bits/types/struct_rusage.h: Likewise.
2486         * bits/resource.h (struct rusage): Include
2487         <bits/types/struct_rusage.h> instead of defining here.
2488         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
2489         Likewise.
2490         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
2495         Likewise.
2496         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
2497         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
2498         Include <bits/types/struct_rusage.h>
2500 2017-06-19  Florian Weimer  <fweimer@redhat.com>
2502         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
2504 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2506         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
2508 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2510         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
2512 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
2514         [BZ #21537]
2515         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2516         Check SHARED instead of PIC.
2517         (SYSCALL_PIC_SETUP): Add missing semicolons.
2518         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
2519         Check SHARED instead of PIC.
2520         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
2521         (__makecontext_ret): Adjust code to jump to exit.
2523 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
2525         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
2526         Simplify code by always using SVC 0 instead of EX.
2527         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
2529 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
2531         * elf/Versions (ld): Remove _dl_out_of_memory.
2533 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
2535         * timezone/private.h: Update from tzcode 2017b.
2536         * timezone/tzfile.h: Likewise.
2537         * timezone/tzselect.ksh: Likewise.
2538         * timezone/zdump.c: Likewise.
2539         * timezone/zic.c: Likewise.
2540         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
2541         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
2542         * time/tzset.c (SECSPERDAY): New macro.
2544 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2546         * manual/string.texi (strdup): Complete header and standards
2547         annotation.
2548         (strncpy): Likewise.
2550 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2552         * manual/arith.texi (FP_NAN): Add or complete header and standard
2553         annotations.
2554         (FP_INFINITE): Likewise.
2555         (FP_ZERO): Likewise.
2556         (FP_SUBNORMAL): Likewise.
2557         (FP_NORMAL): Likewise.
2558         (SNAN): Likewise.
2559         (SNANL): Likewise.
2560         (totalorderf): Likewise.
2561         (totalorderl): Likewise.
2562         (totalordermagf): Likewise.
2563         (totalordermagl): Likewise.
2564         (_Complex_I): Likewise.
2565         (I): Likewise.
2567 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
2569         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
2570         standard annotation.
2571         (ARGP_HELP_SHORT_USAGE): Likewise.
2572         (ARGP_HELP_SEE): Likewise.
2573         (ARGP_HELP_LONG): Likewise.
2574         (ARGP_HELP_PRE_DOC): Likewise.
2575         (ARGP_HELP_POST_DOC): Likewise.
2576         (ARGP_HELP_DOC): Likewise.
2577         (ARGP_HELP_BUG_ADDR): Likewise.
2578         (ARGP_HELP_LONG_ONLY): Likewise.
2579         (ARGP_HELP_EXIT_ERR): Likewise.
2580         (ARGP_HELP_EXIT_OK): Likewise.
2581         (ARGP_HELP_STD_ERR): Likewise.
2582         (ARGP_HELP_STD_USAGE): Likewise.
2583         (ARGP_HELP_STD_HELP): Likewise.
2585 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2587         * manual/Makefile: Generate summary.texi with summary.pl.  Force
2588         use of the C locale.  Update Perl dependency comment.
2589         * manual/header.texi: Update reference to summary.awk.
2590         * manual/macros.texi: Refer authors to `summary.pl --help'.
2591         * manual/summary.awk: Remove file.
2592         * manual/summary.pl: New file.  Generate summary.texi, and check
2593         for @standards-related syntax errors.
2594         * manual/argp.texi: Convert header and standards @comments to
2595         @standards.
2596         * manual/arith.texi: Likewise.
2597         * manual/charset.texi: Likewise.
2598         * manual/conf.texi: Likewise.
2599         * manual/creature.texi: Likewise.
2600         * manual/crypt.texi: Likewise.
2601         * manual/ctype.texi: Likewise.
2602         * manual/debug.texi: Likewise.
2603         * manual/errno.texi: Likewise.
2604         * manual/filesys.texi: Likewise.
2605         * manual/getopt.texi: Likewise.
2606         * manual/job.texi: Likewise.
2607         * manual/lang.texi: Likewise.
2608         * manual/llio.texi: Likewise.
2609         * manual/locale.texi: Likewise.
2610         * manual/math.texi: Likewise.
2611         * manual/memory.texi: Likewise.
2612         * manual/message.texi: Likewise.
2613         * manual/pattern.texi: Likewise.
2614         * manual/pipe.texi: Likewise.
2615         * manual/process.texi: Likewise.
2616         * manual/resource.texi: Likewise.
2617         * manual/search.texi: Likewise.
2618         * manual/setjmp.texi: Likewise.
2619         * manual/signal.texi: Likewise.
2620         * manual/socket.texi: Likewise.
2621         * manual/startup.texi: Likewise.
2622         * manual/stdio.texi: Likewise.
2623         * manual/string.texi: Likewise.
2624         * manual/sysinfo.texi: Likewise.
2625         * manual/syslog.texi: Likewise.
2626         * manual/terminal.texi: Likewise.
2627         * manual/threads.texi: Likewise.
2628         * manual/time.texi: Likewise.
2629         * manual/users.texi: Likewise.
2631 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
2633         * manual/macros.texi (@standards): New macro.  Provide placeholder
2634         for header and standards annotations.
2635         (@standardsx): New macro.  Likewise, for lists of @*x elements.
2637 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2639         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
2640         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
2641         rule.
2642         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
2643         sync_file_range.
2645          * support/support_test_main.c (support_test_main):  Use optstring
2646          member for option string in getopt_long.
2647          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
2648          (CMDLINE_OPTSTRING): New define.
2649          * support/test-driver.h (test_config): Add optstring member.
2651 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2654         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
2655         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
2656         Check USE_AS_STRPBRK instead of STRPBRK_P.
2657         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
2658         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
2659         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
2660         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
2661         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
2662         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
2663         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
2664         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
2665         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
2666         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
2667         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2668         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
2669         and "#endif".
2671 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2673         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
2674         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
2676 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2678         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2679         strcat-sse2.
2680         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
2681         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
2682         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
2683         * sysdeps/x86_64/multiarch/strcat.S: Removed.
2684         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
2686 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2687             Erich Elsen  <eriche@google.com>
2689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2690         memcmp-sse2.
2691         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
2692         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
2693         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
2694         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
2695         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
2696         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2698 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
2699             Erich Elsen  <eriche@google.com>
2701         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2702         memset-sse2-unaligned-erms, and memset_chk-nonshared.
2703         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2704         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
2705         Update comments.
2706         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
2707         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
2708         * sysdeps/x86_64/multiarch/memset.c: Likewise.
2709         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
2710         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
2711         * sysdeps/x86_64/multiarch/memset.S: Removed.
2712         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2713         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
2714         (__memset_chk_erms): New function.
2716 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2718         * configure.ac(--enable-tunables): Enable by default.
2719         * configure: Regenerate.
2720         * NEWS: Mention change.
2721         * manual/install.texi (enable-tunables): Adjust documentation.
2722         * INSTALL: Regenerate.
2724 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2726         [BZ #18988]
2727         * benchtests/thread_create-inputs: New file.
2728         * benchtests/thread_create-source.c: Likewise.
2729         * support/xpthread_attr_setguardsize.c: Likewise.
2730         * support/Makefile (libsupport-routines): Add
2731         xpthread_attr_setguardsize object.
2732         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
2733         * benchtests/Makefile (bench-pthread): Add thread_create.
2734         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
2735         then mprotect the required area.
2736         (guard_position): New function.
2737         (setup_stack_prot): Likewise.
2739 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
2740             Erich Elsen  <eriche@google.com>
2741             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2744         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
2745         mempcpy_chk-nonshared and memmove_chk-nonshared.
2746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2747         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
2748         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
2749         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
2750         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
2751         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
2752         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
2753         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
2754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
2755         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
2756         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
2757         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
2758         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
2759         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
2760         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
2761         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2762         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2763         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2764         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2765         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2766         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2767         (__mempcpy_chk_erms): New function.
2768         (__memmove_chk_erms): Likewise.
2769         (__memcpy_chk_erms): New alias.
2771 2017-06-14  Florian Weimer  <fweimer@redhat.com>
2773         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
2774         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
2776 2017-06-14  Zack Weinberg  <zackw@panix.com>
2778         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
2779         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
2780         defined, don't declare anything other than the E-constants.
2782         * include/errno.h: Change conditional for exposing internal
2783         declarations to (not _ISOMAC and not __ASSEMBLER__).
2784         * bits/errno.h: Remove logic for __need_Emath.  Document
2785         requirements for a port-specific bits/errno.h.
2787         * sysdeps/unix/sysv/linux/bits/errno.h
2788         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
2789         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
2790         * sysdeps/unix/sysv/linux/mips/bits/errno.h
2791         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
2792         Add multiple-include guard and check against improper inclusion.
2793         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
2794         constants are defined as simple integer literals.  Consistent
2795         formatting.
2796         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
2797         enum __error_t_codes if __ASSEMBLER__ is not defined.
2798         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
2800         * argp/argp.h, string/argz.h: Don't define __need_error_t before
2801         including errno.h.
2802         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
2803         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
2804         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
2805         * sysdeps/x86_64/fpu/s_cosf.S
2806         * sysdeps/x86_64/fpu/s_sincosf.S
2807         * sysdeps/x86_64/fpu/s_sinf.S:
2808         Just include errno.h; don't define __need_Emath or include
2809         bits/errno.h directly.
2811 2017-06-14  Zack Weinberg  <zackw@panix.com>
2813         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
2814         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
2815         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
2817         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
2818         for IOV_MAX.
2819         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
2820         Don't install bits/uio.h.
2821         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
2822         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
2823         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
2825         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
2826         and __need_IOV_MAX.  Don't define IOV_MAX at all.
2827         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
2829         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
2830         Include bits/types/struct_iovec.h, not bits/uio.h.
2831         Use __ssize_t, not ssize_t, in function prototypes.
2832         Don't use hard TAB for double space after period in comments.
2834 2017-06-14  Alan Modra  <amodra@gmail.com>
2836         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
2837         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
2838         refsym and sym parameters.  Adjust callers.
2839         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2840         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
2841         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
2842         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
2843         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
2844         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2845         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
2846         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
2847         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
2848         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
2849         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
2850         Likewise.
2851         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2852         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2853         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
2854         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
2855         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2856         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
2857         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2858         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2859         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2860         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2861         Delete reloc param, add refsym and sym.  Check optimized plt
2862         call stubs for localentry:0 functions.  Adjust callers.
2863         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2864         and sym parameters.  Adjust callers.
2865         (_dl_reloc_overflow): Move attribute.
2866         (_dl_error_localentry): Declare.
2867         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2868         refsym and sym to elf_machine_fixup_plt.
2869         * elf/testobj6.c (preload): Call printf.
2871 2017-06-14  Alan Modra  <amodra@gmail.com>
2873         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2874         (NOPS, ENTRY_3): New macros.
2875         (ENTRY): Rewrite.
2876         (ENTRY_TOCLESS): Define.
2877         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2878         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2879         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2880         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2881         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2882         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2883         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2884         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2885         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2886         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2887         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2888         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2889         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2890         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2891         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2892         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2893         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2894         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2895         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2896         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2897         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2898         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2899         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2900         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2901         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2902         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2903         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2904         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2905         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2906         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2907         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2908         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2909         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2910         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2911         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2912         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2913         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2914         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2915         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2916         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2917         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2918         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2919         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2920         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2921         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2922         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2923         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2924         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2925         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2926         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2927         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2928         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2929         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2930         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2931         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2932         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2933         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2934         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2935         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2936         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2937         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2938         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2939         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2940         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2941         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2942         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2943         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2944         Likewise.
2945         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2946         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2947         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2948         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2949         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2950         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2951         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2952         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2953         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2955         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2956         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2957         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2958         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2959         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2960         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2961         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2962         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2963         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2964         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2965         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2966         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2967         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2968         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2969         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2970         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2971         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2972         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2973         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2974         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2975         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2976         add nop when SHARED.
2977         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2978         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2979         define.
2980         (ENTRY_TOCLESS): Define.
2981         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2982         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2983         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2985 2017-06-14  Alan Modra  <amodra@gmail.com>
2987         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2988         MEMSET_is_local.
2989         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2990         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2991         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2992         Define MEMSET.
2993         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2994         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2995         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2996         nop after local calls.
2997         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2998         Don't add nop after local call.
2999         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
3000         CALL_MCOUNT.
3002 2017-06-14  Alan Modra  <amodra@gmail.com>
3004         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
3005         (FUNC_LABEL): Rename from DOT_LABEL.
3006         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
3007         Use .p2align rather than .align.
3008         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
3009         (ABORT_TRANSACTION): Likewise.
3010         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
3011         particularly at end.  Add semicolon at invocation as necessary.
3012         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
3013         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
3014         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
3015         END): Adjust to suit.
3017 2017-06-14  Alan Modra  <amodra@gmail.com>
3019         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
3020         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
3021         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
3022         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
3023         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
3025         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
3027 2017-06-14  Alan Modra  <amodra@gmail.com>
3029         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
3030         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
3032 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
3034         [BZ #21548]
3035         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
3036         8 and use it when copying general purpose registers.
3037         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
3038         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
3039         mips o32.
3040         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
3041         new test for mips o32.
3042         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
3043         8 and use it when copying general purpose registers.
3044         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
3046 2017-06-13  Florian Weimer  <fweimer@redhat.com>
3048         * configure.ac (find_cxx_header): Suppress compiler error message.
3050 2017-06-13  Florian Weimer  <fweimer@redhat.com>
3052         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
3053         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
3054         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
3055         begin/end.
3056         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
3057         dynarray_int_end.
3058         (test_str): Test dynarray_str_begin, dynarray_str_end.
3060 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
3062         [BZ #21573]
3063         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
3064         $(common-objpfx)bits/std_abs.h.
3065         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
3066         New target.
3067         * config.make.in (c++-bits-std_abs-h): New.
3068         * configure.ac (find_cxx_header): Use "\,$1," with sed.
3069         (CXX_BITS_STD_ABS_H): New.
3070         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
3071         * configure: Regenerated.
3073 2017-06-13  Zack Weinberg  <zackw@panix.com>
3075         * posix/bits/cpu-set.h: Correct indentation of preprocessor
3076         directives.
3078 2017-06-12  Zack Weinberg  <zackw@panix.com>
3080         * bits/sched.h: Remove __need_schedparam logic and replace with a
3081         normal multiple-include guard.  Change field name in struct
3082         sched_param from __sched_priority to sched_priority.  Delete
3083         everything under #ifndef __cpu_set_t_defined.
3084         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
3085         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
3087         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
3088         For compatibility, #define sched_priority to itself, and #define
3089         __sched_priority as sched_priority.
3090         * posix/bits/cpu-set.h: New file containing, verbatim, the code
3091         that was under #ifndef __cpu_set_t_defined in
3092         sysdeps/unix/sysv/linux/bits/sched.h.
3093         * include/bits/cpu-set.h: New wrapper.
3094         * posix/Makefile: Install bits/cpu-set.h.
3096 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3097             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3098             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3100         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
3101         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
3102         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
3103         * math/libm-test-isfinite.inc (finite_test): Likewise.
3104         * math/libm-test-lgamma.inc (gamma_test): Likewise.
3105         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
3106         (nexttoward_test_data}: Likewise.
3107         * math/libm-test-remainder.inc (drem_test): Likewise.
3108         * math/libm-test-scalb.inc (scalb_test): Likewise.
3109         (scalb_test_data): Likewise.
3110         * math/libm-test-significand.inc (significand_test): Likewise.
3111         (significand_test_data): Likewise.
3112         * math/libm-test-support.c (check_complex): Replace __complex__
3113         FLOAT with CFLOAT to get the support for old compiler.
3114         * math/libm-test-support.h (check_complex): Likewise.
3115         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
3116         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
3117         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
3118         * math/test-float128.h: New file.
3119         * math/test-math-floatn.h: New file.
3121 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3123         * include/float.h: Allow the definition of macros prefixed with
3124         FLT128 even if _ISOMAC is defined, but provided that
3125         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
3127 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3129         * manual/math.texi (Mathematics): Add description for _FloatN and
3130         _FloatNx types and mentions that they are not support in glibc for
3131         any architecture, so far.
3132         * manual/arith.texi (wcstof, wcstold): Replace the mention to
3133         stdlib.h with wchar.h.
3134         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
3135         (Printing of Floats): Add description for strfromfN.
3137 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3138             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3139             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3141         * include/gmp.h (__mpn_construct_float128): New declaration.
3142         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
3143         (__strtof128_l): New declaration.
3144         (__strtof128_nan): Likewise.
3145         (__wcstof128_nan): Likewise.
3146         (__strtof128_internal): Likewise.
3147         (____strtof128_l_internal): Likewise.
3148         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
3149         (__wcstof128_l): New declaration.
3150         (__wcstof128_internal): Likewise.
3152         * stdlib/Makefile (bug-strtod2): Link libm too.
3154         * stdlib/stdlib.h (strtof128): New declaration.
3155         (strtof128_l): Likewise.
3157         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
3158         tst-strtod.h macros to ensure float128 gets tested too.
3160         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
3162         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
3163         tests.
3164         (IF_FLOAT128): New macro.
3165         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
3166         the tests.
3167         (STRTOD_TEST_FOREACH): Likewise.
3169         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
3170         wcstof128 functions into libc.
3172         * sysdeps/ieee754/float128/Versions: Add exports for the above
3173         new functions.
3175         * sysdeps/ieee754/float128/mpn2float128.c: New file.
3176         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
3177         * sysdeps/ieee754/float128/strtof128.c: New file.
3178         * sysdeps/ieee754/float128/strtof128_l.c: New file.
3179         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
3180         * sysdeps/ieee754/float128/wcstof128.c: New file.
3181         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
3182         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
3183         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
3184         (CFLAGS-wcstof128_l): Likewise.
3186         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
3187         (wcstof128): New declaration.
3188         (wcstof128_l): Likewise.
3190 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
3192         [BZ #21552]
3193         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
3194         not [__USE_XOPEN].
3195         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
3197         [BZ #21550]
3198         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
3200 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
3202         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3203         strcpy-sse2 and stpcpy-sse2.
3204         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
3205         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
3206         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
3207         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
3208         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
3209         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
3210         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
3211         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
3212         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
3213         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3214         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
3215         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
3216         (libc_hidden_def): Always defined as empty.
3217         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
3218         Always Defined as empty.
3220 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3222         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
3224 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3226         [BZ #15105]
3227         [BZ #19463]
3228         * include/string.h: Add internal redirect for __stpcpy.
3229         * string/Makefile: Remove bits/string2.h.
3230         * string/string.h: Update comment.
3231         * string/string-inlines.c: Remove bits/string2.h include and comment.
3232         * string/bits/string2.h: Remove file.
3234 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
3236         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
3237         * sunrpc/clnt_gen.c (clnt_create): Likewise.
3238         * sunrpc/des_impl.c (_des_crypt): Likewise.
3239         * sunrpc/key_call.c (key_gendes): Likewise.
3240         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
3241         * sunrpc/svc_simple.c (universal): Likewise.
3242         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
3243         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
3244         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
3246 2017-06-10  Zack Weinberg  <zackw@panix.com>
3248         * stdlib/errno.h: Correct an outdated comment.
3250 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
3252         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
3253         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
3254         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
3255         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
3256         New file.  Invoke newly supported sysconf values for powerpc,
3257         and report results.  If none are supported, report so.
3258         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
3259         tst-sysconf.
3261 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3263         * include/sys/auxv.h (__getauxval): Add a prototype and its
3264         libc_hidden_proto.
3265         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
3267 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
3269         [BZ #21561]
3270         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
3271         [__USE_XOPEN_EXTENDED].
3272         (id_t): Likewise.
3273         (include of <bits/types/siginfo_t.h): Likewise.
3274         (waitid): Likewise.
3275         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
3276         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
3277         (WEXITED): Likewise.
3278         (WCONTINUED): Likewise.
3279         (WNOWAIT): Likewise.
3280         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
3281         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3282         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3284         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
3285         libc.so PLT entry optional.
3286         (__gtsf2): Likewise.
3287         (__unorddf2): Likewise.
3288         (__unordsf2): Likewise.
3289         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
3290         New optional libc.so PLT entry.
3292         [BZ #21554]
3293         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
3294         not [__USE_XOPEN].
3296         [BZ #21560]
3297         * posix/sys/wait.h: Condition include of <signal.h> on
3298         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
3299         unconditionally.
3300         [!__pid_t_defined] (pid_t): Define typedef.
3302 2017-06-09  Zack Weinberg  <zackw@panix.com>
3304         * include/errno.h (__errno_location): Use __attribute_const__
3305         instead of bare __attribute__.
3307 2017-06-09  Zack Weinberg  <zackw@panix.com>
3309         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
3310         (common-generated): Add libc-modules.h and libc-modules.stmp in a
3311         more appropriate location. Also add dl-tunable-list.h and
3312         dl-tunable-list.stmp.
3314 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3316         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
3318 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3320         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3321         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
3322         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3323         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
3324         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
3325         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
3326         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
3327         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
3328         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
3329         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
3330         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
3332 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3335         memrchr-sse2 and memrchr-avx2.
3336         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3337         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
3338         __memrchr_sse2.
3339         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
3340         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
3341         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
3343 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3346         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
3347         wcschr-sse2 and wcschr-avx2.
3348         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3349         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
3350         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
3351         __wcschr_sse2.
3352         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
3353         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
3354         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
3355         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
3356         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
3357         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
3358         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
3359         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
3360         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
3361         * sysdeps/x86_64/multiarch/strchr.S: Removed.
3363 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3366         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
3367         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
3368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3369         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
3370         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
3371         __wcslen_sse2 and __wcsnlen_avx2.
3372         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
3373         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
3374         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
3375         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
3376         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
3377         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
3378         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
3379         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
3380         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
3381         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
3382         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
3383         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
3384         vzeroupper is preferred and AVX unaligned load is fast.
3386 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3388         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
3389         USE_AS_WMEMCHR is defined.
3390         (PCMPEQ): Likewise.
3391         (memchr): Renamed to ...
3392         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
3393         Replace pcmpeqb with PCMPEQ.
3394         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3395         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
3396         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
3397         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
3398         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3399         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
3400         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
3401         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
3402         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
3403         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
3404         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
3405         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
3406         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
3407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3408         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
3409         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
3410         __wmemchr_sse2.
3412 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3414         * malloc/Makefile (test-srcs): Remove tst-dynarray,
3415         tst-dynarray-fail.
3417 2017-06-09  Florian Weimer  <fweimer@redhat.com>
3419         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
3420         * support/support_test_verify_impl.c
3421         (support_test_verify_exit_impl): Split from
3422         support_test_verify_impl.
3423         * support/check.h (TEST_VERIFY): Drop status argument from
3424         support_test_verify_impl call.
3425         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
3426         (support_test_verify_impl): Remove status argument.
3427         (support_test_verify_exit_impl): Declare.
3429 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3431         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
3432         mention of magic numbers in comments.
3433         (_dl_procinfo): Fix undefined behavior
3435 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
3437         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
3438         [XPG4].
3439         (WEXITED): Likewise.
3440         (WSTOPPED): Likewise.
3441         (WCONTINUED): Likewise.
3442         (WNOHANG): Likewise.
3443         (WNOWAIT): Likewise.
3444         (idtype_t): Likewise.
3445         (P_ALL): Likewise.
3446         (P_PID): Likewise.
3447         (P_PGID): Likewise.
3448         (id_t): Likewise.
3449         (siginfo_t): Likewise.
3450         (wait3): Likewise.
3451         (waitid): Likewise.
3452         (signal.h): Do not allow header for [XPG4].
3453         (sys/resource.h): Likewise.
3454         (si_*): Do not allow for [XPG4].
3455         (W*): Likewise.
3456         (P_*): Likewise.
3457         (BUS_): Likewise.
3458         (CLD_): Likewise.
3459         (FPE_): Likewise.
3460         (ILL_): Likewise.
3461         (POLL_): Likewise.
3462         (SEGV_): Likewise.
3463         (SI_): Likewise.
3464         (TRAP_): Likewise.
3465         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
3466         variable.
3468 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3470         [BZ #21528]
3471         * elf/dl-minimal.c (__strtoul_internal): Removed.
3472         (strtoul): Likewise.
3473         * elf/dl-misc.c (_dl_strtoul): New function.
3474         * elf/dl-tunables.c (tunables_strtoul): Removed.
3475         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
3476         * elf/rtld.c (process_envvars): Likewise.
3477         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
3478         Likewise.
3479         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
3481 2017-06-08  Zack Weinberg  <zackw@panix.com>
3483         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
3484         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
3485         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
3486         * wctype/bits/wctype-wchar.h: New file holding declarations shared
3487         between wctype.h and wchar.h.
3489         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
3490         Install them.
3492         * include/bits/types/FILE.h, include/bits/types/__FILE.h
3493         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
3494         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
3495         New wrappers.
3496         * include/stdio.h, include/wchar.h, include/wctype.h:
3497         No need to handle __need macros.
3499         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
3500         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
3501         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
3502         * wcsmbs/wchar.h, wctype/wctype.h
3503         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
3504         Use the new files instead of __need macros.
3506 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3508         * string/test-memrchr.c (test_main): Add tests for len == 0
3509         and tests for positions close to the beginning, which are
3510         equivalent to positions close to the end for memchr.
3512 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3514         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
3515         comments.
3516         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
3517         instead of wmemset.h.
3518         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3519         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
3520         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
3522 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3524         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
3525         spec->info.is_binary128 to zero.
3526         * stdio-common/printf.h (printf_info): Add new member is_binary128
3527         to indicate that the number being converted to string is compatible
3528         with the IEC 60559 binary128 format.
3529         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
3530         _Float128 numbers.
3531         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
3532         ldbl-128/printf_fphex_macros.h
3533         (__printf_fphex): Add code to deal with _Float128 numbers.
3534         * stdio-common/printf_size.c (__printf_size): Likewise.
3535         * stdio-common/vfprintf.c (process_arg): Initialize member
3536         info.is_binary128 to zero.
3537         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
3538         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
3539         (strfromf128): New declaration.
3540         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
3541         to one.
3542         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
3543         * sysdeps/ieee754/float128/Versions: Likewise.
3544         * sysdeps/ieee754/float128/strfromf128.c: New file.
3546 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3548         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
3549         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
3550         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
3551         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
3552         (PRINT_FPHEX): New function-like macro that can be used for long
3553         double, as well as for _Float128
3555 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3557         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
3558         (__printf_fp_l): Use the new macro to avoid duplicating code.
3559         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
3560         (__printf_fphex): Use the new macro to avoid duplicating code.
3561         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
3562         (__printf_size): Use the new macro to avoid duplicating code.
3564 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3566         * include/gmp.h: Include bits/floatn.h
3567         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
3568         * stdlib/gmp-impl.h: Also check if alloca is not defined before
3569         including stack-alloc.h.  It could have been defined by other header
3570         which not necessarily defines HAVE_ALLOCA.
3571         * sysdeps/ieee754/float128/Makefile: New file.
3572         * sysdeps/ieee754/float128/float1282mpn.c: New file.
3573         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
3574         redefining __mpn_extract_long_double to __mpn_extract_float128, then
3575         redefine __mpn_extract_long_double to __mpn_extract_float128.
3576         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
3577         _Float128 to allow float128_private.h overrides.
3579 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3581         * stdlib/fpioconst.h: Include bits/floatn.h.
3582         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
3583         power of ten table should be.
3584         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
3585         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
3586         to include larger tables when _Float128 support is enabled.
3587         (_fpioconst_pow10): Likewise.
3589 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
3591         * include/bits/types/clock_t.h: Use #include <path> instead of
3592         #include "../../path".
3593         * include/bits/types/clockid_t.h: Likewise.
3594         * include/bits/types/struct_iovec.h: Likewise.
3595         * include/bits/types/struct_itimerspec.h: Likewise.
3596         * include/bits/types/struct_osockaddr.h: Likewise.
3597         * include/bits/types/struct_sigstack.h: Likewise.
3598         * include/bits/types/struct_timespec.h: Likewise.
3599         * include/bits/types/struct_timeval.h: Likewise.
3600         * include/bits/types/struct_tm.h: Likewise.
3601         * include/bits/types/time_t.h: Likewise.
3602         * include/bits/types/timer_t.h: Likewise.
3604         [BZ #14096]
3605         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
3606         America/New_York.
3608 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3610         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
3611         into ...
3612         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
3613         ifunc-sse4_1.h.
3615 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3617         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
3618         Remove check for NULL 'buf'.
3619         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
3621 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
3623         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
3624         include test-skeleton.c.
3625         Include support/check.h and support/test-driver.c.
3627 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3629         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
3630         (_dl_aarch64_cap_flags): New array.
3631         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
3632         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
3633         functions.
3635         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
3636         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
3637         Likewise.
3638         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
3639         up hwcap and hwcap_mask.
3641         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
3642         (init_cpu_features): Use glibc.tune.hwcap_mask.
3643         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
3645         * elf/dl-hwcaps.h: New file.
3646         * elf/dl-hwcaps.c: Include it.
3647         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
3648         glibc.tune.hwcap_mask.
3649         * elf/dl-cache.c: Include dl-hwcaps.h.
3650         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
3651         glibc.tune.hwcap_mask.
3652         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
3653         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
3654         _dl_hwcap_mask.
3655         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
3656         _dl_hwcap_mask.
3657         (process_envvars)[HAVE_TUNABLES]: Likewise.
3658         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
3659         Likewise.
3660         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
3661         initialize dl_hwcap_mask when tunables are enabled.
3663         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
3664         guard.
3665         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
3667         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
3668         * scripts/gen-tunables.awk: Include dl-procinfo.h.
3669         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
3671         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
3672         * elf/dl-tunables.c: Likewise.
3673         (do_tunable_update_val): New function.
3674         (__tunable_set_val): New function.
3675         (__tunable_get_val): Call CB only if the tunable was externally
3676         initialized.
3677         (tunables_strtoul): Replace strval with initialized.
3678         * elf/dl-tunables.h (strval): Replace with a bool initialized.
3679         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
3680         prevent collision.
3681         (__tunable_set_val): New function.
3682         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
3683         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
3684         (TUNABLE_SET_VAL): Remove.
3685         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
3686         * README.tunables: Document the new macros.
3687         * malloc/arena.c (ptmalloc_init): Adjust.
3689 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3691         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3692         wcsnlen-sse4_1 and wcsnlen-c.
3693         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3694         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
3695         __wcsnlen_sse2.
3696         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
3697         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
3698         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
3699         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
3700         * sysdeps/x86_64/wcsnlen.S: Removed.
3702 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3704         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
3705         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
3706         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
3707         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
3709 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3711         * NEWS: Mention new spinlock implementation.
3712         * include/atomic.h:
3713         (__atomic_val_bysize): Cast type to omit volatile qualifier.
3714         (atomic_exchange_acq): Likewise.
3715         (atomic_load_relaxed): Likewise.
3716         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
3717         * nptl/pthread_spin_init.c (pthread_spin_init):
3718         Use atomic_store_relaxed.
3719         * nptl/pthread_spin_lock.c (pthread_spin_lock):
3720         Use C11-like atomic macros.
3721         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
3722         Likewise.
3723         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
3724         Use atomic_store_release.
3725         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
3726         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
3727         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
3728         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
3729         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
3730         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
3731         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
3732         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
3733         * sysdeps/alpha/atomic-machine.h: Likewise.
3734         * sysdeps/arm/atomic-machine.h: Likewise.
3735         * sysdeps/i386/atomic-machine.h: Likewise.
3736         * sysdeps/ia64/atomic-machine.h: Likewise.
3737         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
3738         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
3739         * sysdeps/microblaze/atomic-machine.h: Likewise.
3740         * sysdeps/mips/atomic-machine.h: Likewise.
3741         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
3742         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
3743         * sysdeps/s390/atomic-machine.h: Likewise.
3744         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
3745         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
3746         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
3747         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
3748         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
3749         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
3750         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
3751         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
3752         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
3753         * sysdeps/x86_64/atomic-machine.h: Likewise.
3755 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3757         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
3758         and use it instead of dl_x86_cpu_features.
3759         (handle_intel): Replace maxidx with cpu_features.  Pass
3760         cpu_features to intel_check_word.
3761         (__cache_sysconf): Pass cpu_features to handle_intel.
3762         (init_cacheinfo): Likewise.  Use cpu_features instead of
3763         dl_x86_cpu_features.
3765 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3767         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
3768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3769         memcmp-avx2 and wmemcmp-avx2.
3770         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3771         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
3772         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
3773         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
3774         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
3775         2 machines if AVX unaligned load is fast and vzeroupper is
3776         preferred.
3777         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
3778         2 machines if AVX unaligned load is fast and vzeroupper is
3779         preferred.
3781 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3783         * include/wchar.h (__wmemset_chk): New.
3784         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
3785         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
3786         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3787         (WMEMSET_CHK_SYMBOL): Likewise.
3788         (WMEMSET_SYMBOL): Likewise.
3789         (__wmemset): Add hidden definition.
3790         (wmemset): Add weak hidden definition.
3791         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3792         wmemset_chk-nonshared.
3793         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3794         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
3795         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
3796         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
3797         and __wmemset_chk_avx512_unaligned.
3798         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
3799         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3800         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3801         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3802         (WMEMSET_SYMBOL): Likewise.
3803         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
3804         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
3805         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
3806         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
3807         (WMEMSET_SYMBOL): Likewise.
3808         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
3809         (WMEMSET_CHK_SYMBOL): New.
3810         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
3811         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
3812         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
3813         (libc_hidden_builtin_def): Also define __GI_wmemset and
3814         __GI___wmemset.
3815         (weak_alias): New.
3816         * sysdeps/x86_64/multiarch/wmemset.c: New file.
3817         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
3818         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
3819         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
3820         * sysdeps/x86_64/wmemset.c: Likewise.
3821         * sysdeps/x86_64/wmemset_chk.c: Likewise.
3823 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3824             H.J. Lu  <hongjiu.lu@intel.com>
3826         * sysdeps/x86/init-arch.h (PASTER1): New.
3827         (EVALUATOR1): Likewise.
3828         (PASTER2): Likewise.
3829         (EVALUATOR2): Likewise.
3830         (REDIRECT_NAME): Likewise.
3831         (OPTIMIZE): Likewise.
3832         (IFUNC_SELECTOR): Likewise.
3834 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3836         * sysdeps/x86_64/strlen.S (PMINU): New.
3837         (PCMPEQ): Likewise.
3838         (SHIFT_RETURN): Likewise.
3839         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
3840         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
3841         pminub with PCMPEQ and PMINU.
3842         * sysdeps/x86_64/wcsnlen.S: New file.
3844 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3846         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
3847         the lower 32 bits.  Remove redundant instructions.
3849 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
3851         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
3852         0 as the high part of offset.
3853         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
3855 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
3857         [BZ #21538]
3858         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3859         [__USE_UNIX98].
3860         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3861         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3862         Likewise.
3863         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3864         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3865         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3866         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3867         Likewise.
3869         [BZ #21517]
3870         * bits/types/stack_t.h (stack_t): Remove struct tag.
3871         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3872         Likewise.
3873         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3874         Likewise.
3875         * debug/segfault.c (install_handler): Use stack_t instead of
3876         struct sigaltstack.
3877         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3878         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3879         * include/signal.h (__sigaltstack): Likwise.
3880         * signal/sigaltstack.c (__sigaltstack): Likewise.
3881         * signal/signal.h (sigaltstack): Likewise.
3882         * sysdeps/mach/hurd/i386/signal-defines.sym
3883         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3884         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3885         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3886         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3887         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3888         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3889         elf_prstatus): Likewise.
3890         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3891         Likewise.
3892         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3893         Likewise.
3894         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3895         Likewise.
3896         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3897         elf_prstatus): Likewise.
3898         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3901         Likewise.
3903 2017-06-04  Zack Weinberg  <zackw@panix.com>
3905         * sysdeps/gnu/errlist.c: Regenerate.
3907 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3909         * benchtests/bench-memchr.c (do_test): Print out both length
3910         and position.
3911         (test_main): Also test the position close to the beginning for
3912         memrchr.
3914 2017-06-04  Zack Weinberg  <zackw@panix.com>
3916         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3917         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3918         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3919         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3920         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3921         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3922         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3923         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3924         * nis/nis_print_group_entry.c, nis/nis_remove.c
3925         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3926         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3927         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3928         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3929         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3930         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3931         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3932         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3933         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3934         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3935         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3936         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3937         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3938         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3939         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3940         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3941         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3942         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3943         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3944         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3946         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3947         abi-versions.h as well as shlib-compat.h.
3948         * sunrpc/get_myaddr.c: Remove obsolete comment.
3949         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3950         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3951         * resolv/res_libc.c: Include shlib-compat.h only once.
3953 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3955         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3956         of strdup.
3958 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3960         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3961         Set to the 3/4 of the total shared cache size.
3963 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3965         * manual/errno.texi: Remove redundant error strings.
3966         * manual/macros.texi (@errno): Render the error string in every
3967         description.
3969 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3971         [BZ #21543]
3972         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3973         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3974         [__USE_XOPEN_EXTENDED].
3976 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3978         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3979         strdupa.
3980         (getcanonname): Use __strdup instead of strdup.
3982 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3984         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3985         (CFLAGS-preadv64v2.c): Likewise.
3986         (CFLAGS-pwritev2.c): Likewise.
3987         (CFLAGS-pwritev64v2.c): Likewise.
3989 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3991         Test res_init with several configuration files.
3992         * resolv/Makefile [build-shared] (tests-internal): Add
3993         tst-resolv-res_init, tst-resolv-res_init-thread.
3994         (tst-resolv-res_init): Link against libdl, libresolv.
3995         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3996         libpthread.
3997         * resolv/tst-resolv-res_init.c: New file.
3998         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3999         * resolv/tst-resolv-res_init-thread.c: Likewise.
4000         * support/Makefile (libsupport-routines): Add support-xstat,
4001         support_can_chroot, support_capture_subprocess_check,
4002         support_isolate_in_subprocess, support_shared_allocate,
4003         support_write_file_string, xchroot, xmkdir, xopen.
4004         * support/capture_subprocess.h (enum support_capture_allow): Define.
4005         (support_capture_subprocess_check): Declare.
4006         * support/namespace.h (support_can_chroot)
4007         (support_isolate_in_subprocess): Declare.
4008         * support/support-xstat.c: New file.
4009         * support/support.h (support_shared_allocate, support_shared_free)
4010         (support_write_file_string): Declare.
4011         * support/support_can_chroot.c: New file.
4012         * support/support_capture_subprocess_check.c: Likewise.
4013         * support/support_isolate_in_subprocess.c: Likewise.
4014         * support/support_shared_allocate.c: Likewise.
4015         * support/support_write_file_string.c: Likewise.
4016         * support/xchroot.c: Likwise.
4017         * support/xmkdir.c: Likwise.
4018         * support/xopen.c: Likwise.
4019         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
4021 2017-06-02  Florian Weimer  <fweimer@redhat.com>
4023         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
4024         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
4026 2017-06-02  Florian Weimer  <fweimer@redhat.com>
4028         * malloc/Makefile (routines): Add dynarray_at_failure,
4029         dynarray_emplace_enlarge, dynarray_finalize.
4030         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
4031         tst-dynarray-at-fail.
4032         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
4033         (tests-special): Add tst-dynarray-mem.out,
4034         tst-dynarray-mem-fail.out.
4035         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
4036         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
4037         mtrace.
4038         * malloc/Versions (__libc_dynarray_at_failure)
4039         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
4040         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
4041         GLIBC_PRIVATE.
4042         * malloc/dynarray.h: New file.
4043         * malloc/dynarray-skeleton.c: Likewise.
4044         * malloc/dynarray_at_failure.c: Likewise.
4045         * malloc/dynarray_emplace_enlarge.c: Likewise.
4046         * malloc/dynarray_finalize.c: Likewise.
4047         * malloc/dynarray_resize.c: Likewise.
4048         * malloc/dynarray_resize_clear.c: Likewise.
4049         * malloc/tst-dynarray.c: Likewise.
4050         * malloc/tst-dynarray-fail.c: Likewise.
4051         * malloc/tst-dynarray-at-fail.c: Likewise.
4052         * malloc/tst-dynarray-shared.h: Likewise.
4053         * support/Makefile (libsupport-routines): Add
4054         support_capture_subprocess, xdup2, xpipe.
4055         (tests): Add tst-support_capture_subprocess.
4056         * support/capture_subprocess.h: New file.
4057         * support/support_capture_subprocess.c: Likewise.
4058         * support/tst-support_capture_subprocess.c: Likewise.
4059         * support/xdup2.c: Likewise.
4060         * support/xpipe.c: Likewise.
4061         * support/xunistd.h (xdup2, xpipe): Declare.
4063 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4065         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
4066         macros MAX and MIN.
4068 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
4070         * conform/data/signal.h-data (sa_sigaction): Do not expect for
4071         [XPG4].
4072         (SA_SIGINFO): Likewise.
4073         (SA_ONSTACK): Likewise.
4074         (SA_RESETHAND): Likewise.
4075         (SA_RESTART): Likewise.
4076         (SA_NOCLDWAIT): Likewise.
4077         (SA_NODEFER): Likewise.
4078         (SS_ONSTACK): Likewise.
4079         (SS_DISABLE): Likewise.
4080         (MINSIGSTKSZ): Likewise.
4081         (SIGSTKSZ): Likewise.
4082         (ucontext_t): Likewise.
4083         (stack_t): Likewise.
4084         (struct sigstack): Likewise.
4085         (SI_USER): Do not expect for [XPG4 || XPG42].
4086         (SI_QUEUE): Likewise.
4087         (SI_TIMER): Likewise.
4088         (SI_ASYNCIO): Likewise.
4089         (SI_MESGQ): Likewise.
4090         (bsd_signal): Do not expect for [XPG4].
4091         (killpg): Likewise.
4092         (sigaltstack): Likewise.
4093         (sighold): Likewise.
4094         (sigignore): Likewise.
4095         (siginterrupt): Likewise.
4096         (sigpause): Likewise.
4097         (sigrelse): Likewise.
4098         (sigset): Likewise.
4099         (sigwait): Do not expect for [XPG4 || XPG42].
4101 2017-06-01  Zack Weinberg  <zackw@panix.com>
4103         [BZ #21514]
4104         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
4105         pointing to the generated file in <builddir>/misc/bits/syscall.h.
4107 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
4109         [BZ #21457]
4110         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
4111         NGREG to __NGREG if [__USE_MISC].
4112         (gregset_t): Define using __NGREG.
4113         (__ctx): New macro.
4114         (mcontext_t): Use __ctx in defining fields.
4115         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
4116         define NGREG to __NGREG if [__USE_MISC].
4117         (gregset_t): Define using __NGREG.
4118         (__ctx): New macro.
4119         (__ctxt): Likewise.
4120         (fpregset_t): Use __ctx and __ctxt in defining fields.
4121         (mcontext_t): Likewise.
4122         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
4123         define NGREG to __NGREG if [__USE_MISC].
4124         (gregset_t): Define using __NGREG.
4125         (__ctx): New macro.
4126         (mcontext_t): Use __ctx in defining fields.
4127         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
4128         define NGREG to __NGREG if [__USE_MISC].
4129         (gregset_t): Define using __NGREG.
4130         (__ctx): New macro.
4131         (fpregset_t): Use __ctx in defining fields.
4132         (mcontext_t): Likewise.
4133         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
4134         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4135         (gregset_t): Define using __NGREG.
4136         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4137         [__USE_MISC].
4138         (fpregset_t): Define using __NFPREG.
4139         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
4140         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4141         (gregset_t): Define using __NGREG.
4142         (__ctx): New macro.
4143         (fpregset_t): Use __ctx in defining fields.
4144         (mcontext_t): Likewise.
4145         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
4146         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4147         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4148         [__USE_MISC].
4149         (gregset_t): Define using __NGREG.
4150         (__ctx): New macro.
4151         (fpregset_t): Use __ctx in defining fields.
4152         (mcontext_t): Likewise.
4153         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
4154         (mcontext_t): Use __ctx in defining fields.
4155         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
4156         macro.
4157         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
4158         __NGREG if [__USE_MISC].
4159         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
4160         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
4161         (mcontext_t): Likewise.
4162         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
4163         __NGREG if [__USE_MISC].
4164         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
4165         to __NFPREG if [__USE_MISC].
4166         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
4167         to __NVRREG if [__USE_MISC].
4168         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
4169         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
4170         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
4171         [__WORDSIZE != 32] (vrregset_t): Likewise.
4172         [__WORDSIZE != 32] (mcontext_t): Likewise.
4173         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
4174         (__psw_t): Use __ctx in defining fields.
4175         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
4176         [__USE_MISC].
4177         (gregset_t): Define using __NGREG.
4178         (fpreg_t): Use __ctx in defining fields.
4179         (fpregset_t): Likewise.
4180         (mcontext_t): Likewise.
4181         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
4182         __NGREG and define NGREG to __NGREG if [__USE_MISC].
4183         (gregset_t): Define using __NGREG.
4184         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
4185         [__USE_MISC].
4186         (fpregset_t): Define using __NFPREG.
4187         (__ctx): New macro.
4188         (mcontext_t): Use __ctx in defining fields.
4189         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
4190         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4191         __NGREG if [__USE_MISC].
4192         [__x86_64__] (gregset_t): Define using __NGREG.
4193         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
4194         [__x86_64__] (struct _libc_fpstate): Likewise.
4195         [__x86_64__] (mcontext_t): Likewise.
4196         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
4197         __NGREG if [__USE_MISC].
4198         [!__x86_64__] (gregset_t): Define using __NGREG.
4199         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
4200         [!__x86_64__] (struct _libc_fpstate): Likewise.
4201         [!__x86_64__] (mcontext_t): Likewise.
4203 2017-06-01  Zack Weinberg  <zackw@panix.com>
4205         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
4206         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
4207         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
4208         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
4209         libpthread.so no longer references __errno_location.
4211 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4213         * NEWS: Add note about pwritev2 and preadv2 inclusion.
4214         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
4215         pwritev64v2.
4216         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
4217         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
4218         pwritev64v2.
4219         * misc/preadv2.c: New file.
4220         * misc/preadv64v2.c: Likewise.
4221         * misc/pwritev2.c: Likewise.
4222         * misc/pwritev64v2.c: Likewise.
4223         * misc/tst-preadvwritev2.c: Likewise.
4224         * misc/tst-preadvwritev64v2.c: Likewise.
4225         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
4226         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
4227         prototype.
4228         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
4229         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
4230         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
4231         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
4232         (PWRITEV): Likewise.
4233         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
4234         ENOSYS.
4235         * nptl/tst-cancel4.c (tf_pwritev2): New test.
4236         (tf_preadv2): Likewise.
4237         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
4238         * sysdeps/posix/preadv2.c: Likewise.
4239         * sysdeps/posix/preadv64v2.c: Likewise.
4240         * sysdeps/posix/pwritev2.c: Likewise.
4241         * sysdeps/posix/pwritev64v2.c: Likewise.
4242         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
4243         support in kernel.
4244         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
4245         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
4246         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
4247         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
4248         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
4249         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4250         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4251         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4252         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
4253         support flags on Linux.
4254         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
4255         preadv2, preadv64v2, pwritev2, pwritev64v2.
4256         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
4257         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
4258         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
4259         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
4260         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
4261         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
4262         Likewise.
4263         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
4264         Likewise.
4265         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
4266         Likewise.
4267         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
4268         Likewise.
4269         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
4270         Likewise.
4271         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
4272         Likewise.
4273         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
4274         Likewise.
4275         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
4276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
4277         (GLIBC_2.26): Likewise.
4278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
4279         (GLIBC_2.26): Likewise.
4280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
4281         Likewise.
4282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4283         (GLIBC_2.26): Likewise.
4284         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
4285         Likewise.
4286         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
4287         Likewise.
4288         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
4289         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
4290         Likewise.
4291         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
4292         Likewise.
4293         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
4294         Likewise.
4295         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
4296         Likewise.
4297         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
4298         Likewise.
4299         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
4300         Likewise.
4301         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
4302         Likewise.
4304 2017-05-31  Andreas Schwab  <schwab@suse.de>
4306         * nptl/tst-fork3.c: Include <support/test-driver.c>.
4307         (main): Rename to do_test and make static.
4309 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4311         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
4312         ARCH_INIT_CPU_FEATURES.
4313         (LIBC_START_MAIN): Call it.
4314         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
4315         (__libc_start_main): Remove.
4316         (ARCH_INIT_CPU_FEATURES): New macro.
4317         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
4318         (ARCH_INIT_CPU_FEATURES): New macro.
4320 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
4321             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4323         * include/stdlib.h (__libc_reallocarray): New declaration.
4324         * malloc/Makefile (routines): Add reallocarray.
4325         (tests): Add tst-reallocarray.c.
4326         * malloc/Versions: Add reallocarray and __libc_reallocarray.
4327         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
4328         function.
4329         * malloc/malloc.h (reallocarray): New declaration.
4330         * stdlib/stdlib.h (reallocarray): Likewise.
4331         * malloc/reallocarray.c: New file.
4332         * malloc/tst-reallocarray.c: New test file.
4333         * manual/memory.texi: Document reallocarray.
4334         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
4335         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4336         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4337         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4338         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4339         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4340         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4341         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4342         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4343         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4344         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4345         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4346         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4347         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4349         Likewise.
4350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
4351         Likewise.
4352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4354         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4355         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4356         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4357         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4358         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4361         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
4362         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4363         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4365 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
4367         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
4368         the lower 32 bits.
4370 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
4372         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
4373         $(build-pie-default) = yes]: Define.
4375 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4377         * string/test-memchr.c (test_main): Add tests for n == 0.
4379 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4381         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
4382         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
4383         (tests-internal): ... here.
4385 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
4386              H.J. Lu  <hongjiu.lu@intel.com>
4388         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
4389         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
4390         (__tunable_set_val): Likewise.
4392 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
4394         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
4395         dl-tunables.list in subdirectories.
4397 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4398             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4399             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4401         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
4402         (SNANF128): New macro.
4403         * math/e_sqrtf128.c: New file.
4404         * math/s_fmaxmag_template.c: Include math_private.h in order to
4405         make inline expansion of fabs128().
4406         * math/s_fminmag_template.c: Likewise.
4408         * sysdeps/ieee754/float128/e_acosf128.c: New file.
4409         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
4410         * sysdeps/ieee754/float128/e_asinf128.c: New file.
4411         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
4412         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
4413         * sysdeps/ieee754/float128/e_coshf128.c: New file.
4414         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
4415         * sysdeps/ieee754/float128/e_expf128.c: New file.
4416         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
4417         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
4418         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
4419         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
4420         * sysdeps/ieee754/float128/e_j0f128.c: New file.
4421         * sysdeps/ieee754/float128/e_j1f128.c: New file.
4422         * sysdeps/ieee754/float128/e_jnf128.c: New file.
4423         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
4424         * sysdeps/ieee754/float128/e_log10f128.c: New file.
4425         * sysdeps/ieee754/float128/e_log2f128.c: New file.
4426         * sysdeps/ieee754/float128/e_logf128.c: New file.
4427         * sysdeps/ieee754/float128/e_powf128.c: New file.
4428         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
4429         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
4430         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
4431         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
4432         * sysdeps/ieee754/float128/float128_private.h: New file.
4433         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
4434         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
4435         * sysdeps/ieee754/float128/k_cosf128.c: New file.
4436         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
4437         * sysdeps/ieee754/float128/k_sinf128.c: New file.
4438         * sysdeps/ieee754/float128/k_tanf128.c: New file.
4439         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
4440         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
4441         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
4442         * sysdeps/ieee754/float128/s_atanf128.c: New file.
4443         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
4444         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
4445         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
4446         * sysdeps/ieee754/float128/s_cosf128.c: New file.
4447         * sysdeps/ieee754/float128/s_erff128.c: New file.
4448         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
4449         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
4450         * sysdeps/ieee754/float128/s_finitef128.c: New file.
4451         * sysdeps/ieee754/float128/s_floorf128.c: New file.
4452         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
4453         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
4454         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
4455         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
4456         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
4457         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
4458         * sysdeps/ieee754/float128/s_isinff128.c: New file.
4459         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
4460         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
4461         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
4462         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
4463         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
4464         * sysdeps/ieee754/float128/s_logbf128.c: New file.
4465         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
4466         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
4467         * sysdeps/ieee754/float128/s_modff128.c: New file.
4468         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
4469         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
4470         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
4471         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
4472         * sysdeps/ieee754/float128/s_remquof128.c: New file.
4473         * sysdeps/ieee754/float128/s_rintf128.c: New file.
4474         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
4475         * sysdeps/ieee754/float128/s_roundf128.c: New file.
4476         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
4477         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
4478         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
4479         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
4480         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
4481         * sysdeps/ieee754/float128/s_significandf128.c: New file.
4482         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
4483         * sysdeps/ieee754/float128/s_sinf128.c: New file.
4484         * sysdeps/ieee754/float128/s_tanf128.c: New file.
4485         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
4486         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
4487         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
4488         * sysdeps/ieee754/float128/s_truncf128.c: New file.
4489         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
4490         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
4491         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
4492         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
4494         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
4495         (__iscanonicalf128): Define as a macro.
4497 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4499         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
4500         (memmove): Use MEMMOVE for name.
4501         (memcpy): Use MEMCPY for name.  Change internal labels
4502         to external labels.
4503         * sysdeps/aarch64/multiarch/Makefile: New file.
4504         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
4505         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
4506         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
4507         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
4508         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
4509         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
4511 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4513         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
4514         (_dl_arm_cap_flags): Fix array subscript.
4515         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
4516         Fix count.
4518 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4520         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
4522 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4524         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
4525         (is_amd): Likewise.
4526         (max_cpuid): Likewise.
4527         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
4528         (init_cacheinfo): Likewise.
4530 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
4532         [BZ #21511]
4533         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
4534         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
4535         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
4536         !__USE_XOPEN2K) || __USE_MISC].
4537         * conform/data/signal.h-data (struct sigstack): Expect type only
4538         if [!XOPEN2K8 && !POSIX2008].
4539         (sigstack): Expect function only if [XPG42 || UNIX98].
4541         [BZ #21457]
4542         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
4543         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4544         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4545         <bits/types/__sigset_t.h>.
4546         (ucontext_t): Use sigset_t instead of __sigset_t.
4547         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
4548         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4549         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4550         <bits/types/__sigset_t.h>.
4551         (ucontext_t): Use sigset_t instead of __sigset_t.
4552         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
4553         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4554         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4555         <bits/types/__sigset_t.h>.
4556         (ucontext_t): Use sigset_t instead of __sigset_t.
4557         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
4558         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4559         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4560         <bits/types/__sigset_t.h>.
4561         (ucontext_t): Use sigset_t instead of __sigset_t.
4562         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
4563         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4564         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4565         <bits/types/__sigset_t.h>.
4566         (ucontext_t): Use sigset_t instead of __sigset_t.
4567         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
4568         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4569         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4570         <bits/types/__sigset_t.h>.
4571         (ucontext_t): Use sigset_t instead of __sigset_t.
4572         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
4573         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4574         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4575         <bits/types/__sigset_t.h>.
4576         (ucontext_t): Use sigset_t instead of __sigset_t.
4577         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
4578         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4579         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4580         <bits/types/__sigset_t.h>.
4581         (ucontext_t): Use sigset_t instead of __sigset_t.
4582         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
4583         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4584         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4585         <bits/types/__sigset_t.h>.
4586         (ucontext_t): Use sigset_t instead of __sigset_t.
4587         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
4588         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4589         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
4590         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
4591         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4592         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4593         <bits/types/__sigset_t.h>.
4594         (ucontext_t): Use sigset_t instead of __sigset_t.
4595         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
4596         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4597         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4598         <bits/types/__sigset_t.h>.
4599         (ucontext_t): Use sigset_t instead of __sigset_t.
4600         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
4601         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4602         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4603         <bits/types/__sigset_t.h>.
4604         (ucontext_t): Use sigset_t instead of __sigset_t.
4605         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
4606         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4607         <bits/ss_flags.h>.
4608         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
4609         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4610         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4611         <bits/types/__sigset_t.h>.
4612         (ucontext_t): Use sigset_t instead of __sigset_t.
4613         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
4614         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4615         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4616         <bits/types/__sigset_t.h>.
4617         (ucontext_t): Use sigset_t instead of __sigset_t.
4618         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
4619         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4620         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4621         <bits/types/__sigset_t.h>.
4622         (ucontext_t): Use sigset_t instead of __sigset_t.
4623         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
4624         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4625         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4626         <bits/types/__sigset_t.h>.
4627         (ucontext_t): Use sigset_t instead of __sigset_t.
4628         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
4629         <bits/types.h>.
4630         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
4631         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
4632         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
4633         <bits/types/__sigset_t.h>.
4634         (ucontext_t): Use sigset_t instead of __sigset_t.
4636 2017-05-22  Zack Weinberg  <zackw@panix.com>
4638         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4639         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
4640         bits/siginfo-arch.h, only if not already defined.
4641         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
4642         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
4643         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
4644         Likewise.
4646         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4647         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4648         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4649         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4650         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4651         Unconditionally define __SI_* macros.
4653 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4655         [BZ #21393]
4656         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
4657         and add a check for dup3 failure.
4658         * libio/freopen64.c (freopen64): Likewise.
4659         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
4660         libsupport.
4661         (do_test_bz21398): New test.
4662         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
4664 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4666         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
4667         Remove invalid comment.
4669 2017-05-21  Zack Weinberg  <zackw@panix.com>
4671         * signal/Makefile (headers): Add bits/types/sigval_t.h.
4673 2017-05-20  Zack Weinberg  <zackw@panix.com>
4675         * bits/sigevent-consts.h
4676         * bits/siginfo-consts.h
4677         * bits/types/__sigset_t.h
4678         * bits/types/sigevent_t.h
4679         * bits/types/siginfo_t.h
4680         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
4681         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
4682         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
4683         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
4684         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
4685         New system-dependent bits headers.
4687         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
4688         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
4689         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
4690         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
4691         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
4692         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
4693         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
4694         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
4695         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
4696         New Linux-only system-dependent bits headers.
4698         * signal/bits/types/sig_atomic_t.h
4699         * signal/bits/types/sigset_t.h
4700         * signal/bits/types/sigval_t.h:
4701         New non-system-dependent bits headers.
4703         * sysdeps/generic/sigsetops.h
4704         * sysdeps/unix/sysv/linux/sigsetops.h:
4705         New internal headers.
4707         * include/bits/types/sig_atomic_t.h
4708         * include/bits/types/sigset_t.h
4709         * include/bits/types/sigval_t.h:
4710         New wrappers.
4712         * signal/sigsetops.h
4713         * bits/siginfo.h
4714         * bits/sigset.h
4715         * sysdeps/unix/sysv/linux/bits/siginfo.h
4716         * sysdeps/unix/sysv/linux/bits/sigset.h
4717         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
4718         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
4719         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
4720         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
4721         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
4722         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
4723         Deleted.
4725         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
4726         Update lists of installed headers.
4728         * posix/bits/types.h: Define __sig_atomic_t here.
4729         * signal/signal.h: Use the new bits headers; no need to handle
4730         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
4731         to define sigmask.
4732         * include/signal.h: No need to handle __need_sig_atomic_t
4733         nor __need_sigset_t.  Don't define __sigemptyset.
4735         * io/sys/poll.h, setjmp/setjmp.h
4736         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
4737         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
4738         * sysdeps/mach/hurd/i386/bits/sigcontext.h
4739         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
4740         * sysdeps/pthread/bits/sigthread.h
4741         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
4742         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
4743         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
4744         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
4745         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4746         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
4747         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
4748         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
4749         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
4750         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
4751         Use bits/types/__sigset_t.h.
4753         * misc/sys/select.h, posix/spawn.h
4754         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
4755         * sysdeps/unix/sysv/linux/sys/epoll.h
4756         * sysdeps/unix/sysv/linux/sys/signalfd.h:
4757         Use bits/types/sigset_t.h.
4759         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
4760         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
4761         * socket/sys/socket.h: Don't include bits/sigset.h.
4763         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
4764         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
4765         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
4766         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
4767         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
4768         * sysdeps/unix/sysv/linux/nptl-signals.h:
4769         Include sigsetops.h.
4771         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
4772         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
4773         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
4774         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
4775         now return no value.
4777         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
4778         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
4779         "sigsetops.h".
4781         * signal/sigsetops.c: Explicitly define __sigismember,
4782         __sigaddset, and __sigdelset as compatibility symbols.
4784         * signal/Versions: Correct commentary on __sigpause,
4785         __sigaddset, __sigdelset, __sigismember.
4787         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
4788         __sigblock/__sigsetmask to use __sigprocmask and friends.
4790         * resolv/resolv.h: Remove __need_res_state logic.
4791         Move definition of res_state and related constants to ...
4792         * resolv/bits/types/res_state.h: ...this new file.
4793         * resolv/Makefile: Install bits/types/res_state.h.
4794         * include/bits/types/res_state.h: New wrapper.
4795         * include/list.h: Remove __need_list_t logic.
4796         Move definition of list_t to ...
4797         * include/list_t.h: ...this new file.
4799         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4800         instead of list.h and resolv.h.
4802         * resolv/resolv.h: Remove __need_res_state logic.
4803         Move definition of res_state and related constants to ...
4804         * resolv/bits/types/res_state.h: ...this new file.
4805         * resolv/Makefile: Install bits/types/res_state.h.
4806         * include/bits/types/res_state.h: New wrapper.
4807         * include/list.h: Remove __need_list_t logic.
4808         Move definition of list_t to ...
4809         * include/list_t.h: ...this new file.
4811         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
4812         instead of list.h and resolv.h.
4814 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4816         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
4818 2017-05-20  Zack Weinberg  <zackw@panix.com>
4820         * sysdeps/arm/sysdep.h
4821         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
4823         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
4824         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
4825         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
4826         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
4827         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
4828         * sysdeps/arm/armv6t2/strlen.S
4829         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
4830         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
4831         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
4832         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
4833         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
4834         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
4836 2017-05-20  Zack Weinberg  <zackw@panix.com>
4838         Remove the NaCl port.
4839         * sysdeps/arm/nacl: Remove directory and contents.
4840         * sysdeps/nacl: Remove directory and contents.
4841         * abi-tags: Remove .*-.*-nacl.* entry.
4843 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
4845         * manual/errno.texi: Convert @comment-based errno documentation to
4846         @errno.
4847         * manual/macros.texi (@errno): New macro.  Consolidate errors,
4848         their values, and messages, adding the error string to the Concept
4849         Index.  Provide a warning in the comment about external (to the
4850         manual) dependencies.
4851         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
4852         * sysdeps/mach/hurd/errnos.awk: Likewise.
4854 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4856         * bits/ss_flags.h: New file.
4857         * bits/types/stack_t.h: Likewise.
4858         * include/bits/types/struct_sigstack.h: Likewise.
4859         * signal/bits/types/struct_sigstack.h: Likewise.
4860         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4861         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4862         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4863         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4864         bits/types/stack_t.h and bits/ss_flags.h.
4865         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4866         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4867         <bits/ss_flags.h>.
4868         * bits/sigstack.h (struct sigstack): Remove.
4869         (stack_t): Likewise.
4870         (SS_ONSTACK): Likewise.
4871         (SS_DISABLE): Likewise.
4872         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4873         (struct sigstack): Likewise.
4874         (stack_t): Likewise.
4875         (SS_ONSTACK): Likewise.
4876         (SS_DISABLE): Likewise.
4877         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4878         Likewise.
4879         (stack_t): Likewise.
4880         (SS_ONSTACK): Likewise.
4881         (SS_DISABLE): Likewise.
4882         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4883         Likewise.
4884         (stack_t): Likewise.
4885         (SS_ONSTACK): Likewise.
4886         (SS_DISABLE): Likewise.
4887         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4888         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4889         Likewise.
4890         (stack_t): Likewise.
4891         (SS_ONSTACK): Likewise.
4892         (SS_DISABLE): Likewise.
4893         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4894         (struct sigstack): Likewise.
4895         (stack_t): Likewise.
4896         (SS_ONSTACK): Likewise.
4897         (SS_DISABLE): Likewise.
4898         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4899         Likewise.
4900         (stack_t): Likewise.
4901         (SS_ONSTACK): Likewise.
4902         (SS_DISABLE): Likewise.
4903         * sysdeps/arm/sys/ucontext.h: Include
4904         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4905         <bits/ss_flags.h>.
4906         * sysdeps/generic/sys/ucontext.h: Likewise.
4907         * sysdeps/i386/sys/ucontext.h: Likewise.
4908         * sysdeps/m68k/sys/ucontext.h: Likewise.
4909         * sysdeps/mips/sys/ucontext.h: Likewise.
4910         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4911         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4912         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4913         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4914         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4915         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4916         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4917         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4918         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4919         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4920         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4921         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4922         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4923         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4924         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4926 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4928         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4929         "edx + ecx - 16" to avoid possible addition overflow.
4930         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4932 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4934         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4935         (CFLAGS-splice.c): Likewise.
4936         (CFLAGS-open_by_handle_at.c): Likewise.
4937         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4938         (CFLAGS-splice.c): Likewise.
4939         (CFLAGS-open_by_handle_at.c): Likewise.
4941 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4943         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4944         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4945         <ldbl-compat-choose.h>.
4946         (maybe_long_double_symbol): New macro.
4947         [!declare_mgen_alias] (declare_mgen_alias): Use
4948         maybe_long_double_symbol.
4949         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4950         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4951         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4952         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4953         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4954         * Makerules [$(build-shared) = yes && !avoid-generated]
4955         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4956         [$(build-shared) = yes && !avoid-generated]
4957         ($(common-objpfx)ldbl-compat-choose.h): New target.
4959         * scripts/versions.awk: Generate first-versions.h.
4960         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4961         <first-versions.h>.
4962         (LDOUBLE_cabsl_libm_version): Remove macro.
4963         (LDOUBLE_cargl_libm_version): Likewise.
4964         (LDOUBLE_cimagl_libm_version): Likewise.
4965         (LDOUBLE_conjl_libm_version): Likewise.
4966         (LDOUBLE_creall_libm_version): Likewise.
4967         (LDOUBLE_cacosl_libm_version): Likewise.
4968         (LDOUBLE_cacoshl_libm_version): Likewise.
4969         (LDOUBLE_ccosl_libm_version): Likewise.
4970         (LDOUBLE_ccoshl_libm_version): Likewise.
4971         (LDOUBLE_casinl_libm_version): Likewise.
4972         (LDOUBLE_csinl_libm_version): Likewise.
4973         (LDOUBLE_casinhl_libm_version): Likewise.
4974         (LDOUBLE_csinhl_libm_version): Likewise.
4975         (LDOUBLE_catanl_libm_version): Likewise.
4976         (LDOUBLE_catanhl_libm_version): Likewise.
4977         (LDOUBLE_ctanl_libm_version): Likewise.
4978         (LDOUBLE_ctanhl_libm_version): Likewise.
4979         (LDOUBLE_cexpl_libm_version): Likewise.
4980         (LDOUBLE_clogl_libm_version): Likewise.
4981         (LDOUBLE_cprojl_libm_version): Likewise.
4982         (LDOUBLE_csqrtl_libm_version): Likewise.
4983         (LDOUBLE_cpowl_libm_version): Likewise.
4984         (LDOUBLE_clog10l_libm_version): Likewise.
4985         (LDOUBLE___clog10l_libm_version): Likewise.
4986         (LDOUBLE_fdiml_libm_version): Likewise.
4987         (LDOUBLE_fmaxl_libm_version): Likewise.
4988         (LDOUBLE_fminl_libm_version): Likewise.
4989         (LDOUBLE_ilogbl_libm_version): Likewise.
4990         (LDOUBLE_nanl_libm_version): Likewise.
4991         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4992         FIRST_VERSION_libm_* macros.
4993         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4994         * Makerules [$(build-shared) = yes && !avoid-generated]
4995         (before-compile): Add $(common-objpfx)first-versions.h.
4996         [$(build-shared) = yes && !avoid-generated]
4997         ($(common-objpfx)first-versions.h): New target.
4998         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4999         building $(common-objpfx)versions.stmp.
5001 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5003         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
5004         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
5005         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
5006         auto-generation list.
5008         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
5009         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
5010         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
5011         from auto-generation list.
5013         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5014         open_by_handle_at.
5015         (CFLAGS-open_by_handle_at.c): New flag.
5016         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
5017         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
5018         file.
5019         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
5021         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
5022         (CFLAGS-splice.c): New flag.
5023         * sysdeps/unix/sysv/linux/splice.c: New file.
5024         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
5025         auto-generation syscall list.
5026         * misc/Makefile (CFLAGS-splice.c): New rule.
5028         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
5029         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
5030         auto-generation syscall list.
5031         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
5032         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
5034         * misc/Makefile (CFLAGS-fsync.c): New flag.
5035         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
5036         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
5037         syscall list.
5038         * sysdeps/unix/sysv/linux/fsync.c: New file.
5039         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
5040         (__errno_location): Remove.
5042         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
5043         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
5044         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
5045         list.
5046         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
5048         * misc/Makefile (CFLAGS-msync.c): New rule.
5049         * nptl/Makefile (CFLAGS-msync.c): Likewise.
5050         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
5051         * sysdeps/unix/sysv/linux/msync.c: New file.
5053         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
5054         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
5055         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
5056         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
5057         (CFLAGS-sigsuspend.c): Remove rule.
5059         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
5060         (CFLAGS-tee.c): New rule.
5061         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
5062         auto-generated list.
5063         * sysdeps/unix/sysv/linux/tee.c: New file.
5065         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
5066         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
5067         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
5068         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
5069         auto-generated list.
5071         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
5072         auto-generated list.
5073         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
5074         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
5075         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
5076         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5077         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
5079         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
5080         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
5081         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
5082         (__NR_pause): Undefine.
5083         * sysdeps/unix/sysv/linux/pause.c: New file.
5084         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
5085         auto-generation list.
5086         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
5087         Remove rule.
5088         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
5090 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
5092         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
5093         comments.
5095 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5097         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
5098         LD_HWCAP_MASK.
5100 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
5102         * manual/conf.texi: Convert @tables of annotated @items to
5103         @vtables.
5104         * manual/lang.texi: Likewise.
5105         * manual/pattern.texi: Likewise.
5106         * manual/resource.texi: Likewise.
5107         * manual/socket.texi: Likewise.
5109 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
5111         * manual/crypt.texi: Move a comment out of an @*x list.
5112         * manual/filesys.texi: Refactor some comments, one of which looks
5113         like a standard.  Fix incorrectly separated standards.
5114         * manual/locale.texi: Invert an annotation.
5115         * manual/resource.texi: Fix incorrectly separated standards.
5116         * manual/time.texi: Refactor a @vtable that obscures an
5117         annotation.
5118         * manual/users.texi: Refactor multiple headers to occupy a single
5119         @comment.
5121 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5123         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5124         (sysdep_routines): Add memcmp-power8.
5125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5126         (memcmp): Add __memcmp_power8 to list of memcmp functions.
5127         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
5128         (memcmp): Add __memcmp_power8 to ifunc list.
5129         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
5130         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
5132 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5133             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5135         * math/math.h (__MATH_TG): Extend the conditions to add
5136         _Float128 support.
5137         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
5139 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
5141         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
5142         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
5143         s_cosf-ppc64.
5144         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
5145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
5146         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
5147         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
5149 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5151         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
5152         (gen-libm-calls): Add e_exp2F to use the template.
5153         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
5154         * math/e_exp2_template.c: New file, renamed from
5155         math/e_exp2l.c, and made into a template.
5156         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
5158 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5160         * elf/dl-tunable-types.h (tunable_type_code_t): New type
5161         TUNABLE_TYPE_UINT_64.
5162         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
5163         Simplify computation of overflow.
5164         (tunable_set_val_if_valid_range_signed,
5165         tunable_set_val_if_valid_range_unsigned): Remove and replace
5166         with this...
5167         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
5168         (tunable_initialize): Adjust.  Add uint64_t support.
5169         (__tunable_set_val): Add uint64_t support.
5170         * README.tunables: Document it.
5172         * scripts/gen-tunables.awk: Recognize 'default' keyword in
5173         dl-tunables.list.
5174         * README.tunables: Document it.
5176 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5178         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
5179         * sysdeps/posix/preadv64.c: Likewise.
5180         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
5181         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
5182         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
5183         * sysdeps/posix/pwritev64.c: Likewise.
5184         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
5185         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
5186         * sysdeps/posix/preadv_common.c: New file.
5187         * sysdeps/posix/pwritev_common.c: Likewise.
5189 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5191         * sysdeps/generic/math-type-macros-float128.h
5192         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
5193         wrapper templates.
5195 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5196             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5198         * include/complex.h (__kernel_casinhf128): New declaration.
5199         * include/float.h: New file.
5200         * include/math.h (__finitef128): Add a hidden def.
5201         (__isinff128): Likewise.
5202         (__isnanf128): Likewise.
5203         (__fpclassify): Likewise.
5204         (__issignalling): Likewise.
5205         (__expf128): Likewise.
5206         (__expm1f128): Likewise.
5208         * sysdeps/generic/fix-fp-int-convert-overflow.h:
5209         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
5210         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
5212         * sysdeps/generic/math-type-macros-float128.h: New file.
5214         * sysdeps/generic/math_private.h: Include bits/floatn.h and
5215         math_private_calls.h for _Float128.
5216         (__isinff128): New inline implementation used when GCC < 7.0,
5217         since in this case __builtin_isinf_sign is broken.
5218         (fabsf128): New inline implementation that calls the builtin.
5219         (__EXPR_FLT128): New macro.
5220         (min_of_type): Optionally include _Float128 types too.
5222         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
5223         Declare for _Float128.
5224         (__kernel_rem_pio2): Likewise.
5226         * sysdeps/ieee754/ldbl-opt/s_sin.c:
5227         (__DECL_SIMD_sincos_disablef128): New macro.
5229 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5231         * math/math.h: Include bits/math-finite.h for float128.
5232         (__MATH_DECLARING_FLOATN): Define to control declaration of
5233         float128 functions.
5234         * math/bits/math-finite.h (pow10): Do not declare for float128.
5235         (gamma): Likewise.
5236         (scalb): Likewise.
5238 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5239             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5241         * bits/floatn.h: New file.
5242         * bits/huge_val_flt128.h: Likewise.
5244         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
5245         (__DECL_SIMD_sinf128): Likewise.
5246         (__DECL_SIMD_sincosf128): Likewise.
5247         (__DECL_SIMD_logf128): Likewise.
5248         (__DECL_SIMD_expf128): Likewise.
5249         (__DECL_SIMD_powf128): Likewise.
5251         * math/Makefile (headers): Install bits/floatn.h and
5252         bits/huge_val_flt128.h.
5254         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
5255         defined.
5257         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
5258         (isnan, gamma, nexttoward, scalb): Only define if not
5259         __MATH_DECLARING_FLOATN.
5260         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
5261         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
5262         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
5263         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
5265         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
5266         Include bits/cmathcalls.h to get the declarations of _Float128
5267         versions of complex functions.
5268         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
5269         Define macro.
5271         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
5272         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
5273         get the declarations of _Float128 versions of math functions.
5274         (__MATH_DECLARING_FLOATN): New macro to control declaration of
5275         _FloatN types.
5276         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
5277         is type-generic, so use it without __MATH_TG.
5278         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
5279         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
5280         _Float128 type and GCC < 7.0, otherwise use the builtin.
5281         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
5282         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
5283         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
5284         New _GNU_SOURCE enabled macros.
5286 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5288         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
5289         (signbitf): Likewise.
5290         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
5291         Likewise.
5292         (signbitl): Likewise.
5293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
5294         Likewise.
5295         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
5296         (signbitl): Likewise.
5297         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
5299 2017-05-12  Florian Weimer  <fweimer@redhat.com>
5301         [BZ #21386]
5302         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
5303         parent PID.  The assertion in the child is incorrect with PID
5304         namespaces.
5306 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
5308         * sysdeps/unix/sysv/linux/kernel-features.h
5309         (__ASSUME_STATFS_F_FLAGS): Remove macro.
5310         * sysdeps/unix/sysv/linux/internal_statvfs.c
5311         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
5313 2017-05-11  Zack Weinberg  <zackw@panix.com>
5315         * Makerules: New subdir configuration variables 'tests-internal'
5316         and 'test-internal-extras'.  Test files in these categories will
5317         still be compiled with MODULE_NAME=nonlib.  Test files in the
5318         existing categories (tests, xtests, test-srcs, test-extras) are
5319         now compiled with MODULE_NAME=testsuite.
5320         New subdir configuration variable 'modules-names-tests'.  Files
5321         which are in both 'modules-names' and 'modules-names-tests' will
5322         be compiled with MODULE_NAME=testsuite instead of
5323         MODULE_NAME=extramodules.
5324         (gen-as-const-headers): Move to tests-internal.
5325         (do-tests-clean, common-mostlyclean): Support tests-internal.
5326         * Makeconfig (built-modules): Add testsuite.
5327         * Makefile: Change libof-check-installed-headers-c and
5328         libof-check-installed-headers-cxx to 'testsuite'.
5329         * Rules: Likewise.  Support tests-internal.
5330         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
5331         Remove extra-modules.mk.
5333         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
5334         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
5335         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
5336         very top of the file and rationalize their order.
5337         If MODULE_NAME is not defined at all, define IS_IN to always be
5338         false, and don't define _ISOMAC.
5339         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
5340         true, define _ISOMAC and suppress everything else in this file,
5341         starting with the inclusion of config.h.
5342         Do check for inappropriate definitions of __OPTIMIZE__ and
5343         __FAST_MATH__ here, but only if _ISOMAC is not defined.
5344         Correct some out-of-date commentary.
5346         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
5347         and _Mlong_double_ before including math.h.
5348         * include/string.h: If _ISOMAC is defined, don't expose
5349         _STRING_ARCH_unaligned. Move a comment to a more appropriate
5350         location.
5352         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
5353         * include/time.h, include/unistd.h, include/wchar.h: No need to
5354         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
5356         * misc/sys/cdefs.h (__NTHNL): New macro.
5357         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
5358         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
5360         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
5361         defined, for HAVE_TUNABLES.
5362         * inet/tst-checks-posix.c: No need to define _ISOMAC.
5363         * intl/tst-gettext2.c: Provide own definition of N_.
5364         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
5365         * math/test-signgam-main.c: No need to define _ISOMAC.
5366         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
5367         * stdlib/tst-strtod1i.c: ...this new file.
5368         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
5369         Split tests of __strtod_internal to...
5370         * stdlib/tst-strtod5i.c: ...this new file.
5371         * string/test-string.h: Include stdint.h. Duplicate definition of
5372         inhibit_loop_to_libcall here (from libc-symbols.h).
5373         * string/test-strstr.c: Provide dummy definition of
5374         libc_hidden_builtin_def when including strstr.c.
5375         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
5376         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
5377         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5378         Don't include init-arch.h.
5379         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5380         Don't include init-arch.h.
5382         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
5383         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
5384         unload, unload2, circleload1, neededtest, neededtest2,
5385         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
5386         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
5387         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
5388         ifunc tests to tests-internal.
5389         Don't add $(modules-names) to test-extras.
5390         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
5391         Add tst-deadline to tests-static-internal.
5392         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
5393         tests-internal.
5394         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
5395         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
5396         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
5397         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
5398         tst-sem12-static, and tst-stackguard1-static to tests-internal.
5399         Link tests-internal with libpthread also.
5400         Don't add $(modules-names) to test-extras.
5401         * nss/Makefile: Move tst-field to tests-internal.
5402         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
5403         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
5404         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
5405         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
5406         tests-internal.
5407         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
5408         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
5409         test-get_hwcap-static to tests-internal.
5410         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
5411         tests-internal.
5412         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
5413         modules-names-tests.
5415 2017-05-11  Zack Weinberg  <zackw@panix.com>
5417         * libio/libio.h: Condition dummy definition of _IO_lock_t on
5418         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
5419         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
5420         _IO_funlockfile, and _IO_ftrylockfile.  Only define
5421         _IO_cleanup_region_start and _IO_cleanup_region_end if not
5422         already defined.
5423         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
5424         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
5425         appropriately.
5426         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
5427         Define _IO_lock_t_defined after defining _IO_lock_t.
5429 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5431         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
5432         void* for argument type and use VDSO_SYMBOL macro.
5433         (is_sigtramp_address_rt): Likewise.
5434         (__backtrace): Setup expected frame pointer address for signal
5435         handling.
5436         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
5437         void* for argumetn type and use VSDO_SYMBOL macro.
5438         (__backtrace): Setup expected frame pointer address for signal
5439         handling.
5441         * sysdeps/unix/sysv/linux/writev.c: New file.
5443         * sysdeps/unix/sysv/linux/readv.c: New file.
5445         * include/unistd.h (write): Add hidden proto.
5446         * io/Makefile (CFLAGS-write.c): New define.
5447         * nptl/Makefile (CFLAGS-write.c): Likewise.
5448         * sysdeps/unix/sysv/linux/write.c: New file.
5450         [BZ #21428]
5451         * include/unistd.h (read): Add hidden proto.
5452         * io/Makefile (CFLAGS-read.c): New define.
5453         * nptl/Makefile (CFLAGS-read.c): Likewise.
5454         * sysdeps/unix/sysv/linux/read.c: New file.
5456         * io/Makefile (CFLAGS-creat.c): New rule.
5457         (CFLAGS-creat64.c): Likewise.
5458         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
5459         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
5460         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
5461         * sysdeps/unix/sysv/linux/creat.c: New file.
5462         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
5463         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
5464         auto-generated list.
5465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5467         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
5468         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
5469         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
5470         * sysdeps/unix/sysv/linux/open.c: New file.
5471         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
5472         iff __WORDSIZE != 64 and use __NR_openat when available.
5473         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
5474         from auto-generated list.
5476         * nptl/Makefile (CFLAGS-close.c): New flag.
5477         * sysdeps/unix/sysv/linux/close.c: New file.
5479 2017-05-11  DJ Delorie  <dj@redhat.com>
5481         * MAINTAINERS: New.  Points to wiki.
5483 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5485         * scripts/gen-tunables.awk: Add attribute_relro to
5486         tunable_list.
5488 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
5490         [BZ #21457]
5491         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
5492         (R1): Likewise.
5493         (R2): Likewise.
5494         (R3): Likewise.
5495         (R4): Likewise.
5496         (R5): Likewise.
5497         (R6): Likewise.
5498         (R7): Likewise.
5499         (R8): Likewise.
5500         (R9): Likewise.
5501         (R10): Likewise.
5502         (R11): Likewise.
5503         (R12): Likewise.
5504         (R13): Likewise.
5505         (R14): Likewise.
5506         (R15): Likewise.
5507         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
5508         (REG_FS): Likewise.
5509         (REG_ES): Likewise.
5510         (REG_DS): Likewise.
5511         (REG_EDI): Likewise.
5512         (REG_ESI): Likewise.
5513         (REG_EBP): Likewise.
5514         (REG_ESP): Likewise.
5515         (REG_EBX): Likewise.
5516         (REG_EDX): Likewise.
5517         (REG_ECX): Likewise.
5518         (REG_EAX): Likewise.
5519         (REG_TRAPNO): Likewise.
5520         (REG_ERR): Likewise.
5521         (REG_EIP): Likewise.
5522         (REG_CS): Likewise.
5523         (REG_EFL): Likewise.
5524         (REG_UESP): Likewise.
5525         (REG_SS): Likewise.
5526         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
5527         (R_D1): Likewise.
5528         (R_D2): Likewise.
5529         (R_D3): Likewise.
5530         (R_D4): Likewise.
5531         (R_D5): Likewise.
5532         (R_D6): Likewise.
5533         (R_D7): Likewise.
5534         (R_A0): Likewise.
5535         (R_A1): Likewise.
5536         (R_A2): Likewise.
5537         (R_A3): Likewise.
5538         (R_A4): Likewise.
5539         (R_A5): Likewise.
5540         (R_A6): Likewise.
5541         (R_A7): Likewise.
5542         (R_SP): Likewise.
5543         (R_PC): Likewise.
5544         (R_PS): Likewise.
5545         (fpregset_t): Likewise.
5546         (MCONTEXT_VERSION): Likewise.
5547         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
5548         (CTX_AT): Likewise.
5549         (CTX_V0): Likewise.
5550         (CTX_V1): Likewise.
5551         (CTX_A0): Likewise.
5552         (CTX_A1): Likewise.
5553         (CTX_A2): Likewise.
5554         (CTX_A3): Likewise.
5555         (CTX_T0): Likewise.
5556         (CTX_T1): Likewise.
5557         (CTX_T2): Likewise.
5558         (CTX_T3): Likewise.
5559         (CTX_T4): Likewise.
5560         (CTX_T5): Likewise.
5561         (CTX_T6): Likewise.
5562         (CTX_T7): Likewise.
5563         (CTX_S0): Likewise.
5564         (CTX_S1): Likewise.
5565         (CTX_S2): Likewise.
5566         (CTX_S3): Likewise.
5567         (CTX_S4): Likewise.
5568         (CTX_S5): Likewise.
5569         (CTX_S6): Likewise.
5570         (CTX_S7): Likewise.
5571         (CTX_T8): Likewise.
5572         (CTX_T9): Likewise.
5573         (CTX_K0): Likewise.
5574         (CTX_K1): Likewise.
5575         (CTX_GP): Likewise.
5576         (CTX_SP): Likewise.
5577         (CTX_S8): Likewise.
5578         (CTX_RA): Likewise.
5579         (CTX_MDLO): Likewise.
5580         (CTX_MDHI): Likewise.
5581         (CTX_CAUSE): Likewise.
5582         (CTX_EPC): Likewise.
5583         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
5584         inclusion of <sys/procfs.h> on [__USE_MISC].
5585         (greg_t): Condition on [__USE_MISC].
5586         (gregset_t): Likewise.
5587         (fpregset_t): Likewise.
5588         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
5589         (NGREG): Likewise.
5590         (gregset_t): Likewise.
5591         (REG_R0): Likewise.
5592         (REG_R1): Likewise.
5593         (REG_R2): Likewise.
5594         (REG_R3): Likewise.
5595         (REG_R4): Likewise.
5596         (REG_R5): Likewise.
5597         (REG_R6): Likewise.
5598         (REG_R7): Likewise.
5599         (REG_R8): Likewise.
5600         (REG_R9): Likewise.
5601         (REG_R10): Likewise.
5602         (REG_R11): Likewise.
5603         (REG_R12): Likewise.
5604         (REG_R13): Likewise.
5605         (REG_R14): Likewise.
5606         (REG_R15): Likewise.
5607         (struct _libc_fpstate): Likewise.
5608         (fpregset_t): Likewise.
5609         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
5610         (NFPREG): Likewise.
5611         (gregset_t): Likewise.
5612         (fpregset_t): Likewise.
5613         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
5614         (R_D1): Likewise.
5615         (R_D2): Likewise.
5616         (R_D3): Likewise.
5617         (R_D4): Likewise.
5618         (R_D5): Likewise.
5619         (R_D6): Likewise.
5620         (R_D7): Likewise.
5621         (R_A0): Likewise.
5622         (R_A1): Likewise.
5623         (R_A2): Likewise.
5624         (R_A3): Likewise.
5625         (R_A4): Likewise.
5626         (R_A5): Likewise.
5627         (R_A6): Likewise.
5628         (R_A7): Likewise.
5629         (R_SP): Likewise.
5630         (R_PC): Likewise.
5631         (R_PS): Likewise.
5632         (fpregset_t): Likewise.
5633         (MCONTEXT_VERSION): Likewise.
5634         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
5635         Likewise.
5636         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
5637         (REG_R1): Likewise.
5638         (REG_R2): Likewise.
5639         (REG_R3): Likewise.
5640         (REG_R4): Likewise.
5641         (REG_R5): Likewise.
5642         (REG_R6): Likewise.
5643         (REG_R7): Likewise.
5644         (REG_R8): Likewise.
5645         (REG_R9): Likewise.
5646         (REG_R10): Likewise.
5647         (REG_R11): Likewise.
5648         (REG_R12): Likewise.
5649         (REG_R13): Likewise.
5650         (REG_R14): Likewise.
5651         (REG_R15): Likewise.
5652         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
5653         of <arch/abi.h> on [__USE_MISC].
5654         (greg_t): Condition on [__USE_MISC].
5655         (NGREG): Likewise.
5656         (gregset_t): Likewise.
5658 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5660         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
5661         (__pthread_rwlock_arch_t): Remove __data definition.
5662         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
5663         (__pthread_rwlock_arch_t): Likewise.
5665 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5667         * resolv/inet_pton.c: Reformat in GNU style.  Remove
5668         internal_function on static functions.
5670 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5672         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
5673         from format_ai_flags.
5674         (format_ai_flags): New function.  Incorporate flag formatting code
5675         from format_ai_one.
5676         (format_ai_canonname): New function.
5677         (format_ai_one): Remove flags parameter.
5678         (format_ai_family): Likewise.
5679         (support_format_addrinfo): Call format_ai_flags,
5680         format_ai_canonname.
5681         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
5682         check_ai.
5683         (check_ai): Call check_ai_hints.
5684         (do_test): Add AI_CANONNAME tests.
5686 2017-05-11  Florian Weimer  <fweimer@redhat.com>
5688         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
5689         (gaih_inet): Likewise.
5691 2017-05-10  Andreas Schwab  <schwab@suse.de>
5693         * nptl/tst-fork1.c: Include <support/test-driver.c>.
5694         (main): Rename to do_test and make static.
5696 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
5698         * string/rawmemchr.c: Include <libc-diag.h>.
5699         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
5700         with size (size_t)-1.
5702 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5704         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
5705         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5706         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5708         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
5709         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
5710         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
5711         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
5712         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
5713         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
5714         * sysdeps/unix/sysv/linux/kernel-features.h
5715         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
5716         socket syscalls.
5717         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5718         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5719         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5720         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5721         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5723         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
5724         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5725         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5726         * sysdeps/unix/sysv/linux/sh/kernel-features.h
5727         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5728         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5729         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5730         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5731         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5733 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5735         * posix/Makefile (headers): Add pthreadtypes-arch.h and
5736         thread-shared-types.h.
5737         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
5738         specific thread definition.
5739         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
5740         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
5741         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
5742         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
5743         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
5744         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
5745         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
5746         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
5747         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
5748         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
5749         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
5750         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
5751         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
5752         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
5753         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
5754         thread definition between POSIX and C11.
5755         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
5756         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
5757         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
5758         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
5759         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
5760         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
5761         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
5762         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
5763         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
5764         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
5765         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
5766         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
5767         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
5768         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
5769         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
5770         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
5771         definitions shared across all architectures.
5773 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5775         * sysdeps/unix/sysv/linux/kernel-features.h
5776         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
5777         (__ASSUME_SENDMMSG): Likewise.
5778         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
5779         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
5780         sendmmsg syscall if that can be assumed to be present, socketcall
5781         otherwise, with no fallback for runtime failure.
5783         * sysdeps/unix/sysv/linux/kernel-features.h
5784         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
5785         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
5786         (__ASSUME_RECVMMSG): Likewise.
5787         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
5788         recvmmsg syscall if it can be assumed to be present, socketcall
5789         otherwise, with no fallback for runtime failure.
5791 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5792             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5794         * bits/libc-header-start.h:
5795         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
5796         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
5797         * manual/creature.texi: Likewise.
5799 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5800             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5802         * math/Makefile:
5803         (type-float128-suffix): New variable
5804         (type-float128-routines): Likewise
5805         (type-float128-yes): Likewise
5806         (types): Append float128 if supported
5807         (types-basic): New variable to control the use of templates for
5808         float, double, and long double, but not for float128 or newer types.
5809         (type-basic-foreach): Likewise.
5811         * sysdeps/ieee754/float128/Makeconfig: New file.
5812         * sysdeps/ieee754/float128/Versions: New file.
5814 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
5816         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
5817         Remove macro.
5818         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
5819         prlimit64 is always available and does not give an ENOSYS error.
5820         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
5821         unconditional.
5822         [!__NR_prlimit64]: Remove conditional code.
5823         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
5824         prlimit64 is always available and does not give an ENOSYS error.
5825         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
5827 2017-05-09  Zack Weinberg  <zackw@panix.com>
5829         * sunrpc/tst-xdrmem2.c: Include stdint.h.
5831 2017-05-09  Florian Weimer  <fweimer@redhat.com>
5833         [BZ #21474]
5834         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
5835         (__res_maybe_init): Likewise.
5837 2017-05-09  Zack Weinberg  <zackw@panix.com>
5839         * extra-modules.mk: Delete file.
5840         * cppflags-iterator.mk: Rename to ...
5841         * libof-iterator.mk: ...this.  Adjust comments.
5843         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
5844         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
5845         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
5846         Use libof-iterator.mk instead of cppflags-iterator.mk or
5847         extra-modules.mk.
5849         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
5850         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
5852 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5854         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5856 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5858         * stdio-common/vfprintf.c (EXTSIZ): Define.
5859         (vfprintf): Use EXTSIZ.
5860         (printf_positional): Likewise.
5862 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5864         * sysdeps/unix/sysv/linux/kernel-features.h
5865         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5866         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5867         <kernel-features.h>.
5868         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5870         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5871         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5873 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5875         Prevent multiple deletion of temporary files.
5876         * support/temp_file.c (struct temp_name_list): Add owner member.
5877         (add_temp_file): Record owner.
5878         (support_delete_temp_files): Delete file only if owner matches.
5879         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5880         (do_prepare): Use create_temp_file instead of add_temp_file.
5881         Initialize temp_fd1, temp_fd2.
5882         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5883         framework remove the temporary files.
5884         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5885         (do_prepare): Use create_temp_file instead of add_temp_file.
5886         Initialize temp_fd1, temp_fd2, temp_fd3.
5887         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5888         the test framework remove the temporary files.
5889         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5890         deletion.
5891         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5892         temporary directory.  It is removed by the test framework.
5893         * dirent/tst-scandir.c (do_test): Likewise.
5895 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5897         Delete temporary files in LIFO order.
5898         * support/temp_file.c (struct temp_name_list): Replace q member
5899         with next.
5900         (add_temp_file): Add new file to front of linked list.
5901         (support_delete_temp_files): Use next member.
5902         (support_print_temp_files): Likewise.
5904 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5906         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5907         sys/ultrasound.h.
5908         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5910 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5912         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5913         Remove.
5914         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5915         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5916         (arch_minimum_kernel): Remove.
5917         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5918         * README: Update statement about Linux kernel requirements.
5920 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5922         * manual/llio.texi: Add preadv and pwritev documentation.
5924 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5926         [BZ #21455]
5927         * bits/stdint-intn.h: New file.
5928         * bits/stdint-uintn.h: Likewise.
5929         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5930         bits/stdint-uintn.h.
5931         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5932         <stdint.h>.
5933         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5934         (__int8_t_defined): Do not define here.
5935         (int8_t): Likewise.
5936         (int16_t): Likewise.
5937         (int32_t): Likewise.
5938         (int64_t): Likewise.
5939         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5940         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5941         <stdint.h>.
5942         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5943         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5944         <bits/stdint-uintn.h>.
5945         (int8_t): Do not define here.
5946         (int16_t): Likewise.
5947         (int32_t): Likewise.
5948         (int64_t): Likewise.
5949         (uint8_t): Likewise.
5950         (uint16_t): Likewise.
5951         (uint32_t): Likewise.
5952         (uint64_t): Likewise.
5953         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5954         variable.
5955         (test-xfail-XPG42/netdb.h/conform): Likewise.
5956         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5957         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5958         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5959         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5961 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5963         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5964         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5965         the above.
5966         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5967         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5969 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5971         [BZ #21445]
5972         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5974         [BZ #21457]
5975         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5976         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5977         __glibc_reserved1.
5978         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5979         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5980         (struct _fpxreg): Likewise.
5981         [!__x86_64__] (struct _fpstate): Rename field reserved to
5982         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5983         [__x86_64__] (struct _fpstate): Rename field padding to
5984         __glibc_reserved1.
5985         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5986         Rename field reserved2 to __glibc_reserved2.
5987         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5988         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5989         __glibc_reserved1.
5990         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5991         __glibc_reserved1.
5993 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5995         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5996         variable name.
5998 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
6000         [BZ #21391]
6001         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
6002         Only call init_cpu_features.
6003         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
6004         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
6005         * sysdeps/i386/dl-procinfo.h: Removed.
6006         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
6007         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
6008         <sysdeps/x86/dl-procinfo.h>.
6009         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
6010         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
6011         Include <sysdeps/x86/dl-procinfo.h> instead of
6012          <sysdeps/generic/dl-procinfo.h>.
6013         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
6014         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
6015         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
6016         (bit_cpu_MOVBE): Likewise.
6017         (bit_cpu_BMI1): Likewise.
6018         (bit_cpu_BMI2): Likewise.
6019         (index_cpu_BMI1): Likewise.
6020         (index_cpu_BMI2): Likewise.
6021         (index_cpu_LZCNT): Likewise.
6022         (index_cpu_MOVBE): Likewise.
6023         (index_cpu_POPCNT): Likewise.
6024         (reg_BMI1): Likewise.
6025         (reg_BMI2): Likewise.
6026         (reg_LZCNT): Likewise.
6027         (reg_MOVBE): Likewise.
6028         (reg_POPCNT): Likewise.
6029         * sysdeps/x86/dl-hwcap.h: New file.
6030         * sysdeps/x86/dl-procinfo.h: Likewise.
6031         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
6032         (_dl_x86_platforms): Likewise.
6034 2017-05-03  DJ Delorie  <dj@redhat.com>
6036         [BZ #21411]
6037         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
6039 2017-05-03  Phil Blundell  <pb@pbcl.net>
6041         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
6042         comments.
6044 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
6046         [BZ #20116]
6047         * nptl/pthread_create.c: Expand comments to describe
6048         semaphore-like and mutex-like uses of PD->lock.
6050 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6052         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
6053         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
6054         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
6055         auto-generation list.
6056         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
6057         epoll_wait.
6058         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
6059         Remove epoll_wait.
6061         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
6062         osf_select.
6063         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
6064         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
6065         osf_select from auto-generation list.
6066         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
6067         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
6068         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
6069         * sysdeps/unix/sysv/linux/select.c: New file.
6071         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
6072         * sysdeps/unix/sysv/linux/poll.c: New file.
6073         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
6074         auto-generation list.
6076 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
6078         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
6079         New macro.
6081 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
6083         [BZ #21179]
6084         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
6085         R_SPARC_REGISTER relocations.
6087 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6089         * include/unistd.h (__pread): Add libc_hidden_proto.
6090         (__pread64): Likewise.
6091         (__pwrite): Likewise.
6092         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
6093         (__pread64): Remove.
6094         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
6095         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
6096         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
6098 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6102 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6104         * nptl/tst-cancel4-common.c: Use libsupport.
6105         * nptl/tst-cancel4-common.h: Likewise.
6106         * nptl/tst-cancel4.c (tf_read): Likewise.
6107         (tf_readv): Likewise.
6108         (tf_write): Likewise.
6109         (tf_writev): Likewise.
6110         (tf_sleep): Likewise.
6111         (tf_usleep): Likewise.
6112         (tf_nanosleep): Likewise.
6113         (tf_select): Likewise.
6114         (tf_pselect): Likewise.
6115         (tf_poll): Likewise.
6116         (tf_ppoll): Likewise.
6117         (tf_wait): Likewise.
6118         (tf_waitpid): Likewise.
6119         (tf_waitid): Likewise.
6120         (tf_sigpause): Likewise.
6121         (tf_sigsuspend): Likewise.
6122         (tf_sigwait): Likewise.
6123         (tf_sigwaitinfo): Likewise.
6124         (tf_sigtimedwait): Likewise.
6125         (tf_pause): Likewise.
6126         (tf_accept): Likewise.
6127         (tf_send): Likewise.
6128         (tf_recv): Likewise.
6129         (tf_recvfrom): Likewise.
6130         (tf_recvmsg): Likewise.
6131         (tf_open): Likewise.
6132         (tf_close): Likewise.
6133         (tf_pread): Likewise.
6134         (tf_pwrite): Likewise.
6135         (tf_preadv): Likewise.
6136         (tf_pwritev): Likewise.
6137         (tf_fsync): Likewise.
6138         (tf_fdatasync): Likewise.
6139         (tf_msync): Likewise.
6140         (tf_sendto): Likewise.
6141         (tf_sendmsg): Likewise.
6142         (tf_creat): Likewise.
6143         (tf_connect): Likewise.
6144         (tf_tcdrain): Likewise.
6145         (tf_msgrcv): Likewise.
6146         (tf_msgsnd): Likewise.
6147         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
6148         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
6150         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
6151         expected arguments.
6152         (do_test): Adapt to use libsupport.
6154 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
6156         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
6158         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
6159         (PF_MAX): Set to 44.
6160         (AF_SMC): New macro.
6162         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
6163         kernel version to 4.11.
6165 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6167         [BZ #21280]
6168         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
6169         signal of subnormals and adjust the exponent of power of 2 down
6170         when low part has opposite sign.
6172 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6174         * sysdeps/powerpc/powerpc64le/Implies: New file.
6175         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
6176         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
6177         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
6178         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
6179         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
6180         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
6181         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
6182         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
6183         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
6184         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
6185         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
6186         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
6187         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
6188         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
6189         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
6190         * sysdeps/powerpc/preconfigure: New file.
6191         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
6192         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
6194 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
6196         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
6197         inclusion.
6198         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
6199         Remove.
6201 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
6203         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
6204         (XPG3): Rename standard to XPG4.
6205         * conform/Makefile: Likewise.
6206         * conform/list-header-symbols.pl: Likewise.
6207         * conform/data/aio.h-data: Likewise.
6208         * conform/data/arpa/inet.h-data: Likewise.
6209         * conform/data/complex.h-data: Likewise.
6210         * conform/data/ctype.h-data: Likewise.
6211         * conform/data/dlfcn.h-data: Likewise.
6212         * conform/data/fcntl.h-data: Likewise.
6213         * conform/data/fenv.h-data: Likewise.
6214         * conform/data/float.h-data: Likewise.
6215         * conform/data/fmtmsg.h-data: Likewise.
6216         * conform/data/ftw.h-data: Likewise.
6217         * conform/data/grp.h-data: Likewise.
6218         * conform/data/inttypes.h-data: Likewise.
6219         * conform/data/iso646.h-data: Likewise.
6220         * conform/data/langinfo.h-data: Likewise.
6221         * conform/data/libgen.h-data: Likewise.
6222         * conform/data/limits.h-data: Likewise.
6223         * conform/data/locale.h-data: Likewise.
6224         * conform/data/math.h-data: Likewise.
6225         * conform/data/mqueue.h-data: Likewise.
6226         * conform/data/ndbm.h-data: Likewise.
6227         * conform/data/net/if.h-data: Likewise.
6228         * conform/data/netdb.h-data: Likewise.
6229         * conform/data/netinet/in.h-data: Likewise.
6230         * conform/data/poll.h-data: Likewise.
6231         * conform/data/pthread.h-data: Likewise.
6232         * conform/data/pwd.h-data: Likewise.
6233         * conform/data/sched.h-data: Likewise.
6234         * conform/data/search.h-data: Likewise.
6235         * conform/data/semaphore.h-data: Likewise.
6236         * conform/data/signal.h-data: Likewise.
6237         * conform/data/spawn.h-data: Likewise.
6238         * conform/data/stdbool.h-data: Likewise.
6239         * conform/data/stdint.h-data: Likewise.
6240         * conform/data/stdio.h-data: Likewise.
6241         * conform/data/stdlib.h-data: Likewise.
6242         * conform/data/string.h-data: Likewise.
6243         * conform/data/strings.h-data: Likewise.
6244         * conform/data/stropts.h-data: Likewise.
6245         * conform/data/sys/mman.h-data: Likewise.
6246         * conform/data/sys/resource.h-data: Likewise.
6247         * conform/data/sys/select.h-data: Likewise.
6248         * conform/data/sys/socket.h-data: Likewise.
6249         * conform/data/sys/stat.h-data: Likewise.
6250         * conform/data/sys/statvfs.h-data: Likewise.
6251         * conform/data/sys/time.h-data: Likewise.
6252         * conform/data/sys/timeb.h-data: Likewise.
6253         * conform/data/sys/types.h-data: Likewise.
6254         * conform/data/sys/uio.h-data: Likewise.
6255         * conform/data/sys/un.h-data: Likewise.
6256         * conform/data/sys/wait.h-data: Likewise.
6257         * conform/data/syslog.h-data: Likewise.
6258         * conform/data/termios.h-data: Likewise.
6259         * conform/data/tgmath.h-data: Likewise.
6260         * conform/data/time.h-data: Likewise.
6261         * conform/data/ucontext.h-data: Likewise.
6262         * conform/data/unistd.h-data: Likewise.
6263         * conform/data/utmpx.h-data: Likewise.
6264         * conform/data/varargs.h-data: Likewise.
6265         * conform/data/wchar.h-data: Likewise.
6266         * conform/data/wctype.h-data: Likewise.
6268 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
6270         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
6271         version to 7 branch.
6273 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
6275         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
6276         earlyclobber to output operand of sqrt insn.
6277         (__ieee754_sqrtf): Ditto.
6279 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
6281         [BZ #21426]
6282         * misc/bits/types/struct_iovec.h: New file.
6283         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
6284         * include/bits/types/struct_iovec.h: New file.
6285         * bits/uio.h (struct iovec): Replace by inclusion of
6286         <bits/types/struct_iovec.h>.
6287         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
6288         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
6289         of <sys/uio.h>.
6290         * nptl/tst-cancel4.c: Include <sys/uio.h>
6291         * posix/test-errno.c: Likewise.
6292         * support/resolv_test.c: Likewise.
6293         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
6294         Remove.
6295         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
6296         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
6297         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
6299         * conform/data/sys/socket.h-data (*_t): Allow.
6301 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6303         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
6304         assignment.
6306 2017-04-24  Daurnimator  <quae@daurnimator.com>
6307             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6309         [BZ #21340]
6310         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
6311         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
6312         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
6313         valid flags.
6314         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
6315         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
6316         POSIX_SPAWN_SETSID.
6317         * sysdeps/posix/spawni.c (__spawni): Likewise.
6318         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6319         * NEWS: Add note about POSIX_SPAWN_SETSID support.
6321 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6323         * sysdeps/generic/math_private.h: Move the declaration of many
6324         functions to sysdeps/generic/math_private_calls.h.
6325         * sysdeps/generic/math_private_calls.h: New file with the
6326         declarations of the functions removed from math_private.h
6327         macroized by floating-point type.
6329 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6331         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
6332         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
6333         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6334         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6335         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6336         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6338 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6340         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
6341         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
6342         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
6343         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
6344         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
6345         New Define.
6347 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6349         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
6350         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
6351         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
6352         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
6353         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
6354         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
6356 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6358         * sysdeps/s390/multiarch/ifunc-resolve.h
6359         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
6360         * sysdeps/s390/multiarch/8bit-generic.c
6361         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
6362         define ifunc resolvers.
6364 2017-04-21  Florian Weimer  <fweimer@redhat.com>
6366         [BZ #20424]
6367         * manual/memory.texi (Replacing malloc): New section.
6368         (Allocating Storage For Program Data): Reference it.
6369         (The GNU Allocator): Likewise.
6371 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
6373         * stdlib/Versions (__strtod_internal): List explicitly, not as
6374         wildcard.
6375         (__strtof_internal): Likewise.
6376         (__strtold_internal): Likewise.
6377         (__strtol_internal): Likewise.
6378         (__strtoll_internal): Likewise.
6379         (__strtoul_internal): Likewise.
6380         (__strtoull_internal): Likewise.
6381         (__strtoq_internal): Likewise.
6382         (__strtouq_internal): Likewise.
6383         * wcsmbs/Versions (__wcstod_internal): Likewise.
6384         (__wcstof_internal): Likewise.
6385         (__wcstold_internal): Likewise.
6386         (__wcstol_internal): Likewise.
6387         (__wcstoll_internal): Likewise.
6388         (__wcstoul_internal): Likewise.
6389         (__wcstoull_internal): Likewise.
6391 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6393         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
6394         struct timespec definition.
6396 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6398         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
6400 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6402         * inet/rcmd.c (rresvport_af): Fix typo in comment.
6403         * inet/rexec.c (rexec_af): Likewise.
6405 2017-04-19  Zack Weinberg  <zackw@panix.com>
6407         * posix/tst-mmap-offset.c: Include stdint.h.
6408         * resolv/tst-ns_name_compress.c: Include string.h.
6409         * resolv/tst-resolv-edns.c: Include resolv.h.
6411 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6413         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
6414         with __glibc_likely.
6415         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
6416         Replace __builtin_expect with __glibc_unlikely.
6417         * resolv/res_init.c (__res_vinit): Likewise.
6418         * resolv/res_query.c (__libc_res_nquery): Likewise.
6419         * resolv/res_send.c (__libc_res_nsend): Likewise.
6421 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6423         [BZ #15722]
6424         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
6425         with SOCK_CLOEXEC.
6426         * resolv/res_send.c (send_vc, reopen): Likewise.
6427         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
6428         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
6429         Likewise.
6430         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
6431         * inet/rexec.c (rexec_af): Add comment.
6432         * inet/rcmd.c (rresvport_af): Likewise.
6434 2017-04-19  Florian Weimer  <fweimer@redhat.com>
6436         * nscd/connections.c (have_accept4): Removed definition.
6437         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
6438         accept4 works.
6439         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
6440         ia64 because that was the first version with accept4 support.
6441         * support/Makefile (libsupport-routines): Add xaccept4.
6442         * support/xsocket.h (xaccept4): Declare.
6443         * support/xaccept4.c: New file.
6444         * socket/tst-accept4.c: New file.
6445         * socket/Makefile (tests): Add tst-accept4.
6446         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
6447         definition.
6448         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
6449         comment.
6450         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
6451         implementation is available.
6452         (accept4): Use the system call if available, otherwise use the
6453         socket call.
6454         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
6455         Set to 3.2.18.
6456         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6457         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
6458         accept4 is unconditionally available in later 3.2 stable kernels.
6459         (__ASSUME_ACCEPT4_SYSCALL): Define.
6460         * sysdeps/unix/sysv/linux/kernel-features.h
6461         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
6462         definitions.
6463         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6464         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
6466 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
6468         * conform/Makefile (tests-special): Do not make addition of
6469         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
6470         (generated): Do not make addition of $(conformtest-header-base)
6471         conditional on [$(cross-compiling) = no].
6473         [BZ #21267]
6474         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
6475         if defined by <asm/socket.h> and not previously defined.
6476         (IOCSIZE_SHIFT): Likewise.
6477         (IOC_IN): Likewise.
6478         (IOC_INOUT): Likewise.
6479         (IOC_OUT): Likewise.
6481 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6483         [BZ #21396]
6484         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6485         Prefer_No_AVX512 if AVX512ER isn't available.
6486         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
6487         (index_arch_Prefer_No_AVX512): Likewise.
6488         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
6489         AVX512 version if Prefer_No_AVX512 is set.
6490         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
6491         Likewise.
6492         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
6493         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
6494         Likewise.
6495         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
6496         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
6497         Likewise.
6498         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
6499         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
6500         Likewise.
6502 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
6504         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6505         Prefer_No_VZEROUPPER if AVX512ER is available.
6506         * sysdeps/x86/cpu-features.h
6507         (bit_cpu_AVX512PF): New.
6508         (bit_cpu_AVX512ER): Likewise.
6509         (bit_cpu_AVX512CD): Likewise.
6510         (bit_cpu_AVX512BW): Likewise.
6511         (bit_cpu_AVX512VL): Likewise.
6512         (index_cpu_AVX512PF): Likewise.
6513         (index_cpu_AVX512ER): Likewise.
6514         (index_cpu_AVX512CD): Likewise.
6515         (index_cpu_AVX512BW): Likewise.
6516         (index_cpu_AVX512VL): Likewise.
6517         (reg_AVX512PF): Likewise.
6518         (reg_AVX512ER): Likewise.
6519         (reg_AVX512CD): Likewise.
6520         (reg_AVX512BW): Likewise.
6521         (reg_AVX512VL): Likewise.
6523 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6525         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
6526         O_CLOEXEC is defined.
6527         * include/fcntl.h (__have_o_cloexec): Remove declaration.
6528         * io/Makefile (aux): Remove.
6529         * io/have_o_cloexec.c: Remove file.
6530         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
6531         defined and works.
6532         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
6533         defined.
6534         * login/utmp_file.c (O_flags): Remove definition.
6535         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
6536         O_CLOEXEC works.
6537         (pututline_file): Likewise.
6538         * malloc/mtrace.c: Assume that O_CLOEXEC works.
6539         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
6540         definition.
6541         (internal_setgrent): Assume that O_CLOEXEC works.
6542         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
6543         Remove definition.
6544         (internal_setgrent): Assume that O_CLOEXEC works.
6545         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
6546         definition.
6547         (internal_setpwent): Assume that O_CLOEXEC works.
6548         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
6549         definition.
6550         (internal_setspent): Assume that O_CLOEXEC works.
6551         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
6552         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
6553         O_CLOEXEC is defined and works.
6554         * nss/Makefile (libnss_files-routines): Remove
6555         files-have_o_cloexec.
6556         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
6557         defined.
6558         * nss/nss_files/files-XXX.c (internal_setent): Assume that
6559         O_CLOEXEC is defined and works.
6560         * nss/nss_files/files-alias.c (internal_setent): Likewise.
6561         * nss/nss_files/files-have_o_cloexec.c: Remove.
6562         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
6563         defined.
6564         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
6565         and works.
6566         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
6567         definition.
6568         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
6569         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
6570         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
6571         (__opendirat, __opendir): Adjust opendir_oflags call.
6572         (check_have_o_cloexec): Remove.
6573         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
6574         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
6575         defined.
6576         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
6577         Remove definition.
6579 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6581         * include/unistd.h (__have_dup3): Remove declaration.
6582         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
6583         dup3 is available.
6584         * libio/freopen64.c (freopen64): Likewise.
6585         * socket/Makefile (aux): Remove have_sock_cloexec.
6586         * socket/have_sock_cloexec.c: Remove file.
6587         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
6588         definition.
6589         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
6590         Likewise.
6591         * sysdeps/nacl/kernel-features.h: Update comment.
6593 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6595         * include/unistd.h (__have_pipe2): Remove declaration.
6596         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
6597         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
6598         available.
6599         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
6600         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
6601         Remove definition.
6603 2017-04-18  Florian Weimer  <fweimer@redhat.com>
6605         * malloc/malloc.c (cfree): Turn into compat symbol.
6606         (__cfree): Remove alias.
6607         * stdlib/stdlib.h (cfree): Remove declaration.
6608         * malloc/malloc.h (cfree): Likewise.
6609         * manual/memory.texi (Freeing after Malloc): Remove cfree.
6610         * malloc/Versions (GLIBC_2.26): Add.
6612 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6614         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6615         (sysdep_routines): Add strrchr-power8.
6616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6617         (strrchr): Add __strrchr_power8 to list of strrchr functions.
6618         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
6619         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
6620         (strrchr): Add __strrchr_power8 to ifunc list.
6621         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
6623 2017-04-17  Rabin Vincent  <rabinv@axis.com>
6625         [BZ #21357]
6626         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
6627         Call free() outside of mutex.
6629 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6631         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
6632         is defined.
6633         * elf/rtld.c (process_envvars): Likewise.
6634         * sysdeps/posix/shm_open.c (shm_open): Likewise.
6635         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
6636         O_NOFOLLOW directly.
6637         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
6639 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6641         [BZ #21369]
6642         Remove EDNS fallback.
6643         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
6644         handling.
6645         * resolv/res_send.c (send_dg): Likewise.
6646         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
6647         "tcp." prefixes.
6648         (do_test): Send a "formerr."-prefixed query in an attempt to
6649         trigger EDNS fallback.
6651 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6653         [BZ #21361]
6654         Limit EDNS buffer size to 1200 bytes.
6655         * include/resolv.h (__res_nopt): Remove declaration.
6656         * resolv/Makefile (tests): tst-resolv-edns.
6657         (tst-resolv-edns): Link with -lresolv, -lpthread.
6658         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
6659         interval [512, 1200].
6660         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
6661         we can resize the buffer.
6662         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
6663         (__res_nopt): Declare.
6664         * resolv/tst-resolv-edns.c: New file.
6665         * resolv/resolv_test.h (struct resolv_edns_info): Define.
6666         (struct resolv_response_context): Add edns member.
6667         * resolv/resolv_test.c (struct query_info): Add edns member.
6668         (parse_query): Extract EDNS information from the query.
6669         (server_thread_udp_process_one): Propagate EDNS data.
6670         (server_thread_tcp_client): Likewise.
6672 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6674         [BZ #21359]
6675         * resolv/ns_name.c (ns_name_pack): Do not require an additional
6676         byte in the destination buffer.  Avoid out-of-bounds pointer
6677         arithmetic.
6678         * resolv/Makefile (tests): Add tst-ns_name_compress.
6679         (tst-ns_name_compress): Link with -lresolv.
6680         * resolv/tst-ns_name_compress.c: New file.
6681         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
6682         (response): Recognize LONG_NAME.
6683         (do_test): Add LONG_NAME tests.
6684         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
6685         for ns_name_unpack.  Add tests for ns_name_pton and
6686         ns_name_compress.
6688 2017-04-13  Florian Weimer  <fweimer@redhat.com>
6690         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
6691         (res_nisourserver): Remove definition.
6692         (p_section, res_npquery, res_nisourserver): Remove declaration.
6693         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
6694         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
6695         ... here.
6696         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
6697         <resolv.h>.
6698         * resolv/res_query.c: Likewise.
6699         * resolv/res_debug.c (p_section): Define as static.
6701 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6703         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
6704         strncat-power8.
6705         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
6706         __strncat_power8 to ifunc list.
6707         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6708         (strncat): Add __strncat_power8 to list of strncat functions.
6709         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
6711 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6713         [BZ #21270]
6714         * posix/tst-mmap-offset.c (do_prepare): New function.
6715         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
6716         (do_test_bz21270): New function.
6717         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
6718         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
6719         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
6720         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
6721         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
6722         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
6723         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
6724         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
6725         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
6726         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
6727         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
6728         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
6729         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
6730         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6731         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
6732         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
6733         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
6734         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
6735         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
6736         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
6737         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
6738         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
6739         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
6740         from auto-generation list.
6741         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
6742         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
6743         * sysdeps/unix/sysv/linux/mmap.c: New file.
6744         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
6745         offsets and support for mmap2 syscall.
6747         * posix/globtest.sh: Add cleanup routine on trap 0.
6749 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6751         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
6752         implementation-specific function name and remove unneeded
6753         macros definition.
6754         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
6755         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
6756         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
6757         name if not defined and pass as parameter to macros accordingly.
6758         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
6759         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
6761         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
6762         implementation-specific function name and remove unneeded
6763         macros definition.
6764         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
6765         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
6766         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
6767         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
6768         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
6769         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
6770         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
6771         name if not defined and pass as parameter to macros accordingly.
6772         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
6773         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
6774         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6775         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6776         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
6777         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
6779         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
6780         implementation-specific function name and remove unneeded macros
6781         definition.
6782         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
6783         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
6784         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
6785         function name if not defined and pass as parameter to macros
6786         accordingly.
6787         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
6788         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
6790         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
6791         implementation-specific function name and remove unneeded macros
6792         definition.
6793         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6794         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6795         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
6796         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
6797         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
6798         not defined and pass as parameter to macros accordingly.
6799         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
6800         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6801         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6802         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
6804         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
6805         strcasestr implementation name and remove unneeded macros definition.
6806         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
6807         strstr implementation name and remove unneeded macros definition.
6808         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
6809         name if not defined and pass as parameter to macros accordingly.
6810         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
6812         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
6813         implementation-specific function name and remove unneeded macros
6814         definition.
6815         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
6816         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
6817         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
6818         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
6819         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
6820         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
6821         function name if not defined and pass as parameter to macros
6822         accordingly.
6823         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
6824         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
6825         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
6826         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
6828         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
6829         the strlen implementation name and remove unneeded macros definition.
6830         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
6831         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
6832         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
6833         the strnlen implementation name and remove unneeded macros definition.
6834         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
6835         name if not defined and pass as parameter to macros accordingly.
6836         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
6837         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
6838         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6840         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
6841         the implementation-specific function name and remove unneeded
6842         macros definition.
6843         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
6844         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
6845         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
6846         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
6847         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
6848         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
6849         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
6850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
6851         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
6852         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
6853         name if not defined and pass as parameter to macros accordingly.
6854         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
6855         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
6856         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
6857         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6858         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6859         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6860         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6861         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6863         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6864         implementation-specific function name and remove unneeded macros
6865         definition.
6866         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6867         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6868         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6869         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6870         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6871         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6872         function name if not defined.
6873         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6874         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6876 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6878         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6879         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6880         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6881         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6883 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6884             Zack Weinberg  <zackw@panix.com>
6886         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6887         readdir64 as thread-safe.  Update warning about readdir_r.
6889 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6891         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6892         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6893         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6894         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6895         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6896         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6897         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6899 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6901         * sysdeps/i386/dl-procinfo.c: Include
6902         <sysdeps/x86/dl-procinfo.c>.
6903         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6904         * sysdeps/x86/dl-procinfo.c: New file.
6906 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6908         * sysdeps/generic/math_private.h: Remove declarations of
6909         many functions that are already declared in math.h.
6910         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6911         declaration for __frexpl.
6912         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6913         the declarations for __scalbnl and fabsl.
6915 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6917         [BZ #20831]
6918         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6919         of __mprotect to change protection on the excess portion
6920         to disallow all access.
6922 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6924         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6925         HAS_CPU_FEATURE to check for SSE.
6926         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6927         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6928         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6929         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6930         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6931         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6932         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6933         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6934         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6935         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6936         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6937         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6938         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6939         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6940         (index_cpu_SSE): Likewise.
6941         (reg_SSE): Likewise.
6943 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6945         * posix/getopt1.c: Include <config.h>, not "config.h".
6947 2017-04-07  Zack Weinberg  <zackw@panix.com>
6949         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6950         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6951         Mention in top-of-file boilerplate that these files are shared
6952         with gnulib.
6953         * posix/getopt.h, posix/bits/getopt_posix.h:
6954         Mention in top-of-file boilerplate that these files are NOT shared
6955         with gnulib, unlike the rest of the getopt implementation.
6957         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6958         New files, intended to be shared with gnulib.
6959         * posix/bits/getopt_posix.h:
6960         New file, not intended to be shared with gnulib.
6961         * posix/getopt.h: Now just includes features.h,
6962         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6963         no longer be shared with gnulib.
6964         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6965         * include/bits/getopt_posix.h: New wrappers.
6966         * posix/Makefile: Install new headers.
6967         * posix/unistd.h, libio/stdio.h:
6968         Include bits/getopt_posix.h instead of getopt.h.
6970         * include/libc-symbols.h: For gnulib compatibility, define
6971         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6972         _GL_ATTRIBUTE_CONST.
6973         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6974         parameters with _GL_UNUSED.
6976         * posix/getopt.c: When used standalone, define __libc_use_alloca
6977         as always false and alloca to abort if called.
6978         (process_long_option): Rewrite handling of ambiguous long options
6979         to use a single boolean vector, not a linked list; use
6980         __libc_use_alloca to decide whether to allocate this using alloca.
6981         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6983         * posix/getopt.c (process_long_option): New function split out
6984         from _getopt_internal_r.
6985         (_getopt_internal_r): Replace both copies of the long-option
6986         processing code with calls to process_long_option.
6987         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6988         (do_test): Differentiate argv[0] in the two subtests.
6990         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6991         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6992         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6994         * posix/getopt.h: Add backup definition of __nonnull for
6995         consistency with gnulib.  Define __getopt_argv_const to const
6996         if not already defined.
6997         (getopt): Update doc comment from gnulib.  Prototype
6998         unconditionally.  Add __nonnull annotation.
6999         (__posix_getopt): Add __nonnull annotation.
7000         (getopt_long, getopt_long_only): Use __getopt_argv_const in
7001         prototypes for consistency with gnulib.  Add __nonnull
7002         annotations.
7003         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
7004         (getopt_internal): Change 'argv' argument to type 'char **'.
7005         Remove now-unnecessary casts.
7006         (getopt, __posix_getopt): Eliminate repetition with a macro.
7007         Cast 'argv' to 'char **' when calling _getopt_internal.
7008         * posix/getopt1.c (getopt_long, getopt_long_only):
7009         Use __getopt_argv_const for consistency with gnulib.
7010         Cast 'argv' to 'char **' when calling _getopt_internal.
7011         (_getopt_long_r, _getopt_long_only_r):
7012         Change 'argv' argument to type 'char **'.
7013         (main): Constify 'long_options'.
7014         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
7015         (_getopt_long_r, _getopt_long_only_r):
7016         Change 'argv' argument to type 'char **'.
7018         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
7019         (locked_vfxprintf): New helper function. Handle arbitrary
7020         multibyte strings, not just ASCII.
7021         * include/stdio.h: Declare __fxprintf_nocancel.
7022         * posix/getopt.c: When _LIBC is defined, define fprintf to
7023         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
7024         to _IO_funlockfile.  When neither _LIBC nor
7025         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
7026         funlockfile as no-ops.
7027         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
7028         the standalone error-printing code can now be used for libc as
7029         well.  Add an flockfile/funlockfile pair around one case where
7030         the error message is printed in several chunks.  Don't use fputc.
7031         * posix/tst-getopt-cancel.c: New test.
7032         * posix/Makefile: Run it.
7034         * posix/getopt.c (_getopt_internal_r): Don't increment
7035         d->optind a second time when reporting ambiguous -W options.
7037         * posix/getopt_int.h: Include getopt.h.
7038         Use impl-namespace names for all arguments to _getopt_internal and
7039         _getopt_internal_r.
7040         Declare __ordering enum outside the struct.
7041         Harmonize comments with gnulib.
7042         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
7043         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
7044         #ifdef TEST block and make unconditional.  Do not define NULL.
7045         * posix/getopt.c: Partial merge from gnulib, covering the
7046         initial includes and global declarations, commentary, and
7047         a couple of semantically-neutral code changes.
7049         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
7050         Use '...' instead of `...' for quotation marks inside
7051         comments and strings.
7053         * config.h.in (USE_NONOPTION_FLAGS): Remove.
7054         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
7055         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
7056         * posix/getopt_int.h: Likewise.
7057         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
7058         __libc_argc and __libc_argv externs, which were only used by
7059         #ifdef USE_NONOPTION_FLAGS blocks.
7060         * posix/getopt_init.c: Remove file.
7061         * posix/Makefile (routines): Remove getopt_init.
7062         * include/getopt.h: Don't declare __getopt_initialize_environment.
7063         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
7064         a comment.
7066 2017-04-07  Florian Weimer  <fweimer@redhat.com>
7068         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
7070 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7072         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
7073         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
7074         to __wrap_.udiv.
7075         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
7076         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
7078         * sysdeps/i386/symbol-hacks.h: New file.
7079         * sysdeps/m68k/symbol-hacks.h: New file.
7080         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
7081         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
7082         * sysdeps/unix/sysv/linux/i386/Makefile
7083         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
7084         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7085         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7086         * sysdeps/unix/sysv/linux/m68k/Makefile
7087         [$(subdir) = csu] (sysdep_routines): Likewise.
7088         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7089         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
7091         [$(subdir) = csu] (sysdep_routines): Likewise.
7092         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7093         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7094         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
7095         [$(subdir) = csu] (sysdep_routines): Likewise.
7096         [$(subdir) = csu] (sysdep-only-routines): Likewise.
7097         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
7098         * sysdeps/wordsize-32/Makefile: Remove file.
7099         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
7100         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
7102 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
7104         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
7105         (TEST_FUNCTION_ARGV): New.
7107 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7109         * elf/next.c: Import support/test-driver.c instead of
7110         test-skeleton.c and delete TEST_FUNCTION macro definition.
7111         * elf/nodelete.c: Likewise.
7112         * elf/order2.c: Likewise.
7113         * elf/tst-_dl_addr_inside_object.c: Likewise.
7114         * elf/tst-addr1.c: Likewise.
7115         * elf/tst-align.c: Likewise.
7116         * elf/tst-align2.c: Likewise.
7117         * elf/tst-audit11.c: Likewise.
7118         * elf/tst-audit12.c: Likewise.
7119         * elf/tst-audit2.c: Likewise.
7120         * elf/tst-audit9.c: Likewise.
7121         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
7122         * elf/tst-deep1.c: Likewise.
7123         * elf/tst-dl-iter-static.c: Likewise.
7124         * elf/tst-dlmodcount.c: Likewise.
7125         * elf/tst-dlmopen1.c: Likewise.
7126         * elf/tst-dlmopen2.c: Likewise.
7127         * elf/tst-dlmopen3.c: Likewise.
7128         * elf/tst-dlopen-aout.c: Likewise.
7129         * elf/tst-dlopenrpath.c: Likewise.
7130         * elf/tst-dlsym-error.c: Likewise.
7131         * elf/tst-execstack-needed.c: Likewise.
7132         * elf/tst-execstack-prog.c: Likewise.
7133         * elf/tst-execstack.c: Likewise.
7134         * elf/tst-global1.c: Likewise.
7135         * elf/tst-gnu2-tls1.c: Likewise.
7136         * elf/tst-latepthread.c: Likewise.
7137         * elf/tst-leaks1.c: Likewise.
7138         * elf/tst-linkall-static.c: Likewise.
7139         (do_test): New function.
7140         * elf/tst-nodelete-opened.c: Likewise.
7141         * elf/tst-nodelete.cc: Likewise.
7142         * elf/tst-nodelete2.c: Likewise.
7143         * elf/tst-noload.c: Likewise.
7144         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
7145         * elf/tst-order-main.c: Likewise.
7146         * elf/tst-pathopt.c: Likewise.
7147         * elf/tst-pie2.c: Likewise.
7148         * elf/tst-piemod1.c: Likewise.
7149         * elf/tst-prelink.c: Likewise.
7150         * elf/tst-protected1a.c: Likewise.
7151         * elf/tst-protected1b.c: Likewise.
7152         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
7153         and define _GNU_SOURCE macro.
7154         (cmdline_process_function): New function.
7155         * elf/tst-relsort1.c: Likewise.
7156         * elf/tst-stackguard1.c: Likewise, import getopt.h,
7157         and define _GNU_SOURCE macro.
7158         (cmdline_process_function): New function.
7159         * elf/tst-thrlock.c: Likewise.
7160         * elf/tst-tls-dlinfo.c: Likewise.
7161         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
7162         * elf/tst-tls1.c: Likewise.
7163         * elf/tst-tls10.c: Likewise.
7164         * elf/tst-tls11.c: Likewise.
7165         * elf/tst-tls12.c: Likewise.
7166         * elf/tst-tls13.c: Likewise.
7167         * elf/tst-tls14.c: Likewise.
7168         * elf/tst-tls15.c: Likewise.
7169         * elf/tst-tls16.c: Likewise.
7170         * elf/tst-tls17.c: Likewise.
7171         * elf/tst-tls18.c: Likewise.
7172         * elf/tst-tls19.c: Likewise.
7173         * elf/tst-tls2.c: Likewise.
7174         * elf/tst-tls3.c: Likewise.
7175         * elf/tst-tls4.c: Likewise.
7176         * elf/tst-tls5.c: Likewise.
7177         * elf/tst-tls6.c: Likewise.
7178         * elf/tst-tls7.c: Likewise.
7179         * elf/tst-tls8.c: Likewise.
7180         * elf/tst-tls9.c: Likewise.
7181         * elf/tst-tlsalign-extern.c: Likewise.
7182         * elf/tst-tlsalign.c: Likewise.
7183         * elf/tst-unique1.c: Likewise.
7184         * elf/tst-unique2.c: Likewise.
7185         * elf/vismain.c: Likewise.
7187 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7189         * string/test-strnlen.c (do_page_tests): New function
7190         to check length of strings ending at the page boundary.
7191         (test_main): Added call to the do_page_tests function.
7193 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7194             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7196         * sysdeps/powerpc/powerpc64/multiarch/Makefile
7197         (sysdep_routines): Add strnlen-power8.
7198         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7199         (strnlen): Add __strnlen_power8 to list of strnlen functions.
7200         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
7201         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
7202         (__strnlen): Add __strnlen_power8 to ifunc list.
7203         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
7205 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7207         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
7208         the TEST_FUNCTION macro definition.
7209         * wcsmbs/tst-mbrtowc2.c: Likewise.
7210         * wcsmbs/tst-mbsrtowcs.c: Likewise.
7211         * wcsmbs/tst-wchar-h.c: Likewise.
7212         * wcsmbs/tst-wcpncpy.c: Likewise.
7213         * wcsmbs/tst-wcrtomb.c: Likewise.
7214         * wcsmbs/tst-wcsnlen.c: Likewise.
7215         * wcsmbs/tst-wcstof.c: Likewise.
7217 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7219         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
7220         CALL_THREAD_FCT macro usage.
7221         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
7222         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
7223         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
7225         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
7226         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7227         (__ASSUME_REQUEUE_PI): Likewise.
7228         * sysdeps/unix/sysv/linux/kernel-features.h
7229         (__ASSUME_REQUEUE_PI): Likewise.
7230         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7231         (__ASSUME_REQUEUE_PI): Likewise.
7232         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7233         (__ASSUME_REQUEUE_PI): Likewise.
7234         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7235         (__ASSUME_REQUEUE_PI): Likewise.
7237 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7239         * resolv/tst-resolv-canonname.c: New file.
7240         * resolv/Makefile (tests): Add tst-resolv-canonname.
7241         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
7243 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7245         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
7246         Declare.
7247         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
7248         (NS_MAXCDNAME): Remove definition.
7249         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7250         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
7251         (NS_MAXCDNAME): Remove definition.
7252         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
7254 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7256         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
7257         call whose result is not used.
7259 2017-04-04  Florian Weimer  <fweimer@redhat.com>
7261         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
7262         * resolv/Makefile (tests): Add tst-ns_name.
7263         (tst-ns_name): Link with -lresolv.
7264         (tst-ns_name.out): Depend on the input data file.
7266 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
7268         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
7269         Clobber also r14.
7271 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
7273         [BZ #21253]
7274         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
7275         slack space by 32KiB.
7277 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
7279         [BZ #21338]
7280         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
7281         instead of incorrect do_set_arena_test
7283 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7285         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
7286         * math/bits/math-finite.h: Likewise.
7288 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
7290         [BZ #21289]
7291         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
7293 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7295         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
7296         non expected inotify_add_watch and quotactl return.
7298 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7300         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
7301         to int32_t.
7302         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
7303         as returning int32_t.
7305 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7307         * math/math.h: Include bits/math-finite.h once per
7308         floating-point type.
7309         * math/bits/math-finite.h: Macroize all declarations by
7310         floating-point type.
7312 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7314         [BZ #21182]
7315         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
7316         near end of a page.
7317         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
7318         overflow calculation.
7320 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
7322         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
7323         (IMPL) Call with 1 instead of 0 as argument.
7325 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7327         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7328         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7329         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7330         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7331         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7332         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7333         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7334         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7335         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7336         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7337         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7338         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7339         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7340         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7341         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7342         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7343         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7344         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7345         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7346         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7347         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7349         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7350         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7351         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7352         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7353         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7354         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7355         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7356         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7357         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7358         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7359         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7360         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7361         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7363         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7364         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7365         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7366         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7367         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7368         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7369         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7370         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7371         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7372         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7373         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7374         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7375         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7376         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7377         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7378         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7379         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7380         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7381         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7382         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7383         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7384         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7385         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7386         defined.
7387         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7388         __NR_setgroups32 if defined.
7389         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7390         if defined.
7391         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7392         __NR_setresgid32 is defined.
7393         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7394         __NR_setresuid32 if defined.
7395         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7396         __NR_setreuid32 if defined.
7397         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7398         defined.
7399         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
7400         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
7401         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
7402         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
7403         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
7404         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
7405         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
7406         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
7407         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
7408         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
7409         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
7410         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
7411         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7412         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
7413         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
7414         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
7415         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
7416         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
7417         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
7418         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
7419         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
7420         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
7421         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
7422         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
7423         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
7424         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
7425         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
7426         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
7427         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
7428         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
7429         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
7430         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
7431         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
7432         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
7433         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
7434         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
7435         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
7436         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
7437         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
7438         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
7439         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
7440         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
7441         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
7442         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
7443         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
7444         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
7445         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
7446         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
7447         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
7448         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
7449         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
7450         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
7451         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
7452         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
7453         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
7454         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
7455         INLINE_SYSCALL_ERROR_RETURN_VALUE.
7456         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
7457         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
7458         defined.
7459         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
7460         __NR_setgroups32 if defined.
7461         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
7462         if defined.
7463         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
7464         __NR_setresgid32 is defined.
7465         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
7466         __NR_setresuid32 if defined.
7467         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
7468         __NR_setreuid32 if defined.
7469         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
7470         defined.
7472 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
7474         [BZ #21277]
7475         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
7476         unconditionally.
7477         (IMAXBEL): Likewise.
7478         (IUTF8): Likewise.
7480 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7482         * sysdeps/aarch64/libm-test-ulps: Update.
7484 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
7486         * README.tunables: Updated descriptions.
7487         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
7488         * scripts/gen-tunables.awk: Updated the code related to the
7489         commit.
7491 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
7493         * benchtests/Makefile (string-benchset): Add memcpy-random.
7494         * benchtests/bench-memcpy-random.c: New file.
7496 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7498         * stdio-common/printf.h (register_printf_modifier): Change the
7499         order of __wur and __THROW.
7500         (register_printf_type): Likewise.
7502 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
7504         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
7505         test_main ().
7506         (CMDLINE_PROCESS): Use function instead of defined macro.
7507         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
7508         <suppport/support.h> to use set_fortify_handler().
7509         * string/bug-envz1.c: Import support/test-driver.c instead of
7510         test-skeleton.c.
7511         * string/bug-strcoll2.c: Likewise.
7512         * string/bug-strtok1.c: Likewise.
7513         * string/stratcliff.c: Likewise.
7514         * string/test-ffs.c: Likewise.
7515         * string/test-memccpy.c: Likewise.
7516         * string/test-memchr.c: Likewise.
7517         * string/test-memcmp.c: Likewise.
7518         * string/test-memcpy.c: Likewise.
7519         * string/test-memmem.c: Likewise.
7520         * string/test-memmove.c: Likewise.
7521         * string/test-memrchr.c: Likewise.
7522         * string/test-memset.c: Likewise.
7523         * string/test-rawmemchr.c: Likewise.
7524         * string/test-strcasecmp.c: Likewise.
7525         * string/test-strcasestr.c: Likewise.
7526         * string/test-strcat.c: Likewise.
7527         * string/test-strchr.c: Likewise.
7528         * string/test-strcmp.c: Likewise.
7529         * string/test-strcpy.c: Likewise.
7530         * string/test-string.h: Likewise.
7531         * string/test-strlen.c: Likewise.
7532         * string/test-strncasecmp.c: Likewise.
7533         * string/test-strncat.c: Likewise.
7534         * string/test-strncmp.c: Likewise.
7535         * string/test-strncpy.c: Likewise.
7536         * string/test-strnlen.c: Likewise.
7537         * string/test-strpbrk.c: Likewise.
7538         * string/test-strrchr.c: Likewise.
7539         * string/test-strspn.c: Likewise.
7540         * string/test-strstr.c: Likewise.
7541         * string/tst-bswap.c: Likewise.
7542         * string/tst-cmp.c: Likewise.
7543         * string/tst-endian.c: Likewise.
7544         * string/tst-inlcall.c: Likewise.
7545         * string/tst-strcoll-overflow.c: Likewise.
7546         * string/tst-strfry.c: Likewise.
7547         * string/tst-strlen.c: Likewise.
7548         * string/tst-strtok.c: Likewise.
7549         * string/tst-strtok_r.c: Likewise.
7550         * string/tst-strxfrm.c: Likewise.
7551         * string/tst-strxfrm2.c: Likewise.
7552         * string/tst-svc.c: Likewise.
7553         * string/tst-svc2.c: Likewise.
7555 2017-03-22  Zack Weinberg  <zackw@panix.com>
7557         * stdio-common/bug25.c: Include stdlib.h.
7558         * support/tst-support_format_dns_packet.c: Include stdio.h,
7559         stdlib.h, and string.h.
7560         * support/tst-support_record_failure.c: Include string.h.
7561         * support/tst-support_record_failure-2.sh: Adjust line number
7562         expectations and correct a typo in an error message.
7564 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
7566         [BZ #21258]
7567         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
7568         Define only if _dl_runtime_resolve is defined to
7569         _dl_runtime_resolve_sse_vex.
7570         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
7571         Fallthrough to _dl_runtime_resolve_sse_vex.
7573 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
7575         * INSTALL: Regenerated.
7577 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
7579         * config.h.in: Add LINK_OBSOLETE_NSL.
7580         * config.make.in: Add build-obsolete-nsl.
7581         * configure.ac: Add obsolete-nsl option.
7582         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
7583         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
7584         * include/rpcsvc/nislib.h: Likewise.
7585         * include/rpcsvc/ypclnt.h: Likewise.
7586         * manual/install.texi: Document --enable-obsolete-nsl.
7587         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
7588         * nis/nis_add.c: Replace libnsl_hidden_def with
7589         libnsl_hidden_nolink_def.
7590         * nis/nis_addmember.c: Likewise.
7591         * nis/nis_call.c: Likewise.
7592         * nis/nis_clone_obj.c: Likewise.
7593         * nis/nis_defaults.c: Likeise.
7594         * nis/nis_domain_of_r.c: Likewise.
7595         * nis/nis_error.c: Likewise.
7596         * nis/nis_file.c: Likewise.
7597         * nis/nis_free.c: Likewise.
7598         * nis_local_names.c: Likewise.
7599         * nis/nis_lookup.c: Likewise.
7600         * nis/nis_modify.c: Likewise.
7601         * nis/nis_print.c: Likewise.
7602         * nis/nis_remove.c: Likewise.
7603         * nis/nis_table.c: Likewise.
7604         * nis/nis_util.c: Likewise.
7605         * nis/nis_xdr.c: Likewise.
7606         * nis/yp_xdr.c: Likewise.
7607         * nis/ypclnt.c: Likewise.
7608         * nis/ypupdate_xdr.c: Likewise.
7609         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
7610         * nis/nis_clone_dir.c: Likewise.
7611         * nis/nis_clone_res.c: Likewise.
7612         * nis/nis_creategroup.c: Likewise.
7613         * nis/nis_destroygroup.c: Likewise.
7614         * nis/nis_domain_of.c: Likewise.
7615         * nis/nis_getservlist.c: Likewise.
7616         * nis/nis_ismember.c: Likewise.
7617         * nis/nis_mkdir.c: Likewise.
7618         * nis/nis_ping.c: Likewise.
7619         * nis/nis_print_group_entry.c: Likewise.
7620         * nis/nis_removemember.c: Likewise.
7621         * nis/nis_rmdir.c: Likewise.
7622         * nis/nis_server.c: Likewise.
7623         * nis/nis_subr.c: Likewise.
7624         * nis/nis_verifygroup.c: Likewise.
7626 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
7628         * malloc/tst-interpose-aux.c (check_for_allocations):
7629         Move compiler barrier before free.
7631 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
7633         [BZ #21279]
7634         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7635         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7636         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
7637         x86_64-x32-linux.
7638         (mq_attr.mq_maxmsg): Likewise.
7639         (mq_attr.mq_msgsize): Likewise.
7640         (mq_attr.mq_curmsgs): Likewise.
7642         [BZ #21278]
7643         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
7644         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
7645         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
7646         mips-o32-linux.
7648         [BZ #21268]
7649         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
7650         if [__USE_MISC]
7651         (NL3): Likewise.
7653 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
7655         [BZ #21275]
7656         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
7657         __stack to __stackbase.
7658         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
7659         checks so we can include defined(__ia64__) first.
7661 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
7663         * sysdeps/unix/sysv/linux/ttyname.h: New file.
7664         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
7665         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
7666         Call is_pty when the link does not exist or does not match, fail
7667         with ENODEV when it returns true.
7668         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
7669         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
7670         Call is_pty when the link does not exist or does not match, fail
7671         with ENODEV when it returns true.
7673 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
7675         [BZ #16437]
7676         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
7677         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7678         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
7679         x86_64-x32-linux.
7680         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
7681         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
7682         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
7684         [BZ #21261]
7685         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
7686         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
7687         names for all fields.
7688         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
7689         for jmp_buf field renaming.
7690         (_JMPBUF_UNWINDS_ADJ): Likewise.
7692         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
7693         with allow-header.
7695 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
7697         * malloc/malloc.c (unlink): Add consistency check between size and
7698         next->prev->size, to further harden against 1-byte overflows.
7700 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
7702         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
7703         CPU_FEATURES_CPU_P.
7705 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
7707         [BZ #21259]
7708         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
7709         unconditionally, not just for [__USE_MISC].
7711         [BZ #17786]
7712         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
7713         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
7714         mips-o32-linux.
7716         [BZ #21260]
7717         * sysdeps/unix/sysv/linux/alpha/Makefile
7718         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
7719         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
7721         * conform/conformtest.pl ($cross): New variable.
7722         (--cross): New command-line option.
7723         (runtest): Skip test execution when cross-compiling.
7724         * conform/Makefile (conformtest-cross): New variable.
7725         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
7726         conformtest.pl.
7728         * conform/conformtest.pl ($xfail_str): New variable.
7729         (--xfail=): New command-line option.
7730         (top level): Handle expectations starting xfail[cond]-.
7731         * conform/Makefile (conformtest-xfail): New variable.
7732         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
7733         conformtest.pl.
7735 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7737         * conform/conformtest.pl: Use compilation instead of execution
7738         tests for testing values of constants and usability in #if.
7740 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7742         * math/auto-libm-test-in: Mark some catan and catanh as
7743         xfail-rounding:ibm128-libgcc.
7744         * math/auto-libm-test-out-catan: Regenerate.
7745         * math/auto-libm-test-out-catanh: Likewise.
7747 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
7749         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
7750         (__END_NAMESPACE_STD): Likewise.
7751         (__USING_NAMESPACE_STD): Likewise.
7752         (__BEGIN_NAMESPACE_C99): Likewise.
7753         (__END_NAMESPACE_C99): Likewise.
7754         (__USING_NAMESPACE_C99): Likewise.
7755         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
7756         undefine macro.
7757         (_Mdouble_END_NAMESPACE): Likewise.
7758         * ctype/ctype.h: Do not handle C++ namespaces.
7759         * libio/bits/stdio-ldbl.h: Likewise.
7760         * libio/stdio.h: Likewise.
7761         * locale/locale.h: Likewise.
7762         * math/bits/mathcalls.h: Likewise.
7763         * setjmp/setjmp.h: Likewise.
7764         * signal/signal.h: Likewise.
7765         * stdlib/bits/stdlib-float.h: Likewise.
7766         * stdlib/bits/stdlib-ldbl.h: Likewise.
7767         * stdlib/stdlib.h: Likewise.
7768         * string/string.h: Likewise.
7769         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
7770         * time/bits/types/clock_t.h: Likewise.
7771         * time/bits/types/struct_tm.h: Likewise.
7772         * time/bits/types/time_t.h: Likewise.
7773         * time/time.h: Likewise.
7774         * wcsmbs/bits/wchar-ldbl.h: Likewise.
7775         * wcsmbs/uchar.h: Likewise.
7776         * wcsmbs/wchar.h: Likewise.
7777         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
7778         * wctype/wctype.h: Do not handle C++ namespaces.
7779         * scripts/begin-end-check.pl: Remove.
7780         * Makefile (installed-headers): Likewise.
7781         (tests-special): Do not add $(objpfx)begin-end-check.out.
7782         ($(objpfx)begin-end-check.out): Remove.
7784 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
7785             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7787         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
7788         (DL_PLATFORM_INIT): New define.
7789         (dl_platform_init): New function.
7790         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
7791         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
7792         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
7793         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
7794         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
7796 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
7798         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
7799         instead of PIC.
7801 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7803         [BZ #21094]
7804         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
7805         24+24+24-bit pi for wider range of values around pi/2.
7806         * math/auto-libm-test-in: Add more tests of cos and tan.
7807         * math/auto-libm-test-out-cos: Regenerated.
7808         * math/auto-libm-test-out-tan: Likewise.
7810 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
7812         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
7813         (RTLD_START): Don't record stack end address in _dl_start_user.
7815 2017-03-15  Alexey Neyman  <stilor@att.net>
7817         [BZ #21088]
7818         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
7819         around definitions match those around use.
7821 2017-03-15  Alexey Neyman  <stilor@att.net>
7823         * configure.ac: Avoid empty subexpression in grep.
7824         * configure: Regenerate.
7826 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7828         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
7829         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
7830         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
7831         (test_wrp_rv): Fix format.
7832         (test_wrp_rv2): New macro.
7833         (do_test): Handle mlock return on 64 bits kernels with 32 bits
7834         binaries.
7836 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
7838         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
7839         Use a union when storing pointers.
7840         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
7841         cast result when passing to INIT_VEC_PTRS_LOOP.
7842         (VECTOR_WRAPPER_fFF_3): Likewise.
7843         (VECTOR_WRAPPER_fFF_4): Likewise.
7845 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7847         * include/bits/mathcalls-helper-functions.h: New file.
7848         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
7849         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
7850         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
7851         math/bits/mathcalls-helper-functions.h.
7852         * math/bits/mathcalls-helper-functions.h: New file.
7853         * math/math.h: Include bits/mathcalls-helper-functions.h for
7854         float, double, and long double.
7856 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7858         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7859         instead of feraiseexcept.
7861 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7863         [BZ #21243]
7864         * support/temp_file.c (support_delete_temp_files): Add comment
7865         about ignored errors.
7867 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7869         [BZ #21244]
7870         * support/xclose.c: New file.
7871         * support/Makefile (libsupport-routines): Add xclose.
7872         * support/xunistd.h (xclose): Declare.
7873         * support/resolv_test.c (server_thread_tcp_client)
7874         (server_thread_tcp, make_server_sockets, resolv_test_start)
7875         (resolv_test_end): Call xclose instead of close.
7876         * support/support_enter_network_namespace.c
7877         (support_enter_network_namespace): Likewise.
7878         * support/support_run_diff.c (write_to_temp_file): Likewise.
7880 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7882         * support/support_format_dns_packet.c (support_format_dns_packet):
7883         Handle CNAME records in the response.  Extract RDATA names from
7884         rdata, not the whole packet.  Check AAAA record length.
7885         * support/tst-support_format_dns_packet.c: New file.
7886         * support/Makefile (tests): Add tst-support_format_dns_packet.
7887         (tst-support_format_dns_packet): Link against libresolv.
7889 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7891         [BZ #21232]
7892         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7893         posix_fadvise64 weak_alias for static build.
7895 2017-03-14  Andreas Schwab  <schwab@suse.de>
7897         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7898         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7899         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7900         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7901         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7902         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7903         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7904         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7906 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7908         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7909         posix error code.
7910         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7912 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7914         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7915         no_isolate usage for SH.
7917 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7919         [BZ #15105]
7920         [BZ #19463]
7921         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7922         * inet/rcmd.c (rcmd_af): Likewise.
7923         * inet/rexec.c   (rexec_af): Likewise.
7924         * intl/dcigettext.c (_LIBC): Likewise.
7925         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7926         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7927         * locale/setlocale.c (setlocale): Likewise.
7928         * posix/spawn_faction_addopen.c
7929         (posix_spawn_file_actions_addopen): Likewise.
7930         * stdlib/putenv.c (putenv): Use __strndup.
7931         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7933         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7934         (__Need_M_And_C) Remove define/undef.
7935         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7936         (__malloc_and_calloc_defined): Remove define.
7937         * string/bits/string2.h (__strdup): Remove define.
7938         (strdup): Likewise.
7939         (__strndup): Likewise.
7940         (strndup): Likewise.
7942 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7944         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7945         macro.
7946         (IPV6_ADDR_PREFERENCES): Likewise.
7947         (IPV6_MINHOPCOUNT): Likewise.
7948         (IPV6_ORIGDSTADDR): Likewise.
7949         (IPV6_RECVORIGDSTADDR): Likewise.
7950         (IPV6_TRANSPARENT): Likewise.
7951         (IPV6_UNICAST_IF): Likewise.
7952         (IPV6_RECVFRAGSIZE): Likewise.
7954 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7956         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7958 2017-03-12  Alexey Neyman <stilor@att.net>
7960         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7961         in R_SH_DIR32 case is always false when inlined from
7962         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7964 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7966         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7967         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7968         __ASSUME_SEND_SYSCALL.
7970 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7972         * sunrpc/Makefile: don't build and install rpcsvc header
7973         files, rpcgen and librpcsvc.a by default.
7975 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7977         * math/auto-libm-test-out-catan: Regenerated.
7978         * math/auto-libm-test-out-catanh: Likewise.
7979         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7981 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7983         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7984         for long double with corrected test expectations.
7986 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7988         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7989         Define.
7990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7991         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7992         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7993         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7994         * sysdeps/unix/sysv/linux/tile/sysdep.h
7995         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7996         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7997         (__ASSUME_RECV_SYSCALL): Define.
7998         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7999         (__ASSUME_RECV_SYSCALL): Likewise.
8000         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8001         (__ASSUME_RECV_SYSCALL): Likewise.
8002         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8003         (__ASSUME_RECV_SYSCALL): Likewise.
8004         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8005         (__ASSUME_RECV_SYSCALL): Likewise.
8006         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8007         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
8008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8009         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8010         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8011         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8012         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
8013         auto-generation list.
8014         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8015         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8016         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
8017         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8018         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8019         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
8020         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
8021         __ASSUME_SENDTO_SYSCALL.
8022         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
8023         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
8024         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
8026         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
8027         auto-generation list.
8028         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8029         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8030         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8031         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8032         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8033         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8034         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8035         * sysdeps/unix/sysv/linux/kernel-features.h
8036         (__ASSUME_SENDTO_SYSCALL): Define by default.
8037         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8038         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
8039         __NR_sendto.
8040         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8041         (__ASSUME_SENDTO_SYSCALL): Likewise.
8042         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8043         (__ASSUME_SENDTO_SYSCALL): Likewise.
8044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8045         (__ASSUME_SENDTO_SYSCALL): Remove definition.
8046         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8047         (__ASSUME_SENDTO_SYSCALL): Likewise.
8048         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
8049         (__ASSUME_SENDTO_SYSCALL): Likewise.
8050         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
8052         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
8053         auto-generation list.
8054         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8055         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8056         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8057         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8058         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8059         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8060         (__ASSUME_RECV_SYSCALL): New define.
8061         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8062         (__ASSUME_RECV_SYSCALL): Likewise.
8063         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8064         (__ASSUME_RECV_SYSCALL): Likewise.
8065         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8066         (__ASSUME_RECV_SYSCALL): Likewise.
8067         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8068         (__ASSUME_RECV_SYSCALL): Likewise.
8069         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8070         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8071         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8072         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8073         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8074         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
8075         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
8076         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
8077         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
8078         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
8079         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
8080         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
8082         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
8083         auto-generation list.
8084         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8085         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8086         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8087         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8088         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8089         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8090         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8091         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8092         (__ASSUME_RECVFROM_SYSCALL): Define by default.
8093         * sysdeps/unix/sysv/linux/kernel-features.h
8094         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
8095         __NR_recvfrom.
8096         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8097         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8098         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8099         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8100         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8101         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
8102         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8103         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8104         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8105         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8106         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8107         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8108         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
8110         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
8111         auto-generation list.
8112         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8113         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8114         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8115         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8116         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8117         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8118         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8119         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
8120         * sysdeps/unix/sysv/linux/kernel-features.h
8121         (__ASSUME_CONNECT_SYSCALL): Define.
8122         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8123         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
8124         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8125         (__ASSUME_CONNECT_SYSCALL): Likewise.
8126         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8127         (__ASSUME_CONNECT_SYSCALL): Likewise.
8128         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8129         (__ASSUME_CONNECT_SYSCALL): Likewise.
8131         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
8132         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
8133         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
8134         auto-generation list.
8135         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
8136         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
8137         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
8138         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
8139         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
8140         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
8141         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
8142         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8143         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8144         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8145         * sysdeps/unix/sysv/linux/kernel-features.h
8146         (__ASSUME_ACCEPT_SYSCALL): New define.
8147         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8148         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8149         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
8150         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8151         (__ASSUME_ACCEPT_SYSCALL): Define.
8152         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8153         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8154         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8155         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
8156         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8157         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8158         (__ASSUME_ACCEPT_SYSCALL): Undefine.
8159         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8160         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
8162 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
8163             Zack Weinberg  <zackw@panix.com>
8165         * posix/test-errno.c: New file.
8166         * posix/Makefile (tests): Add test-errno.
8167         * sysdeps/unix/sysv/linux/test-errno.c: New file.
8168         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
8170 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
8172         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
8174 2017-03-07  Florian Weimer  <fweimer@redhat.com>
8176         * time/tzset.c (compute_offset): Open-code min macro.
8177         (min, max, sign): Remove.
8179 2017-03-07  Florian Weimer  <fweimer@redhat.com>
8181         [BZ #15576]
8182         Remove TZNAME_MAX limit from sysconf.
8183         * include/time.h (__tzname_cur_max, __tzname_max): Remove
8184         declaration.
8185         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
8186         compute_tzname_max.
8187         (compute_tzname_max): Remove.
8188         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
8189         (update_vars): Do not update __tzname_cur_max.
8190         (tzset_internal): Remove argument.
8191         (__tzset): Adjust call to tzset_internal.
8192         (__tz_convert): Likewise.
8194         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
8195         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
8196         * manual/conf.texi (Sysconf Definition): Update comment.
8198 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8200         [BZ #21209]
8201         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
8202         AT_SECURE processes.
8203         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
8204         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
8205         (test_child): Likewise.
8206         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
8208 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8210         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
8212 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8214         * sysdeps/s390/atomic-machine.h
8215         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
8216         (__arch_compare_and_exchange_val_8_acq,
8217         __arch_compare_and_exchange_val_16_acq,
8218         __arch_compare_and_exchange_val_32_acq,
8219         __arch_compare_and_exchange_val_64_acq):
8220         Delete macro.
8221         (atomic_compare_and_exchange_val_acq,
8222         atomic_compare_and_exchange_val_rel,
8223         atomic_compare_and_exchange_bool_acq,
8224         catomic_compare_and_exchange_bool_acq,
8225         atomic_exchange_acq, atomic_exchange_rel,
8226         atomic_exchange_and_add_acq,
8227         atomic_exchange_and_add_rel,
8228         catomic_exchange_and_add, atomic_or_val,
8229         atomic_or, catomic_or, atomic_bit_test_set,
8230         atomic_and_val, atomic_and, catomic_and):
8231         Define macros with help of C11 atomic builtins.
8233 2017-03-03  Justus Winter <justus@gnupg.org>
8235         * sysdeps/mach/hurd/ftruncate64.c: New file.
8236         * sysdeps/mach/hurd/truncate64.c: Likewise.
8238 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8240         * time/tzfile.c (NOID): Do not define.
8241         * time/tzset.c (NOID): Likewise.
8243 2017-03-03  Florian Weimer  <fweimer@redhat.com>
8245         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
8247 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8249         * elf/get-dynamic-info.h: Remove header file inclusion guard.
8251 2017-03-02  Florian Weimer  <fweimer@redhat.com>
8253         [BZ #21015]
8254         * manual/install.texi (Configuring and compiling): Document
8255         --enable-bind-now.
8256         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
8257         (build-shlib-helper): Use $(LDFLAGS-lib.so).
8258         (format.lds): Likewise.
8259         [bind-now] (LDFLAGS-c.so): Remove.
8260         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
8261         be R_X86_64_GLOB_DAT.
8262         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
8263         relocation can be R_386_GLOB_DAT.
8264         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
8265         relocaiton can be R_ALPHA_GLOB_DAT.
8266         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
8268 2017-03-01  Zack Weinberg  <zackw@panix.com>
8270         * include/libc-pointer-arith.h: New file.  Define
8271         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
8272         PTR_ALIGN_DOWN here.
8273         * include/libc-internal.h: Definitions of above macros
8274         moved from here.  Don't include libc-diag.h anymore either.
8275         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
8276         Don't include libc-internal.h.
8278         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
8279         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
8280         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
8281         * string/strcoll_l.c, sysdeps/nacl/brk.c
8282         * sysdeps/unix/clock_settime.c
8283         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
8284         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
8285         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8286         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
8287         Don't include libc-internal.h.
8289         * elf/get-dynamic-info.h, iconv/loop.c
8290         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
8291         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
8292         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
8293         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
8294         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
8295         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
8296         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
8297         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
8298         * sysdeps/ieee754/ldbl-128/k_tanl.c
8299         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
8300         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
8301         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
8302         Include libc-diag.h instead of libc-internal.h.
8304         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
8305         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
8306         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
8307         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
8308         * sysdeps/unix/sysv/linux/spawni.c
8309         * sysdeps/x86_64/nptl/tls.h:
8310         Include libc-pointer-arith.h instead of libc-internal.h.
8312         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
8313         * sysdeps/x86_64/atomic-machine.h:
8314         Add multiple include guard.
8316         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
8317         * string/strcasestr.c: No need to include config.h.
8318         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
8319         sys/auxv.h. Don't include sysdep.h.
8320         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
8322         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
8323         DL_LOOKUP_ADDRESS.
8324         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
8325         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
8326         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
8327         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
8328         of ARTIFICIAL_LIMIT.
8329         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
8330         declaration of __clone2.
8332 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8334         * scripts/backport-support.sh (latest_commit): New file.
8336 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8338         [BZ #20257]
8339         * inet/Makefile (routines): Add deadline.
8340         (tests-static): Add tst-deadline.
8341         * inet/net-internal.h (struct deadline_current_time)
8342         (__deadline_current_time, struct deadline, __deadline_is_infinite)
8343         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
8344         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
8345         * inet/deadline.c: New file.
8346         * inet/tst-deadline.c: Likewise.
8347         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
8348         tst-udp-timeout, tst-udp-garbage.
8349         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
8350         explicitly.
8351         (tst-udp-garbage): Likewise.  Also link against thread library.
8352         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
8353         struct layout is part of the ABI.
8354         (clntudp_call): Rework timeout handling.
8355         * sunrpc/tst-udp-garbage.c: New file.
8356         * sunrpc/tst-udp-nonblocking.c: Likewise.
8357         * sunrpc/tst-udp-timeout.c: Likewise.
8359 2017-02-28  Florian Weimer  <fweimer@redhat.com>
8361         [BZ #5010]
8362         * sunrpc/svc.c (svc_is_mapped): Remove.
8363         (svc_unregister): Obtain mapped status while the service is still
8364         registered.
8365         * sunrpc/Makefile [have-thread-library] (tests): Add
8366         tst-svc_register.
8367         (tst-svc_register): Link against libc.so explicitly and the thread
8368         library.
8369         * sunrpc/tst-svc_register.c: New file.
8371 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
8373         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
8374         * sysdeps/pthread/bits/sigthread.h: Likewise.
8376 2017-02-27  Florian Weimer  <fweimer@redhat.com>
8378         [BZ #21115]
8379         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
8380         * sunrpc/Makefile (tests): Add tst-udp-error.
8381         (tst-udp-error): Link against libc.so explicitly.
8382         * sunrpc/tst-udp-error: New file.
8384 2017-02-25  Zack Weinberg  <zackw@panix.com>
8386         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
8387         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
8389         * sysdeps/generic/math_ldbl.h
8390         * sysdeps/ia64/fpu/math_ldbl.h
8391         * sysdeps/ieee754/ldbl-128/math_ldbl.h
8392         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
8393         * sysdeps/ieee754/ldbl-96/math_ldbl.h
8394         * sysdeps/powerpc/fpu/math_ldbl.h
8395         * sysdeps/x86_64/fpu/math_ldbl.h:
8396         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
8397         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
8398         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
8399         Add copyright notices.
8401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
8402         Don't use EXTRACT_WORDS64.
8404         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
8405         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
8406         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
8407         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
8408         Include math_ldbl.h, not math_private.h.
8410 2017-02-25  Zack Weinberg  <zackw@panix.com>
8412         * include/libc-diag.h: New file.  Define ignore_value,
8413         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
8414         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
8416         * include/libc-internal.h: Definitions of above macros moved from
8417         here.  Include libc-diag.h.  Add copyright notice.
8419         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
8420         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
8421         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
8422         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
8423         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
8424         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
8425         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
8426         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
8427         Include libc-diag.h instead of libc-internal.h.
8429         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
8430         call to unsetenv (NULL).
8431         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
8432         call to pthread_mutexattr_destroy (NULL).
8434 2017-02-25  Zack Weinberg  <zackw@panix.com>
8436         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
8437         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
8438         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
8439         gets was removed from C++ in C++14.
8440         * include/stdio.h: Remove redundant declaration of gets.
8441         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
8442         be declared, since we are testing it.
8443         * stdio-common/Makefile (tst-gets.c): Compile with
8444         -Wno-deprecated-declarations.
8445         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
8446         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
8447         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
8448         Compile with -Wno-deprecated-declarations.
8450 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8452         * math/libm-test-support.c (check_ulp): Use LIT() around literal
8453         numbers.
8455 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8457         * resolv/tst-resolv-qtypes.c (domain):
8458         Change type to const pointer to const char.
8460 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
8462         * math/Makefile (libm-tests-generated): Remove variable.
8463         (libm-tests-base-normal): New variable.
8464         (libm-tests-base-finite): Likewise.
8465         (libm-tests-base-inline): Likewise.
8466         (libm-tests-base): Likewise.
8467         (libm-tests-normal): Likewise.
8468         (libm-tests-finite): Likewise.
8469         (libm-tests-inline): Likewise.
8470         (libm-tests-vector): Likewise.
8471         (libm-tests): Define in terms of these new variables.
8472         (libm-tests-for-type): New variable.
8473         (libm-tests.o): Move definition.
8474         (tests): Move addition of $(libm-tests).
8475         (generated): Update for new and removed libm test files.
8476         ($(objpfx)libm-test.c): Remove target.
8477         ($(objpfx)libm-have-vector-test.h): Likewise.
8478         (CFLAGS-test-double-vlen2.c): Remove variable.
8479         (CFLAGS-test-double-vlen4.c): Likewise.
8480         (CFLAGS-test-double-vlen8.c): Likewise.
8481         (CFLAGS-test-float-vlen4.c): Likewise.
8482         (CFLAGS-test-float-vlen8.c): Likewise.
8483         (CFLAGS-test-float-vlen16.c): Likewise.
8484         (CFLAGS-test-float.c): Likewise.
8485         (CFLAGS-test-float-finite.c): Likewise.
8486         (CFLAGS-libm-test-support-float.c): Likewise.
8487         (CFLAGS-test-double.c): Likewise.
8488         (CFLAGS-test-double-finite.c): Likewise.
8489         (CFLAGS-libm-test-support-double.c): Likewise.
8490         (CFLAGS-test-ldouble.c): Likewise.
8491         (CFLAGS-test-ldouble-finite.c): Likewise.
8492         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8493         (libm-test-inline-cflags): New variable.
8494         (CFLAGS-test-ifloat.c): Remove variable.
8495         (CFLAGS-test-idouble.c): Likewise.
8496         (CFLAGS-test-ildouble.c): Likewise.
8497         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
8498         dependencies.
8499         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
8500         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
8501         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
8502         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
8503         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
8504         Likewise.
8505         (dependencies on libm-test-support-*.o): Remove.
8506         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
8507         rules using iterators.
8508         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
8509         Likewise.
8510         ($(objpfx)libm-test-support-$(o).o): Likewise.
8511         ($(addprefix $(objpfx),$(filter-out $(tests-static)
8512         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
8513         instead.
8514         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
8515         define rule instead.
8516         * math/README.libm-test: Update.
8517         * math/libm-test-acos.inc: Include libm-test-driver.c.
8518         (do_test): New function.
8519         * math/libm-test-acosh.inc: Include libm-test-driver.c.
8520         (do_test): New function.
8521         * math/libm-test-asin.inc: Include libm-test-driver.c.
8522         (do_test): New function.
8523         * math/libm-test-asinh.inc: Include libm-test-driver.c.
8524         (do_test): New function.
8525         * math/libm-test-atan.inc: Include libm-test-driver.c.
8526         (do_test): New function.
8527         * math/libm-test-atan2.inc: Include libm-test-driver.c.
8528         (do_test): New function.
8529         * math/libm-test-atanh.inc: Include libm-test-driver.c.
8530         (do_test): New function.
8531         * math/libm-test-cabs.inc: Include libm-test-driver.c.
8532         (do_test): New function.
8533         * math/libm-test-cacos.inc: Include libm-test-driver.c.
8534         (do_test): New function.
8535         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
8536         (do_test): New function.
8537         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
8538         (do_test): New function.
8539         * math/libm-test-carg.inc: Include libm-test-driver.c.
8540         (do_test): New function.
8541         * math/libm-test-casin.inc: Include libm-test-driver.c.
8542         (do_test): New function.
8543         * math/libm-test-casinh.inc: Include libm-test-driver.c.
8544         (do_test): New function.
8545         * math/libm-test-catan.inc: Include libm-test-driver.c.
8546         (do_test): New function.
8547         * math/libm-test-catanh.inc: Include libm-test-driver.c.
8548         (do_test): New function.
8549         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
8550         (do_test): New function.
8551         * math/libm-test-ccos.inc: Include libm-test-driver.c.
8552         (do_test): New function.
8553         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
8554         (do_test): New function.
8555         * math/libm-test-ceil.inc: Include libm-test-driver.c.
8556         (do_test): New function.
8557         * math/libm-test-cexp.inc: Include libm-test-driver.c.
8558         (do_test): New function.
8559         * math/libm-test-cimag.inc: Include libm-test-driver.c.
8560         (do_test): New function.
8561         * math/libm-test-clog.inc: Include libm-test-driver.c.
8562         (do_test): New function.
8563         * math/libm-test-clog10.inc: Include libm-test-driver.c.
8564         (do_test): New function.
8565         * math/libm-test-conj.inc: Include libm-test-driver.c.
8566         (do_test): New function.
8567         * math/libm-test-copysign.inc: Include libm-test-driver.c.
8568         (do_test): New function.
8569         * math/libm-test-cos.inc: Include libm-test-driver.c.
8570         (do_test): New function.
8571         * math/libm-test-cosh.inc: Include libm-test-driver.c.
8572         (do_test): New function.
8573         * math/libm-test-cpow.inc: Include libm-test-driver.c.
8574         (do_test): New function.
8575         * math/libm-test-cproj.inc: Include libm-test-driver.c.
8576         (do_test): New function.
8577         * math/libm-test-creal.inc: Include libm-test-driver.c.
8578         (do_test): New function.
8579         * math/libm-test-csin.inc: Include libm-test-driver.c.
8580         (do_test): New function.
8581         * math/libm-test-csinh.inc: Include libm-test-driver.c.
8582         (do_test): New function.
8583         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
8584         (do_test): New function.
8585         * math/libm-test-ctan.inc: Include libm-test-driver.c.
8586         (do_test): New function.
8587         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
8588         (do_test): New function.
8589         * math/libm-test-erf.inc: Include libm-test-driver.c.
8590         (do_test): New function.
8591         * math/libm-test-erfc.inc: Include libm-test-driver.c.
8592         (do_test): New function.
8593         * math/libm-test-exp.inc: Include libm-test-driver.c.
8594         (do_test): New function.
8595         * math/libm-test-exp10.inc: Include libm-test-driver.c.
8596         (do_test): New function.
8597         * math/libm-test-exp2.inc: Include libm-test-driver.c.
8598         (do_test): New function.
8599         * math/libm-test-expm1.inc: Include libm-test-driver.c.
8600         (do_test): New function.
8601         * math/libm-test-fabs.inc: Include libm-test-driver.c.
8602         (do_test): New function.
8603         * math/libm-test-fdim.inc: Include libm-test-driver.c.
8604         (do_test): New function.
8605         * math/libm-test-floor.inc: Include libm-test-driver.c.
8606         (do_test): New function.
8607         * math/libm-test-fma.inc: Include libm-test-driver.c.
8608         (do_test): New function.
8609         * math/libm-test-fmax.inc: Include libm-test-driver.c.
8610         (do_test): New function.
8611         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
8612         (do_test): New function.
8613         * math/libm-test-fmin.inc: Include libm-test-driver.c.
8614         (do_test): New function.
8615         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
8616         (do_test): New function.
8617         * math/libm-test-fmod.inc: Include libm-test-driver.c.
8618         (do_test): New function.
8619         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
8620         (do_test): New function.
8621         * math/libm-test-frexp.inc: Include libm-test-driver.c.
8622         (do_test): New function.
8623         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
8624         (do_test): New function.
8625         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
8626         (do_test): New function.
8627         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
8628         (do_test): New function.
8629         * math/libm-test-hypot.inc: Include libm-test-driver.c.
8630         (do_test): New function.
8631         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
8632         (do_test): New function.
8633         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
8634         (do_test): New function.
8635         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
8636         (do_test): New function.
8637         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
8638         (do_test): New function.
8639         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
8640         (do_test): New function.
8641         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
8642         (do_test): New function.
8643         * math/libm-test-isinf.inc: Include libm-test-driver.c.
8644         (do_test): New function.
8645         * math/libm-test-isless.inc: Include libm-test-driver.c.
8646         (do_test): New function.
8647         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
8648         (do_test): New function.
8649         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
8650         (do_test): New function.
8651         * math/libm-test-isnan.inc: Include libm-test-driver.c.
8652         (do_test): New function.
8653         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
8654         (do_test): New function.
8655         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
8656         (do_test): New function.
8657         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
8658         (do_test): New function.
8659         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
8660         (do_test): New function.
8661         * math/libm-test-iszero.inc: Include libm-test-driver.c.
8662         (do_test): New function.
8663         * math/libm-test-j0.inc: Include libm-test-driver.c.
8664         (do_test): New function.
8665         * math/libm-test-j1.inc: Include libm-test-driver.c.
8666         (do_test): New function.
8667         * math/libm-test-jn.inc: Include libm-test-driver.c.
8668         (do_test): New function.
8669         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
8670         (do_test): New function.
8671         * math/libm-test-llogb.inc: Include libm-test-driver.c.
8672         (do_test): New function.
8673         * math/libm-test-llrint.inc: Include libm-test-driver.c.
8674         (do_test): New function.
8675         * math/libm-test-llround.inc: Include libm-test-driver.c.
8676         (do_test): New function.
8677         * math/libm-test-log.inc: Include libm-test-driver.c.
8678         (do_test): New function.
8679         * math/libm-test-log10.inc: Include libm-test-driver.c.
8680         (do_test): New function.
8681         * math/libm-test-log1p.inc: Include libm-test-driver.c.
8682         (do_test): New function.
8683         * math/libm-test-log2.inc: Include libm-test-driver.c.
8684         (do_test): New function.
8685         * math/libm-test-logb.inc: Include libm-test-driver.c.
8686         (do_test): New function.
8687         * math/libm-test-lrint.inc: Include libm-test-driver.c.
8688         (do_test): New function.
8689         * math/libm-test-lround.inc: Include libm-test-driver.c.
8690         (do_test): New function.
8691         * math/libm-test-modf.inc: Include libm-test-driver.c.
8692         (do_test): New function.
8693         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
8694         (do_test): New function.
8695         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
8696         (do_test): New function.
8697         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
8698         (do_test): New function.
8699         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
8700         (do_test): New function.
8701         * math/libm-test-nextup.inc: Include libm-test-driver.c.
8702         (do_test): New function.
8703         * math/libm-test-pow.inc: Include libm-test-driver.c.
8704         (do_test): New function.
8705         * math/libm-test-remainder.inc: Include libm-test-driver.c.
8706         (do_test): New function.
8707         * math/libm-test-remquo.inc: Include libm-test-driver.c.
8708         (do_test): New function.
8709         * math/libm-test-rint.inc: Include libm-test-driver.c.
8710         (do_test): New function.
8711         * math/libm-test-round.inc: Include libm-test-driver.c.
8712         (do_test): New function.
8713         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
8714         (do_test): New function.
8715         * math/libm-test-scalb.inc: Include libm-test-driver.c.
8716         (do_test): New function.
8717         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
8718         (do_test): New function.
8719         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
8720         (do_test): New function.
8721         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
8722         (do_test): New function.
8723         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
8724         (do_test): New function.
8725         * math/libm-test-signbit.inc: Include libm-test-driver.c.
8726         (do_test): New function.
8727         * math/libm-test-significand.inc: Include libm-test-driver.c.
8728         (do_test): New function.
8729         * math/libm-test-sin.inc: Include libm-test-driver.c.
8730         (do_test): New function.
8731         * math/libm-test-sincos.inc: Include libm-test-driver.c.
8732         (do_test): New function.
8733         * math/libm-test-sinh.inc: Include libm-test-driver.c.
8734         (do_test): New function.
8735         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
8736         (do_test): New function.
8737         * math/libm-test-tan.inc: Include libm-test-driver.c.
8738         (do_test): New function.
8739         * math/libm-test-tanh.inc: Include libm-test-driver.c.
8740         (do_test): New function.
8741         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
8742         (do_test): New function.
8743         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
8744         (do_test): New function.
8745         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
8746         (do_test): New function.
8747         * math/libm-test-trunc.inc: Include libm-test-driver.c.
8748         (do_test): New function.
8749         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
8750         (do_test): New function.
8751         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
8752         (do_test): New function.
8753         * math/libm-test-y0.inc: Include libm-test-driver.c.
8754         (do_test): New function.
8755         * math/libm-test-y1.inc: Include libm-test-driver.c.
8756         (do_test): New function.
8757         * math/libm-test-yn.inc: Include libm-test-driver.c.
8758         (do_test): New function.
8759         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
8760         (HAVE_VECTOR): Remove macro.
8761         (START): Do not call HAVE_VECTOR.
8762         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
8763         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
8764         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
8765         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
8766         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
8767         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
8768         * math/test-math-vector.h (FUNC_TEST): New macro.
8769         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
8770         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
8771         (double-vlen4-funcs): Likewise.
8772         (double-vlen4-avx2-funcs): Likewise.
8773         (double-vlen8-funcs): Likewise.
8774         (float-vlen4-funcs): Likewise.
8775         (float-vlen8-funcs): Likewise.
8776         (float-vlen8-avx2-funcs): Likewise.
8777         (float-vlen16-funcs): Likewise.
8778         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
8779         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
8780         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
8781         macro.
8782         (TEST_VECTOR_sin): Likewise.
8783         (TEST_VECTOR_sincos): Likewise.
8784         (TEST_VECTOR_log): Likewise.
8785         (TEST_VECTOR_exp): Likewise.
8786         (TEST_VECTOR_pow): Likewise.
8787         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
8788         Likewise.
8789         (TEST_VECTOR_sin): Likewise.
8790         (TEST_VECTOR_sincos): Likewise.
8791         (TEST_VECTOR_log): Likewise.
8792         (TEST_VECTOR_exp): Likewise.
8793         (TEST_VECTOR_pow): Likewise.
8794         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
8795         Likewise.
8796         (TEST_VECTOR_sinf): Likewise.
8797         (TEST_VECTOR_sincosf): Likewise.
8798         (TEST_VECTOR_logf): Likewise.
8799         (TEST_VECTOR_expf): Likewise.
8800         (TEST_VECTOR_powf): Likewise.
8801         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
8802         Likewise.
8803         (TEST_VECTOR_sinf): Likewise.
8804         (TEST_VECTOR_sincosf): Likewise.
8805         (TEST_VECTOR_logf): Likewise.
8806         (TEST_VECTOR_expf): Likewise.
8807         (TEST_VECTOR_powf): Likewise.
8808         * math/gen-libm-have-vector-test.sh: Remove file.
8809         * math/libm-test.inc: Likewise.
8810         * math/libm-test-support-double.c: Likewise.
8811         * math/libm-test-support-float.c: Likewise.
8812         * math/libm-test-support-ldouble.c: Likewise.
8813         * math/test-double-finite.c: Likewise.: Likewise.
8814         * math/test-double.c: Likewise.
8815         * math/test-float-finite.c: Likewise.
8816         * math/test-float.c: Likewise.
8817         * math/test-idouble.c: Likewise.
8818         * math/test-ifloat.c: Likewise.
8819         * math/test-ildouble.c: Likewise.
8820         * math/test-ldouble-finite.c: Likewise.
8821         * math/test-ldouble.c: Likewise.
8822         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
8823         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
8824         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
8825         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
8826         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
8827         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
8828         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
8829         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
8830         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
8831         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
8833 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8834            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8836         * math/Makefile: Add wrappers to gen-libm-calls.
8837         * math/w_acos_template.c: New file.
8838         * math/w_acosh_template.c: Likewise.
8839         * math/w_asin_template.c: Likewise.
8840         * math/w_atan2_template.c: Likewise.
8841         * math/w_atanh_template.c: Likewise.
8842         * math/w_cosh_template.c: Likewise.
8843         * math/w_exp10_template.c: Likewise.
8844         * math/w_exp2_template.c: Likewise.
8845         * math/w_exp_template.c: Likewise.
8846         * math/w_fmod_template.c: Likewise.
8847         * math/w_hypot_template.c: Likewise.
8848         * math/w_j0_template.c: Likewise.
8849         * math/w_j1_template.c: Likewise.
8850         * math/w_jn_template.c: Likewise.
8851         * math/w_lgamma_r_template.c: Likewise.
8852         * math/w_lgamma_template.c: Likewise.
8853         * math/w_log10_template.c: Likewise.
8854         * math/w_log2_template.c: Likewise.
8855         * math/w_log_template.c: Likewise.
8856         * math/w_pow_template.c: Likewise.
8857         * math/w_remainder_template.c: Likewise.
8858         * math/w_sinh_template.c: Likewise.
8859         * math/w_sqrt_template.c: Likewise.
8860         * math/w_tgamma_template.c: Likewise.: Likewise.
8861         * sysdeps/generic/math-type-macros-double.h
8862         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8863         the new wrappers.
8864         * sysdeps/generic/math-type-macros-float.h: Likewise.
8865         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8867 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8869         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8870         New enum constant and macro.
8872         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8873         kernel version to 4.10.
8875 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8877         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8879 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8883 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8885         * sysdeps/powerpc/tst-set_ppr.c: New file.
8886         Implement test cases for __ppc_set_ppr_* functions.
8887         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8888         in the list of tests.
8890 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8892         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8893         instead of test-skeleton.c.
8894         (do_test): Replaced pthread_create and pthread_join with
8895         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8896         Removed unneeded status variable.
8897         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8898         instead of test-skeleton.c.
8899         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8901 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8903         [BZ #20313]
8904         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8905         201605L, for Unicode 9.
8907 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8909         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8910         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8911         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8912         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8913         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8914         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8916 2017-02-19  Zack Weinberg  <zackw@panix.com>
8918         * rt/tst-mqueue4.c: Include stdint.h.
8920 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8922         * sysdeps/arm/libm-test-ulps: Update.
8923         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8924         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8925         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8927 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8929         [BZ #21029]
8930         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8931         * sysdeps/unix/sysv/linux/i386/Makefile
8932         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8933         (uses-6-syscall-arguments): Remove.
8934         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8935         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8936         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8937         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8938         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8939         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8940         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8941         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8942         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8943         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8944         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8945         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8946         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8947         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8948         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8949         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8950         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8951         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8952         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8953         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8954         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8955         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8956         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8957         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8958         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8959         Likewise.
8960         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8961         Likewise.
8962         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8963         Likewise.
8964         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8965         Likewise.
8966         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8967         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8968         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8969         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8970         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8971         ebp on inline assembly.
8972         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8973         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8974         Set if CAN_USE_REGISTER_ASM_EBP is set.
8976 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8978         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8979         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8981 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8983         * math/auto-libm-test-in: Add tests of catan and catanh.
8984         * math/auto-libm-test-out-catan: New generated file.
8985         * math/auto-libm-test-out-catanh: Likewise.
8986         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8987         Move tests with finite inputs, except divide-by-zero cases, to
8988         auto-libm-test-in.
8989         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8990         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8991         (libm-test-funcs-noauto): Remove catan and catanh.
8992         * sysdeps/i386/fpu/libm-test-ulps: Update.
8993         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8996         * math/auto-libm-test-in: Add tests of casin and casinh.
8997         * math/auto-libm-test-out-casin: New generated file.
8998         * math/auto-libm-test-out-casinh: Likewise.
8999         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
9000         Move tests with finite inputs to auto-libm-test-in.
9001         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
9002         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
9003         (libm-test-funcs-noauto): Remove casin and casinh.
9004         * sysdeps/i386/fpu/libm-test-ulps: Update.
9005         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9008         * math/auto-libm-test-in: Add tests of cacos and cacosh.
9009         * math/auto-libm-test-out-cacos: New generated file.
9010         * math/auto-libm-test-out-cacosh: Likewise.
9011         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
9012         Move tests with finite inputs to auto-libm-test-in.
9013         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
9014         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
9015         (libm-test-funcs-noauto): Remove cacos and cacosh.
9016         * sysdeps/i386/fpu/libm-test-ulps: Update.
9017         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
9018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9020         Revert:
9021         2017-02-16  Zack Weinberg  <zackw@panix.com>
9023         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9024         Don't include init-arch.h.
9025         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9026         Don't include init-arch.h.
9028 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9030         [BZ #21171]
9031         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
9032         +Inf and raise divide-by-zero when x is negative.
9033         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
9034         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
9035         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
9036         -Inf and raise divide-by-zero when x = +-0.
9037         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9038         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
9039         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
9040         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
9041         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
9042         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9043         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9045 2017-02-16  Zack Weinberg  <zackw@panix.com>
9047         * scripts/build-many-glibcs.py (bot_build_mail): If the
9048         bot_config does not contain all of the necessary email-
9049         related settings, just print a warning and continue.
9051 2017-02-16  Zack Weinberg  <zackw@panix.com>
9053         * crypt/md5.h: Test _LIBC with #if defined, not #if.
9054         * dirent/opendir-tst1.c: Include sys/stat.h.
9055         * dirent/tst-fdopendir.c: Include sys/stat.h.
9056         * dirent/tst-fdopendir2.c: Include stdlib.h.
9057         * dirent/tst-scandir.c: Include stdbool.h.
9058         * elf/tst-auditmod1.c: Include link.h and stddef.h.
9059         * elf/tst-tls15.c: Include stdlib.h.
9060         * elf/tst-tls16.c: Include stdlib.h.
9061         * elf/tst-tls17.c: Include stdlib.h.
9062         * elf/tst-tls18.c: Include stdlib.h.
9063         * iconv/tst-iconv6.c: Include endian.h.
9064         * iconvdata/bug-iconv11.c: Include limits.h.
9065         * io/test-utime.c: Include stdint.h.
9066         * io/tst-faccessat.c: Include sys/stat.h.
9067         * io/tst-fchmodat.c: Include sys/stat.h.
9068         * io/tst-fchownat.c: Include sys/stat.h.
9069         * io/tst-fstatat.c: Include sys/stat.h.
9070         * io/tst-futimesat.c: Include sys/stat.h.
9071         * io/tst-linkat.c: Include sys/stat.h.
9072         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
9073         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
9074         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
9075         * io/tst-openat.c: Include stdbool.h.
9076         * io/tst-readlinkat.c: Include sys/stat.h.
9077         * io/tst-renameat.c: Include sys/stat.h.
9078         * io/tst-symlinkat.c: Include sys/stat.h.
9079         * io/tst-unlinkat.c: Include stdbool.h.
9080         * libio/bug-memstream1.c: Include stdlib.h.
9081         * libio/bug-wmemstream1.c: Include stdlib.h.
9082         * libio/tst-fwrite-error.c: Include stdlib.h.
9083         * libio/tst-memstream1.c: Include stdlib.h.
9084         * libio/tst-memstream2.c: Include stdlib.h.
9085         * libio/tst-memstream3.c: Include stdlib.h.
9086         * malloc/tst-interpose-aux.c: Include stdint.h.
9087         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
9088         * nptl/tst-basic7.c: Include limits.h.
9089         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
9090         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
9091         * nptl/tst-cancel4_1.c: Include stddef.h.
9092         * nptl/tst-cancel4_2.c: Include stddef.h.
9093         * nptl/tst-cond16.c: Include limits.h.
9094         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9095         * nptl/tst-cond18.c: Include limits.h.
9096         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
9097         * nptl/tst-cond4.c: Include stdint.h.
9098         * nptl/tst-cond6.c: Include stdint.h.
9099         * nptl/tst-stack2.c: Include limits.h.
9100         * nptl/tst-stackguard1.c: Include stddef.h.
9101         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
9102         * nptl/tst-tls4moda.c: Include stddef.h.
9103         Don't include stdio.h, unistd.h, or tls.h.
9104         * nptl/tst-tls4modb.c: Include stddef.h.
9105         Don't include stdio.h, unistd.h, or tls.h.
9106         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
9107         * posix/tst-getaddrinfo2.c: Include stdio.h.
9108         * posix/tst-getaddrinfo5.c: Include stdio.h.
9109         * posix/tst-pathconf.c: Include sys/stat.h.
9110         * posix/tst-posix_fadvise-common.c: Include stdint.h.
9111         * posix/tst-preadwrite-common.c: Include sys/stat.h.
9112         * posix/tst-regex.c: Include stdint.h.
9113         Don't include spawn.h or spawn_int.h.
9114         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
9115         * posix/tst-vfork3.c: Include sys/stat.h.
9116         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
9117         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
9118         * resolv/tst-resolv-search.c: Include stdlib.h.
9119         * stdio-common/tst-fmemopen2.c: Include stdint.h.
9120         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
9121         * stdlib/test-canon.c: Include sys/stat.h.
9122         * stdlib/tst-tls-atexit.c: Include stdbool.h.
9123         * string/test-memchr.c: Include stdint.h.
9124         * string/tst-cmp.c: Include stdint.h.
9125         * sysdeps/pthread/tst-timer.c: Include stdint.h.
9126         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
9127         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
9128         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
9129         Don't include init-arch.h.
9130         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
9131         Don't include init-arch.h.
9132         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
9133         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
9134         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
9135         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
9136         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
9137         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
9138         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
9139         * time/clocktest.c: Include stdint.h.
9140         * time/tst-posixtz.c: Include stdint.h.
9141         * timezone/tst-timezone.c: Include stdint.h.
9143 2017-02-16  Zack Weinberg  <zackw@panix.com>
9145         * string/string.h [__USE_MISC]: Include strings.h.
9146         (__bzero, bcmp, bcopy, bzero, index, rindex)
9147         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
9148         (ffs, ffsl, ffsll): Don't declare.
9149         * string/strings.h: Do not suppress the file if string.h has
9150         already been included.
9151         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
9152         annotations.
9153         (index, rindex): Define inline forwarders even if
9154         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
9155         (ffs): Use __attribute_const__.
9156         (ffsl, ffsll): Declare here.
9157         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
9158         have now been standardized.
9159         * include/string.h (__bzero): Declare here.
9161         * bits/types.h: Move to posix/bits.
9162         * include/bits/types.h: New wrapper.
9164 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
9166         * string/bits/string2.h (strcmp): Remove define.
9167         (__strcmp_cg): Likewise.
9168         (strncmp): Likewise.
9170 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
9172         * include/string.h: Add __cplusplus check.
9174 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9176         [BZ #21134]
9177         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
9178         "divide by zero" exception when the input is zero.
9179         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
9180         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
9181         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
9182         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
9183         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9185 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
9187         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
9188         and include ...
9189         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
9190         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
9191         to, and include ...
9192         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
9193         file.
9194         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
9195         and include ...
9196         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
9197         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
9198         and include ...
9199         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
9200         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
9201         and include ...
9202         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
9203         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
9204         and include ...
9205         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
9206         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
9207         to, and include ...
9208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
9209         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
9210         and include ...
9211         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
9213 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
9215         * math/libm-test-support.h: Do not include <math-tests-arch.h>
9216         here.
9217         * math/libm-test-support.c (libm_test_init): Do not call
9218         INIT_ARCH_EXT here.
9219         * math/libm-test-driver.c: Include <math-tests-arch.h>.
9220         (main): Call INIT_ARCH_EXT.
9222 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9224         [BZ #21130]
9225         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
9226         with the "invalid" exception raised when x is -Inf.
9227         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9229 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
9231         * string/bits/string2.h (strchr): Remove define.
9233 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
9235         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
9236         tst-avx512.
9237         (test-extras): Add tst-avx-aux and tst-avx512-aux.
9238         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
9239         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
9240         ($(objpfx)tst-sse): New rule.
9241         ($(objpfx)tst-avx): Likewise.
9242         ($(objpfx)tst-avx512): Likewise.
9243         (CFLAGS-tst-avx-aux.c): New.
9244         (CFLAGS-tst-avxmod.c): Likewise.
9245         (CFLAGS-tst-avx512-aux.c): Likewise.
9246         (CFLAGS-tst-avx512mod.c): Likewise.
9247         * sysdeps/x86_64/tst-avx-aux.c: New file.
9248         * sysdeps/x86_64/tst-avx.c: Likewise.
9249         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
9250         * sysdeps/x86_64/tst-avx512.c: Likewise.
9251         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
9252         * sysdeps/x86_64/tst-avxmod.c: Likewise.
9253         * sysdeps/x86_64/tst-sse.c: Likewise.
9254         * sysdeps/x86_64/tst-ssemod.c: Likewise.
9256 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9258         * math/auto-libm-test-in: Add more tests of csin and csinh.
9259         * math/auto-libm-test-out-csin: Regenerated.
9260         * math/auto-libm-test-out-csinh: Likewise.
9261         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
9262         auto-libm-test-in.
9263         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
9265 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9267         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
9268         libm-compat-calls-auto.
9269         (libm-compat-calls): Likewise.
9270         (libm-compat-calls-auto): Rename to libm-compat-calls and add
9271         w_lgamma_compatF and k_standardF (merged from the items above).
9272         (libm-routines): Use libm-compat-calls, instead of
9273         libm-compat-calls-auto, with type-foreach.
9275 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
9277         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
9278         macro.
9279         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
9280         (CFLAGS-test-ifloat.c): ... this.  Remove
9281         -U__LIBC_INTERNAL_MATH_INLINES.
9282         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
9283         (CFLAGS-test-idouble.c): ... this.  Remove
9284         -U__LIBC_INTERNAL_MATH_INLINES.
9285         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
9286         (CFLAGS-test-ildouble.c): ... this.  Remove
9287         -U__LIBC_INTERNAL_MATH_INLINES.
9289 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
9291         * math/libm-test-support.c: New file.  Content from
9292         math/libm-test-driver.c.
9293         * math/libm-test-support.h: Likewise.
9294         * math/libm-test-support-double.c: New file.
9295         * math/libm-test-support-float.c: Likewise.
9296         * math/libm-test-support-ldouble.c: Likewise.
9297         * math/libm-test-driver.c: Remove main comment and header
9298         includes.  Include libm-test-support.h.
9299         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
9300         (flag_test_errno): Remove static.
9301         (flag_test_exceptions): Likewise.
9302         (flag_test_finite): Likewise.
9303         (flag_test_inline): Likewise.
9304         (flag_test_mathvec): Likewise.
9305         (test_msg): Likewise.
9306         (NO_EXCEPTION): Remove.
9307         (INVALID_EXCEPTION): Likewise.
9308         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9309         (OVERFLOW_EXCEPTION): Likewise.
9310         (UNDERFLOW_EXCEPTION): Likewise.
9311         (INEXACT_EXCEPTION): Likewise.
9312         (INVALID_EXCEPTION_OK): Likewise.
9313         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9314         (OVERFLOW_EXCEPTION_OK): Likewise.
9315         (UNDERFLOW_EXCEPTION_OK): Likewise.
9316         (NO_INEXACT_EXCEPTION): Likewise.
9317         (EXCEPTIONS_OK): Likewise.
9318         (IGNORE_ZERO_INF_SIGN): Likewise.
9319         (TEST_NAN_SIGN): Likewise.
9320         (TEST_NAN_PAYLOAD): Likewise.
9321         (NO_TEST_INLINE): Likewise.
9322         (XFAIL_TEST): Likewise.
9323         (ERRNO_UNCHANGED): Likewise.
9324         (ERRNO_EDOM): Likewise.
9325         (ERRNO_ERANGE): Likewise.
9326         (IGNORE_RESULT): Likewise.
9327         (NON_FINITE): Likewise.
9328         (TEST_SNAN): Likewise.
9329         (NO_TEST_MATHVEC): Likewise.
9330         (__CONCATX): Likewise.
9331         (TYPE_MIN): Likewise.
9332         (TYPE_TRUE_MIN): Likewise.
9333         (TYPE_MAX): Likewise.
9334         (MIN_EXP): Likewise.
9335         (MAX_EXP): Likewise.
9336         (MANT_DIG): Likewise.
9337         (FSTR_MAX): Likewise.
9338         (ulp_idx): Likewise.
9339         (qtype_str): Remove static.
9340         (TEST_COND_binary32): Remove.
9341         (TEST_COND_binary64): Likewise.
9342         (TEST_COND_binary128): Likewise.
9343         (TEST_COND_ibm128): Likewise.
9344         (TEST_COND_intel96): Likewise.
9345         (TEST_COND_m68k96): Likewise.
9346         (TEST_COND_ibm128_libgcc): Likewise.
9347         (XFAIL_IBM128_LIBGCC): Likewise.
9348         (PAYLOAD_DIG): Likewise.
9349         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9350         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9351         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9352         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9353         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9354         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9355         (TEST_COND_long32): Likewise.
9356         (TEST_COND_long64): Likewise.
9357         (TEST_COND_before_rounding): Likewise.
9358         (TEST_COND_after_rounding): Likewise.
9359         (ulps_file_name): Likewise.
9360         (ulps_file): Likewise.
9361         (output_ulps): Likewise.
9362         (output_dir): Likewise.
9363         (noErrors): Likewise.
9364         (noTests): Likewise.
9365         (noExcTests): Likewise.
9366         (noErrnoTests): Likewise.
9367         (verbose): Likewise.
9368         (output_max_error): Likewise.
9369         (output_points): Likewise.
9370         (ignore_max_ulp): Likewise.
9371         (max_error): Likewise.
9372         (real_max_error): Likewise.
9373         (imag_max_error): Likewise.
9374         (prev_max_error): Likewise.
9375         (prev_real_max_error): Likewise.
9376         (prev_imag_max_error): Likewise.
9377         (max_valid_error): Likewise.
9378         (TYPE_DECIMAL_DIG): Likewise.
9379         (TYPE_HEX_DIG): Likewise.
9380         (fmt_ftostr): Likewise.
9381         (compare_ulp_data): Likewise.
9382         (find_ulps): Likewise.
9383         (init_max_error): Likewise.
9384         (set_max_error): Likewise.
9385         (print_float): Likewise.
9386         (print_screen): Likewise.
9387         (print_screen_max_error): Likewise.
9388         (update_stats): Likewise.
9389         (print_function_ulps): Likewise.
9390         (print_complex_function_ulps): Likewise.
9391         (fpstack_test): Likewise.
9392         (print_max_error): Likewise.
9393         (print_complex_max_error): Likewise.
9394         (test_single_exception): Likewise.
9395         (test_exceptions): Likewise.
9396         (test_single_errno): Likewise.
9397         (test_errno): Likewise.
9398         (ULPDIFF): Likewise.
9399         (ulp): Likewise.
9400         (check_float_internal): Likewise.
9401         (check_float): Likewise.
9402         (check_complex): Likewise.
9403         (check_int): Likewise.
9404         (check_long): Likewise.
9405         (check_bool): Likewise.
9406         (check_longlong): Likewise.
9407         (check_intmax_t): Likewise.
9408         (check_uintmax_t): Likewise.
9409         (enable_test): Likewise.
9410         (matherr): Likewise.
9411         (initialize): Likewise.
9412         (options): Likewise.
9413         (doc): Remove static.
9414         (argp): Likewise.
9415         (parse_opt): Remove.
9416         (check_ulp): Likewise.
9417         (libm_test_init): Likewise.
9418         (libm_test_finish): Likewise.
9419         * math/Makefile (libm-test-support): New variable.
9420         (test-extras): Add libm-test-support files.
9421         (extra-test-objs): Likewise.
9422         (CFLAGS-libm-test-support-float.c): New variable.
9423         (CFLAGS-libm-test-support-double.c): Likewise.
9424         (CFLAGS-libm-test-support-ldouble.c): Likewise.
9425         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
9426         libm-test-support objects.
9428 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9430         * math/Makefile (libm-calls): Move w_exp...
9431         (libm-compat-calls-auto): Here.
9433         * math/w_expl.c: Add suffix "_compat" to filename.
9434         * sysdeps/ia64/fpu/w_expl.c: Likewise.
9435         * sysdeps/ia64/fpu/w_expf.c: Likewise.
9436         * sysdeps/ia64/fpu/w_exp.c: Likewise.
9437         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
9438         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
9439         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
9440         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
9441         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
9443         * math/w_expl_compat.c: New file, copied from above.
9444         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
9445         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
9446         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
9447         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
9448         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
9449         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
9450         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
9451         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
9453         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
9454         to filename.
9455         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
9457         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
9458         copied from above and adjusted for the new filenames.
9459         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
9461 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9463         * math/Makefile (libm-calls): Move w_lgammaF...
9464         (libm-compat-calls-auto): Here.
9466         * math/w_lgamma.c: Add suffix "_compat2" to filename.
9467         * math/w_lgammaf.c: Likewise.
9468         * math/w_lgammal.c: Likewise.
9470         * math/w_lgamma_compat2.c: New file, copied from above.
9471         * math/w_lgammaf_compat2.c: Likewise.
9472         * math/w_lgammal_compat2.c: Likewise.
9474 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9476         * math/Makefile (libm-calls): Move w_lgammaF_r...
9477         (libm-compat-calls-auto): Here.
9479         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
9480         * math/w_lgammaf_r.c: Likewise.
9481         * math/w_lgammal_r.c: Likewise.
9482         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
9483         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
9484         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
9486         * math/w_lgamma_r_compat.c: New file, copied from above.
9487         * math/w_lgammaf_r_compat.c: Likewise.
9488         * math/w_lgammal_r_compat.c: Likewise.
9489         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
9490         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
9491         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
9493         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
9494         to filename.
9495         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
9497         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
9498         copied from above and adjusted for the new filenames.
9499         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
9501 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
9503         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
9504         calculation in SYSCALL_ERROR_HANDLER().
9506 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
9508         * manual/contrib.texi: Fix typo.
9510 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9512         [BZ #21109]
9513         * elf/dl-tunable-types.h (tunable_callback_t): Accept
9514         tunable_val_t as argument.
9515         * elf/dl-tunables.c (__tunable_set_val): Add comment.
9516         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
9517         argument.
9518         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
9520 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
9522         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
9523         Add PTRACE_EVENT_STOP.
9524         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
9525         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
9526         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
9527         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
9528         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
9529         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
9531 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
9533         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
9534         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
9535         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
9536         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
9537         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
9538         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
9539         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
9540         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
9541         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
9542         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
9544         [BZ #21112]
9545         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
9546         12 bits zero.
9547         (cp_l): Update for new value of cp_h.
9548         * math/auto-libm-test-in: Add another test of pow.
9549         * math/auto-libm-test-out-pow: Regenerated.
9551 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9553         * manual/contrib.texi: Fix typo.
9555 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9557         [BZ #15998]
9558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
9559         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
9560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9562 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9564         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
9565         STRCHR as __strchr_power8.
9566         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
9567         strlen as __strlen_power8.
9569 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9571         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
9572         unaligned load for shorter strings.
9573         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
9575 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9577         * math/libm-test-driver.c (flag_test_errno): New variable.
9578         (flag_test_exceptions): Likewise.
9579         (flag_test_finite): Likewise.
9580         (flag_test_inline): Likewise.
9581         (flag_test_mathvec): Likewise.
9582         (test_msg): Likewise.
9583         (ulp_idx): Likewise.
9584         (qtype_str): Likewise.
9585         (ULP_IDX): Remove macro.
9586         (QTYPE_STR): Likewise.
9587         (find_ulps): Use ulp_idx not ULP_IDX.
9588         (print_function_ulps): Use qtype_str, printed with %s, not
9589         QTYPE_STR, printed with concatentation to format string.
9590         (print_complex_function_ulps): Likewise.
9591         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
9592         (test_errno): Use flag_test_errno not TEST_ERRNO.
9593         (enable_test): Use flag_test_inline, flag_test_finite and
9594         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
9595         TEST_MATHVEC.
9596         (libm_test_init): New function.  Factored out of main.
9597         (libm_test_finish): Likewise.
9598         (main): Call libm_test_init and libm_test_finish and move most
9599         code to those functions.
9601         * math/libm-test-driver.c (STRX): New macro.
9602         (STR): Likewise.
9603         (STR_FLOAT): Likewise.
9604         (STR_VEC_LEN): Likewise.
9605         (TEST_MSG): Likewise.  Define here instead of expecting to be
9606         defined by including file.
9607         * math/test-double-finite.c (TEST_MSG): Remove macro.
9608         * math/test-double-vlen2.h (TEST_MSG): Likewise.
9609         * math/test-double-vlen4.h (TEST_MSG): Likewise.
9610         * math/test-double-vlen8.h (TEST_MSG): Likewise.
9611         * math/test-double.c (TEST_MSG): Likewise.
9612         * math/test-float-finite.c (TEST_MSG): Likewise.
9613         * math/test-float-vlen16.h (TEST_MSG): Likewise.
9614         * math/test-float-vlen4.h (TEST_MSG): Likewise.
9615         * math/test-float-vlen8.h (TEST_MSG): Likewise.
9616         * math/test-float.c (TEST_MSG): Likewise.
9617         * math/test-idouble.c (TEST_MSG): Likewise.
9618         * math/test-ifloat.c (TEST_MSG): Likewise.
9619         * math/test-ildouble.c (TEST_MSG): Likewise.
9620         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
9621         * math/test-ldouble.c (TEST_MSG): Likewise.
9623         * math/libm-test.inc: Move all tests of individual functions to
9624         libm-test-*.inc and #include libm-test-*.c files.
9625         (acos_test_data): Remove.
9626         (acos_test): Likewise.
9627         (acosh_test_data): Likewise.
9628         (acosh_test): Likewise.
9629         (asin_test_data): Likewise.
9630         (asin_test): Likewise.
9631         (asinh_test_data): Likewise.
9632         (asinh_test): Likewise.
9633         (atan_test_data): Likewise.
9634         (atan_test): Likewise.
9635         (atanh_test_data): Likewise.
9636         (atanh_test): Likewise.
9637         (atan2_test_data): Likewise.
9638         (atan2_test): Likewise.
9639         (cabs_test_data): Likewise.
9640         (cabs_test): Likewise.
9641         (cacos_test_data): Likewise.
9642         (cacos_test): Likewise.
9643         (cacosh_test_data): Likewise.
9644         (cacosh_test): Likewise.
9645         (canonicalize_test_data): Likewise.
9646         (canonicalize_test): Likewise.
9647         (carg_test_data): Likewise.
9648         (carg_test): Likewise.
9649         (casin_test_data): Likewise.
9650         (casin_test): Likewise.
9651         (casinh_test_data): Likewise.
9652         (casinh_test): Likewise.
9653         (catan_test_data): Likewise.
9654         (catan_test): Likewise.
9655         (catanh_test_data): Likewise.
9656         (catanh_test): Likewise.
9657         (cbrt_test_data): Likewise.
9658         (cbrt_test): Likewise.
9659         (ccos_test_data): Likewise.
9660         (ccos_test): Likewise.
9661         (ccosh_test_data): Likewise.
9662         (ccosh_test): Likewise.
9663         (ceil_test_data): Likewise.
9664         (ceil_test): Likewise.
9665         (cexp_test_data): Likewise.
9666         (cexp_test): Likewise.
9667         (cimag_test_data): Likewise.
9668         (cimag_test): Likewise.
9669         (clog_test_data): Likewise.
9670         (clog_test): Likewise.
9671         (clog10_test_data): Likewise.
9672         (clog10_test): Likewise.
9673         (conj_test_data): Likewise.
9674         (conj_test): Likewise.
9675         (copysign_test_data): Likewise.
9676         (copysign_test): Likewise.
9677         (cos_test_data): Likewise.
9678         (cos_test): Likewise.
9679         (cosh_test_data): Likewise.
9680         (cosh_test): Likewise.
9681         (cpow_test_data): Likewise.
9682         (cpow_test): Likewise.
9683         (cproj_test_data): Likewise.
9684         (cproj_test): Likewise.
9685         (creal_test_data): Likewise.
9686         (creal_test): Likewise.
9687         (csin_test_data): Likewise.
9688         (csin_test): Likewise.
9689         (csinh_test_data): Likewise.
9690         (csinh_test): Likewise.
9691         (csqrt_test_data): Likewise.
9692         (csqrt_test): Likewise.
9693         (ctan_test_data): Likewise.
9694         (ctan_test): Likewise.
9695         (ctanh_test_data): Likewise.
9696         (ctanh_test): Likewise.
9697         (erf_test_data): Likewise.
9698         (erf_test): Likewise.
9699         (erfc_test_data): Likewise.
9700         (erfc_test): Likewise.
9701         (exp_test_data): Likewise.
9702         (exp_test): Likewise.
9703         (exp10_test_data): Likewise.
9704         (exp10_test): Likewise.
9705         (pow10_test): Likewise.
9706         (exp2_test_data): Likewise.
9707         (exp2_test): Likewise.
9708         (expm1_test_data): Likewise.
9709         (expm1_test): Likewise.
9710         (fabs_test_data): Likewise.
9711         (fabs_test): Likewise.
9712         (fdim_test_data): Likewise.
9713         (fdim_test): Likewise.
9714         (floor_test_data): Likewise.
9715         (floor_test): Likewise.
9716         (fma_test_data): Likewise.
9717         (fma_test): Likewise.
9718         (fmax_test_data): Likewise.
9719         (fmax_test): Likewise.
9720         (fmaxmag_test_data): Likewise.
9721         (fmaxmag_test): Likewise.
9722         (fmin_test_data): Likewise.
9723         (fmin_test): Likewise.
9724         (fminmag_test_data): Likewise.
9725         (fminmag_test): Likewise.
9726         (fmod_test_data): Likewise.
9727         (fmod_test): Likewise.
9728         (fpclassify_test_data): Likewise.
9729         (fpclassify_test): Likewise.
9730         (frexp_test_data): Likewise.
9731         (frexp_test): Likewise.
9732         (fromfp_test_data): Likewise.
9733         (fromfp_test): Likewise.
9734         (fromfpx_test_data): Likewise.
9735         (fromfpx_test): Likewise.
9736         (getpayload_test_data): Likewise.
9737         (getpayload_test): Likewise.
9738         (hypot_test_data): Likewise.
9739         (hypot_test): Likewise.
9740         (ilogb_test_data): Likewise.
9741         (ilogb_test): Likewise.
9742         (iscanonical_test_data): Likewise.
9743         (iscanonical_test): Likewise.
9744         (iseqsig_test_data): Likewise.
9745         (iseqsig_test): Likewise.
9746         (isfinite_test_data): Likewise.
9747         (isfinite_test): Likewise.
9748         (finite_test): Likewise.
9749         (isgreater_test_data): Likewise.
9750         (isgreater_test): Likewise.
9751         (isgreaterequal_test_data): Likewise.
9752         (isgreaterequal_test): Likewise.
9753         (isinf_test_data): Likewise.
9754         (isinf_test): Likewise.
9755         (isless_test_data): Likewise.
9756         (isless_test): Likewise.
9757         (islessequal_test_data): Likewise.
9758         (islessequal_test): Likewise.
9759         (islessgreater_test_data): Likewise.
9760         (islessgreater_test): Likewise.
9761         (isnan_test_data): Likewise.
9762         (isnan_test): Likewise.
9763         (isnormal_test_data): Likewise.
9764         (isnormal_test): Likewise.
9765         (issignaling_test_data): Likewise.
9766         (issignaling_test): Likewise.
9767         (issubnormal_test_data): Likewise.
9768         (issubnormal_test): Likewise.
9769         (isunordered_test_data): Likewise.
9770         (isunordered_test): Likewise.
9771         (iszero_test_data): Likewise.
9772         (iszero_test): Likewise.
9773         (j0_test_data): Likewise.
9774         (j0_test): Likewise.
9775         (j1_test_data): Likewise.
9776         (j1_test): Likewise.
9777         (jn_test_data): Likewise.
9778         (jn_test): Likewise.
9779         (lgamma_test_data): Likewise.
9780         (lgamma_test): Likewise.
9781         (gamma_test): Likewise.
9782         (llogb_test_data): Likewise.
9783         (llogb_test): Likewise.
9784         (lrint_test_data): Likewise.
9785         (lrint_test): Likewise.
9786         (llrint_test_data): Likewise.
9787         (llrint_test): Likewise.
9788         (log_test_data): Likewise.
9789         (log_test): Likewise.
9790         (log10_test_data): Likewise.
9791         (log10_test): Likewise.
9792         (log1p_test_data): Likewise.
9793         (log1p_test): Likewise.
9794         (log2_test_data): Likewise.
9795         (log2_test): Likewise.
9796         (logb_test_data): Likewise.
9797         (logb_test): Likewise.
9798         (lround_test_data): Likewise.
9799         (lround_test): Likewise.
9800         (llround_test_data): Likewise.
9801         (llround_test): Likewise.
9802         (modf_test_data): Likewise.
9803         (modf_test): Likewise.
9804         (nearbyint_test_data): Likewise.
9805         (nearbyint_test): Likewise.
9806         (nextafter_test_data): Likewise.
9807         (nextafter_test): Likewise.
9808         (nextup_test_data): Likewise.
9809         (nextup_test): Likewise.
9810         (nextdown_test_data): Likewise.
9811         (nextdown_test): Likewise.
9812         (nexttoward_test_data): Likewise.
9813         (nexttoward_test): Likewise.
9814         (pow_test_data): Likewise.
9815         (pow_test): Likewise.
9816         (remainder_test_data): Likewise.
9817         (remainder_test): Likewise.
9818         (drem_test): Likewise.
9819         (remquo_test_data): Likewise.
9820         (remquo_test): Likewise.
9821         (rint_test_data): Likewise.
9822         (rint_test): Likewise.
9823         (round_test_data): Likewise.
9824         (round_test): Likewise.
9825         (roundeven_test_data): Likewise.
9826         (roundeven_test): Likewise.
9827         (scalb_test_data): Likewise.
9828         (scalb_test): Likewise.
9829         (scalbn_test_data): Likewise.
9830         (scalbn_test): Likewise.
9831         (ldexp_test): Likewise.
9832         (scalbln_test_data): Likewise.
9833         (scalbln_test): Likewise.
9834         (setpayload_test_data): Likewise.
9835         (setpayload_test): Likewise.
9836         (setpayloadsig_test_data): Likewise.
9837         (setpayloadsig_test): Likewise.
9838         (signbit_test_data): Likewise.
9839         (signbit_test): Likewise.
9840         (sin_test_data): Likewise.
9841         (sin_test): Likewise.
9842         (sincos_test_data): Likewise.
9843         (sincos_test): Likewise.
9844         (sinh_test_data): Likewise.
9845         (sinh_test): Likewise.
9846         (sqrt_test_data): Likewise.
9847         (sqrt_test): Likewise.
9848         (tan_test_data): Likewise.
9849         (tan_test): Likewise.
9850         (tanh_test_data): Likewise.
9851         (tanh_test): Likewise.
9852         (tgamma_test_data): Likewise.
9853         (tgamma_test): Likewise.
9854         (totalorder_test_data): Likewise.
9855         (totalorder_test): Likewise.
9856         (totalordermag_test_data): Likewise.
9857         (totalordermag_test): Likewise.
9858         (trunc_test_data): Likewise.
9859         (trunc_test): Likewise.
9860         (ufromfp_test_data): Likewise.
9861         (ufromfp_test): Likewise.
9862         (ufromfpx_test_data): Likewise.
9863         (ufromfpx_test): Likewise.
9864         (y0_test_data): Likewise.
9865         (y0_test): Likewise.
9866         (y1_test_data): Likewise.
9867         (y1_test): Likewise.
9868         (yn_test_data): Likewise.
9869         (yn_test): Likewise.
9870         (significand_test_data): Likewise.
9871         (significand_test): Likewise.
9872         * math/Makefile (auto-libm-test-out-files): Remove variable.
9873         (libm-test-funcs-noauto): New variable.
9874         (libm-test-funcs-all): Likewise.
9875         (libm-test-c-auto): Likewise.
9876         (libm-test-c-noauto): Likewise.
9877         (libm-tests-generated): Add $(libm-test-c-auto) and
9878         $(libm-test-c-noauto).
9879         (generated): Do not add auto-libm-test-out.
9880         (libm-test-c-auto-obj): New variable.
9881         (libm-test-c-noauto-obj): Likewise.
9882         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9883         ($(libm-test-c-noauto-obj)): New static pattern rule.
9884         ($(libm-test-c-auto-obj)): Likewise.
9885         (libm-test-incs): New variable.
9886         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9887         and pass it to gen-libm-have-vector-test.sh.
9888         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9889         be passed on command line.
9890         * math/libm-test-acos.inc: New file.  Content from
9891         math/libm-test.inc.
9892         * math/libm-test-acosh.inc: Likewise.
9893         * math/libm-test-asin.inc: Likewise.
9894         * math/libm-test-asinh.inc: Likewise.
9895         * math/libm-test-atan.inc: Likewise.
9896         * math/libm-test-atan2.inc: Likewise.
9897         * math/libm-test-atanh.inc: Likewise.
9898         * math/libm-test-cabs.inc: Likewise.
9899         * math/libm-test-cacos.inc: Likewise.
9900         * math/libm-test-cacosh.inc: Likewise.
9901         * math/libm-test-canonicalize.inc: Likewise.
9902         * math/libm-test-carg.inc: Likewise.
9903         * math/libm-test-casin.inc: Likewise.
9904         * math/libm-test-casinh.inc: Likewise.
9905         * math/libm-test-catan.inc: Likewise.
9906         * math/libm-test-catanh.inc: Likewise.
9907         * math/libm-test-cbrt.inc: Likewise.
9908         * math/libm-test-ccos.inc: Likewise.
9909         * math/libm-test-ccosh.inc: Likewise.
9910         * math/libm-test-ceil.inc: Likewise.
9911         * math/libm-test-cexp.inc: Likewise.
9912         * math/libm-test-cimag.inc: Likewise.
9913         * math/libm-test-clog.inc: Likewise.
9914         * math/libm-test-clog10.inc: Likewise.
9915         * math/libm-test-conj.inc: Likewise.
9916         * math/libm-test-copysign.inc: Likewise.
9917         * math/libm-test-cos.inc: Likewise.
9918         * math/libm-test-cosh.inc: Likewise.
9919         * math/libm-test-cpow.inc: Likewise.
9920         * math/libm-test-cproj.inc: Likewise.
9921         * math/libm-test-creal.inc: Likewise.
9922         * math/libm-test-csin.inc: Likewise.
9923         * math/libm-test-csinh.inc: Likewise.
9924         * math/libm-test-csqrt.inc: Likewise.
9925         * math/libm-test-ctan.inc: Likewise.
9926         * math/libm-test-ctanh.inc: Likewise.
9927         * math/libm-test-erf.inc: Likewise.
9928         * math/libm-test-erfc.inc: Likewise.
9929         * math/libm-test-exp.inc: Likewise.
9930         * math/libm-test-exp10.inc: Likewise.
9931         * math/libm-test-exp2.inc: Likewise.
9932         * math/libm-test-expm1.inc: Likewise.
9933         * math/libm-test-fabs.inc: Likewise.
9934         * math/libm-test-fdim.inc: Likewise.
9935         * math/libm-test-floor.inc: Likewise.
9936         * math/libm-test-fma.inc: Likewise.
9937         * math/libm-test-fmax.inc: Likewise.
9938         * math/libm-test-fmaxmag.inc: Likewise.
9939         * math/libm-test-fmin.inc: Likewise.
9940         * math/libm-test-fminmag.inc: Likewise.
9941         * math/libm-test-fmod.inc: Likewise.
9942         * math/libm-test-fpclassify.inc: Likewise.
9943         * math/libm-test-frexp.inc: Likewise.
9944         * math/libm-test-fromfp.inc: Likewise.
9945         * math/libm-test-fromfpx.inc: Likewise.
9946         * math/libm-test-getpayload.inc: Likewise.
9947         * math/libm-test-hypot.inc: Likewise.
9948         * math/libm-test-ilogb.inc: Likewise.
9949         * math/libm-test-iscanonical.inc: Likewise.
9950         * math/libm-test-iseqsig.inc: Likewise.
9951         * math/libm-test-isfinite.inc: Likewise.
9952         * math/libm-test-isgreater.inc: Likewise.
9953         * math/libm-test-isgreaterequal.inc: Likewise.
9954         * math/libm-test-isinf.inc: Likewise.
9955         * math/libm-test-isless.inc: Likewise.
9956         * math/libm-test-islessequal.inc: Likewise.
9957         * math/libm-test-islessgreater.inc: Likewise.
9958         * math/libm-test-isnan.inc: Likewise.
9959         * math/libm-test-isnormal.inc: Likewise.
9960         * math/libm-test-issignaling.inc: Likewise.
9961         * math/libm-test-issubnormal.inc: Likewise.
9962         * math/libm-test-isunordered.inc: Likewise.
9963         * math/libm-test-iszero.inc: Likewise.
9964         * math/libm-test-j0.inc: Likewise.
9965         * math/libm-test-j1.inc: Likewise.
9966         * math/libm-test-jn.inc: Likewise.
9967         * math/libm-test-lgamma.inc: Likewise.
9968         * math/libm-test-llogb.inc: Likewise.
9969         * math/libm-test-llrint.inc: Likewise.
9970         * math/libm-test-llround.inc: Likewise.
9971         * math/libm-test-log.inc: Likewise.
9972         * math/libm-test-log10.inc: Likewise.
9973         * math/libm-test-log1p.inc: Likewise.
9974         * math/libm-test-log2.inc: Likewise.
9975         * math/libm-test-logb.inc: Likewise.
9976         * math/libm-test-lrint.inc: Likewise.
9977         * math/libm-test-lround.inc: Likewise.
9978         * math/libm-test-modf.inc: Likewise.
9979         * math/libm-test-nearbyint.inc: Likewise.
9980         * math/libm-test-nextafter.inc: Likewise.
9981         * math/libm-test-nextdown.inc: Likewise.
9982         * math/libm-test-nexttoward.inc: Likewise.
9983         * math/libm-test-nextup.inc: Likewise.
9984         * math/libm-test-pow.inc: Likewise.
9985         * math/libm-test-remainder.inc: Likewise.
9986         * math/libm-test-remquo.inc: Likewise.
9987         * math/libm-test-rint.inc: Likewise.
9988         * math/libm-test-round.inc: Likewise.
9989         * math/libm-test-roundeven.inc: Likewise.
9990         * math/libm-test-scalb.inc: Likewise.
9991         * math/libm-test-scalbln.inc: Likewise.
9992         * math/libm-test-scalbn.inc: Likewise.
9993         * math/libm-test-setpayload.inc: Likewise.
9994         * math/libm-test-setpayloadsig.inc: Likewise.
9995         * math/libm-test-signbit.inc: Likewise.
9996         * math/libm-test-significand.inc: Likewise.
9997         * math/libm-test-sin.inc: Likewise.
9998         * math/libm-test-sincos.inc: Likewise.
9999         * math/libm-test-sinh.inc: Likewise.
10000         * math/libm-test-sqrt.inc: Likewise.
10001         * math/libm-test-tan.inc: Likewise.
10002         * math/libm-test-tanh.inc: Likewise.
10003         * math/libm-test-tgamma.inc: Likewise.
10004         * math/libm-test-totalorder.inc: Likewise.
10005         * math/libm-test-totalordermag.inc: Likewise.
10006         * math/libm-test-trunc.inc: Likewise.
10007         * math/libm-test-ufromfp.inc: Likewise.
10008         * math/libm-test-ufromfpx.inc: Likewise.
10009         * math/libm-test-y0.inc: Likewise.
10010         * math/libm-test-y1.inc: Likewise.
10011         * math/libm-test-yn.inc: Likewise.
10012         * math/README.libm-test: Update.
10014         * math/gen-auto-libm-tests.c: Update comment about use of program.
10015         (generate_output): Add argument FUNCTION.
10016         (main): Require extra argument.  Pass function name to
10017         generate_output.
10018         * math/Makefile (generated): Add auto-libm-test-out.
10019         (libm-test-funcs-auto): New variable.
10020         (auto-libm-test-out-files): New variable.
10021         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
10022         Concatenate those files to form $(objpfx)auto-libm-test-out and
10023         use it as input to gen-libm-test.pl.
10024         * math/README.libm-test: Update.
10025         * math/auto-libm-test-out: Remove.
10026         * math/auto-libm-test-out-acos: New generated file.
10027         * math/auto-libm-test-out-acosh: Likewise.
10028         * math/auto-libm-test-out-asin: Likewise.
10029         * math/auto-libm-test-out-asinh: Likewise.
10030         * math/auto-libm-test-out-atan: Likewise.
10031         * math/auto-libm-test-out-atan2: Likewise.
10032         * math/auto-libm-test-out-atanh: Likewise.
10033         * math/auto-libm-test-out-cabs: Likewise.
10034         * math/auto-libm-test-out-carg: Likewise.
10035         * math/auto-libm-test-out-cbrt: Likewise.
10036         * math/auto-libm-test-out-ccos: Likewise.
10037         * math/auto-libm-test-out-ccosh: Likewise.
10038         * math/auto-libm-test-out-cexp: Likewise.
10039         * math/auto-libm-test-out-clog: Likewise.
10040         * math/auto-libm-test-out-clog10: Likewise.
10041         * math/auto-libm-test-out-cos: Likewise.
10042         * math/auto-libm-test-out-cosh: Likewise.
10043         * math/auto-libm-test-out-cpow: Likewise.
10044         * math/auto-libm-test-out-csin: Likewise.
10045         * math/auto-libm-test-out-csinh: Likewise.
10046         * math/auto-libm-test-out-csqrt: Likewise.
10047         * math/auto-libm-test-out-ctan: Likewise.
10048         * math/auto-libm-test-out-ctanh: Likewise.
10049         * math/auto-libm-test-out-erf: Likewise.
10050         * math/auto-libm-test-out-erfc: Likewise.
10051         * math/auto-libm-test-out-exp: Likewise.
10052         * math/auto-libm-test-out-exp10: Likewise.
10053         * math/auto-libm-test-out-exp2: Likewise.
10054         * math/auto-libm-test-out-expm1: Likewise.
10055         * math/auto-libm-test-out-fma: Likewise.
10056         * math/auto-libm-test-out-hypot: Likewise.
10057         * math/auto-libm-test-out-j0: Likewise.
10058         * math/auto-libm-test-out-j1: Likewise.
10059         * math/auto-libm-test-out-jn: Likewise.
10060         * math/auto-libm-test-out-lgamma: Likewise.
10061         * math/auto-libm-test-out-log: Likewise.
10062         * math/auto-libm-test-out-log10: Likewise.
10063         * math/auto-libm-test-out-log1p: Likewise.
10064         * math/auto-libm-test-out-log2: Likewise.
10065         * math/auto-libm-test-out-pow: Likewise.
10066         * math/auto-libm-test-out-sin: Likewise.
10067         * math/auto-libm-test-out-sincos: Likewise.
10068         * math/auto-libm-test-out-sinh: Likewise.
10069         * math/auto-libm-test-out-sqrt: Likewise.
10070         * math/auto-libm-test-out-tan: Likewise.
10071         * math/auto-libm-test-out-tanh: Likewise.
10072         * math/auto-libm-test-out-tgamma: Likewise.
10073         * math/auto-libm-test-out-y0: Likewise.
10074         * math/auto-libm-test-out-y1: Likewise.
10075         * math/auto-libm-test-out-yn: Likewise.
10077         * math/Makefile (generated): Do not include libm-test.stmp.
10078         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
10079         on $(objpfx)libm-test.stmp.
10080         ($(objpfx)libm-test.stmp): Remove rule.
10081         ($(objpfx)libm-test-ulps.h): New rule.
10082         ($(objpfx)libm-test.c): Likewise.
10083         ($(objpfx)libm-have-vector-test.h): Likewise.
10084         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
10085         individual generated files, not libm-test.stmp.
10087         * math/gen-libm-test.pl ($output_dir): Remove variable.
10088         ($srcdir): Likewise.
10089         ($opt_a): New variable.
10090         ($opt_c): Likewise.
10091         ($opt_C): Likewise.
10092         ($opt_H): Likewise.
10093         (-n): Make option take argument and use it as NewUlps output.
10094         (-a): New option.  Use its argument for auto-libm-test-out input.
10095         (-c): New option.  Use its argument for libm-test.inc input.
10096         (-C): New option.  Use its argument for libm-test.c output.
10097         (-H): New option.  Use its argument for libm-test-ulps.h output.
10098         (top level): Only process inputs needed to generate outputs
10099         specified by command-line options.  Only generate outputs
10100         specified by command-line options.
10101         * math/README.libm-test: Update example gen-libm-test.pl command.
10102         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
10103         commands.
10104         (regen-ulps): Likewise.
10106 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
10108         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
10109         * include/string.h (index): Remove define.
10110         (rindex): Likewise.
10111         * misc/getttyent.c (__getttyent): Rename index to strchr.
10112         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
10113         * sunrpc/rpc_main.c (mkfile_output): Likewise.
10115 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10117         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
10118         * math/libm-test.inc: Move all contents, other than tests of
10119         individual functions, to libm-test-driver.c.
10120         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
10121         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
10122         [!FE_UPWARD] (FE_UPWARD): Likewise.
10123         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
10124         (NO_EXCEPTION): Likewise.
10125         (INVALID_EXCEPTION): Likewise.
10126         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
10127         (OVERFLOW_EXCEPTION): Likewise.
10128         (UNDERFLOW_EXCEPTION): Likewise.
10129         (INEXACT_EXCEPTION): Likewise.
10130         (INVALID_EXCEPTION_OK): Likewise.
10131         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
10132         (OVERFLOW_EXCEPTION_OK): Likewise.
10133         (UNDERFLOW_EXCEPTION_OK): Likewise.
10134         (NO_INEXACT_EXCEPTION): Likewise.
10135         (EXCEPTIONS_OK): Likewise.
10136         (IGNORE_ZERO_INF_SIGN): Likewise.
10137         (TEST_NAN_SIGN): Likewise.
10138         (TEST_NAN_PAYLOAD): Likewise.
10139         (NO_TEST_INLINE): Likewise.
10140         (XFAIL_TEST): Likewise.
10141         (ERRNO_UNCHANGED): Likewise.
10142         (ERRNO_EDOM): Likewise.
10143         (ERRNO_ERANGE): Likewise.
10144         (IGNORE_RESULT): Likewise.
10145         (NON_FINITE): Likewise.
10146         (TEST_SNAN): Likewise.
10147         (NO_TEST_MATHVEC): Likewise.
10148         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
10149         (__CONCATX): Likewise.
10150         (TYPE_MIN): Likewise.
10151         (TYPE_TRUE_MIN): Likewise.
10152         (TYPE_MAX): Likewise.
10153         (MIN_EXP): Likewise.
10154         (MAX_EXP): Likewise.
10155         (MANT_DIG): Likewise.
10156         (FSTR_MAX): Likewise.
10157         (ULP_IDX): Likewise.
10158         (QTYPE_STR): Likewise.
10159         (TEST_COND_binary32): Likewise.
10160         (TEST_COND_binary64): Likewise.
10161         (TEST_COND_binary128): Likewise.
10162         (TEST_COND_ibm128): Likewise.
10163         (TEST_COND_intel96): Likewise.
10164         (TEST_COND_m68k96): Likewise.
10165         (TEST_COND_ibm128_libgcc): Likewise.
10166         (XFAIL_IBM128_LIBGCC): Likewise.
10167         (PAYLOAD_DIG): Likewise.
10168         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
10169         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
10170         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
10171         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
10172         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
10173         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
10174         (TEST_COND_long32): Likewise.
10175         (TEST_COND_long64): Likewise.
10176         (TEST_COND_before_rounding): Likewise.
10177         (TEST_COND_after_rounding): Likewise.
10178         (lit_pi_3_m_4_d): Likewise.
10179         (lit_pi_3_m_4_ln10_m_d): Likewise.
10180         (lit_pi_2_ln10_m_d): Likewise.
10181         (lit_pi_4_ln10_m_d): Likewise.
10182         (lit_pi_ln10_d): Likewise.
10183         (lit_pi_2_d): Likewise.
10184         (lit_pi_4_d): Likewise.
10185         (lit_pi): Likewise.
10186         (lit_e): Likewise.
10187         (ulps_file_name): Likewise.
10188         (ulps_file): Likewise.
10189         (output_ulps): Likewise.
10190         (output_dir): Likewise.
10191         (noErrors): Likewise.
10192         (noTests): Likewise.
10193         (noExcTests): Likewise.
10194         (noErrnoTests): Likewise.
10195         (verbose): Likewise.
10196         (output_max_error): Likewise.
10197         (output_points): Likewise.
10198         (ignore_max_ulp): Likewise.
10199         (plus_zero): Likewise.
10200         (minus_zero): Likewise.
10201         (plus_infty): Likewise.
10202         (minus_infty): Likewise.
10203         (qnan_value_pl): Likewise.
10204         (qnan_value): Likewise.
10205         (snan_value_pl): Likewise.
10206         (snan_value): Likewise.
10207         (max_value): Likewise.
10208         (min_value): Likewise.
10209         (min_subnorm_value): Likewise.
10210         (snan_value_ld): Likewise.
10211         (max_error): Likewise.
10212         (real_max_error): Likewise.
10213         (imag_max_error): Likewise.
10214         (prev_max_error): Likewise.
10215         (prev_real_max_error): Likewise.
10216         (prev_imag_max_error): Likewise.
10217         (max_valid_error): Likewise.
10218         (TYPE_DECIMAL_DIG): Likewise.
10219         (TYPE_HEX_DIG): Likewise.
10220         (fmt_ftostr): Likewise.
10221         (compare_ulp_data): Likewise.
10222         (find_ulps): Likewise.
10223         (init_max_error): Likewise.
10224         (set_max_error): Likewise.
10225         (print_float): Likewise.
10226         (print_screen): Likewise.
10227         (print_screen_max_error): Likewise.
10228         (update_stats): Likewise.
10229         (print_function_ulps): Likewise.
10230         (print_complex_function_ulps): Likewise.
10231         (fpstack_test): Likewise.
10232         (print_max_error): Likewise.
10233         (print_complex_max_error): Likewise.
10234         (test_single_exception): Likewise.
10235         (test_exceptions): Likewise.
10236         (test_single_errno): Likewise.
10237         (test_errno): Likewise.
10238         (ULPDIFF): Likewise.
10239         (ulp): Likewise.
10240         (check_float_internal): Likewise.
10241         (check_float): Likewise.
10242         (check_complex): Likewise.
10243         (check_int): Likewise.
10244         (check_long): Likewise.
10245         (check_bool): Likewise.
10246         (check_longlong): Likewise.
10247         (check_intmax_t): Likewise.
10248         (check_uintmax_t): Likewise.
10249         (enable_test): Likewise.
10250         (struct test_f_f_data): Likewise.
10251         (struct test_ff_f_data): Likewise.
10252         (struct test_fj_f_data): Likewise.
10253         (struct test_fi_f_data): Likewise.
10254         (struct test_fl_f_data): Likewise.
10255         (struct test_if_f_data): Likewise.
10256         (struct test_fff_f_data): Likewise.
10257         (struct test_fiu_M_data): Likewise.
10258         (struct test_fiu_U_data): Likewise.
10259         (struct test_c_f_data): Likewise.
10260         (struct test_f_f1_data): Likewise.
10261         (struct test_fF_f1_data): Likewise.
10262         (struct test_ffI_f1_data): Likewise.
10263         (struct test_c_c_data): Likewise.
10264         (struct test_cc_c_data): Likewise.
10265         (struct test_f_i_data): Likewise.
10266         (struct test_ff_i_data): Likewise.
10267         (struct test_f_l_data): Likewise.
10268         (struct test_f_L_data): Likewise.
10269         (struct test_fFF_11_data): Likewise.
10270         (struct test_Ff_b1_data): Likewise.
10271         (IF_ROUND_INIT_): Likewise.
10272         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
10273         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
10274         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10275         (IF_ROUND_INIT_FE_UPWARD): Likewise.
10276         (ROUND_RESTORE_): Likewise.
10277         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
10278         (ROUND_RESTORE_FE_TONEAREST): Likewise.
10279         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
10280         (ROUND_RESTORE_FE_UPWARD): Likewise.
10281         (RM_): Likewise.
10282         (RM_FE_DOWNWARD): Likewise.
10283         (RM_FE_TONEAREST): Likewise.
10284         (RM_FE_TOWARDZERO): Likewise.
10285         (RM_FE_UPWARD): Likewise.
10286         (COMMON_TEST_SETUP): Likewise.
10287         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
10288         (COMMON_TEST_CLEANUP): Likewise.
10289         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
10290         (RUN_TEST_f_f): Likewise.
10291         (RUN_TEST_LOOP_f_f): Likewise.
10292         (RUN_TEST_fp_f): Likewise.
10293         (RUN_TEST_LOOP_fp_f): Likewise.
10294         (RUN_TEST_2_f): Likewise.
10295         (RUN_TEST_LOOP_2_f): Likewise.
10296         (RUN_TEST_ff_f): Likewise.
10297         (RUN_TEST_LOOP_ff_f): Likewise.
10298         (RUN_TEST_LOOP_fj_f): Likewise.
10299         (RUN_TEST_fi_f): Likewise.
10300         (RUN_TEST_LOOP_fi_f): Likewise.
10301         (RUN_TEST_fl_f): Likewise.
10302         (RUN_TEST_LOOP_fl_f): Likewise.
10303         (RUN_TEST_if_f): Likewise.
10304         (RUN_TEST_LOOP_if_f): Likewise.
10305         (RUN_TEST_fff_f): Likewise.
10306         (RUN_TEST_LOOP_fff_f): Likewise.
10307         (RUN_TEST_fiu_M): Likewise.
10308         (RUN_TEST_LOOP_fiu_M): Likewise.
10309         (RUN_TEST_fiu_U): Likewise.
10310         (RUN_TEST_LOOP_fiu_U): Likewise.
10311         (RUN_TEST_c_f): Likewise.
10312         (RUN_TEST_LOOP_c_f): Likewise.
10313         (RUN_TEST_f_f1): Likewise.
10314         (RUN_TEST_LOOP_f_f1): Likewise.
10315         (RUN_TEST_fF_f1): Likewise.
10316         (RUN_TEST_LOOP_fF_f1): Likewise.
10317         (RUN_TEST_fI_f1): Likewise.
10318         (RUN_TEST_LOOP_fI_f1): Likewise.
10319         (RUN_TEST_ffI_f1_mod8): Likewise.
10320         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
10321         (RUN_TEST_Ff_b1): Likewise.
10322         (RUN_TEST_LOOP_Ff_b1): Likewise.
10323         (RUN_TEST_Ffp_b1): Likewise.
10324         (RUN_TEST_LOOP_Ffp_b1): Likewise.
10325         (RUN_TEST_c_c): Likewise.
10326         (RUN_TEST_LOOP_c_c): Likewise.
10327         (RUN_TEST_cc_c): Likewise.
10328         (RUN_TEST_LOOP_cc_c): Likewise.
10329         (RUN_TEST_f_i): Likewise.
10330         (RUN_TEST_LOOP_f_i): Likewise.
10331         (RUN_TEST_f_i_tg): Likewise.
10332         (RUN_TEST_LOOP_f_i_tg): Likewise.
10333         (RUN_TEST_ff_b): Likewise.
10334         (RUN_TEST_LOOP_ff_b): Likewise.
10335         (RUN_TEST_ff_i_tg): Likewise.
10336         (RUN_TEST_LOOP_ff_i_tg): Likewise.
10337         (RUN_TEST_f_b): Likewise.
10338         (RUN_TEST_LOOP_f_b): Likewise.
10339         (RUN_TEST_f_b_tg): Likewise.
10340         (RUN_TEST_LOOP_f_b_tg): Likewise.
10341         (RUN_TEST_f_l): Likewise.
10342         (RUN_TEST_LOOP_f_l): Likewise.
10343         (RUN_TEST_f_L): Likewise.
10344         (RUN_TEST_LOOP_f_L): Likewise.
10345         (RUN_TEST_fFF_11): Likewise.
10346         (RUN_TEST_LOOP_fFF_11): Likewise.
10347         (VEC_SUFF): Likewise.
10348         (STR_CONCAT): Likewise.
10349         (STR_CON3): Likewise.
10350         (HAVE_VECTOR): Likewise.
10351         (START): Likewise.
10352         (END): Likewise.
10353         (END_COMPLEX): Likewise.
10354         (ALL_RM_TEST): Likewise.
10355         (matherr): Likewise.
10356         (initialize): Likewise.
10357         (options): Likewise.
10358         (doc): Likewise.
10359         (parse_opt): Likewise.
10360         (argp): Likewise.
10361         (check_ulp): Likewise.
10362         (main): Likewise.
10363         (do_test): New function.  Call tests of individual functions
10364         previously called from main.
10366         * math/libm-test.inc: Remove comment listing functions tested and
10367         not tested.
10369 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10371         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
10372         (allocate_stack): Remove COLORING_INCREMENT usage.
10373         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
10374         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
10376 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
10378         * manual/libm-err-tab.pl (@all_functions): Change to
10379         %all_functions.  Initialize as empty.
10380         (parse_ulps): Add to %all_functions based on functions found in
10381         ulps files.  Ignore results for non-default rounding modes and
10382         vector functions.
10383         (print_platforms): Use %all_platforms.
10384         * manual/math.texi (Errors in Math Functions): Document omissions
10385         from the table.
10387         * math/Makefile (before-compile): Remove.
10389 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
10391         [BZ #21075]
10392         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
10393         unused assignment.
10394         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
10396 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10398         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
10399         Add __glibc_unlikely hint.
10401 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10403         [BZ #16640]
10404         * sysdeps/i386/i686/strtok.S: Remove file.
10405         * sysdeps/i386/i686/strtok_r.S: Likewise.
10406         * sysdeps/i386/strtok.S: Likewise.
10407         * sysdeps/i386/strtok_r.S: Likewise.
10408         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
10409         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
10410         * sysdeps/x86_64/strtok.S: Likewise.
10411         * sysdeps/x86_64/strtok_r.S: Likewise.
10413         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
10414         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
10415         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10416         (__ASSUME_FADVISE64_AS_64_64): Define.
10417         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
10418         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
10419         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
10420         __ALIGNMENT_ARG usage.
10421         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
10422         __NR_fadvise64_64 if it is not defined.
10424 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10426         * version.h (RELEASE): Set to "development"
10427         (VERSION): Set to 2.25.90.
10428         * NEWS: Add 2.26 section.
10430         * version.h (RELEASE): Set to "stable"
10431         (VERSION): Set to 2.25.
10432         * include/features.h (__GLIBC_MINOR__): Set to 25.
10434         * manual/contrib.texi: Add more contributors from this release
10435         and past releases.
10437         * NEWS (2.25): Add list of bugs fixed.
10439         * NEWS: Add missing news items.
10441 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10443         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
10444         parent if child exited in that manner.  Print WEXITSTATUS
10445         instead of the raw status.
10446         (do_test_prep): Rename to do_test.
10447         (do_test): Return the result of run_executable_sgid.
10448         (TEST_FUNCTION_ARGV): Adjust.
10450 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
10451             Florian Weimer  <fweimer@redhat.com>
10452             Carlos O'Donell  <carlos@redhat.com>
10454         [BZ #20915]
10455         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
10456         Do not initialize DTV.
10457         * nptl/allocatestack.c (init_one_static_tls): Likewise.
10459 2017-02-03  David S. Miller  <davem@davemloft.net>
10461         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
10462         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
10463         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
10464         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
10465         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
10466         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
10467         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
10468         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
10469         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
10470         (libm-sysdep_routines): Update.
10471         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
10472         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
10473         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
10474         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
10475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
10476         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
10477         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
10478         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
10479         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
10480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
10481         Likewise.
10482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
10483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
10484         Likewise.
10485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
10486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
10487         Likewise.
10488         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
10489         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
10490         Likewise.
10491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
10492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
10493         (libm-sysdep_routines): Update.
10495 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
10497         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
10498         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
10499         against unrelocated shared library.
10500         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
10502 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10504         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
10505         * elf/tst-env-setuid-tunables.c
10506         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
10507         GLIBC_TUNABLES is removed in a setgid process.
10509         [BZ #21073]
10510         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
10511         * elf/dl-tunables.c (tunables_strdup): Remove.
10512         (get_next_env): Also return the previous envp.
10513         (parse_tunables): Erase tunables of category
10514         TUNABLES_SECLEVEL_SXID_ERASE.
10515         (maybe_enable_malloc_check): Make MALLOC_CHECK_
10516         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
10517         (__tunables_init)[TUNABLES_FRONTEND ==
10518         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
10519         after parsing.
10520         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
10521         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
10522         * elf/dl-tunables.h (struct _tunable): Change member is_secure
10523         to security_level.
10524         * elf/dl-tunables.list: Add security_level annotations for all
10525         tunables.
10526         * scripts/gen-tunables.awk: Recognize and generate enum values
10527         for security_level.
10528         * elf/tst-env-setuid.c: New test case.
10529         * elf/tst-env-setuid-tunables: new test case.
10530         * elf/Makefile (tests-static): Add them.
10532 2017-02-01  Richard Henderson  <rth@twiddle.net>
10534         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
10535         adjusting the byte count.
10537 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
10539         * conform/Makefile (linknamespace-libs): Define.
10541         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
10542         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
10543         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
10544         operands.
10546 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
10548         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
10550 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
10552         [BZ #21081]
10553         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10554         (L(stosb)): Add VZEROUPPER before ret.
10556 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
10557             Alexey Makhalov <amakhalov@vmware.com>
10558             Florian Weimer <fweimer@redhat.com>
10560         [BZ #20116]
10561         * nptl/pthread_create.c: Document concurrency notes.
10562         Enhance thread creation notes.
10563         (create_thread): Use bool *stopped_start.
10564         (START_THREAD_DEFN): Comment ownership of PD.
10565         (__pthread_create_2_1): Add local bool stopped_start and use
10566         that instead of pd->stopped_start where appropriate.
10567         * nptl/createthread.c (create_thread): Use bool *stopped_start.
10568         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
10569         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
10570         * nptl/tst-create-detached.c: New file.
10571         * nptl/Makefile (tests): Add tst-create-detached.
10572         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10573         Reference the enhanced thread creation notes.
10574         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
10575         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
10576         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
10577         (__pthread_current_priority): Likewise.
10578         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
10579         xpthread_attr_init, xpthread_attr_setdetachstate, and
10580         xpthread_attr_setstacksize.
10581         * support/xpthread_attr_destroy.c: New file.
10582         * support/xpthread_attr_init.c: New file.
10583         * support/xpthread_attr_setdetachstate.c: New file.
10584         * support/xpthread_attr_setstacksize.c: New file.
10585         * support/xthread.h: Define prototypes for xpthread_attr_destroy
10586         xpthread_attr_init, xpthread_attr_setdetachstate, and
10587         xpthread_attr_setstacksize.
10589 2017-01-27  Florian Weimer  <fweimer@redhat.com>
10591         * nptl/Makefile (tests): Add tst-robust-fork.
10592         * nptl/tst-robust-fork.c: New file.
10593         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
10594         xpthread_mutex_consistent, xpthread_mutex_destroy,
10595         xpthread_mutex_init, xpthread_mutexattr_destroy,
10596         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
10597         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
10598         xpthread_mutexattr_settype.
10599         * support/xmmap.c: New file.
10600         * support/xmunmap.c: Likewise.
10601         * support/xpthread_mutex_consistent.c: Likewise.
10602         * support/xpthread_mutex_destroy.c: Likewise.
10603         * support/xpthread_mutex_init.c: Likewise.
10604         * support/xpthread_mutexattr_destroy.c: Likewise.
10605         * support/xpthread_mutexattr_init.c: Likewise.
10606         * support/xpthread_mutexattr_setprotocol.c: Likewise.
10607         * support/xpthread_mutexattr_setpshared.c: Likewise.
10608         * support/xpthread_mutexattr_setrobust.c: Likewise.
10609         * support/xpthread_mutexattr_settype.c: Likewise.
10610         * support/xthread.h (xpthread_mutexattr_destroy)
10611         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
10612         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
10613         (xpthread_mutexattr_settype, xpthread_mutex_init)
10614         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
10615         * support/xunistd.h (xmmap, xmunmap): Likewise.
10617 2017-01-25  Florian Weimer  <fweimer@redhat.com>
10619         * string/Makefile (xtests): Add comment.
10620         (LOCALES): Add en_GB.UTF-8.
10621         (tst-strcoll-overflow.out): Depend on generated locales.
10622         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
10623         (SIZE, TIMEOUT): Update comments.
10624         (do_test): Define as static.  Fail test if setlocale fails.
10625         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
10626         messages.
10627         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
10628         TIMEOUT at 300 seconds should be enough to run this test
10629         successfully.
10631 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
10633         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
10634         /* FALLTHRU */ comments.
10636 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
10638         [BZ #21053]
10639         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
10640         constants instead of the old R* ones.
10641         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
10642         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
10643         (NGREG): ... to this, to fit in with other architectures.
10644         (gpregset_t): Use new NGREG macro.
10645         [__USE_GNU]: Remove condition; all architectures other than tile
10646         are unconditional.
10647         (R*): Rename to REG_R*.
10649 2017-01-20  DJ Delorie  <dj@redhat.com>
10651         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
10652         (tunable_set_val_if_valid_range_signed) ... this, and ...
10653         (tunable_set_val_if_valid_range_unsigned) ... this.
10654         (tunable_initialize): Call the correct one of the above based on type.
10656 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
10658         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
10659         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
10660         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
10661         * sysdeps/microblaze/libm-test-ulps: Likewise.
10662         * sysdeps/sh/libm-test-ulps: Likewise.
10664         * math/README.libm-test: Update list of characters for input and
10665         output types.
10667 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10669         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10670         (__lll_unlock_elision): Fix adapt_count decrement.
10672 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
10674         * README.pretty-printers (Known issues): Warn about printers not
10675         always covering everything.
10676         * nptl/nptl-printers.py (MutexPrinter): Change output.
10677         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
10679 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10681         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
10682         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
10683         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
10684         (__lll_lock_elision): Do not test futex before starting a
10685         transaction.  Use __glibc_likely instead of __builtin_expect.
10686         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
10687         (__lll_trylock_elision): Do not test futex before starting a
10688         transaction.  Use __glibc_likely instead of __builtin_expect.
10690 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10692         * po/Makefile (update-translations): New target.
10694 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10696         [BZ #21061]
10697         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
10699 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10701         * elf/dl-tunables (get_next_env): Always advance envp.
10702         * stdlib/tst-empty-env.c: New test case.
10703         * stdlib/Makefile (tests): Use it.
10705 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
10707         [BZ #21047]
10708         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
10709         name for instruction.
10710         [!__SOFTFP__] (_FPU_SETCW): Likewise.
10712 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10714         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
10715         for make install.
10717 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10719         * po/bg.po: Merge from Translation Project.
10720         * po/fr.po: Likewise.
10721         * po/ko.po: Likewise.
10722         * po/nl.po: Likewise.
10723         * po/sv.po: Likewise.
10725 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
10727         * manual/install.texi (Tools for Compilation): Update GCC version
10728         known to work to build glibc.
10729         * INSTALL: Regenerated.
10731 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
10733         [BZ #21006]
10734         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
10736 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
10738         [BZ #21045]
10739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10740         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
10741         to __sigprocmask.
10743 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
10745         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
10746         wrap-around.
10747         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
10749         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
10751 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10753         * NEWS: Fix typo.
10755 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10757         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
10758         barriers and comments.
10759         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
10760         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
10761         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10763 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10765         [BZ #19402]
10766         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
10767         mutexes.
10769 2016-01-13  Torvald Riegel  <triegel@redhat.com>
10771         [BZ #20985]
10772         * nptl/Makefile: Adapt.
10773         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10774         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10775         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
10776         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
10777         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
10778         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
10779         lll_robust* functions and adapt.
10780         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10781         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
10782         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10783         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10784         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
10785         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10786         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
10787         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
10788         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
10789         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
10790         __lll_robust_timedlock, __lll_robust_unlock): Remove.
10791         * nptl/lowlevelrobustlock.c: Remove file.
10792         * nptl/lowlevelrobustlock.sym: Likewise.
10793         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
10794         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
10796 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10798         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10800 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10802         * po/cs.po: Merge translations from the Translation Project.
10803         * po/de.po: Likewise.
10804         * po/pl.po: Likewise.
10805         * po/ru.po: Likewise.
10806         * po/tr.po: Likewise.
10807         * po/uk.po: Likewise.
10808         * po/vi.po: Likewise.
10809         * po/zh_CN.po: Likewise.
10811 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
10813         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
10815         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
10816         object.
10818 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10820         [BZ #16458]
10821         * bits/uintn-identity.h: New file.
10822         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
10823         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
10824         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
10825         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
10826         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
10827         * string/endian.h: Include <bits/uintn-identity.h>.
10828         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
10829         __uint16_identity.
10830         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
10831         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
10832         __uint32_identity.
10833         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
10834         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
10835         __uint64_identity.
10836         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
10837         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
10838         __uint16_identity.
10839         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
10840         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
10841         __uint32_identity.
10842         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
10843         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
10844         __uint64_identity.
10845         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
10846         * string/Makefile (headers): Add bits/uintn-identity.h.
10847         (tests): Add test-endian-types.
10848         * string/test-endian-types.c: New file.
10849         * inet/Makefile (tests): Add test-hnto-types.
10850         * inet/test-hnto-types.c: New file.
10852 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10854         * po/be.po: Update from Translation Project.
10855         * po/bg.po: Likewise.
10856         * po/ca.po: Likewise.
10857         * po/cs.po: Likewise.
10858         * po/da.po: Likewise.
10859         * po/de.po: Likewise.
10860         * po/el.po: Likewise.
10861         * po/eo.po: Likewise.
10862         * po/es.po: Likewise.
10863         * po/fi.po: Likewise.
10864         * po/fr.po: Likewise.
10865         * po/gl.po: Likewise.
10866         * po/hr.po: Likewise.
10867         * po/hu.po: Likewise.
10868         * po/ia.po: Likewise.
10869         * po/id.po: Likewise.
10870         * po/it.po: Likewise.
10871         * po/ja.po: Likewise.
10872         * po/ko.po: Likewise.
10873         * po/lt.po: Likewise.
10874         * po/nb.po: Likewise.
10875         * po/nl.po: Likewise.
10876         * po/pl.po: Likewise.
10877         * po/pt_BR.po: Likewise.
10878         * po/ru.po: Likewise.
10879         * po/rw.po: Likewise.
10880         * po/sk.po: Likewise.
10881         * po/sl.po: Likewise.
10882         * po/sv.po: Likewise.
10883         * po/tr.po: Likewise.
10884         * po/uk.po: Likewise.
10885         * po/vi.po: Likewise.
10886         * po/zh_CN.po: Likewise.
10887         * po/zh_TW.po: Likewise.
10889 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10891         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10892         -Wformat-truncation instead of -Wformat-length.
10893         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10894         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10895         GCC 7.
10896         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10897         (do_test): Ignore -Wformat-truncation for GCC 7.
10899         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10900         buffer used to print long int value.
10902         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10903         one byte.  Print it with %ld, cast to long int.
10905 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10907         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10908         (re.fullmatch, subprocess.run): Likewise.
10910 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10912         * po/libc.pot: Regenerate.
10914 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10916         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10917         (min_strlen): Likewise.
10918         (disable_tunable): Likewise.
10919         (maybe_disable_malloc_check): Rename to
10920         maybe_enable_malloc_check.
10921         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10922         if /etc/suid-debug file exists.
10923         (__tunables_init): Update caller.
10924         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10925         secure.
10927 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10929         * nptl/DESIGN-rwlock.txt: Remove.
10930         * nptl/lowlevelrwlock.sym: Remove.
10931         * nptl/Makefile: Add new tests.
10932         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10933         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10934         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10935         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10936         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10937         PTHREAD_RWLOCK_FUTEX_USED): New.
10938         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10939         implementation.
10940         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10941         (__pthread_rwlock_rdlock): Adapt.
10942         * nptl/pthread_rwlock_timedrdlock.c
10943         (pthread_rwlock_timedrdlock): Adapt.
10944         * nptl/pthread_rwlock_timedwrlock.c
10945         (pthread_rwlock_timedwrlock): Adapt.
10946         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10947         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10948         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10949         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10950         (__pthread_rwlock_wrlock): Adapt.
10951         * nptl/tst-rwlock10.c: Adapt.
10952         * nptl/tst-rwlock11.c: Adapt.
10953         * nptl/tst-rwlock17.c: New file.
10954         * nptl/tst-rwlock18.c: New file.
10955         * nptl/tst-rwlock19.c: New file.
10956         * nptl/tst-rwlock2b.c: New file.
10957         * nptl/tst-rwlock8.c: Adapt.
10958         * nptl/tst-rwlock9.c: Adapt.
10959         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10960         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10961         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10962         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10963         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10964         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10965         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10966         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10967         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10968         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10969         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10970         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10971         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10972         (pthread_rwlock_t): Adapt.
10973         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10974         (pthread_rwlock_t): Adapt.
10975         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10976         * nptl/nptl-printers.py (): Adapt.
10977         * nptl/nptl_lock_constants.pysym: Adapt.
10978         * nptl/test-rwlock-printers.py: Adapt.
10979         * nptl/test-rwlockattr-printers.c: Adapt.
10980         * nptl/test-rwlockattr-printers.py: Adapt.
10982 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10984         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10985         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10986         (fma_test_data): Likewise.
10987         (hypot_test_data): Likewise.
10988         (log1p_test_data): Likewise.
10989         (modf_test_data): Likewise.
10990         (pow_test_data): Likewise.
10991         (remainder_test_data): Likewise.
10992         (remquo_test_data): Likewise.
10993         (scalb_test_data): Likewise.
10994         (scalbn_test_data): Likewise.
10995         (scalbln_test_data): Likewise.
10996         * math/gen-libm-test.pl (parse_args): Transform
10997         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10998         on the rounding mode.
11000 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
11002         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
11003         xfail-rounding:ibm128-libgcc automatically to tests overflowing
11004         and those that can underflow to zero.
11005         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
11006         add others.
11007         * math/auto-libm-test-out: Regenerated.
11009         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
11010         supported.
11011         (feholdexcept_tests): Skip tests requiring exceptions or rounding
11012         modes support if not supported.
11014         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
11015         Add libc.so PLT entry.
11016         (__tls_get_addr): Make ld.so PLT entry optional.
11018 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11020         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
11021         * string/bits/string3.h: ... here.
11023 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
11025         [BZ #21028]
11026         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
11027         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
11028         if EXCEPTION_TESTS returns false.
11030 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11032         [BZ #20558]
11033         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
11034         strings_fortified.h.
11035         [__USE_MISC] (bzero): Likewise.
11036         [__USE_MISC] (explicit_bzero): Likewise.
11037         * string/strings.h: Include strings_fortified.h.
11038         * string/Makefile (headers): Add strings_fortified.h.
11039         * string/bits/strings_fortified.h: New file.
11040         * include/bits/strings_fortified.h: Likewise.
11042 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
11044         * elf/tst-tls13.c (TIMEOUT): Remove.
11045         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
11046         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
11047         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
11048         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
11049         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
11051         [BZ #21026]
11052         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
11053         (readahead): New syscall entry.
11055 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11057         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
11058         around tests of strncat with large sizes.
11060         * malloc/tst-malloc.c: Include <libc-internal.h>.
11061         (do_test): Disable -Walloc-size-larger-than= around tests of
11062         malloc with negative sizes.
11063         * malloc/tst-mcheck.c: Include <libc-internal.h>.
11064         (do_test): Disable -Walloc-size-larger-than= around tests of
11065         malloc and realloc with negative sizes.
11066         * malloc/tst-realloc.c: Include <libc-internal.h>.
11067         (do_test): Disable -Walloc-size-larger-than= around tests of
11068         realloc with negative sizes.
11070         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
11071         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
11072         allowed to 16 ulps.
11073         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
11074         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
11075         * math/auto-libm-test-out: Regenerated.
11077 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11079         * math/Makefile (libm-calls): Move wrappers...
11080         (libm-compat-call-auto): Here.
11081         (libm-routines): Add items in libm-compat-calls-auto.
11082         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
11083         the filenames of the wrappers that have been renamed.
11084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
11085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
11087         * math/w_acos.c: Add _compat suffix to filename.
11088         * math/w_acosf.c: Likewise.
11089         * math/w_acosh.c: Likewise.
11090         * math/w_acoshf.c: Likewise.
11091         * math/w_acoshl.c: Likewise.
11092         * math/w_acosl.c: Likewise.
11093         * math/w_asin.c: Likewise.
11094         * math/w_asinf.c: Likewise.
11095         * math/w_asinl.c: Likewise.
11096         * math/w_atan2.c: Likewise.
11097         * math/w_atan2f.c: Likewise.
11098         * math/w_atan2l.c: Likewise.
11099         * math/w_atanh.c: Likewise.
11100         * math/w_atanhf.c: Likewise.
11101         * math/w_atanhl.c: Likewise.
11102         * math/w_cosh.c: Likewise.
11103         * math/w_coshf.c: Likewise.
11104         * math/w_coshl.c: Likewise.
11105         * math/w_exp10.c: Likewise.
11106         * math/w_exp10f.c: Likewise.
11107         * math/w_exp10l.c: Likewise.
11108         * math/w_exp2.c: Likewise.
11109         * math/w_exp2f.c: Likewise.
11110         * math/w_exp2l.c: Likewise.
11111         * math/w_fmod.c: Likewise.
11112         * math/w_fmodf.c: Likewise.
11113         * math/w_fmodl.c: Likewise.
11114         * math/w_hypot.c: Likewise.
11115         * math/w_hypotf.c: Likewise.
11116         * math/w_hypotl.c: Likewise.
11117         * math/w_j0.c: Likewise.
11118         * math/w_j0f.c: Likewise.
11119         * math/w_j0l.c: Likewise.
11120         * math/w_j1.c: Likewise.
11121         * math/w_j1f.c: Likewise.
11122         * math/w_j1l.c: Likewise.
11123         * math/w_jn.c: Likewise.
11124         * math/w_jnf.c: Likewise.
11125         * math/w_jnl.c: Likewise.
11126         * math/w_log10.c: Likewise.
11127         * math/w_log10f.c: Likewise.
11128         * math/w_log10l.c: Likewise.
11129         * math/w_log2.c: Likewise.
11130         * math/w_log2f.c: Likewise.
11131         * math/w_log2l.c: Likewise.
11132         * math/w_log.c: Likewise.
11133         * math/w_logf.c: Likewise.
11134         * math/w_logl.c: Likewise.
11135         * math/w_pow.c: Likewise.
11136         * math/w_powf.c: Likewise.
11137         * math/w_powl.c: Likewise.
11138         * math/w_remainder.c: Likewise.
11139         * math/w_remainderf.c: Likewise.
11140         * math/w_remainderl.c: Likewise.
11141         * math/w_scalb.c: Likewise.
11142         * math/w_scalbf.c: Likewise.
11143         * math/w_scalbl.c: Likewise.
11144         * math/w_sinh.c: Likewise.
11145         * math/w_sinhf.c: Likewise.
11146         * math/w_sinhl.c: Likewise.
11147         * math/w_sqrt.c: Likewise.
11148         * math/w_sqrtf.c: Likewise.
11149         * math/w_sqrtl.c: Likewise.
11150         * math/w_tgamma.c: Likewise.
11151         * math/w_tgammaf.c: Likewise.
11152         * math/w_tgammal.c: Likewise.
11154         * math/w_acos_compat.c: New file copied from above and
11155         adjusted for new #includes path
11156         * math/w_acosf_compat.c: Likewise.
11157         * math/w_acosh_compat.c: Likewise.
11158         * math/w_acoshf_compat.c: Likewise.
11159         * math/w_acoshl_compat.c: Likewise.
11160         * math/w_acosl_compat.c: Likewise.
11161         * math/w_asin_compat.c: Likewise.
11162         * math/w_asinf_compat.c: Likewise.
11163         * math/w_asinl_compat.c: Likewise.
11164         * math/w_atan2_compat.c: Likewise.
11165         * math/w_atan2f_compat.c: Likewise.
11166         * math/w_atan2l_compat.c: Likewise.
11167         * math/w_atanh_compat.c: Likewise.
11168         * math/w_atanhf_compat.c: Likewise.
11169         * math/w_atanhl_compat.c: Likewise.
11170         * math/w_cosh_compat.c: Likewise.
11171         * math/w_coshf_compat.c: Likewise.
11172         * math/w_coshl_compat.c: Likewise.
11173         * math/w_exp10_compat.c: Likewise.
11174         * math/w_exp10f_compat.c: Likewise.
11175         * math/w_exp10l_compat.c: Likewise.
11176         * math/w_exp2_compat.c: Likewise.
11177         * math/w_exp2f_compat.c: Likewise.
11178         * math/w_exp2l_compat.c: Likewise.
11179         * math/w_fmod_compat.c: Likewise.
11180         * math/w_fmodf_compat.c: Likewise.
11181         * math/w_fmodl_compat.c: Likewise.
11182         * math/w_hypot_compat.c: Likewise.
11183         * math/w_hypotf_compat.c: Likewise.
11184         * math/w_hypotl_compat.c: Likewise.
11185         * math/w_j0_compat.c: Likewise.
11186         * math/w_j0f_compat.c: Likewise.
11187         * math/w_j0l_compat.c: Likewise.
11188         * math/w_j1_compat.c: Likewise.
11189         * math/w_j1f_compat.c: Likewise.
11190         * math/w_j1l_compat.c: Likewise.
11191         * math/w_jn_compat.c: Likewise.
11192         * math/w_jnf_compat.c: Likewise.
11193         * math/w_jnl_compat.c: Likewise.
11194         * math/w_log10_compat.c: Likewise.
11195         * math/w_log10f_compat.c: Likewise.
11196         * math/w_log10l_compat.c: Likewise.
11197         * math/w_log2_compat.c: Likewise.
11198         * math/w_log2f_compat.c: Likewise.
11199         * math/w_log2l_compat.c: Likewise.
11200         * math/w_log_compat.c: Likewise.
11201         * math/w_logf_compat.c: Likewise.
11202         * math/w_logl_compat.c: Likewise.
11203         * math/w_pow_compat.c: Likewise.
11204         * math/w_powf_compat.c: Likewise.
11205         * math/w_powl_compat.c: Likewise.
11206         * math/w_remainder_compat.c: Likewise.
11207         * math/w_remainderf_compat.c: Likewise.
11208         * math/w_remainderl_compat.c: Likewise.
11209         * math/w_scalb_compat.c: Likewise.
11210         * math/w_scalbf_compat.c: Likewise.
11211         * math/w_scalbl_compat.c: Likewise.
11212         * math/w_sinh_compat.c: Likewise.
11213         * math/w_sinhf_compat.c: Likewise.
11214         * math/w_sinhl_compat.c: Likewise.
11215         * math/w_sqrt_compat.c: Likewise.
11216         * math/w_sqrtf_compat.c: Likewise.
11217         * math/w_sqrtl_compat.c: Likewise.
11218         * math/w_tgamma_compat.c: Likewise.
11219         * math/w_tgammaf_compat.c: Likewise.
11220         * math/w_tgammal_compat.c: Likewise.
11222         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
11223         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
11224         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
11225         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
11226         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
11227         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
11228         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
11229         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
11230         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
11231         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
11232         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
11233         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
11234         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
11235         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
11236         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
11237         * sysdeps/ia64/fpu/w_powl.c: Likewise.
11238         * sysdeps/ia64/fpu/w_powf.c: Likewise.
11239         * sysdeps/ia64/fpu/w_pow.c: Likewise.
11240         * sysdeps/ia64/fpu/w_logl.c: Likewise.
11241         * sysdeps/ia64/fpu/w_logf.c: Likewise.
11242         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
11243         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
11244         * sysdeps/ia64/fpu/w_log2.c: Likewise.
11245         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
11246         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
11247         * sysdeps/ia64/fpu/w_log10.c: Likewise.
11248         * sysdeps/ia64/fpu/w_log.c: Likewise.
11249         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
11250         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
11251         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
11252         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
11253         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
11254         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
11255         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
11256         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
11257         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
11258         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
11259         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
11260         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
11261         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
11262         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
11263         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
11264         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
11265         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
11266         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
11267         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
11268         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
11269         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
11270         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
11271         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
11272         * sysdeps/ia64/fpu/w_asin.c: Likewise.
11273         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
11274         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
11275         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
11276         * sysdeps/ia64/fpu/w_acos.c: Likewise.
11277         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
11278         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
11279         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
11280         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
11281         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
11282         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
11283         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
11284         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
11285         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
11286         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
11287         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
11288         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
11289         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
11290         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
11291         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
11292         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
11293         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
11294         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
11295         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
11296         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
11297         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
11298         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
11299         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
11300         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
11301         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
11302         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
11303         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
11304         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
11305         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
11306         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
11307         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
11308         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
11309         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
11310         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
11311         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
11312         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
11313         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
11314         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
11315         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
11316         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
11317         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
11318         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
11319         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
11320         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
11321         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
11322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
11323         Likewise.
11324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
11325         Likewise.
11326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
11327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
11328         Likewise.
11329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
11330         Likewise.
11331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
11332         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
11333         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
11334         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
11335         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
11336         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
11337         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
11338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
11339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
11340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
11341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
11342         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
11343         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
11344         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
11345         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
11347         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
11348         and adjusted for new #includes path
11349         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
11350         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
11351         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
11352         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
11353         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
11354         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
11355         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
11356         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
11357         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
11358         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
11359         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
11360         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
11361         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
11362         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
11363         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
11364         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
11365         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
11366         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
11367         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
11368         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
11369         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
11370         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
11371         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
11372         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
11373         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
11374         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
11375         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
11376         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
11377         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
11378         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
11379         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
11380         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
11381         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
11382         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
11383         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
11384         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
11385         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
11386         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
11387         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
11388         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
11389         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
11390         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
11391         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
11392         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
11393         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
11394         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
11395         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
11396         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
11397         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
11398         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
11399         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
11400         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
11401         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
11402         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
11403         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
11404         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
11405         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
11406         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
11407         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
11408         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
11409         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
11410         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
11411         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
11412         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
11413         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
11414         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
11415         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
11416         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
11417         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
11418         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
11419         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
11420         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
11421         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
11422         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
11423         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
11424         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
11425         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
11426         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
11427         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
11428         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
11429         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
11430         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
11431         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
11432         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
11433         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
11434         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
11435         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
11436         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
11437         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
11438         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
11439         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
11440         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
11441         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
11442         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
11443         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
11444         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
11445         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
11446         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
11447         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
11448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
11449         Likewise.
11450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
11451         Likewise.
11452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
11453         Likewise.
11454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
11455         Likewise.
11456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
11457         Likewise.
11458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
11459         Likewise.
11460         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
11461         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
11462         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
11463         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
11464         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
11465         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
11466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
11467         Likewise.
11468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
11469         Likewise.
11470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
11471         Likewise.
11472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
11473         Likewise.
11474         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
11475         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
11476         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
11477         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
11479 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
11481         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
11482         __jmp_buf_internal_tag.
11484         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
11485         preserve NaN payload if [__mips_nan2008].
11486         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
11488         [BZ #21022]
11489         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
11491 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11493         * sysdeps/i386/fpu/libm-test-ulps: Update.
11495 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11497         * sysdeps/ia64/strcat.c: Remove file.
11498         * sysdeps/powerpc/strcat.c: Likewise.
11499         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
11500         C implementation.
11501         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
11502         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
11504 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11505             Steven Munroe  <sjmunroe@us.ibm.com>
11506             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11508         [BZ #20822]
11509         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
11510         (__lll_lock_elision): Access adapt_count via C11 atomics.
11511         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11512         (__lll_trylock_elision): Likewise.
11513         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
11514         (__lll_unlock_elision):  Update adapt_count variable inside the
11515         critical section using C11 atomics.
11517 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11519         * math/test-fenvinline.c (do_test): Disable tests of raised
11520         exceptions if !EXCEPTION_TESTS (FLOAT).
11522 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11524         [BZ #19390]
11525         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
11526         maximum string size.
11527         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
11528         in pointer addition.
11529         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
11530         Likewise.
11532 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
11534         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
11535         passed to tst-ldconfig-X.sh.
11537 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
11539         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
11541 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11543         [BZ #21019]
11544         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
11545         New syscall entry.
11546         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
11547         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
11548         lseek.
11550         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
11551         power4 glibc for powerpc-linux-gnu.
11553 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11555         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
11556         semctl.
11558 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11560         * math/test-nearbyint-except.c: Include <stdbool.h>.
11561         (any_supported): New variable.
11562         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
11563         set any_supported.
11564         (do_test): Return 77 if no floating-point type supported
11565         exceptions.
11567         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
11568         condition on [__mips_hard_float].
11570 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11572         [BZ #21014]
11573         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
11574         in pointer addition.
11575         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
11577 2017-01-02  Torvald Riegel  <triegel@redhat.com>
11579         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
11580         new condvar.
11582 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
11584         * scripts/build-many-glibcs.py (Context.checkout): Default
11585         binutils version to 2.28 branch.
11587 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11589         * support/support_format_netent.c (support_format_netent): Work
11590         around alpha struct netent definition difference.
11592 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11594         * support/xwrite.c (xwrite): Use %td for pointer difference.
11596 2017-01-01  Florian Weimer  <fweimer@redhat.com>
11598         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
11599         have-tunables only.
11600         (tests-static): Add tst-malloc-usable-static-tunables for
11601         have-tunables only.
11603 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
11605         * scripts/config.guess: Update to version 2017-01-01.
11606         * scripts/config.sub: Update to version 2017-01-01.
11608         * NEWS: Update copyright dates.
11609         * catgets/gencat.c (print_version): Likewise.
11610         * csu/version.c (banner): Likewise.
11611         * debug/catchsegv.sh: Likewise.
11612         * debug/pcprofiledump.c (print_version): Likewise.
11613         * debug/xtrace.sh (do_version): Likewise.
11614         * elf/ldconfig.c (print_version): Likewise.
11615         * elf/ldd.bash.in: Likewise.
11616         * elf/pldd.c (print_version): Likewise.
11617         * elf/sotruss.sh: Likewise.
11618         * elf/sprof.c (print_version): Likewise.
11619         * iconv/iconv_prog.c (print_version): Likewise.
11620         * iconv/iconvconfig.c (print_version): Likewise.
11621         * locale/programs/locale.c (print_version): Likewise.
11622         * locale/programs/localedef.c (print_version): Likewise.
11623         * login/programs/pt_chown.c (print_version): Likewise.
11624         * malloc/memusage.sh (do_version): Likewise.
11625         * malloc/memusagestat.c (print_version): Likewise.
11626         * malloc/mtrace.pl: Likewise.
11627         * manual/libc.texinfo: Likewise.
11628         * nptl/version.c (banner): Likewise.
11629         * nscd/nscd.c (print_version): Likewise.
11630         * nss/getent.c (print_version): Likewise.
11631         * nss/makedb.c (print_version): Likewise.
11632         * posix/getconf.c (main): Likewise.
11633         * scripts/test-installation.pl: Likewise.
11634         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
11636         * All files with FSF copyright notices: Update copyright dates
11637         using scripts/update-copyrights.
11638         * intl/plural.c: Regenerated.
11639         * locale/programs/charmap-kw.h: Likewise.
11640         * locale/programs/locfile-kw.h: Likewise.
11642 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11644         [BZ #20593]
11645         Update DNS RR type definitions.
11646         * scripts/gen-rrtypes.py: New file.
11647         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
11648         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
11649         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
11650         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
11651         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
11652         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
11653         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
11654         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
11655         ns_t_ta, ns_t_dlv.
11656         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
11657         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
11658         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
11659         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
11660         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
11661         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
11662         Define.
11663         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
11664         entry for ns_t_zxfr.
11666 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11668         [BZ #18784]
11669         CVE-2015-5180
11670         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
11671         T_UNSPEC.  Adjust value.
11672         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
11673         * resolv/res_query.c (__libc_res_nquery): Likewise.
11674         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
11675         QTYPEs.
11676         * resolv/tst-resolv-qtypes.c: New file.
11677         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
11678         (tst-resolv-qtypes): Link against libresolv and libpthread.
11680 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11682         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
11684 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11686         * manual/tunables.texi: New chapter.
11687         * manual/Makefile (chapters): Add it.
11688         * manual/probes.texi (@node): Point to the Tunables chapter.
11690         * Makeconfig (have-tunables): Check for non-negative instead
11691         of positive.
11692         * configure.ac: Add 'valstring' as a valid value for
11693         --enable-tunables.
11694         * configure: Regenerate.
11695         * elf/Makefile (have-tunables): Check for non-negative instead
11696         of positive.
11697         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
11698         dl-tunables.c.
11699         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
11700         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11701         (tunables_strdup): Likewise.
11702         (disable_tunables): Likewise.
11703         (parse_tunables): Likewise.
11704         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
11705         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
11706         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
11707         (TUNABLES_FRONTEND_yes): New macro, define as
11708         TUNABLES_FRONTEND_valstring by default.
11709         * manual/install.texi: Document new acceptable values for
11710         --enable-tunables.
11711         * INSTALL: Regenerate.
11713         * config.make.in (have-loop-to-function): Define.
11714         * elf/Makefile (CFLAGS-dl-tunables.c): Add
11715         -fno-tree-loop-distribute-patterns.
11716         * elf/dl-tunables.c: Include libc-internals.h.
11717         (GLIBC_TUNABLES): New macro.
11718         (tunables_strdup): New function.
11719         (parse_tunables): New function.
11720         (min_strlen): New function.
11721         (__tunables_init): Use the new functions and macro.
11722         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
11723         * malloc/tst-malloc-usable-tunables.c: New test case.
11724         * malloc/tst-malloc-usable-static-tunables.c: New test case.
11725         * malloc/Makefile (tests, tests-static): Add tests.
11727         * manual/install.texi: Add --enable-tunables option.
11728         * INSTALL: Regenerate.
11729         * README.tunables: New file.
11730         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
11731         (before-compile): Generate dl-tunable-list.h early.
11732         * config.h.in: Add HAVE_TUNABLES.
11733         * config.make.in: Add have-tunables.
11734         * configure.ac: Add --enable-tunables option.
11735         * configure: Regenerate.
11736         * csu/init-first.c (__libc_init_first): Move
11737         __libc_init_secure earlier...
11738         * csu/init-first.c (LIBC_START_MAIN):... to here.
11739         Include dl-tunables.h, libc-internal.h.
11740         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
11741         binaries.
11742         * elf/Makefile (dl-routines): Add dl-tunables.
11743         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
11744         namespace.
11745         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
11746         only when !HAVE_TUNABLES.
11747         * elf/rtld.c (process_envvars): Likewise.
11748         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
11749         (_dl_sysdep_start): Call __tunables_init.
11750         * elf/dl-tunable-types.h: New file.
11751         * elf/dl-tunables.c: New file.
11752         * elf/dl-tunables.h: New file.
11753         * elf/dl-tunables.list: New file.
11754         * malloc/tst-malloc-usable-static.c: New test case.
11755         * malloc/Makefile (tests-static): Add it.
11756         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
11757         Define TUNABLE_NAMESPACE.
11758         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
11759         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
11760         callback functions.
11761         (ptmalloc_init): Set tunable values.
11762         * scripts/gen-tunables.awk: New file.
11763         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
11764         (_dl_sysdep_start): Call __tunables_init.
11766 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11768         * resolv/resolv.h (RES_BLAST): Deprecate.
11769         * resolv/res_debug.c (p_option): Remove RES_BLAST.
11770         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
11771         to RES_BLAST.
11773 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11775         [BZ #19582]
11776         Deprecate RES_USE_INET6.
11777         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
11778         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
11779         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
11780         RES_USE_INET6.
11781         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
11782         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
11783         (_nss_nisplus_gethostbyaddr_r): Likewise.
11784         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
11785         of res_use_inet6.
11786         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
11787         instead of RES_USE_INET6.
11788         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
11789         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
11790         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
11791         Likewise.
11792         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
11793         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
11794         Likewise.
11795         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
11796         (_nss_dns_gethostbyname_r): Likewise.
11797         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
11798         alternate RES_USE_INET6 handling.
11799         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
11800         instead of RES_USE_INET6.
11801         * resolv/res_init.c (res_setoptions): Likewise.
11802         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
11803         * resolv/resolv-internal.h: New file.
11804         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
11805         make the deprecation warning non-fatal.
11806         * resolv/README (Using the resolver in multi-threaded code): Drop
11807         reference to RES_USE_INET6.
11808         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
11809         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
11811 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11813         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
11814         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
11815         tst-resolv-search.
11816         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
11817         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
11818         with libresolv and libpthread.
11819         * resolv/tst-bug18665.c: New file.
11820         * resolv/tst-bug18665-tcp: Likewise.
11821         * resolv/tst-res_use_inet6: Likewise.
11822         * resolv/tst-resolv-basic: Likewise.
11823         * resolv/tst-resolv-network: Likewise.
11824         * resolv/tst-resolv-search: Likewise.
11825         * support/Makefile (libsupport-routines): Add check_addrinfo,
11826         check_dns_packet, check_hostent, check_netent, resolv_test,
11827         support_format_address_family, support_format_addrinfo,
11828         support_format_dns_packet, support_format_herrno,
11829         support_format_hostent, support_format_netent, support_run_diff,
11830         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
11831         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
11832         xstrdup, xwrite.
11833         * support/check_addrinfo.c: New file.
11834         * support/check_dns_packet.c: Likewise.
11835         * support/check_hostent.c: Likewise.
11836         * support/check_netent.c: Likewise.
11837         * support/check_nss.h: Likewise.
11838         * support/format_nss.h: Likewise.
11839         * support/resolv_test.c: Likewise.
11840         * support/resolv_test.h: Likewise.
11841         * support/run_diff.h: Likewise.
11842         * support/support_format_address_family.c: Likewise.
11843         * support/support_format_addrinfo.c: Likewise.
11844         * support/support_format_dns_packet.c: Likewise.
11845         * support/support_format_herrno.c: Likewise.
11846         * support/support_format_hostent.c: Likewise.
11847         * support/support_format_netent.c: Likewise.
11848         * support/support_run_diff.c: Likewise.
11849         * support/xaccept.c: Likewise.
11850         * support/xbind.c: Likewise.
11851         * support/xconnect.c: Likewise.
11852         * support/xfclose.c: Likewise.
11853         * support/xfopen.c: Likewise.
11854         * support/xgetsockname.c: Likewise.
11855         * support/xlisten.c: Likewise.
11856         * support/xmemstream.c: Likewise.
11857         * support/xmemstream.h: Likewise.
11858         * support/xpoll.c: Likewise.
11859         * support/xpthread_once.c: Likewise.
11860         * support/xrecvfrom.c: Likewise.
11861         * support/xsendto.c: Likewise.
11862         * support/xsetsockopt.c: Likewise.
11863         * support/xstdio.h: Likewise.
11864         * support/xstrdup.c: Likewise.
11865         * support/support.h (xstrdup): Declare.
11866         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11867         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11868         * support/xthread.h (xpthread_once): Likwise.
11869         * support/xunistd.h (xwrite): Declare.
11871 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11873         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11874         (test_verbose): Declare.
11875         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11876         * support/support_test_main.c (default_options): Likewise.
11877         (usage, support_test_main): Handle 'v'.
11878         (test_verbose): Define.
11879         * support/tst-support_record_failure.c (do_test): Use
11880         test_verbose.
11881         * support/tst-support_record_failure-2.sh (different_status): Add
11882         --verbose test.
11884 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11886         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11887         test failures are recorded.
11888         * support/check.c (support_print_failure_impl): Call
11889         support_record_failure.
11890         (support_exit_failure_impl): Call support_record_failure if status
11891         indicates failure.
11892         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11893         * support/xasprintf.c (xasprintf): Likewise.
11894         * support/xfork.c (xfork): Likewise.
11895         * support/xpthread_check_return.c (xpthread_check_return):
11896         Likewise.
11897         * support/xsocket.c (xsocket): Likeweise.
11898         * support/xwaitpid.c (xwaitpid): Likewise.
11899         * support/support_record_failure.c (struct test_failures): Adjust
11900         to coding style.
11901         * support/support_test_verify_impl.c (support_test_verify_impl):
11902         Adjust error messages.
11903         * support/tst-support_record_failure-2.sh (different_status):
11904         Adjust error messages.
11906 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11908         * support/namespace.h: New file.
11909         * support/support_become_root.c: Likewise.
11910         * support/support_enter_network_namespace.c: Likewise.
11911         * support/tst-support-namespace.c: Likewise.
11912         * support/xsocket.c: Likewise.
11913         * support/xsocket.h: Likewise.
11914         * support/Makefile (libsupport-routines): Add support_become_root,
11915         support_enter_network_namespace, xsocket.
11916         (tests): Add tst-support-namespace.
11918 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11920         [BZ #17252]
11921         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11922         __USE_GNU.
11924 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11926         [BZ #13165]
11927         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11928         use new algorithm.
11929         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11930         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11931         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11932         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11933         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11934         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11935         __condvar_cleanup_waiting, __condvar_dec_grefs,
11936         __pthread_cond_wait_common): New.
11937         (__condvar_cleanup): Remove.
11938         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11939         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11940         Likewise.
11941         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11942         Likewise.
11943         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11944         * nptl/tst-cond1.c: Add comment.
11945         * nptl/tst-cond20.c (do_test): Adapt.
11946         * nptl/tst-cond22.c (do_test): Likewise.
11947         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11948         structure.
11949         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11950         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11951         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11952         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11953         Likewise.
11954         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11955         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11956         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11957         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11958         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11959         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11960         Likewise.
11961         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11962         Likewise.
11963         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11964         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11965         (COND_CLOCK_BITS): Adapt.
11966         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11967         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11968         __PTHREAD_COND_SHARED_MASK): New.
11969         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11970         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11971         * nptl/nptl_lock_constants.pysym: Adapt.
11972         * nptl/test-cond-printers.py: Adapt.
11973         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11974         cond_compat_check_and_clear): Adapt.
11975         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11976         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11977         (__pthread_cond_timedwait): ... and move here.
11978         * nptl/DESIGN-condvar.txt: Remove file.
11979         * nptl/lowlevelcond.sym: Likewise.
11980         * nptl/pthread_cond_timedwait.c: Likewise.
11981         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11982         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11984         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11985         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11986         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11987         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11988         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11989         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11990         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11991         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11992         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11993         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11994         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11995         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11996         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11998 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
12000         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12001         (fromfp): New declaration.
12002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
12003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
12004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
12005         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
12006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
12007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
12008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
12009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
12010         * math/math.h: Include <bits/types.h>.
12011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
12012         constant and macro.
12013         (FP_INT_DOWNWARD): Likewise.
12014         (FP_INT_TOWARDZERO): Likewise.
12015         (FP_INT_TONEARESTFROMZERO): Likewise.
12016         (FP_INT_TONEAREST): Likewise.
12017         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
12018         (fromfpf): Likewise.
12019         (fromfpl): Likewise.
12020         (ufromfp): Likewise.
12021         (ufromfpf): Likewise.
12022         (ufromfpl): Likewise.
12023         (fromfpx): Likewise.
12024         (fromfpxf): Likewise.
12025         (fromfpxl): Likewise.
12026         (ufromfpx): Likewise.
12027         (ufromfpxf): Likewise.
12028         (ufromfpxl): Likewise.
12029         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
12030         s_fromfpxF and s_ufromfpxF.
12031         * math/gen-fromfp-tests.py: New file.
12032         * math/gen-fromfp-tests-inputs: Likewise.
12033         * math/libm-test.inc: Include <stdint.h>
12034         (check_intmax_t): New function.
12035         (check_uintmax_t): Likewise.
12036         (struct test_fiu_M_data): New type.
12037         (struct test_fiu_U_data): Likewise.
12038         (RUN_TEST_fiu_M): New macro.
12039         (RUN_TEST_LOOP_fiu_M): Likewise.
12040         (RUN_TEST_fiu_U): Likewise.
12041         (RUN_TEST_LOOP_fiu_U): Likewise.
12042         (fromfp_test_data): New array.
12043         (fromfp_test): New function.
12044         (fromfpx_test_data): New array.
12045         (fromfpx_test): New function.
12046         (ufromfp_test_data): New array.
12047         (ufromfp_test): New function.
12048         (ufromfpx_test_data): New array.
12049         (ufromfpx_test): New function.
12050         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
12051         ufromfpx_test.
12052         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
12053         characters.
12054         * math/test-tgmath-ret.c: Include <stdint.h>.
12055         (rm): New variable.
12056         (width): Likewise.
12057         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
12058         called function.
12059         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
12060         CHECK_RET_CONST_TYPE.
12061         (CHECK_RET_CONST_DOUBLE): Likewise.
12062         (CHECK_RET_CONST_LDOUBLE): Likewise.
12063         (CHECK_RET_CONST): Take extra arguments and pass them to calls
12064         macros.
12065         (fromfp): New CHECK_RET_CONST call.
12066         (ufromfp): Likewise.
12067         (fromfpx): Likewise.
12068         (ufromfpx): Likewise.
12069         (do_test): Call check_return_fromfp, check_return_ufromfp,
12070         check_return_fromfpx and check_return_ufromfpx.
12071         * math/test-tgmath.c: Include <stdint.h>
12072         (NCALLS): Increase to 138.
12073         (F(compile_test)): Initialize i.  Call fromfp functions.
12074         (F(fromfp)): New function.
12075         (F(fromfpx)): Likewise.
12076         (F(ufromfp)): Likewise.
12077         (F(ufromfpx)): Likewise.
12078         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
12079         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
12080         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
12081         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
12082         ufromfpxl.
12083         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
12084         ufromfp and ufromfpx.
12085         * math/fromfp.h: New file.
12086         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
12087         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
12088         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
12089         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
12090         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
12091         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
12092         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
12093         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
12094         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
12095         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
12096         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
12097         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
12098         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
12099         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
12100         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
12101         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
12102         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
12103         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
12104         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
12105         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
12106         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
12107         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
12108         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
12109         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
12110         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
12111         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
12112         ufromfp, fromfpx and ufromfpx.
12113         (CFLAGS-nldbl-fromfp.c): New variable.
12114         (CFLAGS-nldbl-fromfpx.c): Likewise.
12115         (CFLAGS-nldbl-ufromfp.c): Likewise.
12116         (CFLAGS-nldbl-ufromfpx.c): Likewise.
12117         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
12118         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
12119         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
12120         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
12121         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
12122         * sysdeps/nacl/libm.abilist: Update.
12123         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12124         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12125         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12126         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12127         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12128         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12129         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12130         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12134         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12140         Likewise.
12141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12142         Likewise.
12143         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12147         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12149         Likewise.
12150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12151         Likewise.
12152         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12153         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12154         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12156 2016-12-30  Florian Weimer  <fweimer@redhat.com>
12158         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
12159         compat-gethnamaddr.
12160         (CPPFLAGS): Remove.
12161         * resolv/gethnamaddr.c: Rename ...
12162         * resolv/compat-gethnamaddr.c: ... to this file.
12163         (_endhtent): Make static.
12164         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
12165         symbol.
12166         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
12167         compat symbol.
12168         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
12169         symbol.
12170         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
12171         Turn into compat symbol.
12172         * include/resolv.h (_endhtent): Remove declaration.
12174 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
12176         * bits/types.h (__intmax_t): New typedef.
12177         (__uintmax_t): Likewise.
12178         * sysdeps/generic/stdint.h: Include <bits/types.h>.
12179         (intmax_t): Define using __intmax_t.
12180         (uintmax_t): Define using __uintmax_t.
12182         * support/Makefile (tests-special): Make definition conditional on
12183         [$(run-built-tests) = yes].
12184         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
12185         on [$(run-built-tests) = yes].
12187 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12189         * Rules (tests): Add tests-printers-programs to tests to be
12190         built.
12192 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12194         * sysvipc/Makefile (tests): Add test-sysvshm.
12195         * sysvipc/test-sysvshm.c: New file.
12197         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
12198         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
12199         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
12200         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
12201         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
12202         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
12203         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
12204         Likewise.
12205         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
12206         Likewise.
12207         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
12208         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
12209         is defined.
12211         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
12212         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
12213         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
12214         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
12215         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
12216         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
12217         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
12218         Likewise.
12219         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
12220         Likewise.
12221         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
12222         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
12223         defined.
12225         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12226         oldshmctl.
12227         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
12228         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
12229         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
12230         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
12231         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
12232         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
12233         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
12234         Likewise.
12235         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
12236         Likewise.
12237         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
12238         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
12239         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
12240         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
12241         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
12242         implementation.
12243         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
12244         if it is defined.
12246         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
12247         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
12248         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
12249         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
12250         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
12251         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
12252         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
12253         Likewise.
12254         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
12255         Likewise.
12256         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
12257         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
12258         Define to __NR_osf_shmat.
12259         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
12260         defined.
12262         * sysvipc/Makefile (tests): Add test-sysvsem.
12263         * sysvipc/test-sysvsem.c: New file.
12265         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
12266         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
12267         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
12268         Likewise.
12269         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
12270         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
12271         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
12272         Likewise.
12273         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
12274         Likewise.
12275         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
12276         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
12277         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
12278         add a comment about s390 syscall difference from default one.
12279         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
12280         syscall if it is defined.
12282         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
12283         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
12284         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
12285         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
12286         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
12287         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
12288         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
12289         Likewise.
12290         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
12291         Likewise.
12292         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
12293         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
12294         defined.
12296         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
12297         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
12298         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
12299         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
12300         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
12301         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
12302         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
12303         Likewise.
12304         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
12305         Likewise.
12306         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
12307         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
12308         if it is defined.
12310         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12311         oldsemctl.
12312         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
12313         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
12314         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
12315         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
12316         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
12317         implementation.
12318         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
12319         syscall if it is defined.
12320         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
12321         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
12322         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
12323         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
12324         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
12325         Likewise.
12326         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
12328         * sysvipc/Makefile (tests): Add test-sysvmsg.
12329         * sysvipc/test-sysvmsg.c: New file.
12330         * support/check.h (FAIL_UNSUPPORTED): New define.
12332         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
12333         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
12334         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
12335         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
12336         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
12337         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
12338         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
12339         Likewise.
12340         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
12341         Likewise.
12342         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
12343         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
12344         define.
12346         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
12347         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
12348         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
12349         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
12350         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
12351         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
12352         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
12353         Likewise.
12354         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
12355         Likewise.
12356         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
12357         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
12358         if defined.
12360         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
12361         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
12362         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12363         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12364         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12365         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
12366         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12367         Likewise.
12368         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
12369         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
12370         Likewise.
12371         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
12372         if defined.
12373         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
12375         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
12376         oldmsgctl.
12377         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
12378         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
12379         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
12380         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
12381         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
12382         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
12383         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
12384         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
12385         Likewise.
12386         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
12387         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
12388         implementation.
12389         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
12390         if defined.
12392         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
12393         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
12394         definition and define its own.
12395         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
12396         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
12397         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
12398         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
12399         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
12400         definitions to common header.
12401         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
12402         operation from ipc_ops.h.
12404         * sysdeps/unix/sysv/linux/kernel-features.h
12405         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
12406         * sysdeps/unix/sysv/linux/i386/kernel-features.h
12407         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
12408         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12409         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12410         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12411         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12412         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12413         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12414         * sysdeps/unix/sysv/linux/s390/kernel-features.h
12415         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12416         * sysdeps/unix/sysv/linux/sh/kernel-features.h
12417         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12418         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12419         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
12421 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12423         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
12424         overflow in pointer addition.
12426 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12428         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12429         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
12430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12431         (strchr): Add __strchr_power8 to list of strchr functions.
12432         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
12433         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
12434         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
12435         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
12436         (strchr): Add __strchr_power8 to ifunc list.
12437         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
12438         (__strchrnul): Add __strchrnul_power8 to ifunc list.
12439         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
12440         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
12442 2016-12-28  Florian Weimer  <fweimer@redhat.com>
12444         * support/Makefile (libsupport-routines): Add
12445         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
12446         (tests): Add tst-support_record_failure.
12447         (tests-special): tst-support_record_failure-2.
12448         (tst-support_record_failure-2.out): Depend on
12449         tst-support_record_failure-2.sh and tst-support_record_failure.
12450         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
12451         (support_test_verify_impl, support_record_failure)
12452         (support_report_failure, support_report_failure_reset): Declare.
12453         * support/support_test_main.c (adjust_exit_status): New function.
12454         (support_test_main): Call it to incorporate record test failures.
12455         * support/support_test_verify_impl.c: New file.
12456         * support/support_record_failure.c: Likewise.
12457         * support/tst-support_record_failure.c: Likewise.
12458         * support/tst-support_record_failure-2.sh: Likewise.
12459         * support/xunistd.h: Likewise.
12460         * support/xfork.c: Likewise.
12461         * support/xwaitpid.c: Likewise.
12463 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
12465         * scripts/check-c++-types.sh: Add comments.
12467 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
12469         [BZ #19514]
12470         * resolv/res_send.c: Fix typo in comment.
12471         * sysdeps/i386/i386-mcount.S: Likewise.
12472         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
12473         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12474         * sysdeps/sparc/sparc-mcount.S: Likewise.
12476 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12478         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
12479         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
12480         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
12481         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
12482         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
12483         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
12484         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
12485         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
12487 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12489         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
12491 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12493         [BZ #17252]
12494         * posix/unistd.h (getentropy): Declare.
12496 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12498         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
12499         Remove.
12500         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
12501         (cmd): Remove spoof, nospoof, spoofalert.
12502         (parse_line): Ignore spoof-related lines.
12503         (do_init): Do not process RESOLV_SPOOF_CHECK.
12505 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12507         [BZ #20964]
12508         sunrpc: Always obtain AF_INET addresses from NSS.
12509         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
12510         * sunrpc/rpc_gethostbyname.c: New file.
12511         * sunrpc/Makefile (routines): Add it.
12512         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
12513         * sunrpc/clnt_simp.c (callrpc): Likewise.
12514         * sunrpc/getrpcport.c (getrpcport): Likewise.
12516 2016-12-27  Florian Weimer  <fweimer@redhat.com>
12518         * sunrpc/rpcinfo.c: Remove.
12519         * sunrpc/Makefile: Remove comments referring to rpcinfo.
12521 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12523         [BZ #19387]
12524         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
12525         addition.
12526         * string/test-memchr.c (do_test): Remove alignment limitation.
12527         (test_main): Add test that trigger BZ #19387.
12529 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12531         [BZ #7065]
12532         Enable stack protectore if requested by ./configure.
12533         * Makeconfig (+stack-protector): New variable.
12534         (+cflags): Use it.
12536 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12538         [BZ #7065]
12539         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
12540         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
12541         (__rt_sigreturn_stub): Use inhibit_stack_protector.
12542         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
12543         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
12545 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12547         [BZ #7065]
12548         * login/Makefile (pt_chown-cflags): Remove.
12549         * nscd/Makefile (CFLAGS-nscd): Likewise.
12550         * resolv/Makefile (CFLAGS-libresolv): Likewise.
12552 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12554         [BZ #7065]
12555         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
12556         non-libc-linking testcase.
12558 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12559             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12560             Florian Weimer  <fweimer@redhat.com>
12562         [BZ #7065]
12563         PLT avoidance for __stack_chk_fail*.
12564         * debug/Makefile (CFLAGS-stack_chk_fail.c)
12565         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
12566         * debug/stack_chk_fail.c (__stack_chk_fail): Add
12567         __stack_chk_fail_local alias.
12568         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
12569         (__stack_chk_fail): Turn into hidden reference to
12570         __stack_chk_fail_local.
12572 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12574         [BZ #7065]
12575         * configure.ac: Add check for unsupported stack-protection level.
12576         (libc_cv_predef_stack_protector): Remove.
12577         (no_ssp): New variable.
12578         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
12579         (stack_protector): Set to -fno-stack-protector similarly.
12580         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
12581         (libc_cv_asm_set_directive): Likewise.
12582         (libc_cv_protected_data): Likewise.
12583         (libc_cv_z_combreloc): Likewise.
12584         (libc_cv_hashstyle): Likewise.
12585         (libc_cv_has_glob_dat): Likewise.
12586         (libc_cv_output_format): Likewise.
12587         (libc_cv_output_format): Likewise.
12588         (libc_cv_ehdr_start): Likewise.
12589         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
12590         (LIBC_LINKER_FEATURE): Likewise.
12591         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
12593 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12595         [BZ #7065]
12596         * elf/Makefile (dummy-stack-chk-fail): New.
12597         (librtld.map): Use it.
12599 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12601         [BZ #7065]
12602         Compile the dynamic linker without stack protection.
12603         * elf/Makefile (elide-stack-protector): New.
12604         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
12605         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
12606         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
12607         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
12609 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12611         [BZ #7065]
12612         * config.make.in (have-ssp, no-stack-protector): New.
12613         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
12614         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
12615         (CFLAGS-sbrk.op): Likewise.
12616         (CFLAGS-brk.o): Likewise.
12617         (CFLAGS-brk.op): Likewise.
12618         * string/Makefile (CFLAGS-memcpy.c): Likewise.
12619         (CFLAGS-wordcopy.c): Likewise.
12621 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12623         [BZ #7065]
12624         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
12625         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
12626         * include/libc-symbols.h (inhibit_stack_protector): New macro.
12627         (__ifunc_resolver): Use it.
12628         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
12629         inhibit_stack_protector.
12630         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
12631         * elf/ifuncmain7.c (foo_ifunc): Likewise.
12632         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
12633         (foo_protected_ifunc): Likewise.
12634         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
12635         (foo_protected_ifunc): Likewise.
12636         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12637         * sysdeps/nacl/nacl_interface_query.c
12638         (nacl_interface_query_ifunc): Likewise.
12639         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
12640         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
12641         Likewise.
12642         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
12643         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
12644         the generated vDSO syscall resolver.
12646 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12647             Florian Weimer  <fweimer@redhat.com>
12649         [BZ #7065]
12650         Initialize the stack guard earlier when linking statically.
12651         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
12652         (__pthread_initialize_minimal): Declare.
12653         * csu/libc-start.c (__pthread_initialize_minimal): Remove
12654         declaration.
12655         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
12656         stack canary and apply_irel initialization up.  Call
12657         __pthread_initialize_minimal only if linked in.
12658         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
12659         constant values.
12660         (__pthread_initialize_minimal): Remove.
12661         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
12662         (__pthread_initialize_minimal_internal): Do not call
12663         __libc_setup_tls.
12665 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
12667         [BZ #7065]
12668         * configure.ac (libc_cv_ssp): Move up.
12669         (libc_cv_ssp_strong): Likewise.
12670         (libc_cv_ssp_all): New.
12671         (stack_protector): Augment, adding -fstack-protector-all.
12672         (no_stack_protector): New.
12673         (STACK_PROTECTOR_LEVEL): New.
12674         (AC_ARG_ENABLE(stack-protector)): New configure flag.
12675         * manual/install.texi (--enable-stack-protector): Document it.
12676         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
12678 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
12680         * README.pretty-printers: Must specify CPPFLAGS-* also.
12681         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
12682         (CPPFLAGS-test-mutex-printers.c): Define.
12683         (CPPFLAGS-test-condattr-printers.c): Define.
12684         (CPPFLAGS-test-cond-printers.c): Define.
12685         (CPPFLAGS-test-rwlockattr-printers.c): Define.
12686         (CPPFLAGS-test-rwlock-printers.c): Define.
12688         * nss/Makefile [ifeq (yes,$(have-thread-library))]
12689         (tests): Add tst-cancel-getpwuid_r.
12690         * nss/tst-cancel-getpwuid_r.c: New file.
12692         [BZ #11941]
12693         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
12694         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
12695         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
12696         tst-nodelete-dlclose.
12697         (modules-names): Add tst-nodelete-dlclose-dso and
12698         tst-nodelete-dlclose-plugin.
12699         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
12700         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
12701         ($(objpfx)tst-nodelete-dlclose): Define.
12702         ($(objpfx)tst-nodelete-dlclose.out): Define.
12704 2016-12-23  Florian Weimer  <fweimer@redhat.com>
12706         * scripts/test_printers_common.py: Log GDB output in case of
12707         Python detection failure.
12709 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12711         * configure.ac: Check for python3 or python.
12712         * configure: Regenerated.
12713         * config.make.in (PYTHON): New variable.
12714         * benchtests/Makefile: Don't define PYTHON.
12715         (bench): Define target only if PYTHON was defined.
12716         * Rules: Don't define PYTHON.
12717         Define pretty printer targets only if PYTHON was defined.
12718         (tests-printers): Add to tests-unsupported if PYTHON is not
12719         found.
12720         (python-flags, python-invoke): Remove.
12721         (tests-printers-out): Use PYTHON instead of python-invoke.
12723 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12725         [BZ #20978]
12726         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
12727         Compare name == NULL, not name != NULL.
12729         * manual/texinfo.tex: Update to version 2016-09-18.18 with
12730         trailing whitespace removed.
12731         * scripts/config.guess: Update to version 2016-10-02.
12732         * scripts/config.sub: Update to version 2016-11-19.
12733         * scripts/install-sh: Update to version 2016-01-11.22.
12734         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
12735         * scripts/move-if-change: Update to version 2016-01-11 22:04.
12737 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
12739         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
12740         (do_one_test) Restore original string so iteration works.
12741         * string/string-inlines.c (do_test): Create better input strings.
12742         (test_main) Reduce number of testruns.
12743         * string/string-inlines.c (__old_strsep_1c): New function.
12744         (__old_strsep_2c): Likewise.
12745         (__old_strsep_3c): Likewise.
12746         * string/strsep.c (__strsep): Remove case of small delim string.
12747         Call strcspn directly rather than strpbrk.
12748         * string/bits/string2.h (__strsep): Remove define.
12749         (__strsep_1c): Remove.
12750         (__strsep_2c): Remove.
12751         (__strsep_3c): Remove.
12752         (strsep): Remove.
12753         * sysdeps/unix/sysv/linux/internal_statvfs.c
12754         (__statvfs_getflags): Rename to __strsep.
12756 2016-12-21  Florian Weimer  <fweimer@redhat.com>
12758         * csu/libc-tls.c (_dl_tls_setup): Remove.
12759         * elf/dl-tls.c (_dl_tls_setup): Likewise.
12760         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
12761         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
12763 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12765         [BZ #7065]
12766         * sysdeps/x86_64/Makefile [$(subdir) = elf]
12767         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
12769 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
12770             Florian Weimer  <fweimer@redhat.com>
12772         [BZ #7065]
12773         * csu/Makefile (tests): Empty assignment and document it.
12774         (tests-static): Remove.
12775         * csu/tst-empty.c: Move to...
12776         * misc/tst-empty.c: ... here.  Switch to new test driver.
12777         * csu/tst-atomic.c: Move to...
12778         * misc/tst-atomic.c: ... here.  Switch to new test driver.
12779         * csu/tst-atomic-long.c: Move to...
12780         * misc/tst-atomic-long.c: ... here.
12781         * misc/Makefile (tests): Add tst-empty, tst-atomic,
12782         tst-atomic-long.
12783         (tests-static): Add tst-empty.
12785 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
12787         * manual/nss.texi: Change incorrect @vtable to @table.
12788         * manual/arith.texi: Convert @tables of variables to @vtables
12789         and remove unnecessary indexing.
12790         * manual/filesys.texi: Likewise.
12791         * manual/llio.texi: Likewise.
12792         * manual/memory.texi: Likewise.
12793         * manual/process.texi: Likewise.
12794         * manual/resource.texi: Likewise.
12795         * manual/search.texi: Likewise.
12796         * manual/signal.texi: Likewise.
12797         * manual/socket.texi: Likewise.
12798         * manual/stdio.texi: Likewise.
12799         * manual/sysinfo.texi: Likewise.
12800         * manual/syslog.texi: Likewise.
12801         * manual/terminal.texi: Likewise.
12802         * manual/time.texi: Likewise.
12803         * manual/users.texi: Likewise.
12805 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
12807         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12808         (roundeven): New declaration.
12809         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
12810         macro.
12811         * math/Versions (roundeven): New libm symbol at version
12812         GLIBC_2.25.
12813         (roundevenf): Likewise.
12814         (roundevenl): Likewise.
12815         * math/Makefile (libm-calls): Add s_roundevenF.
12816         * math/libm-test.inc (roundeven_test_data): New array.
12817         (roundeven_test): New function.
12818         (main): Call roundeven_test.
12819         * math/test-tgmath.c (NCALLS): Increase to 134.
12820         (F(compile_test)): Call roundeven.
12821         (F(roundeven)): New function.
12822         * manual/arith.texi (Rounding Functions): Document roundeven,
12823         roundevenf and roundevenl.
12824         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
12825         * include/math.h (roundeven): Use libm_hidden_proto.
12826         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
12827         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
12828         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
12829         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
12830         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
12831         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
12832         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12833         roundeven.
12834         (CFLAGS-nldbl-roundeven.c): New variable.
12835         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
12836         * sysdeps/nacl/libm.abilist: Update.
12837         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12838         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12839         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12840         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12841         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12842         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12843         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12844         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12845         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12846         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12847         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12848         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12850         Likewise.
12851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12852         Likewise.
12853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12854         Likewise.
12855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12856         Likewise.
12857         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12858         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12859         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12860         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12861         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12863         Likewise.
12864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12865         Likewise.
12866         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12867         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12868         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12870 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12872         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12873         preprocessor indentation inside #if.
12875 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12877         * math/libm-test.inc (fmt_ftostr): New function.
12878         (print_float, check_float_internal): Replace some uses of
12879         FTOSTR with uses of fmt_ftostr.
12880         (print_max_error, print_complex_max_error, print_function_ulps)
12881         (print_complex_function_ulps): Remove uses of the macros
12882         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12883         * math/test-double.h (FTOSTR): Define to strfromd.
12884         (PRINTF_EXPR): Delete.
12885         (PRINTF_XEXPR): Likewise.
12886         (PRINTF_NEXPR): Likewise.
12887         * math/test-float.h (FTOSTR): Define to strfromf.
12888         (PRINTF_EXPR): Delete.
12889         (PRINTF_XEXPR): Likewise.
12890         (PRINTF_NEXPR): Likewise.
12891         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12892         (PRINTF_EXPR): Delete.
12893         (PRINTF_XEXPR): Likewise.
12894         (PRINTF_NEXPR): Likewise.
12896 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12898         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12899         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12900         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12901         (__lll_lock_elision): Decrement adapt_count while unlocking
12902         instead of before locking.
12903         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12904         (__lll_trylock_elision): Likewise.
12905         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12906         (__lll_unlock_elision): Likewise.
12908 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12910         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12911         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12912         Use __libc_tbegin_retry macro.
12914 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12916         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12917         Add -msoft-float.
12918         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12919         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12920         Use __libc_t* transaction macros instead of __builtin_t*.
12921         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12922         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12924 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12926         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12927         (__lll_lock_elision): Use atomics to load / store adapt_count.
12928         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12929         (__lll_trylock_elision): Likewise.
12931 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12933         Do not require memset elimination in explicit_bzero test.
12934         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12935         (enum test_expectation): Add NO_EXPECTATIONS.
12936         (subtests): NO_EXPECTATIONS for ordinary clear.
12937         (check_test_buffer): Handle NO_EXPECTATIONS.
12938         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12940 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12942         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12943         (fmaxmag): New declaration.
12944         (fminmag): Likewise.
12945         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12946         macro.
12947         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12948         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12949         (fmaxmagf): Likewise.
12950         (fmaxmagl): Likewise.
12951         (fminmag): Likewise.
12952         (fminmagf): Likewise.
12953         (fminmagl): Likewise.
12954         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12955         * math/s_fmaxmag_template.c: New file.
12956         * math/s_fminmag_template.c: Likewise.
12957         * math/libm-test.inc (fmaxmag_test_data): New array.
12958         (fmaxmag_test): New function.
12959         (fminmag_test_data): New array.
12960         (fminmag_test): New function.
12961         (main): Call fmaxmag_test and fminmag_test.
12962         * math/test-tgmath.c (NCALLS): Increase to 132.
12963         (F(compile_test)): Call fmaxmag and fminmag.
12964         (F(fminmag)): New function.
12965         (F(fmaxmag)): Likewise.
12966         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12967         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12968         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12969         fminmag.
12970         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12971         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12972         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12973         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12974         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12975         and fminmag.
12976         (CFLAGS-nldbl-fmaxmag.c): New variable.
12977         (CFLAGS-nldbl-fminmag.c): Likewise.
12978         * sysdeps/nacl/libm.abilist: Update.
12979         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12980         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12981         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12982         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12983         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12984         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12985         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12986         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12987         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12988         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12989         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12990         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12992         Likewise.
12993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12994         Likewise.
12995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12996         Likewise.
12997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12998         Likewise.
12999         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13000         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13001         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13002         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13003         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13005         Likewise.
13006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13007         Likewise.
13008         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13009         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13010         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13012 2016-12-19  Torvald Riegel  <triegel@redhat.com>
13014         [BZ #20973]
13015         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
13016         wake-up in robust mutexes.
13017         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
13019 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13021         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
13022         (CFLAGS-bench-fmaxf.c): New rule.
13023         (CFLAGS-bench-fminf.c): Likewise.
13024         * benchtests/fmaxf-inputs: New file.
13025         * benchtests/fminf-inputs: Likewise.
13027         * benchtests/Makefile (bench-math): Add fmin and fmax.
13028         (CFLAGS-bench-fmax.c): New rule.
13029         (CFLAGS-bench-fmin.c): Likewise.
13030         * benchtests/fmax-inputs: New file.
13031         * benchtests/fmin-inputs: Likewise.
13033         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
13034         parenthesis.
13035         (CMDLINE_PROCESS): Define using function instead of macro.
13036         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
13037         of test-skeleton.
13038         * benchtests/bench-memchr.c: Likewise.
13039         * benchtests/bench-memcmp.c: Likewise.
13040         * benchtests/bench-memcpy-large.c: Likewise.
13041         * benchtests/bench-memcpy.c: Likewise.
13042         * benchtests/bench-memmem.c: Likewise.
13043         * benchtests/bench-memmove-large.c: Likewise.
13044         * benchtests/bench-memmove.c: Likewise.
13045         * benchtests/bench-memset-large.c: Likewise.
13046         * benchtests/bench-memset.c: Likewise.
13047         * benchtests/bench-rawmemchr.c: Likewise.
13048         * benchtests/bench-strcasecmp.c: Likewise.
13049         * benchtests/bench-strcasestr.c: Likewise.
13050         * benchtests/bench-strcat.c: Likewise.
13051         * benchtests/bench-strchr.c: Likewise.
13052         * benchtests/bench-strcmp.c: Likewise.
13053         * benchtests/bench-strcpy.c: Likewise.
13054         * benchtests/bench-strcpy_chk.c: Likewise.
13055         * benchtests/bench-strlen.c: Likewise.
13056         * benchtests/bench-strncasecmp.c: Likewise.
13057         * benchtests/bench-strncmp.c: Likewise.
13058         * benchtests/bench-strncpy.c: Likewise.
13059         * benchtests/bench-strnlen.c: Likewise.
13060         * benchtests/bench-strpbrk.c: Likewise.
13061         * benchtests/bench-strrchr.c: Likewise.
13062         * benchtests/bench-strsep.c: Likewise.
13063         * benchtests/bench-strspn.c: Likewise.
13064         * benchtests/bench-strstr.c: Likewise.
13065         * benchtests/bench-strtok.c: Likewise.
13067 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
13069         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
13070         stepping identification.
13071         (init_cpu_features): Add handle of Haswell.
13073 2016-11-25  Jim Meyering  <meyering@fb.com>
13075         [BZ #20386]
13076         Let gcc detect assert(a = 1) errors.
13077         * assert/assert.h (assert): Rewrite, retaining the old definintion
13078         when required, but otherwise putting the expression as-is in an "if"
13079         expression (hence, with no added parentheses) within a statement
13080         expression.
13082 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13084         * benchtests/Makefile (binaries-benchset): Depend on libsupport
13085         DSO.
13087 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
13089         * Rules (python-flags, python-invoke): New.
13090         ($(test-printers-out)): Use $(python-flags).
13092 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13094         * manual/arith.texi (Math Error Reporting): Document that sNaN
13095         arguments are not considered domain errors.
13097 2016-12-16  Zack Weinberg <zackw@panix.com>
13098             Florian Weimer <fweimer@redhat.com>
13099             Nick Mathewson <nickm@torproject.org>
13101         * string/explicit_bzero.c: New routine.
13102         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
13103         * string/Makefile (routines, strop-tests, tests): Add them.
13104         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
13105         * string/string.h [__USE_MISC]: Declare explicit_bzero.
13107         * debug/explicit_bzero_chk.c: New routine.
13108         * debug/Makefile (routines): Add it.
13109         * debug/tst-chk1.c: Test fortification of explicit_bzero.
13110         * string/bits/string3.h: Fortify explicit_bzero.
13112         * manual/string.texi: Document explicit_bzero.
13113         * NEWS: Mention addition of explicit_bzero.
13115         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
13116         data before returning, using explicit_bzero.
13117         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
13118         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
13119         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13121         * include/string.h: Redirect internal uses of explicit_bzero
13122         to __explicit_bzero_chk[_internal].
13123         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
13124         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
13125         * sysdeps/arm/nacl/libc.abilist
13126         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
13127         * sysdeps/unix/sysv/linux/alpha/libc.abilist
13128         * sysdeps/unix/sysv/linux/arm/libc.abilist
13129         * sysdeps/unix/sysv/linux/hppa/libc.abilist
13130         * sysdeps/unix/sysv/linux/i386/libc.abilist
13131         * sysdeps/unix/sysv/linux/ia64/libc.abilist
13132         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
13133         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
13134         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
13135         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
13136         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
13137         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
13138         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
13139         * sysdeps/unix/sysv/linux/nios2/libc.abilist
13140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
13142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
13143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
13144         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
13145         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
13146         * sysdeps/unix/sysv/linux/sh/libc.abilist
13147         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
13148         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
13149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
13150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
13151         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
13152         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
13153         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
13154         Add entries for explicit_bzero and __explicit_bzero_chk.
13156 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13158         * math/fenv.h
13159         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
13160         (FE_SNANS_ALWAYS_SIGNAL): New macro.
13161         * math/test-fe-snans-always-signal.c: New file.
13162         * math/Makefile (tests): Add test-fe-snans-always-signal.
13163         (CFLAGS-test-fe-snans-always-signal.c): New variable.
13164         * manual/arith.texi (Infinity and NaN): Document
13165         FE_SNANS_ALWAYS_SIGNAL.
13167 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13169         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
13170         bracket.
13172 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
13174         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
13175         before calling execv.
13177 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13179         [BZ #20971]
13180         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
13181         overflow in pointer addition.
13182         * string/test-memchr.c (do_test): Add an argument to pass as
13183         the size on memchr.
13184         (test_main): Add check for SIZE_MAX.
13186 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13188         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
13189         (libm-calls): Add w_scalblnF.
13190         * math/w_scalbln.c: Remove.
13191         * math/w_scalblnf.c: Likewise.
13192         * math/w_scalblnl.c: Likewise.
13193         * math/w_scalbln_template.c: New file with type-generic
13194         implementation based on math/w_scalbln.c.
13195         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
13196         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
13198 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13200         [BZ #20947]
13201         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
13202         either is a signaling NaN.
13203         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
13204         follow fmaxl more closely.
13205         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
13206         when either is a signaling NaN.
13207         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
13208         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
13209         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
13210         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
13211         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
13212         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
13213         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
13214         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
13215         (fmin_test_data): Likewise.
13217 2016-12-15  Andreas Schwab  <schwab@suse.de>
13219         * support/support_test_main.c (support_test_main): Don't shadow
13220         file-local variable test_pid.
13222 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
13224         [BZ #20947]
13225         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
13226         either is a signaling NaN.
13227         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
13229 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13231         [BZ #20947]
13232         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
13233         when either is a signaling NaN.
13234         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
13236         * bits/long-double.h: New file.
13237         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
13238         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
13239         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
13240         * sysdeps/mips/bits/long-double.h: Likewise.
13241         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
13242         * math/Makefile (headers): Add bits/long-double.h.
13243         * misc/sys/cdefs.h: Include <bits/long-double.h>.
13244         * stdlib/strtold.c: Include <bits/long-double.h> instead of
13245         <bits/wordsize.h>.
13246         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
13247         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
13248         * math/math.h: Do not include <bits/mathdef.h>.
13249         * sysdeps/aarch64/bits/mathdef.h: Remove file.
13250         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
13251         inclusion.
13252         * sysdeps/ia64/bits/mathdef.h: Remove file.
13253         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
13254         * sysdeps/mips/bits/mathdef.h: Likewise.
13255         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13256         * sysdeps/s390/bits/mathdef.h: Likewise.
13257         * sysdeps/sparc/bits/mathdef.h: Likewise.
13258         * sysdeps/x86/bits/mathdef.h: Likewise.
13259         * sysdeps/s390/s390-32/bits/wordsize.h
13260         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
13261         conditional code.
13262         * sysdeps/s390/s390-64/bits/wordsize.h
13263         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13264         Likewise.
13265         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
13266         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13267         Likewise.
13268         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
13269         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13270         Likewise.
13271         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
13272         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
13273         Likewise.
13275         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
13276         <linux/falloc.h>.
13277         (FALLOC_FL_KEEP_SIZE): Remove.
13278         (FALLOC_FL_PUNCH_HOLE): Likewise.
13279         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
13280         (FALLOC_FL_ZERO_RANGE): Likewise.
13282 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13284         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
13286 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13288         * sysdeps/unix/sysv/linux/renameat.c: New file.
13289         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
13291         * sysdeps/unix/sysv/linux/rename.c: New file.
13292         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
13294 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13296         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
13297         * string/strtok.c (strtok): Change to tailcall __strtok_r.
13298         * string/strtok_r.c (__strtok_r): Optimize for performance.
13299         * string/string-inlines.c (__old_strtok_r_1c): New function.
13300         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
13302 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13304         * math/Makefile (gen-libm-calls): Add w_log1pF.
13305         (libm-calls): Remove w_log1pF.
13306         * math/w_log1p.c: Remove.
13307         * math/w_log1pf.c: Likewise.
13308         * math/w_log1pl.c: Likewise.
13309         * math/w_log1p_template.c: New file with type-generic
13310         implementation based on math/w_log1p.c.
13311         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
13312         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
13314 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
13316         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
13318 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
13320         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13321         kernel version to 4.9.
13323 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
13325         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
13326         ($(inst_libdir)/libm.a): Fix rule to create the target only.
13328 2016-12-13  Andreas Schwab  <schwab@suse.de>
13330         * sysdeps/powerpc/dl-procinfo.c: Don't define
13331         _dl_powerpc_platforms.
13332         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
13333         constants instead of referencing _dl_powerpc_platforms.
13334         (_dl_platform_string): Remove.
13336 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13338         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
13340 2016-12-13  Florian Weimer  <fweimer@redhat.com>
13342         * Rules (binaries-shared-tests, binaries-pie-tests)
13343         (binaries-static-tests): Link with $(link-extra-libs-tests).
13344         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
13345         Remove $(link-extra-libs-tests).
13347 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13349         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13350         (sysdep_routines): Add strncmp_power9.
13351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13352         (strncmp): Add __strncmp_power9 to list of strncmp functions.
13353         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
13354         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
13355         (strncmp): Add __strncmp_power9 to ifunc list.
13356         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
13358 2016-12-12  Florian Weimer  <fweimer@redhat.com>
13360         [BZ #17252]
13361         Add getentropy, getrandom.
13362         * stdlib/sys/random.h: New file.
13363         (headers): Add it.
13364         * stdlib/Makefile (routines): Add getentropy, getrandom.
13365         (tests): Add tst-getrandom.
13366         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
13367         * stdlib/getentropy.c: New file.
13368         * stdlib/getrandom.c: Likewise.
13369         * stdlib/tst-getrandom.c: Likewise.
13370         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
13371         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
13372         * manual/crypt.texi (Unpredictable Bytes): New section.
13373         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
13374         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
13375         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
13376         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
13377         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
13378         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
13379         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
13380         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
13381         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
13382         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
13383         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
13384         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
13385         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
13386         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
13387         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
13388         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
13389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
13390         Likewise.
13391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13392         Likewise.
13393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
13394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
13395         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
13396         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
13397         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
13398         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
13399         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
13400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
13401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
13402         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
13403         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
13404         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
13406 2016-12-10  Florian Weimer  <fweimer@redhat.com>
13408         [BZ #20956]
13409         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
13410         as additional compiler barriers.
13411         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
13412         (fn2, do_test): Declare with external linkage.
13413         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
13414         (do_test): Declare with external linkage.
13415         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
13416         (do_test): Declare with external linkage.
13417         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
13418         (do_test): Declare with external linkage.
13420 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
13422         * support/support_test_main.c (support_test_main): Use correct
13423         timeout.
13425 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
13426             Florian Weimer  <fweimer@redhat.com>
13428         [BZ #16421]
13429         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
13430         and __u6_addr32 members.
13431         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
13432         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
13433         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
13434         Use __u6_addr32.
13435         * inet/tst-checks.c: Use <support/test-driver.c>
13436         * inet/tst-checks-posix.c: New file.
13437         * inet/Makefile (tests): Add it.
13438         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
13440 2016-12-09  Florian Weimer  <fweimer@redhat.com>
13442         New subdirectory support for build and test infrastructure.
13443         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
13444         setting install-lib.
13445         * Makeconfig (link-extra-libs-tests): Define.
13446         (+link-pie-tests, +link-static-tests, +link-tests): Use
13447         link-extra-libs-tests.
13448         (rpath-dirs, all-subdirs): Add support.
13449         (built-modules): Add libsupport.
13450         (libsupport): Define.
13451         * support: New directory.
13452         * support/Makefile: New file.
13453         * support/check.c: Likewise.
13454         * support/check.h: Likewise.
13455         * support/delayed_exit.c: Likewise.
13456         * support/ignore_stderr.c: Likewise.
13457         * support/oom_error.c: Likewise.
13458         * support/set_fortify_handler.c: Likewise.
13459         * support/support.h: Likewise.
13460         * support/temp_file-internal.h: Likewise.
13461         * support/temp_file.c: Likewise.
13462         * support/test-driver.c: Likewise.
13463         * support/test-driver.h: Likewise.
13464         * support/test_main.c: Likewise.
13465         * support/write_message.c: Likewise.
13466         * support/xasprintf.c: Likewise.
13467         * support/xcalloc.c: Likewise.
13468         * support/xmalloc.c: Likewise.
13469         * support/xpthread_barrier_destroy.c: Likewise.
13470         * support/xpthread_barrier_init.c: Likewise.
13471         * support/xpthread_barrier_wait.c: Likewise.
13472         * support/xpthread_cancel.c: Likewise.
13473         * support/xpthread_check_return.c: Likewise.
13474         * support/xpthread_cond_wait.c: Likewise.
13475         * support/xpthread_create.c: Likewise.
13476         * support/xpthread_detach.c: Likewise.
13477         * support/xpthread_join.c: Likewise.
13478         * support/xpthread_mutex_lock.c: Likewise.
13479         * support/xpthread_mutex_unlock.c: Likewise.
13480         * support/xpthread_sigmask.c: Likewise.
13481         * support/xpthread_spin_lock.c: Likewise.
13482         * support/xpthread_spin_unlock.c: Likewise.
13483         * support/xrealloc.c: Likewise.
13484         * support/xsignal.h: Likewise.
13485         * support/xthread.h: Likewise.
13486         * support_tempfile.h: Likewise.
13487         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
13488         (TEST_DATA_LIMIT): Remove unused macro.
13489         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
13490         <support/check.h>.
13491         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
13492         (ignore_stderr, set_fortify_handler): Remove.  Now in
13493         <support/support.h>.
13494         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
13495         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
13496         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
13497         (xpthread_join): Remove.  Now in <support/xthread.h>.
13498         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
13499         Introduce legacy wrappers.
13500         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
13501         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
13502         (write_message): Remove.
13503         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
13504         test-skeleton.c.
13505         * io/test-open-tmpfile: Likewise.
13506         * io/tst-posix_fallocate-common.c: Likewise.
13507         * libio/tst-fseek.c: Likewise.
13508         * malloc/tst-malloc-backtrace.c: Likewise.
13509         * malloc/tst-malloc-fork-deadlock.c: Likewise.
13510         * malloc/tst-malloc-thread-exit.c: Likewise.
13511         * nptl/tst-cancel7.c: Likewise.
13512         * nptl/tst-cleanup0.c: Likewise.
13513         * posix/tst-posix_fadvise-common.c: Likewise.
13514         * rt/tst-shm.c: Likewise.
13515         * time/bug-getdate1.c: Likewise.
13516         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
13517         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
13518         * elf/Makefile (tst-piemod1.so): Link against libsupport.
13520 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
13522         * Rules [$(run-built-tests) != no] (tests-expected): Add
13523         $(tests-printers).
13524         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
13526 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
13528         [BZ #20539]
13529         * math/Makefile (install-lib-ldscripts): Add libm.a.
13530         (install_subdir): Remove.
13531         (install-others): Add.
13532         ($(inst_libdir)/libm.a): Add rule for installation as
13533         linker script.
13534         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
13536 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
13538         * INSTALL: Regenerated.
13539         * Makeconfig: Add comments and whitespace to make the control flow
13540         clearer.
13541         (+link-printers-tests, +link-pie-printers-tests,
13542         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
13543         built-rtld-LDFLAGS, link-libc-rpath,
13544         link-libc-tests-after-rpath-link,
13545         link-libc-printers-tests): New.
13546         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
13547         link-libc-tests): Use the new variables as required.
13548         * Makerules ($(py-const)): New rule.
13549         generated: Add $(py-const).
13550         * README.pretty-printers: New file.
13551         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
13552         (others): Depend on $(py-const).
13553         (tests): Depend on $(tests-printers-programs) or
13554         $(tests-printers-out),
13555         as required.  Pass $(tests-printers) to merge-test-results.sh.
13556         * manual/install.texi: Add requirements for testing the pretty
13557         printers.
13558         * nptl/Makefile (gen-py-const-headers, pretty-printers,
13559         tests-printers, CFLAGS-test-mutexattr-printers.c
13560         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
13561         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
13562         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
13563         * nptl/nptl-printers.py: New file.
13564         * nptl/nptl_lock_constants.pysym: Likewise.
13565         * nptl/test-cond-printers.c: Likewise.
13566         * nptl/test-cond-printers.py: Likewise.
13567         * nptl/test-condattr-printers.c: Likewise.
13568         * nptl/test-condattr-printers.py: Likewise.
13569         * nptl/test-mutex-printers.c: Likewise.
13570         * nptl/test-mutex-printers.py: Likewise.
13571         * nptl/test-mutexattr-printers.c: Likewise.
13572         * nptl/test-mutexattr-printers.py: Likewise.
13573         * nptl/test-rwlock-printers.c: Likewise.
13574         * nptl/test-rwlock-printers.py: Likewise.
13575         * nptl/test-rwlockattr-printers.c: Likewise.
13576         * nptl/test-rwlockattr-printers.py: Likewise.
13577         * scripts/gen-py-const.awk: Likewise.
13578         * scripts/test_printers_common.py: Likewise.
13579         * scripts/test_printers_exceptions.py: Likewise.
13581 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13583         * scripts/build-many-glibcs.py (Context.__init__): Take strip
13584         argument.
13585         (Glibc.build_glibc): Strip installed shared libraries if
13586         requested.
13587         (get_parser): Add --strip option.
13588         (main): Update Context call.
13590 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13591             Dominik Vogt  <vogt@linux.vnet.ibm.com>
13593         [BZ #20847]
13594         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13595         array bounds for else branch.
13596         (__execvpe): Style fixes.
13597         * posix/tst-vfork3.c (run_script): New function.
13598         (create_script): Likewise.
13599         (do_test): Use run_script internal function.
13600         (do_prepare): Use create_script internal function.
13602 2016-12-07  Andreas Schwab  <schwab@suse.de>
13604         * sysdeps/unix/sysv/linux/x86/elision-conf.h
13605         (__elision_available): Don't declare.
13606         * sysdeps/unix/sysv/linux/x86/elision-conf.c
13607         (__elision_available): Don't define.
13608         (elision_init): Don't set __elision_available.
13610 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
13612         [BZ #20940]
13613         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
13614         return Inf for arguments Inf and sNaN.
13615         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
13616         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13617         Likewise.
13618         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13619         Likewise.
13620         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13621         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
13622         for arguments Inf and sNaN.  When returning a NaN, compute it by
13623         arithmetic on the arguments.
13624         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
13625         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
13626         arguments.
13628 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
13630         [BZ #20916]
13631         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
13632         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
13633         to compute result.
13634         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13635         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
13637 2016-12-05  Torvald Riegel  <triegel@redhat.com>
13639         * include/atomic.h (__atomic_check_size_ls): New.
13640         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
13641         atomic_store_release): Use it.
13642         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
13643         (elision_adapt, ELIDE_LOCK): Use atomics.
13644         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
13645         atomics and improve code comments.
13646         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
13647         (__lll_trylock_elision): Likewise.
13649 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13651         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
13652         programs.
13654 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13656         [BZ #20916]
13657         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
13658         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
13659         arguments to compute result.
13660         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
13661         1 for arguments (sNaN, 0) or (1, sNaN).
13662         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13663         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13665         [BZ #20919]
13666         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
13667         NaN first argument when raised to power 0.
13668         * math/w_pow.c (__pow): Do not check for NaN or zero results from
13669         raising to power zero.
13670         * math/w_powf.c (__powf): Likewise.
13671         * math/w_powl.c (__powl): Likewise.
13672         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
13673         pow (0, 0) or pow (NaN, 0).
13675 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
13677         [BZ #20918]
13678         * configure.ac: Test for static NSS cryptographic libraries and set
13679         libc_cv_static_nss_crypt.
13680         * configure: Regenerate.
13681         * config.make.in (static-nss-crypt): Define.
13682         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
13683         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
13684         (CFLAGS-tst-linkall-static.c): Define.
13685         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
13686         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
13687         ($(objpfx)tst-linkall-static): Define.
13688         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
13689         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
13691 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13693         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
13694         (one-hundred, tst-tls-many-dynamic-modules): Define.
13695         (modules-names): Add $(tst-tls-many-dynamic-modules).
13696         (tst-tls-manydynamic%mod.os): Build with special preprocessor
13697         macros.
13698         (tst-tls-manydynamic): Link against libdl, libpthread.
13699         (tst-tls-manydynamic.out): The test needs the test modules at run
13700         time.
13701         * elf/tst-tls-manydynamic.c: New file.
13702         * elf/tst-tls-manydynamic.h: Likewise.
13703         * elf/tst-tls-manydynamicmod.c: Likewise.
13705 2016-12-02  Florian Weimer  <fweimer@redhat.com>
13707         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
13708         (TLS_DTV_UNALLOCATED): Add.
13709         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
13710         offsets.
13712 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13714         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13716 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
13718         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
13719         Add -fno-optimize-sibling-calls.
13721 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
13723         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
13724         New declaration.
13725         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
13726         macro.
13727         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
13728         New macro.
13729         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
13730         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
13731         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
13732         (llogbf): Likewise.
13733         (llogbl): Likewise.
13734         * math/Makefile (gen-libm-calls): Add w_llogbF.
13735         (tests): Add test-fp-llogb-constants.
13736         * math/w_llogb_template.c: New file.  Based on
13737         math/w_ilogb_template.c.
13738         * math/libm-test.inc (llogb_test_data): New array.
13739         (llogb_test): New function.
13740         (main): Call llogb_test.
13741         * math/test-fp-llogb-constants.c: New file.  Based on
13742         math/test-fp-ilogb-constants.c.
13743         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
13744         (do_test): Call check_return_llogb.
13745         * math/test-tgmath.c (NCALLS): Increase to 126.
13746         (F(compile_test)): Call llogb.
13747         (F(llogb)): New function.
13748         * manual/math.texi (Exponents and Logarithms): Document llogb,
13749         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
13750         * manual/libm-err-tab.pl (@all_functions): Add llogb.
13751         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
13752         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
13753         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
13754         (CFLAGS-nldbl-llogb.c): New variable.
13755         * sysdeps/nacl/libm.abilist: Update.
13756         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13757         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13758         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13759         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13760         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13761         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13762         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13763         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13764         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13765         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13766         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13767         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13769         Likewise.
13770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13771         Likewise.
13772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13773         Likewise.
13774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13775         Likewise.
13776         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13777         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13778         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13779         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13780         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13782         Likewise.
13783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13784         Likewise.
13785         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13786         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13787         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13789 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13791         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
13792         _Float128 instead of long double.
13793         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
13795         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
13796         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
13797         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
13798         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
13799         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
13800         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
13801         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
13802         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
13803         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
13804         Likewise.
13806 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13808         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
13809         Remove redirection to __strrchr_ppc.
13811 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13813         * sysdeps/powerpc/powerpc64/multiarch/Makefile
13814         (sysdep_routines): Add strcmp_power9.
13815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13816         (strcmp): Add __strcmp_power9 to list of strcmp functions.
13817         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
13818         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
13819         (strcmp): Add __strcmp_power9 to ifunc list.
13820         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
13822 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
13824         * bits/fp-logb.h: New file.
13825         * sysdeps/ia64/bits/fp-logb.h: Likewise.
13826         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
13827         * sysdeps/x86/bits/fp-logb.h: Likewise.
13828         * math/Makefile (headers): Add bits/fp-logb.h.
13829         * math/math.h: Include <bits/fp-logb.h>.
13830         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
13831         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
13832         * bits/mathdef.h (FP_ILOGB0): Remove.
13833         (FP_ILOGBNAN): Likewise.
13834         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
13835         (FP_ILOGBNAN): Likewise.
13836         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
13837         (FP_ILOGBNAN): Likewise.
13838         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
13839         (FP_ILOGBNAN): Likewise.
13840         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
13841         (FP_ILOGBNAN): Likewise.
13842         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
13843         (FP_ILOGBNAN): Likewise.
13844         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
13845         (FP_ILOGBNAN): Likewise.
13846         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
13847         (FP_ILOGBNAN): Likewise.
13848         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
13849         (FP_ILOGBNAN): Likewise.
13850         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
13851         (FP_ILOGBNAN): Likewise.
13853         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
13854         time module.
13855         (Context.__init__): Initialize self.logsdir_old.
13856         (Context.run_builds): Handle bot action.
13857         (Context.bot_cycle): Copy logs directory before running builds.
13858         (Context.bot_run_self): Take argument for whether to check
13859         subprocess result.  Flush stdout before running subprocess.
13860         (Context.bot): New function.
13861         (get_parser): Allow bot action.
13863 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13865         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13866         Import email.mime.text, email.utils and smtplib modules.
13867         (Context.__init__): Initialize self.bot_config_json.
13868         (Context.run_builds): Handle bot-cycle action.
13869         (Context.load_bot_config_json): New function.
13870         (Context.part_build_old): Likewise.
13871         (Context.bot_cycle): Likewise.
13872         (Context.bot_build_mail): Likewise.
13873         (Context.bot_run_self): Likewise.
13874         (get_parser): Allow bot-cycle action.
13876 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13878         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13879         Remove redirection to __stpcpy_ppc.
13881 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13883         Remove __libc_memalign from ld.so because it is unused.
13884         * elf/dl-minimal.c: Update comment on the malloc implementation.
13885         (malloc): Renamed from __libc_memalign, replacing the original
13886         malloc implementation.  Replace the align parameter with
13887         MALLOC_ALIGNMENT.
13888         * elf/Versions (ld): Update comment and remove __libc_memalign.
13889         * sysdeps/nacl/ld.abilist: Likewise.
13890         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13891         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13892         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13893         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13894         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13895         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13896         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13897         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13898         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13899         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13900         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13901         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13902         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13903         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13906         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13907         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13908         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13909         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13910         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13912         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13913         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13914         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13915         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13916         * sysdeps/generic/localplt.data (ld.so): Likewise.
13917         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13918         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13919         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13920         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13921         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13922         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13923         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13924         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13925         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13927         (ld.so): Likewise.
13928         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13929         (ld.so): Likewise.
13930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13931         Likewise.
13932         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13933         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13934         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13935         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13936         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13938 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13940         [BZ #16628]
13941         Implement _dl_catch_error, _dl_signal_error in libc.so.
13942         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13943         (catch_hook): Define as thread-local or regular variable,
13944         depending on DL_ERROR_BOOTSTRAP.
13945         (CATCH_HOOK): Remove.
13946         (dl_signal_error, _dl_catch_error): Use
13947         catch_hook.  Add hidden definition for libc.
13948         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13949         for DL_ERROR_BOOTSTRAP only.
13950         * elf/dl-error.c: New file.
13951         * elf/dl-error-minimal.c: Likewise.
13952         * elf/tst-latepthread.c: Likewise.
13953         * elf/tst-latepthreadmod.c: Likewise.
13954         * elf/Makefile (routines): Add dl-error.
13955         (dl-routines): Remove dl-error.
13956         (rtld-routines): Add dl-error-minimal.
13957         [build-shared] (tests): Add tst-latepthread.
13958         (module-names): Add tst-latepthreadmod.
13959         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13960         symbol.
13961         (tst-latepthreadmod.so): Link against libpthread.
13962         (tst-latepthread): Link against libdbl.
13963         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13964         _dl_catch_error.
13965         [ld] (GLIBC_PRIVATE): Likewise.
13966         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13967         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13968         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13969         directly.
13970         * elf/dl-tsd.c: Remove file.
13971         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13972         _dl_catch_error, _dl_signal_error.
13973         (_dl_initial_error_catch_tsd): Remove definition.
13974         (do_preload): Remove initialization of dl_error_catch_tsd.
13975         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13976         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13977         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13978         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13979         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13980         set dl_error_catch_tsd.
13981         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13982         _dl_error_catch_tsd member.
13983         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13984         members.
13985         (_dl_initial_error_catch_tsd): Remove declaration.
13986         (_dl_dprintf): Provide definition for use outside of ld.so.
13987         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13988         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13989         prototype for libc.
13990         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13991         _dl_catch_error.
13992         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13993         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13994         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13995         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13996         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13997         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13998         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13999         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
14000         Likewise.
14001         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
14003         (ld.so): Likewise.
14004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14005         (ld.so): Likewise.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
14007         Likewise.
14008         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
14009         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
14010         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
14011         Likewise.
14012         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
14013         Likewise.
14014         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
14016 2016-11-30  Florian Weimer  <fweimer@redhat.com>
14018         [BZ #4099]
14019         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
14020         _IO_BUFSIZ (8192).
14022 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
14024         * PROJECTS: Remove file.
14026 2016-11-29  Florian Weimer  <fweimer@redhat.com>
14028         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
14030 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
14031             Steve Ellcey  <sellcey@caviumnetworks.com>
14033         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
14034         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
14035         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
14036         fxstatat.
14037         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
14038         lxstat.
14039         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
14040         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
14041         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
14042         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
14043         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
14044         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
14045         __xstat.
14047 2016-11-29  Florian Weimer  <fweimer@redhat.com>
14049         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
14050         Define.
14051         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
14052         definition.
14054 2016-11-29  Florian Weimer  <fweimer@redhat.com>
14056         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
14057         version and turn into strong alias.  Remove compat symbol.
14059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
14060         (__longjmp): Remove.
14062 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
14064         * bits/fp-fast.h: New file.
14065         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
14066         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
14067         * math/Makefile (headers): Add bits/fp-fast.h.
14068         * math/math.h: Include <bits/fp-fast.h>.
14069         * bits/mathdef.h (FP_FAST_FMA): Remove.
14070         (FP_FAST_FMAF): Likewise.
14071         (FP_FAST_FMAL): Likewise.
14072         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
14073         (FP_FAST_FMAF): Likewise.
14074         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
14075         (FP_FAST_FMAF): Likewise.
14076         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
14077         (FP_FAST_FMAF): Likewise.
14078         (FP_FAST_FMAL): Likewise.
14079         * sysdeps/arm/bits/mathdef.h: Remove file.
14080         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
14081         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
14082         * sysdeps/tile/bits/mathdef.h: Likewise.
14084 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
14086         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
14087         * math/w_ilogb.c: Remove.
14088         * math/w_ilogbf.c: Likewise.
14089         * math/w_ilogbl.c: Likewise.
14090         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
14091         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
14092         * math/Makefile (gen-libm-calls): Add w_ilogbF.
14093         (libm-calls): Remove w_ilogbF.
14094         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
14095         (LDOUBLE_ilogbl_libm_version): New macro.
14097         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
14099         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
14100         [!__STRICT_ANSI__ && !__cplusplus].
14102 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
14104         [BZ #20750]
14105         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
14106         of PIC.
14108 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
14109             Yury Norov  <ynorov@caviumnetworks.com>
14110             Steve Ellcey  <sellcey@caviumnetworks.com>
14112         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
14113         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
14114         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
14115         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
14116         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
14117         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
14118         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
14119         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
14120         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
14121         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
14122         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
14123         to get correct reg name for ILP32.
14124         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
14125         (RELA_SIZE): New Macro.
14126         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
14127         to support ILP32.
14128         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
14129         cast for ILP32 mode.
14130         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
14131         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
14132         * sysdeps/aarch64/memset.S (__memset): Ditto.
14133         * sysdeps/aarch64/strchr.S (strchr): Ditto.
14134         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
14135         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
14136         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
14137         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
14138         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
14139         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
14140         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
14141         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
14142         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
14143         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
14144         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
14145         change PTR_MANGLE call to use register numbers instead of names.
14146         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
14147         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
14148         ILP32 mode, change PTR_MANGLE calls to use register numbers.
14149         * sysdeps/aarch64/start.S (_start): Ditto.
14150         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
14151         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
14152         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
14153         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
14154         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
14155         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
14156         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
14157         Make defined values dependent on __ILP32__.
14158         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
14159         (sem_t): Change __align type.
14160         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
14161         PTR_SIZE): New Macros.
14162         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
14163         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
14164         Set when in ILP32 mode.
14165         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
14166         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
14167         Set elf flags for ILP32.
14168         (add_system_dir): Set ILP32 library directories.
14169         * sysdeps/unix/sysv/linux/aarch64/init-first.c
14170         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
14171         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
14172         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
14173         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
14174         New Macros.
14175         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
14177 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
14179         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
14180         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
14181         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
14183 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
14185         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
14186         <asm/cachectl.h>.
14188 2016-11-27  Zack Weinberg  <zackw@panix.com>
14190         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
14191         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
14193 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14195         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
14196         error_t to fix usage in C++ programs.
14198 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
14200         * scripts/build-many-glibcs.py: Import datetime module.
14201         (Context.__init__): Load JSON build state.  Initialize list of
14202         status logs.
14203         (Context.run_builds): Update saved build state.
14204         (Context.add_makefile_cmdlist): Update list of status logs.
14205         (Context.load_build_state_json): New function.
14206         (Context.store_build_state_json): Likewise.
14207         (Context.clear_last_build_state): Likewise.
14208         (Context.update_build_state): Likewise.
14209         (CommandList.status_logs): Likewise.
14211 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
14213         * scripts/build-many-glibcs.py (Context.__init__): Save text of
14214         script being executed.
14215         (Context.get_script_text): New function.
14216         (Context.exec_self): Likewise.
14217         (Context.checkout): Re-exec script if changed by checkout process.
14219 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14221         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14222         (setpayloadsig): New declaration.
14223         * math/Versions (setpayloadsig): New libm symbol at version
14224         GLIBC_2.25.
14225         (setpayloadsigf): Likewise.
14226         (setpayloadsigl): Likewise.
14227         * math/Makefile (libm-calls): Add s_setpayloadsigF.
14228         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
14229         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
14230         (setpayloadsig_test_data): New array.
14231         (setpayloadsig_test): New function.
14232         (main): Call setpayloadsig_test.
14233         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
14234         setpayloadsigf and setpayloadsigl.
14235         * manual/libm-err-tab.pl: Update comment on interfaces without
14236         ulps tabulated.
14237         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
14238         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
14239         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
14240         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
14241         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
14242         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
14243         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14244         setpayloadsig.
14245         (CFLAGS-nldbl-setpayloadsig.c): New variable.
14246         * sysdeps/nacl/libm.abilist: Update.
14247         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14248         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14249         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14250         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14251         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14252         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14253         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14254         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14255         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14256         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14257         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14258         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14260         Likewise.
14261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14262         Likewise.
14263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14264         Likewise.
14265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14266         Likewise.
14267         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14268         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14269         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14270         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14271         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14272         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14273         Likewise.
14274         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14275         Likewise.
14276         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14277         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14278         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14280         * scripts/build-many-glibcs.py: Import json module.
14281         (Context.__init__): Take replace_sources argument.  Load
14282         versions.json.
14283         (Context.load_versions_json): New function.
14284         (Context.store_json): Likewise.
14285         (Context.store_versions_json): Likewise.
14286         (Context.set_component_version): Likewise.
14287         (Context.checkout): Update versions.json.  Check for and handle
14288         changes of version.  Prefer previously explicitly specified
14289         version to default version.
14290         (Context.checkout_vcs): Return a revision identifier.
14291         (Context.git_checkout): Likewise.
14292         (Context.gcc_checkout): Likewise.
14293         (get_parser): Add --replace-sources option.
14294         (main): Pass replace_sources argument to Context call.
14296 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14298         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
14299         * nptl/allocatestack.c (allocate_stack): Likewise.
14300         (__reclaim_stacks): Likewise.
14301         (setxid_signal_thread): Obtain pid through syscall.
14302         * nptl/nptl-init.c (sigcancel_handler): Likewise.
14303         (sighandle_setxid): Likewise.
14304         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
14305         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
14306         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
14307         Likewise.
14308         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
14309         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
14310         comment.
14311         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
14312         * nptl/descr.h (struct pthread): Change comment about pid value.
14313         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
14314         pid assert.
14315         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
14316         Do not set pid value.
14317         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
14318         pid cache check.
14319         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
14320         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
14321         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
14322         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
14323         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
14324         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14325         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
14326         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
14327         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
14328         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
14329         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
14330         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14331         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
14332         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14333         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
14334         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
14335         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14336         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
14337         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
14338         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
14339         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
14340         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14341         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
14342         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
14343         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
14344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
14346         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14347         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
14348         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14349         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
14350         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
14351         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
14352         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14353         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
14354         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14355         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
14356         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14357         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
14358         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
14359         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
14360         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
14361         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
14362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
14363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
14364         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14365         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14366         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14367         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
14368         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
14369         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
14370         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14371         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
14372         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
14373         struct access.
14374         (clone_test): Remove function.
14375         (do_test): Rewrite to take in consideration pid is not cached anymore.
14377 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
14379         * bits/flt-eval-method.h: New file.
14380         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
14381         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
14382         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
14383         * math/Makefile (headers): Add bits/flt-eval-method.h.
14384         * math/math.h: Include <bits/flt-eval-method.h>.
14385         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
14386         [__USE_ISOC99] (double_t): Likewise.
14387         * bits/mathdef.h (float_t): Remove.
14388         (double_t): Likewise.
14389         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
14390         (double_t): Likewise.
14391         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
14392         (double_t): Likewise.
14393         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
14394         (double_t): Likewise.
14395         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
14396         (double_t): Likewise.
14397         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
14398         (double_t): Likewise.
14399         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
14400         (double_t): Likewise.
14401         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
14402         (double_t): Likewise.
14403         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
14404         (double_t): Likewise.
14405         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
14406         (double_t): Likewise.
14407         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
14408         (double_t): Likewise.
14409         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
14410         (double_t): Likewise.
14411         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
14412         (double_t): Likewise.
14413         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
14414         (double_t): Likewise.
14416 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
14418         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
14419         instead of PIC.
14421 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14423         [BZ #20859]
14424         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
14425         (-0x7fffffff) instead of 0x80000001.
14426         * math/test-fp-ilogb-constants.c: New file.
14427         * math/Makefile (tests): Add test-fp-ilogb-constants.
14429 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
14431         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
14432         (_init): Use it in place of hardcoded R_MIPS_JALR.
14433         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
14434         (_init): Use it in place of hardcoded R_MIPS_JALR.
14435         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
14436         (_init): Use it in place of hardcoded R_MIPS_JALR.
14438 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14440         [BZ #20787]
14441         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
14442         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
14443         (double_t): Do not define to double if [__x86_64__] when
14444         __FLT_EVAL_METHOD__ is nonzero.
14445         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
14446         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
14447         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14448         test-flt-eval-method-387 and test-flt-eval-method-sse.
14449         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
14450         variable.
14451         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
14453 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
14455         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
14456         use of -fno-isolate-erroneous-paths options for tilepro.
14458 2016-11-23  Florian Weimer  <fweimer@redhat.com>
14460         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
14461         structure initialization is no longer needed.
14463 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
14465         [BZ #20855]
14466         * bits/mathdef.h (float_t): Define to float.
14467         * math/test-flt-eval-method.c: New file.
14468         * math/Makefile (tests): Add test-flt-eval-method.
14469         (CFLAGS-test-flt-eval-method.c): New variable.
14471 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
14473         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
14474         and __fstatfs.  Make them aliases of __fstatfs64 if
14475         STATFS_IS_STATFS64 is set to non-zero.
14476         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
14477         and __statfs64.
14478         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
14479         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
14480         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
14481         for __statfs and statfs.
14482         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
14483         to 0.
14484         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
14485         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
14486         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
14487         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14488         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14489         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
14492         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
14493         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14494         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
14495         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
14497 2016-11-22  Andreas Schwab  <schwab@suse.de>
14499         * misc/mkstemp.c: Include <fcntl.h>.
14500         * misc/mkstemps.c: Likewise.
14501         * misc/mkostemp.c: Likewise.
14502         * misc/mkostemps.c: Likewise.
14504 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
14506         [BZ #20847]
14507         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
14508         array bounds.
14509         (__execvpe): Likewise.
14511 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
14513         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
14514         -fno-isolate-erroneous-paths options for tilepro.
14516 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
14518         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
14519         to 0 when in 32 bit mode.
14520         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
14521         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
14522         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
14523         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
14524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
14525         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
14526         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
14527         XSTAT_IS_XSTAT64 test.
14528         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
14529         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
14530         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
14531         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
14532         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
14533         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
14534         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
14535         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
14536         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
14537         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
14538         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
14540 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
14542         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14543         (setpayload): New declaration.
14544         * math/Versions (setpayload): New libm symbol at version
14545         GLIBC_2.25.
14546         (setpayloadf): Likewise.
14547         (setpayloadl): Likewise.
14548         * math/Makefile (libm-calls): Add s_setpayloadF.
14549         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
14550         test_Ff_b1_data.
14551         (RUN_TEST_Ff_b1): New macro.
14552         (RUN_TEST_LOOP_Ff_b1): Likewise.
14553         (canonicalize_test_data): Update type.
14554         (setpayload_test_data): New array.
14555         (setpayload_test): New function.
14556         (main): Call setpayload_test.
14557         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
14558         setpayloadf and setpayloadl.
14559         * manual/libm-err-tab.pl: Update comment on interfaces without
14560         ulps tabulated.
14561         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
14562         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
14563         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
14564         Likewise.
14565         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
14566         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
14570         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
14571         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
14572         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
14573         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
14574         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14575         setpayload.
14576         (CFLAGS-nldbl-setpayload.c): New variable.
14577         * sysdeps/nacl/libm.abilist: Update.
14578         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14579         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14580         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14581         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14582         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14587         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14588         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14589         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14591         Likewise.
14592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14593         Likewise.
14594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14595         Likewise.
14596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14597         Likewise.
14598         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14599         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14600         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14601         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14602         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14604         Likewise.
14605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14606         Likewise.
14607         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14608         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14609         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14611 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14613         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
14614         * include/unistd.h: Extend comment about __access_noerrno return
14615         semantics.
14616         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
14617         (access_common): Correct typo for EACCES.
14619 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
14621         * sysdeps/tile/math-tests.h: New file.
14623         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
14624         (__old_set_dataplane): Rename from set_dataplane and make a
14625         compatibility symbol.
14626         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
14627         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
14628         sys/dataplane.h.
14630 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
14632         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
14633         script quote words in command output to log suitably for input to
14634         the shell.
14636 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
14637             Maciej W. Rozycki  <macro@imgtec.com>
14639         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
14640         `.Lno_weak_fn' label.
14641         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
14642         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
14644 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14645             Yury Norov  <ynorov@caviumnetworks.com>
14647         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
14648         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
14649         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14650         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
14651         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14652         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
14653         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14654         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14655         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14656         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
14657         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
14658         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
14659         (sysdep_routines): Remove oldgetrlimit64.
14660         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
14661         (sysdep_routines): Likewise.
14662         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
14663         (sysdep_routines): Likewise.
14664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
14665         [$(subdir) = resource] (sysdep_routines): Likewise.
14666         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
14667         [$(subdir) = resource] (sysdep_routines): Likewise.
14668         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
14669         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
14670         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
14671         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
14672         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
14673         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
14674         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
14675         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
14676         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
14677         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
14678         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
14679         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
14680         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
14681         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
14682         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
14683         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
14684         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
14685         setrlimit and getrlimit.
14686         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
14687         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
14688         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
14689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
14691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
14692         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
14693         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
14694         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14695         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
14696         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
14697         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
14698         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
14699         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
14700         (__old_getrlimit64): Add compatibility symbol.
14701         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
14703 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
14705         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
14706         newly built gmp, mpfr and mpc.
14708         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
14710 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14712         * conform/Makefile (linknamespace-libs): Rename to
14713         linknamespace-libs-thr.
14714         (linknamespace-libs-posix): New variable.
14715         (linknamespace-libs-xsi): Likewise.
14716         (linknamespace-libs-XPG3): Include libcrypt.a.
14717         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
14718         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
14719         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
14720         (linknamespace-libs-XOPEN2K): Likewise.
14721         (linknamespace-libs-XOPEN2K8): Likewise.
14722         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
14724         [BZ #20829]
14725         * stdio-common/Versions (__snprintf): Add to version
14726         GLIBC_PRIVATE.
14727         * include/stdio.h (__snprintf): Use libc_hidden_proto.
14728         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
14729         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
14730         of snprintf.
14731         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
14733 2016-11-16  Zack Weinberg  <zackw@panix.com>
14735         * string/string.h: Remove obsolete comment stating that
14736         strcoll_l and strxfrm_l have not yet been standardized.
14738 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14740         * hurd/hurd.h (__hurd_fail_noerrno): New function.
14741         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
14742         __access_noerrno.
14743         * io/access.c (__access_noerrno): New function.
14744         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
14745         (hurd_fail_seterrno): Likewise.
14746         (access_common): Likewise.
14747         (__access_noerrno): Likewise.
14748         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
14749         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
14750         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
14751         macro.
14753 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
14755         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
14756         Only declare fpregs if [__SH_FPU_ANY__].
14758 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
14760         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
14761         Make code unconditional.
14762         [!(__SH4__ || __SH4A__)]: Remove conditional code.
14764 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
14766         * manual/sysinfo.texi (S_APPEND): Delete.
14767         (S_IMMUTABLE): Likewise.
14769 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
14770             Magnus Granberg  <zorry@gentoo.org>
14771             Mike Frysinger  <vapier@gentoo.org>
14773         [BZ #20662]
14774         * configure.ac (libc_cv_predef_stack_protector): Also check for
14775         __stack_chk_fail_local symbols.
14776         * configure: Regenerated.
14778 2016-11-15  Florian Weimer  <fweimer@redhat.com>
14780         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14781         (libc_hidden_def): Remove redefinition.
14782         (__sigsetjmp): Add hidden definition.
14783         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
14784         (libc_hidden_def): Remove redefinition.
14785         (__sigsetjmp): Add hidden definition.
14787 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
14789         * scripts/build-many-glibcs.py (os.path): Do not import.
14790         (Context): Inherit explicitly from object.  Remove blank line
14791         between class and docstring.
14792         (Config): Likewise.
14793         (Glibc): Likewise.
14794         (Command): Likewise.
14795         (CommandList): Likewise.
14796         (Context.write_files): Store chmod mode in a variable.
14798         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
14799         LIBC_SLIBDIR_RTLDDIR for tilegx32.
14800         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
14802 2016-11-14  Zack Weinberg  <zackw@panix.com>
14804         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
14805         creating or re-creating it.
14807         * string/bits/string2.h: Fix typo in comment.
14809 2016-11-14  Zack Weinberg  <zackw@panix.com>
14811         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
14812         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
14813         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
14814         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
14815         of redirected function names.
14817         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
14818         as well.  Document that MESSAGE must be a single string literal.
14820 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
14822         * scripts/build-many-glibcs.py: New file.
14824         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
14825         (do_test): Disable -Wmaybe-uninitialized around uses of
14826         except_mask.
14828         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
14830 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
14832         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
14833         (atomic_store_release): Provide tilepro-specific implementations.
14835 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
14837         * math/math.h (__MATH_TG): New macro.
14838         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
14839         [__USE_ISOC99] (signbit): Likewise.
14840         [__USE_ISOC99] (isfinite): Likewise.
14841         [__USE_ISOC99] (isnan): Likewise.
14842         [__USE_ISOC99] (isinf): Likewise.
14843         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
14844         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
14845         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
14846         __MATH_TG and __MATH_EVAL_FMT2.
14847         * sysdeps/generic/math_private.h (fabs_tg): Define using
14848         __MATH_TG.
14849         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
14850         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
14851         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
14852         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
14853         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
14854         macro.
14855         (__iscanonical): Likewise.
14856         (iscanonical): Define using __MATH_TG.
14858 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14860         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14861         guards.
14863         * sysdeps/unix/sysv/linux/access.c: New file.
14864         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14866 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14868         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14869         and __WORDSIZE32_PTRDIFF_LONG.
14871 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14873         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14875 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14877         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14878         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14879         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14880         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14881         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14883         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14884         * sysdeps/unix/sysv/linux/truncate.c: New file.
14885         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14886         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14887         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14888         Remove.
14889         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14890         Likewise.
14892         * posix/tst-truncate-common.c: New file.
14893         * posix/tst-truncate.c: Use tst-truncate-common.c.
14894         * posix/tst-truncate64.c: Likewise and add LFS tests.
14895         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14896         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14897         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14898         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14899         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14901         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14902         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14903         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14904         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14905         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14906         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14907         Remove.
14908         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14909         Likewise.
14911 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14913         [BZ #20790]
14914         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14915         to MAXLINESIZE.
14916         * sunrpc/bug20790.x: New file.
14917         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14918         variable.
14919         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14920         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14922         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14924         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14926         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14927         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14928         calloc, realloc, free, memalign and __libc_memalign rather than
14929         making them optional.
14931         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14932         for libc.so.
14934 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14936         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14937         ptw-lseek64.
14938         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14939         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14940         Likewise.
14941         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14942         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14943         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14944         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14945         * sysdeps/unix/sysv/linux/lseek.c: New file.
14946         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14947         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14948         __libc_lseek64 from auto-generation.
14949         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14950         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14952 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14954         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14955         * nptl/tst-cleanup1.c (do_test): Likewise.
14956         * nptl/tst-cleanup3.c (do_test): Likewise.
14957         * nptl/tst-key1.c (do_test): Likewise.
14958         * nptl/tst-key2.c (tf, do_test): Likewise.
14959         * nptl/tst-key3.c (tf, do_test): Likewise.
14960         * nptl/tst-stdio1.c (do_test): Likewise.
14961         * nptl/tst-stdio2.c (do_test): Likewise.
14963         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14964         * nptl/tst-kill6.c (handler): Likewise.
14965         * nptl/tst-tls2.c (CB): Likewise.
14966         * nptl/tst-tls3.c (CB): Likewise.
14968 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14970         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14972 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14973             Steve Ellcey  <sellcey@caviumnetworks.com>
14975         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14976           __ASSUME_ST_INO_64_BIT as 0
14977         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14978         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14979           over the code where __ASSUME_ST_INO_64_BIT is used.
14980         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14981         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14982         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14984 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14986         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14987         Document ABI exposure of the __kind offset.
14988         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14989         Mention reason for the __kind offset exposure in the ABI.
14990         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14991         Likewise.
14992         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14993         Likewise.
14994         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14995         Likewise.
14996         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14997         (struct __pthread_mutex_s): Likewise.
14998         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14999         Likewise.
15000         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15001         Likewise.
15002         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15003         Likewise.
15004         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15005         Likewise.
15006         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15007         Likewise.
15008         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
15009         Likewise.
15010         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
15011         (struct __pthread_mutex_s): Likewise.
15012         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15013         (struct __pthread_mutex_s): Likewise.
15014         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
15015         Likewise.
15017 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
15019         * test-skeleton.c: Document do_test usage.
15021 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
15023         * iconv/gconv.h (__gconv_info): Define __data element using a
15024         zero-length array.
15026 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
15028         * math/test-tgmath2.c: Split up test function.
15030 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15032         * Rules (tests-expected): New variable, depending on
15033         $(run-built-tests).
15034         (tests): Pass $(tests-expected) to merge-test-results.sh, not
15035         $(tests).
15037         * Rules [$(run-built-tests) = no] (tests): Do not depend on
15038         $(tests-unsupported).
15040 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15042         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
15043         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
15045 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15047         [BZ #20768]
15048         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
15049         __fegetenv instead of fegetenv.
15051         [BZ #14139]
15052         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
15053         (find_files): Obtain platform name from libm-test-ulps-name and
15054         store in %pplatforms.
15055         (canonicalize_platform): Remove.
15056         (print_platforms): Use $pplatforms directly.
15057         (by_platforms): Do not allow for platforms missing from
15058         %pplatforms.
15059         * sysdeps/aarch64/libm-test-ulps-name: New file.
15060         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
15061         * sysdeps/arm/libm-test-ulps-name: Likewise.
15062         * sysdeps/generic/libm-test-ulps-name: Likewise.
15063         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
15064         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
15065         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
15066         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
15067         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
15068         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
15069         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
15070         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
15071         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
15072         * sysdeps/nios2/libm-test-ulps-name: Likewise.
15073         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
15074         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
15075         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
15076         * sysdeps/sh/libm-test-ulps-name: Likewise.
15077         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
15078         * sysdeps/tile/libm-test-ulps-name: Likewise.
15079         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
15081         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
15083         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
15084         (test-xfail-check-execstack): New variable.
15086         * sysdeps/mips/localplt.data: New file.
15088 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
15089             Steve Ellcey  <sellcey@caviumnetworks.com>
15091         * bits/wordsize.h: Add documentation.
15092         * sysdeps/aarch64/bits/wordsize.h : New file
15093         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
15094         definitions.
15095         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
15096         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
15097         with #if instead of #ifdef.
15098         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
15099         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
15100         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
15101         Add or change defines.
15102         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
15103         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
15104         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
15105         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
15106         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
15107         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
15108         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
15109         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
15110         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
15111         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
15112         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
15113         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
15114         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
15115         * sysdeps/x86/bits/wordsize.h: Likewise.
15117 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
15118             Kevin Petit  <kevin.petit@arm.com>
15120         * sysdeps/aarch64/memchr.S (__memchr): New file.
15122 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
15124         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
15126 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
15128         [BZ #19398]
15129         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
15130         $(linknamespace-symlists-tests).
15132 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
15134         * time/tst-strptime2.c: Ignore -Wformat-length warning.
15136 2016-11-02  Florian Weimer  <fweimer@redhat.com>
15137             Carlos O'Donell  <carlos@redhat.com>
15139         [Bug #20729]
15140         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
15141         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
15142         for -Os related change.
15144 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
15146         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
15148 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
15150         [BZ #19673]
15151         * manual/math.texi (Exponents and Logarithms): Correct description
15152         of clog10.
15154 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
15156         [Bz #20729]
15157         * locale/weight.h: Include libc-internal.h.
15158         * locale/weightwc.h: Likewise.
15159         * nptl/nptl_dbP.h: Likewise.
15161 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
15163         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
15164         when it is MACH_PORT_NULL.
15166 2016-10-31  Andreas Schwab  <schwab@suse.de>
15168         [BZ #20707]
15169         * posix/glob.c (glob): Initialize pglob before checking for
15170         GLOB_BRACE.  Don't call glob recursively if pattern contains no
15171         valid brace expression despite GLOB_BRACE.
15172         * posix/globtest.sh: Test it.
15174 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15176         [BZ #20729]
15177         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
15178         Define.
15179         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
15180         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
15181         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
15182         for seq2.back_us and seq1.back_us only for -Os compiles.
15183         * locale/weightwc.h (findix): Likewise.
15184         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
15185         DB_GET_FIELD_ADDRESS only for -Os compiles.
15186         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
15187         for slen only for -Os compiles.
15188         * string/strcoll_l.c (get_next_seq): Ignore
15189         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
15190         for -Os compiles.
15192         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
15193         * include/crypt.h: New file.
15195 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15197         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
15198         from test-skeleton.c.
15199         (statclass): Replace calls to write with calls to write_message.
15201 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15203         * math/math.h
15204         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
15205         New macro.
15206         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
15207         Likewise.
15208         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
15209         Likewise.
15210         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
15211         SNANL.
15212         * math/test-double.h (snan_value_MACRO): New macro.
15213         * math/test-float.h (snan_value_MACRO): Likewise.
15214         * math/test-ldouble.h (snan_value_MACRO): Likewise.
15215         * math/libm-test.inc (issignaling_test_data): Add tests of
15216         snan_value_MACRO.
15218 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15220         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
15221         behavior when eliding a lock not held by the current thread.
15222         * sysdeps/powerpc/nptl/elide.h: Likewise.
15224 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15226         [BZ #20728]
15227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
15228         branch to _exit() by a function call.
15230 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15232         * malloc/malloc.c: Update chunk layout comments.
15233         (chunk_main_arena): Update comment.
15235 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15237         * crypt/sha256.c, crypt/sha256-block.c,
15238         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
15239         sha256_process_block to __sha256_process_block.
15240         * crypt/sha512.c, crypt/sha512-block.c,
15241         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
15242         sha512_process_block to __sha512_process_block.
15244 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
15246         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
15248         * math/test-nan-overflow.c: Include stdlib.h for malloc.
15250 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
15252         [BZ #20019]
15253         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
15254         definition in unrelocated shared library.
15255         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15257 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15259         [BZ #20729]
15260         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
15261         * sysdeps/unix/sysv/linux/i386/Makefile
15262         (uses-6-syscall-arguments): Define.
15263         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
15264         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
15265         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
15266         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
15267         Likewise.
15268         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
15269         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
15270         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
15271         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
15272         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
15273         (CFLAGS-fallocate64.os): Likewise.
15274         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
15275         (CFLAGS-pthread_rwlock_timedrdlock.os)
15276         (CFLAGS-pthread_rwlock_timedwrlock.o)
15277         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
15278         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
15279         (CFLAGS-sem_timedwait.os): Likewise.
15281 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15283         * elf/tst-linkall-static.c: New file.
15284         * elf/Makefile (tests-static): Add tst-linkall-static.
15285         (tst-linkall-static): Link against static libraries.
15287 2016-10-27  Florian Weimer  <fweimer@redhat.com>
15289         * malloc/malloc.c (sysmalloc): Initialize previous size field of
15290         mmaped chunks.
15292 2016-10-28  Florian Weimer  <fweimer@redhat.com>
15294         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
15295         members to mchunk_prev_size, mchunk_size.
15296         (chunk_main_arena): Reverse sense and rename from
15297         chunk_non_main_arena.
15298         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
15299         mchunk_size instead of size.
15300         (set_non_main_arena): Define.
15301         (chunksize): Use chunksize_nomask instead of direct member access.
15302         (chunksize_nomask): Define.
15303         (next_chunk): Use chunksize instead of direct member access.
15304         (prev_size, set_prev_size): Define.
15305         (prev_chunk): Use prev_size instead of direct member access.
15306         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
15307         (inuse_bit_at_offset, set_inuse_bit_at_offset)
15308         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
15309         (mchunk_prev_size, mchunk_size): Poison tokens.
15310         (unlink): Use chunksize_nomask, prev_size accessors.
15311         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
15312         (do_check_free_chunk): Use prev_size accessor.
15313         (sysmalloc): Use set_prev_size, set_head accessors.
15314         (munmap_chunk, mremap_chunk): Use prev_size accessor.
15315         (__libc_free): Use chunksize_nomask accessor.
15316         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
15317         chunk_main_arena accessors.
15318         (_int_free): Use chunksize_nomask, prev_size accessors.
15319         (malloc_consolidate): Use chunksize, prev_size accessors.
15320         (_int_realloc): Use chunksize_nomask accessor.
15321         (_int_memalign): Use set_prev_size accessor.
15322         (__malloc_info): Use chunksize_nomask accessor.
15323         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
15324         accessors.
15325         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
15326         (heap_trim): Use chunksize_nomask, prev_size accessors.
15328 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
15330         [BZ #19380]
15331         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
15332         for inexact results.
15333         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
15334         of inexact result where mpfr_subnormalize is the only inexact
15335         step.
15336         * stdlib/tst-strtod-round-data.h: Regenerated.
15337         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
15338         Define to 0.
15339         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
15341 2016-10-27  David S. Miller  <davem@davemloft.net>
15343         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
15345 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15347         * malloc/malloc.c (do_set_mallopt_check): New function.
15348         (do_set_mmap_threshold): Likewise.
15349         (do_set_mmaps_max): Likewise.
15350         (do_set_top_pad): Likewise.
15351         (do_set_perturb_byte): Likewise.
15352         (do_set_trim_threshold): Likewise.
15353         (do_set_arena_max): Likewise.
15354         (do_set_arena_test): Likewise.
15355         (__libc_mallopt): Use them.
15357 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
15359         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15360         (canonicalize): New declaration.
15361         * math/Versions (canonicalize): New libm symbol at version
15362         GLIBC_2.25.
15363         (canonicalizef): Likewise.
15364         (canonicalizel): Likewise.
15365         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
15366         * math/s_canonicalize_template.c: New file.
15367         * math/libm-test.inc: Update comment on functions tested and
15368         testing of NaN payloads.
15369         (TEST_NAN_PAYLOAD): New macro.
15370         (NO_TEST_INLINE): Update value.
15371         (XFAIL_TEST): Likewise.
15372         (ERRNO_UNCHANGED): Likewise.
15373         (ERRNO_EDOM): Likewise.
15374         (ERRNO_ERANGE): Likewise.
15375         (IGNORE_RESULT): Likewise.
15376         (NON_FINITE): Likewise.
15377         (TEST_SNAN): Likewise.
15378         (NO_TEST_MATHVEC): Likewise.
15379         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
15380         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
15381         (struct test_Ffp_b1_data): New type.
15382         (RUN_TEST_Ffp_b1): New macro.
15383         (RUN_TEST_LOOP_Ffp_b1): Likewise.
15384         (canonicalize_test_data): New array.
15385         (canonicalize_test): New function.
15386         (main): Call canonicalize_test.
15387         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
15388         canonicalizef and canonicalizel.
15389         * manual/libm-err-tab.pl: Update comment on interfaces without
15390         ulps tabulated.
15391         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
15392         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
15393         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15394         canonicalize.
15395         (CFLAGS-nldbl-canonicalize.c): New variable.
15396         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
15397         to ...
15398         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
15399         ... here.
15400         (do_test): Also test canonicalizel.
15401         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
15402         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
15403         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
15404         file.
15405         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
15406         Use libm_hidden_def.
15407         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
15408         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
15409         (do_test): Also test canonicalizel.
15410         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
15411         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
15412         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
15413         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
15414         libm_hidden_def.
15415         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
15416         macro.
15417         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
15418         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
15419         * sysdeps/nacl/libm.abilist: Update.
15420         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15421         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15422         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15423         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15424         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15425         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15426         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15427         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15428         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15429         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15430         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15431         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15433         Likewise.
15434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15435         Likewise.
15436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15437         Likewise.
15438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15439         Likewise.
15440         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15441         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15442         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15443         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15444         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15446         Likewise.
15447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15448         Likewise.
15449         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15450         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15451         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15453         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
15454         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15455         getpayload.
15456         (CFLAGS-nldbl-getpayload.c): New variable.
15458 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15460         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
15461         integer from the format string.
15463 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15465         [BZ #19473]
15466         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
15467         declarations.
15468         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
15469         weak aliases.
15470         * malloc/hooks.c (__malloc_get_state): Remove definition.
15471         (malloc_get_state): New stub implementation as
15472         compatibility symbol.
15473         (malloc_set_state): Rename from __malloc_set_state.  Turn into
15474         compat symbol.
15475         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
15476         malloc_set_state.
15477         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
15479 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15481         * iconvdata/iso646.c (enum variant): Drop illegal_var.
15482         (names): Turn into concatenation of strings.
15483         (gconv_init): Adapt iteration over names.
15485 2016-10-26  Florian Weimer  <fweimer@redhat.com>
15487         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
15488         make const.
15489         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
15490         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
15491         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
15492         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
15493         character in sbconv.
15494         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
15495         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
15496         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
15498 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15500         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
15502         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
15503         (M_TRIM_THRESHOLD): Likewise.
15505         * manual/memory.texi (M_ARENA_TEST): Add documentation.
15506         (M_ARENA_MAX): Likewise.
15507         * malloc/malloc.c: Remove obsolete comment.
15509         * manual/memory.texi: Add environment variable alternatives to
15510         setting mallopt parameters.
15512 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
15514         * include/atomic.h
15515         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
15516         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
15518 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15520         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
15521         * stdlib/tst-strfrom.h: New file.
15522         * stdlib/tst-strfrom.c: New file.
15523         * stdlib/tst-strfrom-locale.c: New file.
15525         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
15526         * stdlib/bug-strtod2.c: Likewise.
15527         * stdlib/tst-strtod-round-skeleton.c: Likewise.
15528         * stdlib/tst-strtod6.c: Likewise.
15529         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
15531 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15533         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
15534         * manual/arith.texi: Document strfromd, strfromf, strfroml.
15535         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
15536         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
15537         * stdlib/stdlib.h (strfromd): New declaration.
15538         (strfromf): Likewise.
15539         (strfroml): Likewise.
15540         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
15541         strfrom.
15542         * stdlib/strfromd.c: New file.
15543         * stdlib/strfromf.c: Likewise.
15544         * stdlib/strfroml.c: Likewise.
15545         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
15546         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
15547         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
15548         * sysdeps/arm/nacl/libc.abilist: Update.
15549         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
15550         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
15551         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
15552         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
15553         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
15554         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
15555         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
15556         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
15557         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
15558         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
15559         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
15560         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15561         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15562         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
15565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15567         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15568         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15569         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15570         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15571         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
15573         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
15574         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15575         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15576         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15578 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
15580         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
15581         instead of cmpli.
15582         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
15583         instead of cmpli.
15585 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
15587         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
15588         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
15589         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
15590         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
15591         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
15592         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
15594 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15596         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
15597         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
15598         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
15599         SYSCALL_LL64_PRW.
15600         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
15601         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
15602         __ASSUME_PRW_DUMMY_ARG.
15603         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
15604         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
15605         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
15606         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
15607         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
15608         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
15610 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
15612         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
15614 2016-10-22  Florian Weimer  <fweimer@redhat.com>
15616         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
15617         "C++", to override a potential extern "C" directive around the
15618         header file inclusion.
15620 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
15622         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
15624 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15626         * sysdeps/powerpc/fpu/fenv_private.h:
15627         (_FPU_MASK_ALL): Rename to...
15628         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
15629         XE FPSCR bits.
15631         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
15633         (_FPU_MASK_ROUNDING): Rename to...
15634         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
15635         NI bits.
15637         (_FPU_MASK_EXCEPT_ROUND): Rename to...
15638         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
15639         bits and rounding bits.
15641         (__libc_feholdbits_ppc): New inline function to mask, set,
15642         and pontentially clear FSPCR bits, and change MSR[FE] bits.
15643         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
15644         (libc_feholdexcept_setround_ppc): Likewise.
15646         (__libc_femergeenv_ppc): New function to dynamically mask both
15647         old and new FP environments and merge.
15648         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
15649         (libc_feresetround_ppc): Likewise.
15650         (libc_feupdateenv_test_ppc): Likewise.
15651         (libc_feupdateenv_ppc): Likewise.
15653         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
15654         of ISA RN bits, and update macro names.
15655         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
15656         effectively the same as the previously mentioned function.
15658         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
15659         usage with fe_resetround_ppc.
15661         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
15662         to be used.
15663         (libc_feholdexcept_setround_ctxf): Likewise.
15664         (libc_feholdexcept_setround_ctxl): Likewise.
15666 2016-10-21  Florian Weimer  <fweimer@redhat.com>
15668         [BZ #20715]
15669         * math/math.h [__cplusplus] (iszero): Define as function template.
15670         * math/Makefile [CXX] (tests): Add test-math-iszero.
15671         (CFLAGS-test-math-iszero.cc): Set.
15672         * math/test-math-iszero.cc: New file.
15674 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
15676         [BZ #20660]
15677         * sysdeps/arm/e_sqrt.c: New file.
15678         * sysdeps/arm/e_sqrtf.c: Likewise.
15680 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
15682         [BZ #20718]
15683         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
15684         not use floating-point comparisons to test sign.
15685         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
15686         Likewise.
15688         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15689         (getpayload): New declaration.
15690         * math/Versions (getpayload): New libm symbol at version
15691         GLIBC_2.25.
15692         (getpayloadf): Likewise.
15693         (getpayloadl): Likewise.
15694         * math/Makefile (libm-calls): Add s_getpayloadF.
15695         * math/libm-test.inc: Include <nan-high-order-bit.h>.
15696         (struct test_f_f_data): Add comment.
15697         (RUN_TEST_fp_f): New macro.
15698         (RUN_TEST_LOOP_fp_f): Likewise.
15699         (getpayload_test_data): New array.
15700         (getpayload_test): New function.
15701         (main): Call getpayload_test.
15702         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
15703         descriptor.
15704         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
15705         getpayloadf and getpayloadl.
15706         * manual/libm-err-tab.pl: Update comment on interfaces without
15707         ulps tabulated.
15708         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
15709         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
15710         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
15711         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
15712         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
15713         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
15714         * sysdeps/nacl/libm.abilist: Update.
15715         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15716         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15717         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15718         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15719         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15720         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15721         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15722         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15723         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15724         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15725         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15726         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15728         Likewise.
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15730         Likewise.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15734         Likewise.
15735         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15736         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15737         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15738         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15739         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15741         Likewise.
15742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15743         Likewise.
15744         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15745         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15746         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15748 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15750         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
15751         tst-fallocate{64}.
15752         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
15753         on syscall return.
15755 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
15757         [BZ #20689]
15758         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
15759         usable.
15761 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
15763         * sysdeps/generic/nan-high-order-bit.h: New file.
15764         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
15765         * sysdeps/mips/nan-high-order-bit.h: Likewise.
15766         * sysdeps/hppa/math_private.h: Remove file.
15767         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
15768         not define here.
15769         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
15770         <nan-high-order-bit.h>.
15771         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15772         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
15773         <nan-high-order-bit.h>.
15774         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15775         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
15776         <nan-high-order-bit.h>.
15777         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15778         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
15779         <nan-high-order-bit.h>.
15780         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15781         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
15782         <nan-high-order-bit.h>.
15783         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15784         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
15785         <nan-high-order-bit.h>.
15786         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15787         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
15788         <nan-high-order-bit.h>.
15789         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15790         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
15791         <nan-high-order-bit.h>.
15792         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15793         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
15794         <nan-high-order-bit.h>.
15795         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15796         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
15797         <nan-high-order-bit.h>.
15798         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15799         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
15800         <nan-high-order-bit.h>.
15801         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15802         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
15803         <nan-high-order-bit.h>.
15804         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15805         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
15806         <nan-high-order-bit.h>.
15807         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15808         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
15809         <nan-high-order-bit.h>.
15810         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15811         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
15812         <nan-high-order-bit.h>.
15813         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15814         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
15815         <nan-high-order-bit.h>.
15816         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15817         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
15818         <nan-high-order-bit.h>.
15819         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15820         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
15821         <nan-high-order-bit.h>.
15822         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
15824 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
15826         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
15828 2016-09-22  John David Anglin  <dave.anglin@bell.net>
15830         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
15831         abort-instr.h.
15832         (EFAULT): Remove conditional define.
15833         (ENOSYS): Likewise.
15834         (atomic_compare_and_exchange_val_acq): Use instruction nullification
15835         instead of conditional branch instructions.
15837 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
15839         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15840         (totalordermag): New declaration.
15841         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
15842         New macro.
15843         * math/Versions (totalordermag): New libm symbol at version
15844         GLIBC_2.25.
15845         (totalordermagf): Likewise.
15846         (totalordermagl): Likewise.
15847         * math/Makefile (libm-calls): Add s_totalordermagF.
15848         * math/libm-test.inc (totalordermag_test_data): New array.
15849         (totalordermag_test): New function.
15850         (main): Call totalordermag_test.
15851         * math/test-tgmath.c (NCALLS): Increase to 125.
15852         (F(compile_test)): Call totalordermag.
15853         (F(totalordermag)): New function.
15854         * manual/arith.texi (FP Comparison Functions): Document
15855         totalordermag, totalordermagf and totalordermagl.
15856         * manual/libm-err-tab.pl: Update comment on interfaces without
15857         ulps tabulated.
15858         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15859         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15860         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15861         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15862         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15863         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15864         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15865         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15866         totalordermag.
15867         (CFLAGS-nldbl-totalordermag.c): New variable.
15868         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15869         (do_test): Also test totalordermagl.
15870         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15871         Likewise.
15872         * sysdeps/nacl/libm.abilist: Update.
15873         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15874         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15875         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15876         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15877         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15878         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15879         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15880         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15881         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15882         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15883         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15884         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15886         Likewise.
15887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15888         Likewise.
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15890         Likewise.
15891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15892         Likewise.
15893         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15894         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15895         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15896         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15897         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15898         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15899         Likewise.
15900         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15901         Likewise.
15902         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15903         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15904         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15906 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15908         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15909         boolean.
15911 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15913         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15914         raising FE_INVALID with feraisexcept in case where part of
15915         argument is infinite, subtract that part of argument from itself.
15916         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15917         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15918         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15920 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15922         * math/libm-test.inc (totalorder_test_data): Add more tests.
15924 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15926         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15927         Undefine weak_alias and add a comment why mips64 require
15928         versioning.
15930 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15932         [BZ #20647]
15933         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15934         maximum CPUID level is less than 2.
15936 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15938         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15939         (totalorder): New declaration.
15940         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15941         New macro.
15942         * math/Versions (totalorder): New libm symbol at version
15943         GLIBC_2.25.
15944         (totalorderf): Likewise.
15945         (totalorderl): Likewise.
15946         * math/Makefile (libm-calls): Add s_totalorderF.
15947         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15948         string.
15949         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15950         (qnan_value_pl): Likewise.
15951         (snan_value_pl): Likewise.
15952         (qnan_value): Define using qnan_value_pl.
15953         (snan_value): Define using snan_value_pl.
15954         (struct test_ff_i_data): Add comment about which tests use this
15955         structure.
15956         (RUN_TEST_ff_b): New macro.
15957         (RUN_TEST_LOOP_ff_b): Likewise.
15958         (totalorder_test_data): New array.
15959         (totalorder_test): New function.
15960         (main): Call totalorder_test.
15961         * math/test-tgmath.c (NCALLS): Increase to 122.
15962         (F(compile_test)): Call totalorder.
15963         (F(totalorder)): New function.
15964         * manual/arith.texi (FP Comparison Functions): Document
15965         totalorder, totalorderf and totalorderl.
15966         * manual/libm-err-tab.pl: Update comment on interfaces without
15967         ulps tabulated.
15968         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15969         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15970         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15971         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15972         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15973         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15974         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15975         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15976         totalorder.
15977         (CFLAGS-nldbl-totalorder.c): New variable.
15978         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15979         file.
15980         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15981         Add test-totalorderl-ldbl-128ibm.
15982         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15983         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15984         test-totalorderl-ldbl-96.
15985         * sysdeps/nacl/libm.abilist: Update.
15986         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15987         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15988         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15989         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15990         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15991         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15992         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15993         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15994         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15995         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15996         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15997         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15999         Likewise.
16000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16001         Likewise.
16002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16003         Likewise.
16004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16005         Likewise.
16006         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16007         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16008         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16009         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16010         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16011         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16012         Likewise.
16013         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16014         Likewise.
16015         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16016         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16017         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16019 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16021         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
16022         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
16023         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
16024         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
16025         remove ENOSYS implementation.
16026         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
16027         Consolidate all Linux implementations.
16029 2016-10-11  Florian Weimer  <fweimer@redhat.com>
16031         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
16032         * resolv/herror.c (herror): Cast away const-ness.
16033         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
16034         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
16036 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
16038         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
16039         instead of M_NAN + M_NAN.
16040         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
16042 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16044         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
16045         unused variable 'p'.
16047 2016-10-09  Alan Modra  <amodra@gmail.com>
16048             Andreas Schwab  <schwab@linux-m68k.org>
16050         [BZ #20554]
16051         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
16052         [PIC && !SHARED]: Set up PIC register for PLT call.
16054 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
16056         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
16057         conditional on value of [__FLT_EVAL_METHOD__].
16058         * math/test-iseqsig-excess-precision.c: New file.
16059         * math/Makefile (tests): Add test-iseqsig-excess-precision.
16061 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16063         * math/s_iseqsig_template.c: Include math-private.h.
16065         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
16066         * posix/tst-posix_fadvise.c: New file.
16067         * posix/tst-posix_fadvise64.c: Likewise.
16068         * posix/tst-posix_fadvise-common.c: Likewise.
16069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16070         (__ASSUME_FADVISE64_64_6ARG): Define.
16071         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
16072         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
16073         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16074         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
16075         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
16076         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
16077         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
16078         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
16079         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
16080         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
16081         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
16082         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
16083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
16084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
16085         Likewise.
16086         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
16087         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
16088         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
16089         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16090         Alias to __posix_fadvise64_l32.
16091         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
16092         Add compat definition to posix_fadvise64.
16093         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
16094         Add versioned definition to posix_fadvise64.
16095         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
16096         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
16097         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
16098         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
16099         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
16101         * io/Makefile (tests): Add tst-posix_fallocate and
16102         tst-posix_fallocate64.
16103         * io/tst-posix_fallocate-common.c: New file.
16104         * io/tst-posix_fallocate.c: Likewise.
16105         * io/tst-posix_fallocate64.c: Likewise.
16106         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
16107         file.
16108         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
16109         Likewise.
16110         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
16111         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
16112         Likewise.
16113         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
16114         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
16115         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
16116         SYSCALL_LL to pass both offset and len arguments.
16117         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
16118         Likewise.
16119         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
16120         __libc_pwrite64 alias used by posix_fallocate64.
16122         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16123         tst-fallocate64.
16124         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16125         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16126         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16127         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16128         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16129         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16130         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16131         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16132         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16133         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16134         macro on offset argument.
16135         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16136         SYSCALL_LL64 on offset argument.
16138         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
16139         tst-fallocate64.
16140         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
16141         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
16142         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
16143         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
16144         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
16145         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
16146         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
16147         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
16148         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
16149         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
16150         macro on offset argument.
16151         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
16152         SYSCALL_LL64 on offset argument.
16153         * test-skeleton.c (FAIL_RET): Add macro.
16154         (FAIL_EXIT): Likewise.
16155         (FAIL_EXIT1): Likewise.
16156         (_FAIL): Likewise.
16158 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16160         [BZ #20629]
16161         resolv: Remove RES_USEBSTRING and its implementation.
16162         * resolv/resolv.h (RES_USEBSTRING): Remove.
16163         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
16164         (digitvalue, encode_bitstring, decode_bitstring): Remove.
16165         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
16166         (labellen): Remove extended label types support.
16167         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
16168         * resolv/res_init.c (res_setoptions): Likewise.
16169         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16171 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16173         resolv: Remove RES_NOIP6DOTINT and its implementation.
16174         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
16175         (RES_NOIP6DOTINT): Remove.
16176         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
16177         handling.
16178         * resolv/res_debug.c (p_option): Likewise.
16179         * resolv/res_init.c (res_setoptions): Likewise.
16180         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
16182 2016-10-07  Florian Weimer  <fweimer@redhat.com>
16184         resolv: Deprecate unimplemented flags.
16185         * misc/sys/cdefs.h (__glibc_macro_warning1)
16186         (__glibc_macro_warning): Define.
16187         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
16188         (RES_KEEPTSIG): Mark as deprecated.
16189         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
16190         RES_NOCHECKNAME, RES_KEEPTSIG.
16191         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
16193 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16195         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
16196         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
16197         Use strong_alias to create symbols for glibc verison 2.19.
16199 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16201         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
16203 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16205         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
16207 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16209         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
16211 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16213         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16214         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
16215         in header for using it as type for ifunc function because __GI_* symbols
16216         for ppc32 do not target the ifunc symbols.
16217         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16219 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16221         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
16222         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
16223         libc_ifunc_hidden_def.
16224         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
16225         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
16226         Redirect ifunced function in header for using it as type of ifunc'ed
16227         function. Redefine libc_hidden_def to use fallback non ifunc'ed
16228         function for __GI_* symbol.
16229         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
16230         * include/libc-symbols.h
16231         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
16233 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16235         [BZ #20478]
16236         * sysdeps/s390/multiarch/ifunc-resolve.h
16237         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
16238         to create ifunc symbols.
16239         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
16240         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
16241         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
16242         for using it as type for ifunc function.
16243         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
16244         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
16245         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
16246         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
16247         * sysdeps/s390/multiarch/strcat.c: Likewise.
16248         * sysdeps/s390/multiarch/strchr.c: Likewise.
16249         * sysdeps/s390/multiarch/strcmp.c: Likewise.
16250         * sysdeps/s390/multiarch/strcpy.c: Likewise.
16251         * sysdeps/s390/multiarch/strcspn.c: Likewise.
16252         * sysdeps/s390/multiarch/strlen.c: Likewise.
16253         * sysdeps/s390/multiarch/strncmp.c: Likewise.
16254         * sysdeps/s390/multiarch/strncpy.c: Likewise.
16255         * sysdeps/s390/multiarch/strnlen.c: Likewise.
16256         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
16257         * sysdeps/s390/multiarch/strrchr.c: Likewise.
16258         * sysdeps/s390/multiarch/strspn.c: Likewise.
16259         * sysdeps/s390/multiarch/wcschr.c: Likewise.
16260         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
16261         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
16262         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
16263         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
16264         * sysdeps/s390/multiarch/wmemset.c: Likewise.
16265         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16266         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
16267         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
16268         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16269         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
16270         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
16272 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16274         * include/libc-symbols.h (__ifunc_resolver):
16275         New macro is used by __ifunc* macros.
16276         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
16277         depending on HAVE_GCC_IFUNC.
16278         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
16279         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
16280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
16281         Redirect ifunced function in header for using as type for ifunc function.
16282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
16283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
16284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
16285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
16286         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
16287         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
16288         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
16289         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
16290         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
16291         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
16292         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
16293         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
16294         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
16295         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
16296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
16297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
16298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
16299         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
16300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
16301         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
16302         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
16303         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
16304         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
16305         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
16306         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
16307         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
16308         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
16309         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
16310         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
16311         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
16312         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
16313         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
16314         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
16315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
16316         Add libc_hidden_def() and use libc_ifunc_hidden() macro
16317         instead of libc_ifunc() macro.
16318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
16319         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
16321 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
16323         * config.h.in (HAVE_GCC_IFUNC): New undef.
16324         * configure.ac: Add check if gcc supports attribute ifunc feature.
16325         * configure: Regenerated.
16326         * manual/install.texi: Add recommendation for gcc with
16327         indirect-function support.
16328         * INSTALL: Regenerated.
16330 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
16332         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
16333         macro.
16334         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16335         (__iseqsig): New declaration.
16336         * math/s_iseqsig_template.c: New file.
16337         * math/Versions (__iseqsigf): New libm symbol at version
16338         GLIBC_2.25.
16339         (__iseqsig): Likewise.
16340         (__iseqsigl): Likewise.
16341         * math/libm-test.inc (iseqsig_test_data): New array.
16342         (iseqsig_test): New function.
16343         (main): Call iseqsig_test.
16344         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
16345         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
16346         * manual/libm-err-tab.pl: Update comment on interfaces without
16347         ulps tabulated.
16348         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
16349         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
16350         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
16351         * sysdeps/nacl/libm.abilist: Update.
16352         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16353         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16354         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16355         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16356         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16357         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16358         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16359         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16360         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16361         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16362         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16363         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16365         Likewise.
16366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16367         Likewise.
16368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16369         Likewise.
16370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16371         Likewise.
16372         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16373         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16374         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16375         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16376         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16378         Likewise.
16379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16380         Likewise.
16381         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16382         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16383         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16385 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16387         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
16388         do_sincos_2, sloww, sloww1): Update comments.
16390         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
16391         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
16393         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
16394         K boolean and rename it.
16395         (__sin): Adjust.
16396         (__cos): Adjust.
16398 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16399             Siddhesh Poyarekar  <siddhesh@sourceware.org>
16401         * manual/nss.texi: Fix typos in the manual.
16403 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
16405         * manual/contrib.texi: Fix typos in the manual.
16407         * manual/maint.texi: Fix typos in the manual.
16409         * manual/install.texi: Fix typos in the manual.
16410         * INSTALL: Regenerated.
16412         * manual/lang.texi: Fix typos in the manual.
16414         * manual/probes.texi: Fix typos in the manual.
16416         * manual/threads.texi: Fix typos in the manual.
16418         * manual/debug.texi: Fix typos in the manual.
16420         * manual/crypt.texi: Fix typos in the manual.
16422         * manual/conf.texi: Fix typos in the manual.
16424         * manual/sysinfo.texi: Fix typos in the manual.
16426         * manual/users.texi: Fix typos in the manual.
16428         * manual/job.texi: Fix typos in the manual.
16430         * manual/process.texi: Fix typos in the manual.
16432         * manual/argp.texi: Fix typos in the manual.
16433         * manual/getopt.texi: Likewise.
16434         * manual/startup.texi: Likewise.
16436         * manual/signal.texi: Fix typos in the manual.
16438         * manual/setjmp.texi: Fix typos in the manual.
16440         * manual/resource.texi: Fix typos in the manual.
16442         * manual/time.texi: Fix typos in the manual.
16444         * manual/arith.texi: Fix typos in the manual.
16446         * manual/math.texi: Fix typos in the manual.
16448         * manual/syslog.texi: Fix typos in the manual.
16450         * manual/terminal.texi: Fix typos in the manual.
16452         * manual/socket.texi: Fix typos in the manual.
16454         * manual/filesys.texi: Fix typos in the manual.
16456         * manual/llio.texi: Fix typos in the manual.
16458         * manual/stdio.text: Fix typos in the manual.
16460 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16462         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
16463         instead of K1.
16465         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
16466         SHIFT_QUADRANT and make it bool.
16467         (do_sincos_2): Likewise.
16468         (sloww): Likewise.
16469         (sloww1): Likewise.
16470         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
16471         (__cos): Likewise.
16473 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16475         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
16477 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
16479         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
16480         Define to __WORDSIZE, not conditional on [LONG_MAX ==
16481         0x7fffffffL].
16482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16484 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16486         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
16487         inline by __inline__.
16488         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
16489         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
16490         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
16491         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
16492         sigset_t from signal.h.
16493         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
16494         which is already required.
16496 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
16498         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
16500 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
16502         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
16503         (struct tcp_repair_window): New type.
16505 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16507         * libio/tst-memstream3.c: Include string.h.
16509 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16511         [BZ #18241]
16512         [BZ #20181]
16513         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
16514         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
16515         write position is at the end the buffer.
16516         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
16517         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
16518         (_IO_str_seekoff): Set correct offset from negative displacement and
16519         set EINVAL for invalid ones.
16520         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
16521         buffer length.
16522         (_IO_wstr_switch_to_get_mode): New function.
16523         (_IO_wstr_seekoff): Set correct offset from negative displacement and
16524         set EINVAL for invalid ones.
16525         * libio/tst-memstream3.c: New file.
16526         * libio/tst-wmemstream3.c: Likewise.
16527         * manual/examples/memstrm.c: Remove warning when priting size_t.
16529 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16531         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
16532         macro to use __builtin_fma.
16533         * sysdeps/x86_64/fpu/dla.h: Remove file.
16535         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
16536         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
16537         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
16539 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
16541         [BZ #20292]
16542         * elf/Makefile (routines): Add dl-addr-obj.
16543         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
16544         tst-_dl_addr_inside_object.
16545         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
16546         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16547         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
16548         [ifeq (yesyes,$(have-fpie)$(build-shared))]
16549         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
16550         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
16551         * elf/dl-open.c: Likewise.
16552         * elf/dl-addr-obj.c: New file.
16553         * elf/tst-_dl_addr_inside_object.c: New file.
16555 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
16557         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
16558         <bits/iscanonical.h>.
16559         * bits/iscanonical.h: New file.
16560         * math/s_iscanonicall.c: Likewise.
16561         * math/Versions (__iscanonicall): New libm symbol at version
16562         GLIBC_2.25.
16563         * math/libm-test.inc (iscanonical_test_data): New array.
16564         (iscanonical_test): New function.
16565         (main): Call iscanonical_test.
16566         * math/Makefile (headers): Add bits/iscanonical.h.
16567         (type-ldouble-routines): Add s_iscanonicall.
16568         * manual/arith.texi (Floating Point Classes): Document
16569         iscanonical.
16570         * manual/libm-err-tab.pl: Update comment on interfaces without
16571         ulps tabulated.
16572         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
16573         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
16574         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
16575         Likewise.
16576         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
16577         test-iscanonical-ldbl-128ibm.
16578         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
16579         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
16580         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
16581         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
16582         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
16583         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16584         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16586         Likewise.
16587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16588         Likewise.
16589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16590         Likewise.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16592         Likewise.
16593         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16594         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16596 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16598         * string/bits/string3.h: Remove C++ style comments.
16600 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16602         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
16603         instead of ternary condition.
16604         (do_sincos_2): Likewise.
16605         (__sin): Likewise.
16606         (__cos): Likewise.
16607         (slow): Likewise.
16608         (sloww): Likewise.
16609         (sloww1): Likewise.
16610         (bsloww): Likewise.
16611         (bsloww1): Likewise.
16613         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
16614         instead of ternary condition.
16615         (do_sin_slow): Likewise.
16616         (do_sincos_1): Likewise.
16617         (do_sincos_2): Likewise.
16618         (__cos): Likewise.
16619         (sloww): Likewise.
16620         (sloww1): Likewise.
16621         (sloww2): Likewise.
16622         (bsloww): Likewise.
16623         (bsloww1): Likewise.
16624         (bsloww2): Likewise.
16626         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
16627         check from here...
16628         (slow2): ... and here...
16629         (__sin): ... to here.
16631 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
16633         * math/math.h
16634         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
16635         Cast argument to its own type.
16636         * math/test-iszero-excess-precision.c: New file.
16637         * math/Makefile (tests): Add test-iszero-excess-precision.
16638         (CFLAGS-test-iszero-excess-precision.c): New variable.
16640 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
16642         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
16643         field, add err field.
16644         (__spawni_child): Report error through err member instead of pipe.
16645         (__spawnix): Likewise.
16647 2016-09-28  Zack Weinberg  <zackw@panix.com>
16649         * scripts/check-installed-headers.sh: Generalize treatment of
16650         sys/elf.h to all target architectures.
16652         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
16653         deleted typedef ucontext_t.
16655 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16657         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
16658         (__INTERNAL_SYSCALL1): Likewise.
16659         (__INTERNAL_SYSCALL2): Likewise.
16660         (__INTERNAL_SYSCALL3): Likewise.
16661         (__INTERNAL_SYSCALL4): Likewise.
16662         (__INTERNAL_SYSCALL5): Likewise.
16663         (__INTERNAL_SYSCALL6): Likewise.
16664         (__INTERNAL_SYSCALL7): Likewise.
16665         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
16666         (__INTERNAL_SYSCALL_NARGS): Likewise.
16667         (__INTERNAL_SYSCALL_DISP): Likewise.
16668         (INTERNAL_SYSCALL_CALL): Likewise.
16669         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
16670         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
16671         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
16672         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
16673         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
16674         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
16675         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
16676         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
16677         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
16678         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
16679         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
16680         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
16681         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
16683 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
16685         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
16686         macro.
16687         * math/libm-test.inc (iszero_test_data): New array.
16688         (iszero_test): New function.
16689         (main): Call iszero_test.
16690         * manual/arith.texi (Floating Point Classes): Document iszero.
16691         * manual/libm-err-tab.pl: Update comment on interfaces without
16692         ulps tabulated.
16694 2016-09-23  Zack Weinberg  <zackw@panix.com>
16696         * scripts/check-installed-headers.sh: New script.
16697         * Rules: In each directory that defines header files to be installed,
16698         run check-installed-headers.sh on them as a special test.
16699         * Makefile: Likewise for the headers installed at top level.
16701         * include/aliases.h, include/alloca.h, include/argz.h
16702         * include/arpa/nameser.h, include/arpa/nameser_compat.h
16703         * include/elf.h, include/envz.h, include/err.h
16704         * include/execinfo.h, include/fpu_control.h, include/getopt.h
16705         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
16706         * include/link.h, include/malloc.h, include/mcheck.h
16707         * include/mntent.h, include/netinet/ether.h
16708         * include/nss.h, include/obstack.h, include/printf.h
16709         * include/pty.h, include/resolv.h, include/rpc/auth.h
16710         * include/rpc/auth_des.h, include/rpc/auth_unix.h
16711         * include/rpc/clnt.h, include/rpc/des_crypt.h
16712         * include/rpc/key_prot.h, include/rpc/netdb.h
16713         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
16714         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
16715         * include/rpc/rpc_msg.h, include/rpc/svc.h
16716         * include/rpc/svc_auth.h, include/rpc/xdr.h
16717         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
16718         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
16719         * include/rpcsvc/ypupd.h, include/shadow.h
16720         * include/stdio_ext.h, include/sys/epoll.h
16721         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
16722         * include/sys/prctl.h, include/sys/profil.h
16723         * include/sys/statfs.h, include/sys/sysctl.h
16724         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
16725         * sysdeps/arm/nacl/include/bits/setjmp.h
16726         * sysdeps/mips/include/sys/asm.h
16727         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
16728         * sysdeps/unix/sysv/linux/include/sys/timex.h
16729         * sysdeps/x86/fpu/include/bits/fenv.h:
16730         Add #ifndef _ISOMAC guard around internal declarations.
16731         Add multiple-inclusion guard if not already present.
16733 2016-09-23  Zack Weinberg  <zackw@panix.com>
16735         * sysdeps/generic/sys/ucontext.h
16736         * sysdeps/arm/sys/ucontext.h
16737         * sysdeps/i386/sys/ucontext.h
16738         * sysdeps/m68k/sys/ucontext.h
16739         * sysdeps/mips/sys/ucontext.h
16740         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
16741         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
16742         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
16743         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
16744         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
16745         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
16746         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
16747         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
16748         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
16749         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
16750         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
16751         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
16752         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
16753         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
16754         Include both bits/sigcontext.h and bits/sigstack.h.
16755         Fix grammar error in comment, if present.
16757         * bits/sigstack.h
16758         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
16759         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
16760         * sysdeps/unix/sysv/linux/bits/sigstack.h
16761         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
16762         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
16763         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
16764         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
16765         * bits/sigcontext.h
16766         * sysdeps/mach/hurd/i386/bits/sigcontext.h
16767         * sysdeps/unix/sysv/linux/bits/sigcontext.h
16768         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
16769         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
16770         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
16771         as well as signal.h, if this was not already allowed.  Request
16772         definition of size_t if necessary.  Minimize semantically-null
16773         differences across files.
16775 2016-09-23  Zack Weinberg  <zackw@panix.com>
16777         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
16778         Remove all logic conditional on __need macros.  Move all the
16779         conditionally defined types to their own headers...
16780         * time/bits/types/clock_t.h: Define clock_t here.
16781         * time/bits/types/clockid_t.h: Define clockid_t here.
16782         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
16783         * time/bits/types/struct_timespec.h: Define struct timespec here.
16784         * time/bits/types/struct_timeval.h: Define struct timeval here.
16785         * time/bits/types/struct_tm.h: Define struct tm here.
16786         * time/bits/types/time_t.h: Define time_t here.
16787         * time/bits/types/timer_t.h: Define timer_t here.
16788         * time/Makefile: Install the new headers.
16790         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
16791         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
16792         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
16793         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
16794         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
16795         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
16796         * sysdeps/unix/sysv/linux/bits/resource.h
16797         * sysdeps/unix/sysv/linux/bits/timex.h
16798         * sysdeps/unix/sysv/linux/mips/bits/resource.h
16799         * sysdeps/unix/sysv/linux/net/ppp_defs.h
16800         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
16801         * sysdeps/unix/sysv/linux/sys/acct.h
16802         * sysdeps/unix/sysv/linux/sys/timerfd.h
16803         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
16804         * time/sys/time.h, time/sys/timeb.h
16805         Use the new bits/types headers.
16807         * include/time.h: Remove __need logic.
16808         * include/bits/time.h
16809         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
16810         * include/bits/types/time_t.h, include/bits/types/timer_t.h
16811         * include/bits/types/struct_itimerspec.h
16812         * include/bits/types/struct_timespec.h
16813         * include/bits/types/struct_timeval.h
16814         * include/bits/types/struct_tm.h:
16815         New wrapper headers.
16817 2016-09-23  Zack Weinberg  <zackw@panix.com>
16819         * sysdeps/mach/hurd/net/if_ppp.h
16820         * sysdeps/unix/sysv/linux/net/if_ppp.h:
16821         Only define struct ifpppstatsreq and struct ifpppcstatsreq
16822         if __USE_MISC is defined, to ensure struct ifreq is declared.
16824         * inet/netinet/ether.h: Condition all function prototypes
16825         on __USE_MISC, to ensure struct ether_addr is declared.
16827         * socket/bits/types/struct_osockaddr.h: New header.
16828         * include/bits/types/struct_osockaddr.h: New wrapper.
16829         * socket/Makefile: Install the new header.
16830         * socket/sys/socket.h, inet/protocols/talkd.h:
16831         Refer to bits/types/struct_osockaddr.h for the definition of
16832         struct osockaddr.
16834 2016-09-23  Zack Weinberg  <zackw@panix.com>
16836         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
16837         * inet/protocols/routed.h, inet/protocols/talkd.h
16838         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
16839         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
16840         * sysdeps/generic/netinet/if_ether.h
16841         * sysdeps/generic/netinet/in_systm.h
16842         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
16843         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16844         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
16845         * sysdeps/mach/hurd/net/if_arp.h
16846         * sysdeps/mach/hurd/net/if_ppp.h
16847         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
16848         * sysdeps/unix/sysv/linux/bits/in.h
16849         * sysdeps/unix/sysv/linux/net/ethernet.h
16850         * sysdeps/unix/sysv/linux/net/if_arp.h
16851         * sysdeps/unix/sysv/linux/net/if_ppp.h
16852         * sysdeps/unix/sysv/linux/net/if_shaper.h
16853         * sysdeps/unix/sysv/linux/net/route.h
16854         * sysdeps/unix/sysv/linux/netinet/if_ether.h
16855         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16856         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16857         * sysdeps/unix/sysv/linux/netipx/ipx.h
16858         * sysdeps/unix/sysv/linux/sys/acct.h
16859         * include/arpa/nameser.h, include/resolv.h:
16860         Change all uses of u_char to unsigned char,
16861         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16862         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16863         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16864         and u_int64_t and u_quad_t to uint64_t.
16866         * mach/sys/reboot.h: Remove two casts of integer literals
16867         to the types they already have.
16869         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16870         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16871         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16872         from referring to 'unsigned char' to 'uint8_t' for consistency with
16873         the macro definition below.
16875         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16876         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16877         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16878         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16879         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16880         * sysdeps/unix/sysv/linux/sys/acct.h
16881         * include/arpa/nameser.h, include/resolv.h:
16882         Fix indentation disrupted by mechanical edits.
16884         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16885         * sysdeps/generic/netinet/in_systm.h
16886         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16887         * sysdeps/gnu/netinet/udp.h
16888         * sysdeps/unix/sysv/linux/net/ethernet.h
16889         * sysdeps/unix/sysv/linux/net/if_arp.h
16890         * sysdeps/unix/sysv/linux/net/if_ppp.h
16891         * sysdeps/unix/sysv/linux/net/if_shaper.h
16892         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16893         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16894         * sysdeps/unix/sysv/linux/netipx/ipx.h
16895         * sysdeps/unix/sysv/linux/sys/acct.h
16896         Include stdint.h for uintNN_t definitions.
16897         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16899 2016-09-23  Zack Weinberg  <zackw@panix.com>
16901         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16902         * sysdeps/unix/sysv/linux/netrose/rose.h:
16903         Include sys/socket.h and netax25/ax25.h.
16905         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16906         * resolv/arpa/nameser_compat.h:
16907         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16909         * sysdeps/unix/sysv/linux/sys/quota.h:
16910         Use __caddr_t instead of caddr_t.
16911         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16912         Use __clockid_t instead of clockid_t.
16914         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16916         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16917         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16918         expanding it.
16920         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16921         Define __glibc_c99_flexarr_available to 1 when the compiler
16922         supports C99-compatible flexible array members, 0 otherwise.
16923         * sysdeps/unix/sysv/linux/bits/socket.h
16924         * sysdeps/mach/hurd/bits/socket.h
16925         * bits/socket.h: Use __glibc_c99_flexarr_available in
16926         definitions of struct cmsghdr and CMSG_DATA.
16928 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16930         * manual/nss.texi (NSS Modules Interface): Adjust function return
16931         type to enum nss_status.  Document errnop argument.  Clarify
16932         h_errnop semantics.  Fix cross-reference formatting.
16933         (NSS Module Function Internals): Mention that *errnop needs to be
16934         set on failure, but not to zero.
16936 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16938         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16939         (get_random_name): New functions.
16940         (check_wrapper_flags_mode): Use linkat to give the new file a name
16941         determined by get_random_name.
16942         (do_test): Add calls to test open64 and openat64.
16944 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16946         * test-skeleton.c: Remove #include <stdarg.h>.
16948 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16950         [BZ #19826]
16951         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16952         initialization of static TLS entries.
16953         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16954         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16956 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16958         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16959         _hurd_malloc_fork_prepare.
16960         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16961         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16962         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16963         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16964         (_hurd_fork_child_hook): Drop malloc_fork_child.
16965         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16966         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16967         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16968         after locking locks (notably hurd_dtable_lock). Call
16969         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16970         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16971         __malloc_fork_unlock_child.
16972         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16974 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16976         * soft-fp/extendhftf2.c: New.
16977         * soft-fp/fixhfti.c: Likewise.
16978         * soft-fp/fixunshfti.c: Likewise.
16979         * soft-fp/floattihf.c: Likewise.
16980         * soft-fp/floatuntihf.c: Likewise.
16981         * soft-fp/half.h: Likewise.
16982         * soft-fp/trunctfhf2.c: Likewise.
16984 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16986         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16987         macro.
16988         * math/libm-test.inc (issubnormal_test_data): New array.
16989         (issubnormal_test): New function.
16990         * manual/arith.texi (Floating Point Classes): Document
16991         issubnormal.
16992         * manual/libm-err-tab.pl: Update comment on interfaces without
16993         ulps tabulated.
16995         * sysdeps/generic/stdint.h: Define
16996         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16997         <bits/libc-header-start.h> instead of including <features.h>.
16998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
17000         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
17001         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
17002         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
17003         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
17004         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
17005         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
17006         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
17007         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
17008         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
17009         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
17010         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
17011         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
17012         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
17013         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
17014         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
17015         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
17016         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
17017         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
17018         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
17019         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
17020         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
17021         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
17022         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
17023         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
17024         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
17025         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
17026         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
17027         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
17028         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
17029         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
17030         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
17031         * manual/arith.texi (Integers): Document these macros for types
17032         specified by width properties.
17033         * manual/lang.texi (Width of Type): Document these macros for
17034         other standard typedefs.
17035         * stdlib/tst-width-stdint.c: New file.
17036         * stdlib/Makefile (tests): Add tst-width-stdint.
17038 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17040         [BZ #20016]
17041         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
17042         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
17043         Move ...
17044         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
17045         ... here, as compatibility symbols in a new file.
17046         * resolv/Makefile (libresolv-routines): Add compat-hooks.
17047         * resolv/res_init.c (__res_vinit): Adjust member names.
17048         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
17049         * resolv/resolv.h (res_sendhookact, res_send_qhook)
17050         (res_send_rhook): Remove.
17051         (struct __res_state): Rename qhook, rhook members.
17053 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17055         malloc: Use __libc_lock wrappers.
17056         * malloc/arena.c (list_lock, free_list_lock): Define using
17057         __libc_lock_define_initialized.
17058         (arena_lock): Adjust formatting.
17059         * malloc/malloc.c (struct malloc_state): Define mutex using
17060         __libc_lock_define.
17061         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
17062         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
17063         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
17064         (mutex_unlock, mutex_trylock): Remove.
17065         (__pthread_initialize): Remove unused macro.
17066         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
17067         (mutex_unlock, mutex_trylock): Remove.
17069 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17071         [BZ #20592]
17072         Remove RR type classification macros.
17073         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
17074         (ns_t_udp_p, ns_t_xfr_p): Remove.
17076 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17078         Remove misleading version information.
17079         * resolv/arpa/nameser.h (__NAMESER): Remove.
17080         * resolv/arpa/nameser_compat.h (__BIND): Remove.
17082 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17084         Remove the always-defined BIND_4_COMPAT macro.
17085         * resolv/arpa/nameser.h: Unconditionally include
17086         <arpa/nameser_compat.h>.
17087         (BIND_4_COMPAT): Remove.
17088         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
17090 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17092         [BZ #20591]
17093         Remove obsolete DNSSEC support.
17094         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
17095         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
17096         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
17097         (ns_verify_tcp, ns_verify_tcp_init): Remove.
17098         (ns_cert_types): Add comment.
17099         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
17100         separately.
17101         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
17102         (dst_s_dns_key_id): Remove.
17103         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
17104         variables.
17106 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17108         [BZ #20524]
17109         * manual/string.texi (String/Array Comparison): Clarify the
17110         strverscmp behavior.
17112 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17114         * test-skeleton.c (xasprintf): Add function.
17115         * io/tst-open-tmpfile.c: New test.
17116         * io/Makefile (tests): Add it.
17118 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17120         Avoid running $(CXX) during build to obtain header file paths.
17121         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
17122         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
17123         * Makerules (cstdlib, cmath): Remove variables.  Use
17124         $(c++-cstdlib-header), $(c++-cmath-header) instead.
17125         * configure: Regenerate.
17127 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17129         * Makeconfig (all-object-suffixes): Include .op only if
17130         $(build-profile).
17132 2016-09-21  Florian Weimer  <fweimer@redhat.com>
17134         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
17135         conditionals.  Do not define PATH_MAX.
17137 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17139         * posix/Makefile (tests): Add tst-spawn3.
17140         * posix/tst-spawn3.c: New file.
17141         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
17142         if it is already opened for open action.
17144         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
17145         all signals when executing the clone vfork child.
17146         (SIGALL_SET): Remove macro.
17148         * nptl/Makefile (tests): Add tst-exec5.
17149         * nptl/tst-exec5.c: New file.
17150         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
17151         asynchronous cancellation.
17153 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17155         * hurd/exc2signal.c: #include <hurd/signal.h>
17156         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
17157         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
17158         accordingly.
17159         * mach/mach_error.c (mach_error): Fix old-style function definition.
17160         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
17162 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17164         * math/Makefile (libm-calls): Remove s_nanF.
17165         (gen-libm-calls): Add s_nanF.
17167         * math/s_nan.c: Refactor into ...
17168         * math/s_nan_template.c: New file.
17170         * math/s_nanf.c: Removed.
17171         * math/s_nanl.c: Removed.
17172         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
17173         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
17175         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17176         (LDOUBLE_nanl_libm_version): New macro.
17178         * sysdeps/generic/math-type-macros-double.h:
17179         (M_STRTO_NAN): New macro.
17180         * sysdeps/generic/math-type-macros-float.h: Likewise.
17181         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17183         * sysdeps/generic/math-type-macros.h: Document
17184         M_STRTO_NAN.
17186 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17188         * math/s_nanf.c: Remove __nanf undef.
17189         * math/s_nan.c: Remove __nan undef.
17190         * math/s_nanl.c: Remove __nanl undef.
17192         * sysdeps/generic/math_private.h (__nan): Remove macro
17193         override.
17194         (__nanf): Likewise.
17195         (__nanl): Likewise.
17197 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17199         * math/Makefile (gen-all-calls): New variable.
17200         (generated): Replace gen-libm-calls with gen-all-calls.
17201         (gen-libm-templates.stmp): Likewise.  Also, ensure
17202         the output directory exists or is created and add
17203         dependency on the Makefile.
17204         (calls): Move s_ldexpF into gen-calls.
17205         (gen-calls): New variable.
17207         * math/s_ldexpf.c: Removed.
17208         * math/s_ldexpl.c: Removed.
17209         * math/s_ldexp.c: Refactored into ...
17210         * math/s_ldexp_template.c: New file.
17212         * sysdeps/generic/math-type-macros-double.h: Remove
17213         redundant fall-through definition of declare_mgen_alias.
17214         (declare_mgen_alias_2): New macro.
17216         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
17217         New macro for function aliased to two exported symbols.
17219         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
17220         new template file.
17221         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
17223 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17225         * Makeconfig (all-object-suffixes): Remove .og.
17226         * Makerules (elide-routines.og): Remove.
17227         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
17228         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
17229         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
17231 2016-09-20  Florian Weimer  <fweimer@redhat.com>
17233         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
17234         .os objects.
17236 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17238         [BZ #20615]
17239         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
17240         fpu directory by non-fpu.
17241         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
17242         on non-fpu directory from a fpu directory.
17244 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
17246         * include/limits.h: Define
17247         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17248         <bits/libc-header-start.h> instead of including <features.h>.
17249         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
17250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
17251         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
17252         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
17253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
17254         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
17255         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
17256         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
17257         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
17258         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
17259         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
17260         * manual/lang.texi (Width of Type): Document these macros.
17261         * stdlib/tst-width.c: New file.
17262         * stdlib/Makefile (tests): Add tst-width.
17264 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17266         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
17267         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
17269 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17271         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
17272         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17273         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17275 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17277         [BZ #18243]
17278         * rt/Makefile (test): Add tst-shm-cancel.
17279         * rt/tst-shm-cancel.c: New file.
17280         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
17282         [BZ #18243]
17283         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
17284         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
17285         definition.
17286         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
17287         uncontended case.
17288         * nptl/sem_wait.c (__new_sem_wait): Likewise.
17289         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
17290         (tf): Fix check for uncontended case.
17291         (do_test): Likewise.
17292         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
17293         (tf): Fix check for uncontended case.
17294         (do_test): Likewise.
17295         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
17296         (tf): Fix check for uncontended case.
17297         (do_test): Likewise.
17298         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
17299         (tf): Fix check for uncontended case.
17300         (do_test): Likewise.
17302         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
17303         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
17305         [BZ #15765]
17306         * nptl/Makefile (tests): Add tst-sem16.
17307         * nptl/tst-sem16.c: New file.
17308         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
17310         * nptl/sem_open.c (sem_open): Init pad value to 0.
17311         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
17312         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
17314 2016-09-15  Florian Weimer  <fweimer@redhat.com>
17316         [BZ #20611]
17317         * inet/Makefile (routines): Add inet6_scopeid_pton.
17318         (tests): Add tst-inet6_scopeid_pton.
17319         * inet/inet6_scopeid_pton.c: New file.
17320         * inet/net-internal.h: Likewise.
17321         * inet/tst-inet6_scopeid_pton.c: New test.
17322         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
17323         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
17324         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17326 2016-09-14  Florian Weimer  <fweimer@redhat.com>
17328         Remove support for compiling wrappers with PTW.
17329         * sysdeps/nptl/Makeconfig: Drop ptw- support.
17330         * nptl/Makefile (pthread-compat-wrappers): Define.
17331         (libpthread-routines): Use pthread-compat-wrappers.
17332         * sysdeps/unix/sysv/linux/alpha/Makefile
17333         (libpthread-routines, libpthread-shared-only-routines): Remove
17334         ptw- prefix.
17335         * sysdeps/s390/nptl/Makefile
17336         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17337         * sysdeps/ia64/nptl/Makefile
17338         (libpthread-routines, libpthread-shared-only-routines): Likewise.
17339         * sysdeps/nacl/Makefile (libpthread-routines): Use
17340         pthread-compat-wrappers to filter the routines list instead of the
17341         ptw- prefix.
17343 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17345         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
17346         with L() and remove explicit suffix, convert real literals
17347         which can be equivalentally substituted with integers, and
17348         transform -L(x) to L(-x).
17350         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17351         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17352         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17353         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17354         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17355         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17356         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17357         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17358         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17359         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17360         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17361         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17362         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17363         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17364         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17365         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17366         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17367         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17368         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17369         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17370         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17371         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17372         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17373         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17374         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17375         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17376         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17377         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17378         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17379         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17380         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17381         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17382         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17383         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17384         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17385         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17388         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17389         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17390         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17391         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17392         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17393         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17394         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17395         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17396         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17397         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17398         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17399         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17401 2016-09-13  Florian Weimer  <fweimer@redhat.com>
17403         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
17405 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17407         * malloc/Makefile (tests): Remove individual static test names
17408         and just add all of tests-static.
17410         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
17412 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
17414         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
17415         file.
17417         * sysdeps/sparc/fpu/fegetmode.c: New file.
17418         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
17420         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
17421         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
17423         * sysdeps/s390/fpu/fegetmode.c: New file.
17424         * sysdeps/s390/fpu/fesetmode.c: Likewise.
17426         * sysdeps/powerpc/fpu/fegetmode.c: New file.
17427         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
17428         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
17429         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
17430         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
17431         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
17433         * sysdeps/mips/fpu/fegetmode.c: New file.
17434         * sysdeps/mips/fpu/fesetmode.c: Likewise.
17436         * sysdeps/m68k/fpu/fegetmode.c: New file.
17437         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
17439         * sysdeps/ia64/fpu/fegetmode.c: New file.
17440         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
17442         * sysdeps/hppa/fpu/fegetmode.c: New file.
17443         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
17445         * sysdeps/arm/fegetmode.c: New file.
17446         * sysdeps/arm/fesetmode.c: Likewise.
17448         * sysdeps/alpha/fpu/fegetmode.c: New file.
17449         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
17451         * sysdeps/aarch64/fpu/fegetmode.c: New file.
17452         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
17454         * math/fegetmode.c: New file.
17455         * math/fesetmode.c: Likewise.
17456         * sysdeps/i386/fpu/fegetmode.c: Likewise.
17457         * sysdeps/i386/fpu/fesetmode.c: Likewise.
17458         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
17459         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
17460         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
17461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
17462         declaration.
17463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
17464         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
17465         typedef.
17466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17467         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17468         (femode_t): New typedef.
17469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17470         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17471         (femode_t): New typedef.
17472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17473         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17474         (femode_t): New typedef.
17475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17476         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17477         (femode_t): New typedef.
17478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17479         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17480         (femode_t): New typedef.
17481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17482         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17483         (femode_t): New typedef.
17484         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17485         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17486         (femode_t): New typedef.
17487         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17488         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17489         (femode_t): New typedef.
17490         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17491         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17492         (femode_t): New typedef.
17493         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17494         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17495         (femode_t): New typedef.
17496         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
17497         declaration.
17498         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17499         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17500         (femode_t): New typedef.
17501         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17502         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17503         (femode_t): New typedef.
17504         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17505         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17506         (femode_t): New typedef.
17507         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17508         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17509         (femode_t): New typedef.
17510         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17511         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17512         (femode_t): New typedef.
17513         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
17514         * manual/arith.texi (FE_DFL_MODE): Document macro.
17515         (fegetmode): Document function.
17516         (fesetmode): Likewise.
17517         * math/Versions (fegetmode): New libm symbol at version
17518         GLIBC_2.25.
17519         (fesetmode): Likewise.
17520         * math/Makefile (libm-support): Add fegetmode and fesetmode.
17521         (tests): Add test-femode and test-femode-traps.
17522         * math/test-femode-traps.c: New file.
17523         * math/test-femode.c: Likewise.
17524         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
17525         alias for __fe_dfl_env.
17526         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
17527         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
17528         (__fe_dfl_mode): Likewise.
17529         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
17530         version GLIBC_2.25.
17531         * sysdeps/nacl/libm.abilist: Update.
17532         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17533         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17534         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17535         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17536         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17537         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17538         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17539         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17540         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17541         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17542         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17543         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17545         Likewise.
17546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17547         Likewise.
17548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17549         Likewise.
17550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17551         Likewise.
17552         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17553         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17554         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17555         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17556         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17558         Likewise.
17559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17560         Likewise.
17561         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17562         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17563         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17565 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17567         [BZ #20495]
17568         [BZ #20508]
17569         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
17570         processors, set Use_dl_runtime_resolve_slow and set
17571         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
17572         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
17573         New.
17574         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
17575         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
17576         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
17577         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
17578         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
17579         if Use_dl_runtime_resolve_opt is set.  Use
17580         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
17581         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
17582         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
17583         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
17584         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
17585         New.
17586         (_dl_runtime_resolve_opt): Likewise.
17587         (_dl_runtime_profile): Define only if _dl_runtime_profile is
17588         defined.
17590 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17592         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
17593         __libc_memalign with "+ RELA R_390_GLOB_DAT".
17595 2016-09-06  Florian Weimer  <fweimer@redhat.com>
17597         Convert malloc to __libc_lock.  Automated part, using this Perl
17598         s/// command:
17599           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
17600             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
17601         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
17602         conversion.
17604 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
17606         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
17607         (linknamespace-symlists-tests): Likewise.
17608         (linknamespace-header-tests): Likewise.
17610 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
17612         [BZ #19810]
17613         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
17614         * elf/tst-noload.c: New test case.
17615         * elf/Makefile (tests): Add tst-noload.
17617 2016-09-02  Roland McGrath  <roland@hack.frob.com>
17619         * sysdeps/nacl/dup.c: Add libc_hidden_def.
17621         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
17622         not any more.
17624         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
17626 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17628         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
17629         (do_cos_slow): Likewise.
17630         (do_sin): Likewise.
17631         (do_sin_slow): Likewise.
17632         (slow): Likewise.
17633         (slow1): Likewise.
17634         (slow2): Likewise.
17635         (sloww): Likewise.
17636         (sloww1): Likewise.
17637         (sloww2): Likewise.
17638         (bsloww): Likewise.
17639         (bsloww1): Likewise.
17640         (bsloww2): Likewise.
17641         (cslow2): Likewise.
17643         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
17645         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
17646         arguments.  Consolidate input partitioning from callers here.
17647         (do_cos_slow): Likewise.
17648         (do_sin): Likewise.
17649         (do_sin_slow): Likewise.
17650         (do_sincos_1): Remove the no longer necessary input partitioning.
17651         (do_sincos_2): Likewise.
17652         (__sin): Likewise.
17653         (__cos): Likewise.
17654         (slow1): Likewise.
17655         (slow2): Likewise.
17656         (sloww1): Likewise.
17657         (sloww2): Likewise.
17658         (bsloww1): Likewise.
17659         (bsloww2): Likewise.
17660         (cslow2): Likewise.
17662 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17664         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
17665         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
17666         outside of allocated array.
17668 2016-09-02  Florian Weimer  <fweimer@redhat.com>
17670         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
17671         instead of MB_CUR_MAX to avoid variable-length array.
17673 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17675         * math/Makefile (libm-calls): Remove k_rem_pio2F.
17676         (type-double-routines): Add k_rem_pio2.
17677         (type-float-routines): Add k_rem_pio2f.
17679         * sysdeps/generic/math_private.h:
17680         (__kernel_rem_pio2l): Removed.
17682         * math/k_rem_pio2l.c: Removed.
17683         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
17684         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
17685         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
17686         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
17688 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17690         * math/Makefile (gen-libm-calls): Add s_fmin
17691         (libm-calls): Remove above.
17693         * math/s_fmin.c: Refactor into ...
17694         * math/s_fmin_template.c: New file.
17696         * math/s_fminf.c: Removed.
17697         * math/s_fminl.c: Removed.
17698         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17699         (LDOUBLE_fmin_libm_version): New macro.
17701         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
17702         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
17704 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17706         * math/Makefile: (gen-libm-calls): Add s_fmax.
17707         (libm-calls): Remove above.
17709         * math/s_fmax.c: Refactor into ...
17710         * math/s_fmax_template.c: New file.
17711         * math/s_fmaxf.c: Removed.
17712         * math/s_fmaxl.c: Removed.
17714         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17715         (LDOUBLE_fmaxl_libm_version): New macro.
17717         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
17718         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
17720         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
17721         s_fmin.c to pick the aarch64 version of the file.
17722         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
17723         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
17725 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17727         * math/Makefile: (gen-libm-calls): Add s_nextdown.
17728         (libm-calls): Remove above.
17730         * math/s_nextdown.c: Refactor into ...
17731         * math/s_nextdown_template.c: New file.
17732         * math/s_nextdownf.c: Removed.
17733         * math/s_nextdownl.c: Removed.
17735         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
17737 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17739         * math/Makefile (gen-libm-calls): Add s_fdim.
17740         (libm-calls): Move to above.
17742         * math/s_fdim.c: Renamed and refactored into to ...
17743         * math/s_fdim_template.c: New file.
17744         * math/s_fdiml.c: Removed.
17745         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
17746         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
17748         * sysdeps/generic/math-type-macros-double.h:
17749         (declare_mgen_alias): Don't declare if already declared.
17750         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
17751         Likewise.
17753         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
17754         (declare_mgen_alias): Don't declare if already declared.
17755         (M_LIBM_NEED_COMPAT): Likewise.
17756         (declare_mgen_libm_compat): Likewise.
17757         (LDOUBLE_fdiml_libm_version): New macro.
17759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17760         Include math/s_fdim.c now that ldbl-opt version is not needed.
17761         (declare_mgen_alias): New macro to disable aliasing.
17763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
17764         (declare_mgen_alias): Likewise.
17765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
17766         (declare_mgen_alias): Likewise.
17767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
17768         (declare_mgen_alias): Likewise.
17769         (M_LIBM_NEED_COMPAT): Likewise.
17771 2016-09-01  Florian Weimer  <fweimer@redhat.com>
17773         [BZ #20525]
17774         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
17775         Include <linux/quota.h>.
17776         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
17777         and btodb.
17778         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
17779         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
17780         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
17781         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
17782         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
17783         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
17784         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
17785         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
17786         types.
17787         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
17788         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
17790 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17792         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
17793         (gammal_positive): Fix spacing.
17794         (__ieee754_gammal_r): Likewise.
17796 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17798         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
17799         (_Float128): Define as long double, always.
17800         (L): Apply long double type suffix, always.
17802         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
17803         _Float128, excepting comments.
17805         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
17806         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
17807         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
17808         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
17809         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
17810         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17811         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
17812         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
17813         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
17814         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
17815         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
17816         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
17817         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
17818         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
17819         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
17820         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
17821         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
17822         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
17823         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17824         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
17825         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
17826         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
17827         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
17828         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
17829         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
17830         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17831         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
17832         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17833         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
17834         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17835         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
17836         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
17837         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
17838         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
17839         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17840         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17841         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
17842         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
17843         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
17844         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
17845         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17846         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
17847         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
17848         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
17849         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17850         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17851         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17852         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17853         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
17854         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17855         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17856         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
17857         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17858         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17859         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17860         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17861         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17862         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17863         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17864         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17865         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17866         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17867         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17868         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17869         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17870         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17871         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17872         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17874         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17875         _Float128, and include math_private.h.
17876         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17879         long double semantics.
17880         (_Float128): Likewise.
17881         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17882         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17883         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17884         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17886 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17888         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17889         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17890         * sysdeps/s390/configure: Regenerated.
17891         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17892         instruction for raising over-/underflow if z196 zarch is supported
17893         by default.
17894         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17896 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17898         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17899         it point to a dumb buffer for RPC to fill it.
17901 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17903         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17904         instead of if/else.
17905         (do_sin_slow): Likewise.
17906         (do_sincos_1): Use fabs instead of if/else.
17907         (do_sincos_2): Likewise.
17908         (__sin): Likewise.
17909         (__cos): Likewise.
17910         (slow2): Likewise.
17911         (sloww): Likewise.
17912         (sloww1): Likewise.  Drop argument M.
17913         (sloww2): Use fabs instead of if/else.
17914         (bsloww): Likewise.
17915         (bsloww1): Likewise.
17916         (bsloww2): Likewise.
17918         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17919         fall through comment.
17920         (do_sincos_1): Likewise.
17922         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17923         Consolidate switch cases 0 and 2.
17925 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17927         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17928         (libm-calls): Remove the above.
17930         * math/s_cexp_template.c: Update using type-generic macros.
17931         * math/s_clog10_template.c: Likewise.
17932         * math/s_cpow_template.c: Likewise.
17933         * math/s_clog_template.c: Likewise.
17934         * math/s_cproj_template.c: Likewise.
17935         * math/s_csqrt_template.c: Likewise.
17937         * math/s_cexp.c: Removed.
17938         * math/s_cexpf.c: Removed.
17939         * math/s_cexpl.c: Removed.
17940         * math/s_clog10.c: Removed.
17941         * math/s_clog10f.c: Removed.
17942         * math/s_clog10l.c: Removed.
17943         * math/s_cpow.c: Removed.
17944         * math/s_cpowf.c: Removed.
17945         * math/s_cpowl.c: Removed.
17946         * math/s_clog.c: Removed.
17947         * math/s_clogf.c: Removed.
17948         * math/s_clogl.c: Removed.
17949         * math/s_cproj.c: Removed.
17950         * math/s_cprojf.c: Removed.
17951         * math/s_cprojl.c: Removed.
17952         * math/s_csqrt.c: Removed.
17953         * math/s_csqrtf.c: Removed.
17954         * math/s_csqrtl.c: Removed.
17956         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17957         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17958         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17959         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17960         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17961         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17963         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17964         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17965         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17966         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17967         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17968         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17969         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17970         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17971         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17972         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17973         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17975         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17976         version.
17978         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17979         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17980         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17981         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17983 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17985         * s_cexp_template.c: Copy of s_cexp.c.
17986         * s_clog_template.c: Copy of s_clog.c.
17987         * s_clog10_template.c: Copy of s_clog10.c.
17988         * s_cpow_template.c: Copy of s_cpow.c.
17989         * s_cproj_template.c: Copy of s_cproj.c.
17990         * s_csqrt_template.c: Copy of s_csqrt.c.
17992 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17994         [BZ #20517]
17995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17996         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17997         exported.
17999 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
18001         * math/fetestexceptflag.c: New file.
18002         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
18003         Stefan Liebler.
18004         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
18005         (fetestexceptflag): New function declaration.
18006         * manual/arith.texi (fetestexceptflag): Document function.
18007         * math/Versions (fetestexceptflag): New libm symbol at version
18008         GLIBC_2.25.
18009         * math/Makefile (libm-support): Add fetestexceptflag.
18010         (tests): Add test-fetestexceptflag.
18011         * math/test-fetestexceptflag.c: New file.
18012         * sysdeps/nacl/libm.abilist: Update.
18013         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18014         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18015         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18016         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18017         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18018         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18019         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18020         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18021         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18022         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18023         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18024         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18026         Likewise.
18027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18028         Likewise.
18029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18030         Likewise.
18031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18032         Likewise.
18033         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18034         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18035         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18036         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18037         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18039         Likewise.
18040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18041         Likewise.
18042         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18043         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18044         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18046 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18048         [BZ #20432]
18049         Avoid strong references to malloc-internal symbols when linking
18050         statically, to support statically interposed mallocs.
18051         * include/libc-symbols.h (call_function_static_weak): New macro.
18052         * malloc/Makefile (tests): Add tst-interpose-nothread,
18053         tst-interpose-thread, tst-interpose-static-nothread,
18054         tst-interpose-static-thread.
18055         (tests-static): Add tst-interpose-static-nothread,
18056         tst-interpose-static-thread.
18057         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
18058         tst-interpose-aux-thread.o.
18059         (test-extras): Add tst-interpose-aux-nothread,
18060         tst-interpose-aux-thread.
18061         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
18062         tst-interpose-aux-nothread.o.
18063         (tst-interpose-thread, tst-interpose-static-thread): Link with
18064         tst-interpose-aux-thread.o and libthread.
18065         * malloc/tst-interpose-aux-nothread.c: New file.
18066         * malloc/tst-interpose-aux-thread.c: Likewise.
18067         * malloc/tst-interpose-aux.c: Likewise.
18068         * malloc/tst-interpose-aux.h: Likewise.
18069         * malloc/tst-interpose-nothread.c: Likewise.
18070         * malloc/tst-interpose-skeleton.c: Likewise.
18071         * malloc/tst-interpose-static-nothread.c: Likewise.
18072         * malloc/tst-interpose-static-thread.c: Likewise.
18073         * malloc/tst-interpose-thread.c: Likewise.
18074         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
18075         * sysdeps/mach/hurd/fork.c (__fork): Only call
18076         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
18077         __malloc_fork_unlock_child if defined.
18078         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
18080 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18082         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
18083         timespec C99 designated initialization.
18085 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18087         [BZ #19946]
18088         Avoid expected SIGALRM signals.
18089         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
18090         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
18091         (xpthread_create, xpthread_detach, xpthread_join)
18092         (delayed_exit_thread, delayed_exit): New functions.
18093         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
18094         (tf): Use xpthread_cond_wait.
18095         (do_test): Likewise.  Replace alarm with delayed_exit.
18096         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18097         (do_test): Call delayed_exit.  Report failure.
18098         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18099         (do_test): Call delayed_exit.
18100         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18101         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
18102         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18103         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
18104         error.
18105         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
18106         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
18107         error.
18108         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
18109         (do_test): Call delayed_exit.
18110         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
18111         (do_test): Call delayed_exit.
18112         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
18113         (do_test): Call delayed_exit instead of alarm.  Use
18114         xpthread_mutex_lock.
18115         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
18116         (do_test): Call delayed_exit instead of alarm.  Use
18117         xpthread_mutex_lock.
18118         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
18119         (do_test): Call delayed_exit instead of alarm.
18120         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
18121         (do_test): Call delayed_exit instead of alarm.  Use
18122         xpthread_spin_lock.
18123         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
18124         (do_test): Call delayed_exit instead of alarm.  Use
18125         xpthread_join.
18127 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
18129         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
18130         adjust CFA when allocating register save area on re-aligned
18131         stack.
18133 2016-08-26  Florian Weimer  <fweimer@redhat.com>
18135         * string/tst-cmp.c: New test.
18136         * string/Makefile (tests): Add it.
18138 2016-08-25  Mark Wielaard  <mark@klomp.org>
18140         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
18141         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
18142         (check_tree_recurse): Use newly defined accessors.
18143         (check_tree): Likewise.
18144         (maybe_split_for_insert): Likewise.
18145         (__tfind): Likewise.
18146         (__tdelete): Likewise.
18147         (trecurse): Likewise.
18148         (tdestroy_recurse): Likewise.
18149         (__tsearch): Likewise. And add asserts for malloc alignment.
18150         (__twalk): Cast root to node in case CHECK_TREE is defined.
18152 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18154         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
18156 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18158         * math/Makefile (libm-gen-calls): Add
18159         catan, catanh, ctan, ctanh.
18160         (libm-calls): Remove the above.
18162         * math/s_catan_template.c: Update using type-generic macros.
18163         * math/s_catanh_template.c: Likewise.
18164         * math/s_ctan_template.c: Likewise.
18165         * math/s_ctanh_template.c: Likewise.
18167         * math/s_catanf.c: Removed.
18168         * math/s_catan.c: Removed.
18169         * math/s_catanl.c: Removed.
18170         * math/s_catanhf.c: Removed.
18171         * math/s_catanh.c: Removed.
18172         * math/s_catanhl.c: Removed.
18173         * math/s_ctanf.c: Removed.
18174         * math/s_ctan.c: Removed.
18175         * math/s_ctanl.c: Removed.
18176         * math/s_ctanhf.c: Removed.
18177         * math/s_ctanh.c: Removed.
18178         * math/s_ctanhl.c: Removed.
18180         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
18181         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
18182         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
18183         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
18184         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
18185         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
18187         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
18188         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
18189         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
18190         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
18192 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18194         * s_catan_template.c: Copy of s_catan.c.
18195         * s_catanh_template.c: Copy of s_catanh.c.
18196         * s_ctan_template.c: Copy of s_ctan.c.
18197         * s_ctanh_template.c: Copy of s_ctanh.c.
18199 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18201         * math/Makefile (gen-libm-calls): Move
18202         casin, casinh, csin, csinh here.
18203         (libm-calls): Remove the above.
18205         * math/s_casin_template.c: Update using type-generic macros.
18206         * math/s_casinh_template.c: Likewise.
18207         * math/s_csin_template.c: Likewise.
18208         * math/s_csinh_template.c: Likewise.
18209         * math/k_casinh_template.c: Likewise.
18211         * math/s_casinf.c: Removed.
18212         * math/s_casin.c: Removed.
18213         * math/s_casinl.c: Removed.
18214         * math/s_casinh.c: Removed.
18215         * math/s_casinhf.c: Removed.
18216         * math/s_casinhl.c: Removed.
18217         * math/s_csin.c: Removed.
18218         * math/s_csinf.c: Removed.
18219         * math/s_csinl.c: Removed.
18220         * math/s_csinh.c: Removed.
18221         * math/s_csinhf.c: Removed.
18222         * math/s_csinhl.c: Removed.
18223         * math/k_casinh.c: Removed.
18224         * math/k_casinhf.c: Removed.
18225         * math/k_casinhl.c: Removed.
18227         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
18228         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
18229         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
18230         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
18232         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
18233         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
18234         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
18235         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
18236         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
18237         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
18238         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
18239         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
18241         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
18242         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
18243         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
18244         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
18246         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
18247         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
18248         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
18249         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
18251 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18253         * s_casin_template.c: Copy of s_casin.c.
18254         * s_casinh_template.c: Copy of s_casinh.c.
18255         * s_csin_template.c: Copy of s_csin.c.
18256         * s_csinh_template.c: Copy of s_csinh.c.
18257         * k_casinh_template.c: Copy of k_casinh.c.
18259 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18261         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
18263 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18265         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
18266         (mul_split) Remove, rename as mul_splitl, remove
18267         redundant float.h include, and include via mul_splitl.h
18269         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
18270         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
18271         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18272         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
18273         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
18275         * math/mul_splitl.h: New file.
18277         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
18278         Move into mul_split.h, and remove redundant float.h include.
18280         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
18281         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
18282         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
18283         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
18285         * math/mul_split.h: New file.
18287 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18289         * math/Makefile (libm-gen-calls): Move
18290         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
18291         (libm-calls): Remove above.
18293         * math/s_cacos_template.c: Update using type-generic macros.
18294         * math/s_cacosh_template.c: Likewise.
18295         * math/s_ccos_template.c: Likewise.
18296         * math/s_ccosh_template.c: Likewise.
18298         * math/s_cacosf.c: Removed.
18299         * math/s_cacos.c: Removed.
18300         * math/s_cacosl.c: Removed.
18301         * math/s_cacoshf.c: Removed.
18302         * math/s_cacosh.c: Removed.
18303         * math/s_cacoshl.c: Removed.
18304         * math/s_ccosf.c: Removed.
18305         * math/s_ccos.c: Removed.
18306         * math/s_ccosl.c: Removed.
18307         * math/s_ccoshf.c: Removed.
18308         * math/s_ccosh.c: Removed.
18309         * math/s_ccoshl.c: Removed.
18311         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
18312         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
18313         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
18314         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
18315         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
18316         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
18318         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
18319         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
18320         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
18321         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
18323         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
18324         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
18325         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
18326         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
18328 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18330         * s_cacos_template.c: Copy of s_cacos.c.
18331         * s_cacosh_template.c: Copy of s_cacosh.c.
18332         * s_ccos_template.c: Copy of s_ccos.c.
18333         * s_ccosh_template.c: Copy of s_ccosh.c.
18335 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18337         * stdlib/tst-strtod-round-skeleton.c:
18338         Refactored from tst-strtod-round.c.
18340         (L_): New macro to apply literal modifier.
18341         (FNPFX): New macro to select str or wcs prefix.
18342         (CHAR): New macro to choose wchar_t or char.
18343         (STRM): New macro to choose printf for tested character type.
18345         (STRTO): New macro to choose appropriate string -> real function.
18346         (FNPFXS): Stringitized version of FNPFX.
18347         (STR): Support for above macro.
18348         (STRX): Likewise.
18350         (TEST): Update with above macros.
18351         (test): Likewise.
18352         (GEN_ONE_TEST): Likewise.
18353         (test_in_one_mode): Likewise.
18355         * stdlib/tst-strtod-round.c: New file.
18356         * wcsmbs/tst-wcstod-round.c: New file.
18358         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
18359         (tst-wcstod-round): Add libm depencency for fesetround.
18361 2016-08-19  Zack Weinberg  <zackw@panix.com>
18363         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
18365 2016-08-18  Torvald Riegel  <triegel@redhat.com>
18367         [BZ #20477]
18368         * resolv/res_hconf.c (do_init): Use atomic access.
18369         * resolv/res_hconf.h: Add comments.
18370         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
18371         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
18372         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
18374 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
18376         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
18377         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
18378         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
18379         Likewise.
18381 2016-08-18  Florian Weimer  <fweimer@redhat.com>
18383         [BZ #16907]
18384         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
18385         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
18386         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
18387         (__attribute__): Remove definition.
18389 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18391         * sysdeps/ieee754/ldbl-128/e_asinl.c:
18392         Remove unused sqrtl declaration.
18394 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18396         * math/Makefile: (gen-libm-templates.stmp): New rule.
18397         (libm-calls): Move carg conj cimag and cabs into ...
18398         (gen-libm-calls): New variable.
18399         (generated): Inform Make objects from gen-libm-calls
18400         may be generated.
18402         * sysdeps/generic/math-type-macros.h: New file.
18403         * sysdeps/generic/math-type-macros-float.h: Likewise.
18404         * sysdeps/generic/math-type-macros-double.h: Likewise.
18405         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
18406         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
18407         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
18409         * math/cabs.c: Refactor into
18410         * math/cabs_template.c: new file.
18411         * math/cabsf.c: Removed.
18412         * math/cabsl.c: Removed.
18413         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
18414         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
18416         * math/carg.c: Refactor into
18417         * math/carg_template.c: new file.
18418         * math/cargf.c: Removed.
18419         * math/cargl.c: Removed.
18420         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
18421         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
18423         * math/conj.c: Refactor into
18424         * math/conj_template.c: new file.
18425         * math/conjf.c: Removed.
18426         * math/conjl.c: Removed.
18427         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
18428         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
18430         * math/cimag.c: Refactor into
18431         * math/cimag_template.c: new file.
18432         * math/cimagf.c: Removed.
18433         * math/cimagl.c: Removed.
18434         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18435         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18437         * math/cimag.c: Refactor into
18438         * math/cimag_template.c: new file.
18439         * math/cimagf.c: Removed.
18440         * math/cimagl.c: Removed.
18441         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
18442         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
18444 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18446         Reduce time to expected nptl/tst-once5 failure.
18447         * nptl/tst-once5.cc (TIMEOUT): Define.
18449 2016-08-17  Florian Weimer  <fweimer@redhat.com>
18451         [BZ #20452]
18452         Avoid additional copies of objects in libc.a in static libraries.
18453         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
18454         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
18455         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
18456         rt-sysdep.
18457         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
18458         Add nptl-sysdep.
18459         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
18460         Add ptw-sysdep.
18461         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
18462         rt-sysdep.
18463         * sysdeps/unix/sysv/linux/alpha/Makefile
18464         (libpthread-shared-only-routines): Add ptw-sysdep,
18465         ptw-sigprocmask, ptw-rt_sigaction.
18466         * sysdeps/unix/sysv/linux/ia64/Makefile
18467         (librt-shared-only-routines): Add rt-sysdep.
18468         * sysdeps/unix/sysv/linux/i386/Makefile
18469         (libpthread-shared-only-routines): Add libc-do-syscall.
18470         * sysdeps/unix/sysv/linux/microblaze/Makefile
18471         (libpthread-shared-only-routines): Add sysdep.
18472         * sysdeps/unix/sysv/linux/powerpc/Makefile
18473         (librt-shared-only-routines): Add rt-sysdep.
18474         (libpthread-shared-only-routines): Add sysdep.
18475         * sysdeps/unix/sysv/linux/s390/Makefile
18476         (librt-shared-only-routines): Add rt-sysdep.
18477         * sysdeps/unix/sysv/linux/sparc/Makefile
18478         (librt-shared-only-routines): Add rt-sysdep.
18479         (libpthread-shared-only-routines): Add sysdep.
18480         * sysdeps/unix/sysv/linux/tile/Makefile
18481         (libpthread-shared-only-routines): Likewise.
18483 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
18485         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
18486         Mask implicit bit out of unpacked value.
18487         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
18488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
18489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
18491         * sysdeps/sparc/fpu/fesetexcept.c: New file.
18493         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
18495         * sysdeps/s390/fpu/fesetexcept.c: New file.
18497         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
18498         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
18499         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
18501         * sysdeps/mips/fpu/fesetexcept.c: New file.
18503         * sysdeps/m68k/fpu/fesetexcept.c: New file.
18505         * sysdeps/ia64/fpu/fesetexcept.c: New file.
18507         * sysdeps/hppa/fpu/fesetexcept.c: New file.
18509         * sysdeps/arm/fesetexcept.c: New file.
18511         * sysdeps/alpha/fpu/fesetexcept.c: New file.
18513         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
18515         * math/fesetexcept.c: New file.
18516         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
18517         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
18518         * math/fenv.h: Define
18519         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18520         <bits/libc-header-start.h> instead of including <features.h>.
18521         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
18522         declaration.
18523         * manual/arith.texi (fesetexcept): Document function.
18524         * math/Versions (fesetexcept): New libm symbol at version
18525         GLIBC_2.25.
18526         * math/Makefile (libm-support): Add fesetexcept.
18527         (tests): Add test-fesetexcept and test-fesetexcept-traps.
18528         * math/test-fesetexcept.c: New file.
18529         * math/test-fesetexcept-traps.c: Likewise.
18530         * sysdeps/nacl/libm.abilist: Update.
18531         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18532         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18533         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18534         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18535         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18536         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18537         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18538         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18539         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18540         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18541         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18542         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
18544         Likewise.
18545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
18546         Likewise.
18547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
18548         Likewise.
18549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
18550         Likewise.
18551         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18552         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18553         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18554         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18555         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18556         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
18557         Likewise.
18558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
18559         Likewise.
18560         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
18561         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18562         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18564 2016-08-16  Florian Weimer  <fweimer@redhat.com>
18566         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
18567         New.
18568         (do_test): Apply default_stack_size_in_mb if not set.
18569         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
18571 2016-08-15  Andreas Schwab  <schwab@suse.de>
18573         [BZ #20435]
18574         CVE-2016-6323
18575         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
18576         as .cantunwind.
18578 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
18580         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
18581         comment from fraiseexcpt.c.
18583         * math/test-fexcept.c (feraiseexcept_exact): New function.
18584         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
18585         (test_except): Likewise.
18587 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
18589         [BZ #20455]
18590         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
18591         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
18592         to be restored.
18594         * math/test-fexcept-traps.c: New file.
18595         * math/test-fexcept.c: Likewise.
18596         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
18597         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
18598         macro.
18599         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
18600         (EXCEPTION_SET_FORCES_TRAP): Likewise.
18602 2016-08-09  Torvald Riegel  <triegel@redhat.com>
18604         * include/atomic.h (atomic_fetch_and_relaxed,
18605         atomic_fetch_and_release, atomic_fetch_or_release,
18606         atomic_fetch_xor_release): New.
18608 2016-08-06  Christian Seiler  <christian@iwakd.de>
18610         [BZ #20444]
18611         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
18612         MACH_PORT_NULL.
18614 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18616         * math/s_fdim.c: Avoid alias renamed.
18617         * math/s_fdimf.c: Likewise.
18618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18619         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18620         Add s_fdimf-vis3, s_fdim-vis3.
18621         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18622         (CFLAGS-s_fdim-vis3.c): Likewise.
18623         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
18624         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
18626 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18629         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18630         Remove s_fdimf-vis3, s_fdim-vis3.
18631         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
18632         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
18633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
18634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
18635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
18636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
18637         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
18638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
18639         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
18640         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
18642 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
18644         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
18645         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
18646         -Wa,-Av9a -mvis.
18648 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18650         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
18651         LIT() to individual constants in simple expressions
18652         after splitting on spaces.
18653         (_apply_lit): Rename replaced version, and use it to
18654         apply to what appears to be a token.
18656         * math/libm-test.inc: Fix many, many issues with
18657         spacing.
18659 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
18661         * math/math.h: Move comment about <bits/mathdef.h> definitions
18662         above inclusion of <bits/mathdef.h>.  Do not mention
18663         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
18665 2016-08-05  Torvald Riegel  <triegel@redhat.com>
18667         * include/atomic.h (atomic_exchange_relaxed): New.
18669 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
18671         * math/e_scalb.c: Do not include <fenv.h>.
18672         (invalid_fn): Do calculation resulting in NaN instead of raising
18673         FE_INVALID and returning a NaN explicitly.
18674         * math/e_scalbf.c: Do not include <fenv.h>.
18675         (invalid_fn): Do calculation resulting in NaN instead of raising
18676         FE_INVALID and returning a NaN explicitly.
18677         * math/e_scalbl.c: Do not include <fenv.h>.
18678         (invalid_fn): Do calculation resulting in NaN instead of raising
18679         FE_INVALID and returning a NaN explicitly.
18681 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
18683         * po/de.po: Updated from Translation Project.
18684         * po/fi.po: Likewise.
18685         * po/sv.po: Likewise.
18687 2016-08-04  Florian Weimer  <fweimer@redhat.com>
18689         [BZ #20452]
18690         Use sysdep.o from libc.a in static libraries.
18691         * sysdeps/unix/sysv/linux/i386/Makefile
18692         (libpthread-shared-only-routines): Add sysdep.
18693         (librt-shared-only-routines): Likewise.
18695 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18697         * math/tgmath.h (nextdown): Define if
18698         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
18699         (nextup): Likewise.
18701         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
18702         macro.
18703         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18704         Document.
18705         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
18706         Document macro.
18707         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
18708         (exp10f): Likewise.
18709         (exp10l): Likewise.
18710         * math/bits/mathcalls.h (exp10): Declare if
18711         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
18713         * manual/arith.texi (nextup): Fix typo in last change.
18715 2016-08-03  Zack Weinberg  <zackw@panix.com>
18717         [BZ #19239]
18718         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
18719         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
18720         define major, minor, and makedev to issue deprecation warnings on use.
18721         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
18722         previously-activated deprecation warnings for these macros and prevent
18723         subsequent inclusions of this header from having any effect.
18724         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
18725         including <sys/sysmacros.h>, and undefine it again afterward.
18727 2016-08-03  Zack Weinberg  <zackw@panix.com>
18729         * sysdeps/generic/sys/sysmacros.h: Delete file.
18730         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
18731         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
18732         * bits/sysmacros.h: ... here; this encoding is now the generic
18733         encoding.  Now defines only the following macros:
18734         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
18735         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
18736         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
18738         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
18739         bits/sysmacros.h and the above new macros to generate the
18740         public implementations of major, minor, and makedev.
18741         * misc/tst-makedev.c: New test.
18742         * include/sys/sysmacros.h: New wrapper.
18744         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
18745         (routines): Add makedev.
18746         (tests): Add tst-makedev.
18747         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
18748         gnu_dev_makedev.
18749         * posix/Makefile (headers): Remove sys/sysmacros.h.
18750         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
18752         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
18753         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
18754         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
18755         * sysdeps/unix/sysv/linux/alpha/libc.abilist
18756         * sysdeps/unix/sysv/linux/arm/libc.abilist
18757         * sysdeps/unix/sysv/linux/hppa/libc.abilist
18758         * sysdeps/unix/sysv/linux/i386/libc.abilist
18759         * sysdeps/unix/sysv/linux/ia64/libc.abilist
18760         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
18761         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
18762         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
18763         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
18764         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
18765         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
18766         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
18767         * sysdeps/unix/sysv/linux/nios2/libc.abilist
18768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
18769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
18770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
18771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
18772         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
18773         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
18774         * sysdeps/unix/sysv/linux/sh/libc.abilist
18775         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
18776         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
18777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
18778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
18779         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
18780         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
18781         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
18782         Add GLIBC_2.25.
18784         * include/features.h (__glibc_clang_prereq): New macro.
18785         * misc/sys/cdefs.h (__glibc_clang_has_extension)
18786         (__attribute_deprecated_msg__): New macros.
18788 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18790         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
18791         macro.
18792         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
18793         * manual/arith.texi (issignaling): Document as ISO from TS
18794         18661-1:2014.
18795         (nextup): Likewise.
18796         (nextupf): Likewise.
18797         (nextupl): Likewise.
18798         (nextdown): Likewise.
18799         (nextdownf): Likewise.
18800         (nextdownl): Likewise.
18801         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
18802         macro.
18803         * math/math.h: Define
18804         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18805         <bits/libc-header-start.h> instead of including <features.h>.
18806         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
18807         [__USE_GNU].
18808         * math/bits/mathcalls.h (nextdown): Declare if
18809         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
18810         (nextup): Likewise.
18811         (__issignaling): Likewise.
18813 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18815         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
18816         check, and remove __glibc_likely hint
18817         from FP_INFINITE check.
18818         * s_csinhf.c (__csinhf): Likewise.
18820         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
18821         hint from FP_INFINITE check.
18822         * s_csinhl.c (__csinhl): Likewise.
18824 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18826         * math/Makefile (libm-calls): Insert F placeholder into
18827         object names.  Move w_lgamma_compat* routines into
18828         (libm-compat-calls): New variable.
18829         (libm-compat-calls-ldouble-yes): New variable.
18830         (calls): Insert F placeholder.
18831         (generated): Redefine using new type-foreach macro call.
18832         (routines): Likewise.
18834         (types): New variable to hold a list of symbolic names
18835         for each type supported by the target machine.
18836         (libm-routines): Redefine using new types variable.
18837         (type-foreach): macro to replace fooF with the
18838         appropriately suffixed foo for each types.
18840         (type-ldouble-suffix): New variable.
18841         (type-ldouble-routines): Likewise.
18842         (type-ldouble-yes): Likewise.
18843         (type-double-suffix): Likewise.
18844         (type-double-routines): Likewise.
18845         (type-float-suffix): Likewise.
18846         (type-float-routines): Likewise.
18848         (dbl-only-routines): Remove.
18849         (long-c-yes): Likewise.
18850         (long-m-routines): Likewise.
18851         (long-m-support): Likewise.
18852         (long-m-yes): Likewise.
18853         (test-longdouble-yes): Likewise.
18855         (test-float.o): Simplify by increasing the scope of the
18856         recipe which adds libm-test.stmp to the vector types.
18857         (test-ifloat.o): Likewise.
18858         (test-float-finite.o): Likewise.
18859         (test-double.o): Likewise
18860         (test-idouble.o): Likewise.
18861         (test-double-finite.o): Likewise.
18862         (test-ldouble.o): Likewise
18863         (test-ildoubl.o): Likewise.
18864         (test-ldouble-finite.o): Likewise.
18866         (libm-tests): Redefine type tests using foreach and the
18867         list of types in types.
18869         (CPPFLAGS-test-ildoubl.c): Rename to
18870         (CPPFLAGS-test-ildouble.c): New variable
18872         * math/test-ildoubl.c: Rename to
18873         * math/test-ildouble.c: New file.
18875 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18877         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18878         Use fabsl instead of fabs.
18879         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18880         Likewise.
18881         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18882         Add long double suffix to constant to ensure proper
18883         promotion to long double.
18885 2016-08-03  Tom Tromey  <tom@tromey.com>
18887         [BZ #20311]
18888         * nptl_db/Makefile (headers): Add proc_service.h.
18889         * nptl_db/proc_service.h: Add include guard.  Use
18890         __BEGIN/__END_DECLS.
18891         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18892         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18893         arguments.
18896 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18898         [BZ #17730]
18899         Avoid using memalign for TCB allocations.
18900         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18901         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18902         Avoid alignment gap in the TLS_DTV_AT_TP case.
18903         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18904         determine the pointer to free.
18905         * nptl/tst-tls3-malloc.c: New test.
18906         * nptl/Makefile (tests): Add it.
18907         (tst-tls3-malloc): Link with libdl, libpthread.
18908         (LDFLAGS-tst-tls3-malloc): Set.
18909         (tst-tls3-malloc.out): Depend on DSO used in test.
18911 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18913         [BZ #17730]
18914         Avoid using memalign for TLS allocations.
18915         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18916         is_static member with to_free member.
18917         (union dtv): Use struct dtv_pointer.
18918         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18919         dtv_pointer instead of is_static.
18920         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18921         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18922         instead of val.
18923         (allocate_dtv_entry): New function.
18924         (allocate_and_init): Return struct dtv_pointer.  Call
18925         allocate_dtv_entry instead of __libc_memalign.
18926         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18927         instead of val.
18928         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18929         instead of is_static.  Adjust call to allocate_and_init.
18930         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18931         struct dtv_pointer instead of val.
18933 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18935         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18936         (MALLOC_ALIGN_MASK): Move ...
18937         * malloc/malloc-internal.h: ... to here.
18938         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18940 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18942         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18943         (UDP_ENCAP_GTP1U): Likewise.
18945         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18946         (PF_MAX): Update value.
18947         (AF_QIPCRTR): New macro.
18949 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18951         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18952         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18953         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18954         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18955         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18956         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18957         s_truncf-vis3, s_trunc-vis3.
18958         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18959         (CFLAGS-s_ceil-vis3.c): Likewise.
18960         (CFLAGS-s_floorf-vis3.c): Likewise.
18961         (CFLAGS-s_floor-vis3.c): Likewise.
18962         (CFLAGS-s_truncf-vis3.c): Likewise.
18963         (CFLAGS-s_trunc-vis3.c): Likewise.
18964         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18965         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18966         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18968         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18969         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18970         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18972         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18973         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18974         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18975         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18977 2016-08-02  David S. Miller  <davem@davemloft.net>
18979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18980         (__nearbyint_vis3): Don't check for sNaN before float register is
18981         loaded with the incoming argument.
18982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18983         (__nearbyintf_vis3): Likewise.
18984         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18985         Likewise.
18986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18987         Likewise.
18989         * string/test-strncmp.c (do_test_limit): Make sure the test data
18990         stream is aligned as required for the type "CHAR".
18991         (do_test): Likewise.
18993 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18995         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18996         by beq instructions jumping to the end of the function.
18997         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18998         clobber list. Use "i" constraint instead of "X".
18999         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
19000         of "X".
19002 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
19004         * bits/libc-header-start.h: New file.
19005         * Makefile (headers): Add bits/libc-header-start.h.
19006         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
19007         (__GLIBC_USE): New macro.
19008         * libio/stdio.h: Define
19009         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19010         <bits/libc-header-start.h> instead of including <features.h>.
19011         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
19012         (open_memstream): Likewise.
19013         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
19014         (__asprintf): Likewise.
19015         (asprintf): Likewise.
19016         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
19017         (getdelim): Likewise.
19018         (getline): Likewise.
19019         * string/string.h: Define
19020         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19021         <bits/libc-header-start.h> instead of including <features.h>.
19022         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
19023         (strndup): Likewise.
19024         * wcsmbs/wchar.h: Define
19025         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
19026         <bits/libc-header-start.h> instead of including <features.h>.
19027         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
19028         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
19030 2016-08-02  Florian Weimer  <fweimer@redhat.com>
19032         Support linking against compatibility symbols, for use in tests.
19033         * include/libc-symbols.h (symbol_version_reference): New macro.
19034         (symbol_version): Use it.
19035         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
19036         (compat_symbol): Use compat_symbol_reference.
19037         (compat_symbol_1, compat_symbol_2): Remove.
19038         (compat_symbol_reference, compat_symbol_reference_1)
19039         (compat_symbol_reference_2): New macro.  Use
19040         symbol_version_reference.
19042 2016-08-02  Florian Weimer  <fweimer@redhat.com>
19044         [BZ #19469]
19045         * malloc/Makefile (CPPFLAGS): Compile tests with
19046         -DTEST_NO_MALLOPT.
19047         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
19049 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
19051         [BZ #20033]
19052         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
19053         finite version.
19054         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
19055         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
19056         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
19057         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
19058         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
19059         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
19060         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
19061         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
19062         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
19063         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
19064         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
19065         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
19066         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
19067         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
19068         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
19069         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
19070         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
19071         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
19072         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
19073         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
19074         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
19075         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
19076         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
19077         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
19078         in zero power.
19080 2016-08-02  Florian Weimer  <fweimer@redhat.com>
19082         [BZ #20370]
19083         * malloc/arena.c (get_free_list): Update comment.  Assert that
19084         arenas on the free list have no attached threads.
19085         (remove_from_free_list): New function.
19086         (reused_arena): Call it.
19088 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
19090         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
19091         when it is a NaN.
19092         [_IEEE_FP_INEXACT] Remove.
19093         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
19094         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
19095         when it is a NaN.
19096         [_IEEE_FP_INEXACT] Remove.
19097         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
19098         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
19099         when it is a NaN.
19100         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
19101         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
19102         when its absolute value is greater than 0x1.0p52.
19103         [_IEEE_FP_INEXACT] Remove.
19104         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
19105         when its absolute value is greater than 0x1.0p23.
19106         [_IEEE_FP_INEXACT] Remove.
19108 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
19110         * version.h (RELEASE): Set to "development"
19111         (VERSION): Set to 2.24.90.
19112         * NEWS: Add 2.25 section.
19114         * version.h (RELEASE): Set to "stable"
19115         (VERSION): Set to 2.24.
19116         * include/features.h (__GLIBC_MINOR__): Set to 24.
19118         * NEWS: Add 2.24 fixed bugs.
19119         * po/libc.pot: Regenerate.
19121 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
19123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
19124         [$(subdir) = math] (libm-sysdep_routines): Remove.
19125         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
19126         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
19127         s_truncf-vis3, s_trunc-vis3.
19128         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
19129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
19130         file.
19131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
19132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
19133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
19136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
19137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
19138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
19139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
19140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
19141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
19142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
19143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
19144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
19145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
19146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
19147         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
19148         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
19149         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
19150         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
19151         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
19152         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
19153         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
19154         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
19155         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
19156         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
19157         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
19158         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
19159         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
19160         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
19161         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
19162         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
19163         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
19164         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
19165         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
19166         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
19167         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
19168         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
19169         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
19170         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
19171         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
19172         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
19173         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
19175 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
19177         [BZ #20384]
19178         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
19179         test-double-libmvec-sincos-avx-main.o,
19180         test-double-libmvec-sincos-avx2-main.o,
19181         test-double-libmvec-sincos-main.o,
19182         test-float-libmvec-sincosf-avx-main.o,
19183         test-float-libmvec-sincosf-avx2-main.o and
19184         test-float-libmvec-sincosf-main.o.
19185         test-float-libmvec-sincosf-avx512-main.o.
19186         ($(objpfx)test-double-libmvec-sincos): Also link with
19187         $(objpfx)test-double-libmvec-sincos-main.o.
19188         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
19189         $(objpfx)test-double-libmvec-sincos-avx-main.o.
19190         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
19191         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
19192         ($(objpfx)test-float-libmvec-sincosf): Also link with
19193         $(objpfx)test-float-libmvec-sincosf-main.o.
19194         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
19195         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
19196         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
19197         test-double-libmvec-sincos-avx512-main.o and
19198         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
19199         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
19200         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
19201         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
19202         (CFLAGS-test-double-libmvec-sincos.c): Removed.
19203         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
19204         (CFLAGS-test-double-libmvec-sincos-main.c): New.
19205         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
19206         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
19207         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
19208         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
19209         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
19210         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
19211         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
19212         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
19213         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
19214         -DREQUIRE_AVX2.
19215         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
19216         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
19217         -DREQUIRE_AVX512F.
19218         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
19219         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
19220         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19221         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
19222         file.
19223         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
19224         Likewise.
19225         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
19226         Likewise.
19227         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
19228         Likewise.
19229         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
19230         Likewise.
19231         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
19232         Likewise.
19233         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
19234         Likewise.
19235         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
19236         Likewise.
19238 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
19240         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
19242 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
19244         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
19245         and typo in a comment about AT_HWCAP entry.
19247 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19249         * sysdeps/aarch64/libm-test-ulps: Updated.
19251 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
19253         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
19254         of r13 as it is not restored in mvcle case.
19256 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
19258         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
19259         Rename "ret" to "__ret".
19260         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
19261         inline_syscall5, inline_syscall6): Likewise.
19263 2016-07-19   Will Newton  <will.newton@gmail.com>
19265         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
19266         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
19267         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
19268         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
19269         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
19271 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
19273         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
19274         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
19275         -mfpmath=387 with $(rtld-CFLAGS).
19276         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
19277         $(rtld-CFLAGS).
19279 2016-07-18   Ross Burton  <ross.burton@intel.com>
19280              Khem Raj  <raj.khem@gmail.com>
19282         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
19283         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
19284         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
19285         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
19286         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
19287         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
19288         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
19289         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
19290         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
19291         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
19292         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
19293         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
19294         R_METAG_TLS_DTPOFF): New.
19296 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19297             Matt Clay  <mclay@lycos.com>
19299         [BZ #20357]
19300         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
19301         to call __mpsin/__mpcos and to negate values.
19302         * math/auto-libm-test-in: Add test.
19303         * math/auto-libm-test-out: Regenerate.
19305 2016-07-18  Zack Weinberg  <zackw@panix.com>
19307         * grp/Makefile: Don't install the internal header grp-merge.h.
19309 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19311         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19313 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19315         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
19317 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19319         [BZ #15368]
19320         * sysdeps/unix/sysv/linux/nptl-signals.h
19321         (__nptl_clear_internal_signals): New function.
19322         (__libc_signal_block_all): Likewise.
19323         (__libc_signal_block_app): Likewise.
19324         (__libc_signal_restore_set): Likewise.
19325         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
19326         implementation.
19327         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
19328         the cached pid/tid value in pthread structure.
19330 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
19332         [BZ #20347]
19333         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19335 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19337         [BZ #20348]
19338         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
19339         preadv64, pwrite64 and pwritev64.
19341 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19343         [BZ #20350]
19344         * posix/tst-preadwrite.c: Renamed to ...
19345         * posix/tst-preadwrite-common.c: This.
19346         (PREAD): Removed.
19347         (PWRITE): Likewise.
19348         (STRINGIFY): Likewise.
19349         (STRINGIFY2): Likewise.
19350         (do_prepare): Make it static and remove function arguments.
19351         (do_test): Likewise.
19352         (PREPARE): Updated.
19353         (TEST_FUNCTION): New.
19354         (name): Make it static.
19355         (fd): Likewise.
19356         (do_prepare): Use create_temp_file.
19357         (do_test): Renamed to ...
19358         (do_test_with_offset): This.  Make it static and accept offset.
19359         Properly check return value of PWRITE and PREAD.  Return bytes
19360         read.  Don't close fd nor unlink name.
19361         * posix/tst-preadwrite.c: Rewrite.
19362         * posix/tst-preadwrite64.c: Likewise.
19364 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
19366         [BZ #20309]
19367         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
19368         -mtls-dialect=gnu2 works.
19369         * configure: Regenerated.
19370         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
19371         (tests): Add tst-gnu2-tls1.
19372         (modules-names): Add tst-gnu2-tls1mod.
19373         ($(objpfx)tst-gnu2-tls1): New.
19374         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
19375         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
19376         * elf/tst-gnu2-tls1.c: New file.
19377         * elf/tst-gnu2-tls1mod.c: Likewise.
19378         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
19379         bytes for push in the PLT entry to align the stack.
19381 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19383         [BZ #20349]
19384         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
19386 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19388         [BZ #18707]
19389         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
19390         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
19392 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19394         * sysdeps/unix/sysv/linux/sysdep.h
19395         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
19396         guards.
19397         * misc/tst-preadvwritev-common.c: New file.
19398         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
19399         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
19400         a check for files larger than 2GB.
19402         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19403         (__ASSUME_OFF_DIFF_OFF64): Remove define.
19404         * sysdeps/unix/sysv/linux/pread.c
19405         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
19406         __OFF_T_MATCHES_OFF64_T.
19407         * sysdeps/unix/sysv/linux/pread64.c
19408         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
19409         * sysdeps/unix/sysv/linux/preadv.c
19410         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
19411         * sysdeps/unix/sysv/linux/preadv64.c
19412         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
19413         * sysdeps/unix/sysv/linux/pwrite.c
19414         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
19415         * sysdeps/unix/sysv/linux/pwrite64.c
19416         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
19417         * sysdeps/unix/sysv/linux/pwritev.c
19418         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
19419         * sysdeps/unix/sysv/linux/pwritev64.c
19420         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
19422 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
19424         * sysdeps/unix/sysv/linux/tile/kernel-features.h
19425         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
19427 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19429         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
19431 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
19433         [BZ #20240]
19434         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
19435         (CFLAGS-s_modf-ppc32.c): New variable.
19436         (CFLAGS-s_modff-ppc32.c): Likewise.
19437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19438         (CFLAGS-s_modf-ppc64.c): Likewise.
19439         (CFLAGS-s_modff-ppc64.c): Likewise.
19441 2016-07-07  Andreas Schwab  <schwab@suse.de>
19443         [BZ #20263]
19444         * nptl/tst-robust10.c: New test.
19445         * nptl/Makefile (tests): Add tst-robust10.
19447 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
19449         [BZ #20263]
19450         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
19452 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
19454         * sysdeps/s390/linkmap.h (struct link_map_machine):
19455         Remove member gotplt and add member jmprel.
19456         * sysdeps/s390/s390-32/dl-machine.h
19457         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
19458         instead of gotplt with &got[3].
19459         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
19460         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19462 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
19464         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
19466 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19468         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
19469         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
19470         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19471         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
19472         * libio/vtables.c (_IO_vtable_check)
19473         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
19474         * libio/libioP.h (IO_set_accept_foreign_vtables)
19475         [!PTR_MANGLE]: Do not call PTR_MANGLE.
19477 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
19479         [BZ #20314]
19480         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
19481         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
19482         $(common-objpfx)cmath.
19483         ($(common-objpfx)cstdlib): New target.
19484         ($(common-objpfx)cmath): Likewise.
19486 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
19488         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
19490 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19492         [BZ #20327]
19493         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
19494         are not part of the string.
19496 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19498         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
19499         * nptl/tst-cancel4-common.h (fifoname): New variable.
19500         (fifofd): Likewise.
19501         (cl_fifo): New function.
19502         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
19503         SIGINT.
19504         (tf_open): Add early cancel test.
19506 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
19508         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
19510 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
19512         * sysdeps/generic/ldsodefs.h
19513         (dl_symbol_visibility_binds_local_p): New inline function.
19514         * elf/dl-addr.c (determine_info): Treat hidden and internal
19515         symbols as local.
19516         * elf/dl-lookup.c (do_lookup_x): Likewise.
19517         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
19519 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
19521         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
19522         invalid exception for a sNaN input.
19523         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19524         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
19525         (__nearbyint_vis3): Likewise
19526         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
19527         (__nearbyintf_vis3): Likewise
19528         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
19529         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19530         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
19531         Likewise.
19532         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
19533         Likewise.
19535 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
19537         [BZ #20139]
19538         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
19539         (HAVE_AVX512DQ_ASM_SUPPORT): This.
19540         * sysdeps/x86_64/configure.ac: Require assembler from binutils
19541         2.24 or above.
19542         (HAVE_AVX512_ASM_SUPPORT): Removed.
19543         (HAVE_AVX512DQ_ASM_SUPPORT): New.
19544         * sysdeps/x86_64/configure: Regenerated.
19545         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
19546         check unconditional.
19547         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
19548         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
19549         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
19550         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
19551         Likewise.
19552         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
19553         Likewise.
19554         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19555         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19556         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
19557         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
19558         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
19559         Likewise.
19560         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
19561         Likewise.
19562         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19563         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19564         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
19565         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
19566         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
19567         Likewise.
19568         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
19569         Likewise.
19570         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
19571         Likewise.
19572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
19573         Likewise.
19574         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
19575         Likewise.
19576         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
19577         Likewise.
19578         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
19579         Likewise.
19580         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
19581         Likewise.
19582         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
19583         Likewise.
19584         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
19585         Likewise.
19586         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
19587         Likewise.
19589 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
19591         [BZ #20024]
19592         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
19593         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
19594         of this implementation of vector function.
19595         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
19596         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
19597         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
19598         Likewise.
19599         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
19600         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
19601         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
19602         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
19603         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
19604         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
19605         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
19606         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
19607         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
19608         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
19609         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
19610         for testing vector sincos with fixed ABI.
19611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19612         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19613         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19614         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
19615         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19617         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19618         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
19619         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
19620         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
19621         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
19622         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
19623         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
19624         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
19625         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
19626         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19628 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19630         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
19632 2016-06-30  Anton Blanchard  <anton@samba.org>
19634         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19635         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
19636         s_sinf-ppc64.
19637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
19638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
19639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
19640         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
19642 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19645         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
19646         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
19647         e_expf-ppc64.
19648         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
19649         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
19650         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
19651         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
19653 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
19655         [BZ #20277]
19656         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
19657         when SHARED is defined.
19659 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
19661         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
19662         (index_arch_Prefer_ERMS): Likewise.
19663         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
19664         __memcpy_erms for Prefer_ERMS.
19665         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19666         (__memmove_erms): Enabled for libc.a.
19667         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
19668         __memmove_erms or Prefer_ERMS.
19669         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
19670         __mempcpy_erms for Prefer_ERMS.
19671         * sysdeps/x86_64/multiarch/memset.S (memset): Return
19672         __memset_erms for Prefer_ERMS.
19674 2016-06-30  Andreas Schwab  <schwab@suse.de>
19676         [BZ #20262]
19677         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
19678         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
19679         of memory.
19681 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
19683         [BZ #18645]
19684         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
19685         (test-extras): Add tst-cleanupx4aux.
19686         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
19687         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
19688         tst-cleanupx4aux.o.
19689         * nptl/tst-cleanupx4aux.c: New file.
19691 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
19693         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
19695 2016-06-29  Andreas Schwab  <schwab@suse.de>
19697         [BZ #20260]
19698         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
19699         address before the beginning of the string as an integer to avoid
19700         array-bounds warning.
19702 2016-06-28  Richard Henderson  <rth@redhat.com>
19704         * elf/elf.h (EM_BPF): New.
19705         (EM_NUM): Update.
19706         (R_BPF_NONE, R_BPF_MAP_FD): New.
19708         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
19709         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
19710         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
19711         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
19712         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
19713         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
19714         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
19715         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
19716         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
19717         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
19718         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
19719         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
19720         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
19721         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
19722         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
19723         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
19724         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
19725         (EM_NUM): Update.
19727 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
19729         [BZ #18960]
19730         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
19731         Set _nl_current_LC_CATEGORY_used to two instead of one.
19733 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
19735         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
19736         (do_test): ... this.
19737         (TEST_FUNCTION): New macro.
19738          Include test-skeleton.c.
19739         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
19740         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
19742 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
19744         [BZ #15479]
19745         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
19746         floating-point environment rather than just control word.
19747         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
19748         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
19749         floating-point environment, with "invalid" exceptions merged in,
19750         rather than just control word.
19751         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
19752         * math/libm-test.inc (trunc_test_data): Do not allow spurious
19753         "inexact" exceptions.
19755         [BZ #15479]
19756         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
19757         floating-point environment rather than just control word.
19758         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
19759         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
19760         floating-point environment, with "invalid" exceptions merged in,
19761         rather than just control word.
19762         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
19763         * math/libm-test.inc (floor_test_data): Do not allow spurious
19764         "inexact" exceptions.
19766         [BZ #15479]
19767         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
19768         floating-point environment rather than just control word.
19769         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
19770         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
19771         floating-point environment, with "invalid" exceptions merged in,
19772         rather than just control word.
19773         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
19774         * math/libm-test.inc (ceil_test_data): Do not allow spurious
19775         "inexact" exceptions.
19777 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
19779         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
19780         __libc_vfork.
19781         (__vfork) [IS_IN (libc)]: Remove alias.
19782         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
19783         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19784         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19786 2016-06-24  Torvald Riegel  <triegel@redhat.com>
19788         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
19789         of atomic_compare_and_exchange_bool_rel.
19790         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
19791         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
19792         catomic_compare_and_exchange_bool_rel): Remove.
19793         * sysdeps/aarch64/atomic-machine.h
19794         (atomic_compare_and_exchange_bool_rel): Likewise.
19795         * sysdeps/alpha/atomic-machine.h
19796         (atomic_compare_and_exchange_bool_rel): Likewise.
19797         * sysdeps/arm/atomic-machine.h
19798         (atomic_compare_and_exchange_bool_rel): Likewise.
19799         * sysdeps/mips/atomic-machine.h
19800         (atomic_compare_and_exchange_bool_rel): Likewise.
19801         * sysdeps/microblaze/atomic-machine.h
19802         ( __arch_compare_and_exchange_bool_8_rel,
19803         __arch_compare_and_exchange_bool_16_rel): Likewise.
19804         * sysdeps/powerpc/atomic-machine.h
19805         ( __arch_compare_and_exchange_bool_8_rel,
19806         __arch_compare_and_exchange_bool_16_rel): Likewise.
19807         * sysdeps/powerpc/powerpc32/atomic-machine.h
19808         ( __arch_compare_and_exchange_bool_32_rel,
19809         __arch_compare_and_exchange_bool_64_rel): Likewise.
19810         * sysdeps/powerpc/powerpc64/atomic-machine.h
19811         ( __arch_compare_and_exchange_bool_32_rel,
19812         __arch_compare_and_exchange_bool_64_rel): Likewise.
19813         * sysdeps/tile/atomic-machine.h
19814         (atomic_compare_and_exchange_bool_rel): Likewise.
19816 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
19818         [BZ #20296]
19819         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
19820         when either argument is a NaN.
19821         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
19822         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
19824         * math/libm-test.inc (snan_value_ld): New macro.
19825         (isgreater_test_data): Add sNaN tests.
19826         (isgreaterequal_test_data): Likewise.
19827         (isless_test_data): Likewise.
19828         (islessequal_test_data): Likewise.
19829         (islessgreater_test_data): Likewise.
19830         (isunordered_test_data): Likewise.
19831         (nextafter_test_data): Likewise.
19832         (nexttoward_test_data): Likewise.
19833         (remainder_test_data): Likewise.
19834         (remquo_test_data): Likewise.
19835         (significand_test_data): Likewise.
19836         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
19838 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
19840         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
19841         environment macros are defined.
19842         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
19844 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19846         [BZ #20191]
19847         Implement vtable verification in libio.
19848         * Makerules (shlib.lds): Place __libc_IO_vtables section.
19849         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
19850         * debug/vdprintf_chk.c (__vdprintf_chk): Call
19851         _IO_new_file_init_internal instead of _IO_file_init.
19852         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
19853         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
19854         * libio/Makefile (routines): Add vtables.
19855         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
19856         (_IO_init): Remove, not for internal use.
19857         (_IO_init_internal): Declare, internal replacement for _IO_init.
19858         (_IO_file_init): Remove, not for internal use.
19859         (_IO_new_file_init): Remove, not for internal use.
19860         (_IO_new_file_init_internal): Declare, internal replacement for
19861         _IO_new_file_init.
19862         (_IO_old_file_init): Remove, not for internal use.
19863         (_IO_old_file_init_internal): Declare, internal replacement for
19864         _IO_old_file_init.
19865         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19866         internal use.
19867         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19868         Declare.
19869         (libio_vtable): New macro.
19870         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19871         functions.
19872         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19873         _IO_new_file_init.
19874         (_IO_new_file_init): New externally visible wrapper which disables
19875         vtable verification.
19876         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19877         Define as vtables.
19878         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19879         (_IO_init): New externally visible wrapper which disables
19880         vtable verification.
19881         * libio/iofdopen.c (_IO_new_fdopen): Call
19882         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19883         comment.
19884         * libio/iofopen.c (__fopen_internal): Call
19885         _IO_new_file_init_internal instead of _IO_file_init.
19886         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19887         Define as vtables.
19888         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19889         _IO_new_file_init_internal instead of _IO_file_init.
19890         * libio/iopopen.c (_IO_new_popen): Likewise.
19891         (_IO_proc_jumps): Define as vtable.
19892         * libio/iovdprintf.c (_IO_vdprintf): Call
19893         _IO_new_file_init_internal instead of _IO_file_init.
19894         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19895         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19896         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19897         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19898         _IO_old_file_init.
19899         (_IO_old_file_init): New externally visible wrapper which disables
19900         vtable verification.
19901         (_IO_old_file_jumps): Define as vtable.
19902         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19903         _IO_old_file_init_internal instead of _IO_old_file_init.
19904         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19905         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19906         (_IO_old_proc_jumps): Define as vtable.
19907         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19908         Define as vtables.
19909         * libio/vtables.c: New file.
19910         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19911         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19912         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19913         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19914         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19915         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19916         instead of _IO_init.
19918 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19920         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19922 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19924         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19925         potentially unused.
19927 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19929         * test-skeleton.c (write_message): New function.
19930         * malloc/tst-mallocfork2.c (write_message): Remove.
19931         * debug/tst-longjmp_chk2.c (write_indented): New function.
19932         (write_message): Remove.
19933         (stackoverflow_handler): Call write_indented.
19935 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19937         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19938         "inexact" exceptions after fnstenv.
19939         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19940         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19941         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19943 2015-06-22  Zack Weinberg  <zackw@panix.com>
19945         * sysdeps/generic/bits/hwcap.h: Moved to ...
19946         * bits/hwcap.h: Here.
19948 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19950         * sysdeps/aarch64/memcpy.S (memcpy):
19951         Further tuning for performance.
19953 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19955         [BZ #20284]
19956         * malloc/arena.c (reused_arena): Do not return NULL if we start
19957         out with a non-corrupted arena.
19959 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19961         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19962         * misc/tst-preadvwritev.c: New file.
19963         * misc/tst-preadvwritev64.c: Likewise.
19964         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19965         usage.
19966         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19967         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19968         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19969         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19971 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19973         [BZ #19654]
19974         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19975         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19976         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19977         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19978         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19979         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19980         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19981         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19982         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19983         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19984         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19985         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19986         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19987         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19988         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19989         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19990         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19991         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19992         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19993         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19994         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19995         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19996         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19997         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19998         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19999         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
20001 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
20003         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
20004         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
20006 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
20008         * sysdeps/aarch64/memcpy.S (memcpy):
20009         Rewrite of optimized memcpy and memmove.
20010         * sysdeps/aarch64/memmove.S (memmove): Remove
20011         memmove code (merged into memcpy.S).
20013 2016-06-20  Florian Weimer  <fweimer@redhat.com>
20015         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
20016         * sysdeps/generic/dl-dtv.h: New file.
20017         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20018         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
20019         (dtv_t): Remove.
20020         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20021         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
20022         (dtv_t): Remove.
20023         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20024         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
20025         (dtv_t): Remove.
20026         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20027         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
20028         (dtv_t): Remove.
20029         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20030         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
20031         (dtv_t): Remove.
20032         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20033         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
20034         (dtv_t): Remove.
20035         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20036         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
20037         (dtv_t): Remove.
20038         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
20039         (dtv_t): Remove.
20040         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20041         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
20042         (dtv_t): Remove.
20043         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20044         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
20045         (dtv_t): Remove.
20046         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20047         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
20048         (dtv_t): Remove.
20049         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20050         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
20051         (dtv_t): Remove.
20052         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20053         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
20054         (dtv_t): Remove.
20055         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20056         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
20057         (dtv_t): Remove.
20058         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20059         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
20060         (dtv_t): Remove.
20061         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
20062         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
20063         (dtv_t): Remove.
20065 2016-06-20  Florian Weimer  <fweimer@redhat.com>
20067         Revert symbol poisoning of  __malloc_initialize_hook.
20068         * include/stdc-predef.h (__malloc_initialize_hook): Remove
20069         poisoning.
20070         * malloc/Makefile: Remove un-poisoning.
20071         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
20072         instead of old__malloc_initialize_hook.
20073         * malloc/malloc-hooks.h: Likewise.
20074         * malloc/malloc.c: Likewise.
20075         * malloc/mcheck-init.c: Likewise.
20077 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
20079         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
20081 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
20083         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
20084         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
20085         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
20086         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
20088 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20090         * NEWS: Mention addition of nextup and nextdown.
20091         * manual/arith.texi: Document nextup and nextdown.
20092         * manual/libm-err-tab.pl: Add nextup and nextdown.
20093         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
20094         * math/Versions (libm): Add GLIBC_2.24.
20095         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
20096         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20097         Add new test.
20098         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
20099         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
20100         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
20101         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
20102         (nextup_test_data): Likewise.
20103         (nextdown_test_data): Likewise.
20104         * math/s_nextdown.c: New file.
20105         * math/s_nextdownf.c: Likewise.
20106         * math/s_nextdownl.c: Likewise.
20107         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
20108         F(nextup): New function.
20109         F(nextdown): Likewise.
20110         * math/tgmath.h: Add nextup and nextdown.
20111         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
20112         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
20113         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
20114         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
20115         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
20116         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
20117         Add nextup and nextdown.
20118         (CFLAGS-nldbl-nextup.c): New variable.
20119         (CFLAGS-nldbl-nextdown.c): Likewise.
20120         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
20121         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
20122         * sysdeps/nacl/libm.abilist: Update.
20123         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
20124         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
20125         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
20126         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
20127         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
20128         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
20129         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
20130         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
20131         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
20132         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
20133         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
20134         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
20135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
20136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
20137         Likewise.
20138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
20139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
20140         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
20141         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
20142         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
20143         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
20144         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
20145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
20146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
20147         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20148         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
20149         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
20150         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
20152 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20154         * manual/pattern.texi: Fix typos & grammar errors.
20156 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20158         * manual/search.texi: Fix typos & grammar errors.
20160 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20162         * manual/message.texi: Fix typos & grammar errors.
20164 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
20166         * manual/contrib.texi: Fix spelling typos.
20167         * manual/crypt.texi: Likewise.
20168         * manual/filesys.texi: Likewise.
20169         * manual/locale.texi: Likewise.
20170         * manual/message.texi: Likewise.
20171         * manual/nss.texi: Likewise.
20172         * manual/string.texi: Likewise.
20174 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20176         * manual/locale.texi: Fix typos & grammar errors.
20178 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20180         * manual/charset.texi: Fix typos & grammar errors.
20182 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20184         * manual/string.texi: Fix typos.
20186 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20188         * manual/ctype.texi: Fix typos.
20190 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
20192         * manual/memory.texi: Fix various typos & grammar errors.
20194 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
20196         [BZ #20255]
20197         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
20198         * math/libm-test.inc (fdim_test_data): Add another test.
20200         [BZ #6796]
20201         [BZ #20255]
20202         [BZ #20256]
20203         * math/s_fdim.c: Include <math_private.h>.
20204         (__fdim): Use math_narrow_eval on result.
20205         * math/s_fdimf.c: Include <math_private.h>.
20206         (__fdimf): Use math_narrow_eval on result.
20207         * sysdeps/i386/fpu/s_fdim.S: Remove file.
20208         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
20209         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
20210         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
20211         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
20212         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
20213         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
20214         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
20215         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
20216         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
20217         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
20218         * math/libm-test.inc (fdim_test_data): Expect errno setting on
20219         overflow.  Add sNaN tests.
20221         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
20222         fpclassify.
20223         * math/s_fdimf.c (__fdimf): Likewise.
20224         * math/s_fdiml.c (__fdiml): Likewise.
20226 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20228         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20229         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
20230         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20231         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
20232         ifunc'ed strcasecmp/strncasecmp.
20233         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
20234         [EALIGN]: Removed.
20235         [END]: Likewise.
20236         [__strcasecmp]: Define instead of the above to control symbol name.
20237         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
20238         for __strcasecmp_power8.
20239         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
20240         for __strncasecmp_power8.
20241         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
20242         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
20243         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
20244         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
20245         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
20246         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
20248 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
20250         [BZ #20252]
20251         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
20252         arguments when second argument is a NaN.
20253         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
20254         qNaN tests.
20256         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
20257         (conj_test_data): Likewise.
20258         (copysign_test_data): Likewise.
20259         (creal_test_data): Likewise.
20260         (fma_test_data): Likewise.
20261         (fmod_test_data): Likewise.
20263         [BZ #20250]
20264         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
20265         itself.
20266         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
20267         zero input to itself.
20268         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
20269         Likewise.
20270         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
20271         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
20272         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
20273         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
20274         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
20276 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20278         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
20279         * nptl/tst-cancel4-common.c: New file.
20280         * nptl/tst-cancel4-common.h: Likewise.
20281         * nptl/tst-cancel4.c: Move common definitions to
20282         tst-cancel4-common.{c,h} file.
20283         * nptl/tst-cancel4_1.c: New test.
20284         * nptl/tst-cancel4_2.c: New test.
20286 2016-06-13  Florian Weimer  <fweimer@redhat.com>
20288         [BZ #20248]
20289         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
20290         (write_message): New function.
20291         (stackoverflow_handler): Call it instead of printf, to avoid
20292         excessive stack usage by printf.
20293         (do_test): Restore SIGSEGV, SIGBUS default handlers.
20295 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20297         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
20298         (prio_inherit_missing): Remove define.
20299         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20300         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20301         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
20302         Likewise.
20303         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20304         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20305         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20306         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20307         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20308         (__ASSUME_FUTEX_LOCK_PI): Likewise.
20310 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
20312         [BZ #19670]
20313         [BZ #19672]
20315         * io/test-lfs.c (do_prepare): Use xmalloc.
20316         * io/tst-fcntl.c (do_prepare): Likewise.
20317         * libio/tst-fopenloc.c (do_bz17916): Likewise.
20318         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
20319         * login/tst-utmp.c (do_prepare): Likewise.
20320         * posix/tst-exec.c (do_prepare): Likewise.
20321         * posix/tst-pathconf.c (prepare): Likewise.
20322         * posix/tst-spawn.c (do_prepare): Likewise.
20323         * posix/tst-truncate.c (do_prepare): Likewise.
20324         * rt/tst-aio.c (do_prepare): Likewise.
20325         * rt/tst-aio64.c (do_prepare): Likewise.
20327 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20329         [BZ #20237]
20330         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
20331         (get*ent): Set entidx to NULL during initialization.  If entidx is
20332         NULL, start iteration from the beginning.
20334 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20336         * malloc/malloc.c (musable): Return correct size for dumped fake
20337         mmapped chunk.
20339 2016-06-11  Florian Weimer  <fweimer@redhat.com>
20341         [BZ #20222]
20342         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
20343         (_IO_cookie_write): Likewise.
20344         (_IO_cookie_seek): Likewise.
20345         (_IO_cookie_close): Likewise.
20346         (_IO_old_cookie_seek): Likewise.
20347         (set_callbacks): New function.
20348         (_IO_cookie_init): Call set_callbacks to copy callbacks.
20350 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
20352         * locale/programs/localedef.c (oldstyle_tables): Remove.
20353         * locale/programs/localedef.h (oldstyle_tables): Likewise.
20355 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
20357         [BZ #20240]
20358         * math/Makefile (CFLAGS-s_modf.c): New variable.
20359         (CFLAGS-s_modff.c): Likewise.
20360         (CFLAGS-s_modfl.c): Likewise.
20361         * math/libm-test.inc (modf_test_data): Add sNaN tests.
20363 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
20365         [BZ #20215]
20366         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
20367         [!__GNUC_PREREQ (3,2)]: Likewise.
20369 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
20371         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
20372         (msghdr.msg_controllen): Likewise.
20373         (cmsghdr.cmsg_len): Likewise.
20374         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
20375         ptw-oldsendmsg.
20376         (CFLAGS-oldrecvmsg.c): Remove rule.
20377         (CFLAGS-oldsendmsg.c): Likewise.
20378         (CFLAGS-recvmsg.c): Add rule.
20379         (CFLAGS-sendmsg.c): Likewise.
20380         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
20381         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
20382         (CFLAGS-recvmsg.c): Remove rule.
20383         (CFLAGS-sendmsg.c): Likewise.
20384         (CFLAGS-oldrecvmsg.c): Likewise.
20385         (CFLAGS-oldsendmsg.c): Likewise.
20386         (CFLAGS-recvmmsg.c): Likewise.
20387         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
20388         to kernel defined interfaces.
20389         (msghdr.msg_controllen): Likewise.
20390         (cmsghdr.cmsg_len): Likewise.
20391         (msghdr.__glibc_reserved1): Remove member.
20392         (msghdr.__glibc_reserved2): Likewise.
20393         (cmsghdr.__glibc_reserved1): Likewise.
20394         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
20395         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
20396         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20397         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20398         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
20399         version.
20400         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20401         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
20402         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20403         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
20404         Remove recvmsg and sendmsg.
20405         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
20406         Likewise.
20407         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20408         Likewise.
20409         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20410         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20411         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20412         Likewise.
20413         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20414         Likewise.
20415         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
20416         [libc] (GLIBC_2.24): Likewise.
20417         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20418         Likewise.
20419         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20420         Likewise.
20421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
20422         [libc] (GLIBC_2.24): Likewise.
20423         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20424         Likewise.
20425         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20426         Likewise.
20427         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20428         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20429         Likewise.
20430         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20431         Likewise.
20432         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20433         Likewise.
20434         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
20435         Likewise.
20436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
20437         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
20438         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
20439         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
20440         version for {recv,send,recm,sendm}msg.
20441         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20442         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
20443         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20444         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20445         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20446         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20447         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20448         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20449         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20450         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20451         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20452         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20454         Likewise.
20455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
20456         Likewise.
20457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20459         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20460         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20461         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
20462         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20463         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20464         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20465         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20466         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20467         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20468         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20469         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20471 2016-06-10  Florian Weimer  <fweimer@redhat.com>
20473         [BZ #19564]
20474         Remove __malloc_initialize_hook from the API.
20475         * malloc/malloc.h (__malloc_initialize_hook): Remove.
20476         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
20477         #pragma GCC poison.
20478         * malloc/malloc-hooks.h: New file.
20479         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
20480         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
20481         (old__malloc_initialize_hook): Rename from
20482         __malloc_initialize_hook to evade poisoning.  Turn into compat
20483         symbol.
20484         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
20485         __malloc_initialize_hook.
20486         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
20487         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
20488         * manual/memory.texi (Hooks for Malloc): Remove
20489         __malloc_initialize_hook.  Adjust hook example.
20491 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
20493         [BZ #20235]
20494         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
20495         itself.
20496         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
20497         * math/libm-test.inc (log2_test_data): Add sNaN tests.
20499         [BZ #20234]
20500         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
20501         infinity or NaN input to itself.
20503         [BZ #20233]
20504         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
20505         to itself.
20507         [BZ #20232]
20508         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
20509         itself.
20511 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20513         * sysdeps/x86_64/start.S (_start): Always indirect branch to
20514         __libc_start_main via GOT.
20516 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
20518         * sysdeps/x86_64/memcopy.h: New file.
20519         * sysdeps/x86_64/wordcopy.c: Likewise.
20521 2016-06-09  Florian Weimer  <fweimer@redhat.com>
20523         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
20524         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
20525         <cstdlib>.
20526         (optimization_barrier): New.
20527         (do_test): Use it.  Call quick_exit in the global namespace.
20528         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
20529         instead of <cstdlib>, <thread>.
20530         (optimization_barrier): New.
20531         (non_main_thread): Adjust declaration.  Call optimization_barrier.
20532         Call quick_exit in the global namespace.
20533         (do_test): Call optimization_barrier.  Use pthread_create,
20534         pthread_join instead of std::thread.
20536 2016-06-09  Andreas Schwab  <schwab@suse.de>
20538         [BZ #19755]
20539         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
20540         new entries in auto-propagate mode.
20541         * nscd/grpcache.c (cache_addgr): Likewise.
20543 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
20545         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
20546         New functions.
20547         (add_temp_file): Use them.
20549 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20551         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
20553 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
20555         [BZ #20229]
20556         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
20557         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
20558         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
20560         [BZ #20228]
20561         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
20562         itself.
20563         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
20564         * math/libm-test.inc (log10_test_data): Add sNaN tests.
20566         [BZ #20227]
20567         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
20568         itself.
20569         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20570         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20571         * math/libm-test.inc (log_test_data): Add sNaN tests.
20573         [BZ #20226]
20574         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
20575         itself.
20576         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20577         * math/libm-test.inc (exp_test_data): Add sNaN tests.
20578         (exp10_test_data): Likewise.
20579         (expm1_test_data): Likewise.
20581         [BZ #20225]
20582         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
20583         itself.
20584         * math/s_ldexpf.c (__ldexpf): Likewise.
20585         * math/s_ldexpl.c (__ldexpl): Likewise.
20586         * math/w_scalbln.c (__w_scalbln): Likewise.
20587         * math/w_scalblnf.c (__w_scalblnf): Likewise.
20588         * math/w_scalblnl.c (__w_scalblnl): Likewise.
20589         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
20590         (scalbln_test_data): Likewise.
20592         [BZ #20224]
20593         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
20594         argument to itself.
20595         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
20597 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20599         [BZ #19776]
20600         * sysdeps/x86_64/memcpy.S: Make it dummy.
20601         * sysdeps/x86_64/mempcpy.S: Likewise.
20602         * sysdeps/x86_64/memmove.S: New file.
20603         * sysdeps/x86_64/memmove_chk.S: Likewise.
20604         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
20605         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
20606         * sysdeps/x86_64/memmove.c: Removed.
20607         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
20608         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20609         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
20610         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20611         Likewise.
20612         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
20613         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
20614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20615         memcpy-sse2-unaligned, memmove-avx-unaligned,
20616         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
20617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20618         (__libc_ifunc_impl_list): Replace
20619         __memmove_chk_avx512_unaligned_2 with
20620         __memmove_chk_avx512_unaligned.  Remove
20621         __memmove_chk_avx_unaligned_2.  Replace
20622         __memmove_chk_sse2_unaligned_2 with
20623         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
20624         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
20625         with __memmove_avx512_unaligned.  Replace
20626         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
20627         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
20628         with __memcpy_chk_avx512_unaligned.  Remove
20629         __memcpy_chk_avx_unaligned_2.  Replace
20630         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
20631         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
20632         Replace __memcpy_avx512_unaligned_2 with
20633         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
20634         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
20635         with __mempcpy_chk_avx512_unaligned.  Remove
20636         __mempcpy_chk_avx_unaligned_2.  Replace
20637         __mempcpy_chk_sse2_unaligned_2 with
20638         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
20639         Replace __mempcpy_avx512_unaligned_2 with
20640         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
20641         Replace __mempcpy_sse2_unaligned_2 with
20642         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
20643         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
20644         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
20645         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
20646         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
20647         (ENTRY): Removed.
20648         (END): Likewise.
20649         (ENTRY_CHK): Likewise.
20650         (libc_hidden_builtin_def): Likewise.
20651         Don't include ../memcpy.S.
20652         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
20653         __memcpy_chk_avx512_unaligned_erms and
20654         __memcpy_chk_avx512_unaligned.  Use
20655         __memcpy_chk_avx_unaligned_erms and
20656         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20657         Default to __memcpy_chk_sse2_unaligned.
20658         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20659         Change function suffix from unaligned_2 to unaligned.
20660         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
20661         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
20662         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
20663         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
20664         (ENTRY): Removed.
20665         (END): Likewise.
20666         (ENTRY_CHK): Likewise.
20667         (libc_hidden_builtin_def): Likewise.
20668         Don't include ../mempcpy.S.
20669         (mempcpy): New.  Add a weak alias.
20670         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
20671         __mempcpy_chk_avx512_unaligned_erms and
20672         __mempcpy_chk_avx512_unaligned.  Use
20673         __mempcpy_chk_avx_unaligned_erms and
20674         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
20675         Default to __mempcpy_chk_sse2_unaligned.
20677 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
20679         [BZ #19881]
20680         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
20681         into ...
20682         * sysdeps/x86_64/memset.S: This.
20683         (__bzero): Removed.
20684         (__memset_tail): Likewise.
20685         (__memset_chk): Likewise.
20686         (memset): Likewise.
20687         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
20688         defined.
20689         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
20690         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
20691         (__memset_zero_constant_len_parameter): Check SHARED instead of
20692         PIC.
20693         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20694         memset-avx2 and memset-sse2-unaligned-erms.
20695         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20696         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
20697         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
20698         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20699         (__bzero): Enabled.
20700         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
20701         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
20702         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
20703         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
20704         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20705         (memset): Removed.
20706         (__memset_chk): Likewise.
20707         (MEMSET_SYMBOL): New.
20708         (libc_hidden_builtin_def): Replace __memset_sse2 with
20709         __memset_sse2_unaligned.
20710         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
20711         __memset_chk_sse2 and __memset_chk_avx2 with
20712         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
20713         Use __memset_chk_sse2_unaligned_erms or
20714         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
20715         __memset_chk_avx512_unaligned_erms and
20716         __memset_chk_avx512_unaligned.
20718 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20720         * math/gen-auto-libm-test.c (fp_format_desc): remove
20721         suffix member.
20722         (output_generic_value): Remove usage of suffix member,
20723         and the resulting unuse of the fp_format argument.
20724         (output_for_one_input_case): Remove unused fp_format
20725         parameter.
20727         * math/auto-libm-test-out: Regenerate.
20729         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
20730         usage with TEST_COND_ibm128.
20731         (TEST_COND_flt_32): Remove.
20732         (TEST_COND_dbl_64): Remove.
20733         (TEST_COND_ldbl_96_intel): Remove.
20734         (TEST_COND_ldbl_96_m68k): Remove.
20735         (TEST_COND_ldbl_128): Remove.
20737 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20739         * auto-libm-test-in:
20740         Replace flt-32 usage with binary32.
20741         Replace dbl-64 usage with binary64.
20742         Replace ldbl-intel-96 usage with intel96.
20743         Replace ldbl-m68k-96 usage with m68k96.
20744         Replace ldbl-128ibm usage with ibm128.
20745         Replace ldbl-128 usage with binary128.
20747         * auto-libm-test-out: Regenerate.
20749 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20751         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
20752         (parse_ulps): Dynamically generate type name matching
20753         string from all_floats.
20754         (get_ulps): Generate the ulps as an array instead.
20755         (output_ulps): Dynamically compose the type based
20756         on the number of supported formats, and print
20757         the indices as type specific helper macros.
20759         * math/libm-test.inc: Remove comment about CHOOSE.
20760         (ulp_data): Generate the type in libm-test-ulps.h.
20761         (ULP_IDX): New macro.
20762         (find_ulps): Update usage of max_ulp.
20764         * math/test-double-vlen2.h (CHOOSE): Remove.
20765         * math/test-double-vlen4.h (CHOOSE): Likewise.
20766         * math/test-double-vlen8.h (CHOOSE): Likewise.
20767         * math/test-float.c (CHOOSE): Likewise.
20768         * math/test-float-finite.c (CHOOSE): Likewise.
20769         * math/test-double.c (CHOOSE): Likewise.
20770         * math/test-double-finite.c (CHOOSE): Likewise.
20771         * math/test-idouble.c (CHOOSE): Likewise.
20772         * math/test-ifloat.c (CHOOSE): Likewise.
20773         * math/test-ildoubl.c (CHOOSE): Likewise.
20774         * math/test-ldouble-finite.c (CHOOSE): Likewise.
20775         * math/test-ldouble.c (CHOOSE): Likewise.
20777         * math/test-float.h (TEST_FLOAT): Remove.
20778         * math/test-double.h (TEST_DOUBLE): Likewise.
20779         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
20781 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20783         * math/gen-libm-test.pl: (apply_lit): New subroutine.
20784         (parse_args): Strip C suffix from floating point literals
20785         typed with 'f' and wrap them with LIT().
20787         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
20788         (test_ff_f_data_nexttoward): Rename to
20789         (test_fj_f_data): New struct.
20790         (nexttoward_test_data): Relabel tests as
20791         TEST_fj_f instead of TEST_ff_f.
20793 2016-06-08  Florian Weimer  <fweimer@redhat.com>
20795         Emacs bug 23726.
20796         * malloc/malloc.c (dumped_main_arena_start): Update comment.
20797         (__libc_realloc): Correct size computation for dumped fake mmapped
20798         chunks.
20800 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
20802         [BZ #20219]
20803         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
20804         to itself.
20805         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
20807         [BZ #20218]
20808         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
20809         to itself.
20810         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
20812 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
20814         [BZ #20195]
20815         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
20816         check to ...
20817         (init_cpu_features): Here.
20819 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
20821         [BZ #20214]
20822         * sysdeps/unix/sysv/linux/bits/in.h
20823         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20824          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
20825         Define to 1.
20826         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
20827          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
20828         Define to 0.
20829         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
20830         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
20832 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
20834         [BZ #20198]
20835         * stdlib/Makefile (tests): Add tst-quick_exit, and
20836         tst-thread-quick_exit.
20837         [ifeq ($(have-cxx-thread_local),yes)]
20838         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
20839         (CFLAGS-tst-thread-quick_exit.o): Likewise.
20840         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
20841         (LDLIBS-tst-thread-quick_exit): Likewise.
20842         [ifneq ($(have-cxx-thread_local),yes)]
20843         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
20844         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
20845         If run_dtors is true call __call_tls_dtors.
20846         (exit): Call __run_exit_handlers with run_dtors set to true.
20847         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
20848         definition.
20849         * stdlib/quick_exit.c (quick_exit): Remove function.
20850         (__new_quick_exit): New function.
20851         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
20852         function.
20853         * stdlib/tst-quick_exit.cc: New file.
20854         * stdlib/tst-thread-quick_exit.cc: New file.
20855         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
20856         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
20857         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20858         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20859         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20860         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20861         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20862         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20863         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20864         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20865         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20866         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20867         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20868         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20869         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20870         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20875         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20876         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20877         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20878         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20879         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20880         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20882         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20883         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20884         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20886 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20888         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20889         a typo in comments.
20891 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20893         [BZ #20213]
20894         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20895         argument to itself.
20896         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20898 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20900         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20901         required flags.
20902         (CFLAGS-pwritev64.c): Likewise.
20903         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20905         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20906         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20907         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20908         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20909         syscall from auto-generation.
20910         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20911         [WORDSIZE == 64] (pwritev64): Remove macro.
20912         [!PWRITEV] (PWRITEV): Likewise.
20913         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20914         [!PWRITEV] (PWRITE): Likewise.
20915         [!PWRITEV] (OFF_T): Likewise.
20916         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20917         (LO_HI_LONG): Remove macro.
20918         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20919         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20920         (PWRITEV): Remove macro.
20921         (PWRITEV_REPLACEMENTE): Likewise.
20922         (PWRITE): Likewise.
20923         (OFF_T): Likewise.
20924         (pwritev64): New function.
20925         * nptl/tst-cancel4.c (tf_writev): Add test.
20927         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20928         required flags.
20929         (CFLAGS-preadv64.c): Likewise.
20930         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20931         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20932         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20933         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20934         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20935         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20936         syscall from auto-generation.
20937         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20938         [WORDSIZE == 64] (preadv64): Remove macro.
20939         [!PREADV] (PREADV): Likewise.
20940         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20941         [!PREADV] (PREAD): Likewise.
20942         [!PREADV] (OFF_T): Likewise.
20943         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20944         (LO_HI_LONG): Remove macro.
20945         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20946         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20947         (PREADV): Remove macro.
20948         (PREADV_REPLACEMENTE): Likewise.
20949         (PREAD): Likewise.
20950         (OFF_T): Likewise.
20951         (preadv64): New function.
20952         * nptl/tst-cancel4.c (tf_preadv): Add test.
20954 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20956         [BZ #20212]
20957         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20958         argument to itself.
20959         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20961 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20963         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20964         New symbol defined as libc_hidden_def.
20965         (strcasestr): Became a weak alias to __strcasestr.
20966         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20967         according to multi-arch support.  Move __stpncpy hidden
20968         definition from here to...
20969         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20970         symbol stpncpy.
20971         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20972         libc_hidden_builtin_def.
20973         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20974         memset symbol to use when multi-arch support is available.
20976 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20978         * dlfcn/tst-rec-dlopen.c: Include string.h.
20980 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20982         * manual/install.texi: Remove mention of --without-tls
20983         * INSTALL: Regenerate.
20985 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20987         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20988         Remove.
20989         (call_function, interposed_malloc_called): New variables.
20990         (malloc): New function.
20991         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20992         and clear call_function as needed.
20994 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20996         * include/wchar.h (__wmemset): Use __typeof.
20998 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
21000         * include/wchar.h (__wmemset): Declare function without typeof.
21002 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
21004         [BZ #20205]
21005         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
21006         exponent when incrementing negative subnormal with low mantissa
21007         word zero.
21008         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
21009         Add another test.
21011 2016-06-03  Florian Weimer  <fweimer@redhat.com>
21013         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
21014         __wmemset instead of wmemset.
21016 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
21018         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
21019         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
21020         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
21021         __USE_KERNEL_IPV6_DEFS to 0.
21022         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
21023         Update comment.
21025 2016-06-01  Florian Weimer  <fweimer@redhat.com>
21027         [BZ #19861]
21028         Do not use IFUNC resolver with potentially unrelocated symbol.
21029         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
21030         (DEFINE_FORK): Remove macro and inline definition.
21031         (fork_alias): Renamed from fork_ifunc.
21032         (__fork_alias): Renamed from __fork_ifunc.
21034 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
21036         [BZ 19653]
21037         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
21038         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
21040 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21042         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
21043         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
21044         i386-linux-gnu).
21045         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
21046         Set to no.
21047         * sysdeps/mach/hurd/configure: Refresh.
21049 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21051         [BZ #20178]
21052         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
21053         on failure instead of exit.
21055 2016-05-30  Roland McGrath  <roland@hack.frob.com>
21057         [BZ #3629]
21058         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
21059         of POSIX.1-2008.
21061 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21063         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
21064           Use PLT entry for calling _hurd_self_sigstate.
21066 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
21068         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
21069         available logical processors with SMT level type sharing L2
21070         cache for Intel processors.
21072 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21074         [BZ #20160]
21075         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
21076         argument to itself before returning the result.
21077         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21078         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21079         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21080         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
21081         Likewise.
21082         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
21083         Likewise.
21084         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
21085         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
21086         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
21087         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
21088         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21089         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21091         [BZ #20160]
21092         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
21093         argument to itself before returning the result.
21094         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21095         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21096         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21097         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
21098         Likewise.
21099         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
21100         Likewise.
21101         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
21102         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
21103         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
21104         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
21105         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21106         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21108 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21110         * libm-test.inc: Replace usage of M_El with
21111         (lit_e): New macro.
21113 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21115         * libm-test.inc: Replace usage of M_PI_4l with
21116         (lit_pi_4_d): New macro.
21118 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21120         * libm-test.inc: Replace usage of M_PIl with
21121         (lit_pi): New macro.
21123 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21125         * libm-test.inc: Replace usage of M_PI2l with
21126         (lit_pi_2_d): New macro.
21128         * math/test-double.h (LITM): New macro.
21129         * math/test-float.h (LITM): Likewise.
21130         * math/test-ldouble.h (LITM): Likewise.
21132 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21134         * libm-test.inc (M_PI_34l): Rename to
21135         (lit_pi_3_m_4_d): New Macro.
21136         (M_PI_34_LOG10El): Rename to
21137         (lit_pi_3_m_4_ln10_m_d): New Macro.
21138         (M_PI2_LOG10El): Rename to
21139         (lit_pi_2_ln10_m_d):  New Macro.
21140         (M_PI4_LOG10El): Rename to
21141         (lit_pi_4_ln10_m_d):  New Macro.
21142         (M_PI_LOG10El): Rename to
21143         (lit_pi_ln10_d):  New Macro.
21145 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21147         [BZ #20157]
21148         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
21149         determine whether to negate low half if [_ARCH_PPCGR], and integer
21150         comparison otherwise.
21151         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
21152         determine whether to negate low half.
21154         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
21155         (NO_TEST_INLINE_DOUBLE): Likewise.
21156         (TEST_COND_x86_64): Likewise.
21157         (TEST_COND_x86): Likewise.
21158         (M_PI_6l): Likewise.
21160 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21162         * math/libm-test.inc:
21163         (TEST_FLOAT): Change usage to TEST_COND_binary32.
21164         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
21165         (TEST_LDOUBLE): Update usage to evaluate as true if
21166         the guarded tests match the property being tested.
21167         (LDBL_MAX_EXP): Change to MAX_EXP.
21168         (LDBL_MIN_EXP): Change to MIN_EXP.
21169         (LDBL_MANT_DIG): Change to MANT_DIG, except for
21170         nexttoward tests.
21172 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21174         * math/libm-test.inc:
21175         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
21176         (TYPE_MIN): Likewise.
21177         (TYPE_TRUE_MIN): Likewise.
21178         (TYPE_MAX): Likewise.
21179         (MIN_EXP): Likewise.
21180         (MAX_EXP): Likewise.
21181         (MANT_DIG): Likewise.
21183         (FSTR_MAX): New macro.
21184         (__CONCATX): Likewise.
21185         (QTYPE_STR): Likewise.
21186         (TEST_COND_binary32): Likewise.
21187         (TEST_COND_binary64): Likewise.
21188         (TEST_COND_binary128): Likewise.
21189         (TEST_COND_ibm128): Likewise.
21190         (TEST_COND_intel96): Likewise.
21191         (TEST_COND_m68k96): Likewise.
21193         (TEST_COND_flt_32): Redefine as equivalent format test macro.
21194         (TEST_COND_dbl_64): Likewise.
21195         (TEST_COND_ldbl_96_intel): Likewise.
21196         (TEST_COND_ldbl_96_m68k): Likewise.
21197         (TEST_COND_ldbl_128): Likewise.
21198         (TEST_COND_ldbl_128ibm): Likewise.
21200         (plus_zero): Redefine using LIT macro.
21201         (minus_zero): Likewise.
21202         (plus_infty): Redefine as (INF).
21203         (minux_infty): Redefine as (-INF).
21204         (max_value): Redefine as TYPE_MAX.
21205         (min_value): Redefine as TYPE_MIN.
21206         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
21208         (print_float): Refactor to use snprintf to convert FLOAT values
21209         to string. This brings it closer to dropin replacement of strtof
21210         for the TS 18661 defined types.
21211         (update_stats): Likewise.
21212         (print_complex_function_ulps): Likewise.
21213         (print_max_error): Likewise.
21214         (print_complex_max_error): Likewise.
21215         (check_float_internal): Likewise.
21217         * math/test-float.h (PREFIX): New macro.
21218         (LIT): Likewise.
21219         (TYPE_STR): Likewise.
21220         (FTOSTR): Likewise.
21222         * math/test-double.h (PREFIX): New macro.
21223         (LIT): Likewise.
21224         (TYPE_STR): Likewise.
21225         (FTOSTR): Likewise.
21227         * math/test-ldouble.h (PREFIX): New macro.
21228         (LIT): Likewise.
21229         (TYPE_STR): Likewise.
21230         (FTOSTR): Likewise.
21232 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
21234         [BZ #20156]
21235         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
21236         to itself when zero or not finite.
21237         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
21238         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21239         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
21240         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
21242 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
21244         [BZ #20153]
21245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
21246         x * x + x for infinities and NaNs.
21248         [BZ #20151]
21249         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
21250         argument to itself before returning result.
21251         (__ieee754_y0l): Likewise.
21252         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
21253         (__ieee754_y1l).
21255         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
21256         (atan_test_data): Likewise.
21257         (ceil_test_data): Likewise.
21258         (cos_test_data): Likewise.
21259         (cosh_test_data): Likewise.
21260         (erf_test_data): Likewise.
21261         (exp2_test_data): Likewise.
21262         (fabs_test_data): Likewise.
21263         (floor_test_data): Likewise.
21264         (ilogb_test_data): Likewise.
21265         (j0_test_data): Likewise.
21266         (j1_test_data): Likewise.
21267         (jn_test_data): Likewise.
21268         (lgamma_test_data): Likewise.
21269         (lrint_test_data): Likewise.
21270         (llrint_test_data): Likewise.
21271         (logb_test_data): Likewise.
21272         (lround_test_data): Likewise.
21273         (llround_test_data): Likewise.
21274         (nearbyint_test_data): Likewise.
21275         (rint_test_data): Likewise.
21276         (round_test_data): Likewise.
21277         (sin_test_data): Likewise.
21278         (sincos_test_data): Likewise.
21279         (sinh_test_data): Likewise.
21280         (sqrt_test_data): Likewise.
21281         (tan_test_data): Likewise.
21282         (tanh_test_data): Likewise.
21283         (tgamma_test_data): Likewise.
21284         (trunc_test_data): Likewise.
21285         (y0_test_data): Likewise.
21286         (y1_test_data): Likewise.
21287         (yn_test_data): Likewise.
21289         * math/libm-test.inc: Update comment about NaN testing.
21290         (TEST_SNAN): New macro.
21291         (snan_value): Likewise.
21292         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
21293         (fpclassify_test_data): Add sNaN tests.
21294         (isfinite_test_data): Likewise.
21295         (isinf_test_data): Likewise.
21296         (isnan_test_data): Likewise.
21297         (isnormal_test_data): Likewise.
21298         (issignaling_test_data): Likewise.
21299         (signbit_test_data): Likewise.
21300         * math/gen-libm-test.pl (%beautify): Add snan_value.
21301         (show_exceptions): Add argument $test_snan.
21302         (parse_args): Handle snan_value as non-finite.  Update call to
21303         show_exceptions.
21304         * math/Makefile (libm-test-no-inline-cflags): Add
21305         -fsignaling-nans.
21307 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21309         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
21310         (CFLAGS-oldsendmsg.c): Add rule.
21311         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
21312         Correct recvmsg symbol name.
21313         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
21314         Likewise.
21316 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21318         * sysdeps/unix/sysv/linux/Makefile
21319         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
21320         oldsendmmsg.
21321         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
21322         sendmmsg.
21323         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21324         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21325         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21326         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21328         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21329         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21331         Likewise.
21332         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21333         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
21334         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
21335         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
21336         iovlen and controllen fields to adjust to POSIX specification.
21337         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
21339         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
21340         and change to correct expected type.
21341         (msghdr.msg_controllen): Likewise.
21342         (cmsghdr.cmsg_len): Likewise.
21343         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
21344         expected POSIX assumption about the size.
21345         (msghdr.msg_controllen): Likewise.
21346         (msghdr.__glibc_reserved1): Likewise.
21347         (msghdr.__glibc_reserved2): Likewise.
21348         (cmsghdr.cmsg_len): Likewise.
21349         (cmsghdr.__glibc_reserved1): Likewise.
21350         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
21351         Add ptw-oldrecvmsg and ptw-oldsendmsg.
21352         (CFLAGS-sendmsg.c): Remove rule.
21353         (CFLAGS-recvmsg.c): Likewise.
21354         (CFLAGS-oldsendmsg.c): Add rule.
21355         (CFLAGS-oldrecvmsg.c): Likewise.
21356         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
21357         recvmsg and sendmsg.
21358         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
21359         Likewise.
21360         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
21361         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
21362         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
21363         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
21364         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
21365         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
21366         Likewise.
21367         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
21368         Likewise.
21369         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
21370         Likewise.
21371         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
21372         Likewise.
21373         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
21374         Likewise.
21375         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
21376         Likewise.
21377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
21378         (GLIBC_2.24): Likewise.
21379         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
21380         Likewise.
21381         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
21382         Likewise.
21383         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
21384         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
21385         Likewise.
21386         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
21387         Likewise.
21388         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
21389         Likewise.
21390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
21391         (GLIBC_2.24): Likewise.
21392         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
21393         Likewise.
21394         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
21395         Likewise.
21396         * sysdeps/unix/sysv/linux/Makefile
21397         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
21398         (CFLAGS-sendmsg.c): Add rule.
21399         (CFLAGS-recvmsg.c): Likewise.
21400         (CFLAGS-oldsendmsg.c): Likewise.
21401         (CFLAGS-oldrecvmsg.c): Likewise.
21402         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
21403         initialization.
21404         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
21405         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
21406         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
21407         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
21408         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
21409         iovlen and controllen fields to adjust to POSIX specification.
21410         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
21411         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
21412         added recvmsg and sendmsg.
21413         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21414         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21415         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21416         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21417         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21418         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21419         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21420         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21421         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
21422         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21423         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21424         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
21425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21426         Likewise.
21427         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
21428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
21429         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
21430         Likewise.
21431         Likewise.
21432         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21433         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21434         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21435         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21436         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21437         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21438         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
21439         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21440         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
21441         Likewise.
21442         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21443         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21445         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
21446         from auto-generation.
21447         (sendmsg): Likewise.
21448         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
21449         (sendmsg): Likewise.
21450         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
21451         (sendmsg): Likewise.
21452         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
21453         (sendmsg): Likewise.
21454         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
21455         (sendmsg): Likewise.
21456         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
21457         (sendmsg): Likewise.
21458         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
21459         Likewise.
21460         (sendmsg): Likewise.
21461         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
21462         (sendmsg): Likewise.
21463         * sysdeps/unix/sysv/linux/i386/kernel-features.h
21464         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21465         Remove.
21466         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21467         Likewise.
21468         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21469         Undefine.
21470         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21471         Likewise.
21472         * sysdeps/unix/sysv/linux/kernel-features.h
21473         (__ASSUME_SENDMSG_SYSCALL): Define.
21474         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21475         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21476         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21477         Remove.
21478         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21479         Likewise.
21480         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21481         Undefine.
21482         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21483         Likewise.
21484         * sysdeps/unix/sysv/linux/s390/kernel-features.h
21485         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21486         Remove.
21487         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21488         Likewise.
21489         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
21490         Undefine.
21491         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
21492         Likewise.
21493         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21494         (__ASSUME_SENDMSG_SYSCALL): Undefine.
21495         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21496         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21497         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21498         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21499         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21500         (__ASSUME_SENDMSG_SYSCALL): Likewise.
21501         (__ASSUME_RECVMSG_SYSCALL): Likewise.
21503 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21505         * stdlib/gen-tst-strtod-round.c: Add backslash to
21506         compile command in comment.
21507         (printfp): Remove the literal suffix, and define an infinite
21508         value as INF to avoid expansion clash with INFINITY.
21509         (round_str): Remove the literal suffix.
21510         (round_for_all): Likewise, remove the now duplicate ldbl-64
21511         entry, and remove some magic constants.
21513         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
21514         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
21515         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
21516         (_CONCAT): New macro.
21517         (CONCAT): Likewise.
21518         (CHOOSE_ld): Likewise.
21519         (CHOOSE_f): Likewise.
21520         (CHOOSE_d): Likewise.
21521         (FTYPE_MEMBER): Likewise.
21522         (BOOL_MEMBER): Likewise.
21523         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
21524         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
21525         (_XNTRY): Likewise.
21526         (XNTRY): Likewise.
21527         (_ENTRY): Likewise.
21528         (ENTRY): Likewise.
21529         (test_exactness): Generate members via macro.
21530         (test_results): Likewise.
21531         (test): Update members.
21532         (TEST): Redefine using new macros.
21533         (INF): New macro.
21534         (fetestmodes): New structure.
21535         (do_test): Refactor to be type generic.
21536         (test_in_one_mode): Refactor duplicate code into
21537         (GEN_ONE_TEST): New macro.
21539         * stdlib/tst-strtod-round-data.h: Regenerate.
21541         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
21542         Extend to pass additional arbitrary parameters to
21543         generators.
21545 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
21547         [BZ #15479]
21548         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
21549         floating-point state after first floating-point operation on
21550         input.  Restore full floating-point state instead of just rounding
21551         mode.
21552         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
21553         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
21554         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
21555         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
21556         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
21558         [BZ #15479]
21559         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
21560         floating-point state after first floating-point operation on
21561         input.  Restore full floating-point state instead of just rounding
21562         mode.
21563         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
21564         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
21565         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
21566         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
21567         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
21569 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21571         [BZ #19727]
21572         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
21573         valid high surrogate.
21574         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
21575         of an utf16 surrogate.
21576         * iconv/gconv_simple.c (BODY): Likewise.
21577         * iconvdata/bug-iconv12.c: New file.
21578         * iconvdata/Makefile (tests): Add bug-iconv12.
21580 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21582         [BZ #19726]
21583         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
21584         outptrp in case of an illegal input.
21585         * iconv/tst-iconv6.c: New file.
21586         * iconv/Makefile (tests): Add tst-iconv6.
21588 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21590         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
21591         an error in case of a value in range of an utf16 low surrogate.
21593 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21595         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
21596         an error in case of a value in range of an utf16 low surrogate.
21598 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21600         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
21601         Move to ...
21602         * sysdeps/s390/Makefile: ... here.
21603         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
21604         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
21605         (BRANCH_ON_COUNT): New define.
21606         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
21607         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
21608         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
21609         run on s390-32, too.
21610         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
21611         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
21612         run on s390-32, too.
21613         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
21614         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
21615         run on s390-32, too.
21617 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21619         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
21620         etf3eh or new vector loop-variant.
21622 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21624         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
21625         etf3eh or new vector loop-variant.
21627 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21629         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
21630         or new vector loop-variant.
21632 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21634         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
21635         Rename to TR_LOOP and usage of tr instead of troo instruction.
21637 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21639         * sysdeps/s390/multiarch/gconv_simple.c: New File.
21640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
21642 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21644         * sysdeps/s390/multiarch/8bit-generic.c: New File.
21645         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
21646         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
21647         New override define.
21648         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
21650 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21652         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
21653         * sysdeps/s390/configure.ac: Add test for S390 vector register
21654         support in gcc.
21655         * sysdeps/s390/configure: Regenerated.
21657 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
21659         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
21660         Install file from $(objpfx)gconv-modules.
21661         ($(objpfx)gconv-modules): Concatenate architecture specific file
21662         in variable sysdeps-gconv-modules and gconv-modules in src dir.
21663         * sysdeps/s390/gconv-modules: New file.
21664         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
21665         Deleted.
21666         ($(objpfx)gconv-modules-s390): Deleted.
21667         (sysdeps-gconv-modules): New variable.
21669 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21671         [BZ #15479]
21672         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
21673         of immediate operand to rounding instruction.
21674         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
21675         Likewise.
21676         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
21677         Likewise.
21678         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
21679         Likewise.
21681 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21683         * math/libm-test.inc (MIN_EXP): Directly define as
21684         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
21686 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21688         * math/libm-test.inc (MANT_DIG): Directly define as
21689         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
21691 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21693         * stdlib/gen-tst-strtod-round.c (main):
21694           Change usage to more closely match the generated
21695           output.  Add usage and compilation instructions.
21696           (string_to_fp): Add and use FILE* parameter as
21697           output target.
21698           (print_fp): Likewise.
21699           (round_str): Likewise.
21700           (round_for_all): Likewise.
21701         * stdlib/tst-strtod-round.c (tests): Move into
21702         * stdlib/tst-strtod-round-data.h: New file.
21704 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
21706         [BZ #15479]
21707         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
21708         (__round): Do not force "inexact" exception.
21709         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
21710         variable.
21711         (__round): Do not force "inexact" exception.
21712         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
21713         (__roundf): Do not force "inexact" exception.
21714         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
21715         (__roundl): Do not force "inexact" exception.
21716         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
21717         (__roundl): Do not force "inexact" exception.
21718         * math/libm-test.inc (round_test_data): Do not allow spurious
21719         "inexact" exceptions.
21721         [BZ #15479]
21722         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
21723         exception in comment.
21724         (huge): Remove variable.
21725         (__floor): Do not force "inexact" exception.
21726         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
21727         "inexact" exception in comment.
21728         (huge): Remove variable.
21729         (__floor): Do not force "inexact" exception.
21730         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
21731         exception in comment.
21732         (huge): Remove variable.
21733         (__floorf): Do not force "inexact" exception.
21734         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
21735         exception in comment.
21736         (huge): Remove variable.
21737         (__floorl): Do not force "inexact" exception.
21739         [BZ #15479]
21740         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
21741         exception in comment.
21742         (huge): Remove variable.
21743         (__ceil): Do not force "inexact" exception.
21744         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
21745         "inexact" exception in comment.
21746         (huge): Remove variable.
21747         (__ceil): Do not force "inexact" exception.
21748         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
21749         (__ceilf): Do not force "inexact" exception.
21750         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
21751         exception in comment.
21752         (huge): Remove variable.
21753         (__ceill): Do not force "inexact" exception.
21755 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21757         * config.h.in (BIND_NOW): New.
21758         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
21759         * configure: Regenerated.
21760         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
21761         indirect branch via the GOT slot.
21763 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21765         [BZ #19765]
21766         * sysdeps/s390/mempcpy.S: New File.
21767         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
21768         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
21769         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21770         Add mempcpy variants.
21771         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
21772         (memcpy): Adjust to be usable from mempcpy entry point.
21773         (__memcpy_mvcle): Likewise.
21774         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21775         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
21776         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
21777         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
21778         (__memcpy_z10): Likewise.
21779         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21781 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21783         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
21784         Remove __GI_ symbol.
21785         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
21786         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
21787         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
21788         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
21789         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
21790         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
21792 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21794         * sysdeps/s390/s390-64/memcpy.S (memcpy):
21795         Use cghi instead of chi to compare 64bit value.
21797 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21799         * sysdeps/s390/s390-32/memcpy.S (memcpy):
21800         Jump to 1MB check before executing mvc-loop.
21802 2016-05-24  Florian Weimer  <fweimer@redhat.com>
21804         [BZ #6527]
21805         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
21806         unconditionally.
21807         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
21809 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21811         * stdlib/tst-strtod6.c (do_test): Use new type generic
21812         invocation of the test function.
21813         (test): Refactor into ...
21814         (TEST_STRTOD): New macro base function.
21816 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21818         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
21819         (TEST_STRTOD): New macro.
21820         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
21822 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21824         * stdlib/tst-strtod6.c (do_test): Use new type generic
21825         invocation of the test function.
21826         (test): Refactor into ...
21827         (TEST_STRTOD): New macro base function.
21829 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21831         CVE-2016-4429
21832         [BZ #20112]
21833         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
21834         payload.
21836 2016-05-23  Florian Weimer  <fweimer@redhat.com>
21838         [BZ #20111]
21839         * bits/sockaddr.h (_SS_SIZE): Define.
21840         * bits/socket.h (_SS_SIZE): Remove.
21841         (_SS_PADSIZE): Adjust to account for all padding.
21842         (struct sockaddr_storage): Update comment.  Avoid implicit
21843         padding.
21844         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
21845         (_SS_PADSIZE): Adjust to account for all padding.
21846         (struct sockaddr_storage): Update comment.  Avoid implicit
21847         padding.
21848         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
21849         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
21850         (_SS_PADSIZE): Adjust to account for all padding.
21851         (struct sockaddr_storage): Update comment.  Avoid implicit
21852         padding.
21853         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
21854         __SS_SIZE is 126 in this version.
21855         * inet/tst-sockaddr.c: New file.
21856         * inet/Makefile (tests): Add tst-sockaddr.c
21857         (tst-sockaddr.c): Compile with non-strict aliasing.
21859 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21861         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21862         [XPG3 || XPG4].
21863         (NL_ARGMAX): Also expect for [XPG3].
21864         (NL_LANGMAX): Likewise.
21865         (NL_MSGMAX): Likewise.
21866         (NL_NMAX): Likewise.
21867         (NL_SETMAX): Likewise.
21868         (NL_TEXTMAX): Likewise.
21869         (NZERO): Likewise.
21870         (TMP_MAX): Likewise.
21871         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21872         variable.
21874         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21875         (PF_MAX): Update value.
21876         (AF_KCM): New macro.
21877         (SOL_NETBEUI): Likewise.
21878         (SOL_LLC): Likewise.
21879         (SOL_DCCP): Likewise.
21880         (SOL_NETLINK): Likewise.
21881         (SOL_TIPC): Likewise.
21882         (SOL_RXRPC): Likewise.
21883         (SOL_PPPOL2TP): Likewise.
21884         (SOL_BLUETOOTH): Likewise.
21885         (SOL_PNPIPE): Likewise.
21886         (SOL_RDS): Likewise.
21887         (SOL_IUCV): Likewise.
21888         (SOL_CAIF): Likewise.
21889         (SOL_ALG): Likewise.
21890         (SOL_NFC): Likewise.
21891         (SOL_KCM): Likewise.
21892         (MSG_BATCH): New enum value and macro.
21894 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21896         [BZ #18185]
21897         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21898         sharing L2 cache to 2 for Knights Landing.
21900 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21902         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21903         (FTW_DP): Do not expect for [XPG3 || XPG4].
21904         (FTW_SL): Do not expect for [XPG3].
21905         (FTW_SLN): Likewise.
21906         (FTW_PHYS): Likewise.
21907         (FTW_MOUNT): Likewise.
21908         (FTW_DEPTH): Likewise.
21909         (FTW_CHDIR): Likewise.
21910         (nftw): Likewise.
21911         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21912         variable.
21914 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21916         * manual/errno.texi: Fix various typos & grammar errors.
21918 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21920         * manual/intro.texi: Fix duplicated typo.
21922 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21924         [BZ #13304]
21925         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21926         <float.h>, <math_private.h> and <stdlib.h>.
21927         (add_split): New function.
21928         (mul_split): Likewise.
21929         (ext_val): New typedef.
21930         (store_ext_val): New function.
21931         (mul_ext_val): New function.
21932         (compare): New function.
21933         (add_split_ext): New function.
21934         (__fmal): After checking for Inf, NaN and zero, compute result as
21935         an exact sum of scaled double values in round-to-nearest before
21936         adding those up and adjusting for other rounding modes.
21937         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21938         tests of fma.
21939         * math/auto-libm-test-out: Regenerated.
21941 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21943         [BZ #20119]
21944         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21945         processor level type mask for CPUID with EAX == 11.
21947 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21949         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21950         logical threads if the HTT bit is 0.
21951         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21952         (index_cpu_HTT): Likewise.
21953         (reg_HTT): Likewise.
21955 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21957         [BZ #20115]
21958         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21959         Remove alignments on jump targets.
21961 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21963         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21964         (getpwent): Likewise.
21965         (setpwent): Likewise.
21966         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21967         variable.
21969         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21970         (remque): Likewise.
21971         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21972         variable.
21974 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21976         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21977         not being tested.
21979 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21981         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21982         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21983         call.
21984         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21985         (__condvar_cleanup1): Likewise.
21987 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21989         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21990         New
21991         (__pthread_unwind): Renamed to ...
21992         (PTHREAD_UNWIND): This.
21993         (__pthread_enable_asynccancel): Replace
21994         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21996 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21998         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21999         (CLONE_NEWCGROUP): New macro.
22001         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
22002         (Q_GETNEXTQUOTA): New macro.
22004 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22006         [BZ #19907]
22007         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
22008         buffer updated by the previous run.
22009         * string/test-memcpy.c (do_one_test): Likewise.
22010         * benchtests/bench-memmove.c (do_one_test): Add a comment.
22011         * string/test-memmove.c (do_one_test): Likewise.
22013 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
22015         [BZ #20094]
22016         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
22017         not [__USE_XOPEN].
22018         (unlockpt): Likewise.
22019         (ptsname): Likewise.
22020         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
22021         variable.
22023         [BZ #20076]
22024         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
22025         instead of [__USE_UNIX98].
22026         (S_ISSOCK): Likewise.
22027         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
22028         variable.
22030         [BZ #20074]
22031         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
22032         [__USE_POSIX].
22033         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
22034         variable.
22036         [BZ #20051]
22037         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
22038         (ttyslot): Do not declare.
22039         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
22040         (ttyslot): New prototype.
22041         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
22042         variable.
22043         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
22045 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22047         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
22049 2016-05-13  Florian Weimer  <fweimer@redhat.com>
22051         Fix race condition in tst-mallocfork2, use fewer resources.
22052         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
22053         to current process group.
22054         (signal_sender): Yield in the non-sleeping case.
22056 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
22058         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
22059         (ecvt): Likewise.
22060         (fcvt): Likewise.
22061         (gcvt): Likewise.
22062         (getsubopt): Likewise.
22063         (grantpt): Likewise.
22064         (initstate): Likewise.
22065         (l64a): Likewise.
22066         (mktemp): Likewise.
22067         (mkstemp): Likewise.
22068         (ptsname): Likewise.
22069         (random): Likewise.
22070         (realpath): Likewise.
22071         (setstate): Likewise.
22072         (srandom): Likewise.
22073         (ttyslot): Likewise.
22074         (unlockpt): Likewise.
22075         (valloc): Likewise.
22077         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
22078         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
22079         variable.
22081 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22083         [BZ #20072]
22084         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
22085         init_cpu_features only if SHARED is defined.
22086         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
22088 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
22090         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
22091         non-inclusive caches on Intel processors.
22093 2016-05-13  Florian Weimer  <fweimer@redhat.com>
22095         * malloc/malloc.c (dumped_main_arena_start)
22096         (dumped_main_arena_end): New variables.
22097         (DUMPED_MAIN_ARENA_CHUNK): New macro.
22098         (do_check_chunk): Skip dumped fake mmapped chunks.
22099         (munmap_chunk): Likewise.
22100         (__libc_free): Do not adjust statistics for fake mmapped chunks.
22101         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
22102         mmapped chunks.
22103         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
22104         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
22105         and dumped_main_arena_end to cover the dumped heap.
22107 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
22109         * conform/data/time.h-data (getdate_err): Do not expect for
22110         [XPG3].
22111         (getdate): Likewise.
22112         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
22113         variable.
22115         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
22116         (F_ULOCK): Likewise.
22117         (F_TEST): Likewise.
22118         (F_TLOCK): Likewise.
22119         (useconds_t): Likewise.
22120         (intptr_t): Do not expect for [XPG3] or [XPG4].
22121         (brk): Do not expect for [XPG3]
22122         (fchown): Likewise.
22123         (fchdir): Likewise.
22124         (ftruncate): Likewise.
22125         (getdtablesize): Likewise.
22126         (gethostid): Likewise.
22127         (getpagesize): Likewise.
22128         (getpgid): Likewise.
22129         (getsid): Likewise.
22130         (getwd): Likewise.
22131         (lchown): Likewise.
22132         (lockf): Likewise.
22133         (readlink): Likewise.
22134         (sbrk): Likewise.
22135         (setpgrp): Likewise.
22136         (setregid): Likewise.
22137         (setreuid): Likewise.
22138         (symlink): Likewise.
22139         (sync): Likewise.
22140         (truncate): Likewise.
22141         (ualarm): Likewise.
22142         (usleep): Likewise.
22143         (vfork): Likewise.
22144         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
22145         variable.
22147         [BZ #20054]
22148         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
22149         not [__USE_UNIX98].
22150         * conform/data/unistd.h-data (gethostname): Do not expect for
22151         [XPG3].
22153         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
22154         [!POSIX] (S_IFBLK): Likewise.
22155         [!POSIX] (S_IFCHR): Likewise.
22156         [!POSIX] (S_IFIFO): Likewise.
22157         [!POSIX] (S_IFREG): Likewise.
22158         [!POSIX] (S_IFDIR): Likewise.
22159         [!POSIX] (S_IFLNK): Likewise.
22160         [!POSIX] (S_IFSOCK): Likewise.
22161         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
22162         variable.
22163         (test-xfail-XPG4/fcntl.h/conform): Likewise.
22165 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
22167         * sysdeps/aarch64/memset.S (__memset):
22168         Rewrite of optimized memset.
22170 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22172         [BZ #19703]
22173         Partially async-signal-safe fork for single-threaded processes.
22174         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
22175         variable.  Do not acquire and reset/release malloc and libio locks
22176         in single-threaded processes.
22177         * malloc/tst-mallocfork2.c: New file.
22178         * malloc/Makefile (tests): Add it.
22180 2016-05-12  Florian Weimer  <fweimer@redhat.com>
22182         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
22183         argument.  Use scratch buffer instead of extend_alloca.
22184         (gethosts): Use scratch buffer instead of extend_alloca.
22185         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
22186         extend_alloca.
22187         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
22189 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
22191         [BZ #20055]
22192         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
22193         instead of [__USE_UNIX98].
22194         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
22195         [__USE_UNIX98].
22196         * conform/data/termios.h-data (tcgetsid): Do not expect for
22197         [XPG3].
22198         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
22199         variable.
22200         (test-xfail-XPG4/termios.h/conform): Likewise.
22202 2016-05-11  Florian Weimer  <fweimer@redhat.com>
22204         Do not use mcheck in localedef.
22205         * locale/programs/localedef.c (turn_on_mcheck)
22206         (__malloc_initialize_hook): Remove.
22208 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
22210         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
22211         * sysdeps/s390/s390-64/Makefile: Likewise.
22213 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
22215         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
22216         Remove ifunc-defines.sym.
22217         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
22218         Likewise.
22219         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
22220         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22221         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
22222         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
22223         rtld-global-offsets.sym.
22224         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
22225         * sysdeps/x86/cpu-features-offsets.sym: This.
22226         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
22227         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
22229 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
22231         [BZ #20073]
22232         * io/sys/stat.h (fchmod): Declare for
22233         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
22234         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
22235         variable.
22237         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
22238         [XPG3] (S_IFSOCK): Likewise.
22239         [XPG3] (S_ISVTX): Likewise.
22240         [XPG3] (S_ISLNK): Likewise.
22241         [XPG3] (S_ISSOCK): Likewise.
22242         [XPG3] (fchmod): Likewise.
22243         [XPG3] (lstat): Likewise.
22244         [XPG3] (mknod): Likewise.
22246         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
22247         [XPG3].  Expect type long and XFAIL for [XPG4].
22248         (st_blocks): Likewise.
22250         [BZ #20044]
22251         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
22252         (pthread_atfork): New prototype.
22253         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
22254         variable.
22256         [BZ #20043]
22257         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
22258         prototype.
22260 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22262         [BZ #20017]
22263         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
22264         gmtime.
22266 2016-05-10  Florian Weimer  <fweimer@redhat.com>
22268         [BZ #19994]
22269         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
22270         flag in _res.options.
22272 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
22274         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
22275         [XPG3 || XPG4].
22276         (blksize_t): Likewise.
22277         (clockid_t): Likewise.
22278         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
22279         variable.
22280         (test-xfail-XPG4/sys/types.h/conform): Likewise.
22282 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
22284         * sysdeps/unix/sysv/linux/s390/init-first.c:
22285         Add VDSO_SYMBOL(getcpu).
22286         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
22287         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
22288         Add VDSO_SYMBOL(getcpu).
22289         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
22290         New define HAVE_GETCPU_VSYSCALL.
22291         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22293 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
22295         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
22296         instead of <sysdeps/x86_64/cacheinfo.c>.
22297         * sysdeps/x86_64/cacheinfo.c: Moved to ...
22298         * sysdeps/x86/cacheinfo.c: Here.
22300 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22302         * malloc/malloc-internal.h: Adjust header file guard.
22304 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22306         [BZ #19787]
22307         * inet/getnameinfo.c (check_sprintf_result): New function.
22308         (CHECKED_SNPRINTF): New macro.
22309         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
22310         to the host buffer.
22311         (gni_host_local): Use checked_copy to copy the host name.
22312         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
22313         (gni_serv_local): Use checked_copy to copy the service name.
22314         (getnameinfo): Remove unnecessary truncation of result buffers.
22316 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22318         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
22319         in case of inet_ntop failure.
22321 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22323         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
22324         avoid long lines.
22325         (gni_host_inet_numeric): Likewise.  Reduce scope of local
22326         variables.
22327         (gni_host_inet, gni_host_local): Add comment.
22328         (gni_host): Add comment.  Use temporary to avoid long lines.
22330 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22332         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
22333         registers specifiers where general purpose registers specifiers should
22334         have been used.
22336 2016-05-04  Florian Weimer  <fweimer@redhat.com>
22338         [BZ #19779]
22339         CVE-2016-1234
22340         Avoid copying names of directory entries.
22341         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
22342         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
22343         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
22344         (struct readdir_result): New type.
22345         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
22346         (GL_READDIR): New macros.
22347         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
22348         (convert_dirent, convert_dirent64): New functions.
22349         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
22350         convert_dirent64.  Adjust references to the readdir result.
22351         * sysdeps/unix/sysv/linux/i386/glob64.c:
22352         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
22353         * posix/bug-glob2.c (LONG_NAME): Define.
22354         (filesystem): Add LONG_NAME.
22355         (my_DIR): Increase the size of room_for_dirent.
22357 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
22359         [BZ #20041]
22360         * misc/sys/select.h (__need_timespec): Only define if
22361         [__USE_XOPEN2K].
22362         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
22363         variable.
22364         (test-xfail-XPG4/utmpx.h/conform): Likewise.
22365         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
22366         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
22368 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22369             Segher Boessenkool  <segher@gcc.gnu.org>
22371         [BZ #20004]
22372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
22373         (__novec_swapcontext): Add missing load.
22375 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
22377         [BZ #20023]
22378         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
22379         <time.h>.
22380         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
22381         variable.
22382         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
22384 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
22387         flags CLONE_VM compare.
22389 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22391         [BZ #20031]
22392         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
22393         completely empty.
22395 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22397         [BZ #19573]
22398         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
22399         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
22400         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
22401         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
22402         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
22403         (hesiod_free_list): Mark as hidden.
22404         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
22405         res_set, res_get.
22406         * hesiod/hesiod.c: Remove unnecessary forward declarations.
22407         (init, __hesiod_res_get, __hesiod_res_set): Remove.
22408         (hesiod_init): Remove obsolete res_ninit call.
22409         (hesiod_end): Do not free resolver state.  Do not invoke callback.
22410         (hesiod_bind): Do not call init.
22411         (get_txt_records): Use res_mkquery, res_send instead of
22412         res_nmkquery, res_nsend.
22413         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
22414         instead of _nss_hesiod_init.
22415         (_nss_hesiod_initgroups_dyn): Likewise.
22416         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
22417         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
22418         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
22420 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22422         * hesiod/hesiod_p.h (DEF_RHS): Remove.
22423         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
22425 2016-05-02  Florian Weimer  <fweimer@redhat.com>
22427         * hesiod/hesiod.h: Remove RCS keyword.
22428         * hesiod/hesiod_p.h: Likewise.
22430         * hesiod/hesiod.c: Likewise.
22432 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
22434         [BZ #12450]
22435         * locale/iso-639.def: Add Samogitian/sgs.
22437 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
22439         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
22441         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
22443 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
22444             Carlos O'Donell  <carlos@redhat.com>
22446         [BZ #19072]
22447         * grp/Makefile (headers): Add grp-merge.h
22448         (routines): Add grp-merge.
22449         * grp/getgrgid_r.c: Include grp-merge.h.
22450         (DEEPCOPY_FN): Define.
22451         (MERGE_FN): Define.
22452         * grp/getgrname_r.c: Include grp-merge.h.
22453         (DEEPCOPY_FN): Define.
22454         (MERGE_FN): Define.
22455         * grp/grp-merge.c: New file.
22456         * grp/grp-merge.h: New file.
22457         * include/grp-merge.h: New file.
22458         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
22459         __copy_grp@GLIBC_PRIVATE.
22460         * manual/nss.texi (Actions in the NSS configuration): Describe
22461         return, continue, and merge.
22462         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
22463         (DEEPCOPY_FN): Define.
22464         (MERGE_FN): Define.
22465         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
22466         (DEEPCOPY_FN): Define.
22467         (MERGE_FN): Define.
22468         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
22469         [!MERGE_FN]: Define __merge_einval.
22470         (CHECK_MERGE): Define.
22471         (REENTRANT_NAME): Process merge if do_merge is true.
22472         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
22473         (__nss_getent_r): Likewise.
22474         * nss/nsswitch.c (nss_parse_service_list): Likewise.
22475         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
22477 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22479         [BZ #20012]
22480         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
22481         length to calculate the buffer to read.
22482         (fmemopen_write): Set the buffer position based on bytes written.
22483         (fmemopen_seek): Return EINVAL for invalid whence modes.
22485         [BZ #19957]
22486         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
22487         tst-getpid2.
22488         (test): Add tst-clone2.
22489         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
22490         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
22491         pid/tid fields for CLONE_VM.
22492         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
22493         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
22494         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
22495         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
22496         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
22497         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
22498         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
22499         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
22500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
22501         Likewise.
22502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22503         Likewise.
22504         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
22505         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
22506         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
22507         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
22508         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
22509         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
22510         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
22511         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
22513 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22515         [BZ #19642]
22516         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
22517         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
22518         (gni_serv_local, gni_serv): New functions extracted from
22519         getnameinfo.
22520         (getnameinfo): Call gni_host and gni_serv to perform the
22521         processing.  Always free scratch buffer.
22523 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22525         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
22526         remaining bytes in the dest string, with zeros.
22528 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22530         [BZ #20010]
22531         CVE-2016-3706
22532         * sysdeps/posix/getaddrinfo.c
22533         (convert_hostent_to_gaih_addrtuple): New function.
22534         (gethosts): Call convert_hostent_to_gaih_addrtuple.
22535         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
22536         AF_INET data.
22538 2016-04-29  Florian Weimer  <fweimer@redhat.com>
22540         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
22541         callback function gl_readdir.
22542         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
22543         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
22544         (glob_in_dir): Remove len.  Use strdup instead of malloc and
22545         memcpy to copy the name.
22546         * manual/pattern.texi (Calling Glob): Document requirements for
22547         implementations of the gl_readdir callback function.
22548         * manual/examples/mkdirent.c: New example.
22549         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
22550         per the manual guidance.
22551         * posix/tst-gnuglob.c (my_readdir): Likewise.
22553 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
22555         [BZ #20014]
22556         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
22557         not [__USE_POSIX].
22558         (getchar_unlocked): Likewise.
22559         (putc_unlocked): Likewise.
22560         (putchar_unlocked): Likewise.
22561         (flockfile): Likewise.
22562         (ftrylockfile): Likewise.
22563         (funlockfile): Likewise.
22564         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
22565         variable.
22566         (test-xfail-XPG4/stdio.h/conform): Likewise.
22568         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
22569         Expect constant.
22570         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
22571         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
22572         variable.
22573         (test-xfail-XPG4/langinfo.h/conform): Likewise.
22574         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
22576         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
22577         [__USE_LARGEFILE64] (off64_t): Likewise.
22578         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
22579         variable.
22581 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22583         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
22585 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22587         * resolv/inet_addr.c: Reindent preprocessor conditionals.
22588         * resolv/res_init.c: Likewise.
22589         * resolv/res_mkquery.c: Likewise.
22591 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22593         * resolv/res_init.c (isascii): Do not define.  Use definition in
22594         <ctype.h>.
22595         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
22596         (LOG_AUTH): Remove.
22597         (SPRINTF): Remove, adjust caller.
22598         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
22600 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22602         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
22603         SUNSECURITY conditional.
22604         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
22606 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22608         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
22609         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
22610         Remove BSD-related preprocessor conditionals.
22611         * conf/portability.h: Remove.
22613 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22615         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
22616         * resolv/res_data.c: Likewise.
22618 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22620         * resolv/res_comp.c: Remove code conditional on __ultrix__.
22621         * resolv/res_data.c: Remove code conditional on ultrix.
22623 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22625         * resolv/res_init.c (RFC1535): Do not define.  Remove
22626         RFC1535 preprocessor conditionals.
22627         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
22628         because there configuration options which make the resolver
22629         behavior different.
22631 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22633         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
22634         RESOLVSORT preprocessor conditionals.
22635         * resolv/nss_dns/dns-host.c: Likewise.
22636         * resolv/res_init.c: Likewise.
22638 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22640         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
22641         is never defined.
22643 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22645         * inet/inet_lnaof.c: Remove SCSS keyword.
22646         * inet/inet_mkadr.c: Likewise.
22647         * inet/inet_net.c: Likewise.
22648         * inet/inet_netof.c: Likewise.
22649         * inet/rcmd.c: Likewise.
22650         * inet/rexec.c: Likewise.
22651         * inet/ruserpass.c: Likewise.
22653 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22655         * resolv/inet_addr.c: Remove _LIBC conditionals.
22656         * resolv/res_data.c: Likewise.
22657         * resolv/res_init.c: Likewise.
22658         * resolv/res_mkquery.c: Likewise.
22659         * resolv/res_libc.c: Update comment.
22660         * resolv/README: Update.
22662 2016-04-28  Florian Weimer  <fweimer@redhat.com>
22664         * resolv/gethnamaddr.c: Remove SCSS keyword.
22665         * resolv/herror.c: Likewise.
22666         * resolv/inet_addr.c: Likewise.
22667         * resolv/inet_net_ntop.c: Likewise.
22668         * resolv/inet_net_pton.c: Likewise.
22669         * resolv/inet_neta.c: Likewise.
22670         * resolv/inet_ntop.c: Likewise.
22671         * resolv/inet_pton.c: Likewise.
22672         * resolv/ns_date.c: Remove RCS keyword.
22673         * resolv/ns_name.c: Likewise.
22674         * resolv/ns_netint.c: Likewise.
22675         * resolv/ns_parse.c: Likewise.
22676         * resolv/ns_print.c: Likewise.
22677         * resolv/ns_samedomain.c: Likewise.
22678         * resolv/ns_ttl.c: Likewise.
22679         * resolv/nsap_addr.c: Likewise.
22680         * resolv/res_comp.c: Remove SCSS and RCS keyword.
22681         * resolv/res_data.c: Remove RCS keyword.
22682         * resolv/res_debug.c: Remove SCSS and RCS keyword.
22683         * resolv/res_init.c: Likewise.
22684         * resolv/res_mkquery.c: Likewise.
22685         * resolv/res_query.c: Likewise.
22686         * resolv/res_send.c: Likewise.
22688 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22690         * conform/data/stdio.h-data (fdopen): Expect also for
22691         [XPG3 || XPG4].
22693         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
22694         (fseeko): Likewise.
22695         (ftello): Likewise.
22696         (ftrylockfile): Likewise.
22697         (funlockfile): Likewise.
22698         (getc_unlocked): Likewise.
22699         (getchar_unlocked): Likewise.
22700         (putc_unlocked): Likewise.
22701         (putchar_unlocked): Likewise.
22703 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22705         [BZ #19868]
22706         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
22707         DNS packet syntax checks (which were not needed before).  Skip
22708         over non-PTR records.
22710 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22712         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
22713         definition.  Include <stddef.h> instead.
22715 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22717         [BZ #19831]
22718         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
22719         function.
22720         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
22721         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
22723 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22725         [BZ #19862]
22726         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
22727         (getanswer_r): Do not call syslog.
22728         (gaih_getanswer_slice): Likewise.
22729         * resolv/gethnamaddr.c (AskedForGot): Remove.
22730         (getanswer): Do not call syslog.
22731         (gethostbyaddr): Likewise.
22733 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
22735         * conform/data/signal.h-data (union sigval): Expect also if
22736         [XOPEN2K].
22737         (struct sigevent): Likewise.
22738         (SIGEV_NONE): Likewise.
22739         (SIGEV_SIGNAL): Likewise.
22740         (SIGEV_THREAD): Likewise.
22741         (SIGRTMIN): Likewise.
22742         (SIGRTMAX): Likewise.
22743         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
22744         variable.
22745         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
22747 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22749         [BZ #19830]
22750         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
22751         (gaih_getanswer_slice): Likewise.
22752         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
22753         Also check for availability of RR metadata.
22755 2016-04-27  Florian Weimer  <fweimer@redhat.com>
22757         [BZ #19825]
22758         * resolv/res_send.c (send_vc): Remove early *resplen2
22759         initialization.  Set *resplen2 on socket error.  Call
22760         close_and_return_error for other errors.
22762 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
22764         * sysdeps/unix/sysv/linux/netiucv/iucv.h
22765         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
22766         (SCM_IUCV_TRGCLS): New define.
22768 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22770         [BZ #20005]
22771         * libio/fmemopen.c (fmemopen_write): Update internal position after
22772         write.
22773         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
22774         * stdio-common/tst-fmemopen4.c: New file..
22776 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
22778         [BZ #19996]
22779         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
22780         not [__USE_XOPEN2K].
22781         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
22782         variable.
22784         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
22785         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
22786         variable.
22788         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
22789         [__USE_XOPEN2K8].
22790         [__USE_LARGEFILE64] (off64_t): Likewise.
22791         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
22792         variable.
22794 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
22796         [BZ #19989]
22797         * libio/stdio.h (cuserid): Do not declare if
22798         [__USE_XOPEN2K && !__USE_GNU].
22799         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
22800         variable.
22802 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22804         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22805         (sysdep_routines): Add P8 and PPC64 strcspn targets.
22806         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22807         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
22808         ifunc'ed strcspn.
22809         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22810         [EALIGN]: Removed.
22811         [END]: Likewise
22812         [STRSPN]: Define instead of the above to control symbol name.
22813         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
22814         New file.
22815         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
22816         Likewise.
22817         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
22818         Likewise.
22819         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
22820         Likewise.
22821         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22822         [INITIAL_MASK]: New macro.
22823         [STRCSPN]: Likewise.
22824         [UPDATE_MASK]: Likewise.
22825         [USE_AS_STRCSPN]: Likewise.
22827 2016-04-25  Florian Weimer  <fweimer@redhat.com>
22829         [BZ #19931]
22830         * stdio-common/tst-vfprintf-width-prec.c: New file.
22831         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
22832         (tests-special): Add tst-vfprintf-width-prec-mem.out.
22833         (generated): Add mtrace-related files.
22834         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
22835         (tst-%-mem.out): New pattern rule, replaces
22836         tst-printf-bz18872-mem.out.
22837         * stdio-common/vfprintf.c (vfprintf): When handling a precision
22838         specifier, deallocate any previously allocated work buffer.
22840 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
22842         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
22843         Add nop before __startcontext, add explaining comments.
22845 2016-04-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22847         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
22848         any more. Notably since IPV6_PKTINFO has been reintroduced with a
22849         completely different API.
22851         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
22852         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
22853         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
22854         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
22855         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
22856         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
22857         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22858         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22859         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22860         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22862 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22864         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22866 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22868         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22869         when it is the default of 0.
22871 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22873         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22874         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22875         (sysdep_routines): Add new strcasestr targets.
22876         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22877         (__libc_ifunc_impl_list): Likewise.
22878         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22879         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22880         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22881         * sysdeps/powerpc/powerpc64/power8/Makefile:
22882         New file to add strcasestr-ppc64 to sysdep_routines.
22883         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22884         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22886 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22888         * benchtests/Makefile (wcsmbs-benchset): Include only for
22889         native builds and runs.
22890         (LOCALES): Likewise.
22891         (bench-build): Build timing-type here instead of the bench
22892         target.  Generate locale only for native builds.
22893         * benchtests/README: Add note for cross-building.
22895         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22897         * benchtests/README: Update README to include instructions on
22898         using bench-build.
22900         * Makefile.in (bench-build): New target.
22901         * Rules (PHONY): Add bench-build target.
22902         * benchtests/Makefile (bench): Depend on bench-build.
22903         (bench-build): New target.
22905 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22907         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22908         profil_reply_port.
22909         (profile_waiter): Do not initialize profil_reply_port.
22910         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22911         frequency instead of tick length in us.
22913 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22915         [BZ #18712]
22916         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22917         (__old_mempcpy_small): Likewise.
22918         (__old_strcpy_small): Likewise.
22919         (__old_stpcpy_small): Likewise.
22920         (__old_strpbrk_c2): Fix compat symbol name.
22921         (__old_strpbrk_c3): Likewise.
22922         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22923         (__mempcpy_small): Remove.
22924         (__strcpy_small): Remove.
22925         (__stpcpy_small): Remove.
22927 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22929         [BZ #19400]
22930         * locale/iso-639.def: Add the Talossan/tzl language.
22932 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22934         [BZ #16983]
22935         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22936         comment.  Add "ln" to strchr check on postal_fmt.
22938 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22940         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22941         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22942         tel_dom_fmt.
22944 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22946         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22947         (sysdep_routines): Added __strlen_power8.
22948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22949         __strlen_power8 entry.
22950         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22951         Implementation for POWER8.
22952         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22953         for __strlen_power8.
22954         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22955         Implementation for POWER8.
22957 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22959         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22961 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22963         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22964         Goldmont and Airmont processors.
22966 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22968         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22969         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22970         (__STRING2_SMALL_GET32): Remove.
22971         (memset): Remove.
22972         (__memset_1): Remove.
22973         (__memset_gc): Remove.
22974         (__mempcpy): Remove.
22975         (mempcpy): Remove.
22976         (__mempcpy_args): Remove.
22977         (strchr): Remove.
22978         (strcpy): Remove.
22979         (strcpy_args): Remove.
22980         (__stpcpy_args): Remove.
22981         (__strcmp_cc): Remove.
22982         (__strcmp_gc): Remove.
22983         (strstr): Remove.
22985 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22987         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22988         * nis/nis_call.c (nis_server_cache_add): Likewise.
22990 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22992         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22994 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22996         * malloc/arena.c (__malloc_fork_lock_parent)
22997         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22998         internal_function attribute.
23000 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
23002         * stdio-common/printf_fp.c (__printf_fp_l):
23003         Rename ___printf_fp_l to __printf_fp_l and
23004         remove strong alias. Use libc_hidden_def instead
23005         of ldbl_hidden_def macro.
23007 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23009         Remove malloc hooks from fork handler.  They are no longer needed
23010         because malloc runs right before fork, and no malloc calls from
23011         other fork handlers are not possible anymore.
23012         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
23013         declarations.
23014         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
23015         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
23016         (atfork_recursive_cntr): Remove.
23017         (__malloc_fork_lock_parent): Do not override malloc hooks and
23018         thread_arena.
23019         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
23020         thread_arena.
23021         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
23022         thread_arena instead of save_arena.
23024 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23026         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
23027         (thread_atfork, thread_atfork_static): Remove.
23028         * sysdeps/mach/hurd/malloc-machine.h:
23029         (thread_atfork, thread_atfork_static): Remove.
23031 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23033         [BZ #19431]
23034         Run the malloc fork handler as late as possible to avoid deadlocks.
23035         * malloc/malloc-internal.h: New file.
23036         * malloc/malloc.c: Include it.
23037         * malloc/arena.c (ATFORK_MEM): Remove.
23038         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
23039         Update comment.
23040         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
23041         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
23042         Remove outdated comment.
23043         (ptmalloc_init): Do not call thread_atfork.  Remove
23044         thread_atfork_static.
23045         * malloc/tst-malloc-fork-deadlock.c: New file.
23046         * Makefile (tests): Add tst-malloc-fork-deadlock.
23047         (tst-malloc-fork-deadlock): Link against libpthread.
23048         * manual/memory.texi (Aligned Memory Blocks): Update safety
23049         annotation comments.
23050         * sysdeps/nptl/fork.c (__libc_fork): Call
23051         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
23052         __malloc_fork_unlock_child.
23053         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
23055 2016-04-14  Florian Weimer  <fweimer@redhat.com>
23057         [BZ #19613]
23058         Remove union wait.
23059         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
23060         (w_stopsig, w_stopval): Remove.
23061         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
23062         stat_loc argument.
23063         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
23064         (__WAIT_STATUS_DEFN): Remove.
23065         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23066         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
23067         (wait, wait3, wait4): Use int * for the stat_loc argument.
23068         * posix/wait.c (__wait): Likewise.
23069         * posix/wait3.c (__wait3): Likewise.
23070         * posix/wait4.c (__wait4): Likewise.
23071         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
23072         (__WAIT_STATUS_DEFN): Remove.
23073         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
23074         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
23075         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
23076         argument.
23077         * sysdeps/posix/wait.c (__libc_wait): Likewise.
23078         * sysdeps/posix/wait3.c (__wait3): Likewise.
23079         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
23080         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
23081         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
23082         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
23083         stat_loc argument.
23084         * manual/process.texi (BSD Wait Functions): Remove union wait.
23086 2016-04-13  Andreas Schwab  <schwab@suse.de>
23088         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
23089         (test-extras): Add tst-tlsalign-vars.
23090         * math/Makefile: Wrap long lines.
23091         (libm-vec-test-wrappers): Define.
23092         (test-extras): Add $(libm-vec-test-wrappers).
23093         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
23094         * nss/Makefile (extra-test-objs): Add nss_test1.os.
23095         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
23096         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
23097         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
23098         (extra-test-objs): Add corresponding objects.
23100 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
23102         [BZ #19928]
23103         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
23104         New.
23105         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
23106         times of shared cache size.
23107         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
23108         (VMOVNT): New.
23109         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
23110         (VMOVNT): Likewise.
23111         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
23112         (VMOVNT): Likewise.
23113         (VMOVU): Changed to movups for smaller code sizes.
23114         (VMOVA): Changed to movaps for smaller code sizes.
23115         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
23116         comments.
23117         (PREFETCH): New.
23118         (PREFETCH_SIZE): Likewise.
23119         (PREFETCHED_LOAD_SIZE): Likewise.
23120         (PREFETCH_ONE_SET): Likewise.
23121         Rewrite to use forward and backward loops, which move 4 vector
23122         registers at a time, to support overlapping addresses and use
23123         non temporal store if size is above the threshold and there is
23124         no overlap between destination and source.
23126 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
23128         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
23129         Include dl-vdso.
23130         * sysdeps/unix/sysv/linux/mips/Versions: Add
23131         __vdso_clock_gettime.
23132         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
23133         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
23134         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
23135         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
23136         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
23137         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
23138         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
23139         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
23140         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
23142 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23144         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
23145         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
23146         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
23147         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
23148         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
23149         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
23150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
23151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
23152         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
23153         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
23154         syscalls generation.
23155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23156         [__NR_pwrite64] (__NR_write): Remove define.
23157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23158         [__NR_pwrite64] (__NR_write): Remove define.
23159         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
23160         Remove define.
23161         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
23162         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
23163         Remove define.
23164         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
23165         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
23166         Linux implementation as base.
23167         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
23169         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
23170         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
23171         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
23172         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
23173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
23174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
23175         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
23176         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
23177         syscall generation.
23178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23179         [__NR_pread64] (__NR_pread): Remove define.
23180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
23181         [__NR_pread64] (__NR_pread): Likewise.
23182         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
23183         define.
23184         (__libc_pread): Use SYSCALL_LL macro on offset argument.
23185         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
23186         Remove define.
23187         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
23188         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
23189         Linux implementation as base.
23190         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
23191         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
23192         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
23194         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
23195         definition.
23196         (__ALIGNMENT_COUNT): Likewise.
23197         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
23198         (__ALIGNMENT_COUNT): Likewise.
23199         (SYSCALL_LL): New define.
23200         (SYSCALL_LL64): Likewise.
23201         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
23202         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
23203         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
23204         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
23206         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23207         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
23208         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23209         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23210         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23211         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
23213 2016-04-11  Florian Weimer  <fweimer@redhat.com>
23215         [BZ #19865]
23216         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
23217         original buffer before retry.
23219 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23221         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
23222         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
23223         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
23224         GLRO(dl_auxv) list.
23225         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
23226         including <ldsodefs.h>.
23227         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
23229 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
23231         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
23232         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
23233         $(CPPFLAGS).
23235 2016-04-09  Khem Raj  <raj.khem@gmail.com>
23237         [BZ #17950]
23238         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
23239         Add -mfpmath=387.
23241 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
23243         * sysdeps/i386/configure.ac: Change == to = when calling test.
23244         * sysdeps/x86_64/configure.ac: Likewise.
23245         * sysdeps/i386/configure: Regenerated.
23246         * sysdeps/x86_64/configure: Likewise.
23248 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
23250         [BZ #16137]
23251         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
23252         * benchtests/bench-strcoll.c (input_files): Likewise.
23253         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23254         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
23255         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
23257 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
23259         [BZ #19929]
23260         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
23261         [__USE_XOPEN2K8 && !__USE_GNU].
23262         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
23263         variable.
23265         [BZ #19925]
23266         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
23267         define if [!__USE_MISC && __USE_XOPEN2K].
23268         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
23269         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
23270         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
23271         Likewise.
23272         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
23273         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
23274         variable.
23275         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
23277 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23279         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
23280         (sysdep_routines): Add new strspn targets.
23281         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23282         (__libc_ifunc_impl_list): Add strspn.
23283         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
23284         New file.
23285         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
23286         Likewise.
23287         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
23288         Likewise.
23289         * sysdeps/powerpc/powerpc64/power8/strspn.S:
23290         Likewise.
23292 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23294         * misc/hsearch_r.c: Include <limits.h>.
23296 2016-04-07  Florian Weimer  <fweimer@redhat.com>
23298         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
23300 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23302         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
23303         (MEMCPY_SYMBOL): New.
23304         (MEMPCPY_SYMBOL): Likewise.
23305         (MEMMOVE_CHK_SYMBOL): Likewise.
23306         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
23307         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
23308         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
23309         Provide alias for memcpy in libc.a and ld.so.
23311 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23313         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
23314         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
23315         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
23316         Disabled fro now.
23317         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
23318         symbols.  Properly check USE_MULTIARCH on __memset symbols.
23320 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
23322         * benchtests/Makefile (string-benchset): Add memcpy-large,
23323         memmove-large and memset-large.
23324         * benchtests/bench-memcpy-large.c: New file.
23325         * benchtests/bench-memmove-large.c: Likewise.
23326         * benchtests/bench-memmove-large.c: Likewise.
23327         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
23329 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23331         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
23332         32-bit displacement to avoid long nop between instructions.
23334 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
23336         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
23337         a comment on VMOVU and VMOVA.
23339 2016-04-04  Florian Weimer  <fweimer@redhat.com>
23341         [BZ #19633]
23342         Use specified locale for number formatting in strfmon_l.
23343         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
23344         (__nl_lookup_word): New inline functions.
23345         * include/printf.h (__print_fp_l): Declare.
23346         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
23347         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
23348         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
23349         (___printf_fp): New function.
23350         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
23351         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
23352         * stdlib/tst-strfmon_l.c (do_test): New test.
23353         * stdlib/Makefile (tests): Add kt.
23354         (LOCALES): Build additional locales.
23355         (tst-strfmon_l.out): Require locales.
23357 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23359         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
23360         if not in libc.
23361         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23362         Likewise.
23363         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
23364         Likewise.
23365         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23366         Likewise.
23368 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
23370         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23371         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
23372         with unaligned_erms.
23373         (__memmove_erms): Skip if source == destination.
23374         (__memmove_unaligned_erms): Don't check source == destination
23375         first.
23377 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23379         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
23380         bit_arch_Fast_Copy_Backward for Intel Core proessors.
23382 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23384         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
23385         * string/strspn.c (strspn): Likewise.
23387 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23389         * benchtests/bench-memset.c (do_test): Support 64-byte
23390         alignment.
23391         (test_main): Test 64-byte alignment.
23393 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23395         * benchtests/bench-memmove.c (test_main): Test 64-byte
23396         alignment.
23398 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
23400         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
23402 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23404         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
23405         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
23406         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
23408         * string/strpbrk.c (strpbrk): Rewrite function.
23409         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
23410         (__strpbrk_c2): Likewise.
23411         (__strpbrk_c3): Likewise.
23412         * string/string-inlines.c
23413         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
23414         Likewise.
23415         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
23416         Likewise.
23418         * string/strspn.c (strcspn): Rewrite function.
23419         * string/bits/string2.h (strspn): Use __builtin_strcspn.
23420         (__strspn_c1): Remove inline function.
23421         (__strspn_c2): Likewise.
23422         (__strspn_c3): Likewise.
23423         * string/string-inlines.c
23424         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
23425         compatibility symbol.
23426         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
23427         Likewise.
23428         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
23429         Likewise.
23430         * string/string-inlines.c: Include generic version.
23432 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
23433             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23435         * string/Version (libc): Add GLIBC_2.24.
23436         * string/strcspn.c (strcspn): Rewrite function.
23437         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
23438         (__strcspn_c1): Remove inline function.
23439         (__strcspn_c2): Likewise.
23440         (__strcspn_c3): Likewise.
23441         * string/string-inline.c
23442         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
23443         compatibility symbol.
23444         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
23445         Likewise.
23446         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
23447         Likewise.
23448         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
23450 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
23452         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
23453         Use ahi instead of aghi to adjust stack pointer.
23455 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23457         [BZ #19853]
23458         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
23459         TEST to take significant digits as second parameter.
23460         [TEST]: Redefine in terms of TEST_N taking 30
23461         significant digits.
23462         (do_test): Add test case to demonstrate precision
23463         failure in the ldbl-128ibm printf.
23464         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
23465         (__mpn_extract_long_double): Carry 7 extra intermediate
23466         bits of precision to aide computing difference when
23467         signs differ.
23469 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23471         [BZ #19881]
23472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23473         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
23474         memset-avx512-unaligned-erms.
23475         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23476         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
23477         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
23478         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
23479         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
23480         __memset_sse2_unaligned_erms, __memset_erms,
23481         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
23482         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
23483         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
23484         file.
23485         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
23486         Likewise.
23487         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
23488         Likewise.
23489         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
23490         Likewise.
23492 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
23494         [BZ #19776]
23495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
23496         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
23497         memmove-avx512-unaligned-erms.
23498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23499         (__libc_ifunc_impl_list): Test
23500         __memmove_chk_avx512_unaligned_2,
23501         __memmove_chk_avx512_unaligned_erms,
23502         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
23503         __memmove_chk_sse2_unaligned_2,
23504         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
23505         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
23506         __memmove_avx512_unaligned_erms, __memmove_erms,
23507         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
23508         __memcpy_chk_avx512_unaligned_2,
23509         __memcpy_chk_avx512_unaligned_erms,
23510         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
23511         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
23512         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
23513         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
23514         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
23515         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
23516         __mempcpy_chk_avx512_unaligned_erms,
23517         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
23518         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
23519         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
23520         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
23521         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
23522         __mempcpy_erms.
23523         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
23524         file.
23525         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
23526         Likewise.
23527         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
23528         Likewise.
23529         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
23530         Likewise.
23532 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23534         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
23535         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
23536         (La_s390_64_regs): Likewise.
23537         (La_s390_32_retval): Append vector register lrv_v24.
23538         (La_s390_64_retval): Likeweise.
23539         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
23540         Handle extended structs La_s390_32_regs and La_s390_32_retval.
23541         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
23542         Handle extended structs La_s390_64_regs and La_s390_64_retval.
23544 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
23546         [BZ #19916]
23547         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
23548         to create a non-vector/vector version for _dl_runtime_resolve and
23549         _dl_runtime_profile. Move implementation to ...
23550         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
23551         (_dl_runtime_resolve) Save and restore fpr/vrs.
23552         (_dl_runtime_profile) Save and restore vrs and fix some issues
23553         if _dl_call_pltexit is called.
23554         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
23555         Choose the correct resolver function if running on a machine with vx.
23556         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
23557         to create a non-vector/vector version for _dl_runtime_resolve and
23558         _dl_runtime_profile. Move implementation to ...
23559         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
23560         (_dl_runtime_resolve) Save and restore fpr/vrs.
23561         (_dl_runtime_profile) Save and restore vrs and fix some issues
23562         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
23563         Choose the correct resolver function if running on a machine with vx.
23565 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23567         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
23569 2016-03-31  Florian Weimer  <fweimer@redhat.com>
23571         [BZ #19509]
23572         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
23573         skip_map != NULL.
23574         * elf/tst-dlsym-error.c: New file.
23575         * elf/Makefile (tests): Add tst-dlsym-error.
23576         (tst-dlsym-error): Link against libdl.
23578 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
23580         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23581         (__ASSUME_FUTIMESAT): Remove macro.
23582         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
23584 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23586         [BZ #19879]
23587         CVE-2016-3075
23588         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
23589         copy name.
23591 2016-03-29  Florian Weimer  <fweimer@redhat.com>
23593         [BZ #19837]
23594         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
23595         error if parse_line fails.
23597 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23599         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
23600         (index_cpu_ERMS): Likewise.
23601         (reg_ERMS): Likewise.
23603 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
23605         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
23606         PER_LINUX_FDPIC): Add.
23608 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23610         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23611         memcpy-avx512-no-vzeroupper.
23612         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
23613         to ...
23614         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
23615         (MEMCPY): Don't define.
23616         (MEMCPY_CHK): Likewise.
23617         (MEMPCPY): Likewise.
23618         (MEMPCPY_CHK): Likewise.
23619         (MEMPCPY_CHK): Renamed to ...
23620         (__mempcpy_chk_avx512_no_vzeroupper): This.
23621         (MEMPCPY_CHK): Renamed to ...
23622         (__mempcpy_chk_avx512_no_vzeroupper): This.
23623         (MEMCPY_CHK): Renamed to ...
23624         (__memmove_chk_avx512_no_vzeroupper): This.
23625         (MEMCPY): Renamed to ...
23626         (__memmove_avx512_no_vzeroupper): This.
23627         (__memcpy_avx512_no_vzeroupper): New alias.
23628         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
23630 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23632         [BZ #18858]
23633         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
23634         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
23635         and mempcpy-avx512-no-vzeroupper.
23636         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
23637         New.
23638         (MEMPCPY): Likewise.
23639         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
23640         (MEMPCPY_CHK): New.
23641         (MEMPCPY): Likewise.
23642         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
23643         (MEMPCPY): Likewise.
23644         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
23645         (MEMPCPY): Likewise.
23646         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
23647         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
23648         Likewise.
23649         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
23650         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
23652 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
23653              Amit Pawar  <Amit.Pawar@amd.com>
23655         [BZ #19583]
23656         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
23657         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
23658         processors.  Set Fast_Copy_Backward for AMD Excavator
23659         processors.
23660         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
23661         New.
23662         (index_arch_Fast_Unaligned_Copy): Likewise.
23663         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
23664         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
23666 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23668         [BZ #19791]
23669         * resolv/res_send.c (close_and_return_error): New function.
23670         (send_dg): Initialize *resplen2 after reopen failure.  Call
23671         close_and_return_error for error returns.  On error paths without
23672         __res_iclose, initialze *resplen2 explicitly.  Update comment for
23673         successful return.
23675 2016-03-25  Florian Weimer  <fweimer@redhat.com>
23677         [BZ #19860]
23678         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
23679         zero if the compiler does not provide the AVX512F bit.
23681 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
23683         [BZ #19848]
23684         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
23685         from 8 to 4.
23686         (__ieee754_powl): Compare integer exponent against 4 not 8.
23687         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
23688         from 8 to 4.
23689         (__ieee754_powl): Compare integer exponent against 4 not 8.
23690         * math/auto-libm-test-in: Add more tests of pow.
23691         * math/auto-libm-test-out: Regenerated.
23692         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
23693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23695 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23697         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
23698         Make code unconditional.
23699         [!__NR_utimensat]: Remove conditional code.
23700         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
23701         Make code unconditional.
23702         [!__NR_utimensat]: Remove conditional code.
23703         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
23704         Make code unconditional.
23705         [!__NR_utimensat]: Remove conditional code.
23707 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
23709         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
23710         Make code unconditional.
23712 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
23714         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
23715         call-clobbered %eax on retry path.
23716         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
23718 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23720         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
23721         Don't set %rcx twice before "rep movsb".
23723 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
23725         [BZ #19583]
23726         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
23727         inline.  Check family before setting family, model and
23728         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
23729         bits here.
23730         (init_cpu_features): Replace HAS_CPU_FEATURE and
23731         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
23732         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
23733         for Intel processors with usable AVX2.  Call get_common_indeces
23734         for other processors with family == NULL.
23735         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
23736         (CPU_FEATURES_ARCH_P): Likewise.
23737         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
23738         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
23740 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23742         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
23743         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
23744         $(shared-thread-library) instead of hardcoding the path to libpthread.
23746 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
23748         * sysdeps/unix/sysv/linux/kernel-features.h
23749         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
23750         * sysdeps/unix/sysv/linux/getdents.c
23751         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
23752         [!have_no_getdents64_defined]: Likewise.
23753         (__GETDENTS): Remove __have_no_getdents64 conditional.
23755 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
23757         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
23758         Remove macro.
23759         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
23760         <kernel-features.h>.
23761         (signalfd) [__NR_signalfd4]: Make code unconditional.
23762         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
23764 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23766         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
23767         style.
23769 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
23771         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
23772         (__pthread_enable_asynccancel): Use JUMPTARGET to call
23773         __pthread_unwind.
23774         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
23775         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
23776         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
23777         (__condvar_cleanup1): Likewise.
23779 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
23781         [BZ #19822]
23782         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
23783         move it to the final $@ location.
23785 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23787         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
23788         access where posix_spawn success and pid argument is null.
23789         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
23790         success case.
23792 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23794         * sysdeps/mach/hurd/i386/c++-types.data: New file.
23796         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
23798         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
23799         and __fcntl.
23800         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
23801         __fcntl only.
23802         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
23803         adding attribute_hidden to __open and __fcntl.
23805         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
23806         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
23807         depend on libc-modules.h,
23808         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
23810 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
23812         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
23813         Remove macro.
23814         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
23815         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
23816         entry.
23818         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
23819         Remove macro.
23820         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
23821         include <kernel-features.h>.
23822         [!__ASSUME_FALLOCATE]: Remove conditional code.
23823         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
23825 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23827         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
23828         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
23829         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
23830         (_ZGVdN4v_cos_avx2): Likewise.
23831         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
23832         (_ZGVdN4v_cos): Likewise.
23833         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
23834         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
23835         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
23836         (_ZGVdN4v_exp_avx2): Likewise.
23837         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
23838         (_ZGVdN4v_exp): Likewise.
23839         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
23840         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
23841         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
23842         (_ZGVdN4v_log_avx2): Likewise.
23843         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
23844         (_ZGVdN4v_log): Likewise.
23845         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
23846         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
23847         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
23848         (_ZGVdN4vv_pow_avx2): Likewise.
23849         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
23850         (_ZGVdN4vv_pow): Likewise.
23851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
23852         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
23853         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
23854         (_ZGVdN4v_sin_avx2): Likewise.
23855         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
23856         (_ZGVdN4v_sin): Likewise.
23857         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23858         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23859         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23860         (_ZGVdN4vvv_sincos_avx2): Likewise.
23861         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23862         (_ZGVdN4vvv_sincos): Likewise.
23863         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23864         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23865         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23866         (_ZGVbN4v_cosf_sse4): Likewise.
23867         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23868         (_ZGVdN8v_cosf_avx2): Likewise.
23869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23870         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23872         (_ZGVbN4v_expf_sse4): Likewise.
23873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23874         (_ZGVdN8v_expf_avx2): Likewise.
23875         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23876         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23877         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23878         (_ZGVbN4v_logf_sse4): Likewise.
23879         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23880         (_ZGVdN8v_logf_avx2): Likewise.
23881         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23882         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23883         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23884         (_ZGVbN4vv_powf_sse4): Likewise.
23885         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23886         (_ZGVdN8vv_powf_avx2): Likewise.
23887         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23888         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23889         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23890         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23891         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23892         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23893         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23894         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23895         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23896         (_ZGVbN4v_sinf_sse4): Likewise.
23897         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23898         (_ZGVdN8v_sinf_avx2): Likewise.
23899         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23900         Use JUMPTARGET to call callee.
23901         (WRAPPER_IMPL_SSE2_ff): Likewise.
23902         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23903         (WRAPPER_IMPL_AVX): Likewise.
23904         (WRAPPER_IMPL_AVX_ff): Likewise.
23905         (WRAPPER_IMPL_AVX_fFF): Likewise.
23906         (WRAPPER_IMPL_AVX512): Likewise.
23907         (WRAPPER_IMPL_AVX512_ff): Likewise.
23908         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23909         Likewise.
23910         (WRAPPER_IMPL_SSE2_ff): Likewise.
23911         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23912         (WRAPPER_IMPL_AVX): Likewise.
23913         (WRAPPER_IMPL_AVX_ff): Likewise.
23914         (WRAPPER_IMPL_AVX_fFF): Likewise.
23915         (WRAPPER_IMPL_AVX512): Likewise.
23916         (WRAPPER_IMPL_AVX512_ff): Likewise.
23917         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23919 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23921         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23922         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23923         qualifier.
23924         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23925         internal_function qualifiers.
23927 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23929         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23930         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23931         * math/atest-exp.c (exp_mpn): Mark chk unused.
23932         * math/atest-exp2.c (exp_mpn): Likewise.
23933         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23934         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23936 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23939         Remove macro.
23940         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23941         <kernel-features.h>.
23942         [__NR_ppoll]: Make code unconditional.
23943         [!__ASSUME_PPOLL]: Remove conditional code.
23945         * sysdeps/unix/sysv/linux/kernel-features.h
23946         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23947         (__ASSUME_ACCEPT4): Likewise.
23948         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23949         Define.
23950         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23951         Likewise.
23952         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23953         Likewise.
23954         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23955         Likewise.
23956         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23957         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23958         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23959         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23960         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23961         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23962         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23963         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23964         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23965         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23966         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23967         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23968         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23969         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23970         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23971         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23972         Likewise.
23973         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23974         Likewise.
23975         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23976         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23977         0x040300].
23978         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23979         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23980         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23981         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23982         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23983         0x030300].
23984         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23985         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23986         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23987         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23988         0x040300].
23989         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23990         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23991         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23992         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23993         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23994         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23995         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23996         0x030300].
23997         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23998         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23999         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24000         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24001         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24002         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24003         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24004         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24005         * sysdeps/unix/sysv/linux/s390/kernel-features.h
24006         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
24007         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
24008         0x040300].
24009         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24010         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24011         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24012         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
24013         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24014         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24015         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24016         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24017         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24018         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24019         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24020         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24021         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
24022         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
24023         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
24024         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
24025         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
24026         Likewise.
24027         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
24028         Likewise.
24030 2016-03-15  Andreas Schwab  <schwab@suse.de>
24032         [BZ #19257]
24033         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
24034         statp->_u._ext.nscount as loop count.
24036 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
24038         * math/test-signgam-finite-c99.c: Also #undef
24039         __LIBC_INTERNAL_MATH_INLINES.
24040         * math/test-signgam-main.c: Likewise.
24042 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
24044         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
24045         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
24046         (MADV_FREE): Likewise.
24047         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
24048         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
24049         EPOLLEXCLUSIVE.
24051 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
24053         * timezone/README: Remove mention of checktab.awk. Mention wiki
24054         SharedSourceFiles.
24056 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24058         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
24059         WUNTRACED.
24061 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24063         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
24064         order to match the type of p when calling atomic_exchange_acq().
24066 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24068         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
24069         cfi_offset calls.
24070         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
24071         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
24072         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
24073         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
24074         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
24076 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
24078         * timezone/checktab.awk: Removed.
24080 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
24082         * manual/math.texi (Errors in Math Functions): Document relaxed
24083         accuracy goals for IBM long double.
24084         * math/libm-test.inc (test_exceptions): Always allow spurious
24085         "underflow" and "inexact" exceptions for IBM long double.
24087 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
24089         [BZ #19762]
24090         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24091         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
24092         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
24093         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
24094         (bit_arch_*): This for feature array.
24095         (bit_*): Renamed to ...
24096         (bit_cpu_*): This for cpu array.
24097         (index_*): Renamed to ...
24098         (index_arch_*): This for feature array.
24099         (index_*): Renamed to ...
24100         (index_cpu_*): This for cpu array.
24101         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
24102         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
24103         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
24104         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
24105         bit_##name with index_cpu_##name and bit_cpu_##name.
24106         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
24107         bit_##name with index_arch_##name and bit_arch_##name.
24109 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
24111         [BZ #19792]
24112         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
24113         Terminate FDE before return label.
24115 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
24117         [BZ #19790]
24118         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
24119         (rintl): Define as macro.
24120         [USE_AS_NEARBYINTL] (__rintl): Likewise.
24121         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
24122         of fesetround.  Ensure results are evaluated before end of scope.
24123         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
24124         USE_AS_NEARBYINTL and include s_rintl.c.
24125         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
24126         Disable exception traps in new environment.
24127         (libc_feholdsetround_ppc_ctx): Likewise.
24129 2016-03-08  Roland McGrath  <roland@hack.frob.com>
24131         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
24132         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
24133         (tst_audit10_aux) [__AVX512F__]: ... here.
24135 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
24137         * include/sys/auxv.h: New file.
24139 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
24141         [BZ #19759]
24142         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
24144 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
24146         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
24147         operand modifier.
24148         (feclearexcept): Likewise.
24150 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24152         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
24153         to reflect the entire 32-bit HWCAP.
24154         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
24155         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
24157 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
24159         [BZ #19783]
24160         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
24161         $(test-via-rtld-prefix).
24162         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
24164 2016-03-08  Florian Weimer  <fweimer@redhat.com>
24166         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
24167         union wait.  Report any non-zero exit status as error.
24169 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24171         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
24172         configured with --enable-hardcoded-path-in-tests.
24174 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
24176         [BZ #19677]
24177         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24178         (__ieee754_remainderl): Put zero low parts in canonical form.
24179         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
24180         file.  Based on
24181         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
24182         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
24183         with wrapper round test-fmodrem-ldbl-128ibm.c.
24184         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
24185         file.
24186         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
24187         Likewise.
24188         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
24189         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
24191 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24193         [BZ #19610]
24194         * elf/ldconfig.c (opt_link): Update comment.
24195         (options): Update help string for option -X.
24196         (search_dir): Unlink stale symbolic link only if updating symbolic
24197         links.
24198         * elf/tst-ldconfig-X.sh: New file.
24199         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
24200         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
24202 2016-03-07  Andreas Schwab  <schwab@suse.de>
24204         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
24205         needed arguments.
24207 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
24209         [BZ #15333]
24210         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
24211         to lstat64.
24213 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24215         * libio/filedoalloc.c (isatty): Remove.
24216         (local_isatty): Add comment.  Call __isatty directly.
24217         (_IO_file_doallocate): Update comment.  Assume _LIBC.
24218         * libio/wfiledoalloc.c (isatty): Remove.
24219         (_IO_wfile_doallocate): Update comment.
24221 2016-03-07  Florian Weimer  <fweimer@redhat.com>
24223         [BZ #19269]
24224         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
24225         tst-audit4-aux.o.
24226         (tst-audit10): Depend on tst-audit10-aux.o.
24227         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
24228         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
24229         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
24230         instead of inline AVX code.
24231         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
24232         instead of inline AVX512 code.
24233         * sysdeps/x86_64/tst-audit4-aux.c: New file
24234         * sysdeps/x86_64/tst-audit10-aux.c: New file
24236         [BZ #19648]
24237         * test-skeleton.c (main): Do not set RLIMIT_DATA.
24239 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24241         [BZ #14750]
24242         [BZ #10354]
24243         [BZ #18433]
24244         * include/sched.h (__clone): Add hidden prototype.
24245         (__clone2): Likewise.
24246         * include/unistd.h (__dup): Likewise.
24247         * posix/Makefile (tests): Add tst-spawn2.
24248         * posix/tst-spawn2.c: New file.
24249         * sysdeps/posix/dup.c (__dup): Add hidden definition.
24250         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
24251         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
24252         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
24253         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
24254         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
24255         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
24256         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
24257         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
24258         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
24259         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
24260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
24261         Likewise.
24262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24263         Likewise.
24264         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
24265         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
24266         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
24267         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
24268         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
24269         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
24270         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
24271         * sysdeps/unix/sysv/linux/nptl-signals.h
24272         (____nptl_is_internal_signal): New function.
24273         * sysdeps/unix/sysv/linux/spawni.c: New file.
24275         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
24276         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
24277         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
24278         * posix/tst-execvp2.c (do_test): Likewise.
24279         * posix/tst-execvp3.c (do_test): Likewise.
24280         * posix/tst-execvp4.c (do_test): Likewise.
24281         * posix/tst-execvpe1.c: New file.
24282         * posix/tst-execvpe2.c: Likewise.
24283         * posix/tst-execvpe3.c: Likewise.
24284         * posix/tst-execvpe4.c: Likewise.
24285         * posix/tst-execvpe5.c: Likewise.
24286         * posix/tst-execvpe6.c: Likewise.
24288         [BZ #19534]
24289         * posix/execl.c (execl): Remove dynamic memory allocation.
24290         * posix/execle.c (execle): Likewise.
24291         * posix/execlp.c (execlp): Likewise.
24293 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24295         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
24296         Replace .text with .text.avx512.
24297         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
24298         Likewise.
24300 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
24302         * sysdeps/generic/libnsl.abilist: New file.
24303         * sysdeps/generic/libutil.abilist: New file.
24305 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24307         [BZ #19762]
24308         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
24309         HAS_ARCH_FEATURE with Fast_Rep_String.
24310         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
24311         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
24312         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
24313         Likewise.
24314         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
24315         Likewise.
24316         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
24317         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
24318         Likewise.
24319         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
24320         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
24321         Likewise.
24323 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24325         [BZ #19745]
24326         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
24327         with *%rax in call.
24329 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24331         [BZ #19745]
24332         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
24333         with *__libc_start_main@GOTPCREL(%rip) in call.
24335 2016-03-04  Roland McGrath  <roland@hack.frob.com>
24337         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
24338         inside conditional for nonempty $(CXX).
24340         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
24341         nonempty.
24343         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
24344         to test for empty $(CXX) rather than $(CXX) of "no".
24346 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
24348         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
24350 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
24351             H.J. Lu  <hongjiu.lu@intel.com>
24353         [BZ #18880]
24354         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
24355         instead of Slow_BSF, and also check for Fast_Copy_Backward to
24356         enable __memcpy_ssse3_back.
24358 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24360         [BZ #19758]
24361         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
24362         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
24364 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
24366         [BZ #19490]
24367         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
24368         (__fentry__): Likewise.
24370 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
24372         * gmon/Makefile (noprof): Add $(sysdep_noprof).
24373         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
24375 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24377         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
24378         __mcount_internal directly.
24379         (C_LABEL(__fentry__)): Likewise.
24380         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
24381         directly.
24383 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
24385         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
24386         (__start_context): Call __setcontext directly.
24388 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
24390         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24391         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24392         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
24393         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24394         * sysdeps/unix/sysv/linux/arm/kernel-features.h
24395         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24396         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
24397         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24398         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24399         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
24400         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24401         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24402         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
24403         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24404         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24405         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24406         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
24407         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24408         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24409         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
24410         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
24411         * sysdeps/unix/sysv/linux/mips/kernel-features.h
24412         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24413         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
24414         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
24415         Remove conditional code.
24416         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
24417         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
24418         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24419         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24420         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
24421         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24422         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
24423         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
24424         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
24425         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24426         * sysdeps/unix/sysv/linux/tile/kernel-features.h
24427         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
24429 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
24431         * NEWS (2.23): Fix typo in bug 19048 text.
24433 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
24435         [BZ #14259]
24436         * Makeconfig: Rename msgcatdir to localedir.
24437         Rename inst_msgcatdir to inst_localedir.
24438         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
24439         * config.make.in: Add localedir.
24440         * elf/Makefile ($(objpfx)sotruss): Use localedir.
24441         (ldd-rewrite): Likewise.
24442         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
24443         (install-others): Use inst_localedir.
24444         (CPPFLAGS): Use localedir.
24445         * locale/Makefile (locale-CPPFLAGS): Likewise.
24446         * po/Makefile (mo-installed): Use inst_localedir.
24448         [BZ #19575]
24449         * localedata/charmaps/GB18030: Update comments regarding PAU to
24450         non-PUA mappings.
24452 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
24454         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
24455         test for header.
24456         * sysdeps/unix/sysv/linux/configure: Regenerated.
24457         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
24458         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
24459         Remove conditional code.
24460         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
24462         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
24463         Define to 3.2.0.
24464         (arch_minimum_kernel): Likewise.
24465         * sysdeps/unix/sysv/linux/configure: Regenerated.
24466         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
24467         Define to 2.6.32.
24468         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
24469         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
24470         (arch_minimum_kernel): Define to 2.6.32.
24471         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
24472         * README: Document Linux 3.2 requirement.
24473         * manual/install.texi (Linux): Document Linux 3.2 headers
24474         requirement.
24475         * INSTALL: Regenerated.
24477 2016-02-24  Andreas Schwab  <schwab@suse.de>
24479         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
24480         if !NO_LONG_DOUBLE.
24482 2016-02-22  Roland McGrath  <roland@hack.frob.com>
24484         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
24485         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
24487 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
24489         [BZ #19512]
24490         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
24492 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24494         * posix/tst-dir.c: Include libc-internal.h.
24496 2016-02-20  Florian Weimer  <fweimer@redhat.com>
24498         [BZ #19056]
24499         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
24500         * manual/filesys.texi (Reading/Closing Directory): Mention
24501         deprecaion.
24502         * posix/tst-dir.c (main): Disable deprecation warning in test.
24504 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
24506         [BZ #19679]
24507         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
24508         Renamed to ...
24509         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
24510         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24511         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
24512         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24513         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24514         * sysdeps/x86_64/dl-trampoline.h
24515         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
24516         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
24518 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24520         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
24522 2016-02-19  Mark Wielaard  <mjw@redhat.com>
24524         * elf/elf.h (R_386_GOT32X): New.
24525         (R_386_NUM): Update.
24526         (R_X86_64_GOTPCRELX: New.
24527         (R_X86_64_REX_GOTPCRELX): New.
24528         (R_X86_64_NUM): Update.
24530 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
24532         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
24534 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
24536         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
24537         assign attr->stackaddr to it, and adjust it down when
24538         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
24539         [_STACK_GROWS_UP]: Delete assert.
24540         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
24541         Implement stack grows up logic.
24542         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
24543         stack grows up logic.
24545 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24547         * NEWS: Update with 2.24 template.
24549 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24551         [BZ #19678]
24552         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
24553         Ensure +0.0 is returned when taking the next value below the least
24554         positive value.
24556 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24558         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
24559         available.  Do not define NO_THREADS.
24560         * malloc/malloc.c: Do not check NO_THREADS.
24561         * malloc/arena.c: Likewise.
24563 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24565         * malloc/malloc.c (__libc_mallinfo): Update comment.
24566         (struct malloc_par): Remove max_total_mem member, it was always 0.
24567         (int_mallinfo): Store 0 into usmblks (no functional change).
24568         * malloc/hooks.c (struct malloc_state): Document that
24569         max_total_mem is always 0.
24570         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
24571         always 0.
24572         * manual/memory.texi (Statistics of Malloc): Likewise.
24574 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24576         * malloc/malloc.c (sysmalloc): Do not update arena_max.
24577         * malloc/arena.c (arena_max): Remove.
24578         (heap_trim, _int_new_arena): Do not update arena_max.
24580 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24582         * resolv/res_init.c (res_ninit): Update comment.
24584 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24586         [BZ #19505]
24587         * posix/spawn_int.h: Add headers and include guard.
24588         (__spawn_valid_fd): New function.
24589         * posix/spawn_faction_addopen.c
24590         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
24591         * posix/spawn_faction_addclose.c
24592         (posix_spawn_file_actions_addclose): Likewise.
24593         * posix/spawn_faction_adddup2.c
24594         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
24595         second file descriptor.
24596         * posix/spawn_valid_fd.c: New file.
24597         * posix/tst-posix_spawn-fd.c: New file.
24598         * posix/Makefile (routines): Add spawn_valid_fd.
24599         (tests): Add tst-posix_spawn-fd.
24601 2016-02-19  Florian Weimer  <fweimer@redhat.com>
24603         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
24604         (do_test): Limit the number of arenas, so that we can use fewer
24605         outer threads.  Limit timeout to 3 seconds, in preparation for a
24606         larger TIMEOUT value.
24608 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
24610         [BZ #19674]
24611         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
24612         sign in overflowing and underflowing results when overflow or
24613         underflow is detected early.  Include sign in result before rather
24614         than after scaling.
24616         [BZ #19603]
24617         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
24618         (__ieee754_remainderl): Adjust sign of integer version of low part
24619         when taking absolute value of high part.
24620         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24621         * math/libm-test.inc (remainder_test_data): Add another test.
24622         (remquo_test_data): Likewise.
24624 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
24626         [BZ #19602]
24627         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
24628         equal high parts and both low parts zero specially.
24629         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
24630         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
24631         Add test-fmodl-ldbl-128ibm.
24633         [BZ #19595]
24634         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
24635         common logic for all cases of shifting subnormal results.  Do not
24636         insert sign bit in shifted mantissa.  Always pass -1023 as biased
24637         exponent to ldbl_insert_mantissa in subnormal case.
24639         [BZ #19594]
24640         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
24641         on high and low parts then adjust result and use
24642         ldbl_canonicalize_int if needed.
24644         [BZ #19593]
24645         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
24646         on high part and __floor or __ceil on low part then use
24647         ldbl_canonicalize_int if needed.
24649         [BZ #19592]
24650         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
24651         high and low parts then use ldbl_canonicalize_int if needed.
24653         [BZ #17899]
24654         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
24655         New function.
24656         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
24657         on high and low parts then use ldbl_canonicalize_int if needed.
24659 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24661         * configure: Regenerated.
24663         * po/libc.pot: Regenerated.
24665         * po/be.po: Updated translation.
24666         * po/bg.po: Likewise.
24667         * po/ca.po: Likewise.
24668         * po/cs.po: Likewise.
24669         * po/da.po: Likewise.
24670         * po/el.po: Likewise.
24671         * po/eo.po: Likewise.
24672         * po/es.po: Likewise.
24673         * po/fi.po: Likewise.
24674         * po/fr.po: Likewise.
24675         * po/gl.po: Likewise.
24676         * po/hr.po: Likewise.
24677         * po/hu.po: Likewise.
24678         * po/ia.po: Likewise.
24679         * po/id.po: Likewise.
24680         * po/it.po: Likewise.
24681         * po/ja.po: Likewise.
24682         * po/lt.po: Likewise.
24683         * po/nb.po: Likewise.
24684         * po/nl.po: Likewise.
24685         * po/pt_BR.po: Likewise.
24686         * po/rw.po: Likewise.
24687         * po/sk.po: Likewise.
24688         * po/sl.po: Likewise.
24689         * po/sv.po: Likewise.
24690         * po/tr.po: Likewise.
24691         * po/zh_CN.po: Likewise.
24692         * po/zh_TW.po: Likewise.
24694         * version.h (RELEAES): Set to "development".
24695         (VERSION): Set to 2.23.90.
24697         * version.h (RELEASE): Set to "stable".
24698         (VERSION): Set to 2.23.
24699         * include/feature.h (__GLIBC_MINOR__): Set to 23.
24701         * NEWS: Updated fixed bugs.
24703 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
24704             Wilco Dijkstra  <wdijkstr@arm.com>
24706         [BZ #19462]
24707         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
24708         (_STRING_INLINE_unaligned): This.
24709         * include/string.h: Include <string_private.h>.
24710         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
24711         _STRING_INLINE_unaligned.
24712         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
24713         (_STRING_INLINE_unaligned): New.
24714         * sysdeps/aarch64/string_private.h: New file.
24715         * sysdeps/generic/string_private.h: Likewise.
24716         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
24717         * sysdeps/s390/string_private.h: Likewise.
24718         * sysdeps/x86/string_private.h: Likewise.
24719         * sysdeps/m68k/m680x0/m68020/bits/string.h
24720         (_STRING_ARCH_unaligned): Renamed to ...
24721         (_STRING_INLINE_unaligned): This.
24722         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
24723         to ...
24724         (_STRING_INLINE_unaligned): This.
24725         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
24726         to ...
24727         (_STRING_INLINE_unaligned): This.
24728         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
24729         to ...
24730         (_STRING_INLINE_unaligned): This.
24732 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
24733             H.J. Lu  <hongjiu.lu@intel.com>
24735         [BZ #19590]
24736         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
24737         relocation.
24739 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
24741         [BZ #18665]
24742         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
24743         *herrno_p.
24744         (gaih_getanswer): Document functional behviour. Return tryagain
24745         if any result is tryagain.
24746         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
24747         when freed.
24748         * resolv/res_send.c: Add copyright text.
24749         (__libc_res_nsend): Document that MAXPACKET is expected.
24750         (send_vc): Document. Remove buffer reuse.
24751         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
24752         size of the buffer. Add Dprint for truncated UDP buffer.
24754 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
24756         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
24757         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
24758         * INSTALL: Regenerate.
24760 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
24761             Jonathan Wakely  <jwakely@redhat.com>
24762             Carlos O'Donell  <carlos@redhat.com>
24764         [BZ 19439]
24765         * math/Makefile (tests): Add test-math-isinff.
24766         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
24767         * math/bits/mathcalls.h [__USE_MISC]: Use
24768         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
24769         functions not in C++11 and which don't conflict e.g. isinff,
24770         isinfl etc.
24771         * math/test-math-isinff.cc: New file.
24773 2016-02-12  Florian Weimer  <fweimer@redhat.com>
24775         * misc/bug18240.c (do_test): Set RLIMIT_AS.
24777 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24779         [BZ #19529]
24780         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
24782 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24784         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24786 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
24788         [BZ #19550]
24789         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
24790         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
24791         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
24792         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
24793         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
24794         New syscall entry.
24795         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
24796         New syscall entry.
24797         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
24798         syscall entry.
24800 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
24802         [BZ #18240]
24803         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
24804         unsigned int wraparound.
24806 2016-01-27  Florian Weimer  <fweimer@redhat.com>
24808         [BZ #18240]
24809         * misc/bug18240.c: New test.
24810         * misc/Makefile (tests): Add it.
24812 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
24813             Joseph Myers  <joseph@codesourcery.com>
24815         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
24816         load in branch delay slot when less than a word of input left.
24818 2016-01-27  Andreas Schwab  <schwab@suse.de>
24820         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
24821         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
24822         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
24823         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
24825 2016-01-26  David S. Miller  <davem@davemloft.net>
24827         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
24829 2016-01-25  David S. Miller  <davem@davemloft.net>
24831         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
24832         __sqrtl_finite.
24833         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
24834         instead using versioned_symbol.
24835         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
24836         of entries.
24838         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
24839         __sqrtl_finite to GLIBC_2.23
24841 2016-01-25  Ricchard Henderson  <rth@redhat.com>
24843         * sysdeps/alpha/fpu/libm-test-ulps: Update.
24845 2016-01-25  Andreas Schwab  <schwab@suse.de>
24847         [BZ #17514]
24848         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
24849         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
24850         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
24851         * nptl/tst-mutex-errorcheck.c: New file.
24853 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24855         [BZ #18560]
24856         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
24857         (IPCOP_semop): Likewise.
24858         (IPCOP_semget): Likewise.
24859         (IPCOP_semctl): Likewise.
24860         (IPCOP_msgsnd): Likewise.
24861         (IPCOP_msgrcv): Likewise.
24862         (IPCOP_msgget): Likewise.
24863         (IPCOP_msgctl): Likewise.
24864         (IPCOP_shmat): Likewise.
24865         (IPCOP_shmdt): Likewise.
24866         (IPCOP_shmget): Likewise.
24867         (IPCOP_shmctl): Likewise.
24869 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24871         * string/tst-endian.c: Include <libc-internal.h>.
24872         (do_test): Ignore tautological-compare warnings around
24873         "htobeXX (beXXtoh (i)) != i" and
24874         "htoleXX (leXXtoh (i)) != i" if-statements.
24876 2016-01-24  David S. Miller  <davem@davemloft.net>
24878         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24879         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24880         alias.
24881         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24882         __sqrtl_finite.
24884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24886 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24888         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24889         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24890         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24892 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24894         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24895         (thread_func): Use new function to simplify barrier check.
24896         (do_test): Use new function to simplify checking barrier exit
24897         code, and actually join the child thread.
24899 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24901         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24902         semicolon.
24903         (__libc_tend): Likewise.
24904         (__libc_tabort): Likewise.
24906 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24908         * sysdeps/nios2/libm-test-ulps: Update.
24909         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24910         (__gtsf2): Likewise.
24911         (__unorddf2): Likewise.
24912         (__unordsf2): Likewise.
24913         (__ledf2): Likewise.
24915 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24917         * nis/nis_table.c (__follow_path): Disable diagnostic for
24918         uninitialized variable that is a false positive for gcc 4.7.
24919         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24921 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24923         * sysdeps/nacl/lowlevellock-futex.h
24924         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24925         Always evaluate PRIVATE argument.
24927 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24929         [BZ #19490]
24930         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24931         (pthread_cond_broadcast): Use ENTRY/END
24932         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24933         (pthread_cond_signal): Likewise.
24934         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24935         Likewise.
24936         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24937         Likewise.
24938         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24939         Likewise.
24941 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24943         * sysdeps/ieee754/dbl-64/s_finite.c
24944         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24945         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24946         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24947         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24948         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24951         (__gtsf2): Add as optional for libc.so.
24952         (__unordsf2): Likewise.
24953         (__signbit): Remove for libc.so.
24954         (__signbitl): Likewise.
24956 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24958         * iconvdata/bug-iconv11.c (test_ibm93x):
24959         Use %zu printf format specifier for size_t argument.
24961 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24963         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24964         already-recorded ulps.
24965         * sysdeps/arm/libm-test-ulps: Regenerated.
24966         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24967         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24968         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24970 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24971             Paul Pluzhnikov  <ppluzhnikov@google.com>
24973         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24974         assembler not supporting AVX-512.
24976 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24978         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24980 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24982         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24983         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24985         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24987         * sysdeps/arm/libm-test-ulps: Regenerated.
24989 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24991         [BZ #19451]
24992         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24994 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24996         [BZ #19486]
24997         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24998         * sysdeps/generic/fix-fp-int-convert-overflow.h
24999         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
25000         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
25001         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
25002         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
25003         Likewise.
25004         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
25005         Avoid conversions to long int where inexact exceptions
25006         could be raised.
25007         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
25008         Likewise.
25009         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
25010         Avoid conversions to long long int where inexact exceptions
25011         could be raised.
25012         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
25013         Likewise.
25015 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
25017         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
25018         * configure: Regenerated.
25020 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
25022         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
25024 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
25026         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
25027         outside of comment.
25029 2016-01-15  Torvald Riegel  <triegel@redhat.com>
25031         * nptl/tst-barrier1.c: Add description on first line.
25032         * nptl/tst-barrier2.c: Likewise.
25033         * nptl/tst-barrier3.c: Likewise.
25034         * nptl/tst-barrier4.c: Likewise.
25035         * nptl/tst-barrier5.c: Likewise.
25037 2016-01-15  Torvald Riegel  <triegel@redhat.com>
25039         [BZ #18868]
25040         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
25042 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
25044         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
25045         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25046         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
25047         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
25048         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
25049         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
25050         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
25051         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
25052         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
25053         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
25054         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
25056 2016-01-15  Torvald Riegel  <triegel@redhat.com>
25058         [BZ #13065]
25059         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
25060         new implementation.
25061         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
25062         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
25063         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
25064         (BARRIER_IN_THRESHOLD): New macro.
25065         * nptl/pthread_barrierattr_setpshared.c
25066         (pthread_barrierattr_setpshared): Clean up.
25067         * nptl/tst-barrier4.c: Correct comment.
25068         * nptl/tst-barrier5.c: New file.
25069         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
25070         (gen-as-const-headers): Remove lowlevelbarrier.sym.
25071         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
25072         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
25073         * nptl/lowlevelbarrier.sym: Remove.
25074         * nptl/DESIGN-barrier.txt: Remove.
25075         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
25076         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
25077         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
25078         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
25079         error.
25080         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
25081         implementation.
25083 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25085         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
25086         (do_child): Mask SIGRTMIN while thr is running.
25088 2016-01-15  Martin Sebor  <msebor@redhat.com>
25090         [BZ #19432]
25091         * iconvdata/Makefile: Add bug-iconv11.
25092         * iconvdata/bug-iconv11.c: New test.
25093         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
25094         * iconvdata/ibm933.c: Same.
25095         * iconvdata/ibm935.c: Same.
25096         * iconvdata/ibm937.c: Same.
25097         * iconvdata/ibm939.c: Same.
25099 2016-01-15  Martin Sebor  <msebor@redhat.com>
25101         [BZ #19443]
25102         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
25103         [DEBUG] (_ufc_set_bits): Declare used.
25104         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
25105         [DEBUG] (print_all): Declare used.
25106         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
25107         operands of the ternary ?: expression to target type.
25108         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
25109         calling the undeclared abort.
25110         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
25112 2016-01-15  Martin Sebor  <msebor@redhat.com>
25114         [BZ #18755]
25115         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
25116         warnings.
25117         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
25118         (__gai_create_helper_thread): Same.
25119         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
25120         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
25121         to suppress -Wmaybe-uninitialized warnings.
25123 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
25125         [BZ #19465]
25126         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
25127         inside if.
25128         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25129         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25130         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25132 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
25134         [BZ #19466]
25135         * time/tst-mktime2.c (time_t_max): Removed.
25136         (time_t_min): Likewise.
25137         (TYPE_SIGNED): New.
25138         (TYPE_MINIMUM): Likewise.
25139         (TYPE_MAXIMUM): Likewise.
25140         (TIME_T_MIN): Likewise.
25141         (TIME_T_MAX): Likewise.
25142         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
25143         and TIME_T_MIN.
25144         (do_test): Likewise.
25146 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
25148         [BZ #19467]
25149         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
25150         index_Fast_Unaligned_Load flag for Excavator family CPUs.
25152 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
25154         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
25156 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
25158         * benchtests/Makefile (PYTHON): Define.
25159         (bench-func): Use $(PYTHON) to run python scripts.
25160         ($(objpfx)bench-%.c): Likewise.
25162 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
25164         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
25165         leading slash when `file_name' is "/".
25167 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
25169         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
25170         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
25171         Likewise.
25172         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
25173         Likewise.
25174         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
25175         Likewise.
25176         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
25177         enum constant and macro.
25178         (PTRACE_SETSIGMASK): Likewise.
25179         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25180         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25181         (PTRACE_GETSIGMASK): Likewise.
25182         (PTRACE_SETSIGMASK): Likewise.
25183         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25184         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
25185         Likewise.
25186         (PTRACE_SETSIGMASK): Likewise.
25187         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25189         (PTRACE_GETSIGMASK): Likewise.
25190         (PTRACE_SETSIGMASK): Likewise.
25191         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25192         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
25193         Likewise.
25194         (PTRACE_SETSIGMASK): Likewise.
25195         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25196         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
25197         Likewise.
25198         (PTRACE_SETSIGMASK): Likewise.
25199         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25200         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
25201         Likewise.
25202         (PTRACE_SETSIGMASK): Likewise.
25203         (PTRACE_SECCOMP_GET_FILTER): Likewise.
25205 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
25206             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25208         [BZ #19439]
25209         * math/bits/mathcalls.h
25210         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
25211         prototype.
25212         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
25214 2016-01-11  Andreas Schwab  <schwab@suse.de>
25216         [BZ #19253]
25217         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
25218         cache when TZDEFRULES was used.
25219         * time/tst-tzname.c: New file.
25220         * time/Makefile (test): Add tst-tzname.
25221         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
25222         * timezone/Makefile (test-zones): Add $(posixrules-file).
25223         ($(testdata)/$(posixrules-file)): New rule.
25225 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
25227         Fix doc quoting problems with Texinfo 5
25228         Without this change, in the info file output, Texinfo 5 quotes code
25229         in text with undirected single quotes 'like this' and generates
25230         code examples that with many PDF readers cannot be cut out of PDFs
25231         and pasted into code.
25232         * manual/libc.texinfo: Configure the libc manual like the GNU
25233         Emacs manual, by using @documentencoding and setting
25234         txicodequoteundirected and txicodequotebacktick.  This way,
25235         Texinfo 5 quotes code in text with directed single quotes ‘like
25236         this’ and produces examples that can be cut out of PDFs.  This
25237         change causes Texinfo 5 to generate info files that contain UTF-8
25238         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
25239         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
25241 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25243         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
25244         __libc_tabort, __libc_tend): New wrappers that enforce compiler
25245         barriers to their respective compiler built-ins.
25246         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
25247         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
25248         * sysdeps/powerpc/sysdep.h: Likewise.
25249         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
25250         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
25251         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
25253 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
25255         * scripts/config.guess: Revert previous shebang change.
25256         * scripts/config.sub: Likewise.
25257         * scripts/mkinstalldirs: Likewise.
25259 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25261         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
25262         PPC_FEATURE2_HAS_IEEE128.
25263         * sysdeps/powerpc/dl-procinfo.c:
25264         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
25266 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
25268         [BZ #19415]
25269         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
25270         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
25271         (_dl_lookup_address): Rewrite using function resolver trampoline.
25272         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
25273         two bits in address.
25275 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25277         * longlong.h: Change !__SHMEDIA__ to
25278         (!defined (__SHMEDIA__) || !__SHMEDIA__).
25279         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
25281 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
25282             Joseph Myers  <joseph@codesourcery.com>
25283             Mark Shinwell  <shinwell@codesourcery.com>
25284             Andrew Stubbs  <ams@codesourcery.com>
25285             Rich Felker <dalias@libc.org>
25287         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
25289 2016-01-07  Richard Henderson  <rth@redhat.com>
25291         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
25293 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
25295         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
25296         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
25297         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
25298         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
25299         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
25301 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
25302             Joseph Myers  <joseph@codesourcery.com>
25304         * timezone/private.h: Update from tzcode 2015g.
25305         * timezone/tzfile.h: Likewise.
25306         * timezone/tzselect.ksh: Likewise.
25307         * timezone/zdump.c: Likewise.
25308         * timezone/zic.c: Likewise.
25309         * timezone/ialloc.c: Remove file.
25310         * timezone/scheck.c: Likewise.
25311         * timezone/Makefile (extra-objs): Remove variable.
25312         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
25313         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
25314         -Wno-maybe-uninitialized.
25315         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
25316         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
25317         (CFLAGS-ialloc.c): Remove variable.
25318         (CFLAGS-scheck.c): Likewise.
25319         * timezone/README: Update list of files from tzcode.
25321 2016-01-07  Khem Raj  <raj.khem@gmail.com>
25323         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
25324         instead of __fxprintf when _LIBC is undefined.
25326 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
25328         * catgets/test-gencat.sh: Remove space after shebang.
25329         * conform/GlibcConform.pm: Likewise.
25330         * conform/check-header-lists.sh: Likewise.
25331         * conform/conformtest.pl: Likewise.
25332         * conform/linknamespace.pl: Likewise.
25333         * conform/list-header-symbols.pl: Likewise.
25334         * debug/catchsegv.sh: Likewise.
25335         * elf/genrtldtbl.awk: Likewise.
25336         * elf/tst-pathopt.sh: Likewise.
25337         * elf/tst-rtld-load-self.sh: Likewise.
25338         * grp/tst_fgetgrent.sh: Likewise.
25339         * iconvdata/gen-8bit-gap-1.sh: Likewise.
25340         * iconvdata/gen-8bit-gap.sh: Likewise.
25341         * iconvdata/gen-8bit.sh: Likewise.
25342         * iconvdata/run-iconv-test.sh: Likewise.
25343         * intl/tst-gettext.sh: Likewise.
25344         * intl/tst-gettext2.sh: Likewise.
25345         * intl/tst-gettext4.sh: Likewise.
25346         * intl/tst-gettext6.sh: Likewise.
25347         * intl/tst-translit.sh: Likewise.
25348         * io/ftwtest-sh: Likewise.
25349         * libio/test-freopen.sh: Likewise.
25350         * locale/gen-translit.pl: Likewise.
25351         * malloc/tst-mtrace.sh: Likewise.
25352         * manual/check-safety.sh: Likewise.
25353         * manual/libc-texinfo.sh: Likewise.
25354         * manual/tsort.awk: Likewise.
25355         * manual/xtract-typefun.awk: Likewise.
25356         * nptl/tst-cancel-wrappers.sh: Likewise.
25357         * nptl/tst-tls6.sh: Likewise.
25358         * posix/globtest.sh: Likewise.
25359         * posix/tst-getconf.sh: Likewise.
25360         * posix/wordexp-tst.sh: Likewise.
25361         * scripts/check-c++-types.sh: Likewise.
25362         * scripts/check-local-headers.sh: Likewise.
25363         * scripts/config.guess: Likewise.
25364         * scripts/config.sub: Likewise.
25365         * scripts/cpp: Likewise.
25366         * scripts/cross-test-ssh.sh: Likewise.
25367         * scripts/documented.sh: Likewise.
25368         * scripts/evaluate-test.sh: Likewise.
25369         * scripts/gen-libc-abis: Likewise.
25370         * scripts/gen-sorted.awk: Likewise.
25371         * scripts/list-fixed-bugs.py: Likewise.
25372         * scripts/merge-test-results.sh: Likewise.
25373         * scripts/mkinstalldirs: Likewise.
25374         * scripts/rellns-sh: Likewise.
25375         * scripts/test-installation.pl: Likewise.
25376         * scripts/update-copyrights: Likewise.
25377         * stdio-common/tst-printf.sh: Likewise.
25378         * stdio-common/tst-unbputc.sh: Likewise.
25379         * stdlib/tst-fmtmsg.sh: Likewise.
25380         * stdlib/tst-setcontext3.sh: Likewise.
25381         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
25382         * sysdeps/unix/make-syscalls.sh: Likewise.
25384 2016-01-06  John David Anglin  <dave.anglin@bell.net>
25386         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
25387         asm stw with atomic_exchange_rel.  Add explanatory comment.
25388         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
25389         Likewise.
25391 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25393         [BZ #19122]
25394         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
25395         * sysdeps/generic/dl-unistd.h: New file.
25396         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
25398 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
25400          [BZ #19122]
25401          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
25402          * sysdeps/generic/dl-mman.h: New file.
25403          * sysdeps/mach/hurd/dl-mman.h: Likewise.
25405 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
25407         * manual/texinfo.tex: Update to version 2016-01-04.21 with
25408         trailing whitespace removed.
25409         * scripts/config.guess: Update to version 2016-01-01.
25410         * scripts/config.sub: Update to version 2016-01-01.
25411         * scripts/move-if-change: Update from gnulib.
25413 2016-01-04  Anton Blanchard  <anton@samba.org>
25415         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
25416         for array indices.
25417         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
25419 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
25421         * NEWS: Update copyright dates.
25422         * catgets/gencat.c (print_version): Likewise.
25423         * csu/version.c (banner): Likewise.
25424         * debug/catchsegv.sh: Likewise.
25425         * debug/pcprofiledump.c (print_version): Likewise.
25426         * debug/xtrace.sh (do_version): Likewise.
25427         * elf/ldconfig.c (print_version): Likewise.
25428         * elf/ldd.bash.in: Likewise.
25429         * elf/pldd.c (print_version): Likewise.
25430         * elf/sotruss.sh: Likewise.
25431         * elf/sprof.c (print_version): Likewise.
25432         * iconv/iconv_prog.c (print_version): Likewise.
25433         * iconv/iconvconfig.c (print_version): Likewise.
25434         * locale/programs/locale.c (print_version): Likewise.
25435         * locale/programs/localedef.c (print_version): Likewise.
25436         * login/programs/pt_chown.c (print_version): Likewise.
25437         * malloc/memusage.sh (do_version): Likewise.
25438         * malloc/memusagestat.c (print_version): Likewise.
25439         * malloc/mtrace.pl: Likewise.
25440         * manual/libc.texinfo: Likewise.
25441         * nptl/version.c (banner): Likewise.
25442         * nscd/nscd.c (print_version): Likewise.
25443         * nss/getent.c (print_version): Likewise.
25444         * nss/makedb.c (print_version): Likewise.
25445         * posix/getconf.c (main): Likewise.
25446         * scripts/test-installation.pl: Likewise.
25447         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
25449         * All files with FSF copyright notices: Update copyright dates
25450         using scripts/update-copyrights.
25451         * intl/plural.c: Regenerated.
25452         * locale/programs/charmap-kw.h: Likewise.
25453         * locale/programs/locfile-kw.h: Likewise.
25455 2016-01-02  Helge Deller  <deller@gmx.de>
25457         [BZ #19285]
25458         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
25459         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
25460         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
25461         (MADV_xxK_PAGES): Remove.
25463 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
25465         [BZ #15421]
25466         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
25467         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
25468         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
25469         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
25471 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
25473         [BZ #19408]
25474         * sysdeps/unix/sysv/linux/personality.c: New file.
25475         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
25476         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
25477         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
25478         (sysdep_routines): Add personality.
25479         (tests): Add tst-personality.
25480         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
25481         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
25482         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
25483         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
25484         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
25485         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
25486         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
25487         Likewise.
25488         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
25489         Likewise.
25490         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
25491         Likewise.
25492         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
25493         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
25494         Likewise.
25496 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
25498         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
25499         (PATH_ARM_SYSTYPE): Remove.
25500         (PATH_CPUINFO): Likewise.
25501         (IO_BASE_FOOTBRIDGE): Likewise.
25502         (IO_SHIFT_FOOTBRIDGE): Likewise.
25503         (struct platform): Likewise.
25504         (init_iosys): Remove compatibility code for 2.4 kernels.
25505         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
25507 2015-12-29  Florian Weimer  <fweimer@redhat.com>
25509         * malloc/tst-malloc-thread-fail.c: New file.
25510         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
25511         (tst-malloc-thread-fail): Link against libpthread.
25513 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
25515         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
25516         (get_parser): New function.
25517         (main): New function.
25519 2015-12-29  Rob Wu  <rob@robwu.nl>
25521         [BZ #19369]
25522         * resolv/res_init.c (__res_vinit): Reset defdname before use.
25524 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
25526         [BZ #19270]
25527         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25529 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
25531         [BZ #15421]
25532         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
25534 2015-12-23  Torvald Riegel  <triegel@redhat.com>
25536         [BZ #13690]
25537         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
25538         after releasing it.
25539         (__lll_robust_unlock): Likewise.
25540         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
25541         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
25542         (lll_robust_unlock): Likewise.
25543         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
25544         Prevent warnings in callers.
25546 2015-12-23  Florian Weimer  <fweimer@redhat.com>
25548         * malloc/arena.c (list_lock): Update comment.
25550 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25552         * sysdeps/powerpc/hwcapinfo.c: Export symbol
25553         __parse_hwcap_and_convert_at_platform to libc.a.
25555 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25557         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
25558         platform and feature support for POWER9.
25559         * sysdeps/powerpc/dl-procinfo.h: Likewise.
25560         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
25561         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
25562         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
25563         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
25564         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
25565         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
25566         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
25568 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25570         Harmonize generic stdio-lock support with nptl
25572         This fixes build when _IO_funlockfile is a macro, fixes build where
25573         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
25574         stack unwind.
25576         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
25577         _IO_release_lock ): Use cleanup attribute on new
25578         _IO_acquire_lock_file variable instead of assuming that
25579         _IO_release_lock will be called.
25580         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
25581         _IO_acquire_lock_needs_exceptions_enabled.
25582         (_IO_acquire_lock_clear_flags2): New macro.
25584 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25586         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
25588 2015-12-21  Florian Weimer  <fweimer@redhat.com>
25590         [BZ #19182]
25591         * malloc/arena.c (list_lock): Document lock ordering requirements.
25592         (free_list_lock): New lock.
25593         (ptmalloc_lock_all): Comment on free_list_lock.
25594         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
25595         (detach_arena): Update comment.  free_list_lock is now needed.
25596         (_int_new_arena): Use free_list_lock around detach_arena call.
25597         Acquire arena lock after list_lock.  Add comment, including FIXME
25598         about incorrect synchronization.
25599         (get_free_list): Switch to free_list_lock.
25600         (reused_arena): Acquire free_list_lock around detach_arena call
25601         and attached threads counter update.  Add two FIXMEs about
25602         incorrect synchronization.
25603         (arena_thread_freeres): Switch to free_list_lock.
25604         * malloc/malloc.c (struct malloc_state): Update comments to
25605         mention free_list_lock.
25607 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25609         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
25610         Remove functions.
25611         (sloww, sloww1): Accept argument to offset quadrant.
25612         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
25613         quadrant.
25614         (__sin, __cos): Consolidate common code into new functions.
25615         (reduce_sincos_1, do_sincos_1): New functions.
25616         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25618         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
25619         code to new functions.
25620         (reduce_sincos_2, do_sincos_2): New functions.
25621         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
25623         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
25624         common code for sincos.
25625         (__cos) [!IN_SINCOS]: Likewise.
25626         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
25627         New function.
25628         (__sincos): Use it.
25630 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
25632         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
25633         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
25634         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25636 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25638         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
25639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
25640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
25641         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
25642         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
25643         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
25644         index_Prefer_No_VZEROUPPER): New feature.
25645         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
25646         Prefer_No_VZEROUPPER for Knights Landing.
25648 015-12-18  Torvald Riegel  <triegel@redhat.com>
25650         * math/atest-exp2.c (mp_exp_m1): Remove.
25652 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25654         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
25655         syscalls.
25656         (__SYSCALL0): New macro.
25657         (__SYSCALL1): Likewise.
25658         (__SYSCALL2): Likewise.
25659         (__SYSCALL3): Likewise.
25660         (__SYSCALL4): Likewise.
25661         (__SYSCALL5): Likewise.
25662         (__SYSCALL6): Likewise.
25663         (__SYSCALL_CONCAT_X): Likewise.
25664         (__SYSCALL_CONCAT): Likewise.
25665         (__SYSCALL_DIST): Likewise.
25666         (__SYSCALL_CALL): Likewise.
25668 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
25670         [BZ #19363]
25671         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
25673 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25675         [BZ #19375]
25676         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
25677         negative subnormals.
25679 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
25681         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
25682         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
25683         (INTERNAL_SYSCALL_NCS): Use it.
25684         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
25686 2015-12-16  Florian Weimer  <fweimer@redhat.com>
25688         [BZ #19243]
25689         * malloc/arena.c (get_free_list): Remove assert and adjust
25690         reference count handling.  Add comment about reused_arena
25691         interaction.
25692         (reused_arena): Add comments abount get_free_list interaction.
25693         * malloc/tst-malloc-thread-exit.c: New file.
25694         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
25695         (tst-malloc-thread-exit): Link against libpthread.
25697 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25699         [BZ #19367]
25700         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
25701         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
25702         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
25703         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
25704         (index_Prefer_MAP_32BIT_EXEC): Likewise.
25706 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
25708         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
25709         Silvermont optimizations for Knights Landing.
25711 2015-12-15  Andreas Schwab  <schwab@suse.de>
25713         [BZ #17197]
25714         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
25715         immediately after emitting SI.
25716         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
25717         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
25718         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
25719         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
25720         * iconvdata/bug-iconv10.c: New file.
25721         * iconvdata/Makefile (tests): Add bug-iconv10.
25722         ($(objpfx)bug-iconv10.out): New rule.
25724 2015-12-15  Florian Weimer  <fweimer@redhat.com>
25726         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
25727         aliasing violation.
25729 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
25731         [BZ #18472]
25732         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
25733         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
25734         conditionals for them.
25735         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
25736         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
25737         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
25738         sys/kdaemon.h.
25739         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
25740         compat-only syscall, obsoleted in glibc 2.23.
25741         (create_module): Likewise.
25742         (get_kernel_syms): Likewise.
25743         (query_module): Likewise.
25744         (uselib): Likewise.
25745         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
25747 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
25749         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
25750         <linux/version.h>.
25751         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
25752         conditional code.
25753         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
25754         and ioshift_name initialization.
25756 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25758         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
25759         Fix indentation.
25761 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25763         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
25765 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
25767         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
25769 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
25770             Jakub Wilk  <jwilk@debian.org>
25772         [BZ #19347]
25773         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
25774         to change the group of the device to the tty group.
25776 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
25778         Split large string section; add truncation advice
25779         * manual/examples/strncat.c: Remove.
25780         This example was misleading, as the code would have undefined
25781         behavior if "hello" was longer than SIZE.  Anyway, the manual
25782         shouldn't encourage strncpy+strncat for this sort of thing.
25783         * manual/string.texi (Copying Strings and Arrays): Split into
25784         three sections Copying Strings and Arrays, Concatenating Strings,
25785         and Truncating Strings, as this section was way too long.  All
25786         cross-referenced changed.  Add advice about string-truncation
25787         functions.  Remove misleading strncat example.
25789 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
25791         * manual/nss.texi (NSS Modules Interface): Document
25792         NSS_STATUS_NOTFOUND and SUCCESS.
25794 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25796         [BZ 18568]
25797         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
25798         201505L, for Unicode 8.
25800 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
25802         * locale/C-translit.h: Regenerate.
25804 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
25806         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
25807         and U+0153.
25809 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
25811         [BZ #19351]
25812         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
25813         expanding log(1+z), compare z rather than its square with epsilon
25814         to determine when to avoid evaluating the expansion.
25816         [BZ #19350]
25817         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
25818         Increase overflow threshold.
25820         [BZ #19349]
25821         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
25822         when small.
25824         * sysdeps/unix/sysv/linux/i386/kernel-features.h
25825         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25826         New macro.
25827         [__LINUX_KERNEL_VERSION >= 0x040300]
25828         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25830         Likewise.
25831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25832         Likewise.
25833         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25834         Likewise.
25835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25836         Likewise.
25837         [__LINUX_KERNEL_VERSION >= 0x040300]
25838         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25839         [__LINUX_KERNEL_VERSION >= 0x040300]
25840         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25841         [__LINUX_KERNEL_VERSION >= 0x040300]
25842         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25843         [__LINUX_KERNEL_VERSION >= 0x040300]
25844         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25845         [__LINUX_KERNEL_VERSION >= 0x040300]
25846         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25847         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25848         Likewise.
25849         [__LINUX_KERNEL_VERSION >= 0x040300]
25850         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25851         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25852         Likewise.
25853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25854         Likewise.
25855         [__LINUX_KERNEL_VERSION >= 0x040300]
25856         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25858         Likewise.
25859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25860         Likewise.
25861         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25862         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25863         Likewise.
25864         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25865         Likewise.
25866         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25867         Likewise.
25868         [__LINUX_KERNEL_VERSION >= 0x040300]
25869         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25870         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25871         Likewise.
25872         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25873         Likewise.
25874         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25875         Likewise.
25876         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25877         Likewise.
25878         [__LINUX_KERNEL_VERSION >= 0x040300]
25879         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25880         [__LINUX_KERNEL_VERSION >= 0x040300]
25881         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25882         [__LINUX_KERNEL_VERSION >= 0x040300]
25883         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25884         [__LINUX_KERNEL_VERSION >= 0x040300]
25885         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25886         [__LINUX_KERNEL_VERSION >= 0x040300]
25887         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25888         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25889         Likewise.
25890         [__LINUX_KERNEL_VERSION >= 0x040300]
25891         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25892         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25893         Likewise.
25894         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25895         Likewise.
25896         [__LINUX_KERNEL_VERSION >= 0x040300]
25897         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25898         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25899         Likewise.
25900         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25901         Likewise.
25902         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25903         (__ASSUME_SOCKET_SYSCALL): Likewise.
25904         (__ASSUME_BIND_SYSCALL): Likewise.
25905         (__ASSUME_CONNECT_SYSCALL): Likewise.
25906         (__ASSUME_LISTEN_SYSCALL): Likewise.
25907         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25908         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25909         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25910         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25911         (__ASSUME_SEND_SYSCALL): Likewise.
25912         (__ASSUME_SENDTO_SYSCALL): Likewise.
25913         (__ASSUME_RECV_SYSCALL): Likewise.
25914         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25915         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25916         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25917         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25918         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25919         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25920         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25921         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25922         Likewise.
25923         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25924         Likewise.
25925         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25926         Likewise.
25927         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25928         Likewise.
25929         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25930         Likewise.
25931         [__LINUX_KERNEL_VERSION >= 0x020625]
25932         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25933         [__LINUX_KERNEL_VERSION >= 0x020625]
25934         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25935         [__LINUX_KERNEL_VERSION >= 0x020625]
25936         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25937         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25938         Likewise.
25939         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25940         Likewise.
25941         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25942         Likewise.
25943         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25944         Likewise.
25945         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25946         Likewise.
25947         [__LINUX_KERNEL_VERSION >= 0x020625]
25948         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25949         [__LINUX_KERNEL_VERSION >= 0x020625]
25950         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25951         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25952         Likewise.
25953         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25954         Likewise.
25956 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25958         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25959         record the current if the current ABI and CPU support the FP64
25960         extension.
25961         (has-modd-spreg): Define to record the current if the current ABI and
25962         CPU support 32-bit floating point values in odd FPU registers.
25963         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25964         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25965         $(has-modd-spreg) equals yes.
25966         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25967         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25968         $(has-modd-spreg) equal yes.
25970 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25972         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25973         basename.
25975 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25977         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25978         (bench-string): ... here.
25979         (bench): Add bench-string.
25980         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25981         to *-benchset to reflect what they are.
25982         (benchset): Adjust.
25984         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25985         cos-inputs.
25987 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25989         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25990         __attribute__ ((__simd__)) for vector math function declarations.
25992 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25994         Fix typo in strncat, wcsncat manual entries
25995         * manual/string.texi (Copying and Concatenation): Fix typos in
25996         sample implementations of strncat and wcsncat, by having them use
25997         the old value of the destination length, not the new one.
25999 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
26001         [BZ #16961]
26002         [BZ #16962]
26003         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
26004         string on the stack for strtod.
26005         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
26006         a string on the stack for strtof.
26007         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
26008         constructing a string on the stack for strtold.
26009         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
26010         __strtold_nan to GLIBC_PRIVATE.
26011         * math/test-nan-overflow.c: New file.
26012         * math/test-nan-payload.c: Likewise.
26013         * math/Makefile (tests): Add test-nan-overflow and
26014         test-nan-payload.
26016 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
26018         Consistency about byte vs character in string.texi
26019         * manual/string.texi (String and Array Utilities):
26020         Distinguish more carefully among bytes, multibyte characters,
26021         and wide characters.  Use "byte" when talking about C 'char',
26022         to distinguish it more clearly from multibyte characters.
26023         Say "wide character" or "multibyte character" instead of
26024         "character", when a wide or multibyte character is intended.
26025         Similarly for "multibyte string" versus "string".
26026         Define these terms more carefully.
26028 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
26030         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
26031         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
26032         Likewise.
26033         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26034         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
26035         * sysdeps/sh/math_private.h: New file.
26036         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
26037         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
26038         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
26039         long double function name.
26040         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26041         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26042         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26043         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26044         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
26046         Remove __finitel, __isinfl, and __isnanl.
26047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26048         Likewise.
26049         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26051         Remove __finitel.
26052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26053         Likewise.
26054         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26056 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
26058         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
26059         installed libmvec_nonshared.a.
26061 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26063         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
26064         (sysdep_routines): Likewise.
26065         (sysdep-rtld-routines): Likewise.
26066         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
26067         [$(subdir) = nptl](tests-static): test-get_hwcap-static
26068         * sysdeps/powerpc/Versions: Added new
26069         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
26070         * sysdeps/powerpc/hwcapinfo.c: New file.
26071         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
26072         and parse hwcap, hwcap2 and platform number information.
26073         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
26074         to store HWCAP+HWCAP2 and platform number.
26075         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
26076         for HWCAP+HWCAP2 and platform number in the TCB.
26077         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
26078         the HWCAP, HWCAP2 and platform number in the TCB.
26079         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
26080         (TLS_INIT_TP): Included calls to add the hwcap and
26081         at_platform values in the TCB in TP initialization.
26082         (TLS_DEFINE_INIT_TP): Likewise.
26083         (THREAD_GET_HWCAP): New macro.
26084         (THREAD_SET_HWCAP): Likewise.
26085         (THREAD_GET_AT_PLATFORM): Likewise.
26086         (THREAD_SET_AT_PLATFORM): Likewise.
26087         * sysdeps/powerpc/powerpc32/dl-machine.h:
26088         (dl_platform_init): New function that calls
26089         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
26090         powerpc32.
26091         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
26092         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
26093         this functionality, static linking case.
26094         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
26095         linking case.
26096         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
26097         __parse_hwcap_and_convert_at_platform for the static linking case.
26098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
26099         Included the new __parse_hwcap_and_convert_at_platform symbol in the
26100         ABI list for GLIBC 2.23.
26101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
26102         Likewise.
26103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
26104         Likewise.
26106 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
26108         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
26109         * configure: Regenerate.
26110         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
26111         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
26113 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
26115         * iconvdata/ibm930.c: Add comment explaining encoding uses.
26116         * iconvdata/ibm933.c: Likewise.
26117         * iconvdata/ibm935.c: Likewise.
26118         * iconvdata/ibm937.c: Likewise.
26119         * iconvdata/ibm939.c: Likewise.
26121 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26123         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
26124         pthread_join.
26125         * nptl/tst-cancel21.c (tf): Likewise.
26127 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
26129         [BZ #19313]
26130         * bits/typesizes.h (__CPU_MASK_TYPE): New.
26131         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26132         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
26133         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
26134         Likewise.
26135         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
26136         Likewise.
26137         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
26138         Likewise.
26139         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
26140         Likewise.
26141         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
26142         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
26143         unsigned long int with __CPU_MASK_TYPE.
26145 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26147         * sysdeps/aarch64/libm-test-ulps: Regenerated.
26149 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
26151         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
26152         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
26153         t512.x.
26154         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
26156 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
26158         [BZ #19214]
26159         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
26160         argument to return extended model.  Update family and model
26161         with extended family and model when family == 0x0f.
26162         (init_cpu_features): Updated.
26164 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26166         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
26167         signed off_t, so 32bit bigger than 2GiB values are fine actually.
26169         * sysdeps/mach/hurd/mmap64.c: New file.
26171 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
26173         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
26174         rights for its main user thread in NEWTASK.
26176 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
26178         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
26179         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
26181 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
26183         [BZ #14259]
26184         * Makeconfig: Rename localedir to complocaledir.
26185         Rename inst_localedir to inst_complocaledir.
26186         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
26187         * config.make.in: Use complocaledir and libc_cv_complocaledir.
26188         * configure.ac: Use libc_cv_complocaledir.
26189         * configure: Regenerate.
26190         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
26191         -DCOMPLOCALEDIR.
26192         * locale/findlocale.c: Use COMPLOCALEDIR.
26193         * locale/loadarchive.c: Likewise.
26194         * locale/programs/locale.c: Likewise.
26195         * locale/programs/localedef.c: Likewise.
26196         * locale/programs/locarchive.c: Likewise.
26197         * localedata/Makefile: Use inst_complocaledir.
26198         * sysdeps/gnu/configure: Regenerate.
26199         * sysdeps/hppa/configure: Regenerate.
26200         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
26201         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
26203         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
26204         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
26205         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
26206         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
26208 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
26210         [BZ #19058]
26211         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
26212         AS_NEEDED.
26213         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
26214         workaround.
26215         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
26216         libmvec-static-only-routines): Added new file.
26217         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
26219 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26221         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
26222         of interrupted RPC instead of restoring it.
26224         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
26225         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
26226         libc_hidden_def.
26227         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
26228         into initialized data instead of common. Define rtld_hidden_data_def.
26229         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
26230         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
26231         libc_hidden_def.
26232         (if_freenameindex): Add libc_hidden_weak.
26233         (if_nameindex): Add libc_hidden_weak.
26234         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
26235         __open64.
26236         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
26237         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
26238         * sysdeps/mach/nanosleep.c: Include <time.h>
26239         (__nanosleep): Rename to __libc_nanosleep.
26240         (__nanosleep): Add weak_alias.
26241         (nanosleep): Update alias.
26243 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
26245         * stdlib/strtod_nan.c: New file.
26246         * stdlib/strtod_nan_double.h: Likewise.
26247         * stdlib/strtod_nan_float.h: Likewise.
26248         * stdlib/strtod_nan_main.c: Likewise.
26249         * stdlib/strtod_nan_narrow.h: Likewise.
26250         * stdlib/strtod_nan_wide.h: Likewise.
26251         * stdlib/strtof_nan.c: Likewise.
26252         * stdlib/strtold_nan.c: Likewise.
26253         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
26254         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
26255         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
26256         * wcsmbs/wcstod_nan.c: Likewise.
26257         * wcsmbs/wcstof_nan.c: Likewise.
26258         * wcsmbs/wcstold_nan.c: Likewise.
26259         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
26260         strtold_nan.
26261         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
26262         wcstof_nan.
26263         * include/stdlib.h (__strtof_nan): Declare and use
26264         libc_hidden_proto.
26265         (__strtod_nan): Likewise.
26266         (__strtold_nan): Likewise.
26267         (__wcstof_nan): Likewise.
26268         (__wcstod_nan): Likewise.
26269         (__wcstold_nan): Likewise.
26270         * include/wchar.h (____wcstoull_l_internal): Declare.
26271         * stdlib/strtod_l.c: Do not include <ieee754.h>.
26272         (____strtoull_l_internal): Remove declaration.
26273         (STRTOF_NAN): Define macro.
26274         (SET_MANTISSA): Remove macro.
26275         (STRTOULL): Likewise.
26276         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
26277         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
26278         (STRTOF_NAN): Define macro.
26279         (SET_MANTISSA): Remove macro.
26280         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
26281         (SET_MANTISSA): Remove macro.
26282         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
26283         macro.
26284         (SET_MANTISSA): Remove macro.
26285         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
26286         macro.
26287         (SET_MANTISSA): Remove macro.
26288         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
26289         (SET_MANTISSA): Remove macro.
26290         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
26291         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
26292         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
26294         [BZ #19266]
26295         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
26296         upper case and lower case letters inside NAN(), not using TOLOWER.
26297         * stdlib/tst-strtod-nan-locale-main.c: New file.
26298         * stdlib/tst-strtod-nan-locale.c: Likewise.
26299         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
26300         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
26301         Depend on $(gen-locales).
26302         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
26303         * wcsmbs/tst-wcstod-nan-locale.c: New file.
26304         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
26305         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
26306         Depend on $(gen-locales).
26307         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
26309 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
26311         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
26313         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
26314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
26315         __finitel, __isinfl, and __isnanl.
26316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
26317         Likewise.
26318         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
26320         __finitel.
26321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26322         Likewise.
26323         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26325 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26327         * malloc/memusage.c (me): Remove redundant getenv call.
26329 2015-10-24  Florian Weimer  <fweimer@redhat.com>
26331         [BZ #19143]
26332         [BZ #19164]
26333         * nptl/check-cpuset.h: Remove.
26334         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
26335         Remove CPU set size check.
26336         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
26337         Likewise.
26338         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
26339         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
26340         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
26341         (__pthread_setaffinity_new): Remove CPU set size check.
26342         * sysdeps/unix/sysv/linux/sched_setaffinity.c
26343         (__kernel_cpumask_size): Remove.
26344         (__sched_setaffinity_new): Remove CPU set size check.
26345         * manual/threads.texi (Default Thread Attributes): Remove stale
26346         reference to check_cpuset_attr, determine_cpumask_size in comment.
26347         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
26348         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
26349         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
26350         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
26351         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
26352         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
26353         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
26354         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
26355         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
26356         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
26357         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
26358         skeleton test file.
26359         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
26360         tst-affinity-pid.
26362 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26364         * scripts/update-abilist.sh: New file.
26365         * Makefile (+subdir_targets): Add subdir_update-all-abi.
26366         * Makerules (update-all-abi-%, update-all-abi)
26367         (subdir_update-all-abi): New targets.
26368         * elf/Makefile (update-all-abi): New target.
26370 2015-11-24  Florian Weimer  <fweimer@redhat.com>
26372         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
26373         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
26374         (__libc_lock_define_initialized): Use it.
26375         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
26376         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
26377         * malloc/malloc.c (main_arena): Likewise.
26378         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26379         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
26381 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
26383         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
26384         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
26385         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26386         (PTRACE_O_MASK): Update value.
26387         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
26388         New value in enum __ptrace_setoptions.
26389         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26390         (PTRACE_O_MASK): Update value.
26391         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
26392         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26393         (PTRACE_O_MASK): Update value.
26394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
26395         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26396         (PTRACE_O_MASK): Update value.
26397         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
26398         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
26399         (PTRACE_O_MASK): Update value.
26400         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
26401         New value in enum __ptrace_setoptions.
26402         (PTRACE_O_MASK): Update value.
26403         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
26404         New value in enum __ptrace_setoptions.
26405         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
26406         (PTRACE_O_MASK): Update value.
26408         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
26409         New macro.
26410         (PACKET_AUXDATA): Likewise.
26411         (PACKET_ORIGDEV): Likewise.
26412         (PACKET_VERSION): Likewise.
26413         (PACKET_HDRLEN): Likewise.
26414         (PACKET_RESERVE): Likewise.
26415         (PACKET_TX_RING): Likewise.
26416         (PACKET_LOSS): Likewise.
26417         (PACKET_VNET_HDR): Likewise.
26418         (PACKET_TX_TIMESTAMP): Likewise.
26419         (PACKET_TIMESTAMP): Likewise.
26420         (PACKET_FANOUT): Likewise.
26421         (PACKET_TX_HAS_OFF): Likewise.
26422         (PACKET_QDISC_BYPASS): Likewise.
26423         (PACKET_ROLLOVER_STATS): Likewise.
26424         (PACKET_FANOUT_DATA): Likewise.
26425         (PACKET_MR_UNICAST): Likewise.
26427         [BZ #19242]
26428         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
26429         (TOUPPER): Likewise.
26430         * stdlib/tst-strtol-locale-main.c: New file.
26431         * stdlib/tst-strtol-locale.c: Likewise.
26432         * stdlib/Makefile (tests): Add tst-strtol-locale.
26433         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
26434         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
26435         Depend on $(gen-locales).
26436         * wcsmbs/tst-wcstol-locale.c: New file.
26437         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
26438         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
26439         tr_TR.ISO-8859-9.
26440         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
26441         Depend on $(gen-locales).
26443 2015-11-20  Roland McGrath  <roland@hack.frob.com>
26445         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
26446         __glibc_likely instead of __builtin_expect.  After falling back to
26447         dyncode_create in a non-ET_DYN case, use the allocate_code_data
26448         system interface to register the code pages as occupied.
26450 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
26452         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26453         [!ARM_MATH_PRIVATE_H].
26454         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
26455         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26456         [!HPPA_MATH_PRIVATE_H].
26457         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
26458         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
26459         to [!I386_MATH_PRIVATE_H].
26460         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
26461         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
26462         Change guard to [!M68K_MATH_PRIVATE_H].
26463         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
26464         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
26465         guard to [!MICROBLAZE_MATH_PRIVATE_H].
26466         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
26467         macro.
26468         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26469         [!MIPS_MATH_PRIVATE_H].
26470         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
26471         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26472         [!NIO2_MATH_PRIVATE_H].
26473         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
26474         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
26475         [!TILE_MATH_PRIVATE_H].
26476         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
26478         [BZ #15421]
26479         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
26480         initialize with 0 and define as weak alias of __signgam.
26481         * include/math.h [!_ISOMAC] (__signgam): Declare.
26482         * math/Makefile (libm-calls): Add w_lgamma_compat.
26483         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
26484         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
26485         test-signgam-ullong-init.
26486         (tests-static): Add test-signgam-uchar-static,
26487         test-signgam-uchar-init-static, test-signgam-uint-static,
26488         test-signgam-uint-init-static, test-signgam-ullong-static and
26489         test-signgam-ullong-init-static.
26490         (CFLAGS-test-signgam-uchar.c): New variable.
26491         (CFLAGS-test-signgam-uchar-init.c): Likewise.
26492         (CFLAGS-test-signgam-uchar-static.c): Likewise.
26493         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
26494         (CFLAGS-test-signgam-uint.c): Likewise.
26495         (CFLAGS-test-signgam-uint-init.c): Likewise.
26496         (CFLAGS-test-signgam-uint-static.c): Likewise.
26497         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
26498         (CFLAGS-test-signgam-ullong.c): Likewise.
26499         (CFLAGS-test-signgam-ullong-init.c): Likewise.
26500         (CFLAGS-test-signgam-ullong-static.c): Likewise.
26501         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
26502         * math/Versions (libm): Add GLIBC_2.23.
26503         * math/lgamma-compat.h: New file.
26504         * math/test-signgam-main.c: Likewise.
26505         * math/test-signgam-uchar-init-static.c: Likewise.
26506         * math/test-signgam-uchar-init.c: Likewise.
26507         * math/test-signgam-uchar-static.c: Likewise.
26508         * math/test-signgam-uchar.c: Likewise.
26509         * math/test-signgam-uint-init-static.c: Likewise.
26510         * math/test-signgam-uint-init.c: Likewise.
26511         * math/test-signgam-uint-static.c: Likewise.
26512         * math/test-signgam-uint.c: Likewise.
26513         * math/test-signgam-ullong-init-static.c: Likewise.
26514         * math/test-signgam-ullong-init.c: Likewise.
26515         * math/test-signgam-ullong-static.c: Likewise.
26516         * math/test-signgam-ullong.c: Likewise.
26517         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
26518         wrapper of w_lgamma_main.c.
26519         * math/w_lgamma_compat.c: New file.
26520         * math/w_lgamma_compatf.c: Likewise.
26521         * math/w_lgamma_compatl.c: Likewise.
26522         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
26523         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26524         defining compatibility symbols.
26525         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
26526         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
26527         wrapper of w_lgammaf_main.c.
26528         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
26529         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26530         defining compatibility symbols.
26531         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
26532         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
26533         wrapper of w_lgammal_main.c.
26534         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
26535         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
26536         defining compatibility symbols.
26537         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
26538         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
26539         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
26540         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
26541         <lgamma-compat.h>.
26542         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
26543         (__ieee754_gamma): Define as alias.
26544         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
26545         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
26546         <lgamma-compat.h>.
26547         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
26548         (__ieee754_gammaf): Define as alias.
26549         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
26550         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
26551         <lgamma-compat.h>.
26552         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
26553         (__ieee754_gammal): Define as alias.
26554         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
26555         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
26556         <math/w_lgamma_compat.c>.
26557         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
26558         Define as alias of __lgamma_compat and use in defining lgammal.
26559         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
26560         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
26561         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
26562         (USE_AS_COMPAT): New macro.
26563         (LGAMMA_OLD_VER): Undefine and redefine.
26564         (lgammal): Do not define here.
26565         (gammal): Only define here if [GAMMA_ALIAS].
26566         * conform/linknamespace.pl (@whitelist): Remove signgam.
26567         * sysdeps/nacl/libm.abilist: Update.
26568         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
26569         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
26570         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
26571         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
26572         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
26573         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
26574         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
26575         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
26576         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
26577         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
26578         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
26579         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
26580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
26581         Likewise.
26582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
26583         Likewise.
26584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
26585         Likewise.
26586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
26587         Likewise.
26588         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
26589         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
26590         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
26591         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
26592         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
26593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
26594         Likewise.
26595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
26596         Likewise.
26597         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
26598         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
26599         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
26601 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26603         [BZ #16364]
26604         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
26605         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
26607 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
26609         * sysdeps/s390/fpu/bits/mathinline.h:
26610         Use __asm__ [__volatile__] instead of asm [volatile].
26611         * sysdeps/s390/abort-instr.h: Likewise.
26612         * sysdeps/s390/atomic-machine.h: Likewise.
26613         * sysdeps/s390/bits/string.h: Likewise.
26614         * sysdeps/s390/dl-tls.h: Likewise.
26615         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
26616         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
26617         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
26618         * sysdeps/s390/fpu/fesetround.c: Likewise.
26619         * sysdeps/s390/fpu/fpu_control.h: Likewise.
26620         * sysdeps/s390/fpu/s_fma.c: Likewise.
26621         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
26622         * sysdeps/s390/memusage.h: Likewise.
26623         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
26624         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
26625         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
26626         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
26627         * sysdeps/s390/nptl/tls.h: Likewise.
26628         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
26629         * sysdeps/s390/s390-32/backtrace.c: Likewise.
26630         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
26631         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
26632         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
26633         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26634         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
26635         * sysdeps/s390/s390-64/backtrace.c: Likewise.
26636         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
26637         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
26638         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
26639         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
26640         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26641         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
26642         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
26643         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
26644         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
26645         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
26646         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
26647         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26648         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
26649         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26650         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
26652 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26653             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26655         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
26656         Add lwarx hint, and use macro for acquire instruction.
26657         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
26658         Likewise.
26659         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
26660         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
26661         update to use new atomic macros.
26663 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26665         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26666         (__lll_trylock_elision): Fix setting of adapt_count.
26667         * sysdeps/unix/sysv/linux/powerpc/htm.h
26668         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
26669         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
26670         (_ABORT_SYSCALL): Renumber, and clarify definition.
26671         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
26673 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26675         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
26676         after system headers to prevent MIN/MAX redefinition.  Define
26677         HAVE_ALLOCA to preserve builtin alloca usage.
26679 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
26681         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
26682         static and don't set or restore rounding.
26683         (__cos)[IN_SINCOS]: Likewise.
26684         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
26685         (__sincos): Set and restore rounding mode.  Remove check for infinite
26686         or NaN input.
26688         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
26690         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
26691         as used.
26693 2015-11-16  Florian Weimer  <fweimer@redhat.com>
26695         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
26697 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
26699         * config.make.in (have-glob-dat-reloc): New.
26700         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
26701         target supports GLOB_DAT relocaton. AC_SUBST.
26702         * configure: Regenerated.
26703         * elf/Makefile (tests): Add tst-prelink.
26704         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26705         (tst-prelink-ENV): New.
26706         ($(objpfx)tst-prelink-conflict.out): Likewise.
26707         ($(objpfx)tst-prelink-cmp.out): Likewise.
26708         * sysdeps/x86/tst-prelink.c: Moved to ...
26709         * elf/tst-prelink.c: Here.
26710         * sysdeps/x86/tst-prelink.exp: Moved to ...
26711         * elf/tst-prelink.exp: Here.
26712         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
26713         (tst-prelink-ENV): Removed.
26714         ($(objpfx)tst-prelink-conflict.out): Likewise.
26715         ($(objpfx)tst-prelink-cmp.out): Likewise.
26716         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
26718 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
26720         [BZ #14551]
26721         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
26722         (__mpn_construct_long_double): If high part overflows to infinity,
26723         set errno and recompute overflowed result of the correct sign.
26724         * sysdeps/ieee754/ldbl-128ibm/Makefile
26725         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
26726         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
26727         $(libm).
26728         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
26730 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
26732         [BZ #15479]
26733         [BZ #19238]
26734         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
26735         floating-point state after first operation on input.  Restore full
26736         state rather than just rounding mode.
26737         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
26738         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
26739         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
26741         [BZ #19235]
26742         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
26743         add 0.5 to integer arguments.
26744         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
26745         Likewise.
26746         (.LC2): New object.
26748 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
26750         * scripts/pylintrc (reports): Set to no.
26752 2015-11-10  Roland McGrath  <roland@hack.frob.com>
26754         * elf/dl-load.c (open_verify): Take new argument FD.
26755         Skip __open call if passed FD is not -1.
26756         (_dl_map_object, open_path): Update callers.
26757         * elf/dl-sysdep-open.h: New file.
26758         * elf/dl-load.c: Include it.
26759         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
26760         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
26761         * sysdeps/nacl/dl-sysdep-open.h: New file.
26762         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
26763         from libc to rtld.
26765 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26767         [BZ #19228]
26768         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
26769         and restore full floating-point state.
26770         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
26771         Likewise.
26772         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
26773         Likewise.
26774         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
26775         Likewise.
26776         * math/test-nearbyint-except-2.c: New file.
26777         * math/Makefile (tests): Add test-nearbyint-except-2.
26779 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
26781         [BZ #19178]
26782         * sysdeps/x86/Makefile (tests): Add tst-prelink.
26783         (tst-prelink-ENV): New.
26784         ($(objpfx)tst-prelink-conflict.out): Likewise.
26785         ($(objpfx)tst-prelink-cmp.out): Likewise.
26786         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
26787         * sysdeps/x86/tst-prelink.c: New file.
26788         * sysdeps/x86/tst-prelink.exp: Likewise.
26790 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
26792         * math/auto-libm-test-in: Add another test of pow.
26793         * math/auto-libm-test-out: Regenerated.
26794         * math/libm-test.inc (pow_test_data): Add another test.
26796 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26798         [BZ #19219]
26799         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
26800         weak_alias to nearbyintl.
26802 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26804         * sysdeps/aarch64/bits/string.h: New file.
26805         (_STRING_ARCH_unaligned): Define.
26807 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
26809         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
26810         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
26811         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
26812         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
26813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
26815 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
26817         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
26818         for original name of the DSO.  Add it to the name list of the DSO
26819         if it is actually given.
26820         (_dl_map_object): Keep track of whether an audit module rewrote
26821         the file name.  If yes, pass the original name to
26822         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
26823         debugging is enabled, log the change of the file name.
26824         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
26825         _dl_map_object_from_fd.
26826         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
26827         * elf/tst-audit11.c: New file
26828         * elf/tst-auditmod11.c: New file.
26829         * elf/tst-audit11mod1.c: New file.
26830         * elf/tst-audit11mod2.c: New file.
26831         * elf/tst-audit11mod2.map: New file.
26832         * elf/tst-audit12.c: New file
26833         * elf/tst-auditmod12.c: New file.
26834         * elf/tst-audit12mod1.c: New file.
26835         * elf/tst-audit12mod2.c: New file.
26836         * elf/tst-audit12mod2.map: New file.
26837         * elf/tst-audit12mod3.c: New file.
26839 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26841         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
26842         Don't create weak aliases,
26843         because versioned symbols are created later.
26844         * sysdeps/s390/s390-32/setjmp.S
26845         (setjmp, _setjmp): Remove weak and rename to an unique name
26846         in SHARED case due to existing versioned symbols.
26847         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26848         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
26849         (getcontext): Create weak alias only in non SHARED case.
26850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26852 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
26854         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
26855         (__ASSUME_*_SYSCALL) Define new macros.
26856         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
26857         Remove socketcall syscalls.
26858         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26859         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26860         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26861         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26862         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26863         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26865 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26867         [BZ #12926]
26868         Terminate process on invalid netlink response.
26869         * sysdeps/unix/sysv/linux/netlinkaccess.h
26870         (__netlink_assert_response): Declare.
26871         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26872         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26873         (sysdep_routines): Add netlink_assert_response.
26874         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26875         __netlink_assert_response.
26876         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26877         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26878         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26879         __netlink_assert_response.
26881 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26883         [BZ #19178]
26884         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26885         (RTYPE_CLASS_PLT): Likewise.
26886         (RTYPE_CLASS_COPY): Likewise.
26887         (RTYPE_CLASS_TLS): Likewise.
26888         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26889         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26890         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26891         DL_DEBUG_PRELINK.
26893 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26895         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26896         calls with argument -0.5.
26897         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26899         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26900         (libc_cv_z_nodlopen): Likewise.
26901         (libc_cv_z_initfirst): Likewise.
26902         * configure: Regenerated.
26904 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26906         Simplify abilist format to be line-based.
26907         * scripts/abilist.awk: Collect descriptors in the descs variable.
26908         (emit): Write descs variable and sort it
26909         externally, with sort.
26910         * sysdeps/**/*.abilist: Convert to new format.
26912 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26914         [BZ #11460]
26915         * io/Makefile (routines): Add fts64.
26916         (tests): Add tst-fts and tst-fts-lfs.
26917         (CFLAGS-fts64.c): New.
26918         * io/Versions (GLIBC_2.23): New.
26919         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26920         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26921         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26922         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26923         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26924         (FTSENT64): Likewise.
26925         (fts64_children): Likewise.
26926         (fts64_close): Likewise.
26927         (fts64_open): Likewise.
26928         (fts64_read): Likewise.
26929         (fts64_set): Likewise.
26930         * io/fts64.c: New file.
26931         * io/tst-fts.c: New test.
26932         * io/tst-fts-lfs.c: Likewise.
26933         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26934         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26935         fts64_set.
26936         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26937         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26938         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26939         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26940         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26941         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26942         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26943         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26944         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26945         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26946         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26947         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26948         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26950         Likewise.
26951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26952         Likewise.
26953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26955         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26956         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26957         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26958         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26959         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26961         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26962         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26963         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26964         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26965         * sysdeps/wordsize-64/fts.c: New file.
26966         * sysdeps/wordsize-64/fts64.c: Likewise.
26967         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26968         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26969         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26970         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26972 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26974         * math/libm-test.inc (NON_FINITE): New macro.
26975         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26976         * math/gen-libm-test.pl (show_exceptions): Add argument
26977         $non_finite.
26978         (parse_args): Update call to show_exceptions.
26979         * math/test-math-finite.h: New file.
26980         * math/test-math-no-finite.h: Likewise.
26981         * math/test-double-finite.c: Likewise.
26982         * math/test-float-finite.c: Likewise.
26983         * math/test-ldouble-finite.c: Likewise.
26984         * math/test-double.c: Include "test-math-no-finite.h".
26985         * math/test-float.c: Include "test-math-no-finite.h".
26986         * math/test-ldouble.c: Include "test-math-no-finite.h".
26987         * math/test-math-inline.h (TEST_FINITE): New macro.
26988         * math/test-math-vector.h (TEST_FINITE): Likewise.
26989         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26990         (libm-tests): Add test-float-finite and test-double-finite.
26991         ($(objpfx)test-float-finite.o): New dependency on
26992         $(objpfx)libm-test.stmp.
26993         ($(objpfx)test-double-finite.o): Likewise.
26994         ($(objpfx)test-ldouble-finite.o): Likewise.
26995         (libm-test-no-inline-cflags): New variable.
26996         (libm-test-finite-cflags): Likewise.
26997         (CFLAGS-test-float-finite.c): Likewise.
26998         (CFLAGS-test-double-finite.c): Likewise.
26999         (CFLAGS-test-ldouble-finite.c): Likewise.
27000         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
27001         (CFLAGS-test-double.c): Likewise.
27002         (CFLAGS-test-ldouble.c): Likewise.
27004 2015-11-05  Roland McGrath  <roland@hack.frob.com>
27006         * io/fcntl.c (__fcntl): Add ... to prototype.
27007         * misc/ioctl.c (__ioctl): Likewise.
27008         * misc/syscall.c (syscall): Likewise.
27010 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
27012         * scripts/list-fixed-bugs.py: New file.
27014         [BZ #19213]
27015         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
27016         returned for argument 1.
27017         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
27018         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
27019         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
27020         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
27021         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
27022         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
27024         [BZ #19211]
27025         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
27026         __USE_XOPEN], not if [!__USE_ISOC99].
27027         (lgammaf): Likewise.
27028         (lgammal): Likewise.
27029         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
27030         (gammaf): Likewise.
27031         (gammal): Likewise.
27032         * math/test-signgam-finite-c11.c: New file.
27033         * math/test-signgam-finite-c99.c: Likewise.
27034         * math/test-signgam-finite.c: Likewise.
27035         * math/Makefile (tests): Add test-signgam-finite,
27036         test-signgam-finite-c99 and test-signgam-finite-c11.
27037         (CFLAGS-test-signgam-finite.c): New variable.
27038         (CFLAGS-test-signgam-finite-c99.c): Likewise.
27039         (CFLAGS-test-signgam-finite-c11.c): Likewise.
27041         [BZ #19212]
27042         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
27043         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
27044         500].
27045         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
27046         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
27047         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
27048         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
27049         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
27050         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
27051         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
27052         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
27053         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
27054         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
27056         [BZ #19209]
27057         * math/bits/math-finite.h (ldexp): Remove declaration.
27058         (ldexpf): Likewise.
27059         (ldexpl): Likewise.
27061         [BZ #19205]
27062         * math/bits/math-finite.h (acosf): Condition declaration on
27063         [__USE_ISOC99].
27064         (acosl): Likewise.
27065         (acoshf): Likewise.
27066         (acoshl): Likewise.
27067         (asinf): Likewise.
27068         (asinl): Likewise.
27069         (atan2f): Likewise.
27070         (atan2l): Likewise.
27071         (atanhf): Likewise.
27072         (atanhl): Likewise.
27073         (coshf): Likewise.
27074         (coshl): Likewise.
27075         (expf): Likewise.
27076         (expl): Likewise.
27077         (fmodf): Likewise.
27078         (fmodl): Likewise.
27079         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
27080         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
27081         (j0l): Likewise.
27082         (y0f): Likewise.
27083         (y0l): Likewise.
27084         (j1f): Likewise.
27085         (j1l): Likewise.
27086         (y1f): Likewise.
27087         (y1l): Likewise.
27088         (jnf): Likewise.
27089         (jnl): Likewise.
27090         (ynf): Likewise.
27091         (ynl): Likewise.
27092         (lgammaf_r): Condition declaration on [__USE_ISOC99].
27093         (lgammal_r): Likewise.
27094         (__lgamma_r_finite): New declaration.
27095         (__lgammaf_r_finite): Likewise.
27096         (__lgammal_r_finite): Likewise.
27097         (lgamma): Use __lgamma_r_finite.
27098         (lgammaf): Condition definition on [__USE_ISOC99].  Use
27099         __lgammaf_r_finite.
27100         (lgammal): Condition definition on [__USE_ISOC99].  Use
27101         __lgammal_r_finite.
27102         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
27103         __lgamma_r_finite.
27104         (gammaf): Condition definition on [__USE_ISOC99].  Use
27105         __lgammaf_r_finite.
27106         (gammal): Condition definition on [__USE_ISOC99].  Use
27107         __lgammal_r_finite.
27108         (logf): Condition declaration on [__USE_ISOC99].
27109         (logl): Likewise.
27110         (log10f): Likewise.
27111         (log10l): Likewise.
27112         (ldexpf): Likewise.
27113         (ldexpl): Likewise.
27114         (powf): Likewise.
27115         (powl): Likewise.
27116         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
27117         __USE_ISOC99].
27118         (remainderf): Condition declaration on [__USE_ISOC99].
27119         (remainderl): Likewise.
27120         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
27121         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
27122         (scalbl): Likewise.
27123         (sinhf): Condition declaration on [__USE_ISOC99].
27124         (sinhl): Likewise.
27125         (sqrtf): Likewise.
27126         (sqrtl): Likewise.
27128 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27130         * sysdeps/arm/atomic-machine.h
27131         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27132         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27133         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
27134         Remove conditional code.
27135         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
27136         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
27137         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
27138         Change conditional to [__ASSEMBLER__].
27139         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27140         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
27141         [!__ASSEMBLER__].
27142         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
27143         code.
27144         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
27145         conditional macro definitions.
27146         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
27147         (__arch_compare_and_exchange_val_16_acq): Likewise.
27148         (__arch_compare_and_exchange_val_32_acq): Likewise.
27149         (atomic_exchange_and_add): Likewise.
27150         (atomic_add): Likewise.
27151         (atomic_add_negative): Likewise.
27152         (atomic_add_zero): Likewise.
27153         (atomic_bit_set): Likewise.
27154         (atomic_bit_test_set): Likewise.
27155         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
27156         code unconditional.
27157         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27159         * math/test-math-errno.h: New file.
27160         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
27161         empty.
27162         (TEST_ERRNO): New macro.
27163         (TEST_EXCEPTIONS): Likewise.
27164         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
27165         (TEST_EXCEPTIONS): Likewise.
27166         * math/test-math-vector.h (TEST_ERRNO): Likewise.
27167         * math/test-double.c: Include "test-math-errno.h".
27168         * math/test-float.c: Likewise.
27169         * math/test-ldouble.c: Likewise.
27170         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
27171         code unconditional.
27172         (test_exceptions): Only run code if TEST_EXCEPTIONS.
27173         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
27174         unconditional.
27175         (test_errno): Only run code if TEST_ERRNO.
27176         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
27178 2015-11-04  Florian Weimer  <fweimer@redhat.com>
27180         * nptl/tst-once5.cc: Remove attribution.
27182 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
27184         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
27185         sqrt, tan, tanh, y0, y1 and yn.
27186         * math/auto-libm-test-out: Regenerated.
27187         * math/libm-test.inc (scalb_test_data): Add more tests.
27188         (scalbn_test_data): Likewise.
27189         (scalbln_test_data): Likewise.
27190         (signbit_test_data): Likewise.
27191         (sin_test_data): Likewise.
27192         (sincos_test_data): Likewise.
27193         (sinh_test_data): Likewise.
27194         (sqrt_test_data): Likewise.
27195         (tan_test_data): Likewise.
27196         (tanh_test_data): Likewise.
27197         (tgamma_test_data): Likewise.
27198         (y0_test_data): Likewise.
27199         (y1_test_data): Likewise.
27200         (yn_test_data): Likewise.
27201         (significand_test_data): Likewise.
27202         * sysdeps/i386/fpu/libm-test-ulps: Update.
27204 2015-11-03  David Kastrup  <dak@gnu.org>
27206         [BZ #18604]
27207         * assert/assert.h (assert): Don't macro-expand failed assertion
27208         expression in error message.
27209         * malloc/malloc.c (assert): Likewise.
27211 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
27213         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
27214         test.
27215         * configure: Regenerated.
27217 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
27219         * math/libm-test.inc (modf_test_data): Add more tests.
27220         (nearbyint_test_data): Likewise.
27221         (nextafter_test_data): Likewise.
27222         (nexttoward_test_data): Likewise.
27223         (pow_test_data): Likewise.
27224         (remainder_test_data): Likewise.
27225         (remquo_test_data): Likewise.
27226         (rint_test_data): Likewise.
27228         [BZ #19201]
27229         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27230         Check for zero remainder in case of large exponents and ensure
27231         correct sign of result in that case.
27232         * math/libm-test.inc (remainder_test_data): Add more tests.
27234         [BZ #6799]
27235         * math/s_nextafter.c: Include <errno.h>.
27236         (__nextafter): Set errno on overflow and underflow.
27237         * math/s_nexttowardf.c: Include <errno.h>.
27238         (__nexttowardf): Set errno on overflow and underflow.
27239         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
27240         (__nextafterl): Set errno on overflow and underflow.
27241         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
27242         (__nexttoward): Set errno on overflow and underflow.
27243         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
27244         (__nexttowardf): Set errno on overflow and underflow.
27245         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
27246         (__nextafterf): Set errno on overflow and underflow.
27247         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
27248         (__nextafterl): Set errno on overflow and underflow.
27249         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
27250         (__nexttoward): Set errno on overflow and underflow.
27251         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
27252         (__nexttowardf): Set errno on overflow and underflow.
27253         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
27254         (__nextafterl): Set errno on overflow and underflow.
27255         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
27256         (__nexttoward): Set errno on overflow and underflow.
27257         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
27258         (__nexttowardf): Set errno on overflow and underflow.
27259         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
27260         (__nexttoward): Set errno on overflow and underflow.
27261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
27262         (__nexttowardf): Set errno on overflow and underflow.
27263         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
27264         (__nldbl_nexttowardf): Set errno on overflow and underflow.
27265         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
27266         (__nextafterl): Set errno on overflow and underflow.
27267         * math/libm-test.inc (nextafter_test_data): Do not allow errno
27268         setting to be missing on overflow.  Add more tests.
27269         (nexttoward_test_data): Likewise.
27271         * configure.ac (libc_cv_initfini_array): Remove configure test.
27272         * configure: Regenerated.
27274 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
27276         [BZ #19189]
27277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
27278         non-finite argument handle arguments with negative sign.
27280         * math/libm-test.inc (j0_test_data): Do not test sign of zero
27281         result from infinite argument.
27282         (j1_test_data): Likewise.
27283         (jn_test_data): Likewise.
27284         (y0_test_data): Likewise.
27285         (y1_test_data): Likewise.
27286         (yn_test_data): Likewise.
27288         [BZ #16171]
27289         * math/w_remainder.c (drem): Define as weak alias of __remainder.
27290         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
27291         * math/w_remainderf.c (dremf): Define as weak alias of
27292         __remainderf.
27293         * math/w_remainderl.c (dreml): Define as weak alias of
27294         __remainderl.
27295         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
27296         __remainder.
27297         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
27298         __remainderf.
27299         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
27300         __remainderl.
27301         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
27302         weak alias of remainderl.
27303         * sysdeps/ieee754/ldbl-opt/w_remainder.c
27304         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
27305         alias of __remainder.
27306         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
27307         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
27308         strong alias of __remainderl.
27309         (dreml): Use long_double_symbol.
27310         * math/Makefile (libm-calls): Remove w_drem.
27311         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
27312         (CFLAGS-nldbl-drem.c): Remove variable.
27313         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
27314         * math/w_drem.c: Remove file.
27315         * math/w_dremf.c: Likewise.
27316         * math/w_dreml.c: Likewise.
27317         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
27318         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
27319         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
27321         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
27322         * sysdeps/i386/configure: Regenerated.
27323         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
27324         * sysdeps/x86_64/configure: Regenerated.
27326         * configure.ac (libc_cv_asm_protected_directive): Remove configure
27327         test.
27328         (libc_cv_visibility_attribute): Likewise.
27329         (libc_cv_protected_data): Test unconditionally.
27330         (libc_cv_broken_visibility_attribute): Remove configure test.
27331         (libc_cv_have_sdata_section): Test unconditionally.
27332         * configure: Regenerated.
27334         * include/libc-internal.h (libc_max_align_t): Remove typedef.
27335         * include/scratch_buffer.h: Include <stddef.h> instead of
27336         <libc-internal.h>.
27337         (struct scratch_buffer): Use max_align_t instead of
27338         libc_max_align_t.
27340 2015-10-29  Florian Weimer  <fweimer@redhat.com>
27342         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
27343         instead of extend_alloca.  Change control flow to avoid a goto.
27344         Remove assert which is trivially always true.
27346 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27348         [BZ #16068]
27349         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
27350         (FE_ALL_EXCEPT_X86): New macro.
27351         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27352         FE_ALL_EXCEPT.  Ensure precision control is included in
27353         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27354         handle "denormal operand exception" and clear FZ and DAZ bits.
27355         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
27356         (FE_ALL_EXCEPT_X86): New macro.
27357         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
27358         FE_ALL_EXCEPT.  Ensure precision control is included in
27359         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
27360         handle "denormal operand exception" and clear FZ and DAZ bits.
27361         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
27362         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
27363         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27364         test-fenv-x87 and test-fenv-sse-2.
27365         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
27367         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
27368         * math/test-double.h (BUILD_COMPLEX): New macro.
27369         * math/test-float.h (BUILD_COMPLEX): Likewise.
27370         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
27372         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
27373         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
27374         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
27375         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
27376         instead of DBL_DENORM_MIN in comment.
27377         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
27378         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27379         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
27380         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
27381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
27382         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
27384 2015-10-28  Florian Weimer  <fweimer@redhat.com>
27386         [BZ #19048]
27387         * malloc/malloc.c (struct malloc_state): Update comment.  Add
27388         attached_threads member.
27389         (main_arena): Initialize attached_threads.
27390         * malloc/arena.c (list_lock): Update comment.
27391         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
27392         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
27393         (deattach_arena): New function.
27394         (_int_new_arena): Initialize arena reference count and deattach
27395         replaced arena.
27396         (get_free_list, reused_arena): Update reference count and deattach
27397         replaced arena.
27398         (arena_thread_freeres): Update arena reference count and only put
27399         unreferenced arenas on the free list.
27401 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27403         [BZ #19181]
27404         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
27405         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
27406         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
27407         * math/test-fenv-clear-main.c: New file.
27408         * math/test-fenv-clear.c: Likewise.
27409         * math/Makefile (tests): Add test-fenv-clear.
27410         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
27411         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
27412         test-fenv-clear-sse.
27413         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
27415         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
27416         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
27417         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
27419 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27421         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
27422         static libc.
27424 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
27426         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
27427         test.
27428         * sysdeps/i386/configure: Regenerated.
27429         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
27430         test.
27431         * sysdeps/x86_64/configure: Regenerated.
27432         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
27433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27434         memset-avx2 unconditionally instead of conditionally on
27435         [$(config-cflags-avx2) = yes].
27436         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27437         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
27438         unconditional.
27439         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
27440         * sysdeps/x86_64/multiarch/memset_chk.S
27441         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
27442         to [IS_IN (libc) && SHARED].
27444 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27446         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
27447         configure test.
27448         * sysdeps/arm/configure: Regenerated.
27449         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
27450         Define variable if not already defined.
27452         [BZ #17404]
27453         * sysdeps/mips/atomic-machine.h
27454         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
27455         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
27456         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
27458         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
27459         unconditional.
27460         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
27461         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27462         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
27463         unconditional.
27464         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27465         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
27466         unconditional.
27467         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27468         * stdlib/setenv.c
27469         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
27470         code unconditional.
27471         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
27472         Remove conditional code.
27473         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
27474         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
27475         unconditional.
27476         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27477         code.
27478         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
27479         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
27480         unconditional.
27481         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27482         code.
27483         * sysdeps/ieee754/ldbl-128/k_tanl.c
27484         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27485         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27486         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
27487         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27488         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27489         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
27490         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
27491         unconditional.
27492         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
27493         code.
27494         * sysdeps/ieee754/ldbl-96/k_tanl.c
27495         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
27496         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
27498         * nptl/tst-initializers1-c11.c: New file.
27499         * nptl/tst-initializers1-gnu11.c: Likewise.
27500         * nptl/Makefile (tests): Add these new tests.
27501         (CFLAGS-tst-initializers1-c11.c): New variable.
27502         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
27504         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
27505         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
27506         instead of -std=gnu99.
27507         * configure.ac (systemtap): Test with -std=gnu11 instead of
27508         -std=gnu99.
27509         * configure: Regenerated.
27510         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
27511         in compilation command in comment.
27513         * sysdeps/nptl/configure.ac: Remove file.
27514         * sysdeps/nptl/configure: Remove generated file.
27515         * configure.ac (libc_cv_forced_unwind): Do not substitute.
27516         * configure: Regenerated.
27517         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
27518         * config.make.in (have-forced-unwind): Remove variable.
27519         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27520         unconditional.
27521         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
27522         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
27523         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
27524         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
27525         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
27526         unconditional.
27528 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27530         [BZ #19174]
27531         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
27532         .skip_lock_out_of_tbegin_retries.
27533         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
27534         (__lll_lock_elision): Likewise, and respect a value of
27535         try_tbegin <= 0.
27537 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
27539         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
27540         statement.
27542 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27544         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
27545         variable.
27546         (test-xfail-ISO11/stdalign.h/conform): Likewise.
27547         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
27549         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
27550         of -std=c1x -D_ISOC11_SOURCE.
27552         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
27553         * configure: Regenerated.
27554         * manual/install.texi (Tools for Compilation): Document
27555         requirement for GCC 4.7 or later.
27556         * INSTALL: Regenerated.
27558 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
27560         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
27561         on CNT to a conditional jump to 'puntdata'.
27563 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
27565         * configure.ac (libc_cv_gcc___thread): Remove configure test.
27566         (libc_cv_gcc_tls_model_attr): Likewise.
27567         * configure: Regenerated.
27569         * configure.ac (libc_cv_need_minus_P): Remove configure test.
27570         * configure: Regenerated.
27571         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
27573 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
27575         * configure.ac (old_glibc_headers): Remove configure test.
27576         * configure: Regenerated.
27577         * config.make.in (old-glibc-headers): Remove variable.
27578         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
27579         (install): Remove dependency on remove-old-headers.
27580         (headers2_0): Remove variable.
27581         (remove-old-headers): Remove rule.
27583         * configure.ac (libc_cv_dot_text): Remove configure test.
27584         (libc_cv_asm_set_directive): Use .text instead of
27585         ${libc_cv_dot_text} in configure test.
27586         * configure: Regenerated.
27588 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27590         [BZ #19168]
27591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27593 2015-10-26  Florian Weimer  <fweimer@redhat.com>
27595         * configure.ac (CXX): Clear the variable if the C++ toolchain does
27596         not support static linking.
27597         * configure: Regenerate.
27599 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
27601         * math/libm-test.inc (check_float_internal): Do not special-case
27602         errors up to 0.5 ulp.
27604         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
27605         log2.
27606         * math/auto-libm-test-out: Regenerated.
27607         * math/libm-test.inc (MAX_EXP): New macro.
27608         (ilogb_test_data): Add more tests.
27609         (isfinite_test_data): Likewise.
27610         (isgreater_test_data): Likewise.
27611         (isgreaterequal_test_data): Likewise.
27612         (isinf_test_data): Likewise.
27613         (isless_test_data): Likewise.
27614         (islessequal_test_data): Likewise.
27615         (islessgreater_test_data): Likewise.
27616         (isnan_test_data): Likewise.
27617         (isnormal_test_data): Likewise.
27618         (issignaling_test_data): Likewise.
27619         (isunordered_test_data): Likewise.
27620         (j0_test_data): Likewise.
27621         (j1_test_data): Likewise.
27622         (jn_test_data): Likewise.
27623         (lgamma_test_data): Likewise.
27624         (log_test_data): Likewise.
27625         (log10_test_data): Likewise.
27626         (log1p_test_data): Likewise.
27627         (log2_test_data): Likewise.
27628         (logb_test_data): Likewise.
27629         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27631         [BZ #18611]
27632         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
27633         avoid excess range and precision on underflow.
27634         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27635         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
27636         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27637         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
27638         underflow.
27639         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27640         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27641         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
27642         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27643         * math/auto-libm-test-in: Do not allow missing errno setting for
27644         tests of j1 and jn.
27645         * math/auto-libm-test-out: Regenerated.
27647 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
27649         [BZ #15491]
27650         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
27651         floating-point environment instead of clearing all exceptions.
27652         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
27653         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
27654         merging in "invalid" exceptions from frndint.
27655         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
27656         * math/test-nearbyint-except.c: New file.
27657         * math/Makefile (tests): Add test-nearbyint-except.
27659 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
27661         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
27663         * sysdeps/tile/libm-test-ulps: Regenerated.
27665 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
27668         (__NR_sync_file_range2): Assume it is always defined.
27669         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
27670         (__NR_sync_file_range): Assume it is always defined.
27672 2015-10-22  Andreas Schwab  <schwab@suse.de>
27674         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
27675         INTERNAL_SYSCALL_ERRNO.
27676         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
27677         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
27678         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
27679         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
27680         Likewise.
27681         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
27683 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27685         * io/tst-fcntl.c (fd): New static variable.
27686         (do_prepare): Open temporary file here....
27687         (do_test): ...not here.
27689         * io/ftwtest-sh: Also trap on exit to remove temporary files.
27691 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27693         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
27694         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27695         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27696         Moved before "#ifdef __ASSEMBLER__".
27698 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27700         [BZ #19156]
27701         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
27702         arguments very close to 0.
27704 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
27706         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
27707         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
27709 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
27711         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
27712         New.  Defined for GCC 5 and above when not compiling for
27713         profiling.
27714         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
27716         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
27717         Renamed to ...
27718         (CFLAGS-epoll_pwait.o): This.
27719         (CFLAGS-mmap.c): Renamed to ...
27720         (CFLAGS-mmap.o): This.
27721         (CFLAGS-mmap64.c): Renamed to ...
27722         (CFLAGS-mmap64.o): This.
27723         (CFLAGS-epoll_pwait.os): New.
27724         (CFLAGS-mmap.os): Likewise.
27725         (CFLAGS-mmap64.os): Likewise.
27726         (CFLAGS-semtimedop.os): Likewise.
27727         (CFLAGS-semtimedop.c): Renamed to ...
27728         (CFLAGS-semtimedop.o): This.
27730 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27732         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
27733         warning message.
27735 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
27737         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
27738         * Makefile ($(objpfx)c++-types-check.out): Filter out
27739         $(+gccwarn-c) instead of -Wstrict-prototypes.
27741         * io/fts.c (fts_open): Convert to prototype-style function
27742         definition.
27743         * malloc/mcheck.c (mcheck): Likewise.
27744         (mcheck_pedantic): Likewise.
27745         * posix/regexec.c (re_search_2_stub): Likewise.  Use
27746         internal_function.
27747         (re_search_internal): Likewise.
27748         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
27749         prototype-style function definition.
27750         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
27751         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
27752         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
27753         (xdr_utmpptr): Likewise.
27754         (xdr_utmparr): Likewise.
27755         (xdr_utmpidle): Likewise.
27756         (xdr_utmpidleptr): Likewise.
27757         (xdr_utmpidlearr): Likewise.
27759         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
27760         log, log10 and log2.
27761         * math/auto-libm-test-out: Regenerated.
27762         * math/libm-test.inc (fmod_test_data): Add more tests.
27763         (fpclassify_test_data): Likewise.
27764         (frexp_test_data): Likewise.
27765         (hypot_test_data): Likewise.
27766         (ilogb_test_data): Likewise.
27768 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
27770         * debug/fortify_fail.c (__fortify_fail): Convert to
27771         prototype-style function definition.  Use internal_function.
27772         * libio/genops.c (save_for_backup): Convert to prototype-style
27773         function definition.
27774         * libio/wgenops.c (save_for_wbackup): Likewise.
27775         * login/grantpt.c (grantpt): Likewise.
27776         * login/ptsname.c (ptsname): Likewise.
27777         (__ptsname_r): Likewise.
27778         * login/unlockpt.c (unlockpt): Likewise.
27779         * mach/msgserver.c (__mach_msg_server): Likewise.
27780         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
27781         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
27782         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
27783         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
27784         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
27785         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
27786         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
27787         Likewise.
27788         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
27789         internal_function.
27790         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
27791         prototype-style function definition.
27792         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
27793         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
27794         (__pthread_create_2_0): Likewise.
27795         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
27796         * nptl/register-atfork.c (__register_atfork): Likewise.
27797         * posix/glob.c (glob): Likewise.
27798         * posix/regcomp.c (re_comp): Likewise.
27799         * posix/regexec.c (re_exec): Likewise.
27800         * stdlib/add_n.c [__STDC__]: Make code unconditional.
27801         [!__STDC__]: Remove conditional code.
27802         * stdlib/cmp.c [__STDC__]: Make code unconditional.
27803         [!__STDC__]: Remove conditional code.
27804         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
27805         [!__STDC__]: Remove conditional code.
27806         * stdlib/divrem.c [__STDC__]: Make code unconditional.
27807         [!__STDC__]: Remove conditional code.
27808         * stdlib/lshift.c [__STDC__]: Make code unconditional.
27809         [!__STDC__]: Remove conditional code.
27810         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
27811         [!__STDC__]: Remove conditional code.
27812         * stdlib/mul.c [__STDC__]: Make code unconditional.
27813         [!__STDC__]: Remove conditional code.
27814         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
27815         [!__STDC__]: Remove conditional code.
27816         * stdlib/rshift.c [__STDC__]: Make code unconditional.
27817         [!__STDC__]: Remove conditional code.
27818         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
27819         function definition.
27820         (STRTOF): Likewise.
27821         * stdlib/strtod_l.c (__STRTOF): Likewise.
27822         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
27823         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
27824         (__strtol_l): Likewise.
27825         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
27826         [!__STDC__]: Remove conditional code.
27827         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
27828         definition.
27829         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27830         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27831         type.
27832         (__strcasecmp): Convert to prototype-style function definition.
27833         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
27834         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27835         type.
27836         (__strncasecmp): Convert to prototype-style function definition.
27837         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
27838         * sunrpc/xdr.c (xdr_union): Likewise.
27839         * sunrpc/xdr_array.c (xdr_array): Likewise.
27840         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
27841         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
27842         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
27843         Likewise.
27844         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
27845         Likewise.
27846         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
27847         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
27848         Likewise.
27849         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
27850         (LOCALE_PARAM_PROTO): Likewise.
27851         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
27852         argument type.
27853         (ut_argument_spec): Remove macro.
27854         (ut_argument_spec_iso): Rename to ut_argument_spec.
27855         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
27856         prototype-style function definition.
27857         (memcpy_uppcase): Likewise.
27858         (__strftime_internal): Likewise.
27859         (my_strftime): Likewise.
27860         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27861         (LOCALE_PARAM_DECL): Likewise.
27862         [_LIBC] (LOCALE_PARAM): Include argument type.
27863         (__strptime_internal): Convert to prototype-style function
27864         definition.
27865         (strptime): Likewise.
27866         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27867         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27868         type.
27869         (__wcscasecmp): Convert to prototype-style function definition.
27870         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27871         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27872         type.
27873         (__wcsncasecmp): Convert to prototype-style function definition.
27875         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27876         function definition.
27877         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27878         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27879         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27880         * elf/dl-minimal.c (_itoa): Likewise.
27881         * hurd/hurdmalloc.c (malloc): Likewise.
27882         (free): Likewise.
27883         (realloc): Likewise.
27884         * inet/inet6_option.c (inet6_option_space): Likewise.
27885         (inet6_option_init): Likewise.
27886         (inet6_option_append): Likewise.
27887         (inet6_option_alloc): Likewise.
27888         (inet6_option_next): Likewise.
27889         (inet6_option_find): Likewise.
27890         * io/ftw.c (FTW_NAME): Likewise.
27891         (NFTW_NAME): Likewise.
27892         (NFTW_NEW_NAME): Likewise.
27893         (NFTW_OLD_NAME): Likewise.
27894         * libio/iofwide.c (_IO_fwide): Likewise.
27895         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27896         (_IO_str_init_static): Likewise.
27897         (_IO_str_init_readonly): Likewise.
27898         (_IO_str_overflow): Likewise.
27899         (_IO_str_underflow): Likewise.
27900         (_IO_str_count): Likewise.
27901         (_IO_str_seekoff): Likewise.
27902         (_IO_str_pbackfail): Likewise.
27903         (_IO_str_finish): Likewise.
27904         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27905         (_IO_wstr_overflow): Likewise.
27906         (_IO_wstr_underflow): Likewise.
27907         (_IO_wstr_count): Likewise.
27908         (_IO_wstr_seekoff): Likewise.
27909         (_IO_wstr_pbackfail): Likewise.
27910         (_IO_wstr_finish): Likewise.
27911         * locale/programs/localedef.c (normalize_codeset): Likewise.
27912         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27913         (add_locales_to_archive): Likewise.
27914         (delete_locales_from_archive): Likewise.
27915         * malloc/malloc.c (__libc_mallinfo): Likewise.
27916         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27917         * misc/tsearch.c (__tfind): Likewise.
27918         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27919         * nptl/pthread_attr_getdetachstate.c
27920         (__pthread_attr_getdetachstate): Likewise.
27921         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27922         Likewise.
27923         * nptl/pthread_attr_getinheritsched.c
27924         (__pthread_attr_getinheritsched): Likewise.
27925         * nptl/pthread_attr_getschedparam.c
27926         (__pthread_attr_getschedparam): Likewise.
27927         * nptl/pthread_attr_getschedpolicy.c
27928         (__pthread_attr_getschedpolicy): Likewise.
27929         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27930         Likewise.
27931         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27932         Likewise.
27933         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27934         Likewise.
27935         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27936         Likewise.
27937         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27938         (__pthread_attr_init_2_0): Likewise.
27939         * nptl/pthread_attr_setdetachstate.c
27940         (__pthread_attr_setdetachstate): Likewise.
27941         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27942         Likewise.
27943         * nptl/pthread_attr_setinheritsched.c
27944         (__pthread_attr_setinheritsched): Likewise.
27945         * nptl/pthread_attr_setschedparam.c
27946         (__pthread_attr_setschedparam): Likewise.
27947         * nptl/pthread_attr_setschedpolicy.c
27948         (__pthread_attr_setschedpolicy): Likewise.
27949         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27950         Likewise.
27951         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27952         Likewise.
27953         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27954         Likewise.
27955         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27956         Likewise.
27957         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27958         Likewise.
27959         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27960         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27961         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27962         use internal_function.
27963         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27964         prototype-style function definition.
27965         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27966         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27967         internal_function.
27968         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27969         Convert to prototype-style function definition.
27970         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27971         Likewise.
27972         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27973         Likewise.
27974         (__pthread_mutex_unlock): Likewise.
27975         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27976         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27977         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27978         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27979         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27980         * nss/makedb.c (process_input): Likewise.
27981         * posix/fnmatch.c (__strchrnul): Likewise.
27982         (__wcschrnul): Likewise.
27983         (fnmatch): Likewise.
27984         * posix/fnmatch_loop.c (FCT): Likewise.
27985         * posix/glob.c (globfree): Likewise.
27986         (__glob_pattern_type): Likewise.
27987         (__glob_pattern_p): Likewise.
27988         * posix/regcomp.c (re_compile_pattern): Likewise.
27989         (re_set_syntax): Likewise.
27990         (re_compile_fastmap): Likewise.
27991         (regcomp): Likewise.
27992         (regerror): Likewise.
27993         (regfree): Likewise.
27994         * posix/regexec.c (regexec): Likewise.
27995         (re_match): Likewise.
27996         (re_search): Likewise.
27997         (re_match_2): Likewise.
27998         (re_search_2): Likewise.
27999         (re_search_stub): Likewise.  Use internal_function
28000         (re_copy_regs): Likewise.
28001         (re_set_registers): Convert to prototype-style function
28002         definition.
28003         (prune_impossible_nodes): Likewise.  Use internal_function.
28004         * resolv/inet_net_pton.c (inet_net_pton): Convert to
28005         prototype-style function definition.
28006         (inet_net_pton_ipv4): Likewise.
28007         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28008         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
28009         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
28010         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
28011         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28012         Make variadic.
28013         * time/strptime_l.c (localtime_r): Convert to prototype-style
28014         function definition.
28015         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
28016         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
28017         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
28018         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
28020         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
28021         definition.
28022         (_ufc_doit_r): Likewise.
28023         * crypt/crypt_util.c (_ufc_copymem): Likewise.
28024         (_ufc_output_conversion_r): Likewise.
28025         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
28026         * inet/rcmd.c (rcmd_af): Likewise.
28027         (rcmd): Likewise.
28028         (ruserok_af): Likewise.
28029         (ruserok): Likewise.
28030         (ruserok2_sa): Likewise.
28031         (ruserok_sa): Likewise.
28032         (iruserok_af): Likewise.
28033         (iruserok): Likewise.
28034         (__ivaliduser): Likewise.
28035         (__validuser2_sa): Likewise.
28036         * inet/rexec.c (rexec_af): Likewise.
28037         (rexec): Likewise.
28038         * inet/ruserpass.c (ruserpass): Likewise.
28039         * locale/programs/xmalloc.c (xcalloc): Likewise.
28040         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
28041         * math/w_drem.c (__drem): Likewise.
28042         * math/w_dremf.c (__dremf): Likewise.
28043         * math/w_dreml.c (__dreml): Likewise.
28044         * misc/daemon.c (daemon): Likewise.
28045         * resolv/res_debug.c (p_fqnname): Likewise.
28046         * stdlib/div.c (div): Likewise.
28047         * string/memcmp.c (memcmp_bytes): Likewise.
28048         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
28049         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
28051         * crypt/cert.c (main): Convert to prototype-style function
28052         definition.
28053         * io/pipe.c (__pipe): Likewise.
28054         * io/pipe2.c (__pipe2): Likewise.
28055         * misc/futimesat.c (futimesat): Likewise.
28056         * misc/utimes.c (__utimes): Likewise.
28057         * posix/execve.c (__execve): Likewise.
28058         * posix/execvp.c (execvp): Likewise.
28059         * posix/execvpe.c (__execvpe): Likewise.
28060         * posix/fexecve.c (fexecve): Likewise.
28061         * socket/socketpair.c (socketpair): Likewise.
28062         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28063         * stdlib/erand48.c (erand48): Likewise.
28064         * stdlib/erand48_r.c (__erand48_r): Likewise.
28065         * stdlib/jrand48.c (jrand48): Likewise.
28066         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
28067         * stdlib/lcong48.c (lcong48): Likewise.
28068         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
28069         * stdlib/nrand48.c (nrand48): Likewise.
28070         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
28071         * stdlib/seed48.c (seed48): Likewise.
28072         * stdlib/seed48_r.c (__seed48_r): Likewise.
28073         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
28074         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
28075         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
28077 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28079         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
28080         * configure: Regenerated.
28081         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
28082         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
28083         unconditional.
28084         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28085         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28086         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28087         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
28088         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
28089         unconditional.
28090         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
28092         * posix/Makefile (CFLAGS-regex.c): Remove variable.
28093         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
28095         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
28096         function definition.
28097         * crypt/crypt_util.c (__encrypt_r): Likewise.
28098         * libio/genops.c (_IO_no_init): Likewise.
28099         * libio/iofopncook.c (_IO_fopencookie): Likewise.
28100         (_IO_old_fopencookie): Likewise.
28101         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
28102         * libio/iogetline.c (_IO_getline): Likewise.
28103         (_IO_getline_info): Likewise.
28104         * libio/iogetwline.c (_IO_getwline): Likewise.
28105         (_IO_getwline_info): Likewise.
28106         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
28107         * libio/vswprintf.c (_IO_vswprintf): Likewise.
28108         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
28109         (find_entry): Likewise.
28110         (iterate_table): Likewise.
28111         (lookup): Likewise.
28112         * login/forkpty.c (forkpty): Likewise.
28113         * misc/hsearch_r.c (__hsearch_r): Likewise.
28114         * misc/select.c (__select): Likewise.
28115         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
28116         Likewise.
28117         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
28118         Likewise.
28119         * nptl/old_pthread_cond_timedwait.c
28120         (__pthread_cond_timedwait_2_0): Likewise.
28121         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
28122         * nptl/pthread_barrierattr_getpshared.c
28123         (pthread_barrierattr_getpshared): Likewise.
28124         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
28125         Likewise.
28126         * nptl/pthread_mutex_setprioceiling.c
28127         (pthread_mutex_setprioceiling): Likewise.
28128         * nptl/pthread_mutexattr_getprioceiling.c
28129         (pthread_mutexattr_getprioceiling): Likewise.
28130         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
28131         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28132         Likewise.
28133         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28134         Likewise.
28135         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
28136         Likewise.
28137         * socket/recvfrom.c (__recvfrom): Likewise.
28138         * socket/sendto.c (__sendto): Likewise.
28139         * socket/setsockopt.c (__setsockopt): Likewise.
28140         * stdio-common/_itoa.c (_itoa): Likewise.
28141         * stdio-common/_itowa.c (_itowa): Likewise.
28142         * stdio-common/reg-printf.c (__register_printf_specifier):
28143         Likewise.
28144         (__register_printf_function): Likewise.
28145         * stdio-common/tempname.c (__path_search): Likewise.
28146         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
28147         * stdlib/mul_1.c (mpn_mul_1): Likewise.
28148         * stdlib/random_r.c (__initstate_r): Likewise.
28149         * stdlib/setenv.c (__add_to_environ): Likewise.
28150         * stdlib/submul_1.c (mpn_submul_1): Likewise.
28151         * streams/getpmsg.c (getpmsg): Likewise.
28152         * streams/putmsg.c (putmsg): Likewise.
28153         * streams/putpmsg.c (putpmsg): Likewise.
28154         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
28155         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
28156         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
28157         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
28158         * sunrpc/pm_getport.c (pmap_getport): Likewise.
28159         * sunrpc/svc_udp.c (cache_get): Likewise.
28160         * sunrpc/xdr_array.c (xdr_vector): Likewise.
28161         * sysdeps/mach/hurd/getcwd.c
28162         (__canonicalize_directory_name_internal): Likewise.
28163         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
28164         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
28165         * sysdeps/mach/hurd/select.c (__select): Likewise.
28166         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
28167         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
28168         * sysdeps/sparc/nptl/pthread_barrier_init.c
28169         (__pthread_barrier_init): Likewise.
28170         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
28171         (__pthread_cond_timedwait): Likewise.
28172         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
28173         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
28174         Likewise.
28175         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
28176         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
28177         Likewise.
28178         * sysvipc/semtimedop.c (semtimedop): Likewise.
28179         * time/setitimer.c (__setitimer): Likewise.
28180         * time/strftime_l.c (emacs_strftime): Likewise.
28182 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28184         * config.make.in (have-ssp): Delete.
28185         (stack-protector): New variable.
28186         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
28187         cache test for -fstack-protector-strong.  Export stack_protector to
28188         the best ssp flag.
28189         * configure: Regenerated.
28190         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
28191         * nscd/Makefile (CFLAGS-nscd): Likewise.
28192         * resolv/Makefile (CFLAGS-libresolv): Likewise.
28194 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
28196         [BZ #19122]
28197         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
28198         attribute_hidden.
28200 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28202         [BZ #18743]
28203         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
28204         code to...
28205         (ELIDE_LOCK): ...here.
28206         (__get_new_count): New function with part of the code from
28207         __elide_lock that updates the value of adapt_count after a
28208         transaction abort.
28209         (__elided_trylock): Moved this code to...
28210         (ELIDE_TRYLOCK): ...here.
28212 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
28214         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
28215         * configure: Regenerate.
28216         * INSTALL: Regenerate.
28217         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
28218         and tweak grammar.
28220 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
28222         * login/programs/pt_chown.c: Include signal.h
28223         (main): Clear any signal mask from the parent process.
28225 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
28227         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
28228         * configure: Regenerated.
28229         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
28230         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
28231         $(gnu89-inline-CFLAGS).
28233         * configure.ac (libc_cv_asm_weak_directive): Remove configure
28234         test.
28235         (libc_cv_asm_weakext_directive): Likewise.
28236         * configure: Regenerated.
28237         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
28238         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
28239         * include/libc-symbols.h
28240         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
28241         #error.
28242         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
28243         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
28245         * sysdeps/arm/backtrace.c (__backtrace): Convert to
28246         prototype-style function definition.
28247         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
28248         * sysdeps/i386/ffs.c (__ffs): Likewise.
28249         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
28250         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
28251         Likewise.
28252         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28253         Likewise.
28254         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
28255         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
28256         Likewise.
28257         * sysdeps/m68k/ffs.c (__ffs): Likewise.
28258         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
28259         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
28260         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
28261         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
28262         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
28263         * sysdeps/mach/hurd/access.c (__access): Likewise.
28264         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
28265         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
28266         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
28267         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
28268         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
28269         (cthread_getspecific): Likewise.
28270         (cthread_setspecific): Likewise.
28271         (__libc_getspecific): Likewise.
28272         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
28273         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
28274         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
28275         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
28276         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
28277         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
28278         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
28279         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
28280         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
28281         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
28282         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
28283         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
28284         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
28285         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
28286         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
28287         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
28288         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
28289         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
28290         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
28291         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
28292         * sysdeps/mach/hurd/link.c (__link): Likewise.
28293         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
28294         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
28295         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
28296         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
28297         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
28298         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
28299         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
28300         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
28301         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
28302         * sysdeps/mach/hurd/rename.c (rename): Likewise.
28303         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
28304         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
28305         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
28306         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
28307         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
28308         * sysdeps/mach/hurd/send.c (__send): Likewise.
28309         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
28310         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
28311         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
28312         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
28313         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
28314         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
28315         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
28316         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
28317         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
28318         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
28319         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
28320         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
28321         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
28322         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
28323         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
28324         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28325         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
28326         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28327         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
28328         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
28329         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
28330         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
28331         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
28332         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
28333         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
28334         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
28335         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
28336         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
28337         * sysdeps/posix/alarm.c (alarm): Likewise.
28338         * sysdeps/posix/cuserid.c (cuserid): Likewise.
28339         * sysdeps/posix/dirfd.c (dirfd): Likewise.
28340         * sysdeps/posix/dup.c (__dup): Likewise.
28341         * sysdeps/posix/dup2.c (__dup2): Likewise.
28342         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
28343         (main): Likewise.
28344         * sysdeps/posix/flock.c (__flock): Likewise.
28345         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
28346         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
28347         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
28348         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
28349         * sysdeps/posix/isatty.c (__isatty): Likewise.
28350         * sysdeps/posix/killpg.c (killpg): Likewise.
28351         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
28352         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
28353         * sysdeps/posix/raise.c (raise): Likewise.
28354         * sysdeps/posix/remove.c (remove): Likewise.
28355         * sysdeps/posix/rename.c (rename): Likewise.
28356         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
28357         * sysdeps/posix/seekdir.c (seekdir): Likewise.
28358         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28359         * sysdeps/posix/sigignore.c (sigignore): Likewise.
28360         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
28361         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
28362         * sysdeps/posix/sigset.c (sigset): Likewise.
28363         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
28364         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
28365         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
28366         * sysdeps/posix/time.c (time): Likewise.
28367         * sysdeps/posix/ttyname.c (getttyname): Likewise.
28368         (ttyname): Likewise.
28369         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
28370         * sysdeps/posix/utime.c (utime): Likewise.
28371         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
28372         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
28373         Likewise.
28374         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
28375         (pthread_spin_trylock): Likewise.
28376         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
28377         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
28378         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
28379         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
28380         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
28381         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
28382         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
28383         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
28384         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
28385         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
28386         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
28387         * sysdeps/s390/ffs.c (__ffs): Likewise.
28388         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
28389         Likewise.
28390         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
28391         Likewise.
28392         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
28393         Likewise.
28394         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
28395         (pthread_barrier_destroy): Likewise.
28396         * sysdeps/sparc/nptl/pthread_barrier_wait.c
28397         (__pthread_barrier_wait): Likewise.
28398         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
28399         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
28400         (__pthread_barrier_wait): Likewise.
28401         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
28402         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
28403         (memcmp_not_common_alignment): Likewise.
28404         (MEMCMP): Likewise.
28405         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
28406         (_wordcopy_fwd_dest_aligned): Likewise.
28407         (_wordcopy_bwd_aligned): Likewise.
28408         (_wordcopy_bwd_dest_aligned): Likewise.
28409         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
28410         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
28411         * sysdeps/unix/bsd/stty.c (stty): Likewise.
28412         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
28413         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
28414         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
28415         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
28416         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
28417         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
28418         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
28419         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
28420         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
28421         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
28422         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
28423         * sysdeps/unix/stime.c (stime): Likewise.
28424         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
28425         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
28426         Likewise.  Use internal_function.
28427         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
28428         Convert to prototype-style function definition.
28429         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28430         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28431         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
28432         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28433         Likewise.  Use internal_function.
28434         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
28435         prototype-style function definition
28436         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
28437         Likewise.
28438         (__getlogin_r): Likewise.
28439         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
28440         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
28441         (__pthread_cond_broadcast): Likewise.
28442         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
28443         (__pthread_cond_destroy): Likewise.
28444         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
28445         (__pthread_cond_init): Likewise.
28446         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
28447         (__pthread_cond_signal): Likewise.
28448         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
28449         (__pthread_cond_wait): Likewise.
28450         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
28451         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28452         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
28453         Likewise.
28454         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
28455         Likewise.
28456         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28457         Likewise.
28458         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
28459         Likewise.
28460         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
28461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
28462         (__ftruncate64): Likewise.
28463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
28464         (truncate64): Likewise.
28465         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
28466         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
28467         (pthread_getcpuclockid): Likewise.
28468         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
28469         Likewise.
28470         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
28471         Likewise.
28472         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
28473         Likewise.
28474         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
28475         Likewise.
28476         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
28477         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
28478         (__libc_sigaction): Likewise.
28479         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
28480         Likewise.
28481         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28482         (__sigprocmask): Likewise.
28483         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
28484         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
28485         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
28486         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28487         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28488         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
28489         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28490         Likewise.
28491         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
28492         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
28493         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28494         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
28495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
28496         Likewise.
28497         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28498         (__sigprocmask): Likewise.
28499         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
28500         (cfgetispeed): Likewise.
28501         (cfsetospeed): Likewise.
28502         (cfsetispeed): Likewise.
28503         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
28504         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
28505         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28506         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28507         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
28508         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
28509         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
28510         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
28511         Likewise.
28512         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
28513         Likewise.
28514         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
28515         Likewise.
28516         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28517         Likewise.
28518         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
28520 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28522         sunrpc: Rewrite with explicit TLS access using __thread.
28523         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
28524         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
28525         directly.
28526         (__rpc_thread_variables): Access thread_rpc_vars directly.
28527         Eliminate redundant assignment of the tvp variable.
28529 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28531         malloc: Rewrite with explicit TLS access using __thread.
28532         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
28533         (tsd_setspecific, tsd_getspecific): Remove.
28534         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
28535         (tsd_setspecific, tsd_getspecific): Likewise.
28536         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
28537         (tsd_setspecific, tsd_getspecific): Likewise.
28538         * malloc/arena.c (thread_arena): New TLS variable.
28539         (arena_key): Remove variable.
28540         (arena_get): Use thread_arena.
28541         (arena_lookup): Remove macro.
28542         (malloc_atfork, free_atfork, ptmalloc_lock_all)
28543         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
28544         (_int_new_arena, get_free_list, reused_arena)
28545         (arena_thread_freeres): Use thread_arena.
28546         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
28547         tsd_getspecific, tsd_setspecific from safety annotations.
28548         (Allocating Cleared Space): Remove arena_lookup from safety
28549         annotations.
28551 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28553         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
28554         struct scratch_buffer instead of extend_alloca.
28556 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28558         * sysdeps/unix/sysv/linux/kernel-features.h
28559         (__ASSUME_SOCK_CLOEXEC): Remove.
28560         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
28561         (__have_paccept): Remove unused macro.
28562         * include/unistd.h (__have_sock_cloexec): Remove declaration.
28563         * misc/syslog.c (openlog_internal): Remove fallback code for
28564         !__ASSUME_SOCK_CLOEXEC.
28565         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
28566         missing SOCK_CLOEXEC.
28567         * nscd/connections.c (have_sock_cloexec): Remove definition.
28568         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28569         * nscd/nscd_helper.c (open_socket): Remove fallback code for
28570         !__ASSUME_SOCK_CLOEXEC.
28571         * resolv/res_send.c (__have_o_nonblock): Remove definition.
28572         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
28573         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
28574         definition.
28575         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
28576         code for !__ASSUME_SOCK_CLOEXEC.
28578 2015-10-17  Florian Weimer  <fweimer@redhat.com>
28580         [BZ #18982]
28581         * manual/stdio.texi (Variable Arguments Output): Add portability
28582         note, explaining that vfprintf clobbers the va_list pointer.
28584 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28586         * math/libm-test.inc (fabs_test_data): Add more tests.
28587         (fdim_test_data): Likewise.
28588         (fma_test_data): Likewise.
28589         (fmax_test_data): Likewise.
28590         (fmin_test_data): Likewise.
28591         (fmod_test_data): Likewise.
28593 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
28595         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
28596         data.
28598 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
28600         * math/libm-test.inc (ceil_test_data): Add more tests and more
28601         expectations for "inexact".
28602         (floor_test_data): Add more tests.
28603         (round_test_data): Likewise.
28604         (trunc_test_data): Likewise.
28606         * crypt/cert.c (good_bye): Convert to prototype-style function
28607         definition.
28608         (get8): Likewise.
28609         (put8): Likewise.
28610         * crypt/crypt-entry.c (crypt): Likewise.
28611         (__fcrypt): Likewise.
28612         * crypt/crypt_util.c (_ufc_prbits): Likewise.
28613         (_ufc_set_bits): Likewise.
28614         (_ufc_clearmem): Likewise.
28615         (__init_des_r): Likewise.
28616         (shuffle_sb): Likewise.
28617         (shuffle_sb): Likewise.
28618         (_ufc_setup_salt_r): Likewise.
28619         (_ufc_mk_keytab_r): Likewise.
28620         (_ufc_dofinalperm_r): Likewise.
28621         (encrypt): Likewise.
28622         (__setkey_r): Likewise.
28623         (setkey): Likewise.
28624         * crypt/md5.c (md5_init_ctx): Likewise.
28625         (md5_read_ctx): Likewise.
28626         (md5_finish_ctx): Likewise.
28627         (md5_stream): Likewise.
28628         (md5_buffer): Likewise.
28629         (md5_process_bytes): Likewise.
28630         * crypt/sha256.c (__sha256_init_ctx): Likewise.
28631         (__sha256_finish_ctx): Likewise.
28632         (__sha256_process_bytes): Likewise.
28633         * crypt/sha512.c (__sha512_init_ctx): Likewise.
28634         (__sha512_finish_ctx): Likewise.
28635         (__sha512_process_bytes): Likewise.
28636         * ctype/isctype.c (__isctype): Likewise.
28637         * debug/backtrace.c (__backtrace): Likewise.
28638         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
28639         * debug/fgets_chk.c (__fgets_chk): Likewise.
28640         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
28641         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
28642         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
28643         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
28644         * debug/memset_chk.c (__memset_chk): Likewise.
28645         * debug/strcat_chk.c (__strcat_chk): Likewise.
28646         * debug/strncat_chk.c (__strncat_chk): Likewise.
28647         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
28648         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
28649         * dirent/dirfd.c (dirfd): Likewise.
28650         * dirent/getdents.c (__getdirentries): Likewise.
28651         * dirent/getdents64.c (getdirentries64): Likewise.
28652         * dirent/rewinddir.c (__rewinddir): Likewise.
28653         * dirent/seekdir.c (seekdir): Likewise.
28654         * dirent/telldir.c (telldir): Likewise.
28655         * elf/sln.c (makesymlinks): Likewise.
28656         (makesymlink): Likewise.
28657         * gmon/gmon.c (__moncontrol): Likewise.
28658         (__monstartup): Likewise.
28659         (write_hist): Likewise.
28660         (write_call_graph): Likewise.
28661         (write_bb_counts): Likewise.
28662         * grp/setgroups.c (setgroups): Likewise.
28663         * inet/inet_lnaof.c (inet_lnaof): Likewise.
28664         * inet/inet_net.c (inet_network): Likewise.
28665         * inet/inet_netof.c (inet_netof): Likewise.
28666         * inet/rcmd.c (rresvport_af): Likewise.
28667         (rresvport): Likewise.
28668         * io/access.c (__access): Likewise.
28669         * io/chdir.c (__chdir): Likewise.
28670         * io/chmod.c (__chmod): Likewise.
28671         * io/chown.c (__chown): Likewise.
28672         * io/close.c (__close): Likewise.
28673         * io/creat.c (creat): Likewise.
28674         * io/creat64.c (creat64): Likewise.
28675         * io/dup.c (__dup): Likewise.
28676         * io/dup2.c (__dup2): Likewise.
28677         * io/dup3.c (__dup3): Likewise.
28678         * io/euidaccess.c (__euidaccess): Likewise.
28679         * io/faccessat.c (faccessat): Likewise.
28680         * io/fchmod.c (__fchmod): Likewise.
28681         * io/fchmodat.c (fchmodat): Likewise.
28682         * io/fchown.c (__fchown): Likewise.
28683         * io/fchownat.c (fchownat): Likewise.
28684         * io/fcntl.c (__fcntl): Likewise.
28685         * io/flock.c (__flock): Likewise.
28686         * io/fts.c (fts_load): Likewise.
28687         (fts_close): Likewise.
28688         (fts_read): Likewise.
28689         (fts_set): Likewise.
28690         (fts_children): Likewise.
28691         (fts_build): Likewise.
28692         (fts_stat): Likewise.
28693         (fts_sort): Likewise.
28694         (fts_alloc): Likewise.
28695         (fts_lfree): Likewise.
28696         (fts_palloc): Likewise.
28697         (fts_padjust): Likewise.
28698         (fts_maxarglen): Likewise.
28699         (fts_safe_changedir): Likewise.
28700         * io/getwd.c (getwd): Likewise.
28701         * io/isatty.c (__isatty): Likewise.
28702         * io/lchown.c (__lchown): Likewise.
28703         * io/link.c (__link): Likewise.
28704         * io/linkat.c (linkat): Likewise.
28705         * io/lseek.c (__libc_lseek): Likewise.
28706         * io/mkdir.c (__mkdir): Likewise.
28707         * io/mkdirat.c (mkdirat): Likewise.
28708         * io/mkfifo.c (mkfifo): Likewise.
28709         * io/mkfifoat.c (mkfifoat): Likewise.
28710         * io/open.c (__libc_open): Likewise.
28711         * io/open64.c (__libc_open64): Likewise.
28712         * io/readlink.c (__readlink): Likewise.
28713         * io/readlinkat.c (readlinkat): Likewise.
28714         * io/rmdir.c (__rmdir): Likewise.
28715         * io/symlink.c (__symlink): Likewise.
28716         * io/symlinkat.c (symlinkat): Likewise.
28717         * io/ttyname.c (ttyname): Likewise.
28718         * io/ttyname_r.c (__ttyname_r): Likewise.
28719         * io/umask.c (__umask): Likewise.
28720         * io/unlink.c (__unlink): Likewise.
28721         * io/unlinkat.c (unlinkat): Likewise.
28722         * io/utime.c (utime): Likewise.
28723         * libio/clearerr.c (clearerr): Likewise.
28724         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
28725         * libio/feof.c (_IO_feof): Likewise.
28726         * libio/feof_u.c (feof_unlocked): Likewise.
28727         * libio/ferror.c (_IO_ferror): Likewise.
28728         * libio/ferror_u.c (ferror_unlocked): Likewise.
28729         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
28730         * libio/fileno.c (__fileno): Likewise.
28731         * libio/fputc.c (fputc): Likewise.
28732         * libio/fputc_u.c (fputc_unlocked): Likewise.
28733         * libio/fputwc.c (fputwc): Likewise.
28734         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
28735         * libio/freopen.c (freopen): Likewise.
28736         * libio/freopen64.c (freopen64): Likewise.
28737         * libio/fseek.c (fseek): Likewise.
28738         * libio/fseeko.c (fseeko): Likewise.
28739         * libio/fseeko64.c (fseeko64): Likewise.
28740         * libio/ftello.c (__ftello): Likewise.
28741         * libio/ftello64.c (ftello64): Likewise.
28742         * libio/fwide.c (fwide): Likewise.
28743         * libio/genops.c (_IO_un_link): Likewise.
28744         (_IO_link_in): Likewise.
28745         (_IO_least_marker): Likewise.
28746         (_IO_switch_to_main_get_area): Likewise.
28747         (_IO_switch_to_backup_area): Likewise.
28748         (_IO_switch_to_get_mode): Likewise.
28749         (_IO_free_backup_area): Likewise.
28750         (_IO_switch_to_put_mode): Likewise.
28751         (__overflow): Likewise.
28752         (__underflow): Likewise.
28753         (__uflow): Likewise.
28754         (_IO_setb): Likewise.
28755         (_IO_doallocbuf): Likewise.
28756         (_IO_default_underflow): Likewise.
28757         (_IO_default_uflow): Likewise.
28758         (_IO_default_xsputn): Likewise.
28759         (_IO_sgetn): Likewise.
28760         (_IO_default_xsgetn): Likewise.
28761         (_IO_sync): Likewise.
28762         (_IO_default_setbuf): Likewise.
28763         (_IO_default_seekpos): Likewise.
28764         (_IO_default_doallocate): Likewise.
28765         (_IO_init): Likewise.
28766         (_IO_old_init): Likewise.
28767         (_IO_default_sync): Likewise.
28768         (_IO_default_finish): Likewise.
28769         (_IO_default_seekoff): Likewise.
28770         (_IO_sputbackc): Likewise.
28771         (_IO_sungetc): Likewise.
28772         (_IO_set_column): Likewise.
28773         (_IO_set_column): Likewise.
28774         (_IO_adjust_column): Likewise.
28775         (_IO_get_column): Likewise.
28776         (_IO_init_marker): Likewise.
28777         (_IO_remove_marker): Likewise.
28778         (_IO_marker_difference): Likewise.
28779         (_IO_marker_delta): Likewise.
28780         (_IO_seekmark): Likewise.
28781         (_IO_unsave_markers): Likewise.
28782         (_IO_nobackup_pbackfail): Likewise.
28783         (_IO_default_pbackfail): Likewise.
28784         (_IO_default_seek): Likewise.
28785         (_IO_default_stat): Likewise.
28786         (_IO_default_read): Likewise.
28787         (_IO_default_write): Likewise.
28788         (_IO_default_showmanyc): Likewise.
28789         (_IO_default_imbue): Likewise.
28790         (_IO_iter_next): Likewise.
28791         (_IO_iter_file): Likewise.
28792         * libio/getc.c (_IO_getc): Likewise.
28793         * libio/getwc.c (_IO_getwc): Likewise.
28794         * libio/iofclose.c (_IO_new_fclose): Likewise.
28795         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
28796         * libio/iofflush.c (_IO_fflush): Likewise.
28797         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
28798         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
28799         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
28800         * libio/iofgets.c (_IO_fgets): Likewise.
28801         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
28802         * libio/iofgetws.c (fgetws): Likewise.
28803         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
28804         * libio/iofopen64.c (_IO_fopen64): Likewise.
28805         * libio/iofopncook.c (_IO_cookie_read): Likewise.
28806         (_IO_cookie_write): Likewise.
28807         (_IO_cookie_seek): Likewise.
28808         (_IO_cookie_close): Likewise.
28809         (_IO_cookie_seekoff): Likewise.
28810         (_IO_old_cookie_seek): Likewise.
28811         * libio/iofputs.c (_IO_fputs): Likewise.
28812         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
28813         * libio/iofputws.c (fputws): Likewise.
28814         * libio/iofputws_u.c (fputws_unlocked): Likewise.
28815         * libio/iofread.c (_IO_fread): Likewise.
28816         * libio/iofread_u.c (__fread_unlocked): Likewise.
28817         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
28818         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
28819         * libio/ioftell.c (_IO_ftell): Likewise.
28820         * libio/iofwrite.c (_IO_fwrite): Likewise.
28821         * libio/iogetdelim.c (_IO_getdelim): Likewise.
28822         * libio/iogets.c (_IO_gets): Likewise.
28823         * libio/iopadn.c (_IO_padn): Likewise.
28824         * libio/iopopen.c (_IO_new_proc_open): Likewise.
28825         (_IO_new_popen): Likewise.
28826         (_IO_new_proc_close): Likewise.
28827         * libio/ioputs.c (_IO_puts): Likewise.
28828         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
28829         (_IO_seekoff): Likewise.
28830         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
28831         (_IO_seekpos): Likewise.
28832         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
28833         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
28834         * libio/ioungetc.c (_IO_ungetc): Likewise.
28835         * libio/ioungetwc.c (ungetwc): Likewise.
28836         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
28837         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
28838         * libio/iowpadn.c (_IO_wpadn): Likewise.
28839         * libio/libc_fatal.c (__libc_fatal): Likewise.
28840         * libio/memstream.c (__open_memstream): Likewise.
28841         (_IO_mem_sync): Likewise.
28842         (_IO_mem_finish): Likewise.
28843         * libio/oldfileops.c (_IO_old_file_init): Likewise.
28844         (_IO_old_file_close_it): Likewise.
28845         (_IO_old_file_finish): Likewise.
28846         (_IO_old_file_fopen): Likewise.
28847         (_IO_old_file_attach): Likewise.
28848         (_IO_old_file_setbuf): Likewise.
28849         (_IO_old_do_write): Likewise.
28850         (old_do_write): Likewise.
28851         (_IO_old_file_underflow): Likewise.
28852         (_IO_old_file_overflow): Likewise.
28853         (_IO_old_file_sync): Likewise.
28854         (_IO_old_file_seekoff): Likewise.
28855         (_IO_old_file_write): Likewise.
28856         (_IO_old_file_xsputn): Likewise.
28857         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28858         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28859         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28860         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28861         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28862         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28863         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28864         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28865         (_IO_old_popen): Likewise.
28866         (_IO_old_proc_close): Likewise.
28867         * libio/oldpclose.c (__old_pclose): Likewise.
28868         * libio/pclose.c (__new_pclose): Likewise.
28869         * libio/peekc.c (_IO_peekc_locked): Likewise.
28870         * libio/putc.c (_IO_putc): Likewise.
28871         * libio/putc_u.c (putc_unlocked): Likewise.
28872         * libio/putchar.c (putchar): Likewise.
28873         * libio/putchar_u.c (putchar_unlocked): Likewise.
28874         * libio/putwc.c (putwc): Likewise.
28875         * libio/putwc_u.c (putwc_unlocked): Likewise.
28876         * libio/putwchar.c (putwchar): Likewise.
28877         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28878         * libio/rewind.c (rewind): Likewise.
28879         * libio/setbuf.c (setbuf): Likewise.
28880         * libio/setlinebuf.c (setlinebuf): Likewise.
28881         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28882         * libio/vscanf.c (_IO_vscanf): Likewise.
28883         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28884         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28885         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28886         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28887         (_IO_switch_to_main_wget_area): Likewise.
28888         (_IO_switch_to_wbackup_area): Likewise.
28889         (_IO_wsetb): Likewise.
28890         (_IO_wdefault_pbackfail): Likewise.
28891         (_IO_wdefault_finish): Likewise.
28892         (_IO_wdefault_uflow): Likewise.
28893         (__woverflow): Likewise.
28894         (__wuflow): Likewise.
28895         (__wunderflow): Likewise.
28896         (_IO_wdefault_xsputn): Likewise.
28897         (_IO_wdefault_xsgetn): Likewise.
28898         (_IO_wdoallocbuf): Likewise.
28899         (_IO_wdefault_doallocate): Likewise.
28900         (_IO_switch_to_wget_mode): Likewise.
28901         (_IO_free_wbackup_area): Likewise.
28902         (_IO_switch_to_wput_mode): Likewise.
28903         (_IO_sputbackwc): Likewise.
28904         (_IO_sungetwc): Likewise.
28905         (_IO_adjust_wcolumn): Likewise.
28906         (_IO_init_wmarker): Likewise.
28907         (_IO_wmarker_delta): Likewise.
28908         (_IO_seekwmark): Likewise.
28909         (_IO_unsave_wmarkers): Likewise.
28910         * libio/wmemstream.c (open_wmemstream): Likewise.
28911         (_IO_wmem_sync): Likewise.
28912         (_IO_wmem_finish): Likewise.
28913         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28914         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28915         * locale/programs/simple-hash.c (init_hash): Likewise.
28916         (delete_hash): Likewise.
28917         (insert_entry): Likewise.
28918         (set_entry): Likewise.
28919         (next_prime): Likewise.
28920         (is_prime): Likewise.
28921         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28922         (xmalloc): Likewise.
28923         (xrealloc): Likewise.
28924         * locale/programs/xstrdup.c (xstrdup): Likewise.
28925         * localedata/collate-test.c (xstrcoll): Likewise.
28926         * localedata/xfrm-test.c (xstrcmp): Likewise.
28927         * login/getlogin_r.c (__getlogin_r): Likewise.
28928         * login/getpt.c (__posix_openpt): Likewise.
28929         * login/login_tty.c (login_tty): Likewise.
28930         * login/setlogin.c (setlogin): Likewise.
28931         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28932         (mach_msg_destroy_port): Likewise.
28933         (mach_msg_destroy_memory): Likewise.
28934         * malloc/mcheck.c (flood): Likewise.
28935         * misc/acct.c (acct): Likewise.
28936         * misc/brk.c (__brk): Likewise.
28937         * misc/chflags.c (chflags): Likewise.
28938         * misc/chroot.c (chroot): Likewise.
28939         * misc/fchflags.c (fchflags): Likewise.
28940         * misc/fstab.c (getfsspec): Likewise.
28941         (getfsfile): Likewise.
28942         * misc/fsync.c (fsync): Likewise.
28943         * misc/ftruncate.c (__ftruncate): Likewise.
28944         * misc/ftruncate64.c (__ftruncate64): Likewise.
28945         * misc/getdomain.c (getdomainname): Likewise.
28946         (getdomainname): Likewise.
28947         * misc/gethostname.c (__gethostname): Likewise.
28948         * misc/getpass.c (getpass): Likewise.
28949         * misc/getttyent.c (skip): Likewise.
28950         (value): Likewise.
28951         * misc/gtty.c (gtty): Likewise.
28952         * misc/hsearch.c (hsearch): Likewise.
28953         (hcreate): Likewise.
28954         * misc/hsearch_r.c (__hcreate_r): Likewise.
28955         (__hdestroy_r): Likewise.
28956         * misc/ioctl.c (__ioctl): Likewise.
28957         * misc/mkdtemp.c (mkdtemp): Likewise.
28958         * misc/mkostemp.c (mkostemp): Likewise.
28959         * misc/mkostemp64.c (mkostemp64): Likewise.
28960         * misc/mkostemps.c (mkostemps): Likewise.
28961         * misc/mkostemps64.c (mkostemps64): Likewise.
28962         * misc/mkstemp.c (mkstemp): Likewise.
28963         * misc/mkstemp64.c (mkstemp64): Likewise.
28964         * misc/mkstemps.c (mkstemps): Likewise.
28965         * misc/mkstemps64.c (mkstemps64): Likewise.
28966         * misc/mktemp.c (__mktemp): Likewise.
28967         * misc/preadv.c (preadv): Likewise.
28968         * misc/preadv64.c (preadv64): Likewise.
28969         * misc/pwritev.c (pwritev): Likewise.
28970         * misc/pwritev64.c (pwritev64): Likewise.
28971         * misc/readv.c (__readv): Likewise.
28972         * misc/revoke.c (revoke): Likewise.
28973         * misc/setdomain.c (setdomainname): Likewise.
28974         * misc/setegid.c (setegid): Likewise.
28975         * misc/seteuid.c (seteuid): Likewise.
28976         * misc/sethostid.c (sethostid): Likewise.
28977         * misc/sethostname.c (sethostname): Likewise.
28978         * misc/setregid.c (__setregid): Likewise.
28979         * misc/setreuid.c (__setreuid): Likewise.
28980         * misc/sstk.c (sstk): Likewise.
28981         * misc/stty.c (stty): Likewise.
28982         * misc/syscall.c (syscall): Likewise.
28983         * misc/syslog.c (setlogmask): Likewise.
28984         * misc/truncate.c (__truncate): Likewise.
28985         * misc/truncate64.c (truncate64): Likewise.
28986         * misc/ualarm.c (ualarm): Likewise.
28987         * misc/usleep.c (usleep): Likewise.
28988         * misc/ustat.c (ustat): Likewise.
28989         * misc/writev.c (__writev): Likewise.
28990         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28991         * nptl/old_pthread_cond_broadcast.c
28992         (__pthread_cond_broadcast_2_0): Likewise.
28993         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28994         Likewise.
28995         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28996         Likewise.
28997         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28998         Likewise.
28999         * nptl/pt-raise.c (raise): Likewise.
29000         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
29001         Likewise.
29002         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
29003         * nptl/pthread_barrierattr_destroy.c
29004         (pthread_barrierattr_destroy): Likewise.
29005         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
29006         Likewise.
29007         * nptl/pthread_barrierattr_setpshared.c
29008         (pthread_barrierattr_setpshared): Likewise.
29009         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
29010         Likewise.
29011         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
29012         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
29013         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
29014         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
29015         Likewise.
29016         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
29017         Likewise.
29018         * nptl/pthread_condattr_getpshared.c
29019         (pthread_condattr_getpshared): Likewise.
29020         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
29021         Likewise.
29022         * nptl/pthread_condattr_setpshared.c
29023         (pthread_condattr_setpshared): Likewise.
29024         * nptl/pthread_detach.c (pthread_detach): Likewise.
29025         * nptl/pthread_equal.c (__pthread_equal): Likewise.
29026         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
29027         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
29028         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
29029         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
29030         Likewise.
29031         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
29032         Likewise.
29033         * nptl/pthread_mutex_getprioceiling.c
29034         (pthread_mutex_getprioceiling): Likewise.
29035         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
29036         Likewise.
29037         * nptl/pthread_mutexattr_getprotocol.c
29038         (pthread_mutexattr_getprotocol): Likewise.
29039         * nptl/pthread_mutexattr_getpshared.c
29040         (pthread_mutexattr_getpshared): Likewise.
29041         * nptl/pthread_mutexattr_getrobust.c
29042         (pthread_mutexattr_getrobust): Likewise.
29043         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29044         Likewise.
29045         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
29046         Likewise.
29047         * nptl/pthread_mutexattr_setprioceiling.c
29048         (pthread_mutexattr_setprioceiling): Likewise.
29049         * nptl/pthread_mutexattr_setprotocol.c
29050         (pthread_mutexattr_setprotocol): Likewise.
29051         * nptl/pthread_mutexattr_setpshared.c
29052         (pthread_mutexattr_setpshared): Likewise.
29053         * nptl/pthread_mutexattr_setrobust.c
29054         (pthread_mutexattr_setrobust): Likewise.
29055         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
29056         Likewise.
29057         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
29058         Likewise.
29059         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
29060         Likewise.
29061         * nptl/pthread_rwlockattr_getkind_np.c
29062         (pthread_rwlockattr_getkind_np): Likewise.
29063         * nptl/pthread_rwlockattr_getpshared.c
29064         (pthread_rwlockattr_getpshared): Likewise.
29065         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
29066         Likewise.
29067         * nptl/pthread_rwlockattr_setkind_np.c
29068         (pthread_rwlockattr_setkind_np): Likewise.
29069         * nptl/pthread_rwlockattr_setpshared.c
29070         (pthread_rwlockattr_setpshared): Likewise.
29071         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
29072         Likewise.
29073         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
29074         Likewise.
29075         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
29076         Likewise.
29077         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
29078         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
29079         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
29080         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
29081         * nptl/sem_close.c (sem_close): Likewise.
29082         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
29083         * nptl/sem_init.c (__old_sem_init): Likewise.
29084         * nptl/sigaction.c (__sigaction): Likewise.
29085         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
29086         * posix/_exit.c (_exit): Likewise.
29087         * posix/alarm.c (alarm): Likewise.
29088         * posix/confstr.c (confstr): Likewise.
29089         * posix/fpathconf.c (__fpathconf): Likewise.
29090         * posix/getgroups.c (__getgroups): Likewise.
29091         * posix/getpgid.c (__getpgid): Likewise.
29092         * posix/group_member.c (__group_member): Likewise.
29093         * posix/pathconf.c (__pathconf): Likewise.
29094         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
29095         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
29096         * posix/setgid.c (__setgid): Likewise.
29097         * posix/setpgid.c (__setpgid): Likewise.
29098         * posix/setuid.c (__setuid): Likewise.
29099         * posix/sleep.c (__sleep): Likewise.
29100         * posix/sysconf.c (__sysconf): Likewise.
29101         * posix/times.c (__times): Likewise.
29102         * posix/uname.c (__uname): Likewise.
29103         * posix/waitid.c (__waitid): Likewise.
29104         * pwd/getpw.c (__getpw): Likewise.
29105         * resolv/base64.c (b64_pton): Likewise.
29106         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
29107         * resolv/gethnamaddr.c (Dprintf): Likewise.
29108         (gethostbyname): Likewise.
29109         (gethostbyname2): Likewise.
29110         (gethostbyaddr): Likewise.
29111         (_sethtent): Likewise.
29112         (_gethtbyname): Likewise.
29113         (_gethtbyname2): Likewise.
29114         (_gethtbyaddr): Likewise.
29115         (map_v4v6_address): Likewise.
29116         (map_v4v6_hostent): Likewise.
29117         (addrsort): Likewise.
29118         (ht_sethostent): Likewise.
29119         (ht_gethostbyname): Likewise.
29120         (ht_gethostbyaddr): Likewise.
29121         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
29122         (inet_net_ntop_ipv4): Likewise.
29123         * resolv/inet_neta.c (inet_neta): Likewise.
29124         * resolv/inet_ntop.c (inet_ntop): Likewise.
29125         (inet_ntop4): Likewise.
29126         (inet_ntop6): Likewise.
29127         * resolv/inet_pton.c (__inet_pton): Likewise.
29128         (inet_pton4): Likewise.
29129         (inet_pton6): Likewise.
29130         * resolv/res_debug.c (loc_aton): Likewise.
29131         (loc_ntoa): Likewise.
29132         * resource/getpriority.c (__getpriority): Likewise.
29133         * resource/getrusage.c (__getrusage): Likewise.
29134         * resource/nice.c (nice): Likewise.
29135         * resource/setpriority.c (__setpriority): Likewise.
29136         * resource/setrlimit64.c (setrlimit64): Likewise.
29137         * resource/vlimit.c (vlimit): Likewise.
29138         * resource/vtimes.c (vtimes): Likewise.
29139         * rt/aio_error.c (aio_error): Likewise.
29140         * rt/aio_return.c (aio_return): Likewise.
29141         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
29142         * signal/kill.c (__kill): Likewise.
29143         * signal/killpg.c (killpg): Likewise.
29144         * signal/raise.c (raise): Likewise.
29145         * signal/sigaction.c (__sigaction): Likewise.
29146         * signal/sigaddset.c (sigaddset): Likewise.
29147         * signal/sigaltstack.c (sigaltstack): Likewise.
29148         * signal/sigandset.c (sigandset): Likewise.
29149         * signal/sigblock.c (__sigblock): Likewise.
29150         * signal/sigdelset.c (sigdelset): Likewise.
29151         * signal/sigempty.c (sigemptyset): Likewise.
29152         * signal/sigfillset.c (sigfillset): Likewise.
29153         * signal/sighold.c (sighold): Likewise.
29154         * signal/sigignore.c (sigignore): Likewise.
29155         * signal/sigintr.c (siginterrupt): Likewise.
29156         * signal/sigisempty.c (sigisemptyset): Likewise.
29157         * signal/sigismem.c (sigismember): Likewise.
29158         * signal/signal.c (signal): Likewise.
29159         * signal/sigorset.c (sigorset): Likewise.
29160         * signal/sigpause.c (__sigpause): Likewise.
29161         * signal/sigpending.c (sigpending): Likewise.
29162         * signal/sigprocmask.c (__sigprocmask): Likewise.
29163         * signal/sigrelse.c (sigrelse): Likewise.
29164         * signal/sigreturn.c (__sigreturn): Likewise.
29165         * signal/sigset.c (sigset): Likewise.
29166         * signal/sigsetmask.c (__sigsetmask): Likewise.
29167         * signal/sigstack.c (sigstack): Likewise.
29168         * signal/sigsuspend.c (__sigsuspend): Likewise.
29169         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
29170         * signal/sysv_signal.c (__sysv_signal): Likewise.
29171         * socket/accept.c (accept): Likewise.
29172         * socket/accept4.c (__libc_accept4): Likewise.
29173         * socket/bind.c (__bind): Likewise.
29174         * socket/connect.c (__connect): Likewise.
29175         * socket/getpeername.c (getpeername): Likewise.
29176         * socket/getsockname.c (__getsockname): Likewise.
29177         * socket/getsockopt.c (getsockopt): Likewise.
29178         * socket/listen.c (__listen): Likewise.
29179         * socket/recv.c (__recv): Likewise.
29180         * socket/recvmsg.c (__recvmsg): Likewise.
29181         * socket/send.c (__send): Likewise.
29182         * socket/sendmsg.c (__sendmsg): Likewise.
29183         * socket/shutdown.c (shutdown): Likewise.
29184         * socket/sockatmark.c (sockatmark): Likewise.
29185         * socket/socket.c (__socket): Likewise.
29186         * stdio-common/ctermid.c (ctermid): Likewise.
29187         * stdio-common/cuserid.c (cuserid): Likewise.
29188         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
29189         * stdio-common/remove.c (remove): Likewise.
29190         * stdio-common/rename.c (rename): Likewise.
29191         * stdio-common/renameat.c (renameat): Likewise.
29192         * stdio-common/tempname.c (__gen_tempname): Likewise.
29193         * stdio-common/xbug.c (InitBuffer): Likewise.
29194         (AppendToBuffer): Likewise.
29195         (ReadFile): Likewise.
29196         * stdlib/a64l.c (a64l): Likewise.
29197         * stdlib/drand48_r.c (drand48_r): Likewise.
29198         * stdlib/getcontext.c (getcontext): Likewise.
29199         * stdlib/getenv.c (getenv): Likewise.
29200         * stdlib/l64a.c (l64a): Likewise.
29201         * stdlib/llabs.c (llabs): Likewise.
29202         * stdlib/lldiv.c (lldiv): Likewise.
29203         * stdlib/lrand48_r.c (lrand48_r): Likewise.
29204         * stdlib/mrand48_r.c (mrand48_r): Likewise.
29205         * stdlib/putenv.c (putenv): Likewise.
29206         * stdlib/random.c (__srandom): Likewise.
29207         (__initstate): Likewise.
29208         (__setstate): Likewise.
29209         * stdlib/random_r.c (__srandom_r): Likewise.
29210         (__setstate_r): Likewise.
29211         (__random_r): Likewise.
29212         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
29213         * stdlib/setcontext.c (setcontext): Likewise.
29214         * stdlib/setenv.c (setenv): Likewise.
29215         (unsetenv): Likewise.
29216         * stdlib/srand48.c (srand48): Likewise.
29217         * stdlib/srand48_r.c (__srand48_r): Likewise.
29218         * stdlib/swapcontext.c (swapcontext): Likewise.
29219         * stdlib/system.c (__libc_system): Likewise.
29220         * stdlib/tst-strtod.c (expand): Likewise.
29221         * stdlib/tst-strtol.c (expand): Likewise.
29222         * stdlib/tst-strtoll.c (expand): Likewise.
29223         * streams/fattach.c (fattach): Likewise.
29224         * streams/fdetach.c (fdetach): Likewise.
29225         * streams/getmsg.c (getmsg): Likewise.
29226         * streams/isastream.c (isastream): Likewise.
29227         * string/ffs.c (__ffs): Likewise.
29228         * string/ffsll.c (ffsll): Likewise.
29229         * string/memcmp.c (memcmp_common_alignment): Likewise.
29230         (memcmp_not_common_alignment): Likewise.
29231         (MEMCMP): Likewise.
29232         * string/memcpy.c (memcpy): Likewise.
29233         * string/memmove.c (MEMMOVE): Likewise.
29234         * string/memset.c (memset): Likewise.
29235         * string/rawmemchr.c (RAWMEMCHR): Likewise.
29236         * string/strchrnul.c (STRCHRNUL): Likewise.
29237         * string/strerror.c (strerror): Likewise.
29238         * string/strndup.c (__strndup): Likewise.
29239         * string/strverscmp.c (__strverscmp): Likewise.
29240         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
29241         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
29242         (clnttcp_freeres): Likewise.
29243         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
29244         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
29245         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
29246         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
29247         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
29248         (xdr_callhdr): Likewise.
29249         * sunrpc/rpcinfo.c (udpping): Likewise.
29250         (tcpping): Likewise.
29251         (pstatus): Likewise.
29252         (pmapdump): Likewise.
29253         (brdcst): Likewise.
29254         (deletereg): Likewise.
29255         (getprognum): Likewise.
29256         (getvers): Likewise.
29257         (get_inet_address): Likewise.
29258         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
29259         * sunrpc/svc_udp.c (svcudp_create): Likewise.
29260         (svcudp_stat): Likewise.
29261         (svcudp_recv): Likewise.
29262         (svcudp_reply): Likewise.
29263         (svcudp_getargs): Likewise.
29264         (svcudp_freeargs): Likewise.
29265         (svcudp_destroy): Likewise.
29266         * sunrpc/xdr.c (xdr_bytes): Likewise.
29267         (xdr_netobj): Likewise.
29268         (xdr_string): Likewise.
29269         (xdr_wrapstring): Likewise.
29270         * sunrpc/xdr_float.c (xdr_float): Likewise.
29271         (xdr_double): Likewise.
29272         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
29273         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
29274         * sysvipc/ftok.c (ftok): Likewise.
29275         * sysvipc/msgctl.c (msgctl): Likewise.
29276         * sysvipc/msgget.c (msgget): Likewise.
29277         * sysvipc/msgrcv.c (msgrcv): Likewise.
29278         * sysvipc/msgsnd.c (msgsnd): Likewise.
29279         * sysvipc/semget.c (semget): Likewise.
29280         * sysvipc/semop.c (semop): Likewise.
29281         * sysvipc/shmat.c (shmat): Likewise.
29282         * sysvipc/shmctl.c (shmctl): Likewise.
29283         * sysvipc/shmdt.c (shmdt): Likewise.
29284         * sysvipc/shmget.c (shmget): Likewise.
29285         * termios/cfmakeraw.c (cfmakeraw): Likewise.
29286         * termios/speed.c (cfgetospeed): Likewise.
29287         (cfgetispeed): Likewise.
29288         (cfsetospeed): Likewise.
29289         (cfsetispeed): Likewise.
29290         * termios/tcflow.c (tcflow): Likewise.
29291         * termios/tcflush.c (tcflush): Likewise.
29292         * termios/tcgetattr.c (__tcgetattr): Likewise.
29293         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
29294         * termios/tcgetsid.c (tcgetsid): Likewise.
29295         * termios/tcsendbrk.c (tcsendbreak): Likewise.
29296         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
29297         * time/adjtime.c (__adjtime): Likewise.
29298         * time/dysize.c (dysize): Likewise.
29299         * time/ftime.c (ftime): Likewise.
29300         * time/getitimer.c (__getitimer): Likewise.
29301         * time/gettimeofday.c (__gettimeofday): Likewise.
29302         * time/gmtime.c (__gmtime_r): Likewise.
29303         (gmtime): Likewise.
29304         * time/localtime.c (__localtime_r): Likewise.
29305         (localtime): Likewise.
29306         * time/offtime.c (__offtime): Likewise.
29307         * time/settimeofday.c (__settimeofday): Likewise.
29308         * time/stime.c (stime): Likewise.
29309         * time/strftime_l.c (tm_diff): Likewise.
29310         (iso_week_days): Likewise.
29311         * time/strptime.c (strptime): Likewise.
29312         * time/time.c (time): Likewise.
29313         * time/timespec_get.c (timespec_get): Likewise.
29314         * time/tzset.c (tzset_internal): Likewise.
29315         (compute_change): Likewise.
29316         (__tz_compute): Likewise.
29317         * wcsmbs/btowc.c (__btowc): Likewise.
29318         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
29319         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
29320         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
29321         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
29322         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
29323         * wcsmbs/wcscat.c (__wcscat): Likewise.
29324         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29325         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
29326         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
29327         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29328         * wcsmbs/wcsdup.c (wcsdup): Likewise.
29329         * wcsmbs/wcslen.c (__wcslen): Likewise.
29330         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
29331         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
29332         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
29333         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
29334         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29335         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
29336         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29337         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29338         * wcsmbs/wcstok.c (wcstok): Likewise.
29339         * wcsmbs/wctob.c (wctob): Likewise.
29340         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
29341         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29342         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
29343         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
29344         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
29345         * wcsmbs/wmemset.c (__wmemset): Likewise.
29346         * wctype/wcfuncs.c (__towlower): Likewise.
29347         (__towupper): Likewise.
29349         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
29350         (lll_unlock_elision): Add adapt_count parameter.
29352 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29354         * sysdeps/nptl/configure.ac: Do not give errors based on the
29355         results of top-level configure tests.
29356         * sysdeps/nptl/configure: Regenerated.
29358         * configure.ac (libc_cv_Bgroup): Remove configure test.
29359         * configure: Regenerated.
29360         * config.make.in (have-Bgroup): Remove variable.
29362         * configure.ac (sizeof_long_double): Remove configure test.
29363         * configure: Regenerated.
29364         * config.make.in (sizeof-long-double): Remove variable.
29366         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
29367         * configure: Regenerated.
29368         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
29369         variable.
29370         (exceptions): Likewise.
29371         * sysdeps/arm/configure: Regenerated.
29372         * config.make.in (exceptions): Remove variable.
29373         * Makeconfig (uses-callbacks): Use -fexceptions instead of
29374         $(exceptions).
29375         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
29376         (CFLAGS-vdprintf_chk.c): Likewise.
29377         (CFLAGS-printf_chk.c): Likewise.
29378         (CFLAGS-fprintf_chk.c): Likewise.
29379         (CFLAGS-vprintf_chk.c): Likewise.
29380         (CFLAGS-vfprintf_chk.c): Likewise.
29381         (CFLAGS-gets_chk.c): Likewise.
29382         (CFLAGS-fgets_chk.c): Likewise.
29383         (CFLAGS-fgets_u_chk.c): Likewise.
29384         (CFLAGS-fread_chk.c): Likewise.
29385         (CFLAGS-fread_u_chk.c): Likewise.
29386         (CFLAGS-wprintf_chk.c): Likewise.
29387         (CFLAGS-fwprintf_chk.c): Likewise.
29388         (CFLAGS-vwprintf_chk.c): Likewise.
29389         (CFLAGS-vfwprintf_chk.c): Likewise.
29390         (CFLAGS-fgetws_chk.c): Likewise.
29391         (CFLAGS-fgetws_u_chk.c): Likewise.
29392         * libio/Makefile (CFLAGS-fileops.c): Likewise.
29393         (CFLAGS-fputc.c): Likewise.
29394         (CFLAGS-fputwc.c): Likewise.
29395         (CFLAGS-freopen64.c): Likewise.
29396         (CFLAGS-freopen.c): Likewise.
29397         (CFLAGS-fseek.c): Likewise.
29398         (CFLAGS-fseeko64.c): Likewise.
29399         (CFLAGS-fseeko.c): Likewise.
29400         (CFLAGS-ftello64.c): Likewise.
29401         (CFLAGS-ftello.c): Likewise.
29402         (CFLAGS-fwide.c): Likewise.
29403         (CFLAGS-genops.c): Likewise.
29404         (CFLAGS-getc.c): Likewise.
29405         (CFLAGS-getchar.c): Likewise.
29406         (CFLAGS-getwc.c): Likewise.
29407         (CFLAGS-getwchar.c): Likewise.
29408         (CFLAGS-iofclose.c): Likewise.
29409         (CFLAGS-iofflush.c): Likewise.
29410         (CFLAGS-iofgetpos64.c): Likewise.
29411         (CFLAGS-iofgetpos.c): Likewise.
29412         (CFLAGS-iofgets.c): Likewise.
29413         (CFLAGS-iofgetws.c): Likewise.
29414         (CFLAGS-iofputs.c): Likewise.
29415         (CFLAGS-iofputws.c): Likewise.
29416         (CFLAGS-iofread.c): Likewise.
29417         (CFLAGS-iofsetpos64.c): Likewise.
29418         (CFLAGS-iofsetpos.c): Likewise.
29419         (CFLAGS-ioftell.c): Likewise.
29420         (CFLAGS-iofwrite.c): Likewise.
29421         (CFLAGS-iogetdelim.c): Likewise.
29422         (CFLAGS-iogetline.c): Likewise.
29423         (CFLAGS-iogets.c): Likewise.
29424         (CFLAGS-iogetwline.c): Likewise.
29425         (CFLAGS-ioputs.c): Likewise.
29426         (CFLAGS-ioseekoff.c): Likewise.
29427         (CFLAGS-ioseekpos.c): Likewise.
29428         (CFLAGS-iosetbuffer.c): Likewise.
29429         (CFLAGS-iosetvbuf.c): Likewise.
29430         (CFLAGS-ioungetc.c): Likewise.
29431         (CFLAGS-ioungetwc.c): Likewise.
29432         (CFLAGS-oldfileops.c): Likewise.
29433         (CFLAGS-oldiofclose.c): Likewise.
29434         (CFLAGS-oldiofgetpos64.c): Likewise.
29435         (CFLAGS-oldiofgetpos.c): Likewise.
29436         (CFLAGS-oldiofsetpos64.c): Likewise.
29437         (CFLAGS-oldiofsetpos.c): Likewise.
29438         (CFLAGS-peekc.c): Likewise.
29439         (CFLAGS-putc.c): Likewise.
29440         (CFLAGS-putchar.c): Likewise.
29441         (CFLAGS-putwc.c): Likewise.
29442         (CFLAGS-putwchar.c): Likewise.
29443         (CFLAGS-rewind.c): Likewise.
29444         (CFLAGS-wfileops.c): Likewise.
29445         (CFLAGS-wgenops.c): Likewise.
29446         (CFLAGS-oldiofopen.c): Likewise.
29447         (CFLAGS-iofopen.c): Likewise.
29448         (CFLAGS-iofopen64.c): Likewise.
29449         (CFLAGS-oldtmpfile.c): Likewise.
29450         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
29451         (CFLAGS-fprintf.c): Likewise.
29452         (CFLAGS-printf.c): Likewise.
29453         (CFLAGS-vfwprintf.c): Likewise.
29454         (CFLAGS-vfscanf.c): Likewise.
29455         (CFLAGS-vfwscanf.c): Likewise.
29456         (CFLAGS-fscanf.c): Likewise.
29457         (CFLAGS-scanf.c): Likewise.
29458         (CFLAGS-isoc99_vfscanf.c): Likewise.
29459         (CFLAGS-isoc99_vscanf.c): Likewise.
29460         (CFLAGS-isoc99_fscanf.c): Likewise.
29461         (CFLAGS-isoc99_scanf.c): Likewise.
29462         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
29463         (CFLAGS-isoc99_fwscanf.c): Likewise.
29464         (CFLAGS-isoc99_vwscanf.c): Likewise.
29465         (CFLAGS-isoc99_vfwscanf.c): Likewise.
29467         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
29468         after mkstemp64.
29469         * login/tst-utmp.c (do_prepare): Likewise.
29470         * rt/tst-aio.c (do_prepare): Likewise.
29471         * rt/tst-aio64.c (do_prepare): Likewise.
29473 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29475         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29476         (__lll_lock_elision): Remove adapt_count decrement...
29477         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
29478         (__lll_trylock_elision): Likewise.
29479         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
29480         (__lll_unlock_elision): ... to here. And utilize
29481         new adapt_count parameter.
29482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29483         (__lll_unlock_elision): Update to include adapt_count
29484         parameter.
29485         (lll_unlock_elision): Pass pointer to adapt_count
29486         variable.
29488 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29490         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
29491         Add elision adapt_count parameter to list of arguments.
29492         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
29493         (lll_unlock_elision): Update with new parameter list
29494         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
29495         (lll_unlock_elision): Likewise.
29496         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
29497         (lll_unlock_elision): Likewise.
29499 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29501         [BZ #19122]
29502         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
29503         attribute_hidden.
29505         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
29506         attribute_hidden.
29507         [IS_IN (rtld)] (__strdup): Likewise.
29508         [IS_IN (rtld)] (__strerror_r): Likewise.
29509         [IS_IN (rtld)] (__strsep_g): Likewise.
29510         [IS_IN (rtld)] (memchr): Likewise.
29511         [IS_IN (rtld)] (memcmp): Likewise.
29512         [IS_IN (rtld)] (memcpy): Likewise.
29513         [IS_IN (rtld)] (memmove): Likewise.
29514         [IS_IN (rtld)] (memset): Likewise.
29515         [IS_IN (rtld)] (rawmemchr): Likewise.
29516         [IS_IN (rtld)] (stpcpy): Likewise.
29517         [IS_IN (rtld)] (strchr): Likewise.
29518         [IS_IN (rtld)] (strcmp): Likewise.
29519         [IS_IN (rtld)] (strlen): Likewise.
29520         [IS_IN (rtld)] (strnlen): Likewise.
29521         [IS_IN (rtld)] (strsep): Likewise.
29523         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
29524         attribute_hidden.
29525         [IS_IN (rtld)] (__strtoul_internal): Likewise.
29527         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
29528         attribute_hidden.
29529         [IS_IN (rtld)] (__libc_sigaction): Likewise.
29531         * include/setjmp.h (__longjmp): Add attribute_hidden.
29532         [IS_IN (rtld)] (__sigsetjmp): Likewise.
29534         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
29535         Add attribute_hidden.
29537         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
29538         [IS_IN (rtld)] (__open): Likewise.
29539         [IS_IN (rtld)] (__fcntl): Likewise.
29541         * include/dirent.h (__opendirat): Add attribute_hidden.
29542         (__getdents): Likewise.
29543         (__getdents64): Likewise.
29544         (__alloc_dir): Likewise.
29545         [IS_IN (rtld)] (__closedir): Likewise.
29546         [IS_IN (rtld)] (__fdopendir): Likewise.
29547         [IS_IN (rtld)] (__readdir): Likewise.
29548         [IS_IN (rtld)] (__readdir64): Likewise.
29549         [IS_IN (rtld)] (__rewinddir): Likewise.
29551         * include/dlfcn.h (_dl_catch_error): Moved to ...
29552         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
29553         attribute_hidden.
29555         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
29556         (_itoa_word): Likewise.
29558         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
29559         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
29560         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
29561         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
29562         (_dl_higher_prime_number): Likewise.
29563         (_dl_debug_printf_c): Likewise.
29564         (_dl_signal_cerror): Likewise.
29565         (_dl_receive_error): Likewise.
29566         (_dl_reloc_bad_type): Likewise.
29567         (_dl_resolve_conflicts): Likewise.
29568         (_dl_check_all_versions): Likewise.
29569         (_dl_check_map_versions): Likewise.
29570         (_dl_sort_fini): Likewise.
29571         (_dl_debug_initialize): Likewise.
29572         (_dl_init_paths): Likewise.
29573         (_dl_show_auxv): Likewise.
29574         (_dl_next_ld_env_entry): Likewise.
29575         (_dl_important_hwcaps): Likewise.
29576         (_dl_load_cache_lookup): Likewise.
29577         (_dl_update_slotinfo): Likewise.
29578         (_dl_show_scope): Likewise.
29580         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
29581         attribute_hidden.
29582         (_wordcopy_fwd_dest_aligned): Likewise.
29583         (_wordcopy_bwd_aligned): Likewise.
29584         (_wordcopy_bwd_dest_aligned): Likewise.
29586         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
29587         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29588         Likewise.
29589         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
29590         Likewise.
29591         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
29593 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29595         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
29596         GCC 5 requirement.
29598 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
29600         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
29601         test.
29602         * sysdeps/i386/configure: Regenerated.
29603         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
29604         code unconditional.
29606         * configure.ac (libc_cv_asm_previous_directive): Remove configure
29607         test.
29608         (libc_cv_asm_popsection_directive): Likewise.
29609         * configure: Regenerated.
29610         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
29611         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
29612         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
29613         (__make_section_unallocated): Make definition unconditional.
29614         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
29615         Remove conditional definition.
29616         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
29617         (__make_section_unallocated): Likewise.
29619         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
29620         * configure: Regenerated.
29621         * config.make.in (static-libgcc): Remove variable.
29622         * Makerules (build-shlib-helper): Use -static-libgcc instead of
29623         $(static-libgcc).
29624         (build-module-helper): Likewise.
29626         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
29627         * configure: Regenerated.
29629 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29631         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
29632         (struct char_buffer): New type.
29633         (char_buffer_start, char_buffer_size, char_buffer_error)
29634         (char_buffer_rewind, char_buffer_add): New functions.
29635         (ADDW): Remove macro, replaced by the char_buffer_add function.
29636         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
29637         of extend_alloca.  Make control flow more explicit.
29639 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29641         [BZ #19137]
29642         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
29643         Add -fomit-frame-pointer.
29644         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
29646 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29648         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
29649         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
29650         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
29651         only if !__GNUC_PREREQ (5,0).
29652         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
29653         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
29654         (INTERNAL_SYSCALL_NCS): Likewise.
29655         (LOADREGS_0): New macro for GCC 5.
29656         (ASMARGS_0): Likewise.
29657         (LOADREGS_1): Likewise.
29658         (ASMARGS_1): Likewise.
29659         (LOADREGS_2): Likewise.
29660         (ASMARGS_2): Likewise.
29661         (LOADREGS_3): Likewise.
29662         (ASMARGS_3): Likewise.
29663         (LOADREGS_4): Likewise.
29664         (ASMARGS_4): Likewise.
29665         (LOADREGS_5): Likewise.
29666         (ASMARGS_5): Likewise.
29667         (LOADREGS_6): Likewise.
29668         (ASMARGS_6): Likewise.
29670 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
29672         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
29673         -fomit-frame-pointer.
29674         (CFLAGS-mmap64.c): Likewise.
29675         (CFLAGS-semtimedop.c): Likewise.
29676         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
29677         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
29678         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29679         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29681 2015-10-15  Florian Weimer  <fweimer@redhat.com>
29683         [BZ #18928]
29684         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
29685         _dl_pointer_guard member.
29686         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
29687         initializer.
29688         (security_init): Always set up pointer guard.
29689         (process_envvars): Do not process LD_POINTER_GUARD.
29691 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
29693         [BZ #19134]
29694         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
29695         (.LC2): Likewise.
29696         (.LC3): Likewise.
29697         (__lround): Do not add 0.5 to integer or out-of-range arguments.
29699 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
29701         [BZ #19129]
29702         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
29703         r0 and r1.
29705 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
29707         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
29709 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
29711         * include/stap-probe.h: Fix macro definition formatting.
29713 2015-10-14  Florian Weimer  <fweimer@redhat.com>
29715         [BZ #19074]
29716         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
29717         load and store num_ifs.
29719 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29721         [BZ #18822]
29722         * sysdeps/unix/sysv/linux/sched_getaffinity.c
29723         (__sched_getaffinity_new): Add libc_hidden_proto and
29724         libc_hidden_def.
29726 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29728         [BZ #19007]
29729         * scripts/localplt.awk: Also allow GOT references.
29730         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
29731         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
29732         with "+ REL R_386_GLOB_DAT".
29733         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
29734         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
29736 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
29738         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
29739         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29740         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
29741         Likewise.
29742         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
29743         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
29744         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
29745         INTERNAL_SYSCALLINTERNAL_SYSCALL and
29746         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29747         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
29748         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29749         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
29750         Likewise.
29751         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29753 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29755         [BZ #19125]
29756         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
29757         <math_private.h> and <stdint.h>.
29758         (__llround): Avoid conversions to and from long long int, and
29759         subtractions, where those might raise spurious exceptions.
29760         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
29761         <math_private.h> and <stdint.h>.
29762         (__llroundf): Avoid conversions to and from long long int, and
29763         subtractions, where those might raise spurious exceptions.
29765 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29767         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
29768         INLINE_SYSCALL_ERROR_RETURN_VALUE.
29769         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29770         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
29771         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
29772         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
29773         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
29774         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
29775         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
29776         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29777         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29778         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
29779         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
29780         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29781         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
29782         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
29783         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
29784         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
29785         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
29786         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
29787         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
29788         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
29789         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
29790         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
29791         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
29792         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
29793         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
29794         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
29795         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29796         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
29797         (__xstat64_conv): Likewise.
29798         (__xstat32_conv): Likewise.
29800 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29802         * sysdeps/unix/sysv/linux/sysdep.h: New file.
29803         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
29804         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
29805         <sysdeps/unix/sysv/linux/sysdep.h>.
29806         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
29807         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
29808         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
29809         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29810         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
29811         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
29812         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
29813         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
29814         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
29815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29817         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29818         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29819         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29820         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
29821         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29822         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
29823         (sysdep-dl-routines): Add sysdep.
29824         [$(subdir) == nptl] (libpthread-routines): Likewise.
29825         [$(subdir) == rt] (librt-routines): Likewise.
29826         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
29827         PIC when branching to SYSCALL_ERROR_LABEL.
29828         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
29829         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
29830         <sysdeps/unix/sysv/linux/sysdep.h>.
29831         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
29832         (SYSCALL_ERROR_ERRNO): Removed.
29833         (SYSCALL_ERROR_HANDLER): Changed to empty.
29834         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
29835         (__syscall_error): New prototype.
29836         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
29837         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
29839 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
29841         [BZ #19124]
29842         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
29843         (_dl_runtime_resolve_avx512): Make it a hidden alias of
29844         _dl_runtime_resolve_avx.
29845         (_dl_runtime_profile_avx512): Make it a hidden alias of
29846         _dl_runtime_profile_avx.
29848 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
29850         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
29851         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
29852         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
29853         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
29855         [BZ #16422]
29856         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
29857         New configure test.
29858         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29859         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29860         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29861         <math_private.h> and <stdint.h>.
29862         (__llrint): Avoid conversions to long long int where those might
29863         raise spurious exceptions.
29864         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29865         <math_private.h> and <stdint.h>.
29866         (__llrintf): Avoid conversions to long long int where those might
29867         raise spurious exceptions.
29869 2015-10-12  Andreas Schwab  <schwab@suse.de>
29871         [BZ #18969]
29872         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29873         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29874         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29875         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29876         $(gen-locales).
29877         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29878         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29879         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29880         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29881         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29882         $(gen-locales).
29883         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29884         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29885         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29886         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29887         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29888         ($(objpfx)tst-ftell-active-handler.out)
29889         ($(objpfx)tst-ftell-append.out)
29890         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29891         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29892         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29893         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29894         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29895         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29896         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29897         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29898         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29899         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29900         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29901         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29902         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29903         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29904         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29905         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29906         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29907         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29908         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29909         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29910         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29911         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29912         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29913         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29914         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29915         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29916         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29917         $(gen-locales).
29918         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29919         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29920         $(gen-locales).
29921         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29922         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29923         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29924         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29925         $(gen-locales).
29926         * libio/tst_wprintf2.c (main): Use explicit locale.
29927         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29929 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29931         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29932         __msg_sig_post.
29933         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29935 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29937         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29938         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29940         * sysdeps/arm/libm-test-ulps: Regenerated.
29942         [BZ #15470]
29943         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29945         [BZ #16399]
29946         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29947         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29948         and <fix-fp-int-convert-overflow.h>.
29949         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29950         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29951         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29952         and <fix-fp-int-convert-overflow.h>.
29953         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29954         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29955         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29956         <fix-fp-int-convert-overflow.h>.
29957         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29958         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29959         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29960         <fix-fp-int-convert-overflow.h>.
29961         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29962         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29963         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29964         and <fix-fp-int-convert-overflow.h>.
29965         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29966         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29967         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29968         <limits.h> and <fix-fp-int-convert-overflow.h>.
29969         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29970         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29971         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29972         and <fix-fp-int-convert-overflow.h>.
29973         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29974         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29975         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29976         and <fix-fp-int-convert-overflow.h>.
29977         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29978         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29979         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29981 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29983         [BZ #18589]
29984         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29985         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29986         $(gen-locales).
29988 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29989             Phil Blundell <pb@pbcl.net>
29991         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29992         * nptl/tst-cancel26.c: New file.
29993         * nptl/tst-cancel27.c: Likewise.
29995 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29997         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29998         __ILP32__ isn't defined.
29999         (lrint): Likewise.
30000         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
30001         (lrintf): Likewise.
30002         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
30003         (lrintl): Likewise.
30004         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
30005         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
30006         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
30008 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30010         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
30011         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
30013         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
30014         file.
30015         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
30016         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
30018 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
30020         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
30021         configure test.
30022         * sysdeps/i386/configure: Regenerated.
30023         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
30024         configure test.
30025         * sysdeps/x86_64/configure: Regenerated.
30026         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
30027         Make code unconditional.
30029         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
30030         test.
30031         * sysdeps/i386/configure: Regenerated.
30032         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
30033         test.
30034         * sysdeps/x86_64/configure: Regenerated.
30035         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
30036         Make code unconditional.
30037         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
30038         Likewise.
30039         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
30040         Likewise.
30041         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30042         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
30043         code unconditional.
30044         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30045         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
30046         code unconditional.
30047         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30048         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
30049         code unconditional.
30050         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
30051         code unconditional.
30052         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30053         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
30054         code unconditional.
30055         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30056         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
30057         code unconditional.
30058         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30059         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
30060         code unconditional.
30061         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30062         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
30063         code unconditional.
30064         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
30065         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
30067         [BZ #19095]
30068         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
30069         mantissa to long int before shifting left.
30071 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
30073         [BZ #19094]
30074         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
30075         <limits.h>.
30076         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30077         when result overflows but exception would not result from cast.
30078         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
30079         <limits.h>.
30080         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30081         when result overflows but exception would not result from cast.
30082         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
30083         <limits.h>.
30084         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30085         when result overflows but exception would not result from cast.
30086         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
30087         <limits.h>.
30088         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30089         when result overflows but exception would not result from cast.
30090         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
30091         <limits.h>.
30092         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
30093         when result overflows but exception would not result from cast.
30094         * math/libm-test.inc (lrint_test_data): Add more tests.
30095         (llrint_test_data): Likewise.
30097 2015-10-08  Roland McGrath  <roland@hack.frob.com>
30099         [BZ #18872]
30100         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
30101         Move out from under [$(run-built-tests) = yes] conditional.
30102         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
30103         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
30105 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
30107         [BZ #18589]
30108         * string/Makefile (tests): Add bug-strcoll2.
30109         (LOCALES): Add cs_CZ.UTF-8.
30110         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
30112         [BZ #18589]
30113         * string/bug-strcoll2.c: New file.
30114         * locale/categories.def: Revert commit
30115         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
30116         * locale/langinfo.h: Likewise.
30117         * locale/localeinfo.h: Likewise.
30118         * locale/C-collate.c: Likewise.
30119         * locale/programs/ld-collate.c (collate_output): Likewise.
30120         * string/strcoll_l.c (STRDIFF): Likewise.
30121         (STRCOLL): Likewise.
30122         * wcsmbs/wcscoll_l.c: Likewise.
30124 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
30126         * math/libm-test.inc (lround_test_data): Do not expect the absence
30127         of "inexact" for some tests with non-integer arguments.
30128         (llround_test_data): Likewise.
30130         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
30131         test.
30132         (libc_cv_cc_sse2avx): Likewise.
30133         * sysdeps/i386/configure: Regenerated.
30134         * sysdeps/i386/i686/multiarch/Makefile
30135         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
30136         [$(subdir) = math].
30137         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
30138         code unconditional.
30139         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30140         Likewise.
30141         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
30142         Likewise.
30143         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30144         Likewise.
30145         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
30146         test.
30147         (libc_cv_cc_sse2avx): Likewise.
30148         * sysdeps/x86_64/configure: Regenerated.
30149         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
30150         unconditional.
30151         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
30152         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
30153         unconditional.
30154         (_dl_runtime_profile)
30155         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
30156         conditional code.
30157         * sysdeps/x86_64/fpu/multiarch/Makefile
30158         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
30159         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
30160         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30161         * sysdeps/x86_64/fpu/multiarch/e_exp.c
30162         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30163         * sysdeps/x86_64/fpu/multiarch/e_log.c
30164         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30165         * sysdeps/x86_64/fpu/multiarch/s_atan.c
30166         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30167         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
30168         Likewise.
30169         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
30170         Likewise.
30171         * sysdeps/x86_64/fpu/multiarch/s_sin.c
30172         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30173         * sysdeps/x86_64/fpu/multiarch/s_tan.c
30174         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
30175         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
30176         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
30177         (HAVE_SSE2AVX_SUPPORT): Likewise.
30179 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
30181         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
30182         instead of #pragma optimize.
30184 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30186         [BZ #17195]
30187         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
30188         as is similarly done in systrim and _int_free already.
30190 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30192         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
30194 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30196         [BZ #19088]
30197         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
30198         <limits.h>.
30199         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30200         overflows but exception would not result from cast.
30201         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
30202         and <limits.h>.
30203         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
30204         overflows but exception would not result from cast.
30205         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
30206         <limits.h>.
30207         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30208         overflows but exception would not result from cast.
30209         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
30210         <limits.h>.
30211         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30212         overflows but exception would not result from cast.
30213         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
30214         <limits.h>.
30215         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
30216         overflows but exception would not result from cast.
30217         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
30218         <limits.h>.
30219         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
30220         overflows but exception would not result from cast.
30221         * math/libm-test.inc (lround_test_data): Add more tests.
30222         (llround_test_data): Likewise.
30224 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
30226         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
30227         (CFLAGS-ialloc.c): Ditto.
30228         (CFLAGS-scheck.c): Ditto.
30230 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
30232         [BZ #19086]
30233         * manual/filesys.texi (Storage Allocation): Fix argument order for
30234         posix_fallocate64.
30236 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30238         [BZ #19085]
30239         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
30240         exponent below 48 inside case for non-overflowing exponent.
30241         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
30243 2015-10-07  Florian Weimer  <fweimer@redhat.com>
30245         * iconvdata/cp737.h (from_idx): Add const.
30246         * iconvdata/cp775.h (from_idx): Likewise.
30248 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
30250         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
30251         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
30252         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
30254         [BZ #19079]
30255         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
30256         file, conditioned on [!_LP64].
30257         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
30258         [!_LP64] (__lround): Do not define as function or alias.
30259         [!_LP64] (lround): Likewise.
30260         [!_LP64] (__lroundl): Likewise.
30261         [!_LP64] (lroundl): Likewise.
30262         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
30263         macro.
30264         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30265         Likewise.
30267 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30269         * math/libm-test.inc (lrint_test_data): Add more tests.
30270         (llrint_test_data): Likewise.
30271         (lround_test_data): Likewise.
30272         (llround_test_data): Likewise.
30274         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
30275         (llrint_test_data): Add tests used for lrint.
30277         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
30278         test.
30279         * sysdeps/i386/configure: Regenerated.
30280         * sysdeps/i386/i686/multiarch/Makefile
30281         [$(config-cflags-sse4) = yes]: Make code unconditional.
30282         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30283         Likewise.
30284         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
30285         Likewise.
30286         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
30287         test.
30288         * sysdeps/x86_64/configure: Regenerated.
30289         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
30290         Make code unconditional.
30291         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
30292         Likewise.
30293         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
30294         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
30296         * scripts/rpm2dynsym.sh: Remove file.
30298 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30300         * configure.ac (libc_cv_cxx_thread_local): Define.
30301         * configure: Regenerate.
30302         * config.make.in (have-cxx-thread_local): Define.
30303         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
30304         (LDLIBS-tst-thread_local1): Define.
30305         (tests): Add tst-thread_local1.
30306         [have-cxx-thread_local != yes] (tests-unsupported): Add
30307         tst-thread_local1.
30308         * nptl/tst-thread_local1.cc: New file.
30310 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
30312         [BZ #19078]
30313         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
30314         (u_thres): Likewise.
30315         (__expl): Determine whether to call __kernel_standard_l based on
30316         value of result, not argument.
30318         * math/libm-test.inc (scalb_test_data): Add more expectations for
30319         the "inexact" exception.
30321         [BZ #19077]
30322         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
30323         0.0L for argument 1.0L.
30325         [BZ #19076]
30326         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
30327         constant 0.0L when computing infinite result.
30329 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30331         [BZ #10432]
30332         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
30333         malloc_usable_size.
30335 2015-10-06  Florian Weimer  <fweimer@redhat.com>
30337         [BZ #19018]
30338         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30339         Mangle function pointer before storing it.
30340         (__call_tls_dtors): Demangle function pointer before calling it.
30342 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30344         [BZ #19012]
30345         * iconv/gconv_db.c (gen_steps): Check for additional errors.
30346         Clean up on failure.
30348 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
30350         [BZ #19071]
30351         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
30352         long int variable to store possibly incremented high part of
30353         mantissa.
30354         * math/libm-test.inc (lround_test_data): Add tests used for
30355         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
30356         for tests requiring 64-bit long.  Do not condition tests on
30357         [TEST_FLOAT] unnecessarily.
30358         (llround_test_data): Add tests used for lround.  Add another
30359         expectation for the "inexact" exception.  Do not condition tests
30360         on [TEST_FLOAT] unnecessarily.
30362         [BZ #887]
30363         [BZ #19049]
30364         [BZ #19050]
30365         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
30366         * sysdeps/ieee754/dbl-64/e_log10.c: Include
30367         <fix-int-fp-convert-zero.h>.
30368         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30369         * sysdeps/ieee754/dbl-64/e_log2.c: Include
30370         <fix-int-fp-convert-zero.h>.
30371         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30372         * sysdeps/ieee754/dbl-64/s_erf.c: Include
30373         <fix-int-fp-convert-zero.h>.
30374         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30375         * sysdeps/ieee754/dbl-64/s_logb.c: Include
30376         <fix-int-fp-convert-zero.h>.
30377         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30378         * sysdeps/ieee754/flt-32/e_log10f.c: Include
30379         <fix-int-fp-convert-zero.h>.
30380         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30381         * sysdeps/ieee754/flt-32/e_log2f.c: Include
30382         <fix-int-fp-convert-zero.h>.
30383         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30384         * sysdeps/ieee754/flt-32/s_erff.c: Include
30385         <fix-int-fp-convert-zero.h>.
30386         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30387         * sysdeps/ieee754/flt-32/s_logbf.c: Include
30388         <fix-int-fp-convert-zero.h>.
30389         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30390         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
30391         <fix-int-fp-convert-zero.h>.
30392         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
30394         <fix-int-fp-convert-zero.h>.
30395         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
30396         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
30397         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
30398         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
30399         file.
30400         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
30402 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
30404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
30406 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
30408         [BZ #19059]
30409         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
30410         overflowing computation.
30411         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30412         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30413         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30414         Likewise.
30415         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30416         Likewise.
30417         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30418         Likewise.
30419         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30420         Likewise.
30421         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30422         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30423         Likewise.
30424         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30425         Likewise.
30426         * math/libm-test.inc (nexttoward_test_data): Add more tests.
30428         * nss/rewrite_field.c (__nss_rewrite_field): Use
30429         internal_function.
30430         * nss/valid_field.c (__nss_valid_field): Likewise.
30431         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
30433 2015-10-02  Florian Weimer  <fweimer@redhat.com>
30435         [BZ #18724]
30436         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
30437         (__nss_invalid_field_characters, __nss_valid_field)
30438         (__nss_valid_list_field, __nss_rewrite_field): Declare.
30439         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
30440         tst-field.c: New file.
30441         * nss/Makefile (routines): Add valid_field, rewrite_field.
30442         (tests-static): Define unconditionally.
30443         (tests): Include tests-static.
30444         [build-static-nss] (tests-static): Use append.
30445         [build-static-nss] (tests): Remove modification.
30446         * nss/getent.c (print_group): Call putgrent.  Report error.
30447         (print_gshadow): Call putsgent.  Report error.
30448         (print_passwd): Call putpwent.  Report error.
30449         (print_shadow): Call putspent.  Report error.
30450         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
30451         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
30452         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
30453         name, password, directory, shell fields for valid syntax.  Rewrite
30454         GECOS field to match syntax.
30455         * pwd/Makefile (tests): Add tst-putpwent.
30456         * pwd/tst-putpwent.c: New file.
30457         * grp/putgrent.c (putgrent): Convert to ISO function definition.
30458         Check grName, grpasswd, gr_mem fields for valid syntax.
30459         Change loop variable i to size_t.
30460         * grp/Makefile (tests): Add tst-putgrent.
30461         * grp/tst-putgrent.c: New file.
30462         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
30463         valid syntax.
30464         * shadow/Makefile (tests): Add tst-putspent.
30465         * shadow/tst-putspent.c: New file.
30466         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
30467         sg_mem fields for valid syntax.
30468         * gshadow/Makefile (tests): Add tst-putsgent.
30469         * gshadow/tst-putsgent.c: New file.
30471 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30473         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
30474         assembly instructions.
30476 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
30478         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
30479         prefix from operands.
30481 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
30483         [BZ #16347]
30484         [BZ #19046]
30485         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
30486         <libc-internal.h>.
30487         (MAXLGM): Do not use diagnostic control macros.
30488         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
30489         threshold for ldbl-128ibm.
30490         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
30491         instead of multiplying by log then subtracting.
30492         * math/auto-libm-test-in: Add more tests of lgamma.
30493         * math/auto-libm-test-out: Regenerated.
30495         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
30496         (TYPE_HEX_DIG): Likewise.
30497         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
30498         precisions when printing floating-point numbers.
30499         (check_float_internal): Likewise.
30501 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30503         [BZ #16620]
30504         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
30505         of log (10) rounded downward to 48 bits.
30506         (log10_low): Use corresponding low part of log (10).
30508         [BZ #19032]
30509         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
30510         compute result as (x - x) / (x - x) not as 0 / 0.
30511         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
30512         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
30514         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30515         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
30516         and expm1.
30517         * math/auto-libm-test-out: Regenerated.
30518         * math/libm-test.inc (acos_test_data): Add more tests.
30519         (asin_test_data): Likewise.
30520         (asinh_test_data): Likewise.
30521         (atan_test_data): Likewise.
30522         (atanh_test_data): Likewise.
30523         (atan2_test_data): Likewise.
30524         (cbrt_test_data): Likewise.
30525         (ceil_test_data): Likewise.
30526         (copysign_test_data): Likewise.
30527         (cos_test_data): Likewise.
30528         (cosh_test_data): Likewise.
30529         (erf_test_data): Likewise.
30530         (erfc_test_data): Likewise.
30531         (exp_test_data): Likewise.
30532         (exp10_test_data): Likewise.
30533         (exp2_test_data): Likewise.
30534         (expm1_test_data): Likewise.
30535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30537 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
30539         [BZ #19006]
30540         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
30541         to ...
30542         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
30543         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
30544         to ...
30545         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
30546         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
30547         to ...
30548         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
30549         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
30550         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
30551         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
30552         to ...
30553         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
30554         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
30555         Moved to ...
30556         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
30557         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
30558         Moved to ...
30559         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
30560         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
30561         to ...
30562         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
30563         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
30564         Moved to ...
30565         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
30566         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
30567         to ...
30568         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
30569         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
30570         Removed.
30571         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
30572         Likewise.
30573         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
30574         Likewise.
30575         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
30576         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
30577         Likewise.
30578         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
30579         Likewise.
30580         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
30581         Likewise.
30582         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
30583         Likewise.
30584         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
30585         Likewise.
30586         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
30587         Likewise.
30588         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
30589         Likewise.
30590         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
30591         Likewise.
30592         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
30593         Likewise.
30594         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
30595         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
30596         Likewise.
30597         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
30598         Likewise.
30599         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
30600         Likewise.
30601         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
30602         Likewise.
30603         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
30604         Likewise.
30605         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
30606         Replace ../i486/pthread_cond_timedwait.S with
30607         ../pthread_cond_timedwait.S.
30609 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
30611         * math/libm-test.inc (acos_test_data): Refine expectations for
30612         errno and "inexact" exceptions.
30613         (acosh_test_data): Likewise.
30614         (asin_test_data): Likewise.
30615         (asinh_test_data): Likewise.
30616         (atan_test_data): Likewise.
30617         (atanh_test_data): Likewise.
30618         (atan2_test_data): Likewise.
30619         (cbrt_test_data): Likewise.
30620         (ceil_test_data): Likewise.
30621         (copysign_test_data): Likewise.
30622         (cosh_test_data): Likewise.
30623         (erf_test_data): Likewise.
30624         (erfc_test_data): Likewise.
30625         (exp_test_data): Likewise.
30626         (exp10_test_data): Likewise.
30627         (exp2_test_data): Likewise.
30628         (expm1_test_data): Likewise.
30629         (fabs_test_data): Likewise.
30630         (floor_test_data): Likewise.
30631         (fma_test_data): Likewise.
30632         (fmax_test_data): Likewise.
30633         (fmin_test_data): Likewise.
30634         (fmod_test_data): Likewise.
30635         (fpclassify_test_data): Likewise.
30636         (frexp_test_data): Likewise.
30637         (hypot_test_data): Likewise.
30638         (ilogb_test_data): Likewise.
30639         (isgreater_test_data): Likewise.
30640         (isgreaterequal_test_data): Likewise.
30641         (isinf_test_data): Likewise.
30642         (isless_test_data): Likewise.
30643         (islessequal_test_data): Likewise.
30644         (islessgreater_test_data): Likewise.
30645         (isnan_test_data): Likewise.
30646         (isnormal_test_data): Likewise.
30647         (issignaling_test_data): Likewise.
30648         (isunordered_test_data): Likewise.
30649         (j0_test_data): Likewise.
30650         (j1_test_data): Likewise.
30651         (jn_test_data): Likewise.
30652         (lgamma_test_data): Likewise.
30653         (lrint_test_data): Likewise.
30654         (llrint_test_data): Likewise.
30655         (log_test_data): Likewise.
30656         (log10_test_data): Likewise.
30657         (log1p_test_data): Likewise.
30658         (log2_test_data): Likewise.
30659         (logb_test_data): Likewise.
30660         (lround_test_data): Likewise.
30661         (llround_test_data): Likewise.
30662         (modf_test_data): Likewise.
30663         (nearbyint_test_data): Likewise.
30664         (nextafter_test_data): Likewise.
30665         (nexttoward_test_data): Likewise.
30666         (pow_test_data): Likewise.
30667         (remainder_test_data): Likewise.
30668         (remquo_test_data): Likewise.
30669         (rint_test_data): Likewise.
30670         (round_test_data): Likewise.
30671         (signbit_test_data): Likewise.
30672         (sinh_test_data): Likewise.
30673         (sqrt_test_data): Likewise.
30674         (tanh_test_data): Likewise.
30675         (tgamma_test_data): Likewise.
30676         (trunc_test_data): Likewise.
30677         (y0_test_data): Likewise.
30678         (y1_test_data): Likewise.
30679         (yn_test_data): Likewise.
30680         (significand_test_data): Likewise.
30682 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
30684         * manual/filesys.texi (Storage Allocation): Document that
30685         posix_fallocate emulation fails when fd is open with O_WRONLY.
30687 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
30689         [BZ #19016]
30690         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
30691         allow more cases with X^2 + Y^2 >= 0.5.
30692         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
30693         normal element in sum instead of special-casing based on values of
30694         arguments.
30695         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
30696         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
30697         -1 as normal element in sum instead of special-casing based on
30698         values of arguments.
30699         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
30700         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
30701         (__x2y2m1): Update comment.
30702         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
30703         as normal element in sum instead of special-casing based on values
30704         of arguments.
30705         * math/s_clog.c (__clog): Handle more cases using log1p without
30706         hypot.
30707         * math/s_clog10.c (__clog10): Likewise.
30708         * math/s_clog10f.c (__clog10f): Likewise.
30709         * math/s_clog10l.c (__clog10l): Likewise.
30710         * math/s_clogf.c (__clogf): Likewise.
30711         * math/s_clogl.c (__clogl): Likewise.
30712         * math/auto-libm-test-in: Add more tests of clog and clog10.
30713         * math/auto-libm-test-out: Regenerated.
30714         * sysdeps/i386/fpu/libm-test-ulps: Update.
30715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30717 2015-09-28  Martin Sebor  <msebor@redhat.com>
30719         [BZ #18969]
30720         * string/Makefile (LOCALES): Define.
30721         (gen-locales.mk): Include.
30722         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
30723         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
30724         * string/tst-strxfrm2.c (do_test): Print the name of the locale
30725         on setlocale failure.
30727 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
30729         [BZ #18985]
30730         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
30731         (__strftime_internal): Likewise.
30732         * time/tst-strftime.c (do_bz18985): New test.
30733         (do_test): Call it.
30735 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
30737         [BZ #18956]
30738         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
30739         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
30740         extracting high part.
30741         * math/auto-libm-test-in: Add another test of pow.
30742         * math/auto-libm-test-out: Regenerated.
30743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30745 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30747         [BZ #18825]
30748         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
30749         New macro.
30750         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
30751         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30752         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
30753         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
30754         DBL_NARROW_EVAL, reloading the PIC register as needed.
30755         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
30756         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
30757         FLT_NARROW_EVAL.  Use separate return path for case when first
30758         argument is NaN.
30759         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
30760         DEFINE_LDBL_MIN.
30761         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
30762         PIC register.
30763         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
30764         math_check_force_underflow_nonneg.
30765         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
30766         underflow for subnormal result.
30767         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
30768         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
30769         math_check_force_underflow_nonneg.
30770         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
30771         math_check_force_underflow.
30772         * sysdeps/x86_64/fpu/x86_64-math-asm.h
30773         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
30774         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
30775         DEFINE_LDBL_MIN.
30776         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
30777         * math/auto-libm-test-in: Add more tests of pow.
30778         * math/auto-libm-test-out: Regenerated.
30780 2015-09-25  Florian Weimer  <fweimer@redhat.com>
30782         * nss/bug17079.c (init_test_items): Add diagnostic for
30783         inconsistent entries.
30784         (test_buffer_size): Skip inconsistent entries.
30786 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
30788         [BZ #13304]
30789         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
30790         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
30791         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
30793         [BZ #13304]
30794         * sysdeps/microblaze/s_fma.c: New file.
30795         * sysdeps/microblaze/s_fmaf.c: Likewise.
30796         * sysdeps/microblaze/sfp-machine.h: Likewise.
30798 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
30800         [BZ #17250]
30801         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
30802         member.
30804 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30806         [BZ #18803]
30807         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
30808         (MO): New macro.
30809         (__ieee754_hypot) [PIC]: Load PIC register.
30810         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
30811         DBL_NARROW_EVAL.
30812         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
30813         math_check_force_underflow_nonneg in case where result might be
30814         tiny.
30815         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
30816         Likewise.
30817         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30818         Likewise.
30819         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
30820         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
30821         * math/auto-libm-test-in: Add more tests of hypot.
30822         * math/auto-libm-test-out: Regenerated.
30824 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
30826         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
30828 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
30830         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
30831         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
30832         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30833         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30834         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
30835         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30836         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30838         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
30839         LOAD_PIC_REG.
30841         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
30842         (FLT_CHECK_FORCE_UFLOW): Likewise.
30843         (DBL_CHECK_FORCE_UFLOW): Likewise.
30844         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
30845         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
30846         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
30847         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30848         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
30849         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30850         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30851         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
30852         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
30853         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30854         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
30855         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
30856         (flt_min): Replace with use of DEFINE_FLT_MIN.
30857         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30858         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30859         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30860         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30861         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30862         (flt_min): Replace with use of DEFINE_FLT_MIN.
30863         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30864         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30865         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30866         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30867         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30868         (flt_min): Replace with use of DEFINE_FLT_MIN.
30869         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30870         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30871         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30872         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30873         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30874         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30875         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30876         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30877         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30878         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30879         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30880         (flt_min): Replace with use of DEFINE_FLT_MIN.
30881         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30882         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30883         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30884         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30885         main computation.
30886         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30887         (flt_min): Replace with use of DEFINE_FLT_MIN.
30888         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30889         main computation.
30890         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30891         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30892         (MO): New macro.
30893         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30894         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30895         (flt_min): Replace with use of DEFINE_FLT_MIN.
30896         (MO): New macro.
30897         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30898         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30899         (__log1pl): Use MO.
30901         [BZ #19003]
30902         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30903         $(config-cflags-nofma).
30905 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30907         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30909 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30911         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30912         (TWO127): Likewise.
30914         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30915         (min_of_type): Likewise.
30916         (math_check_force_underflow): Likewise.
30917         (math_check_force_underflow_nonneg): Likewise.
30918         (math_check_force_underflow_complex): Likewise.
30919         * math/e_exp2l.c (__ieee754_exp2l): Use
30920         math_check_force_underflow_nonneg.
30921         * math/k_casinh.c (__kernel_casinh): Likewise.
30922         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30923         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30924         * math/s_catan.c (__catan): Use
30925         math_check_force_underflow_complex.
30926         * math/s_catanf.c (__catanf): Likewise.
30927         * math/s_catanh.c (__catanh): Likewise.
30928         * math/s_catanhf.c (__catanhf): Likewise.
30929         * math/s_catanhl.c (__catanhl): Likewise.
30930         * math/s_catanl.c (__catanl): Likewise.
30931         * math/s_ccosh.c (__ccosh): Likewise.
30932         * math/s_ccoshf.c (__ccoshf): Likewise.
30933         * math/s_ccoshl.c (__ccoshl): Likewise.
30934         * math/s_cexp.c (__cexp): Likewise.
30935         * math/s_cexpf.c (__cexpf): Likewise.
30936         * math/s_cexpl.c (__cexpl): Likewise.
30937         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30938         * math/s_clog10.c (__clog10): Likewise.
30939         * math/s_clog10f.c (__clog10f): Likewise.
30940         * math/s_clog10l.c (__clog10l): Likewise.
30941         * math/s_clogf.c (__clogf): Likewise.
30942         * math/s_clogl.c (__clogl): Likewise.
30943         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30944         * math/s_csinf.c (__csinf): Likewise.
30945         * math/s_csinh.c (__csinh): Likewise.
30946         * math/s_csinhf.c (__csinhf): Likewise.
30947         * math/s_csinhl.c (__csinhl): Likewise.
30948         * math/s_csinl.c (__csinl): Likewise.
30949         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30950         * math/s_csqrtf.c (__csqrtf): Likewise.
30951         * math/s_csqrtl.c (__csqrtl): Likewise.
30952         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30953         * math/s_ctanf.c (__ctanf): Likewise.
30954         * math/s_ctanh.c (__ctanh): Likewise.
30955         * math/s_ctanhf.c (__ctanhf): Likewise.
30956         * math/s_ctanhl.c (__ctanhl): Likewise.
30957         * math/s_ctanl.c (__ctanl): Likewise.
30958         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30959         instead of volatile.
30960         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30961         math_check_force_underflow.
30962         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30963         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30964         volatile when forcing underflow.
30965         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30966         math_check_force_underflow_nonneg.
30967         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30968         Likewise.
30969         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30970         math_check_force_underflow.
30971         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30972         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30973         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30974         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30975         math_check_force_underflow_nonneg.
30976         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30977         math_check_force_underflow.
30978         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30979         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30980         instead of volatile.
30981         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30982         math_check_force_underflow.
30983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30984         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30985         math_check_force_underflow_nonneg.
30986         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30987         math_check_force_underflow.
30988         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30989         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30990         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30991         math_check_force_underflow_nonneg.
30992         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30993         Likewise.
30994         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30995         math_check_force_underflow.
30996         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30997         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30998         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30999         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
31000         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
31001         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
31002         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
31003         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
31004         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
31005         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
31006         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
31007         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
31008         Likewise.
31009         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
31010         math_check_force_underflow_nonneg.
31011         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31012         Likewise.
31013         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
31014         math_check_force_underflow.
31015         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31016         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
31017         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
31018         Likewise.
31019         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
31020         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
31021         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
31022         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
31023         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
31024         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
31025         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
31026         instead of volatile.
31027         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
31028         math_check_force_underflow.
31029         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
31030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
31031         math_check_force_underflow.
31032         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
31033         Likewise.
31034         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31035         Use math_check_force_underflow_nonneg.
31036         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
31037         math_check_force_underflow.
31038         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
31039         Likewise.
31040         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
31041         Likewise.
31042         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
31043         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
31044         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
31045         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
31046         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
31047         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
31048         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
31049         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
31050         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
31051         math_check_force_underflow_nonneg.
31052         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
31053         math_check_force_underflow.
31054         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31055         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
31056         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
31057         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
31058         math_check_force_underflow_nonneg.
31059         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
31060         math_check_force_underflow.
31061         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
31062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
31063         instead of volatile.
31064         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
31065         math_check_force_underflow.
31067         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
31068         * stdlib/strtod_l.c: Include <math_private.h>.
31069         (overflow_value): Use math_narrow_eval.
31070         (underflow_value): Likewise.
31071         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
31072         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
31073         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
31074         (__ieee754_gamma_r): Likewise.
31075         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
31076         Likewise.
31077         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
31078         Likewise.
31079         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
31080         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
31081         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
31082         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
31083         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
31084         (__ieee754_gammaf_r): Likewise.
31085         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
31086         Likewise.
31087         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
31088         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
31089         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
31090         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
31091         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
31092         volatile.
31093         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
31094         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
31095         math_narrow_eval.
31096         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
31097         Likewise.
31098         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
31099         Likewise.
31100         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
31101         Likewise.
31102         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
31103         volatile.
31104         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
31105         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
31106         math_narrow_eval.
31107         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
31108         Likewise.
31109         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
31110         Likewise.
31112 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
31114         * nptl/Versions: Remove ignored symbols.
31116 2015-09-22  Florian Weimer  <fweimer@redhat.com>
31118         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
31119         * nss/Makefile (tests): Update.
31121 2015-09-22  Florian Weimer  <fweimer@redhat.com>
31123         * nss/bug18287.c: New file.
31124         * nss/Makefile (tests): Add bug18287.
31126 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31128         * mach/Versions (__mach_host_self_): Add symbol.
31130 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31132         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
31133         vm_page_size.
31135 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31137         Really fix sysdeps/i386/fpu/s_scalbn.S build
31139         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
31140         (libc: GLIBC_2_22): Remove unused version set.
31142 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31144         * config.make.in (enable-timezone-tools): New variable.
31145         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
31146         (enable_timezone_tools): Export to generated files.
31147         * configure: Regenerate.
31148         * INSTALL: Regenerate.
31149         * manual/install.texi (--disable-timezone-tools): Document new flag.
31150         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
31151         ifeq ($(enable-timezone-tools),yes) check.
31153 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31155         * timezone/Makefile: Revert previous change.
31157         [BZ #18980]
31158         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
31159         (DEFINE_DBL_MIN): Likewise.
31160         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31161         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
31162         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31163         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
31164         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
31165         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31166         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31167         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
31168         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
31169         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31170         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31171         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
31172         (flt_min): Replace with use of DEFINE_FLT_MIN.
31173         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31174         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
31175         (dbl_min): Replace with use of DEFINE_DBL_MIN.
31176         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
31177         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
31178         (flt_min): Replace with use of DEFINE_FLT_MIN.
31179         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31180         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
31181         (flt_min): Replace with use of DEFINE_FLT_MIN.
31182         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
31183         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
31184         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
31185         (__ieee754_hypot): Use DBL_NARROW_EVAL.
31186         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
31187         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
31188         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
31189         (__ieee754_pow): Use DBL_NARROW_EVAL.
31190         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
31191         (__ieee754_powf): Use FLT_NARROW_EVAL.
31192         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
31193         (__ieee754_expf_sse2): Convert double-precision result to single
31194         precision.
31195         * sysdeps/i386/fpu/libm-test-ulps: Update.
31197 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31199         * timezone/Makefile: Ignore unused variable errors due to private.h
31200         (time_t_min) and (time_t_max).
31201         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
31202         Likewise.
31204 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31206         [BZ #18981]
31207         * sysdeps/i386/fpu/i386-math-asm.h: New file.
31208         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
31209         (__ieee754_scalb): Use DBL_NARROW_EVAL.
31210         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
31211         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
31212         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
31213         (__scalbn): Use DBL_NARROW_EVAL.
31214         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
31215         (__scalbnf): Use FLT_NARROW_EVAL.
31217 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31219         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
31220         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
31221         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
31222         * stdio-common/printf_fp.c (___printf_fp):
31223         Use signbit to get the sign. Use isinf macro to allow inlining.
31224         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
31225         * stdio-common/printf_size.c (__printf_size): Likewise.
31227 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
31229         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
31231 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
31233         [BZ #18980]
31234         * sysdeps/generic/math_private.h: Include <float.h>.
31235         (math_narrow_eval): New macro.
31236         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
31237         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
31238         math_narrow_eval on overflowing return value.
31239         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
31240         Likewise.
31241         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
31242         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
31243         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
31244         Likewise.
31245         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
31247 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31249         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
31250         * math/Makefile: Remove isinf_ns.c.
31251         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
31252         * math/multc3.c (__multc3): Likewise.
31253         * math/s_casin.c (__casin): Likewise.
31254         * math/s_casinf.c (__casinf): Likewise.
31255         * math/s_casinl.c (__casinl): Likewise.
31256         * math/s_cproj.c (__cproj): Likewise.
31257         * math/s_cprojf.c (__cprojf): Likewise.
31258         * math/s_cprojl.c (__cprofl): Likewise.
31259         * math/s_ctan.c (__ctan): Likewise.
31260         * math/s_ctanf.c (__ctanf): Likewise.
31261         * math/s_ctanh.c (__ctanh): Likewise.
31262         * math/s_ctanhf.c (__ctanhf): Likewise.
31263         * math/s_ctanhl.c (__ctanhl): Likewise.
31264         * math/s_ctanl.c (__ctanl): Likewise.
31265         * math/w_fmod.c (__fmod): Likewise.
31266         * math/w_fmodf.c (__fmodf): Likewise.
31267         * math/w_fmodl.c (_fmodl): Likewise.
31268         * math/w_remainder.c (__remainder): Likewise.
31269         * math/w_remainderf.c (__remainderf): Likewise.
31270         * math/w_remainderl.c (__remainderl): Likewise.
31271         * math/w_scalb.c (__scalb): Likewise.
31272         * math/w_scalbf.c (__scalbf): Likewise.
31273         * math/w_scalbl.c (__scalbl): Likewise.
31274         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
31275         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
31276         with isinf.
31277         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
31278         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
31279         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
31280         __isinf_nsf with isinf.
31281         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
31282         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
31283         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
31284         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
31285         with isinf.
31286         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
31287         __isinf_nsl with isinf.
31288         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
31289         with isinf.
31290         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
31291         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
31292         __isinf_nsl with isinf.
31293         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
31294         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
31295         with isinf.
31297 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31299         * resolv/base64.c (rcsid): Remove unused static.
31300         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
31301         static.  (tqpi1): Likewise.
31302         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
31303         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
31304         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
31305         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
31306         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
31307         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
31308         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
31309         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
31310         Likewise.
31312 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
31314         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
31315         <nptl/pthreadP.h>.
31316         (_longjmp_unwind): Use __libc_ptf_call.
31317         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
31319 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
31321         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
31322         * sysdeps/arm/__longjmp.S: Likewise.
31324 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31326         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
31327         Use __builtin_signbit.
31328         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
31329         Use __builtin_signbitf.
31330         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
31331         Use __builtin_signbitl.
31332         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
31333         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
31335 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31337         [BZ #15367]
31338         [BZ #17441]
31340         * math/Makefile: Build test-snan.c with -fsignaling-nans.
31341         * math/math.h (fpclassify): Use __builtin_fpclassify when
31342         available.  (signbit): Use __builtin_signbit(f/l).
31343         (isfinite): Use__builtin_isfinite.  (isnormal): Use
31344         __builtin_isnormal.  (isnan): Use __builtin_isnan.
31345         (isinf): Use __builtin_isinf_sign.
31347 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
31349         * benchtests/Makefile: Add bench-math-inlines, link with libm.
31350         * benchtests/bench-math-inlines.c: New benchmark.
31351         * benchtests/bench-util.h: New file.
31352         * benchtests/bench-util.c: New file.
31353         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
31355 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
31357         * elf/tst-dlmopen1.c: Define TEST_SO.
31358         (do_test): Use TEST_SO.
31360         * elf/dl-load.c: Include libc-internal.h.
31361         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
31363 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31365         [BZ #17887]
31366         * time/strptime_l.c (__strptime_internal): Make %z accept
31367         [+-]HH:MM time zones.
31369 2015-09-18  Vincent Bernat  <vincent@bernat.im>
31371         [BZ #17886]
31372         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
31373         valid time zone.
31375 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
31377         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
31378         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
31379         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
31380         (__ASSUME_FDATASYNC): Delete.
31382 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31384         * conform/linknamespace.pl: Require weak undefined symbols to be
31385         in the standard namespace.
31386         (%strong_syms): Rename to %seen_syms.
31387         (%strong_seen): Rename to %seen_where.
31389 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
31391         [BZ #18970]
31392         * misc/error.c (error): Replace pthread_setcancelstate with
31393         __pthread_setcancelstate.
31394         (error_at_line): Likewise.
31395         * posix/wordexp.c (parse_comm): Likewise.
31396         * stdlib/fmtmsg.c (fmtmsg): Likewise.
31397         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
31398         (__pthread_setcancelstate): This.
31399         (pthread_setcancelstate): Add an alias.
31400         * nptl/nptl-init.c (pthread_functions): Replace
31401         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
31402         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
31403         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
31404         hidden_proto.
31405         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
31406         it with hidden_def.
31407         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
31408         (pthread_setcancelstate): Renamed to ...
31409         (__pthread_setcancelstate): This.
31410         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
31411         __libc_ptf_call with __pthread_setcancelstate.
31413 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31414             Andreas Schwab  <schwab@suse.de>
31416         [BZ #17118]
31417         * math/s_ctan.c (__ctan): Determine sign of zero real part of
31418         result when imaginary part of argument is infinite using sine and
31419         cosine.
31420         * math/s_ctanf.c (__ctanf): Likewise.
31421         * math/s_ctanl.c (__ctanl): Likewise.
31422         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
31423         of result when real part of argument is infinite using sine and
31424         cosine.
31425         * math/s_ctanhf.c (__ctanhf): Likewise.
31426         * math/s_ctanhl.c (__ctanhl): Likewise.
31427         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
31428         (ctanh_test_data): Add more tests of ctanh.
31430 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
31432         [BZ #15384]
31433         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
31434         bit-mask as in subtraction.
31435         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
31436         Likewise.
31437         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
31438         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
31439         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
31441         [BZ #18951]
31442         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
31443         underflow exception for small results.
31444         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
31445         Likewise.
31446         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
31447         Likewise.
31448         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
31449         Likewise.
31450         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
31451         Likewise.
31452         * math/auto-libm-test-in: Add more tests of tgamma.
31453         * math/auto-libm-test-out: Regenerated.
31455 2015-09-17  Andreas Schwab  <schwab@suse.de>
31457         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
31459 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31461         [BZ #18977]
31462         * math/bits/mathcalls.h
31463         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
31464         not declare.
31465         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
31466         Likewise.
31467         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
31468         Likewise.
31469         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
31470         Likewise.
31471         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
31472         Likewise.
31473         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
31474         Likewise.
31475         * conform/data/math.h-data
31476         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
31477         function.
31478         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
31479         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
31480         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
31481         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
31482         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
31483         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
31484         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
31485         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
31486         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
31487         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
31488         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
31490         [BZ #6803]
31491         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
31492         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
31493         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
31494         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
31495         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
31496         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
31497         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
31498         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
31499         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31500         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
31501         Likewise.
31502         [NO_LONG_DOUBLE] (scalbnl): Likewise.
31503         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
31504         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
31505         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
31506         long_double_symbol calls.
31507         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
31508         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
31509         strong alias of __ldexpl.
31510         (scalbnl): Define using long_double_symbol.
31511         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
31512         Remove alias.
31513         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
31514         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
31515         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
31516         (scalbln_test_data): Add more errno expectations.
31518 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
31520         Cache the host port like we cache the task port.  This way we do not
31521         need to call the kernel just to get the port.  Furthermore, we no
31522         longer increase the reference count on every invocation of
31523         `mach_host_self'.
31525         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
31526         Protect declarations against the macro expansion.
31527         * mach/mach_init.c (__mach_host_self_): New variable.
31528         (mach_init): Initialize `__mach_host_self_'.
31529         * mach/mach_init.h (__mach_host_self_): New declaration.
31530         (__mach_host_self, mach_host_self): New macros.
31531         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
31532         Release reference.
31534 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
31536         [BZ #4404]
31537         * po/de.po: Update from Translation Project.
31539         [BZ #16415]
31540         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
31541         (__expm1l): Remove code to handle positive infinity and overflow.
31542         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
31543         variable.
31544         (__expm1l): Remove code to handle positive infinity and overflow.
31546 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
31547             Paul Pluzhnikov  <ppluzhnikov@google.com>
31549         [BZ #18872]
31550         * stdio-common/Makefile (tst-printf-bz18872): New test.
31551         (tst-printf-bz18872-mem.out): Likewise.
31552         * stdio-common/tst-printf-bz18872.sh: Generate new test.
31553         * stdio-common/vfprintf.c: Fix memory leaks.
31555 2015-09-16  Andreas Schwab  <schwab@suse.de>
31557         [BZ #17244]
31558         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
31559         Remove extra va_start/va_end calls.
31561         [BZ #17243]
31562         * posix/execl.c (execl): Add missing va_end.
31563         * posix/execle.c (execle): Likewise.
31564         * posix/execlp.c (execlp): Likewise.
31566 2015-09-15  Roland McGrath  <roland@hack.frob.com>
31568         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
31569         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
31571 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
31573         [BZ #18967]
31574         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
31575         undefine around includes of <bits/mathcalls.h>.
31576         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
31577         not declare function.
31578         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
31579         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
31580         (scalb): Likewise.
31581         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
31582         not define macro.
31583         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
31584         variable.
31585         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
31586         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
31587         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
31589         [BZ #18857]
31590         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
31591         return non-finite argument without doing ordered comparisons on
31592         it.
31594         [BZ #16296]
31595         * math/fenv.h (fegetround): Use __attribute_pure__.
31596         * include/fenv.h (__fegetround): Likewise.
31598         [BZ #18595]
31599         * math/s_ctan.c (__ctan): Force underflow exception for results
31600         whose real or imaginary part has small absolute value.
31601         * math/s_ctanf.c (__ctanf): Likewise.
31602         * math/s_ctanh.c (__ctanh): Likewise.
31603         * math/s_ctanhf.c (__ctanhf): Likewise.
31604         * math/s_ctanhl.c (__ctanhl): Likewise.
31605         * math/s_ctanl.c (__ctanl): Likewise.
31606         * math/auto-libm-test-in: Do not allow missing underflow for ctan
31607         and ctanh.  Add more tests of ctan and ctanh.
31609         [BZ #15918]
31610         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
31611         handling of cases where one argument is an infinity.
31613         [BZ #18875]
31614         [BZ #18966]
31615         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
31616         (MO): New macro.
31617         (__ieee754_exp10): For small results, force underflow exception
31618         and remove excess range and precision from return value.
31619         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
31620         (MO): New macro.
31621         (__ieee754_exp10f): For small results, force underflow exception
31622         and remove excess range and precision from return value.
31623         * math/auto-libm-test-in: Add more tests of exp10.
31624         * math/auto-libm-test-out: Regenerated.
31626 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
31628         [BZ #18875]
31629         [BZ #18961]
31630         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
31631         (MO): New macro.
31632         (__ieee754_exp): For small results, force underflow exception and
31633         remove excess range and precision from return value.
31634         (__exp_finite): Likewise.
31635         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
31636         (MO): New macro.
31637         (__ieee754_expf): For small results, force underflow exception and
31638         remove excess range and precision from return value.
31639         (__expf_finite): Likewise.
31640         * math/auto-libm-test-in: Add more tests of exp.
31641         * math/auto-libm-test-out: Regenerated.
31643         [BZ #16521]
31644         [BZ #18875]
31645         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
31646         small results.
31647         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
31648         (MO): New macro.
31649         (__ieee754_exp2): For small results, force underflow exception and
31650         remove excess range and precision from return value.
31651         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
31652         (MO): New macro.
31653         (__ieee754_exp2f): For small results, force underflow exception
31654         and remove excess range and precision from return value.
31655         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
31656         (MO): New macro.
31657         (__ieee754_exp2l): Force underflow exception for small results.
31658         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
31659         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
31660         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
31661         (MO): New macro.
31662         (__ieee754_exp2l): Force underflow exception for small results.
31663         * math/auto-libm-test-in: Add more tests or exp2.
31664         * math/auto-libm-test-out: Regenerated.
31666 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
31668         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
31670         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
31671         /dev/null.
31673 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31675         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31676         io fs process)): Drop spurious backslash.
31678 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31680         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
31681         Use sysinfo system call instead of parsing /proc/meminfo.
31682         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
31683         Likewise.
31685 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
31687         [BZ #16985]
31688         * programs/localedef.c (main): Display argv[remaining] when
31689         output_path is NULL.
31691 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31693         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
31694         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
31695         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
31696         tanh.
31697         * math/auto-libm-test-out: Regenerated.
31698         * sysdeps/i386/fpu/libm-test-ulps: Update.
31699         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31700         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31703 2015-09-11  Roland McGrath  <roland@hack.frob.com>
31705         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
31706         Use 'override' keyword to freeze the value here, preventing
31707         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
31709 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
31711         [BZ #14912]
31712         * sysdeps/aarch64/bits/atomic.h: Move to ...
31713         * sysdeps/aarch64/atomic-machine.h: ...here.
31714         (_AARCH64_BITS_ATOMIC_H): Rename macro to
31715         _AARCH64_ATOMIC_MACHINE_H.
31716         * sysdeps/alpha/bits/atomic.h: Move to ...
31717         * sysdeps/alpha/atomic-machine.h: ...here.
31718         * sysdeps/arm/bits/atomic.h: Move to ...
31719         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
31720         * bits/atomic.h: Move to ...
31721         * sysdeps/generic/atomic-machine.h: ...here.
31722         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31723         * sysdeps/i386/bits/atomic.h: Move to ...
31724         * sysdeps/i386/atomic-machine.h: ...here.
31725         * sysdeps/ia64/bits/atomic.h: Move to ...
31726         * sysdeps/ia64/atomic-machine.h: ...here.
31727         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
31728         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
31729         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31730         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
31731         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
31732         * sysdeps/microblaze/bits/atomic.h: Move to ...
31733         * sysdeps/microblaze/atomic-machine.h: ...here.
31734         * sysdeps/mips/bits/atomic.h: Move to ...
31735         * sysdeps/mips/atomic-machine.h: ...here.
31736         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
31737         * sysdeps/powerpc/bits/atomic.h: Move to ...
31738         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
31739         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
31740         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
31741         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
31742         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
31743         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
31744         <atomic-machine.h> instead of <bits/atomic.h>.
31745         * sysdeps/s390/bits/atomic.h: Move to ...
31746         * sysdeps/s390/atomic-machine.h: ...here.
31747         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
31748         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
31749         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31750         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
31751         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
31752         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
31753         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
31754         * sysdeps/tile/bits/atomic.h: Move to ...
31755         * sysdeps/tile/atomic-machine.h: ...here.
31756         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
31757         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
31758         <sysdeps/tile/atomic-machine.h> instead of
31759         <sysdeps/tile/bits/atomic.h>.
31760         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31761         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
31762         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
31763         <sysdeps/tile/atomic-machine.h> instead of
31764         <sysdeps/tile/bits/atomic.h>.
31765         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31766         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
31767         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
31768         <sysdeps/arm/atomic-machine.h> instead of
31769         <sysdeps/arm/bits/atomic.h>.
31770         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
31771         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
31772         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31773         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
31774         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
31775         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
31776         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
31777         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
31778         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
31779         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
31780         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
31781         * sysdeps/x86_64/bits/atomic.h: Move to ...
31782         * sysdeps/x86_64/atomic-machine.h: ...here.
31783         * include/atomic.h: Include <atomic-machine.h> instead of
31784         <bits/atomic.h>.
31786         * sysdeps/mips/mips32/libm-test-ulps: Update.
31787         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31789         [BZ #18952]
31790         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
31791         not convert non-integer negative arguments to int to determine the
31792         value of signgam.
31793         * math/auto-libm-test-in: Add more tests of lgamma.
31794         * math/auto-libm-test-out: Regenerated.
31796         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
31797         cosh, csqrt, erfc, expm1 and lgamma.
31798         * math/auto-libm-test-out: Regenerated.
31799         * sysdeps/i386/fpu/libm-test-ulps: Update.
31800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31802 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
31804         [BZ #2542]
31805         [BZ #2543]
31806         [BZ #2558]
31807         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
31808         __lgamma_neg for arguments from -28.0 to -2.0.
31809         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
31810         __lgamma_negf for arguments from -15.0 to -2.0.
31811         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
31812         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
31813         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
31814         Call __lgamma_negl for arguments from -33.0 to -2.0.
31815         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
31816         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
31817         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
31818         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
31819         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
31820         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
31821         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
31822         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
31823         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
31824         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
31825         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
31826         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
31827         (__lgamma_neg): Likewise.
31828         (__lgamma_negl): Likewise.
31829         (__lgamma_product): Likewise.
31830         (__lgamma_productl): Likewise.
31831         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
31832         * math/auto-libm-test-in: Add more tests of lgamma.
31833         * math/auto-libm-test-out: Regenerated.
31834         * sysdeps/i386/fpu/libm-test-ulps: Update.
31835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31837 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
31839         [BZ #18675]
31840         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
31842 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
31844         [BZ #14912]
31845         * bits/libc-lock.h: Move to ...
31846         * sysdeps/generic/libc-lock.h: ...here.
31847         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31848         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
31849         * sysdeps/mach/hurd/libc-lock.h: ...here.
31850         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31851         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
31852         * sysdeps/mach/bits/libc-lock.h: Move to ...
31853         * sysdeps/mach/libc-lock.h: ...here.
31854         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31855         * sysdeps/nptl/bits/libc-lock.h: Move to ...
31856         * sysdeps/nptl/libc-lock.h: ...here.
31857         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31858         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31859         * sysdeps/nptl/libc-lockP.h: ...here.
31860         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31861         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31862         <bits/libc-lock.h>.
31863         * dirent/scandir-tail.c: Likewise.
31864         * dlfcn/dlerror.c: Likewise.
31865         * elf/dl-close.c: Likewise.
31866         * elf/dl-iteratephdr.c: Likewise.
31867         * elf/dl-lookup.c: Likewise.
31868         * elf/dl-open.c: Likewise.
31869         * elf/dl-support.c: Likewise.
31870         * elf/dl-writev.h: Likewise.
31871         * elf/rtld.c: Likewise.
31872         * grp/fgetgrent.c: Likewise.
31873         * gshadow/fgetsgent.c: Likewise.
31874         * gshadow/sgetsgent.c: Likewise.
31875         * iconv/gconv_conf.c: Likewise.
31876         * iconv/gconv_db.c: Likewise.
31877         * iconv/gconv_dl.c: Likewise.
31878         * iconv/gconv_int.h: Likewise.
31879         * iconv/gconv_trans.c: Likewise.
31880         * include/link.h: Likewise.
31881         * inet/getnameinfo.c: Likewise.
31882         * inet/getnetgrent.c: Likewise.
31883         * inet/getnetgrent_r.c: Likewise.
31884         * intl/bindtextdom.c: Likewise.
31885         * intl/dcigettext.c: Likewise.
31886         * intl/finddomain.c: Likewise.
31887         * intl/gettextP.h: Likewise.
31888         * intl/loadmsgcat.c: Likewise.
31889         * intl/localealias.c: Likewise.
31890         * intl/textdomain.c: Likewise.
31891         * libidn/idn-stub.c: Likewise.
31892         * libio/libioP.h: Likewise.
31893         * locale/duplocale.c: Likewise.
31894         * locale/freelocale.c: Likewise.
31895         * locale/newlocale.c: Likewise.
31896         * locale/setlocale.c: Likewise.
31897         * login/getutent_r.c: Likewise.
31898         * login/getutid_r.c: Likewise.
31899         * login/getutline_r.c: Likewise.
31900         * login/utmp-private.h: Likewise.
31901         * login/utmpname.c: Likewise.
31902         * malloc/mtrace.c: Likewise.
31903         * misc/efgcvt.c: Likewise.
31904         * misc/error.c: Likewise.
31905         * misc/fstab.c: Likewise.
31906         * misc/getpass.c: Likewise.
31907         * misc/mntent.c: Likewise.
31908         * misc/syslog.c: Likewise.
31909         * nis/nis_call.c: Likewise.
31910         * nis/nis_callback.c: Likewise.
31911         * nis/nss-default.c: Likewise.
31912         * nis/nss_compat/compat-grp.c: Likewise.
31913         * nis/nss_compat/compat-initgroups.c: Likewise.
31914         * nis/nss_compat/compat-pwd.c: Likewise.
31915         * nis/nss_compat/compat-spwd.c: Likewise.
31916         * nis/nss_nis/nis-alias.c: Likewise.
31917         * nis/nss_nis/nis-ethers.c: Likewise.
31918         * nis/nss_nis/nis-grp.c: Likewise.
31919         * nis/nss_nis/nis-hosts.c: Likewise.
31920         * nis/nss_nis/nis-network.c: Likewise.
31921         * nis/nss_nis/nis-proto.c: Likewise.
31922         * nis/nss_nis/nis-pwd.c: Likewise.
31923         * nis/nss_nis/nis-rpc.c: Likewise.
31924         * nis/nss_nis/nis-service.c: Likewise.
31925         * nis/nss_nis/nis-spwd.c: Likewise.
31926         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31927         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31928         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31929         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31930         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31931         * nis/nss_nisplus/nisplus-network.c: Likewise.
31932         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31933         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31934         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31935         * nis/nss_nisplus/nisplus-service.c: Likewise.
31936         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31937         * nis/ypclnt.c: Likewise.
31938         * nptl/libc_pthread_init.c: Likewise.
31939         * nss/getXXbyYY.c: Likewise.
31940         * nss/getXXent.c: Likewise.
31941         * nss/getXXent_r.c: Likewise.
31942         * nss/nss_db/db-XXX.c: Likewise.
31943         * nss/nss_db/db-netgrp.c: Likewise.
31944         * nss/nss_db/nss_db.h: Likewise.
31945         * nss/nss_files/files-XXX.c: Likewise.
31946         * nss/nss_files/files-alias.c: Likewise.
31947         * nss/nsswitch.c: Likewise.
31948         * posix/regex_internal.h: Likewise.
31949         * posix/wordexp.c: Likewise.
31950         * pwd/fgetpwent.c: Likewise.
31951         * resolv/res_hconf.c: Likewise.
31952         * resolv/res_libc.c: Likewise.
31953         * shadow/fgetspent.c: Likewise.
31954         * shadow/lckpwdf.c: Likewise.
31955         * shadow/sgetspent.c: Likewise.
31956         * socket/opensock.c: Likewise.
31957         * stdio-common/reg-modifier.c: Likewise.
31958         * stdio-common/reg-printf.c: Likewise.
31959         * stdio-common/reg-type.c: Likewise.
31960         * stdio-common/vfprintf.c: Likewise.
31961         * stdio-common/vfscanf.c: Likewise.
31962         * stdlib/abort.c: Likewise.
31963         * stdlib/cxa_atexit.c: Likewise.
31964         * stdlib/fmtmsg.c: Likewise.
31965         * stdlib/random.c: Likewise.
31966         * stdlib/setenv.c: Likewise.
31967         * string/strsignal.c: Likewise.
31968         * sunrpc/auth_none.c: Likewise.
31969         * sunrpc/bindrsvprt.c: Likewise.
31970         * sunrpc/create_xid.c: Likewise.
31971         * sunrpc/key_call.c: Likewise.
31972         * sunrpc/rpc_thread.c: Likewise.
31973         * sysdeps/arm/backtrace.c: Likewise.
31974         * sysdeps/generic/ldsodefs.h: Likewise.
31975         * sysdeps/generic/stdio-lock.h: Likewise.
31976         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31977         * sysdeps/i386/backtrace.c: Likewise.
31978         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31979         * sysdeps/m68k/backtrace.c: Likewise.
31980         * sysdeps/mach/hurd/cthreads.c: Likewise.
31981         * sysdeps/mach/hurd/dirstream.h: Likewise.
31982         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31983         * sysdeps/nptl/malloc-machine.h: Likewise.
31984         * sysdeps/nptl/stdio-lock.h: Likewise.
31985         * sysdeps/posix/dirstream.h: Likewise.
31986         * sysdeps/posix/getaddrinfo.c: Likewise.
31987         * sysdeps/posix/system.c: Likewise.
31988         * sysdeps/pthread/aio_suspend.c: Likewise.
31989         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31990         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31991         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31992         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31993         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31994         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31995         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31996         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31997         * sysdeps/unix/sysv/linux/system.c: Likewise.
31998         * sysdeps/x86_64/backtrace.c: Likewise.
31999         * time/alt_digit.c: Likewise.
32000         * time/era.c: Likewise.
32001         * time/tzset.c: Likewise.
32002         * wcsmbs/wcsmbsload.c: Likewise.
32003         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
32004         instead of <bits/libc-lock.h> in comment.
32006 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
32008         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
32009         Only use .set mips2 if the current ISA is below mips2.
32010         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
32011         Likewise.
32012         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
32013         mips32r2 if the current ISA is below mips32r2.
32014         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
32015         (TLS_IE): Updated to use the TLD_RDHWR macro.
32016         (TLS_LE): Likewise.
32017         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
32018         __ASSEMBLER__ condition.
32020 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32022         Fix parallel build of before-compile targets.
32024         * sysdeps/mach/Makefile ($(patsubst
32025         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
32026         mach-before-compile target.
32027         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32028         io fs process)): Move rule to dedicated hurd-before-compile target.
32030 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32032         Fix rules generating headers in hurd/ and mach/ when initial make call
32033         has subdir= explicitly set.
32035         * sysdeps/mach/Makefile ($(patsubst
32036         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
32037         calling $(MAKE).
32038         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
32039         io fs process)): Force subdir to hurd when calling $(MAKE).
32040         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
32041         subdir to mach when calling $(MAKE).
32043 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
32045         Check sysheaders when looking for Mach and Hurd headers
32047         * sysdeps/mach/configure.ac: Add sysheaders check.
32048         * sysdeps/mach/configure: Regenerate.
32049         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
32050         * sysdeps/mach/hurd/configure: Regenerate.
32052 2015-09-04  Roland McGrath  <roland@hack.frob.com>
32054         [BZ #18921]
32055         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
32056         Fix inverted sense of test of 'o_directory_works' value.
32057         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
32058         Bernhard Voelker <mail@bernhard-voelker.de>.
32060 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
32062         [BZ #14912]
32063         * bits/linkmap.h: Move to ...
32064         * sysdeps/generic/linkmap.h: ...here.
32065         * sysdeps/aarch64/bits/linkmap.h: Move to ...
32066         * sysdeps/aarch64/linkmap.h: ...here.
32067         * sysdeps/arm/bits/linkmap.h: Move to ...
32068         * sysdeps/arm/linkmap.h: ...here.
32069         * sysdeps/hppa/bits/linkmap.h: Move to ...
32070         * sysdeps/hppa/linkmap.h: ...here.
32071         * sysdeps/ia64/bits/linkmap.h: Move to ...
32072         * sysdeps/ia64/linkmap.h: ...here.
32073         * sysdeps/mips/bits/linkmap.h: Move to ...
32074         * sysdeps/mips/linkmap.h: ...here.
32075         * sysdeps/s390/bits/linkmap.h: Move to ...
32076         * sysdeps/s390/linkmap.h: ...here.
32077         * sysdeps/sh/bits/linkmap.h: Move to ...
32078         * sysdeps/sh/linkmap.h: ...here.
32079         * sysdeps/x86/bits/linkmap.h: Move to ...
32080         * sysdeps/x86/linkmap.h: ...here.
32081         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
32083 2015-09-04  Andreas Schwab  <schwab@suse.de>
32085         [BZ #18635]
32086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
32087         (__makecontext): Terminate FDE before return label.
32088         (__novec_makecontext): Likewise.
32090 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32092         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
32093         first member of struct sv in syscall macro.
32095 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
32097         [BZ #14912]
32098         * bits/stdio-lock.h: Move to ...
32099         * sysdeps/generic/stdio-lock.h: ...here.
32100         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32101         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
32102         * sysdeps/nptl/stdio-lock.h: ...here.
32103         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
32104         * include/libio.h: Include <stdio-lock.h> instead of
32105         <bits/stdio-lock.h>.
32106         * sysdeps/nptl/fork.c: Likewise.
32107         * sysdeps/pthread/flockfile.c: Likewise.
32108         * sysdeps/pthread/ftrylockfile.c: Likewise.
32109         * sysdeps/pthread/funlockfile.c: Likewise.
32111         [BZ #14912]
32112         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
32113         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
32114         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
32115         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
32116         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
32117         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
32118         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
32120 2015-09-03  Roland McGrath  <roland@hack.frob.com>
32122         * elf/Makefile (test-xfail-tst-protected1a): New variable.
32123         (test-xfail-tst-protected1b): New variable.
32125 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
32127         [BZ #14912]
32128         * bits/libc-tsd.h: Move to ...
32129         * sysdeps/generic/libc-tsd.h: ...here.
32130         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
32131         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
32132         * sysdeps/mach/hurd/libc-tsd.h: ...here.
32133         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
32134         * include/ctype.h: Include <libc-tsd.h> instead of
32135         <bits/libc-tsd.h>.
32136         * include/rpc/rpc.h: Likewise.
32137         * locale/localeinfo.h: Likewise.
32138         * sunrpc/rpc_thread.c: Likewise.
32139         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
32140         * sysdeps/nptl/malloc-machine.h: Likewise.
32142         * Makefile (headers): Remove bits/libc-lock.h.
32143         * libio/Makefile (headers): Remove bits/stdio-lock.h.
32145         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
32146         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
32147         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
32148         <bits/stdio-lock.h>.
32149         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
32150         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
32152 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
32154         [BZ #18757]
32155         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
32156         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
32157         BZ #18757.
32159 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
32161         * malloc/mtrace.pl: Filter out NULL entries.
32163 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
32165         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
32166         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
32167         macro.
32169         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
32170         (TCP_CC_INFO): Likewise.
32171         (TCP_SAVE_SYN): Likewise.
32172         (TCP_SAVED_SYN): Likewise.
32174 2015-08-31  Brett Neumeier <brett@neumeier.us>
32176         [BZ #18870]
32177         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
32179 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
32181         [BZ #18873]
32182         Fix broken overflow check in posix_fallocate
32183         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
32184         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
32185         Fix parenthesization typo.
32187 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
32189         [BZ #18887]
32190         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
32191         tst-mntent-blank-passno.
32192         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
32193         * misc/tst-mntent-blank-corrupt.c: New test.
32194         * misc/tst-mntent-blank-passno.c: New test ripped from ...
32195         * misc/tst-mntent.c (do_test): ... here.
32197 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
32199         [BZ #4404]
32200         * po/de.po: Fix SIGALRM typo.
32202 2015-08-28  James Perkins  <james@loowit.net>
32204         * time/tst-strptime2.c (tests): Replace short list of test
32205         strings for strptime %z specifier with code which exhaustively
32206         tests every combination of sign and 0 to 5 digits. Tests for
32207         rejection of invalid strings.
32209 2015-08-28  James Perkins  <james@loowit.net>
32211         [BZ #16141]
32212         * time/strptime_l.c (__strptime_internal): Fix %z minutes
32213         calculation, removing incorrect decimal time rounding, so that
32214         all minute values result in a valid seconds value.
32215         * time/strptime_l.c (__strptime_internal): Extend %z time zone
32216         offset range limits to UTC-99:59 through UTC+99:59 to parse
32217         current and historical use cases.
32218         * time/tst-strptime2.c (tests): Modify and add tests for the
32219         strptime %z input field descriptor, specifically conversion of
32220         minutes to seconds and validating an offset range of -9959 to
32221         +9959.
32223 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32224             Dmitry V. Levin  <ldv@altlinux.org>
32226         [BZ #18877]
32227         * posix/Makefile (tests): Add tst-mmap-offset.
32228         * posix/tst-mmap.c: New file.
32229         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
32230         offset calculation for negative values.
32232 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32234         * sysdeps/i386/init-arch.h: New file.
32235         * sysdeps/i386/i586/init-arch.h: Likewise.
32236         * sysdeps/i386/i686/init-arch.h: Likewise.
32237         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
32238         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
32239         * sysdeps/x86/cpu-features.h (bit_I586): New.
32240         (bit_I686): Likewise.
32241         (bit_CX8): Likewise.
32242         (bit_CMOV): Likewise.
32243         (index_CX8): Likewise.
32244         (index_CMOV): Likewise.
32245         (index_I586): Likewise.
32246         (index_I686): Likewise.
32247         (reg_CX8): Likewise.
32248         (reg_CMOV): Likewise.
32249         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
32250         available at compile-time.
32251         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
32252         available at compile-time.
32253         * sysdeps/x86/init-arch.h (USE_I586): New macro.
32254         (USE_I686): Likewise.
32256 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32258         * sysdeps/i386/bcopy.S: New file.
32259         * sysdeps/i386/bzero.S: Likewise.
32260         * sysdeps/i386/memcpy.S: Likewise.
32261         * sysdeps/i386/memmove.S: Likewise.
32262         * sysdeps/i386/mempcpy.S: Likewise.
32263         * sysdeps/i386/memset.S: Likewise.
32264         * sysdeps/i386/bzero.c: Removed.
32265         * sysdeps/i386/memset.c: Likewise.
32266         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
32267         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
32268         * sysdeps/i386/i586/memset_chk.S: Likewise.
32269         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
32270         * sysdeps/i386/memcpy_chk.S: Here.
32271         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
32272         * sysdeps/i386/memmove_chk.S: Here.
32273         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
32274         * sysdeps/i386/mempcpy_chk.S: Likewise.
32275         * sysdeps/i386/i686/memset_chk.S: Moved to ...
32276         * sysdeps/i386/memset_chk.S: Likewise.
32278 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
32280         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
32281         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
32282         file, move DIAG_POP_NEEDS_COMMENT to end of file.
32283         * soft-fp/fmadf4.c: Ditto.
32284         * soft-fp/fmatf4.c: Ditto.
32286 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32288         * sysdeps/i386/i586/Implies: Removed.
32289         * sysdeps/i386/i686/Implies: Likewise.
32291 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32293         * sysdeps/i386/i486/strlen.S: Moved to ...
32294         * sysdeps/i386/strlen.S: Here.
32296 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32298         * sysdeps/i386/i486/strcat.S: Moved to ...
32299         * sysdeps/i386/strcat.S: Here.
32301 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32303         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
32304         * sysdeps/i386/pthread_spin_trylock.S: Here.
32305         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
32306         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
32308 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32310         * sysdeps/i386/i486/string-inlines.c: Moved to ...
32311         * sysdeps/i386/string-inlines.c: Here.
32313 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32315         * sysdeps/i386/i486/htonl.S: Moved ...
32316         * sysdeps/i386/htonl.S: here.
32318 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32320         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
32321         * sysdeps/i386/bits/atomic.h: Here.
32323 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
32325         * sysdeps/i386/i486/Versions: Removed.
32327 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
32329         [BZ #2898]
32330         * misc/mktemp.c: Add mkdtemp to the link_warning message.
32331         Based on patch by Aurelien Jarno.
32333 2015-08-26  Stan Shebs  <stanshebs@google.com>
32335         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
32336         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
32338 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32340         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
32341         * sysdeps/powerpc/dl-procinfo.c:
32342         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
32343         feature so it shows when LD_SHOW_AUXV=1.
32345 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32347         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
32348         (__arch_compare_and_exchange_val_32_acq): Remove and use common
32349         definition.  ISA 2.07B no longer requires full sync.
32351 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
32353         [BZ #18863]
32354         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
32355         (si_call_addr): Define.
32356         (si_syscall): Define.
32357         (si_arch): Define.
32359 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
32361         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
32362         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
32363         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
32364         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32365         (__memset_zero_constant_len_parameter): New.
32366         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
32367         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
32368         (__memset_zero_constant_len_parameter): Don't define if
32369         __memset_chk or USE_AS_BZERO are defined.
32371         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
32372         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
32373         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
32375         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
32376         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
32377         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
32378         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
32379         comments.
32380         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
32381         -mno-mmx for $(all-rtld-routines).
32382         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
32383         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
32384         i386.
32386 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
32388         * sysdeps/generic/unwind.h
32389         (_Unwind_Word): Use __mode__(__unwind_word__)
32390         instead of __mode__(__word__).
32391         (_Unwind_Sword): Likewise.
32393         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32394         (MAX_NEEDED_INPUT): New define.
32395         (MAX_NEEDED_OUTPUT): New define.
32397         * NEWS: New item for IBM z13 string optimizations.
32399         * sysdeps/s390/multiarch/memrchr-c.c: New File.
32400         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
32401         * sysdeps/s390/multiarch/memrchr.c: Likewise.
32402         * sysdeps/s390/multiarch/Makefile
32403         (sysdep_routines): Add memrchr functions.
32404         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32405         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
32407         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
32408         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
32409         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
32410         * sysdeps/s390/multiarch/Makefile
32411         (sysdep_routines): Add wmemcmp functions.
32412         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32413         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
32414         * benchtests/bench-wmemcmp.c: New File.
32415         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
32417         * sysdeps/s390/multiarch/wmemset-c.c: New File.
32418         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
32419         * sysdeps/s390/multiarch/wmemset.c: Likewise.
32420         * sysdeps/s390/multiarch/Makefile
32421         (sysdep_routines): Add wmemset functions.
32422         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32423         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
32424         * wcsmbs/wmemset.c: Use WMEMSET if defined.
32425         * string/test-memset.c: Add wmemset support.
32426         * wcsmbs/test-wmemset.c: New File.
32427         * wcsmbs/Makefile (strop-tests): Add wmemset.
32428         * benchtests/bench-memset.c: Add wmemset support.
32429         * benchtests/bench-wmemset.c: New File.
32430         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
32432         * sysdeps/s390/multiarch/memccpy-c.c: New File.
32433         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
32434         * sysdeps/s390/multiarch/memccpy.c: Likewise.
32435         * sysdeps/s390/multiarch/Makefile
32436         (sysdep_routines): Add memccpy functions.
32437         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32438         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
32439         * string/memccpy.c: Use MEMCCPY if defined.
32441         * sysdeps/s390/multiarch/memchr-vx.S: New File.
32442         * sysdeps/s390/multiarch/memchr.c: Likewise.
32443         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
32444         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
32445         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
32446         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
32447         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
32448         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
32449         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
32450         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
32451         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
32452         and rawmemchr functions.
32453         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
32454         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
32455         and wmemchr.
32456         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
32457         * string/test-memchr.c: Add wmemchr support.
32458         * wcsmbs/test-wmemchr.c: New File.
32459         * wcsmbs/Makefile (strop-tests): Add wmemchr.
32460         * benchtests/bench-memchr.c: Add wmemchr support.
32461         * benchtests/bench-wmemchr.c: New File.
32462         * benchtests/Makefile (wcsmbs-bench): wmemchr.
32464         * sysdeps/s390/multiarch/strcspn-c.c: New File.
32465         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
32466         * sysdeps/s390/multiarch/strcspn.c: Likewise.
32467         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
32468         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
32469         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
32470         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
32471         wcscspn functions.
32472         * sysdeps/s390/multiarch/ifunc-impl-list.c
32473         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
32474         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
32475         * string/test-strcspn.c: Add wcscspn support.
32476         * wcsmbs/test-wcscspn.c: New File.
32477         * wcsmbs/Makefile (strop-tests): Add wcscspn.
32478         * benchtests/bench-strcspn.c: Add wcscspn support.
32479         * benchtests/bench-wcscspn.c: New File.
32480         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
32482         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
32483         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
32484         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
32485         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
32486         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
32487         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
32488         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
32489         wcspbrk functions.
32490         * sysdeps/s390/multiarch/ifunc-impl-list.c
32491         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
32492         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
32493         * string/test-strpbrk.c: Add wcspbrk support.
32494         * wcsmbs/test-wcspbrk.c: New File.
32495         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
32496         * benchtests/bench-strpbrk.c: Add wcspbrk support.
32497         * benchtests/bench-wcspbrk.c: New File.
32498         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
32500         * sysdeps/s390/multiarch/strspn-c.c: New File.
32501         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
32502         * sysdeps/s390/multiarch/strspn.c: Likewise.
32503         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
32504         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
32505         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
32506         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
32507         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
32508         wcsspn functions.
32509         * sysdeps/s390/multiarch/ifunc-impl-list.c
32510         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
32511         * string/test-strspn.c: Add wcsspn support.
32512         * wcsmbs/test-wcsspn.c: New File.
32513         * wcsmbs/Makefile (strop-tests): Add wcsspn.
32514         * benchtests/bench-strspn.c: Add wcsspn support.
32515         * benchtests/bench-wcsspn.c: New File.
32516         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
32518         * sysdeps/s390/multiarch/strrchr-c.c: New File.
32519         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
32520         * sysdeps/s390/multiarch/strrchr.c: Likewise.
32521         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
32522         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
32523         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
32524         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
32525         wcsrchr functions.
32526         * sysdeps/s390/multiarch/ifunc-impl-list.c
32527         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
32528         * benchtests/bench-wcsrchr.c: New File.
32529         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
32531         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
32532         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
32533         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
32534         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
32535         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
32536         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
32537         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
32538         wcschrnul functions.
32539         * sysdeps/s390/multiarch/ifunc-impl-list.c
32540         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
32541         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
32542         * string/test-strchr.c: Add wcschrnul support.
32543         * wcsmbs/test-wcschrnul.c: New File.
32544         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
32545         * benchtests/bench-strchr.c: Add wcschrnul support.
32546         * benchtests/bench-wcschrnul.c: New File.
32547         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
32549         * sysdeps/s390/multiarch/strchr-c.c: New File.
32550         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
32551         * sysdeps/s390/multiarch/strchr.c: Likewise.
32552         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
32553         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
32554         * sysdeps/s390/multiarch/wcschr.c: Likewise.
32555         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
32556         wcschr functions.
32557         * sysdeps/s390/multiarch/ifunc-impl-list.c
32558         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
32559         * string/strchr.c (STRCHR): Define and use macro.
32560         * benchtests/bench-wcschr.c: New File.
32561         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
32563         * sysdeps/s390/multiarch/strncmp-c.c: New File.
32564         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
32565         * sysdeps/s390/multiarch/strncmp.c: Likewise.
32566         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
32567         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
32568         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
32569         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
32570         wcsncmp functions.
32571         * sysdeps/s390/multiarch/ifunc-impl-list.c
32572         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
32573         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
32574         * benchtests/bench-strncmp.c: Add wcsncmp support.
32575         * benchtests/bench-wcsncmp.c: New File.
32576         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
32578         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
32579         * sysdeps/s390/multiarch/strcmp.c: Likewise.
32580         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
32581         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
32582         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
32583         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
32584         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
32585         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
32586         wcscmp functions.
32587         * sysdeps/s390/multiarch/ifunc-impl-list.c
32588         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
32589         * string/strcmp.c (STRCMP): Define and use macro.
32590         * benchtests/bench-wcscmp.c: New File.
32591         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
32592         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
32593         instead of _HAVE_STRING_ARCH_memchr.
32595         * sysdeps/s390/multiarch/strncat-c.c: New File.
32596         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
32597         * sysdeps/s390/multiarch/strncat.c: Likewise.
32598         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
32599         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
32600         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
32601         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
32602         wcsncat functions.
32603         * sysdeps/s390/multiarch/ifunc-impl-list.c
32604         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
32605         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
32606         * string/test-strncat.c: Add wcsncat support.
32607         * wcsmbs/test-wcsncat.c: New File.
32608         * wcsmbs/Makefile (strop-tests): Add wcsncat.
32609         * benchtests/bench-strncat.c: Add wcsncat support.
32610         * benchtests/bench-wcsncat.c: New File.
32611         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
32613         * sysdeps/s390/multiarch/strcat-c.c: New File.
32614         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
32615         * sysdeps/s390/multiarch/strcat.c: Likewise.
32616         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
32617         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
32618         * sysdeps/s390/multiarch/wcscat.c: Likewise.
32619         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
32620         wcscat functions.
32621         * sysdeps/s390/multiarch/ifunc-impl-list.c
32622         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
32623         * string/strcat.c (STRCAT): Define and use macro.
32624         * wcsmbs/wcscat.c: Use WCSCAT if defined.
32625         * string/test-strcat.c: Add wcscat support.
32626         * wcsmbs/test-wcscat.c: New File.
32627         * wcsmbs/Makefile (strop-tests): Add wcscat.
32628         * benchtests/bench-strcat.c: Add wcscat support.
32629         * benchtests/bench-wcscat.c: New File.
32630         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
32632         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
32633         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
32634         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
32635         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
32636         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
32637         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
32638         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
32639         wcpncpy functions.
32640         * sysdeps/s390/multiarch/ifunc-impl-list.c
32641         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
32642         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
32643         * string/test-stpncpy.c: Add wcpncpy support.
32644         * wcsmbs/test-wcpncpy.c: New File.
32645         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
32646         * benchtests/bench-stpncpy.c: Add wcpncpy support.
32647         * benchtests/bench-wcpncpy.c: New File.
32648         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
32650         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
32651         * sysdeps/s390/multiarch/strncpy.c: Likewise.
32652         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
32653         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
32654         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
32655         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
32656         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
32657         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
32658         wcsncpy functions.
32659         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
32660         * sysdeps/s390/multiarch/ifunc-impl-list.c
32661         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
32662         * string/test-strncpy.c: Add wcsncpy support.
32663         * wcsmbs/test-wcsncpy.c: New File.
32664         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
32665         * benchtests/bench-strncpy.c: Add wcsncpy support.
32666         * benchtests/bench-wcsncpy.c: New File.
32667         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
32669         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
32670         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
32671         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
32672         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
32673         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
32674         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
32675         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
32676         wcpcpy functions.
32677         * string/stpcpy.c: Use STPCPY if defined.
32678         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
32679         * sysdeps/s390/multiarch/ifunc-impl-list.c
32680         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
32681         * string/test-stpcpy.c: Add wcpcpy support.
32682         * wcsmbs/test-wcpcpy.c: New File.
32683         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
32684         * benchtests/bench-stpcpy.c: Add wcpcpy support.
32685         * benchtests/bench-wcpcpy.c: New File.
32686         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
32688         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
32689         * sysdeps/s390/multiarch/strcpy.c: Likewise.
32690         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
32691         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
32692         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
32693         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
32694         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
32695         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
32696         wcscpy functions.
32697         * sysdeps/s390/multiarch/ifunc-impl-list.c
32698         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
32699         * benchtests/bench-wcscpy.c: New File.
32700         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
32702         * sysdeps/s390/multiarch/strnlen-c.c: New File.
32703         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
32704         * sysdeps/s390/multiarch/strnlen.c: Likewise.
32705         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
32706         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
32707         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
32708         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
32709         wcsnlen functions.
32710         * sysdeps/s390/multiarch/ifunc-impl-list.c
32711         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
32712         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
32713         * string/test-strnlen.c: Add wcsnlen support.
32714         * wcsmbs/test-wcsnlen.c: New File.
32715         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
32716         * benchtests/bench-strnlen.c: Add wcsnlen support.
32717         * benchtests/bench-wcsnlen.c: New File.
32718         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
32720         * sysdeps/s390/multiarch/Makefile: New File.
32721         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
32722         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
32723         * sysdeps/s390/multiarch/strlen.c: Likewise.
32724         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
32725         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
32726         * sysdeps/s390/multiarch/wcslen.c: Likewise.
32727         * string/strlen.c (STRLEN): Define and use macro.
32728         * sysdeps/s390/multiarch/ifunc-impl-list.c
32729         (IFUNC_VX_IMPL): New macro function.
32730         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
32731         * benchtests/Makefile (wcsmbs-bench): New variable.
32732         (string-bench-all): Added wcsmbs-bench.
32733         * benchtests/bench-wcslen.c: New File.
32735         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
32736         s390_vx_libc_ifunc2): New macro function.
32738         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
32739         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
32740         assembler support.
32741         * sysdeps/s390/configure: Regenerated.
32743         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
32744         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
32746         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
32747         * sysdeps/s390/dl-procinfo.h: Add vector capability.
32748         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
32750         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
32751         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
32752         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
32753         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
32754         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
32755         (memcmp, bcmp): Use __memcmp_default as alias source.
32756         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
32757         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
32758         Rename to __memcmp_default.
32759         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
32760         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
32761         (memcpy): Use __memcpy_default as alias source.
32762         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
32763         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
32764         Rename to __memcpy_default.
32765         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
32766         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
32767         (memset): Use __memset_default as alias source.
32768         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
32769         * sysdeps/s390/s390-32/memset.S (__memset_g5):
32770         Rename to __memset_default.
32771         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
32772         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
32773         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
32774         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
32775         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
32776         (memcmp, bcmp): Use __memcmp_default as alias source.
32777         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
32778         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
32779         Rename to __memcmp_default.
32780         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
32781         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
32782         (memcpy): Use __memcpy_default as alias source.
32783         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
32784         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
32785         Rename to __memcpy_default.
32786         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
32787         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
32788         (memset): Use __memset_default as alias source.
32789         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
32790         * sysdeps/s390/s390-64/memset.S (__memset_z900):
32791         Rename to __memset_default.
32792         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
32793         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
32795         [BZ #18610]
32796         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
32797         __ieee_instruction_pointer to __unused.
32798         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
32799         __ieee_instruction_pointer.
32800         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
32801         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
32802         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32803         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
32804         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
32805         Mark dxc-field as reserved.
32807 2015-08-25  Roland McGrath  <roland@hack.frob.com>
32809         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
32810         if the weak reference is not null.
32812 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32814         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
32816         [BZ #11214]
32817         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
32819 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32821         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
32822         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
32823         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
32824         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
32825         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
32826         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
32827         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
32828         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
32829         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
32830         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
32831         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
32832         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
32833         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
32834         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
32835         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
32836         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
32837         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
32838         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
32840 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
32842         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
32843         register other than r0 for tabort, it has special meaning.
32844         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
32845         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
32846         transaction before starting syscall.
32848 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
32850         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
32852 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32854         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
32856         * sysdeps/x86_64/rtld-memcmp.c: Removed.
32857         * sysdeps/x86_64/rtld-memset.S: Likewise.
32858         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32859         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32860         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32861         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32863         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32865 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
32867         * debug/strcpy_chk.c: Improve performance.
32868         * debug/stpcpy_chk.c: Likewise.
32869         * sysdeps/x86_64/strcpy_chk.S: Remove.
32870         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32872         [BZ #18240]
32873         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32875 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32877         [BZ #15128]
32878         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32879         ifuncmain8.
32880         (modules-names): Add ifuncmod8.
32881         ($(objpfx)ifuncmain8): New rule.
32882         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32883         <cpuid.h>.
32884         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32885         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32886         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32887         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32888         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32889         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32890         * sysdeps/x86_64/ifuncmain8.c: New file.
32891         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32892         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32893         Removed.
32894         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32895         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32896         Change rtld_savespace_sse to __glibc_unused2.
32897         (RTLD_CHECK_FOREIGN_CALL): Removed.
32898         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32899         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32900         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32902 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32904         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32906 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32908         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32909         Unconditionally set __fpcr to avoid uninialized warning.
32910         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32912 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32914         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32915         is corrupt.
32917         * malloc/arena.c (arena_get2): Drop unused argument.
32918         (arena_lock): Adjust.
32919         (arena_get_retry): Likewise.
32921 2015-08-24  Andreas Schwab  <schwab@suse.de>
32923         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32924         Don't define.
32925         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32926         (__ASSUME_IPC64): Don't undef.
32927         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32928         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32929         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32930         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32931         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32932         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32933         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32934         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32935         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32936         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32937         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32938         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32939         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32940         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32941         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32942         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32943         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32944         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32945         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32946         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32947         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32949 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32951         * manual/Makefile (install): Only build manual when perl is available.
32953 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32955         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32956         '#undef memcpy' by '#undef memchr'.
32958 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32960         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32961         memchr not point to the internal __GI_memchr implementation.
32963 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32965         * timezone/Makefile (CFLAGS-zdump.c): Remove
32966         -Wno-strict-prototypes.
32967         (CFLAGS-zic.c): Likewise.
32968         (CFLAGS-ialloc.c): Likewise.
32969         (CFLAGS-scheck.c): Likewise.
32971         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32972         -Wno-error=undef.
32974 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32976         * i386/i686/multiarch/strcasestr-c.c: Removed.
32977         * x86_64/multiarch/strcasestr.c: Likewise.
32978         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32979         Remove strcasestr.
32981 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32983         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32985         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32986         variables for high and low parts before possibly modifying them.
32988 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32990         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32991         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32992         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32993         of "multiarch/init-arch.h".
32994         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32995         * sysdeps/x86/init-arch.h: This.
32997 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32999         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
33000         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
33002 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
33004         [BZ #17787]
33005         * manual/macros.texi: Add twoexp macro.
33006         * manual/filesys.texi: Fix exponents.
33007         * manual/llio.texi: Likewise.
33008         * manual/stdio.texi: Likewise.
33010 2015-08-20  Florian Weimer  <fweimer@redhat.com>
33012         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
33013         incorrect use.
33015 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
33017         [BZ #18370]
33018         * math/s_csqrt.c (__csqrt): Force underflow exception for results
33019         whose real or imaginary part has small absolute value.
33020         * math/s_csqrtf.c (__csqrtf): Likewise.
33021         * math/s_csqrtl.c (__csqrtl): Likewise.
33022         * math/auto-libm-test-in: Add more tests of csqrt.
33023         * math/auto-libm-test-out: Regenerated.
33024         * sysdeps/i386/fpu/libm-test-ulps: Update.
33026 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
33028         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
33029         __ppc_set_ppr_very_low): New functions.
33030         * manual/platform.texi: Add documentation about
33031         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
33033 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
33035         * string/stpncpy.c (stpncpy): Improve performance using
33036         __strnlen/memcpy/memset.
33038 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
33040         [BZ #18796]
33041         * scripts/test-installation.pl: Don't add -lmvec to build options if
33042         libmvec wasn't built.
33044 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
33046         [BZ #14341]
33047         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
33048         case when there is a gap between DT_REL and DT_JMPREL sections.
33049         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
33050         (LDFLAGS-tst-split-dynreloc): New.
33051         (tst-split-dynreloc-ENV): Likewise.
33052         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
33053         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
33055 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33057         [BZ #18822]
33058         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
33059         attribute_hidden.
33060         (__xstat64_conv): Likewise.
33061         (__xstat32_conv): Likewise.
33063 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33065         [BZ #18822]
33066         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
33067         Don't load %ebx when calling __setcontext.  Call __setcontext
33068         with HIDDEN_JUMPTARGET.
33069         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
33070         libc_hidden_def.
33072 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33074         * sysdeps/i386/i686/Makefile
33075         [$(subdir) == string] (sysdep_routines): Moved to ...
33076         * sysdeps/i386/Makefile: Here.
33077         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
33078         * sysdeps/i386/cacheinfo.c: Here.
33079         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
33080         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
33081         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
33082         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
33084 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
33086         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
33087         __i586__ is defined.
33088         (HAS_I686): Defined to 1 if __i686__ is defined.
33090 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
33092         * elf/Makefile [$(have-z-execstack) = yes]
33093         (CPPFLAGS-tst-execstack.c): New variable.
33095         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
33096         conditional to [defined UTMPX || _HAVE_UT_TYPE].
33097         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
33098         UTMPX || _HAVE_UT_TV].
33099         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
33100         UTMPX || _HAVE_UT_TV - 0].
33102 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
33104         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
33105         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
33106         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
33108 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
33110         * sysdeps/powerpc/dl-procinfo.c:
33111         (_dl_powerpc_cap_flags): Added missing strings for some
33112         hwcap features.
33113         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
33115 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
33117         Port the 0x7efe...feff pattern to GCC 6.
33118         See Steve Ellcey's bug report in:
33119         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
33120         * string/memrchr.c (MEMRCHR):
33121         * string/rawmemchr.c (RAWMEMCHR):
33122         * string/strchr.c (strchr):
33123         * string/strchrnul.c (STRCHRNUL):
33124         Rewrite code to avoid issues with signed shift overflow.
33126 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
33128         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
33129         whether cpuid is available only if HAS_CPUID is 0.
33130         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
33131         (HAS_I586): Likewise.
33132         (HAS_I686): Likewise.
33134 2015-08-18  Zack Weinberg  <zackw@panix.com>
33136         * misc/Versions (libc): Add GLIBC_2.23.
33138 2015-08-18  Alan Modra  <amodra@gmail.com>
33140         [BZ #18421]
33141         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
33142         .Lp__global.
33143         (_start): Load %dp via .Lp__global.
33144         [!SHARED]: Use .section .rodata.
33146 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33148         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
33149         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
33151 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33153         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
33154         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
33156 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33158         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
33159         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
33161 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33163         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
33164         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
33166 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33168         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
33169         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
33171 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33173         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
33174         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
33176 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33178         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
33180 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33182         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
33183         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
33184         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
33185         (__ASSUME_LWS_CAS): Delete.
33187 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
33189         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
33190         * sysdeps/hppa/configure: Regenerated.
33191         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
33192         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
33193         * sysdeps/hppa/nptl/tls.h: Likewise.
33195 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
33197         [BZ #18823]
33198         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
33199         for scaling up small arguments.
33200         * math/s_csqrtf.c (__csqrtf): Likewise.
33201         * math/s_csqrtl.c (__csqrtl): Likewise.
33202         * math/auto-libm-test-in: Add more tests of csqrt.
33203         * math/auto-libm-test-out: Regenerated.
33205 2015-08-17  Andreas Schwab  <schwab@suse.de>
33207         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
33208         version set GLIBC_2.19.
33210 2015-08-16  Zack Weinberg  <zackw@panix.com>
33212         [BZ #18681]
33213         * misc/regexp.h: This interface is no longer supported.
33214         Remove all contents, leaving only an #error directive.
33215         * misc/regexp.c (loc1, loc2, locs, step, advance):
33216         Demote to compatibility symbols.
33218 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
33220         [BZ #18084]
33221         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
33222         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
33223         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
33224         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
33225         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
33226         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
33227         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
33228         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
33229         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
33231 2015-08-15  Zack Weinberg  <zackw@panix.com>
33233         [BZ #18795]
33234         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
33235         buffer length is known to be too large, not if it's known to be
33236         small enough.
33237         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
33238         overflow at runtime, involving a length parameter, twice: once
33239         with a compile-time constant length parameter, once without.
33241 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
33243         [BZ #18824]
33244         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
33245         scaling x * y up instead of down.
33246         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33247         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33248         * math/auto-libm-test-in: Add more tests of fma.
33249         * math/auto-libm-test-out: Regenerated.
33251 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
33253         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33255 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33257         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
33258         unnecessary movq.
33259         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
33260         Likewise.
33262 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
33264         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
33265         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
33266         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
33267         and tgamma.
33268         * math/auto-libm-test-out: Regenerated.
33269         * sysdeps/i386/fpu/libm-test-ulps: Update.
33270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33272         [BZ #16520]
33273         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
33274         (__tanh): Force underflow exception for arguments with small
33275         absolute value.
33276         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
33277         (__tanhf): Force underflow exception for arguments with small
33278         absolute value.
33279         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
33280         (__tanhl): Force underflow exception for arguments with small
33281         absolute value.
33282         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
33283         (__tanhl): Force underflow exception for arguments with small
33284         absolute value.
33285         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
33286         (__tanhl): Force underflow exception for arguments with small
33287         absolute value.
33288         * math/auto-libm-test-in: Add more tests of tanh.
33289         * math/auto-libm-test-out: Regenerated.
33290         * sysdeps/i386/fpu/libm-test-ulps: Update.
33292 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33294         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
33295         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
33297 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33299         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
33300         <cpuid.h>.
33302 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33304         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
33305         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
33307 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33309         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
33310         Remove $(objpfx)init-arch.o.
33311         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
33312         init-arch.
33313         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
33314         (INIT_ARCH_EXT): Defined as empty.
33315         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
33316         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
33317         __init_cpu_features call.  Replace HAS_XXX with
33318         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33319         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
33320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
33321         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
33322         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
33323         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33324         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
33325         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
33326         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33327         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
33328         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
33329         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33330         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
33331         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
33332         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
33334         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
33335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33336         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33337         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
33338         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
33339         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33340         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
33341         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
33342         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33343         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
33344         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
33345         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33346         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
33347         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
33348         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33349         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
33350         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
33351         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33352         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
33353         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
33355 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33357         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
33358         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33359         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33360         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
33361         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
33362         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
33363         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
33364         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
33365         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
33366         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
33367         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
33368         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
33369         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33370         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33371         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33372         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33373         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33374         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33375         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33376         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33377         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33378         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33379         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33380         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33381         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33382         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33383         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33384         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33385         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33386         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33387         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33388         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33389         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33390         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33391         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33392         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33393         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33394         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33395         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33396         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33397         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33398         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33399         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33401 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33403         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
33404         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33405         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
33406         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
33407         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
33408         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
33409         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
33410         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
33411         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
33412         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
33413         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
33414         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
33415         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
33416         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
33417         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
33418         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
33419         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
33420         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
33421         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
33422         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
33423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
33424         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
33425         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
33426         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33427         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33428         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
33429         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
33430         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
33431         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
33432         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33433         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33434         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33435         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33436         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33437         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33438         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33439         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33440         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33441         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33442         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33443         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33444         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33445         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33447 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
33449         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
33450         (dl_platform_init): Call init_cpu_features.
33451         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
33452         * sysdeps/i386/i686/cacheinfo.c
33453         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
33454         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
33455         * sysdeps/i386/i686/multiarch/Versions: Removed.
33456         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
33457         Removed.
33458         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
33459         * sysdeps/unix/sysv/linux/x86/Makefile
33460         (libpthread-sysdep_routines): Remove init-arch.
33461         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
33462         <sysdeps/x86_64/dl-procinfo.c> instead of
33463         sysdeps/generic/dl-procinfo.c>.
33464         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
33465         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
33466         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
33467         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
33468         [$(subdir) == elf] (tests-static): Add
33469         tst-get-cpu-features-static.
33470         * sysdeps/x86/Versions: New file.
33471         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
33472         * sysdeps/x86/cpu-features.c: Likewise.
33473         * sysdeps/x86/cpu-features.h: Likewise.
33474         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
33475         * sysdeps/x86/libc-start.c: Likewise.
33476         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
33477         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
33478         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
33479         * sysdeps/x86_64/dl-procinfo.c: Likewise.
33480         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
33481         Assume USE_MULTIARCH is defined and don't check it.
33482         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
33483         (is_amd): Likewise.
33484         (max_cpuid): Likewise.
33485         (intel_check_word): Likewise.
33486         (__cache_sysconf): Don't call __init_cpu_features.
33487         (__x86_preferred_memory_instruction): Removed.
33488         (init_cacheinfo): Don't call __init_cpu_features. Replace
33489         __cpu_features with GLRO(dl_x86_cpu_features).
33490         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
33491         (dl_platform_init): Call init_cpu_features.
33492         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
33493         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
33494         * sysdeps/x86_64/multiarch/Versions: Removed.
33495         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
33496         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
33497         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
33498         Removed.
33499         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
33501 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33503         [BZ #18820]
33504         * libio/Makefile (test-fmemopen-mem): New test.
33505         * libio/test-fmemopen.c (do_bz18820): New test.
33506         * libio/fmemopen.c (__fmemopen): Fix memory leak.
33507         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
33509 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
33511         [BZ #16734]
33512         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
33513         (FREE_BUF): Delete.
33514         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
33515         * libio/genops.c (_IO_setb): Use malloc and free directly.
33516         (_IO_default_doallocate, _IO_default_finish): Likewise.
33517         ( _IO_unbuffer_all): Likewise.
33518         ( libc_freeres_fn): Likewise.
33519         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
33520         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
33521         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
33522         (_IO_wdefault_doallocate): Likewise.
33524 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
33526         [BZ #18086]
33527         * sysdeps/posix/nice.c (nice): Restore old errno.
33528         * posix/tst-nice.c (do_test): Add test for BZ #18086.
33530 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
33532         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
33534 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33536         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
33537         __bcopy and add a weak_alias to bcopy.
33538         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
33539         for static build.
33541         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
33542         cleanup macro usage.
33543         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
33544         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
33545         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33546         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
33547         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33548         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
33549         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
33550         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33551         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33552         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
33553         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33554         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
33555         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33556         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
33557         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
33558         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
33559         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
33560         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
33561         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
33563         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
33564         libc_hidden_def.
33565         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
33567         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
33568         (sysdep_routines): Add strstr-ppc64.
33569         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
33571 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
33573         [BZ #18778]
33574         * elf/Makefile (tests): Add Add tst-nodelete2.
33575         (modules-names): Add tst-nodelete2mod.
33576         (tst-nodelete2mod.so-no-z-defs): New.
33577         ($(objpfx)tst-nodelete2): Likewise.
33578         ($(objpfx)tst-nodelete2.out): Likewise.
33579         (LDFLAGS-tst-nodelete2): Likewise.
33580         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
33581         out of loop through all loaded libraries.
33582         * elf/tst-nodelete2.c: New file.
33583         * elf/tst-nodelete2mod.c: Likewise.
33584         * elf/tst-znodelete-zlib.cc: Delete.
33586 2015-08-11  Andreas Schwab  <schwab@suse.de>
33588         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
33589         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
33590         (__openat64_nocancel): Likewise.
33592 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
33594         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
33595         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
33596         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
33597         * math/auto-libm-test-out: Regenerated.
33598         * sysdeps/i386/fpu/libm-test-ulps: Update.
33599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33601 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33603         [BZ #18790]
33604         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
33605         threshold for returning +/- 1.
33606         * math/auto-libm-test-in: Add more tests of tanh.
33607         * math/auto-libm-test-out: Regenerated.
33608         * sysdeps/i386/fpu/libm-test-ulps: Update.
33610 2015-08-10  Andreas Schwab  <schwab@suse.de>
33612         [BZ #18781]
33613         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
33614         MORE_OFLAGS to oflag.
33615         * io/test-lfs.c (do_test): Test openat64.
33617 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
33619         [BZ #18789]
33620         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
33621         smaller threshold for returning the argument.
33622         * math/auto-libm-test-in: Add more tests of sinh.
33623         * math/auto-libm-test-out: Regenerated.
33624         * sysdeps/i386/fpu/libm-test-ulps: Update.
33626 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
33628         [BZ #18674]
33629         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
33630         break.
33632 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
33634         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
33635         (generated): Don't add $(addprefix z.,$(tzfiles)).
33637 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33639         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
33640         * scripts/sysd-rules.awk: Likewise.
33642 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33644         * iconvdata/tst-tables.sh: Change echo -n to printf.
33645         * nss/db-Makefile: Likewise.
33646         * posix/tst-getconf.sh: Likewise.
33647         * stdio-common/tst-unbputc.sh: Likewise.
33649 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
33651         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
33652         MADV_*_PAGES defines behind this feature check.
33654 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
33656         [BZ #18480]
33657         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
33658         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
33659         Define.
33660         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
33661         LOAD_REGS_5, LOAD_REGS_6): Update.
33662         (INTERNAL_SYSCALL): Update using new LOAD defines.
33663         (INTERNAL_SYSCALL_NCS): Likewise.
33664         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
33666 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33668         [BZ #16734]
33669         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
33671 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33673         [BZ #17905]
33674         * catgets/Makefile (tst-catgets-mem): New test.
33675         * catgets/catgets.c (catopen): Don't use unbounded alloca.
33676         * catgets/open_catalog.c (__open_catalog): Likewise.
33677         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
33679 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
33681         [BZ #18787]
33682         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
33683         clobber registers.
33684         (atomic_compare_and_exchange_val_acq): Use register asms to assign
33685         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
33686         Cast return to __typeof (oldval).
33688 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
33690         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
33691         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
33692         and delete sys/syscall.h include.
33694 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
33696         [BZ #16517]
33697         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
33698         (tan): Force underflow exception for arguments with small absolute
33699         value.
33700         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
33701         (__kernel_tanf): Force underflow exception for arguments with
33702         small absolute value.
33703         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
33704         (__kernel_tanl): Force underflow exception for arguments with
33705         small absolute value.
33706         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
33707         (__kernel_tanl): Force underflow exception for arguments with
33708         small absolute value.
33709         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
33710         (__kernel_tanl): Force underflow exception for arguments with
33711         small absolute value.
33712         * math/auto-libm-test-in: Add more tests of tan.
33713         * math/auto-libm-test-out: Regenerated.
33715 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33717         Fix sysdeps/i386/fpu/s_scalbn.S build
33719         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
33721 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
33723         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33725 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33727         Fix gcrt0.o compilation
33729         When static-start-installed-name is different from
33730         start-installed-name, we must not use the shared objects.
33732         * csu/Makefile
33733         (extra-objs): Add gmon-start.o when building shared library and
33734         $(static-start-installed-name) is different from
33735         $(start-installed-name).
33736         $(objpfx)g$(static-start-installed-name): When building shared
33737         library and $(static-start-installed-name) is different from
33738         $(static-start-installed-name), revert to non-shared rule,
33739         i.e. using $(objpfx)% and gmon-start.o.
33741 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
33743         [BZ #16519]
33744         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
33745         (__ieee754_sinh): Force underflow exception for arguments with
33746         small absolute value.
33747         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
33748         (__ieee754_sinhf): Force underflow exception for arguments with
33749         small absolute value.
33750         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
33751         (__ieee754_sinhl): Force underflow exception for arguments with
33752         small absolute value.
33753         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
33754         (__ieee754_sinhl): Force underflow exception for arguments with
33755         small absolute value.
33756         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
33757         (__ieee754_sinhl): Force underflow exception for arguments with
33758         small absolute value.
33759         * math/auto-libm-test-in: Add more tests of sinh.
33760         * math/auto-libm-test-out: Regenerated.
33761         * sysdeps/i386/fpu/libm-test-ulps: Update.
33763 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33765         * libio/oldfileops.c: Include unistd.h.
33767 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
33769         * stdlib/isomac.c: Include ctype.h.
33771 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
33773         * dirent/tst-seekdir.c (main): Converted to ...
33774         (do_test): ... this.
33775         (TEST_FUNCTION): New macro.
33776         Include test-skeleton.c.
33777         * elf/tst-dlmodcount.c (main): Converted to ...
33778         (do_test): ... this.
33779         (TEST_FUNCTION): New macro.
33780         Include test-skeleton.c.
33781         * elf/tst-order-main.c (main): Converted to ...
33782         (do_test): ... this.
33783         (TEST_FUNCTION): New macro.
33784         Include test-skeleton.c.
33785         * elf/tst-pie2.c (main): Converted to ...
33786         (do_test): ... this.
33787         (TEST_FUNCTION): New macro.
33788         Include test-skeleton.c.
33789         * inet/tst-ether_aton.c (main): Converted to ...
33790         (do_test): ... this.
33791         (TEST_FUNCTION): New macro.
33792         Include test-skeleton.c.
33793         * misc/tst-mntent.c (main): Converted to ...
33794         (do_test): ... this.
33795         (TEST_FUNCTION): New macro.
33796         Include test-skeleton.c.
33797         * misc/tst-tsearch.c (main): Converted to ...
33798         (do_test): ... this.
33799         (TEST_FUNCTION): New macro.
33800         Include test-skeleton.c.
33801         * posix/tst-regexloc.c (main): Converted to ...
33802         (do_test): ... this.
33803         (TEST_FUNCTION): New macro.
33804         Include test-skeleton.c.
33805         * resolv/tst-aton.c (main): Converted to ...
33806         (do_test): ... this.
33807         (TEST_FUNCTION): New macro.
33808         Include test-skeleton.c.
33809         * stdio-common/test-fwrite.c (main): Converted to ...
33810         (do_test): ... this.
33811         (TEST_FUNCTION): New macro.
33812         Include test-skeleton.c.
33813         * stdio-common/tst-ferror.c (main): Converted to ...
33814         (do_test): ... this.
33815         (TEST_FUNCTION): New macro.
33816         Include test-skeleton.c.
33817         * stdio-common/tst-printf.c (main): Converted to ...
33818         (do_test): ... this.
33819         (TEST_FUNCTION): New macro.
33820         Include test-skeleton.c.
33821         * stdio-common/tst-printfsz.c (main): Converted to ...
33822         (do_test): ... this.
33823         (TEST_FUNCTION): New macro.
33824         Include test-skeleton.c.
33825         * stdlib/tst-strtod.c (main): Converted to ...
33826         (do_test): ... this.
33827         (TEST_FUNCTION): New macro.
33828         Include test-skeleton.c.
33829         * string/tst-strlen.c (main): Converted to ...
33830         (do_test): ... this.
33831         (TEST_FUNCTION): New macro.
33832         Include test-skeleton.c.
33833         * string/tst-svc.c (main): Converted to ...
33834         (do_test): ... this.
33835         (TEST_FUNCTION): New macro.
33836         Include test-skeleton.c.
33837         * time/tst-strptime.c (main): Converted to ...
33838         (do_test): ... this.
33839         (TEST_FUNCTION): New macro.
33840         Include test-skeleton.c.
33841         * timezone/tst-timezone.c (main): Converted to ...
33842         (do_test): ... this.
33843         (TEST_FUNCTION): New macro.
33844         Include test-skeleton.c.
33846 2015-08-05  Zack Weinberg  <zackw@panix.com>
33848         * misc/regexp.h: Update comments.
33850 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
33852         [BZ #18635]
33853         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
33854         before return label.
33856 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33858         [BZ #18661]
33859         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33860         when calling __errno_location.
33861         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33862         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33864 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33866         [BZ #18661]
33867         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33868         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33869         __gettimeofday.
33871 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33873         [BZ #18661]
33874         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33875         (__start_context): Don't use pop to restore %rdi so that stack
33876         is aligned to 16 bytes when calling __setcontext.
33878 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33880         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33881         only for libc.
33882         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33884 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33886         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33887         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33888         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33890 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33892         * string/memccpy.c (memccpy):
33893         Improve performance by using memchr/memcpy/__mempcpy.
33895 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33897         * string/strncpy.c (strncpy):
33898         Improve performance by using __strnlen/memcpy.
33900 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33902         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33903         Optimize to avoid an unnecessary FPCR read.
33905 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33907         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33908         Optimize to reduce FPCR/FPSR accesses.
33910 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33912         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33913         dead->data[category] != NULL.
33915 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33917         [BZ #18647]
33918         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33919         and |x| close to 1, use absolute value of x when computing log.
33920         * math/auto-libm-test-in: Add more tests of pow.
33921         * math/auto-libm-test-out: Regenerated.
33923 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33925         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33926         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33927         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33929 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33931         [BZ #18525]
33932         * locales/km_KH: Remove timezone definition.
33933         * locales/lo_LA: Likewise.
33934         * locales/my_MM: Likewise.
33935         * locales/nan_TW@latin: Likewise.
33936         * locales/th_TH: Likewise.
33937         * locales/uk_UA: Likewise.
33939 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33941         [BZ #18265]
33942         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33943         (wcsncat): Likewise.
33944         (wcscmp): Likewise.
33945         (wcsncmp): Likewise.
33947 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33949         * test-skeleton.c (usage): New function.
33950         (main): Call usage when opt is '?'.
33952 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33954         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33955         before first use.
33957 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33959         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33960         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33961         in there too.
33963 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33965         * version.h (RELEASE): Set to "development".
33966         (VERSION): Set to "2.22.90"
33968         * version.h (RELEASE): Set to "stable".
33969         (VERSION): Set to "2.22"
33970         * include/features.h (__GLIBC_MINOR__): Set to 22.
33972 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33974         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33975         Restructure macro to avoid "value computed is not used" warning.
33976         (atomic_compare_and_exchange_val_acq): Likewise.
33978 2015-08-04  Andreas Schwab  <schwab@suse.de>
33980         [BZ #18635]
33981         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33982         ret.
33983         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33985 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33987         * po/pl.po: Updated translation.
33988         * po/uk.po: Likewise.
33989         * po/fi.po: Likewise.
33990         * po/ko.po: Likewise.
33991         * po/ru.po: Likewise.
33992         * po/vi.po: Likewise.
33994 2015-07-31  Zack Weinberg  <zackw@panix.com>
33996         [BZ #18681]
33997         * regexp.h: Add unconditional #warning stating that this header
33998         will be removed soon.  Revise banner comment to match.
33999         (compile): Consistently use ERROR instead of RETURN to report
34000         errors (partial fix for BZ #18681).
34001         * regexp.c: Don't include regexp.h. Remove some unnecessary
34002         declarations.
34004 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
34006         * po/libc.pot: Regenerated.
34008 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
34010         [BZ #18740]
34011         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
34012         float-vlen4-arch-ext-cflags): Removed.
34013         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
34014         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
34016 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34018         [BZ #14113]
34019         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
34020         aligned to __aligned__.
34021         (pthread_cond_t, pthread_rwlock_t): Likewise.
34023 2015-07-30  Torvald Riegel  <triegel@redhat.com>
34025         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
34027 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34029         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
34030         (struct sigaction): Change sa_flags from a long to an int, and add
34031         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
34033 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34035         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
34036         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
34037         sysdeps/generic/sysdep.h include.
34038         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
34039         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
34040         sysdeps/hppa/sysdep.h.
34041         (ENTRY, PSEUDO): Undefine before defining.
34043 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
34045         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
34046         from scratch to use INTERNAL_SYSCALL.
34048 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
34050         [BZ #18078]
34051         * scripts/check-localplt.awk: Support alternate relocations.
34052         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
34053         sections.
34054         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
34055         malloc entries with + REL R_386_GLOB_DAT.
34056         * sysdeps/x86_64/localplt.data: New file.
34058 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
34060         [BZ #18731]
34061         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
34062         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34063         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34065 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34067         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
34069 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34071         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
34072         directly in terms of __sync_fetch_and_add and delete (int) cast.
34074 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34076         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
34077         the -D_ASM_IA64_CURRENT_H flag.
34079 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
34081         [BZ #18641]
34082         * pwd/pwd.h (putpwent): Delete __nonnull markings.
34084 2015-07-27  Andreas Schwab  <schwab@suse.de>
34086         * conform/conformtest.pl (checknamespace): Filter out string
34087         literals while tokenizing.
34089 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
34091         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34092         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
34093         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34095 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
34097         * nptl/tst-join7mod.c: Add #include <string.h>.
34099 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
34101         * sysdeps/nios2/libm-test-ulps: Update.
34103 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
34105         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
34106         Fix order of arguments to the rt_sigprocmask syscall.
34107         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
34108         Likewise.
34110 2015-07-24  Roland McGrath  <roland@hack.frob.com>
34112         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
34114 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34116         [BZ #18457]
34117         * nptl/Makefile (tests): New test case tst-join7.
34118         (modules-names): New test case module tst-join7mod.
34119         * nptl/tst-join7.c: New file.
34120         * nptl/tst-join7mod.c: New file.
34121         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
34122         all translation units in libc.so, libpthread.so and rtld.
34124 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34128 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34130         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
34131         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
34132         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
34133         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
34134         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
34135         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
34136         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
34137         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
34138         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
34139         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
34140         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
34141         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
34142         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
34143         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
34144         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
34145         implementation.
34147 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34149         [BZ #17711]
34150         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34151         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
34152         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34153         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
34154         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
34155         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
34157 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34159         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
34160         instead of just saying load lock in the comments.
34162 2015-07-23  Roland McGrath  <roland@hack.frob.com>
34164         * sysdeps/unix/Subdirs: Moved ...
34165         * sysdeps/posix/Subdirs: ... here.
34166         * login/pty.h (struct termios, struct winsize): Add forward decls.
34167         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
34168         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
34169         * sysdeps/arm/nacl/libc.abilist: Updated.
34170         * sysdeps/nacl/libutil.abilist: New file.
34172         * bits/signum.h: Update comments to mention 1003.1-2013 too.
34173         (SIGWINCH): New macro.
34175         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
34176         * sysdeps/arm/nacl/libc.abilist: Add it.
34178 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34180         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
34182 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
34184         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34185         Swap __glibc_reserved0 and sa_flags order.
34187 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
34189         [BZ #18657]
34190         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
34191         are pending TLS destructor calls.
34192         * include/link.h (struct link_map): Add concurrency note for
34193         L_TLS_DTOR_COUNT.
34194         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
34195         Don't touch the link map flag.  Atomically increment
34196         l_tls_dtor_count.
34197         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
34198         Avoid taking the load lock and don't touch the link map flag.
34199         * stdlib/tst-tls-atexit-nodelete.c: New test case.
34200         * stdlib/Makefile (tests): Use it.
34201         * stdlib/tst-tls-atexit.c (do_test): dlopen
34202         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
34203         to allow tst-tls-atexit-nodelete test case to use it.
34205 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34207         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
34208         to bits/types.h.
34209         (msgqnum_t): New typedef.
34210         (msglen_t): Likewise.
34211         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
34212         and msg_qbytes type to msglen_t.
34214 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34216         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
34217         pad0 to __glibc_reserved0.
34218         (struct stat64): Likewise.
34220 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34222         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
34223         Change sa_flags from a long to an int and add __glibc_reserved0 before
34224         it for padding.
34226 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
34228         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
34229         anonymous by deleting "siginfo" name.
34231 2015-07-21  Roland McGrath  <roland@hack.frob.com>
34233         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
34234         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
34235         rather than __nacl_irt_filename.
34236         * sysdeps/nacl/xstat.c (__xstat): Likewise.
34238         * NEWS: New item for arm-nacl port.
34239         * sysdeps/arm/nacl/libc.abilist: New file.
34240         * sysdeps/nacl/ld.abilist: New file.
34241         * sysdeps/nacl/libBrokenLocale.abilist: New file.
34242         * sysdeps/nacl/libanl.abilist: New file.
34243         * sysdeps/nacl/libcrypt.abilist: New file.
34244         * sysdeps/nacl/libdl.abilist: New file.
34245         * sysdeps/nacl/libm.abilist: New file.
34246         * sysdeps/nacl/libpthread.abilist: New file.
34247         * sysdeps/nacl/libresolv.abilist: New file.
34248         * sysdeps/nacl/librt.abilist: New file.
34250 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
34252         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
34253         __startcontext to initialize the new context.
34254         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
34255         up CFI directive to forbid further backtracing.
34257 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
34259         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
34260         reference.
34261         * charmaps/ANSI_X3.4-1968: Likewise.
34262         * charmaps/BS_4730: Likewise.
34263         * charmaps/BS_VIEWDATA: Likewise.
34264         * charmaps/CP1250: Likewise.
34265         * charmaps/CP1251: Likewise.
34266         * charmaps/CP1252: Likewise.
34267         * charmaps/CP1253: Likewise.
34268         * charmaps/CP1254: Likewise.
34269         * charmaps/CP1255: Likewise.
34270         * charmaps/CP1256: Likewise.
34271         * charmaps/CSN_369103: Likewise.
34272         * charmaps/EBCDIC-DK-NO: Likewise.
34273         * charmaps/GB_1988-80: Likewise.
34274         * charmaps/GREEK-CCITT: Likewise.
34275         * charmaps/GREEK7: Likewise.
34276         * charmaps/INIS-8: Likewise.
34277         * charmaps/ISIRI-3342: Likewise.
34278         * charmaps/ISO_2033-1983: Likewise.
34279         * charmaps/ISO_5427-EXT: Likewise.
34280         * locales/POSIX: Likewise.
34281         * locales/ar_SA: Likewise.
34282         * locales/be_BY: Likewise.
34283         * locales/be_BY@latin: Likewise.
34284         * locales/ca_ES: Likewise.
34285         * locales/cs_CZ: Likewise.
34286         * locales/da_DK: Likewise.
34287         * locales/de_BE: Likewise.
34288         * locales/de_CH: Likewise.
34289         * locales/de_LU: Likewise.
34290         * locales/en_AU: Likewise.
34291         * locales/en_BW: Likewise.
34292         * locales/en_CA: Likewise.
34293         * locales/en_DK: Likewise.
34294         * locales/en_GB: Likewise.
34295         * locales/en_IE: Likewise.
34296         * locales/en_NZ: Likewise.
34297         * locales/en_ZA: Likewise.
34298         * locales/en_ZW: Likewise.
34299         * locales/es_AR: Likewise.
34300         * locales/es_BO: Likewise.
34301         * locales/es_CL: Likewise.
34302         * locales/es_CO: Likewise.
34303         * locales/es_DO: Likewise.
34304         * locales/es_EC: Likewise.
34305         * locales/es_ES: Likewise.
34306         * locales/es_HN: Likewise.
34307         * locales/es_MX: Likewise.
34308         * locales/es_PA: Likewise.
34309         * locales/es_PE: Likewise.
34310         * locales/es_PY: Likewise.
34311         * locales/es_SV: Likewise.
34312         * locales/es_US: Likewise.
34313         * locales/es_UY: Likewise.
34314         * locales/es_VE: Likewise.
34315         * locales/et_EE: Likewise.
34316         * locales/fa_IR: Likewise.
34317         * locales/fo_FO: Likewise.
34318         * locales/fr_CA: Likewise.
34319         * locales/fr_CH: Likewise.
34320         * locales/gv_GB: Likewise.
34321         * locales/he_IL: Likewise.
34322         * locales/hr_HR: Likewise.
34323         * locales/id_ID: Likewise.
34324         * locales/is_IS: Likewise.
34325         * locales/it_CH: Likewise.
34326         * locales/iw_IL: Likewise.
34327         * locales/kl_GL: Likewise.
34328         * locales/ko_KR: Likewise.
34329         * locales/kw_GB: Likewise.
34330         * locales/lg_UG: Likewise.
34331         * locales/lt_LT: Likewise.
34332         * locales/lv_LV: Likewise.
34333         * locales/mi_NZ: Likewise.
34334         * locales/nhn_MX: Likewise.
34335         * locales/nl_BE: Likewise.
34336         * locales/pl_PL: Likewise.
34337         * locales/sk_SK: Likewise.
34338         * locales/sl_SI: Likewise.
34339         * locales/sv_FI: Likewise.
34340         * locales/tl_PH: Likewise.
34341         * locales/tr_TR: Likewise.
34342         * locales/vi_VN: Likewise.
34344 2015-07-21  Khem Raj  <raj.khem@gmail.com>
34346         [BZ #17475]
34347         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
34348         of tu_IN and bh_IN.
34350 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
34352         [BZ #18694]
34353         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
34354         bits/wordsize.h.
34355         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
34357 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
34359         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
34360         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
34361         (spawn_thread): New function.
34362         (load): Rename to reg_dtor_and_close.  Move dlopen to...
34363         (do_test): ... here.  Use IS_LOADED to test for its
34364         availability.
34366 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
34368         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
34370 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
34372         [BZ #18696]
34373         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
34374         si_addr_bnd.
34375         (si_lower): New.
34376         (si_upper): Likewise.
34378 2015-07-16  David S. Miller  <davem@davemloft.net>
34380         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
34382 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34384         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
34385         buffer.
34386         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
34387         fail output information.
34389 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
34391         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
34392         and strstr-ppc64..
34393         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
34394         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
34395         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
34396         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
34397         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
34399 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34401         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34402         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34403         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
34404         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
34406 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
34408         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
34409         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
34410         rtld_hidden_proto.
34411         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
34413 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34415         * tst-nodelete-opened.c (do_test): Add comment to clarify how
34416         the test can fail.
34418         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
34420         [BZ #18676]
34421         * elf/tst-nodelete-opened.c: New test case.
34422         * elf/tst-nodelete-opened-lib.c: New test case module.
34423         * elf/Makefile (tests, modules-names): Use them.
34424         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
34425         early.
34427 2015-07-15  David S. Miller  <davem@davemloft.net>
34429         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
34430         futex-intenal.h
34431         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
34432         * sysdeps/sparc/sparc64/Makefile: Likewise.
34433         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34434         Remove space from macro define.
34435         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
34437 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
34439         [BZ #17475]
34440         * locale/iso-639.def: Update Bhili and Tulu language codes as
34441         per iso639-3.
34443 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
34445         * elf/tst-leaks1.c (main): Converted to ...
34446         (do_test): ... this.
34447         (TEST_FUNCTION): New macro.
34448         Include test-skeleton.c.
34449         * localedata/tst-langinfo.c (main): Converted to ...
34450         (do_test): ... this.
34451         (TEST_FUNCTION): New macro.
34452         Include test-skeleton.c.
34453         * math/test-fpucw.c (main): Converted to ...
34454         (do_test): ... this.
34455         (TEST_FUNCTION): New macro.
34456         Include test-skeleton.c.
34457         * math/test-tgmath.c (main): Converted to ...
34458         (do_test): ... this.
34459         (TEST_FUNCTION): New macro.
34460         Include test-skeleton.c.
34461         * math/test-tgmath2.c (main): Converted to ...
34462         (do_test): ... this.
34463         (TEST_FUNCTION): New macro.
34464         Include test-skeleton.c.
34465         * setjmp/tst-setjmp.c (main): Converted to ...
34466         (do_test): ... this.
34467         (TEST_FUNCTION): New macro.
34468         Include test-skeleton.c.
34469         * stdio-common/tst-sscanf.c (main): Converted to ...
34470         (do_test): ... this.
34471         (TEST_FUNCTION): New macro.
34472         Include test-skeleton.c.
34473         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
34474         (do_test): ... this.
34475         (TEST_FUNCTION): New macro.
34476         Include test-skeleton.c.
34478         * elf/tst-audit9.c (main): Converted to ...
34479         (do_test): ... this.
34480         (TEST_FUNCTION): New macro.
34481         Include test-skeleton.c.
34483 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
34485         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
34487 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34489         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
34490         New variable.
34492 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
34494         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34496 2015-07-14  Roland McGrath  <roland@hack.frob.com>
34498         * sysdeps/generic/dl-fileid.h: New file.
34499         * sysdeps/posix/dl-fileid.h: New file.
34500         * sysdeps/nacl/dl-fileid.h: New file.
34501         * include/link.h: Include <dl-fileid.h>.
34502         (struct link_map): Replace l_dev and l_ino with l_file_id.
34503         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
34504         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
34505         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
34507 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34509         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
34511 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34513         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
34514         Add iff $CXX is set.
34515         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
34516         Likewise.
34517         (tst-nodelete-zmodiff): Likewise.
34518         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
34520 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34522         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
34524 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34526         * sysdeps/aarch64/fpu/math_private.h
34527         (define math_opt_barrier): Add AArch64 version.
34528         (math_force_eval): Likewise.
34530 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
34532         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
34534 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
34536         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
34537         %ld with %jd and cast to intmax_t.
34538         (do_test_length_zero): Likewise.
34540 2015-07-10  Roland McGrath  <roland@hack.frob.com>
34542         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
34544 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
34546         * sysdeps/tile/libm-test-ulps: Regenerated.
34548         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
34549         Comment out the whole function, not just its body.
34551 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
34553         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
34554         locks.
34556         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
34558 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34560         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
34561         (sem_assume_only_signals_cause_futex_EINTR): Remove.
34563 2015-07-10  Torvald Riegel  <triegel@redhat.com>
34565         * sysdeps/nptl/futex-internal.h: New file.
34566         * sysdeps/nacl/futex-internal.h: New file.
34567         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
34568         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
34569         error checking.
34570         (setxid_unmark_thread): Likewise.
34571         (__nptl_setxid): Likewise.
34572         (__wait_lookup_done): Likewise.
34573         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
34574         * nptl/nptl-init.c (sighandler_setxid): Likewise.
34575         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
34576         * nptl/pthread_once.c (clear_once_control): Likewise.
34577         (__pthread_once_slow): Likewise.
34578         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
34579         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
34580         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
34581         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
34582         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
34583         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
34584         Likewise.
34585         (__pthread_rwlock_rdlock): Likewise.
34586         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
34587         Likewise.
34588         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
34589         Likewise.
34590         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
34591         Likewise.
34592         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
34593         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
34594         Likewise.
34595         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
34596         __ASSUME_PRIVATE_FUTEX check.
34597         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
34598         Check that shared futexes are supported.
34599         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
34600         wrappers with error checking.
34601         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
34602         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
34603         * nptl/pthread_barrierattr_setpshared.c
34604         (pthread_barrierattr_setpshared): Check that shared futexes are
34605         supported.
34606         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
34607         Likewise.
34608         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
34609         Likewise.
34610         * nptl/sem_init.c (futex_private_if_supported): Remove.
34611         (__new_sem_init): Adapt and check that shared futexes are supported.
34612         * nptl/sem_open.c (sem_open): Likewise.
34613         * nptl/sem_post.c (futex_wake): Remove.
34614         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
34615         (do_futex_wait): Use futex wrappers with error checking.
34616         * nptl/sem_wait.c: Include lowlevellock.h.
34617         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
34618         Use futex_supports_pshared.
34619         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
34620         Use futex wrappers with error checking.
34621         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
34622         Likewise.
34623         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
34624         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
34625         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
34626         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
34627         (futex_wake): Likewise.
34628         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
34629         (do_futex_wait): Use futex wrappers with error checking.
34630         (__new_sem_wait_slow): Update EINTR handling.
34631         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
34633 2015-07-09  Martin Sebor  <msebor@redhat.com>
34635         [BZ #18435]
34636         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34637         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
34638         * nptl/Makefile (test-xfail-tst-once5): Define.
34640 2015-07-09  Roland McGrath  <roland@hack.frob.com>
34642         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
34643         * elf/dl-minimal.c: For readability, reorder some definitions and
34644         introduce more page breaks.  Include <stdio.h>.
34645         (__libc_fatal): New function.
34647         * include/unistd.h: Add rtld_hidden_proto for _exit.
34648         * posix/_exit.c: Add rtld_hidden_def.
34649         * sysdeps/mach/hurd/_exit.c: Likewise.
34650         * sysdeps/nacl/_exit.c: Likewise.
34651         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
34652         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
34654 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
34656         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
34657         bndmov encoding with zero displacement.
34659 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
34660             H.J. Lu  <hongjiu.lu@intel.com>
34662         [BZ #18134]
34663         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
34664         * sysdeps/i386/configure: Regenerated.
34665         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
34666         (_dl_runtime_profile): Save and restore Intel MPX return bound
34667         registers when calling _dl_call_pltexit.  Add
34668         PRESERVE_BND_REGS_PREFIX before return.
34669         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
34670         (LRV_BND1_OFFSET): Likewise.
34671         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
34672         lrv_bnd1.
34673         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
34674         typo in bndmov encoding.
34675         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
34676         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
34677         branch instructions to preserve bounds.
34679 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
34682         [GLIBC_2.22]: Add fmemopen.
34684 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34686         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
34687         returns an error, also try to use host port from __mach_host_self for
34688         the __vm_wire call.
34689         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
34691 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34693         [BZ #18400]
34694         [BZ #18648]
34695         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
34696         Fix pr_uid and pr_gid members.
34697         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
34698         definition to elf_greg_t.
34700 2015-07-08  Roland McGrath  <roland@hack.frob.com>
34702         [BZ #18383]
34703         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
34704         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
34705         * sysdeps/arm/configure: Regenerated.
34706         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
34707         (test-xfail-tst-tlsalign-static): Variable removed.
34709         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
34710         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
34711         rather than explicit 'ln -s'.
34713         * resolv/rpc/netdb.h: New file.
34714         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
34716 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34718         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
34719         length buffers.
34720         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34721         test-skeleton.c.
34723         [BZ #6544]
34724         [BZ #11216]
34725         [BZ #12836]
34726         [BZ #13151]
34727         [BZ #13152]
34728         [BZ #14292]
34729         * include/stdio.h (fmemopen): Remove hidden prototype.
34730         (__fmemopen): Add new hidden prototype.
34731         * libio/Makefile: Add oldfmemopen object.
34732         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
34733         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
34734         compliance.
34735         * libio/oldfmemopen.c: New file: old fmemopen implementation for
34736         symbol compatibility.
34737         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
34738         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
34739         fmemopen.
34740         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
34741         on append and read mode.
34742         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
34743         fmemopen.
34744         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
34745         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
34746         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
34747         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
34748         Likewise.
34749         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
34750         [GLIBC_2.22]: Likewise.
34751         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
34752         Likewise.
34753         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
34754         Likewise.
34755         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
34756         [GLIBC_2.22]: Likewise.
34757         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
34758         [GLIBC_2.22]: Likewise.
34759         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
34760         [GLIBC_2.22]: Likewise.
34761         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
34762         [GLIBC_2.22]: Likewise.
34763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
34764         [GLIBC_2.22]: Likewise.
34765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
34766         [GLIBC_2.22]: Likewise.
34767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
34768         [GLIBC_2.22]: Likewise.
34769         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
34770         Likewise.
34771         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
34772         Likewise.
34773         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
34774         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
34775         [GLIBC_2.22]: Likewise.
34776         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
34777         [GLIBC_2.22]: Likewise.
34778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
34779         [GLIBC_2.22]: Likewise.
34780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
34781         [GLIBC_2.22]: Likewise.
34782         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
34783         Likewise.
34784         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
34785         Likewise.
34786         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
34787         Likewise.
34788         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
34789         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
34791 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34793         [BZ #18643]
34794         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
34795         IPV6_PATHMTU, and IPV6_DONTFRAG.
34797 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
34799         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
34800         and _IO_UNBUFFERED.
34801         * libio/oldfileops.c: Likewise.
34802         * libio/wfileops.c: Likewise.
34804 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34806         * nscd/selinux.c: Delete selinux/flask.h include.
34808 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
34810         [BZ #18641]
34811         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
34812         (putpwent): Likewise.
34813         (getpwnam): Likewise.
34814         (getpwent_r): Likewise.
34815         (getpwuid_r): Likewise.
34816         (getpwnam_r): Likewise.
34817         (fgetpwent_r): Likewise.
34819 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
34821         [BZ #18557]
34822         * inet/rcmd.c (__validuser2_sa): Check user first to
34823         short-circuit host check.
34825 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
34826             Mikhail Ilin  <m.ilin@samsung.com>
34828         [BZ #17833]
34829         * elf/Makefile (tests): Add tst-nodelete.
34830         (modules-names): Add tst-nodelete-uniquemod.
34831         (tst-nodelete-uniquemod.so-no-z-defs): New.
34832         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
34833         (tst-nodelete-zmod.so-no-z-defs): Likewise.
34834         ($(objpfx)tst-nodelete): Likewise.
34835         ($(objpfx)tst-nodelete.out): Likewise.
34836         (LDFLAGS-tst-nodelete): Likewise.
34837         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
34838         * elf/dl-close.c (_dl_close_worker): Add a parameter to
34839         implement forced object deletion.
34840         (_dl_close): Pass false to _dl_close_worker.
34841         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
34842         * elf/tst-nodelete.cc: New file.
34843         * elf/tst-nodeletelib.cc: Likewise.
34844         * elf/tst-znodeletelib.cc: Likewise.
34845         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
34847 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34849         [BZ #18508]
34850         * stdlib/Makefile ($(objpfx)tst-makecontext3):
34851         Depend on $(libdl).
34852         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
34853         is not called infinitely times.
34854         (backtrace_helper): New function.
34855         (trace_arg): New struct.
34856         (st1): Enlarge stack size.
34857         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34858         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34859         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34860         Likewise.
34862 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34864         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34866 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34868         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34869         Include sys/types.h instead of bits/types.h.
34870         Remove inclusion of bits/wordsize.h.
34872 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34874         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34875         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34876         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34877         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34878         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34879         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34881 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34883         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34884         link-defines.sym.
34885         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34886         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34887         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34888         and LR_SIZE.
34889         * sysdeps/i386/link-defines.sym: New file.
34891 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34893         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34894         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34895         ($(objpfx)tst-audit3): New rule.
34896         ($(objpfx)tst-audit3.out): Likewise.
34897         * sysdeps/i386/tst-audit3.c: New file.
34898         * sysdeps/i386/tst-audit3.h: Likewise.
34899         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34900         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34902 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34904         [BZ #18633]
34905         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34906         pointer in C code.
34907         (__strcat_c): Likewise.
34908         (__strcat_g): Likewise.
34910 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34912         [BZ #18592]
34913         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34915 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34917         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34918         New function.  (__ieee754_sqrtf): New function.
34919         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34920         New function.
34921         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34922         New function.
34924 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34926         * sysdeps/ieee754/support.c: Remove unused file.
34928 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34930         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34931         registers instead of d ones so the layout is kernel abi compatible.
34932         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34933         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34934         Likewise.
34936 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34938         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34940 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34942         [BZ #18619]
34943         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34944         and return argument in case of subnormal argument.
34946 2015-07-01  Martin Sebor  <msebor@redhat.com>
34948         [BZ #18435]
34949         * nptl/Makefile: Add tst-once5.cc.
34950         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34951         Remove macro redefinitions.
34952         * nptl/tst-once5.cc: New test.
34954 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34956         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34958         * sysdeps/arm/libm-test-ulps: Regenerated.
34960         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34961         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34963 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34965         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34966         lll_lock_wait_private and lll_futex_wake probes.
34968         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34969         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34970         Likewise.
34971         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34972         atomic_spin_nop.
34973         * sysdeps/x86_64/bits/atomic.h: Likewise.
34974         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34975         to atomic_spin_nop and move ...
34976         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34977         ... here and ...
34978         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34979         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34980         atomic_spin_nop instead of BUSY_WAIT_NOP.
34981         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34982         Likewise.
34983         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34984         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34985         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34986         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34987         instead of atomic_delay.
34989 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34991         [BZ #18613]
34992         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34993         X_ADJ not X when adjusting exponent.
34994         (__ieee754_gamma_r): Do intermediate computations in
34995         round-to-nearest then adjust overflowing and underflowing results
34996         as needed.
34997         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34998         of X_ADJ not X when adjusting exponent.
34999         (__ieee754_gammaf_r): Do intermediate computations in
35000         round-to-nearest then adjust overflowing and underflowing results
35001         as needed.
35002         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
35003         log of X_ADJ not X when adjusting exponent.
35004         (__ieee754_gammal_r): Do intermediate computations in
35005         round-to-nearest then adjust overflowing and underflowing results
35006         as needed.  Use 1.0L not 1.0f as numerator of division.
35007         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
35008         log of X_ADJ not X when adjusting exponent.
35009         (__ieee754_gammal_r): Do intermediate computations in
35010         round-to-nearest then adjust overflowing and underflowing results
35011         as needed.  Use 1.0L not 1.0f as numerator of division.
35012         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
35013         of X_ADJ not X when adjusting exponent.
35014         (__ieee754_gammal_r): Do intermediate computations in
35015         round-to-nearest then adjust overflowing and underflowing results
35016         as needed.  Use 1.0L not 1.0f as numerator of division.
35017         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
35018         to auto-libm-test-in.
35019         (tgamma_test): Use ALL_RM_TEST.
35020         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
35021         tests of tgamma with spurious-overflow.
35022         * math/auto-libm-test-out: Regenerated.
35023         * math/gen-libm-have-vector-test.sh: Do not check for START.
35024         * sysdeps/i386/fpu/libm-test-ulps: Update.
35025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35027         [BZ #18612]
35028         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
35029         arguments, just return 0.5 times the argument, with underflow
35030         forced as needed.
35031         * math/auto-libm-test-in: Add more tests of j1.
35032         * math/auto-libm-test-out: Regenerated.
35034         [BZ #16559]
35035         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
35036         (__ieee754_j1): Force underflow exception for small results.
35037         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35038         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
35039         (__ieee754_j1f): Force underflow exception for small results.
35040         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35041         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35042         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35043         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
35044         (__ieee754_j1l): Force underflow exception for small results.
35045         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35046         * math/auto-libm-test-in: Add more tests of j1 and jn.
35047         * math/auto-libm-test-out: Regenerated.
35049         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
35050         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
35051         (PF_MPLS): Likewise.
35052         (AF_IB): Likewise.
35053         (AF_MPLS): Likewise.
35054         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
35055         value and macro.
35056         (MS_RMT_MASK): Include MS_LAZYTIME.
35058 2015-06-26  Mel Gorman  <mgorman@suse.de>
35060         [BZ #18502]
35061         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
35062         already minimal.
35064 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
35066         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
35067         (DT_MIPS_NUM): Update.
35068         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
35069         DT_MIPS_RLD_MAP_REL.
35071 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
35073         [BZ #16559]
35074         [BZ #18602]
35075         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
35076         round-to-nearest internally then recompute results that
35077         underflowed to zero in the original rounding mode.
35078         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
35079         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35080         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
35081         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35082         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
35083         * sysdeps/i386/fpu/libm-test-ulps: Update.
35084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35086 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
35088         * NEWS: Fixed description of link with vector math library.
35090 2015-06-25  Andreas Schwab  <schwab@suse.de>
35092         [BZ #18549]
35093         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
35094         * libio/test-fmemopen.c (do_test): Add test for it.
35096 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
35098         [BZ #17841]
35099         * Makeconfig (no-pie-ldflag): New.
35100         (+link): Set to $(+link-pie) if default to PIE.
35101         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
35102         * config.make.in (build-pie-default): New.
35103         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
35104         is default.  AC_SUBST.
35105         * configure: Regenerated.
35106         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
35108 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35110         * nptl/descr.h (struct pthread): Change type of field setxid_futex
35111         to 'unsigned int'.
35113         * resolv/gai_misc.h (struct waitlist): Change type of field
35114         counterp to 'volatile unsigned int *'.
35115         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
35116         FUTEXADDR and OLDVAL.
35117         * resolv/getaddrinfo_a.c (getaddrinfo_a):
35118         Give local variable TOTAL type 'volatile unsigned int'.
35119         (struct async_waitlist): Change type of field counter to 'unsigned int'.
35120         * resolv/gai_suspend.c (gai_suspend):
35121         Give local variable CNTR type 'unsigned int'.
35123         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
35124         counterp to 'volatile unsigned int *'.
35125         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
35126         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
35127         (aio_suspend): Give local variable CNTR type 'unsigned int'.
35128         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
35129         Give local variable TOTAL type 'volatile unsigned int'.
35130         (struct async_waitlist): Change type of field counter to 'unsigned int'.
35132 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35134         [BZ #18383]
35135         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
35136         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
35137         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
35138         comment for i386/x86-64.
35139         (test-xfail-tst-tlsalign-extern-static): Removed.
35141 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35143         * math/test-double.h: New file.
35144         * math/test-float.h: Likewise.
35145         * math/test-ldouble.h: Likewise.
35146         * math/test-math-inline.h: Likewise.
35147         * math/test-math-no-inline.h: Likewise.
35148         * math/test-math-scalar.h: Likewise.
35149         * math/test-math-vector.h: Likewise.
35150         * math/test-vec-loop.h: Remove file.  Contents moved into
35151         test-math-vector.h.
35152         * math/libm-test.inc (MATHCONST): Do not document macro.
35153         * math/test-double.c: Include test-double.h, test-math-no-inline.h
35154         and test-math-scalar.h.
35155         (FUNC): Remove macro.
35156         (FUNC_TEST): Likewise.
35157         (FLOAT): Likewise.
35158         (MATHCONST): Likewise.
35159         (PRINTF_EXPR): Likewise.
35160         (PRINTF_XEXPR): Likewise.
35161         (PRINTF_NEXPR): Likewise.
35162         (TEST_DOUBLE): Likewise.
35163         (TEST_MATHVEC): Likewise.
35164         (__NO_MATH_INLINES): Likewise.
35165         * math/test-float.c: Include test-float.h, test-math-no-inline.h
35166         and test-math-scalar.h.
35167         (FUNC): Remove macro.
35168         (FUNC_TEST): Likewise.
35169         (FLOAT): Likewise.
35170         (MATHCONST): Likewise.
35171         (PRINTF_EXPR): Likewise.
35172         (PRINTF_XEXPR): Likewise.
35173         (PRINTF_NEXPR): Likewise.
35174         (TEST_FLOAT): Likewise.
35175         (TEST_MATHVEC): Likewise.
35176         (__NO_MATH_INLINES): Likewise.
35177         * math/test-idouble.c: Include test-double.h, test-math-inline.h
35178         and test-math-scalar.h.
35179         (FUNC): Remove macro.
35180         (FUNC_TEST): Likewise.
35181         (FLOAT): Likewise.
35182         (MATHCONST): Likewise.
35183         (PRINTF_EXPR): Likewise.
35184         (PRINTF_XEXPR): Likewise.
35185         (PRINTF_NEXPR): Likewise.
35186         (TEST_DOUBLE): Likewise.
35187         (TEST_MATHVEC): Likewise.
35188         (TEST_INLINE): Likewise.
35189         (__NO_MATH_INLINES): Likewise.
35190         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
35191         test-math-scalar.h.
35192         (FUNC): Remove macro.
35193         (FUNC_TEST): Likewise.
35194         (FLOAT): Likewise.
35195         (MATHCONST): Likewise.
35196         (PRINTF_EXPR): Likewise.
35197         (PRINTF_XEXPR): Likewise.
35198         (PRINTF_NEXPR): Likewise.
35199         (TEST_FLOAT): Likewise.
35200         (TEST_MATHVEC): Likewise.
35201         (TEST_INLINE): Likewise.
35202         (__NO_MATH_INLINES): Likewise.
35203         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
35204         and test-math-scalar.h.
35205         (FUNC): Remove macro.
35206         (FUNC_TEST): Likewise.
35207         (FLOAT): Likewise.
35208         (MATHCONST): Likewise.
35209         (PRINTF_EXPR): Likewise.
35210         (PRINTF_XEXPR): Likewise.
35211         (PRINTF_NEXPR): Likewise.
35212         (TEST_LDOUBLE): Likewise.
35213         (TEST_MATHVEC): Likewise.
35214         (TEST_INLINE): Likewise.
35215         (__NO_MATH_INLINES): Likewise.
35216         * math/test-ldouble.c: Include test-ldouble.h,
35217         test-math-no-inline.h and test-math-scalar.h.
35218         (FUNC): Remove macro.
35219         (FUNC_TEST): Likewise.
35220         (FLOAT): Likewise.
35221         (MATHCONST): Likewise.
35222         (PRINTF_EXPR): Likewise.
35223         (PRINTF_XEXPR): Likewise.
35224         (PRINTF_NEXPR): Likewise.
35225         (TEST_LDOUBLE): Likewise.
35226         (TEST_MATHVEC): Likewise.
35227         (__NO_MATH_INLINES): Likewise.
35228         * math/test-double-vlen2.h: Include test-double.h,
35229         test-math-no-inline.h and test-math-vector.h.
35230         (FLOAT): Remove macro.
35231         (FUNC): Likewise.
35232         (MATHCONST): Likewise.
35233         (PRINTF_EXPR): Likewise.
35234         (PRINTF_XEXPR): Likewise.
35235         (PRINTF_NEXPR): Likewise.
35236         (TEST_DOUBLE): Likewise.
35237         (TEST_MATHVEC): Likewise.
35238         (__NO_MATH_INLINES): Likewise.
35239         (CNCT): Likewise.
35240         (CONCAT): Likewise.
35241         (WRAPPER_NAME): Likewise.
35242         (WRAPPER_DECL): Likewise.
35243         (WRAPPER_DECL_ff): Likewise.
35244         (WRAPPER_DECL_fFF): Likewise.
35245         (VECTOR_WRAPPER): Likewise.
35246         (VECTOR_WRAPPER_ff): Likewise.
35247         (VECTOR_WRAPPER_fFF): Likewise.
35248         (VEC_LEN): New macro.
35249         * math/test-double-vlen4.h: Include test-double.h,
35250         test-math-no-inline.h and test-math-vector.h.
35251         (FLOAT): Remove macro.
35252         (FUNC): Likewise.
35253         (MATHCONST): Likewise.
35254         (PRINTF_EXPR): Likewise.
35255         (PRINTF_XEXPR): Likewise.
35256         (PRINTF_NEXPR): Likewise.
35257         (TEST_DOUBLE): Likewise.
35258         (TEST_MATHVEC): Likewise.
35259         (__NO_MATH_INLINES): Likewise.
35260         (CNCT): Likewise.
35261         (CONCAT): Likewise.
35262         (WRAPPER_NAME): Likewise.
35263         (WRAPPER_DECL): Likewise.
35264         (WRAPPER_DECL_ff): Likewise.
35265         (WRAPPER_DECL_fFF): Likewise.
35266         (VECTOR_WRAPPER): Likewise.
35267         (VECTOR_WRAPPER_ff): Likewise.
35268         (VECTOR_WRAPPER_fFF): Likewise.
35269         (VEC_LEN): New macro.
35270         * math/test-double-vlen8.h: Include test-double.h,
35271         test-math-no-inline.h and test-math-vector.h.
35272         (FLOAT): Remove macro.
35273         (FUNC): Likewise.
35274         (MATHCONST): Likewise.
35275         (PRINTF_EXPR): Likewise.
35276         (PRINTF_XEXPR): Likewise.
35277         (PRINTF_NEXPR): Likewise.
35278         (TEST_DOUBLE): Likewise.
35279         (TEST_MATHVEC): Likewise.
35280         (__NO_MATH_INLINES): Likewise.
35281         (CNCT): Likewise.
35282         (CONCAT): Likewise.
35283         (WRAPPER_NAME): Likewise.
35284         (WRAPPER_DECL): Likewise.
35285         (WRAPPER_DECL_ff): Likewise.
35286         (WRAPPER_DECL_fFF): Likewise.
35287         (VECTOR_WRAPPER): Likewise.
35288         (VECTOR_WRAPPER_ff): Likewise.
35289         (VECTOR_WRAPPER_fFF): Likewise.
35290         (VEC_LEN): New macro.
35291         * math/test-float-vlen4.h: Include test-float.h,
35292         test-math-no-inline.h and test-math-vector.h.
35293         (FLOAT): Remove macro.
35294         (FUNC): Likewise.
35295         (MATHCONST): Likewise.
35296         (PRINTF_EXPR): Likewise.
35297         (PRINTF_XEXPR): Likewise.
35298         (PRINTF_NEXPR): Likewise.
35299         (TEST_FLOAT): Likewise.
35300         (TEST_MATHVEC): Likewise.
35301         (__NO_MATH_INLINES): Likewise.
35302         (CNCT): Likewise.
35303         (CONCAT): Likewise.
35304         (WRAPPER_NAME): Likewise.
35305         (WRAPPER_DECL): Likewise.
35306         (WRAPPER_DECL_ff): Likewise.
35307         (WRAPPER_DECL_fFF): Likewise.
35308         (VECTOR_WRAPPER): Likewise.
35309         (VECTOR_WRAPPER_ff): Likewise.
35310         (VECTOR_WRAPPER_fFF): Likewise.
35311         (VEC_LEN): New macro.
35312         * math/test-float-vlen8.h: Include test-float.h,
35313         test-math-no-inline.h and test-math-vector.h.
35314         (FLOAT): Remove macro.
35315         (FUNC): Likewise.
35316         (MATHCONST): Likewise.
35317         (PRINTF_EXPR): Likewise.
35318         (PRINTF_XEXPR): Likewise.
35319         (PRINTF_NEXPR): Likewise.
35320         (TEST_FLOAT): Likewise.
35321         (TEST_MATHVEC): Likewise.
35322         (__NO_MATH_INLINES): Likewise.
35323         (CNCT): Likewise.
35324         (CONCAT): Likewise.
35325         (WRAPPER_NAME): Likewise.
35326         (WRAPPER_DECL): Likewise.
35327         (WRAPPER_DECL_ff): Likewise.
35328         (WRAPPER_DECL_fFF): Likewise.
35329         (VECTOR_WRAPPER): Likewise.
35330         (VECTOR_WRAPPER_ff): Likewise.
35331         (VECTOR_WRAPPER_fFF): Likewise.
35332         (VEC_LEN): New macro.
35333         * math/test-float-vlen16.h: Include test-float.h,
35334         test-math-no-inline.h and test-math-vector.h.
35335         (FLOAT): Remove macro.
35336         (FUNC): Likewise.
35337         (MATHCONST): Likewise.
35338         (PRINTF_EXPR): Likewise.
35339         (PRINTF_XEXPR): Likewise.
35340         (PRINTF_NEXPR): Likewise.
35341         (TEST_FLOAT): Likewise.
35342         (TEST_MATHVEC): Likewise.
35343         (__NO_MATH_INLINES): Likewise.
35344         (CNCT): Likewise.
35345         (CONCAT): Likewise.
35346         (WRAPPER_NAME): Likewise.
35347         (WRAPPER_DECL): Likewise.
35348         (WRAPPER_DECL_ff): Likewise.
35349         (WRAPPER_DECL_fFF): Likewise.
35350         (VECTOR_WRAPPER): Likewise.
35351         (VECTOR_WRAPPER_ff): Likewise.
35352         (VECTOR_WRAPPER_fFF): Likewise.
35353         (VEC_LEN): New macro.
35354         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
35355         test-vec-loop.h.
35356         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35357         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35358         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35359         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35360         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35361         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35362         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35364 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35366         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
35367         (__getlogin_r): ... this.
35369 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35371         [BZ #18594]
35372         * math/s_ccosh.c (__ccosh): Compare with least normal value
35373         instead of comparing class with FP_SUBNORMAL.
35374         * math/s_ccoshf.c (__ccoshf): Likewise.
35375         * math/s_ccoshl.c (__ccoshl): Likewise.
35376         * math/s_cexp.c (__cexp): Likewise.
35377         * math/s_cexpf.c (__cexpf): Likewise.
35378         * math/s_cexpl.c (__cexpl): Likewise.
35379         * math/s_csin.c (__csin): Likewise.
35380         * math/s_csinf.c (__csinf): Likewise.
35381         * math/s_csinh.c (__csinh): Likewise.
35382         * math/s_csinhf.c (__csinhf): Likewise.
35383         * math/s_csinhl.c (__csinhl): Likewise.
35384         * math/s_csinl.c (__csinl): Likewise.
35385         * math/s_ctan.c (__ctan): Likewise.
35386         * math/s_ctanf.c (__ctanf): Likewise.
35387         * math/s_ctanh.c (__ctanh): Likewise.
35388         * math/s_ctanhf.c (__ctanhf): Likewise.
35389         * math/s_ctanhl.c (__ctanhl): Likewise.
35390         * math/s_ctanl.c (__ctanl): Likewise.
35391         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
35392         csin, csinh, ctan and ctanh.
35393         * math/auto-libm-test-out: Regenerated.
35394         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
35395         * sysdeps/i386/fpu/libm-test-ulps: Update.
35396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35398 2015-06-24  Roland McGrath  <roland@hack.frob.com>
35400         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
35401         return value is wrong, print the expected value too.
35403 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
35405         [BZ #18585]
35406         * elf/readlib.c (is_gdb_python_file): New.
35407         (process_file): Don't issue errors on filenames with -gdb.py
35408         suffix.
35410 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
35412         * math/auto-libm-test-in: Add more tests of csin and csinh.
35413         * math/auto-libm-test-out: Regenerated.
35414         * math/libm-test.inc (csin_test_data): Remove tests moved to
35415         auto-libm-test-in.
35416         (csinh_test_data): Likewise.
35418         [BZ #18593]
35419         * math/s_csin.c (__csin): Negate before rather than after possibly
35420         overflowing multiplication.
35421         * math/s_csinf.c (__csinf): Likewise.
35422         * math/s_csinh.c (__csinh): Likewise.
35423         * math/s_csinhf.c (__csinhf): Likewise.
35424         * math/s_csinhl.c (__csinhl): Likewise.
35425         * math/s_csinl.c (__csinl): Likewise.
35426         * math/auto-libm-test-in: Add some tests of csin and csinh.
35427         * math/auto-libm-test-out: Regenerated.
35428         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
35429         (csinh_test_data): Likewise.
35430         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35432         [BZ #18586]
35433         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
35434         underflow exception for small results.
35436 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
35438         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35439         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
35440         variable and included header.
35441         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
35442         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
35443         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
35444         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
35445         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
35446         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
35447         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
35448         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
35449         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
35450         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
35451         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
35452         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
35453         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
35454         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
35455         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
35456         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
35458 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #16526]
35461         [BZ #16538]
35462         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
35463         (__sin): Force underflow exception for arguments with small
35464         absolute value.
35465         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
35466         (__kernel_sinf): Force underflow exception for arguments with
35467         small absolute value.
35468         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
35469         (__kernel_sincosl): Force underflow exception for arguments with
35470         small absolute value.
35471         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
35472         (__kernel_sinl): Force underflow exception for arguments with
35473         small absolute value.
35474         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
35475         (__kernel_sincosl): Force underflow exception for arguments with
35476         small absolute value.
35477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
35478         (__kernel_sinl): Force underflow exception for arguments with
35479         small absolute value.
35480         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
35481         (__kernel_sinl): Force underflow exception for arguments with
35482         small absolute value.
35483         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
35484         (__kernel_sinf): Force underflow exception for arguments with
35485         small absolute value.
35486         * math/auto-libm-test-in: Add more tests of sin and sincos.
35487         * math/auto-libm-test-out: Regenerated.
35489         [BZ #18245]
35490         [BZ #18583]
35491         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
35492         (__kernel_standard_l): Use feholdexcept and fesetenv around
35493         conversion to double instead of special-casing overflow and
35494         underflow.
35495         * math/libm-test.inc (fmod_test_data): Add more tests.
35496         (remainder_test_data): Likewise.
35497         (sqrt_test_data): Likewise.
35499 2015-06-23  Torvald Riegel  <triegel@redhat.com>
35501         [BZ #17403]
35502         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
35503         atomic_read_barrier, atomic_write_barrier): Define.
35504         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
35505         atomic_read_barrier, atomic_write_barrier): Define.
35507 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35509         * math/Makefile [$(PERL) != no]
35510         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
35511         dependency on libm-test.stmp below the inclusion of Rules.
35513 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
35515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
35516         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
35517         and included header.
35518         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
35519         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
35520         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
35521         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
35522         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
35523         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
35524         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
35525         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
35526         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
35527         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
35528         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
35529         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
35530         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
35531         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
35532         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
35533         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
35534         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
35535         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
35536         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
35538 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
35540         [BZ #18371]
35541         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
35542         intermediate but not final result might underflow.
35543         * math/s_csqrtf.c (__csqrtf): Likewise.
35544         * math/s_csqrtl.c (__csqrtl): Likewise.
35545         * math/auto-libm-test-in: Add more tests of csqrt.
35546         * math/auto-libm-test-out: Regenerated.
35547         * sysdeps/i386/fpu/libm-test-ulps: Update.
35549         [BZ #18219]
35550         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
35551         threshold on absolute value of exponent for which scaling is used.
35552         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
35553         * math/auto-libm-test-in: Add more tests of exp2.
35554         * math/auto-libm-test-out: Regenerated.
35556 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
35558         [BZ #17977]
35559         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
35560         when initializing interface list, based on the bug analysis
35561         and the patch proposed by Eric Newton.
35562         * resolv/tst-res_hconf_reorder.c: New test.
35563         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
35564         tst-res_hconf_reorder.
35565         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
35566         and $(shared-thread-library).
35567         (tst-res_hconf_reorder-ENV): New variable.
35569         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
35570         in comment.
35572 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
35574         [BZ #16353]
35575         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
35576         (__expm1): Force underflow exception for arguments with small
35577         absolute value.
35578         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
35579         (__expm1f): Force underflow exception for arguments with small
35580         absolute value.
35581         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
35582         (__expm1): Force underflow exception for arguments with small
35583         absolute value.
35584         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
35585         (__expm1f): Force underflow exception for arguments with small
35586         absolute value.
35587         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
35588         Check for small arguments before calling __expm1.
35589         * math/auto-libm-test-in: Do not mark underflow exceptions as
35590         possibly missing for bug 16353.
35591         * math/auto-libm-test-out: Regenerated.
35593 2015-06-22  Andreas Schwab  <schwab@suse.de>
35595         [BZ #18513]
35596         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
35597         PTR queries.
35599 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
35601         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
35603         * string/strcoll_l.c: Remove unused struct element idxnow.
35605 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
35607         [BZ #18569]
35608         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
35609         underflow and return argument in case of subnormal argument.
35610         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
35611         Likewise.
35612         * math/auto-libm-test-in: Add more tests of expm1.
35613         * math/auto-libm-test-out: Regenerated.
35615         [BZ #16361]
35616         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35617         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35618         tiny results.
35619         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
35620         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
35621         tiny results.
35622         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
35623         mark underflow exceptions as possibly missing for bug 16361.
35624         * math/auto-libm-test-out: Regenerated.
35626 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
35628         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
35629         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
35630         Remove variable.
35631         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
35632         (test-xfail-XOPEN2K8/utmpx.h/conform).
35634         * conform/conformtest.pl ($xerrors): New variable.
35635         (note_error): New function.
35636         (compiletest): New argument $xfail.  Use not_error.
35637         (runtest): Likewise.
35638         (top level): Handle xfail- lines.  Update calls to compiletest and
35639         runtest.  Handle xfail- and optional- in headers listed with
35640         allow-header.
35641         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
35642         (O_EXEC): Likewise.
35643         (O_SEARCH): Likewise.
35644         * conform/data/stropts.h-data (ioctl): Likewise.
35645         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
35646         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
35647         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
35648         (msghdr.msg_controllen): Likewise.
35649         (cmsghdr.cmsg_len): Likewise.
35650         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
35651         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
35652         variable.
35653         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
35654         (test-xfail-XPG4/stropts.h/conform): Likewise.
35655         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
35656         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
35657         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
35658         (test-xfail-UNIX98/stropts.h/conform): Likewise.
35659         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
35660         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
35661         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
35662         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
35663         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
35664         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
35665         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
35666         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
35667         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
35668         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
35669         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
35670         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
35671         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
35672         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
35673         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
35675 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
35677         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
35678         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
35679         definitions for proper unfolding of __MATHDECL_VEC.
35681 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35683         * benchtests/bench-strcoll.c:
35684         Include string.h.
35685         (main): Remove unused variable res.
35687 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35689         * timezone/Makefile (%/UTC %/Universal):
35690         Generate test-result files for UTC and Universal.
35692 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
35694         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
35696 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
35698         [BZ #16350]
35699         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
35700         for arguments with small absolute value.
35701         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
35702         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
35703         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
35704         (__asinh): Force underflow exception for arguments with small
35705         absolute value.
35706         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
35707         (__asinhf): Force underflow exception for arguments with small
35708         absolute value.
35709         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
35710         (__asinhl): Force underflow exception for arguments with small
35711         absolute value.
35712         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
35713         (__asinhl): Force underflow exception for arguments with small
35714         absolute value.
35715         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
35716         (__asinhl): Force underflow exception for arguments with small
35717         absolute value.
35718         * math/auto-libm-test-in: Do not mark underflow exceptions as
35719         possibly missing for bug 16350.
35720         * math/auto-libm-test-out: Regenerated.
35722         * include/bits/ipc.h: Remove file.
35723         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
35724         variable.
35725         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
35726         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
35727         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
35728         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
35729         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
35730         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
35731         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
35732         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
35733         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
35735         * math/auto-libm-test-in: Remove spurious underflow allowance for
35736         tests of cexp.
35737         * math/auto-libm-test-out: Regenerated.
35739         [BZ #18558]
35740         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
35741         unconditional definition.
35742         (MCAST_BLOCK_SOURCE): Likewise.
35743         (MCAST_UNBLOCK_SOURCE): Likewise.
35744         (MCAST_LEAVE_GROUP): Likewise.
35745         (MCAST_JOIN_SOURCE_GROUP): Likewise.
35746         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
35747         (MCAST_MSFILTER): Likewise.
35748         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
35749         Remove variable.
35750         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
35751         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
35752         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
35753         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
35754         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
35756 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
35758         * NEWS: Mention addition of x86_64 vector sincosf.
35759         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
35760         * math/test-float-vlen4.h: Likewise.
35761         * math/test-float-vlen8.h: Likewise.
35762         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35763         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
35764         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35765         * sysdeps/x86_64/fpu/Versions: New versions added.
35766         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35767         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35768         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35769         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
35770         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
35771         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
35772         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
35773         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
35774         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
35775         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
35776         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
35777         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
35778         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
35779         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
35780         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
35781         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
35782         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
35783         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
35784         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35785         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35786         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35787         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35788         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35789         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35791         * NEWS: Mention addition of x86_64 vector sincos.
35792         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
35793         * math/math.h (__MATHDECL_VEC): New macro.
35794         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
35795         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
35796         declaration under condition.
35797         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
35798         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
35799         TEST_VEC_LOOP change.
35800         * math/test-double-vlen4.h: Likewise.
35801         * math/test-double-vlen8.h: Likewise.
35802         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
35803         * math/test-float-vlen4.h: Likewise.
35804         * math/test-float-vlen8.h: Likewise.
35805         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35806         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
35807         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35808         * sysdeps/x86_64/fpu/Versions: New versions added.
35809         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35810         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35811         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35812         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
35813         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
35814         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
35815         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
35816         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
35817         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
35818         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
35819         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
35820         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
35821         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
35822         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
35823         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
35824         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
35825         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
35826         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35827         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35828         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35829         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35830         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35831         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35832         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35834         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35835         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35836         redirections for powf.
35837         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35838         * sysdeps/x86_64/fpu/Versions: New versions added.
35839         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35840         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35841         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35842         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
35843         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
35844         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
35845         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
35846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
35847         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
35848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
35849         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
35850         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
35851         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
35852         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
35853         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
35854         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
35855         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
35856         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35857         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35858         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35859         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35860         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35861         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35862         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35863         * math/test-float-vlen16.h: Fixed 2 argument macro.
35864         * math/test-float-vlen4.h: Likewise.
35865         * math/test-float-vlen8.h: Likewise.
35866         * NEWS: Mention addition of x86_64 vector powf.
35868 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35870         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35871         and redefine.
35872         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35873         and redefine.
35874         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35875         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35876         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35878         [BZ #18553]
35879         * resource/getpriority.c (getpriority): Rename to __getpriority
35880         and define as weak alias of __getpriority.
35881         * resource/setpriority.c (setpriority): Rename to __setpriority
35882         and define as weak alias of __setpriority.
35883         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35884         __getpriority and define as weak alias of __getpriority.
35885         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35886         __setpriority and define as weak alias of __setpriority.
35887         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35888         strong name.
35889         (setpriority): Use __setpriority as strong name.
35890         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35891         __getpriority and define as weak alias of __getpriority.
35892         * include/sys/resource.h (__getpriority): Declare.  Use
35893         libc_hidden_proto.
35894         (__setpriority): Likewise.
35895         (getpriority): Don't use libc_hidden_proto.
35896         (setpriority): Likewise.
35897         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35898         getpriority.  Call __setpriority instead of setpriority.
35899         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35900         Remove variable.
35902         [BZ #18547]
35903         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35904         as weak alias of __getttynam.  Use prototype function definition.
35905         Call __setttyent, __getttyent and __endttyent instead of
35906         setttyent, getttyent and endttyent.
35907         (getttyent): Rename to __getttyent and define as weak alias of
35908         __getttyent.  Call __setttyent instead of setttyent.  Call
35909         __fgets_unlocked instead of fgets_unlocked.
35910         (setttyent): Rename to __setttyent and define as weak alias of
35911         __setttyent.
35912         (endttyent): Rename to __endttyent and define as weak alias of
35913         __endttyent.
35914         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35915         (__setttyent): Likewise.
35916         (__endttyent): Likewise.
35917         (getttyent): Don't use libc_hidden_proto.
35918         (setttyent): Likewise.
35919         (endttyent): Likewise.
35920         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35921         __endttyent instead of setttyent, getttyent and endttyent.
35922         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35923         Remove variable.
35925         [BZ #18546]
35926         * socket/recv.c (__recv): Use libc_hidden_def.
35927         * socket/socket.c (__socket): Likewise.
35928         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35929         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35930         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35931         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35932         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35933         libc_hidden_def.
35934         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35935         libc_hidden_weak.
35936         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35937         Use libc_hidden_proto.
35938         (__recv): Likewise.
35939         * socket/Versions (libc): Export __recv and __socket at version
35940         GLIBC_PRIVATE.
35941         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35942         instead of recv.
35943         (init_mq_netlink): Call __socket instead of socket.
35944         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35945         Remove variable.
35947         [BZ #18545]
35948         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35949         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35950         hidden_weak.
35951         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35952         define as alias of __mq_timedsend.  Use hidden_weak.
35953         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35954         __mq_timedsend as strong name.
35955         (mq_timedreceive): Use __mq_timedreceive as strong name.
35956         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35957         (__mq_timedreceive): Likewise.
35958         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35959         __mq_timedreceive instead of mq_timedreceive.
35960         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35961         instead of mq_timedsend.
35962         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35963         Remove variable.
35965         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35966         hidden_def and hidden_weak instead of libc_hidden_def and
35967         libc_hidden_weak.
35968         (top level): Refer to hidden_def in comment.
35969         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35970         macro.  Use it instead of libc_hidden_def.
35971         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35972         specify __GI_* name explicitly.
35973         (mq_timedreceive): Likewise.
35974         (mq_setattr): Likewise.
35976         [BZ #18544]
35977         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35978         __pthread_barrier_init and define as weak alias of
35979         __pthread_barrier_init.
35980         * sysdeps/sparc/nptl/pthread_barrier_init.c
35981         (pthread_barrier_init): Likewise.
35982         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35983         __pthread_barrier_wait and define as weak alias of
35984         __pthread_barrier_wait.
35985         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35986         (pthread_barrier_wait): Likewise.
35987         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35988         (pthread_barrier_wait): Likewise.
35989         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35990         (pthread_barrier_wait): Likewise.
35991         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35992         (pthread_barrier_wait): Likewise.
35993         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35994         __pthread_barrier_wait at version GLIBC_PRIVATE.
35995         * include/pthread.h (__pthread_barrier_init): Declare.
35996         (__pthread_barrier_wait): Likewise.
35997         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35998         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35999         (helper_thread): Likewise.
36000         (init_mq_netlink): Call __pthread_barrier_init instead of
36001         pthread_barrier_init.
36003         [BZ #18542]
36004         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
36005         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
36006         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
36007         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
36008         vswscanf.
36009         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
36010         Remove variable.
36012         [BZ #18540]
36013         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
36014         strong alias of _IO_fflush.  Use libc_hidden_def.
36015         * libio/iofflush_u.c (fflush_unlocked): Rename to
36016         __fflush_unlocked and define as weak alias of __fflush_unlocked.
36017         Use libc_hidden_weak.
36018         * include/stdio.h (__fflush_unlocked): Declare.  Use
36019         libc_hidden_proto.
36020         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
36021         fflush_unlocked.
36022         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
36023         Remove variable.
36025         [BZ #18539]
36026         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
36027         define as weak alias of __addseverity.
36028         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
36029         Remove variable.
36030         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
36031         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
36032         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
36034         [BZ #18536]
36035         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
36036         (__tfind): Likewise.
36037         (__tdelete): Likewise.
36038         (__twalk): Likewise.
36039         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
36040         __twalk to GLIBC_PRIVATE.
36041         * include/search.h (__tsearch): Use libc_hidden_proto.
36042         (__tfind): Likewise.
36043         (__tdelete): Likewise.
36044         (__twalk): Likewise.
36045         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
36046         Call __tdelete instead of tdelete.
36047         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
36048         tfind.  Call __tsearch instead of tsearch.
36049         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
36050         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
36051         Remove variable.
36052         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
36054         [BZ #18534]
36055         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
36056         (dprintf): Define as a weak alias of __dprintf, not a strong
36057         alias.
36058         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
36059         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
36060         dprintf.
36061         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
36062         Remove variable.
36063         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
36064         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
36066         [BZ #18533]
36067         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
36068         not a strong alias.
36069         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
36070         Remove variable.
36072         [BZ #18532]
36073         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
36074         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
36075         (in6addr_loopback): Rename to __in6addr_loopback and define as
36076         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
36077         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
36078         libc_hidden_proto.
36079         (__in6addr_any): Likewise.
36080         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
36081         in6addr_any.
36082         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
36083         variable.
36084         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
36086 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
36088         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
36089         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
36090         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36091         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36092         redirections for pow.
36093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36094         * sysdeps/x86_64/fpu/Versions: New versions added.
36095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36097         build of SSE, AVX2 and AVX512 IFUNC versions.
36098         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
36099         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
36100         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
36101         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
36102         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
36103         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
36104         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
36105         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
36106         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
36107         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
36108         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
36109         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
36110         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
36111         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
36112         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36113         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36114         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36115         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36116         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36117         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36118         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36119         * NEWS: Mention addition of x86_64 vector pow.
36121         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36122         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36123         redirections for expf.
36124         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36125         * sysdeps/x86_64/fpu/Versions: New versions added.
36126         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36127         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36128         build of SSE, AVX2 and AVX512 IFUNC versions.
36129         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
36130         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
36131         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
36132         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
36133         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
36134         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
36135         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
36136         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
36137         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
36138         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
36139         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
36140         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
36141         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
36142         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36143         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36144         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36145         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36146         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36147         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36148         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36149         * NEWS: Mention addition of x86_64 vector expf.
36151         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
36152         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
36153         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36154         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36155         redirections for exp.
36156         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36157         * sysdeps/x86_64/fpu/Versions: New versions added.
36158         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36159         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36160         build of SSE, AVX2 and AVX512 IFUNC versions.
36161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
36162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
36163         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
36164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
36165         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
36166         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
36167         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
36168         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
36169         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
36170         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
36171         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
36172         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
36173         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
36174         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36175         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36176         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36177         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36178         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36179         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36180         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36181         * NEWS: Mention addition of x86_64 vector exp.
36183         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36184         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36185         redirections for logf.
36186         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36187         * sysdeps/x86_64/fpu/Versions: New versions added.
36188         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36189         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36190         build of SSE, AVX2 and AVX512 IFUNC versions.
36191         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
36192         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
36193         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
36194         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
36195         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
36196         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
36197         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
36198         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
36199         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
36200         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
36201         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
36202         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
36203         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
36204         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36205         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36206         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36207         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36208         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36209         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36210         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36211         * NEWS: Mention addition of x86_64 vector logf.
36213         * bits/libm-simd-decl-stubs.h: Added stubs for log.
36214         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
36215         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36216         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
36217         redirections for log.
36218         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36219         * sysdeps/x86_64/fpu/Versions: New versions added.
36220         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36221         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36222         build of SSE, AVX2 and AVX512 IFUNC versions.
36223         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
36224         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
36225         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
36226         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
36227         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
36228         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
36229         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
36230         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
36231         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
36232         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
36233         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
36234         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
36235         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
36236         test.
36237         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36238         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36239         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36240         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36241         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36242         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36243         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36244         * NEWS: Mention addition of x86_64 vector log.
36246 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36248         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
36249         cfi_adjust_cfa_offset argument.
36250         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
36251         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
36253         [BZ #18034]
36254         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
36255         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
36256         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
36257         ordering using ldar.
36258         (_dl_tlsdesc_dynamic): Likewise.
36259         (_dl_tlsdesc_return_lazy): Likewise.
36260         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
36261         relaxed atomics instead of volatile and synchronize with release store.
36262         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
36263         volatile.
36264         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36266 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
36268         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
36269         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
36270         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36271         * sysdeps/x86_64/fpu/Versions: New versions added.
36272         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36273         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
36274         build of SSE, AVX2 and AVX512 IFUNC versions.
36275         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
36276         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
36277         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
36278         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
36279         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
36280         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
36281         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
36282         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
36283         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
36284         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
36285         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
36286         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
36287         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
36288         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
36289         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
36290         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
36291         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
36292         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
36293         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
36294         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
36295         * NEWS: Mention addition of x86_64 vector sinf.
36297 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
36299         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
36300         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
36301         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
36302         Remove variable.
36303         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
36304         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
36306 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36308         [BZ #18530]
36309         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
36310         strong alias of _IO_fputs.  Use libc_hidden_def.
36311         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
36312         and define as weak alias of __fputs_unlocked.  Use
36313         libc_hidden_weak.
36314         * include/stdio.h (__fputs_unlocked): Declare.  Use
36315         libc_hidden_proto.
36316         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
36317         fputs_unlocked.
36319         [BZ #18529]
36320         * resolv/netdb.h [__USE_POSIX]: Change condition to
36321         [__USE_XOPEN2K].
36322         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
36323         not expect.
36324         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
36325         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
36326         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
36327         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
36328         [XPG4 || UNIX98] (AI_ALL): Likewise.
36329         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
36330         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
36331         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
36332         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
36333         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
36334         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
36335         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
36336         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
36337         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
36338         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
36339         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
36340         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
36341         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
36342         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
36343         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
36344         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36345         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
36346         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
36347         [XPG4 || UNIX98] (gai_strerror): Likewise.
36348         [XPG4 || UNIX98] (getaddrinfo): Likewise.
36349         [XPG4 || UNIX98] (getnameinfo): Likewise.
36351         [BZ #18528]
36352         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
36353         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
36354         __USE_XOPEN2K8].
36355         (getgrent): Likewise.
36356         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
36357         expect.
36358         [XPG3 || POSIX2008] (endgrent): Likewise.
36359         [XPG3] (setgrent): Likewise.
36360         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
36361         variable.
36362         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
36364         [BZ #18527]
36365         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
36366         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
36367         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
36368         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
36369         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
36370         * include/unistd.h (__getlogin_r): Declare.  Use
36371         libc_hidden_proto.
36372         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
36373         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
36374         variable.
36375         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
36376         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
36377         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
36379 2015-06-12  Martin Sebor  <msebor@redhat.com>
36381         [BZ #18512]
36382         * Makerules (check-install-supported): New target.
36383         (install): Add check-install-supported as a dependency.
36384         * manual/install.texi (Installing the C Library): Document
36385         that overriding prefix and exec_prefix is not supported.
36386         Mention DESTDIR.
36387         * INSTALL: Regenerate from the above.
36389 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
36391         [BZ #18519]
36392         * posix/Versions (libc): Export __libc_pread at version
36393         GLIBC_PRIVATE.
36394         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
36395         instead of pread.
36396         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
36397         variable.
36399         [BZ #18522]
36400         * misc/efgcvt_r.c
36401         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
36402         (cvt_symbol): Use weak_alias instead of strong_alias.
36403         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
36404         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
36405         Remove variable.
36406         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
36407         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
36409         [BZ #18520]
36410         * inet/herrno.c (h_errno): Rename to __h_errno.
36411         (__libc_h_errno): Define as alias of __h_errno not h_errno.
36412         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
36413         to __h_errno instead of h_errno.
36414         * nptl/herrno.c (h_errno): Rename to __h_errno.
36415         (__h_errno_location): Refer to __h_errno not h_errno.
36416         * resolv/Versions (h_errno): Rename to __h_errno.
36417         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
36418         Remove variable.
36419         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
36421 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
36423         * configure.ac: More strict check for AVX512 assembler support.
36424         * configure: Regenerated.
36426         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
36427         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
36428         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36429         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
36430         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36431         * sysdeps/x86_64/fpu/Versions: New versions added.
36432         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36433         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36434         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36435         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
36436         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
36437         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
36438         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
36439         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
36440         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
36441         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
36442         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
36443         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
36444         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
36445         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
36446         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
36447         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
36448         test.
36449         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
36450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
36451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
36452         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
36453         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
36454         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
36455         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
36456         * NEWS: Mention addition of x86_64 vector sin.
36458 2015-06-11  Florian Weimer  <fweimer@redhat.com>
36460         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
36461         comment.
36463 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
36465         [BZ #18479]
36466         * nptl/pt-interp.c: New file.
36467         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
36468         Add pt-interp.
36469         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
36470         $(common-objpfx)runtime-linker.h.
36472 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
36474         * Makeconfig (+interp): Remove unused variable.
36475         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
36476         only.  Depend on $(common-objpfx)runtime-linker.h instead of
36477         $(elf-objpfx)runtime-linker.h.
36478         ($(elf-objpfx)runtime-linker.h): Rename to
36479         $(common-objpfx)runtime-linker.h and move ...
36480         * Makerules [$(build-shared) = yes]: ... here.
36481         * elf/interp.c: Include <runtime-linker.h> instead of
36482         <elf/runtime-linker.h>.
36484 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36486         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
36487         (__gettimeofday_syscall): Remove vsyscall fallback.
36488         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
36489         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
36490         Add syscall fallback function.
36491         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
36492         if vDSO is not present.
36493         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
36494         fallback function.
36495         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
36496         present.
36497         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
36498         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
36500 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
36502         [BZ #18497]
36503         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
36504         of wcscmp.
36505         (wcscmp): Define as weak alias of WCSCMP.
36506         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
36507         wcscoll.
36508         (USE_HIDDEN_DEF): Define.
36509         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
36510         __wcscoll.  Don't use libc_hidden_weak.
36511         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
36512         wcscmp.
36513         * sysdeps/i386/i686/multiarch/wcscmp-c.c
36514         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
36515         __GI_wcscmp.
36516         (weak_alias): Undefine and redefine.
36517         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
36518         __wcscmp and define as weak alias of __wcscmp.
36519         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
36520         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
36521         (__wcscoll): Likewise.
36522         (wcscmp): Don't use libc_hidden_proto.
36523         (wcscoll): Likewise.
36524         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
36525         wcscoll.
36526         * posix/regexec.c (check_node_accept_bytes): Likewise.
36527         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
36528         variable.
36529         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
36530         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
36532         [BZ #18507]
36533         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
36534         __fstatvfs and define as weak alias of __fstatvfs.  Use
36535         libc_hidden_weak.
36536         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
36537         and define as weak alias of __statvfs.  Use libc_hidden_weak.
36538         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
36539         Define as alias of __fstatvfs, not fstatvfs.
36540         (fstatvfs64): Likewise.
36541         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
36542         Define as alias of __statvfs, not statvfs.
36543         (statvfs64): Likewise.
36544         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
36545         Remove variable.
36547 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36550         (HAVE_GETCPU_VSYSCALL): Define.
36551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36552         (HAVE_GETCPU_VSYSCALL): Likewise.
36553         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
36554         * sysdeps/unix/sysv/linux/sched_getcpu.c
36555         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
36556         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
36557         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
36558         prototype.
36559         * sysdeps/unix/sysv/linux/x86_64/init-first.c
36560         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
36561         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
36562         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
36563         Define.
36564         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
36565         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36566         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
36567         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36569 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
36571         * sysdeps/x86_64/fpu/Makefile: New file.
36572         * sysdeps/x86_64/fpu/Versions: New file.
36573         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
36574         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
36575         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
36576         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
36577         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
36578         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
36579         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
36580         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
36581         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
36582         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
36583         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
36584         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
36585         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
36586         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36587         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36588         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
36589         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
36590         * sysdeps/x86_64/configure.ac: Options for libmvec build.
36591         * sysdeps/x86_64/configure: Regenerated.
36592         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
36593         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
36594         * manual/install.texi (Configuring and compiling): Document
36595         --disable-mathvec.
36596         * INSTALL: Regenerated.
36597         * NEWS: Mention addition of libmvec and x86_64 vector cos.
36599         * math/Makefile: Added rules for vector tests.
36600         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
36601         declaration under condition.
36602         * math/test-double-vlen2.h: New file.
36603         * math/test-double-vlen4.h: New file.
36604         * math/test-double-vlen8.h: New file.
36605         * math/test-vec-loop.h: Added initialization macro.
36606         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
36607         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
36608         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
36609         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
36610         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
36611         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
36612         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
36613         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
36614         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
36615         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
36616         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
36618         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
36619         * sysdeps/x86_64/fpu/Versions: New versions added.
36620         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
36621         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
36622         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
36623         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
36624         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
36625         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
36626         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
36627         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
36628         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
36629         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
36630         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
36631         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
36632         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
36633         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36634         Added build of SSE, AVX2 and AVX512 IFUNC versions.
36635         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
36636         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
36637         * NEWS: Mention addition of x86_64 vector cosf.
36639         * math/Makefile: Added CFLAGS for new tests.
36640         * math/test-float-vlen16.h: New file.
36641         * math/test-float-vlen4.h: New file.
36642         * math/test-float-vlen8.h: New file.
36643         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
36644         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
36645         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
36646         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
36647         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
36648         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
36649         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
36650         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
36651         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
36652         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
36653         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
36655 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
36657         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
36658         * locale/programs/ld-ctype.c: Likewise.
36660 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
36662         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
36663         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
36664         bit_ZMM16_31_state): New macro.
36665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36666         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
36668 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
36670         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
36672 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
36674         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
36676 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
36678         [BZ #18498]
36679         * libio/memstream.c (open_memstream): Rename to __open_memstream
36680         and define as weak alias of __open_memstream.
36681         * include/stdio.h (__open_memstream): Declare.  Use
36682         libc_hidden_proto.
36683         (open_memstream): Don't use libc_hidden_proto.
36684         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
36685         open_memstream.
36686         * posix/getopt.c (_getopt_internal_r): Likewise.
36687         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
36688         variable.
36689         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
36690         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
36691         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
36693         [BZ #18496]
36694         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
36695         instead of wcrtomb.
36697         [BZ #18483]
36698         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
36699         [__USE_XOPEN2K8].  Remove redundant #endif.
36700         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
36701         Remove redundant #if.
36702         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
36703         Remove variable.
36704         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
36705         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
36707         [BZ #18495]
36708         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
36709         (__iswlower): Likewise.
36710         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
36711         (__iswlower): Likewise.
36712         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
36713         instead of towlower.
36714         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
36715         instead of iswlower.  Call __towupper instead of towupper.
36716         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
36717         instead of iswalnum.
36719 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36721         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
36722         errors to stderr.
36724 2015-06-05  Florian Weimer  <fweimer@redhat.com>
36726         [BZ #15661]
36727         [BZ #17322]
36728         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
36729         Check for overflow properly.  Check for O_APPEND.  Ignore large
36730         file system block sizes.  Add comments about problems.
36731         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
36732         * manual/filesys.texi (Storage Allocation): New node.
36734 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36736         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
36737         cancellable syscalls.
36738         (SYS_ify): Add guard to no redefine it.
36739         (INLINE_SYSCALL): Likewise.
36740         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
36741         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
36742         SYSCALL_CANCEL instead.
36743         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
36744         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
36745         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
36746         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
36747         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
36748         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
36749         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
36750         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
36751         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36752         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36753         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
36754         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
36755         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
36756         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
36757         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
36758         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
36759         Likewise.
36760         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
36761         (__libc_pread64): Likewise.
36762         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
36763         (__libc_preadv): Likewise.
36764         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
36765         (__libc_readv64): Likewise.
36766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
36767         (__libc_pwrite): Likewise.
36768         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
36769         (__libc_pwrite64): Likewise.
36770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
36771         (__libc_pwritev): Likewise.
36772         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
36773         (__libc_pwritev64): Likewise.
36774         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
36775         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
36776         (sync_file_range): Likewise.
36777         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
36778         Likewise.
36779         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
36780         Likewise.
36781         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
36782         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
36783         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
36784         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
36785         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
36786         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
36787         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36788         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
36790         Likewise.
36791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
36792         (__libc_read64): Likewise.
36793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
36794         Likewise.
36795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
36796         Likewise.
36797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
36798         Likewise.
36799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
36800         Likewise.
36801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
36802         (__libc_pread64): Likewise.
36803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
36804         Likewise.
36805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
36806         (__libc_pwrite64): Likewise.
36807         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
36808         (sync_file_range): Likewise.
36809         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
36810         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
36811         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
36812         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
36813         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
36814         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
36815         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
36816         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
36817         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
36818         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
36819         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
36820         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
36821         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
36822         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
36823         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
36824         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
36825         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
36826         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
36827         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
36828         Likewise.
36829         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
36830         Likewise.
36831         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
36832         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
36833         Likewise.
36834         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
36835         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
36836         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
36837         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
36838         Likewise.
36839         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
36840         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
36841         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
36842         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
36843         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
36845 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
36847         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
36848         Include dl-vdso.
36849         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
36850         Use VDSO routines for gettimeofday, clock_gettime if
36851         available.
36852         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
36853         Declare VDSO symbols.
36854         * sysdeps/unix/sysv/linux/arm/sysdep.h:
36855         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
36856         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36857         * sysdeps/unix/sysv/linux/arm/Versions: Add
36858         __vdso_clock_gettime.
36860 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36862         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36863         be an inline implementation regardless of library is built within.
36864         (open_not_cancel_2): Likewise.
36865         (__read_nocancel): Likewise.
36866         (__write_nocancel): Likewise.
36867         (openat_not_cancel): Likewise.
36868         (openat_not_cancel_3): Likewise.
36869         (openat64_not_cancel): Likewise.
36870         (openat64_not_cancel_3): Likewise.
36871         (__close_nocancel): Likewise.
36872         (pause_not_cancel): Likewise.
36873         (nanosleep_not_cancel): Likewise.
36874         (sigsuspend_not_cancel): Likewise.
36876 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36878         [BZ #14958]
36879         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36880         wake-up.
36881         (__pthread_rwlock_rdlock_slow): Likewise.
36882         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36883         Likewise.
36884         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36885         Likewise.
36886         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36887         * nptl/tst-rwlock16.c: New file.
36888         * nptl/Makefile (tests): Add new test.
36890 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36892         [BZ #18324]
36893         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36894         missing wake-up of readers.
36895         * nptl/tst-rwlock15.c: New file.
36896         * nptl/Makefile (tests): Add new test.
36898 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36900         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36901         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36902         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36903         and __nacl_supply_interface_rtld.
36904         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36905         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36906         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36907         Add __nacl_supply_interface_rtld.
36908         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36910 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36912         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36913         isfinite.
36914         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36915         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36917 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36919         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36920         __signbit* with standard C99 macros.
36921         * math/e_exp10l.c: Likewise.
36922         * math/e_exp2l.c: Likewise.
36923         * math/e_scalb.c: Likewise.
36924         * math/e_scalbf.c: Likewise.
36925         * math/e_scalbl.c: Likewise.
36926         * math/s_ldexp.c: Likewise.
36927         * math/s_ldexpf.c: Likewise.
36928         * math/s_ldexpl.c: Likewise.
36929         * math/w_atan2.c: Likewise.
36930         * math/w_atan2f.c: Likewise.
36931         * math/w_atan2l.c: Likewise.
36932         * math/w_cosh.c: Likewise.
36933         * math/w_coshf.c: Likewise.
36934         * math/w_coshl.c: Likewise.
36935         * math/w_exp10.c: Likewise.
36936         * math/w_exp10f.c: Likewise.
36937         * math/w_exp10l.c: Likewise.
36938         * math/w_exp2.c: Likewise.
36939         * math/w_exp2f.c: Likewise.
36940         * math/w_exp2l.c: Likewise.
36941         * math/w_fmod.c: Likewise.
36942         * math/w_fmodf.c: Likewise.
36943         * math/w_fmodl.c: Likewise.
36944         * math/w_hypot.c: Likewise.
36945         * math/w_hypotf.c: Likewise.
36946         * math/w_hypotl.c: Likewise.
36947         * math/w_jnl.c: Likewise.
36948         * math/w_lgamma.c: Likewise.
36949         * math/w_lgamma_r.c: Likewise.
36950         * math/w_lgammaf.c: Likewise.
36951         * math/w_lgammaf_r.c: Likewise.
36952         * math/w_lgammal.c: Likewise.
36953         * math/w_lgammal_r.c: Likewise.
36954         * math/w_pow.c: Likewise.
36955         * math/w_powf.c: Likewise.
36956         * math/w_powl.c: Likewise.
36957         * math/w_remainder.c: Likewise.
36958         * math/w_remainderf.c: Likewise.
36959         * math/w_remainderl.c: Likewise.
36960         * math/w_scalb.c: Likewise.
36961         * math/w_scalbf.c: Likewise.
36962         * math/w_scalbl.c: Likewise.
36963         * math/w_scalbln.c: Likewise.
36964         * math/w_scalblnf.c: Likewise.
36965         * math/w_scalblnl.c: Likewise.
36966         * math/w_sinh.c: Likewise.
36967         * math/w_sinhf.c: Likewise.
36968         * math/w_sinhl.c: Likewise.
36969         * math/w_tgamma.c: Likewise.
36970         * math/w_tgammaf.c: Likewise.
36971         * math/w_tgammal.c: Likewise.
36972         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36973         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36974         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36975         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36976         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36977         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36978         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36979         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36980         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36981         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36982         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36983         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36984         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36985         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36986         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36987         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36988         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36989         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36990         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36991         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36992         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36993         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36995         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36996         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36997         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36998         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36999         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37000         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37001         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37002         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
37003         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
37004         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
37005         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
37006         * stdio-common/printf_fp.c: Likewise.
37007         * stdio-common/printf_fphex.c: Likewise.
37008         * stdio-common/printf_size.c: Likewise.
37010 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
37012         [BZ #18470]
37013         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
37014         strnlen.
37015         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
37016         Remove variable.
37017         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
37018         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
37019         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
37020         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
37021         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
37022         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
37023         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
37024         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
37025         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
37026         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
37028         [BZ #18468]
37029         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
37030         weak alias of __wmemchr.  Use libc_hidden_weak.
37031         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
37032         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
37033         instead of wmemchr.
37035 2015-06-02  Roland McGrath  <roland@hack.frob.com>
37037         [BZ #18383]
37038         * elf/tst-tlsalign-extern.c: New file.
37039         * elf/tst-tlsalign-extern-static.c: New file.
37040         * elf/tst-tlsalign-vars.c: New file.
37041         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
37042         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
37043         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
37044         ($(objpfx)tst-tlsalign-extern-static): Likewise.
37045         (test-xfail-tst-tlsalign-extern-static): New variable.
37047 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
37049         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
37050         Use variable name _sc_err instead of err.
37051         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
37052         instead of ret.
37053         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
37054         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
37055         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
37056         (INLINE_SYSCALL): Likewise.
37058         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
37059         * include/string.h (__strnlen): Use libc_hidden_proto.
37060         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
37061         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
37062         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
37063         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
37064         (libc_hidden_def): Undefine and redefine.
37065         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
37066         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
37067         __GI_strnlen.
37068         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
37069         libc_hidden_def.
37070         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
37072         [BZ #18469]
37073         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
37074         weak alias of __towlower.  Use libc_hidden_weak.
37075         (towupper): Rename to __towupper and define as weak alias of
37076         __towupper.  Use libc_hidden_weak.
37077         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
37078         (__towupper): Likewise.
37079         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
37080         __towlower instead of towlower.
37082 2015-06-02  Roland McGrath  <roland@hack.frob.com>
37084         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
37085         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
37087 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37089         * sysdeps/aarch64/libm-test-ulps: Update.
37091 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37093         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
37094         Define.
37095         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37096         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
37097         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37098         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37099         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
37100         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
37101         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
37103 2015-06-01  Martin Sebor  <msebor@redhat.com>
37105         [BZ #18116]
37106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37107         (__setcontext): Use extended four-operand version of mtsf whenever
37108         possible.
37109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37110         (__novec_swapcontext): Likewise.
37112 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37114         * benchtests/scripts/compare_bench.py: New file.
37115         * benchtests/scripts/import_bench.py (mean): New function.
37116         (split_list): Likewise.
37117         (do_for_all_timings): Likewise.
37118         (compress_timings): Likewise.
37120         * benchtests/scripts/import_bench.py: New file.
37121         * benchtests/scripts/validate_benchout.py: Import import_bench
37122         instead of jsonschema.
37123         (validate_bench): Remove function.
37124         (main): Use import_bench.
37126 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
37128         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
37129         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
37131 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37133         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37135 2015-05-28  Roland McGrath  <roland@hack.frob.com>
37137         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
37138         set THREAD_SELF->tid to a magic value and futex-wake it.
37139         Pass its address to the thread_exit system call.
37140         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
37141         bit is clear.
37142         * sysdeps/nacl/lowlevellock.h: New file.
37143         * sysdeps/nacl/lll_timedwait_tid.c: New file.
37145         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
37146         Add TIMEOUT to current time, don't subtract it.
37148 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
37150         [BZ #2981]
37151         [BZ #18422]
37152         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
37153         ($(objpfx)tst-audit2.out): Also depend on
37154         $(objpfx)tst-auditmod9b.so.
37155         * elf/tst-audit2.c: Include <dlfcn.h>.
37156         (calloc_called): New.
37157         (calloc): Allow to be called more than once.
37158         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
37160 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
37162         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
37163         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
37165 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
37167         * stdlib/monetary.h: Fix comment.
37169 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
37171         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
37172         Avoid using variables in #defines that might cause shadowing.
37173         (INTERNAL_VSYSCALL_CALL): Likewise.
37175 2015-05-26  Roland McGrath  <roland@hack.frob.com>
37177         * sysdeps/nacl/lll_timedlock_wait.c: New file.
37179         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
37180         * nptl/lll_timedlock_wait.c: ... to this new file.
37181         * nptl/Makefile (libpthread-routines): Add it.
37182         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
37183         * nptl/lll_timedwait_tid.c: ... to this new file.
37184         * nptl/Makefile (libpthread-routines): Add it.
37185         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
37186         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
37187         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
37188         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
37189         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
37190         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
37191         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
37192         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
37193         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
37194         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
37196 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37198         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
37199         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
37200         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37201         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
37202         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
37203         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
37204         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37205         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
37206         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37207         * sysdeps/unix/sysv/linux/tile/sysdep.h
37208         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
37209         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
37210         using vDSO syscall macro.
37212 2015-05-26  Andriy Rysin  <arysin@gmail.com>
37214         [BZ #17293]
37215         * uk_UA: Fix sorting order for Ukrainian locale
37217 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
37219         * stdlib/monetary.h: Fix comment.
37221 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37223         [BZ #18234]
37224         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
37225         st_mtim and st_ctim members.
37226         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
37227         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
37228         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
37229         (struct stat64): Likewise.
37230         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
37231         (struct stat64): Likewise.
37232         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
37233         (struct stat64): Likewise.
37235 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37237         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
37238         Define and include sysdep-vdso.h.
37239         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
37240         Likewise.
37241         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
37242         Likewise.
37243         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
37244         Define with VDSO_SYMBOL and use PTR_MANGLE.
37245         (__vdso_clock_gettime): Likewise.
37246         (__vdso_clock_getres): Likewise.
37247         (_libc_vdso_platform_setup): Likewise.
37248         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37249         Likewise.
37250         (_libc_vdso_platform_setup): Likewise.
37251         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
37252         Likewise.
37253         (__vdso_clock_gettime): Likewise.
37254         (__vdso_clock_getres): Likewise.
37255         (__vdso_get_tbfreq): Likewise.
37256         (__vdso_getcpu): Likewise.
37257         (__vdso_time): Likewise.
37258         (__vdso_sigtramp_rt64): Likewise.
37259         (__vdso_signtramp32): Likewise.
37260         (__vdso_sigtramp_rt32): Likewise.
37261         (_libc_vdso_platform_setup): Likewise.
37262         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
37263         Likewise.
37264         (__vdso_clock_gettime): Likewise.
37265         (__vdso_clock_getres): Likewise.
37266         (_libc_vdso_platform_setup): Likewise.
37267         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
37268         Likewise.
37269         (__vdso_clock_gettime): Likewise.
37270         (_libc_vdso_platform_setup): Likewise.
37271         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37272         Likewise.
37273         (__vdso_getcpu): Likewise.
37274         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
37275         Use VDSO_SYMBOL macro to define.
37276         (__vdso_clock_gettime): Likewise.
37277         (__vdso_clock_getres): Likewise.
37278         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
37279         Likewise.
37280         (__vdso_clock_gettime): Likewise.
37281         (__vdso_clock_getres): Likewise.
37282         (__vdso_get_tbfreq): Likewise.
37283         (__vdso_getcpu): Likewise.
37284         (__vdso_time): Likewise.
37285         (__vdso_sigtramp_rt64): Likewise.
37286         (__vdso_signtramp32): Likewise.
37287         (__vdso_sigtramp_rt32): Likewise.
37288         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
37289         Likewise.
37290         (__vdso_clock_gettime): Likewise.
37291         (__vdso_clock_getres): Likewise.
37292         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
37293         Likewise.
37294         (__vdso_clock_gettime): Likewise.
37295         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37296         Likewise.
37297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
37298         macro.
37299         (INTERNAL_VSYSCALL): Likewise.
37300         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
37301         Remove macro.
37302         (INTERNAL_VSYSCALL): Likewise.
37303         (INTERNAL_VSYSCALL_NCS): Likewise.
37304         (INTERNAL_VSYSCALL_CALL): New macro.
37305         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37306         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
37307         Likewise.
37308         (INTERNAL_VSYSCALL): Likewise.
37309         (INTERNAL_VSYSCALL_NCS): Likewise.
37310         (INTERNAL_VSYSCALL_CALL): New macro.
37311         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
37312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37313         (INLINE_VSYSCALL): Remove macro.
37314         (INTERNAL_VSYSCALL): Remove macro.
37315         (INTERNAL_VSYSCALL_NCS): Remove macro.
37316         (INTERNAL_VSYSCALL_CALL): New macro.
37317         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
37318         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
37319         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37320         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
37321         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
37322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37323         (INLINE_VSYSCALL): Remove macro.
37324         (INTERNAL_VSYSCALL): Likewise.
37325         (INTERNAL_VSYSCALL_NCS): Likewise.
37326         (INTERNAL_VSYSCALL_CALL): New macro.
37327         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
37328         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
37329         PTR_DEMANGLE on vDSO pointer.
37330         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
37331         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
37332         macro.
37333         (INTERNAL_SYSCALL): Likewise.
37334         (INTERNAL_VSYSCALL_NCS): Remove macro.
37335         (INTERNAL_VSYSCALL_CALL): New macro.
37336         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
37337         Remove macro.
37338         (INTERNAL_VSYSCALL): Likewise.
37339         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
37340         sysdep-vdso.h instead of libc-vdso.h.
37341         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
37342         definition.
37343         (INLINE_VSYSCALL): Likewise.
37344         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
37345         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
37346         definition.
37347         (INLINE_VSYSCALL): Likewise.
37348         (INTERNAL_VSYSCALL): Likewise.
37349         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37350         * sysdeps/unix/sysv/linux/timespec_get.c
37351         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
37352         (timespec_get): Use ANSI prototype.
37353         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
37354         and definition for Linux.
37356 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
37358         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
37359         * include/libc-symbols.h: libmvec_hidden_* macro series added.
37361 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
37363         [BZ #2981]
37364         [BZ #18410]
37365         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
37366         for missing DT_PLTRELSZ.
37368 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
37370         Remove obsolete aliases that broke 'locale -a'
37371         [BZ #18412]
37372         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
37373         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
37374         breaking some applications that use 'locale -a' output.
37375         Change the encoding of this file from Latin-1 to ASCII to avoid
37376         other potential problems with people grepping this file.
37378 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37380         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
37381         -fasynchronous-unwind-tables.
37382         (CFLAGS-sendto.c): Likewise.
37383         (CFLAGS-sendmsg.c): Likewise.
37384         (CFLAGS-connect.c): Likewise.
37385         (CFLAGS-recvmsg.c): Likewise.
37386         (CFLAGS-recvfrom.c): Likewise.
37387         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
37388         (SOCKETCALL): New macro: non-cancellable socketcall.
37389         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
37390         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
37391         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
37392         * sysdeps/unix/sysv/linux/accept.c: New file.
37393         * sysdeps/unix/sysv/linux/bind.c: Likewise.
37394         * sysdeps/unix/sysv/linux/connect.c: Likewise.
37395         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
37396         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
37397         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
37398         * sysdeps/unix/sysv/linux/listen.c: Likewise.
37399         * sysdeps/unix/sysv/linux/recv.c: Likewise.
37400         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
37401         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
37402         * sysdeps/unix/sysv/linux/send.c: Likewise.
37403         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
37404         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
37405         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
37406         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
37407         * sysdeps/unix/sysv/linux/socket.c: Likewise.
37408         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
37409         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
37410         prototype.
37411         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
37412         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37413         instead of __internal_xxx function.
37414         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
37415         prototype.
37416         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
37417         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37418         instead of __internal_xxx function.
37419         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
37420         prototype.
37421         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
37422         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
37423         instead of __internal_xxx function.
37424         * sysdeps/unix/sysv/linux/accept.S: Remove file.
37425         * sysdeps/unix/sysv/linux/bind.S: Likewise.
37426         * sysdeps/unix/sysv/linux/connect.S: Likewise.
37427         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
37428         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
37429         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
37430         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
37431         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
37432         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
37433         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
37434         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
37435         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37436         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
37437         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
37438         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
37439         * sysdeps/unix/sysv/linux/listen.S: Likewise.
37440         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
37441         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
37442         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
37443         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
37444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
37445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
37446         * sysdeps/unix/sysv/linux/recv.S: Likewise.
37447         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
37448         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
37449         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
37450         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
37451         * sysdeps/unix/sysv/linux/send.S: Likewise.
37452         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
37453         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
37454         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
37455         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
37456         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
37457         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
37458         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
37459         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
37460         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
37461         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
37462         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
37463         socketcall is implemented in GLIBC.
37465 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37467         * soft-fp/fmadf4.c: Include <libc-internal.h>.
37468         (__fma): Ignore uninitialized warnings around packing.
37469         * soft-fp/fmasf4.c: Include <libc-internal.h>.
37470         (__fmaf): Ignore uninitialized warnings around packing.
37471         * soft-fp/fmatf4.c: Include <libc-internal.h>.
37472         (__fmal): Ignore uninitialized warnings around packing.
37474         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
37475         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37476         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
37477         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
37479         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
37480         switch statement into default case.
37481         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
37483         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
37484         a conditional in forcing "inexact".
37485         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
37486         Likewise.
37488 2015-05-22  Roland McGrath  <roland@hack.frob.com>
37490         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
37491         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
37492         for each INTERNAL_SYSCALL use.
37494 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
37496         [BZ #438]
37497         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
37498         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
37499         variable.
37501         [BZ #18444]
37502         * string/basename.c (basename): Rename to __basename and define as
37503         weak alias of __basename.  Use libc_hidden_weak.
37504         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
37505         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
37506         __basename instead of basename.
37507         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
37508         Remove variable.
37509         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
37511 2015-05-18  Florian Weimer  <fweimer@redhat.com>
37513         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
37514         (_IO_JUMPS_FILE_plus): New.
37515         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
37516         _IO_CAST_FIELD_ACCESS.
37517         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
37518         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
37519         * libio/freopen.c (freopen): Likewise.
37520         * libio/freopen64.c (freopen64): Likewise.
37521         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
37522         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
37523         * libio/iofwide.c (_IO_fwide): Likewise.
37524         * libio/memstream.c (open_memstream): Likewise.
37525         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
37526         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
37527         * libio/oldiopopen.c (_IO_old_popen): Likewise.
37529 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
37531         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
37532         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
37533         NADJ.
37534         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
37535         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
37536         NADJ.
37537         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
37538         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
37539         NADJ.
37541         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
37542         (p == 4) case.
37544         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
37545         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
37546         Remove variable.
37547         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
37548         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
37549         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
37551 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37553         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
37554         Adjust jump table label generation macros.
37556 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37558         * stdio-common/vfprintf.c (vfprintf): Move local variables
37559         args_malloced, specs, specs_malloced, and the code after
37560         do_positional to the printf_positional function.
37561         (printf_positional): New function.
37563 2015-05-21  Florian Weimer  <fweimer@redhat.com>
37565         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
37566         function.
37567         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
37568         STEP4_TABLE, process_arg): Move macro definitions
37569         out of the vfprintf function.  (Cosmetic change only.)
37571 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
37573         * benchtests/Makefile (stdio-common-bench): Define.
37574         (benchset): Add stdio-common-bench.
37575         * sprintf-inputs: New file.
37576         * sprintf-source.c: New file.
37578 2015-05-21  Andreas Schwab  <schwab@suse.de>
37580         [BZ #13028]
37581         [BZ #17053]
37582         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
37583         of struct __res_state.
37584         * resolv/res_send.c (__libc_res_nsend): Likewise.
37585         (get_nsaddr): New function.
37586         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
37587         statp directly.
37589 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
37591         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
37592         -D_POSIX_C_SOURCE=199506L.
37594         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
37596         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
37597         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
37598         Do not mention otherwise.
37599         [POSIX] (_XOPEN_VERSION): Do not expect.
37600         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
37601         [POSIX] (_POSIX2_C_BIND): Likewise.
37602         [POSIX] (_POSIX2_VERSION): Likewise.
37603         [POSIX] (_XOPEN_XPG2): Likewise.
37604         [POSIX] (_XOPEN_XPG3): Likewise.
37605         [POSIX] (_XOPEN_XPG4): Likewise.
37606         [POSIX] (_XOPEN_UNIX): Likewise.
37607         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
37608         [POSIX] (_POSIX_BARRIERS): Likewise.
37609         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
37610         [POSIX] (_POSIX_CPUTIME): Likewise.
37611         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
37612         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
37613         [POSIX] (_POSIX_SHELL): Likewise.
37614         [POSIX] (_POSIX_SPAWN): Likewise.
37615         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
37616         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
37617         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
37618         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
37619         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
37620         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
37621         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
37622         [POSIX] (_XBS5_LP64_OFF64): Likewise.
37623         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
37624         [POSIX] (_POSIX_TIMEOUTS): Likewise.
37625         [POSIX] (_POSIX2_PBS): Likewise.
37626         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
37627         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
37628         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
37629         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
37630         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
37631         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
37632         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
37633         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
37634         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
37635         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
37636         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
37637         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
37638         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
37639         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
37640         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
37641         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
37642         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
37643         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
37644         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
37645         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
37646         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
37647         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
37648         [POSIX] (_SC_2_C_BIND): Likewise.
37649         [POSIX] (_SC_2_C_VERSION): Likewise.
37650         [POSIX] (_SC_2_PBS): Likewise.
37651         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
37652         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
37653         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
37654         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
37655         [POSIX] (_SC_2_PBS_TRACK): Likewise.
37656         [POSIX] (_SC_ATEXIT_MAX): Likewise.
37657         [POSIX] (_SC_BARRIERS): Likewise.
37658         [POSIX] (_SC_BASE): Likewise.
37659         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
37660         [POSIX] (_SC_DEVICE_IO): Likewise.
37661         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
37662         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
37663         [POSIX] (_SC_FD_MGMT): Likewise.
37664         [POSIX] (_SC_FIFO): Likewise.
37665         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
37666         [POSIX] (_SC_FILE_LOCKING): Likewise.
37667         [POSIX] (_SC_FILE_SYSTEM): Likewise.
37668         [POSIX] (_SC_IOV_MAX): Likewise.
37669         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
37670         [POSIX] (_SC_NETWORKING): Likewise.
37671         [POSIX] (_SC_PAGE_SIZE): Likewise.
37672         [POSIX] (_SC_PASS_MAX): Likewise.
37673         [POSIX] (_SC_PIPE): Likewise.
37674         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
37675         [POSIX] (_SC_REGEXP): Likewise.
37676         [POSIX] (_SC_SHELL): Likewise.
37677         [POSIX] (_SC_SIGNALS): Likewise.
37678         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
37679         [POSIX] (_SC_SPIN_LOCKS): Likewise.
37680         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
37681         [POSIX] (_SC_USER_GROUPS): Likewise.
37682         [POSIX] (_SC_USER_GROUPS_R): Likewise.
37683         [POSIX] (_SC_STREAMS): Likewise.
37684         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
37685         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
37686         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
37687         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
37688         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
37689         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
37690         [POSIX] (_PC_FILESIZEBITS): Likewise.
37691         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
37692         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
37693         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
37694         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
37695         [POSIX] (uid_t): Likewise.
37696         [POSIX] (gid_t): Likewise.
37697         [POSIX] (off_t): Likewise.
37698         [POSIX] (pid_t): Likewise.
37699         [POSIX] (cuserid): Allow.
37700         (_SC_2_CHAR_TERM): Require constant.
37701         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
37702         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
37703         variable.
37705 2015-05-20  Roland McGrath  <roland@hack.frob.com>
37707         * sysdeps/nacl/pthread-pids.h: New file.
37708         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
37709         (create_thread): Use __nacl_get_tid to initialize PD->tid.
37711         * nptl/pthread-pids.h: New file.
37712         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
37713         * nptl/nptl-init.c: Include <pthread-pids.h>.
37714         (__pthread_initialize_minimal_internal):
37715         Call __pthread_initialize_pids instead of set_tid_address syscall.
37717         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
37718         * sysdeps/posix/usleep.c: ... here.
37720 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37722         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
37723         call_pselect6 object.
37724         [$(subdir) = io]: Remove call_sync_file_range object.
37725         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
37726         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
37727         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
37728         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
37730 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
37732         * math/s_cproj.c: Add include "math_private.h".
37733         * math/s_cprojf.c: Likewise.
37734         * math/s_cprojl.c: Likewise.
37736 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
37738         [BZ #18244]
37739         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
37740         high mantissa bit when testing whether P is a NaN.
37741         * math/libm-test.inc (remainder_test_data): Add more tests.
37742         (remquo_test_data): Likewise.
37744         [BZ #18049]
37745         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
37746         below -32, return the argument, with underflow if subnormal.
37747         * math/auto-libm-test-in: Add more tests of atanh.
37748         * math/auto-libm-test-out: Regenerated.
37750 2015-05-19  Roland McGrath  <roland@hack.frob.com>
37752         [BZ #18434]
37753         * nptl/tst-sem15.c: New file.
37754         * nptl/Makefile (tests): Add it.
37755         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
37756         s/<</>>/ to fix typo in EOVERFLOW check.
37757         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
37759 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37761         * manual/strings.texi (envz_remove): Fix typo in safety
37762         annotations.
37764 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
37765             Steve Ellcey  <sellcey@imgtec.com>
37767         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
37768         in order to avoid strict alias warnings.
37769         (iruserok_af): Ditto for ra.
37771 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
37773         [BZ #17581]
37774         * malloc/hooks.c
37775         (magicbyte): Convert to a function and avoid returning 0x01.
37776         (mem2mem_check): Avoid using a length byte equal to the magic byte.
37777         (mem2chunk_check): Fix unsigned comparisons to zero.
37778         Hoist defs of sz and magic.
37780 2015-05-19  Richard Henderson  <rth@redhat.com>
37782         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
37784         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37786 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
37788         [BZ #16159]
37789         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
37790         * malloc/arena.c (arena_lock): Check if arena is corrupt.
37791         (reused_arena): Find a non-corrupt arena.
37792         (heap_trim): Pass arena to unlink.
37793         * malloc/hooks.c (malloc_check_get_size): Pass arena to
37794         malloc_printerr.
37795         (top_check): Likewise.
37796         (free_check): Likewise.
37797         (realloc_check): Likewise.
37798         * malloc/malloc.c (malloc_printerr): Add arena argument.
37799         (unlink): Likewise.
37800         (munmap_chunk): Adjust.
37801         (ARENA_CORRUPTION_BIT): New macro.
37802         (arena_is_corrupt): Likewise.
37803         (set_arena_corrupt): Likewise.
37804         (sysmalloc): Use mmap if there are no usable arenas.
37805         (_int_malloc): Likewise.
37806         (__libc_malloc): Don't fail if arena_get returns NULL.
37807         (_mid_memalign): Likewise.
37808         (__libc_calloc): Likewise.
37809         (__libc_realloc): Adjust for additional argument to
37810         malloc_printerr.
37811         (_int_free): Likewise.
37812         (malloc_consolidate): Likewise.
37813         (_int_realloc): Likewise.
37814         (_int_memalign): Don't touch corrupt arenas.
37815         * malloc/tst-malloc-backtrace.c: New test case.
37817         * Makefile (summarize-tests): Fix return value on success.
37819         * manual/string.texi (Envz Functions): Add envz_remove.
37821 2015-05-18  Roland McGrath  <roland@hack.frob.com>
37823         * sysdeps/posix/opendir.c: Include <stdbool.h>.
37824         (invalid_name): New function, broken out of ...
37825         (__opendirat): ... here.  Call it.
37826         (need_isdir_precheck): New function, broken out of ...
37827         (__opendirat): ... here.  Call it.
37828         Use __fxstatat64, not __xstatat64.
37829         (opendir_oflags): New function, broken out of ...
37830         (__opendirat): ... here.  Call it.
37831         (opendir_tail): New function, broken out of ...
37832         (__opendirat): ... here.  Call it.
37833         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
37834         opendir_tail, rather than punting to __opendirat.
37835         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
37837 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
37839         * .gitignore: Ignore generated *.pyc.
37841 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
37843         * include/stdio.h: Define __need_wint_t.
37844         * test-skeleton.c: Avoid `for' loop initial declaration.
37845         * nptl/tst-initializers1.c: Use test-skeleton.c.
37847 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37849         [BZ #18418]
37850         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
37852 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37854         [BZ #16352]
37855         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
37856         (__ieee754_atanh): Force underflow exception for results with
37857         small absolute value.
37858         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37859         (__ieee754_atanhf): Force underflow exception for results with
37860         small absolute value.
37861         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37862         (__ieee754_atanh): Force underflow exception for results with
37863         small absolute value.
37864         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37865         (__ieee754_atanhf): Force underflow exception for results with
37866         small absolute value.
37867         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37868         (__ieee754_atanhl): Force underflow exception for results with
37869         small absolute value.
37870         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37871         (__ieee754_atanhl): Force underflow exception for results with
37872         small absolute value.
37873         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37874         (__ieee754_atanhl): Force underflow exception for results with
37875         small absolute value.
37876         * math/auto-libm-test-in: Do not allow missing underflow
37877         exceptions from atanh.
37878         * math/auto-libm-test-out: Regenerated.
37880         [BZ #18221]
37881         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37882         2**-28 as threshold for returning x or +/- 1/x.
37883         * math/auto-libm-test-in: Add more tests of tan.
37884         * math/auto-libm-test-out: Regenerated.
37886         [BZ #18220]
37887         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37888         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37889         * math/auto-libm-test-in: Add another test of lgamma.
37890         * math/auto-libm-test-out: Regenerated.
37892 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37894         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37895         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37896         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37897         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37898         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37899         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37900         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37901         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37902         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37903         (log1): Use fabs.  (my_log2): Use fabs.
37904         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37905         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37907         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37908         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37909         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37910         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37911         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37912         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37913         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37914         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37916 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37918         [BZ #18217]
37919         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37920         as threshold for returning 1 - x.
37921         * math/auto-libm-test-in: Add more tests of erfc.
37922         * math/auto-libm-test-out: Regenerated.
37924 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37926         [BZ #18196]
37927         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37928         threshold for large arguments.
37929         * math/auto-libm-test-in: Add another test of atan.
37930         * math/auto-libm-test-out: Regenerated.
37932         [BZ #16339]
37933         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37934         (__log1p): Force underflow exception for results with small
37935         absolute value.
37936         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37937         (__log1pf): Force underflow exception for results with small
37938         absolute value.
37939         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37940         (__log1p): Force underflow exception for results with small
37941         absolute value.
37942         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37943         (__log1pf): Force underflow exception for results with small
37944         absolute value.
37945         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37946         (__log1pl): Force underflow exception for results with small
37947         absolute value.
37948         * math/auto-libm-test-in: Do not allow missing underflow
37949         exceptions from log1p.
37950         * math/auto-libm-test-out: Regenerated.
37952 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37953             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37955         [BZ #16704]
37956         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37958 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37960         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37961         (libmvec): New variable.
37962         * configure.ac: Added option for mathvec build.
37963         * configure: Regenerated.
37964         * mathvec/Depend: New file.
37965         * mathvec/Makefile: New file.
37966         * shlib-versions: Added libmvec.
37967         * math/Makefile: Added rule for libm.so installation.
37969         * bits/math-vector.h: New file.
37970         * bits/libm-simd-decl-stubs.h: New header.
37971         * math/Makefile (headers): Added new header
37972         libm-simd-decl-stubs.h.
37973         * math/math.h (__MATHCALL_VEC): New macro.
37975         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37976         for conditions in testing functions.
37977         * math/Makefile: Added call of libm-have-vector-test.sh.
37978         * math/libm-test.inc (HAVE_VECTOR): New macros.
37980         * math/libm-test.inc: START refactored.
37981         * math/test-double.c (TEST_MATHVEC): Add define.
37982         * math/test-float.c: Likewise.
37983         * math/test-idouble.c: Likewise.
37984         * math/test-ifloat.c: Likewise.
37985         * math/test-ildoubl.c: Likewise.
37986         * math/test-ldouble.c: Likewise.
37987         * sysdeps/generic/math-tests-arch.h
37988         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37989         architecture check.
37991         * math/test-double.c (FUNC_TEST): New macro.
37992         * math/test-float.c: Likewise.
37993         * math/test-idouble.c: Likewise.
37994         * math/test-ifloat.c: Likewise.
37995         * math/test-ildoubl.c: Likewise.
37996         * math/test-ldouble.c: Likewise.
37997         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37999 2015-05-13  Roland McGrath  <roland@hack.frob.com>
38001         * sysdeps/nacl/fdopendir.c: New file.
38003         * dirent/scandir-tail.c: New file.
38004         * dirent/scandir64-tail.c: New file.
38005         * dirent/Makefile (routines): Add them.
38006         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
38007         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
38008         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
38009         [!SCANDIR] (SCANDIR_TAIL): New macro.
38010         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
38011         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
38012         (SCANDIRAT): Macro removed.
38013         (SCANDIR_TAIL): New macro.
38014         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
38015         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
38016         (SCANDIRAT): Just call __opendirat and __scandir_tail.
38017         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
38018         (READDIR): Macro removed.
38019         (SCANDIR_TAIL): New macro.
38020         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
38021         (SCANDIR_TAIL): New macro.
38023         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
38024         * dirent/scandir-cancel.c: ... to this new file.
38025         * dirent/Makefile (routines): Add it.
38026         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
38027         * sysdeps/unix/sysv/linux/i386/scandir64.c
38028         (SKIP_SCANDIR_CANCEL): Macro removed.
38029         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
38031         * dirent/tst-scandir.c: New file.
38032         * dirent/tst-scandir64.c: New file.
38033         * dirent/Makefile (tests): Add them.
38035 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
38037         [BZ #18409]
38038         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
38040 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38042         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
38043         list.
38045 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
38047         * benchtests/bench-strcoll.c: New benchmark.
38048         * benchtests/Makefile: Generate locales and run benchmark.
38049         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
38050         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
38051         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
38052         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
38053         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
38054         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
38055         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
38056         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
38057         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
38058         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
38059         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
38060         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
38061         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
38062         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
38063         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
38064         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
38065         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
38066         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
38067         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
38068         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
38069         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
38070         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
38071         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
38072         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
38074 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
38076         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
38077         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38079 2015-05-12  Roland McGrath  <roland@hack.frob.com>
38081         * posix/uname-values.h: New file.
38082         * posix/uname.c: Include that instead of <config-name.h>.
38083         * sysdeps/nacl/uname-values.h: New file.
38084         * sysdeps/arm/nacl/uname-values.h: New file.
38086 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
38088         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
38089         splitting into fields.
38091 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
38093         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
38094         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
38095         * locale/localeinfo.h: Add enum collation_encoding_type.
38096         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
38097         * programs/ld-collate.c (collate_output): Add encoding type info.
38098         * string/strcoll_l.c (STRDIFF): New function.
38099         * (STRCOLL): Use STRDIFF to skip over equal prefix.
38100         * wcsmbs/wcscoll_l.c: Define STRDIFF.
38102 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
38104         [BZ #18397]
38105         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
38106         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
38107         <fpu_control.h> instead of <math/fpu_control.c>.
38108         * sysdeps/mips/mips32/fpu/Makefile: New file.
38110 2015-05-11  Andreas Schwab  <schwab@suse.de>
38112         [BZ #18007]
38113         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
38114         nss_endgrent.
38115         (_nss_compat_endgrent): Call nss_endgrent.
38116         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
38117         nss_endpwent.
38118         (_nss_compat_endpwent): Call nss_endpwent.
38119         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
38120         needent, call nss_setspent only if non-zero.
38121         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
38122         (internal_endspent): Don't call nss_endspent.
38123         (_nss_compat_endspent): Call nss_endspent.
38124         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
38125         Remove.  All uses removed.
38126         (internal_setent): Remove parameter stayopen, add parameter
38127         stream.  Use it instead of global variable.
38128         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
38129         (internal_endent, internal_getent): Add parameter stream.  Use it
38130         instead of global variable.
38131         (CONCAT(_nss_files_end,ENTNAME))
38132         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
38133         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
38134         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
38135         uses removed.
38136         (internal_setent, internal_endent): Add parameter stream.  Use it
38137         instead of global variable.
38138         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
38139         stream.
38140         (get_next_alias): Add parameter stream.
38141         (_nss_files_getaliasent_r): Pass global stream.
38142         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
38143         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
38144         (_nss_files_gethostbyname4_r): Pass local stream to
38145         internal_setent, internal_getent and internal_endent.  Remove
38146         locking.
38148 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38150         * tst-strfmon1.c (tests): Update expected currency symbol.
38152 2015-05-08  Roland McGrath  <roland@hack.frob.com>
38154         * sysdeps/nacl/gethostname.c: New file.
38156 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
38158         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
38159         and sinh.
38160         * math/auto-libm-test-out: Regenerated.
38161         * sysdeps/i386/fpu/libm-test-ulps: Update.
38162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38164 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
38166         [BZ #18125]
38167         * stdlib/tst-setcontext3.c: New file.
38168         * stdlib/tst-setcontext3.sh: New file.
38169         * stdlib/Makefile (tests): Add tst-setcontext3.
38170         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
38171         to verify test program created output file.
38172         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
38173         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
38174         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
38175         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
38177 2015-05-06  Roland McGrath  <roland@hack.frob.com>
38179         [BZ #18383]
38180         * elf/tst-tlsalign.c: New file.
38181         * elf/tst-tlsalign-static.c: New file.
38182         * elf/tst-tlsalign-lib.c: New file.
38183         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
38184         (tests-static): Add tst-tlsalign-static.
38185         (modules-names): Add tst-tlsalign-lib.
38186         (test-xfail-tst-tlsalign): New variable.
38187         (test-xfail-tst-tlsalign-static): New variable.
38189         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
38190         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
38192 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
38194         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
38195         csqrt, erfc, sin and sincos.
38196         * math/auto-libm-test-out: Regenerated.
38197         * sysdeps/i386/fpu/libm-test-ulps: Update.
38198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38200 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38202         * sysdeps/aarch64/libm-test-ulps: Update.
38204 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
38206         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
38207         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
38208         * math/auto-libm-test-out: Regenerated.
38209         * sysdeps/i386/fpu/libm-test-ulps: Update.
38210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38212 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
38214         [BZ #18265]
38215         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
38216         (wcsncpy): Likewise.
38218 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38220         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
38221         Assume __ASSUME_FALLOCATE is always true.
38222         * sysdeps/unix/sysv/linux/posix_fallocate64.c
38223         (__posix_fallocate64_l64): Likewise.
38224         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
38225         (posix_fallocate): Likewise.
38226         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
38227         (__posix_fallocate64_l64): Likewise.
38228         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38229         [!__ASSUME_FALLOCATE]: Add comment.
38231 2015-05-05  Florian Weimer  <fweimer@redhat.com>
38233         * sysdeps/unix/sysv/linux/i386/Makefile
38234         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
38235         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
38236         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
38237         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
38238         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
38239         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
38240         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
38242 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
38244         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
38245         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
38246         tgamma.
38247         * math/auto-libm-test-out: Regenerated.
38248         * sysdeps/i386/fpu/libm-test-ulps: Update.
38249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38251 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38253         * math/auto-libm-test-in: Add more tests of tgamma.
38254         * math/auto-libm-test-out: Regenerated.
38255         * sysdeps/i386/fpu/libm-test-ulps: Update.
38256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38258         * math/auto-libm-test-in: Add more tests of tanh.
38259         * math/auto-libm-test-out: Regenerated.
38260         * sysdeps/i386/fpu/libm-test-ulps: Update.
38261         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38263         * math/auto-libm-test-in: Add more tests of tan.
38264         * math/auto-libm-test-out: Regenerated.
38265         * sysdeps/i386/fpu/libm-test-ulps: Update.
38266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38268         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
38269         * math/auto-libm-test-out: Regenerated.
38270         * sysdeps/i386/fpu/libm-test-ulps: Update.
38271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38273         * math/auto-libm-test-in: Add another test of pow.
38274         * math/auto-libm-test-out: Regenerated.
38275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38277         * math/auto-libm-test-in: Add more tests of lgamma.
38278         * math/auto-libm-test-out: Regenerated.
38279         * sysdeps/i386/fpu/libm-test-ulps: Update.
38280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38282         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
38283         log1p.
38284         * math/auto-libm-test-out: Regenerated.
38285         * sysdeps/i386/fpu/libm-test-ulps: Update.
38286         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38288 2015-05-01  Mark Wielaard  <mjw@redhat.com>
38290         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
38291         Elf64_Chdr structs and ELFCOMPRESS constants.
38293 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
38295         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
38296         expm1.
38297         * math/auto-libm-test-out: Regenerated.
38298         * sysdeps/i386/fpu/libm-test-ulps: Update.
38299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38301         * math/auto-libm-test-in: Add more tests of erf and erfc.
38302         * math/auto-libm-test-out: Regenerated.
38303         * sysdeps/i386/fpu/libm-test-ulps: Update.
38304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38306 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
38308         * config.h.in (HAVE_AARCH64_BE): Add.
38310 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
38312         * math/auto-libm-test-in: Add more tests of csqrt.
38313         * math/auto-libm-test-out: Regenerated.
38314         * sysdeps/i386/fpu/libm-test-ulps: Update.
38315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38317         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38318         * math/auto-libm-test-out: Regenerated.
38319         * sysdeps/i386/fpu/libm-test-ulps: Update.
38320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38322         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
38324 2015-04-29  Roland McGrath  <roland@hack.frob.com>
38326         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
38327         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
38329         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
38330         (euidaccess, eaccess): Define as weak aliases.
38332         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
38333         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
38334         but __suseconds_t is often 'long int' so some sources assume that
38335         type is being used (e.g. they use %ld to print tv_usec).
38337 2015-04-29  Florian Weimer  <fweimer@redhat.com>
38339         [BZ #18007]
38340         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
38341         (CVE-2014-8121)
38342         * nss/tst-nss-getpwent.c: New file.
38343         * nss/Makefile (tests): Add new test.
38345 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
38347         [BZ #18346]
38348         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
38349         exponents less than 48 as cases where high part of mantissa needs
38350         examining to determine whether argument is integral.
38351         * math/libm-test.inc (round_test_data): Add more tests.
38353 2015-04-28  Mark Wielaard  <mjw@redhat.com>
38355         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
38357 2015-04-27  David S. Miller  <davem@davemloft.net>
38359         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
38360         __tls_get_addr.
38361         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
38363 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
38365         [BZ #18333]
38366         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
38368 2015-04-27  Florian Weimer  <fweimer@redhat.com>
38370         [BZ #18333]
38371         * time/tzset.c (parse_tzname): Return error on memory allocation
38372         failure.
38373         * test-skeleton.c (struct temp_name_list): Change type of name
38374         member to non-const.
38375         (add_temp_file): Create a copy of the file name.
38376         (delete_temp_files): Deallocate memory.
38377         (create_temp_file): Add comment.
38379 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38381         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
38382         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
38384 2015-04-24  Roland McGrath  <roland@hack.frob.com>
38386         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
38387         * sysdeps/arm/configure: Regenerated.
38389 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38391         [BZ #17715]
38392         * time/tzfile.c (__tzfile_read): Check for large values of
38393         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
38394         * time/tzset.c (__tzstring_len): New function, based on the old
38395         __tzstring function.
38396         (__tzstring): Call __tzstring_len.
38397         (parse_tzname): New helper function extracted from
38398         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
38399         the input string.
38400         (parse_offset): New helper function extracted from
38401         __tzset_parse_tz.  Replace switch with fallthrough with
38402         initialization before sscanf.
38403         (parse_rule): Likewise.
38404         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
38405         new-style function definition.
38406         * timezone/Makefile (tests): Add tst-tzset.
38407         (tst-tzset.out): Dependencies on time zone files.
38408         (tst-tzset-ENV): Set TZDIR.
38409         (testdata/XT%): Copy crafted time zone files.
38410         * timezone/README: Mention crafted time zone files.
38411         * timezone/testdata/XT1, timezone/testdata/XT2,
38412         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
38413         files.
38414         * timezone/tst-tzset.c: New test.
38416 2015-04-24  Florian Weimer  <fweimer@redhat.com>
38418         * Makeconfig (+gccwarn): Remove -Winline.
38420 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38422         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
38424 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
38426         * NEWS: Mention sysconf() cache information support for s390.
38427         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
38429 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
38431         * math/k_casinh.c (__kernel_casinh): Use __copysign.
38432         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
38433         (__nearbyint): Likewise.
38434         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
38435         (copysignl): Likewise.
38437 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
38439         [BZ #18287]
38440         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
38441         based on padding.  (CVE-2015-1781)
38443 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38445         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
38446         libc-vdso.h.
38447         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
38448         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
38449         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
38450         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38451         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38452         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
38453         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
38454         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38455         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
38456         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
38457         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
38458         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38459         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
38460         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
38461         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38462         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
38463         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
38464         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
38465         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
38466         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
38467         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
38468         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
38469         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
38471 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
38473         * stdlib/setenv.c (__add_to_environ):
38474         Dump core quickly if setenv (..., NULL, ...) is called.
38475         This time, do it the right way, and pacify GCC with a pragma.
38477 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38479         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
38480         IMAP->l_prev cannot be null, and #if out the code for the contrary
38481         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
38482         believe that NS (&_dl_ns[NSID]) could point outside the array.
38484         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
38485         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
38486         before using NSID as an index.
38488 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
38490         [BZ #17825]
38491         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
38492         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
38493         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
38495 2015-04-17  Roland McGrath  <roland@hack.frob.com>
38497         Add preliminary port to Google Native Client on ARM.
38498         * abi-tags (.*-.*-nacl.*): New entry.
38499         * sysdeps/arm/nacl: New directory.
38500         * sysdeps/nacl: New directory.
38502 2015-04-16  David S. Miller  <davem@davemloft.net>
38504         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
38505         lowlevellock-futex.h
38507 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
38509         * sysdeps/tile/configure.ac: New file.
38510         * sysdeps/tile/configure: Regenerated.
38512 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
38514         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
38515         conditionals for weak_alias and libc_hidden_weak.
38516         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
38517         libc_hidden_weak and weak_alias.
38518         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
38519         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
38520         and weak_alias for static one.
38522 2015-04-15  David S. Miller  <davem@davemloft.net>
38524         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
38526 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38528         [BZ #18206]
38529         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
38530           Use signed comparision instead of substraction to avoid
38531           overflow bug.
38532         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
38533           Take the sign of ret.
38534         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
38535           Do not expect precise return values. Only the sign matters.
38536         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
38537         * wcsmbs/test-wcsncmp.c: New File.
38538         * string/test-strncmp.c: Add wcsncmp support.
38540 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
38542         [BZ #6792]
38543         * math/w_log1p.c: New file.
38544         * math/w_log1pf.c: Likewise.
38545         * math/w_log1pl.c: Likewise.
38546         * math/Makefile (libm-calls): Add w_log1p.
38547         * math/s_log1pl.c (log1pl): Remove weak_alias.
38548         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
38549         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
38550         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
38551         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
38552         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
38553         [NO_LONG_DOUBLE] (log1pl): Likewise.
38554         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
38555         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
38556         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
38557         (log1p): Remove long_double_symbol.
38558         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
38559         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
38560         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
38561         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
38562         remove weak_alias for corresponding log1p function.
38563         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
38564         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
38565         * sysdeps/ia64/fpu/w_log1p.c: New file.
38566         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
38567         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
38568         * math/libm-test.inc (log1p_test_data): Add errno expectations.
38570 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
38572         [BZ #18247]
38573         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
38574         decimal exponent by 1.
38575         * stdlib/tst-strtod-round-data: Add more tests.
38576         * stdlib/tst-strtod-round.c (tests): Regenerated.
38578 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
38580         * math/auto-libm-test-in: Add more tests of clog and clog10.
38581         * math/auto-libm-test-out: Regenerated.
38582         * sysdeps/i386/fpu/libm-test-ulps: Update.
38583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38585 2015-04-09  Roland McGrath  <roland@hack.frob.com>
38587         * Makeconfig (module-cppflags): Exclude all .v.i files.
38588         (skip-module-cppflags): Variable removed.
38590         * configure.ac (libc_config_ok): Initialize before reading
38591         preconfigure scripts, not after.
38592         * configure: Regenerated.
38594         * test-skeleton.c (TIMEOUT): Move #define to top level.
38595         (main): Grok environment variable TEST_DIRECT.  If set, print
38596         test expectation details into that file and then behave as if
38597         given --direct.
38599 2015-04-09  Florian Weimer  <fweimer@redhat.com>
38601         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
38602         warning on 32-bit.
38604 2015-04-08  David S. Miller  <davem@davemloft.net>
38606         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38608 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38610         * math/auto-libm-test-in: Add more tests of atanh.
38611         * math/auto-libm-test-out: Regenerated.
38612         * sysdeps/i386/fpu/libm-test-ulps: Update.
38613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38615         * math/auto-libm-test-in: Add more tests of atan.
38616         * math/auto-libm-test-out: Regenerated.
38617         * sysdeps/i386/fpu/libm-test-ulps: Update.
38618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38620 2015-04-08  Florian Weimer  <fweimer@redhat.com>
38622         * elf/pldd.c (main): Rewrite to use struct
38623         scratch_buffer instead of extend_alloca.
38624         * elf/pldd-xx.c (find_maps): Likewise.
38625         * grp/initgroups.c: Include <scratch_buffer.h> instead of
38626         <alloca.h>.
38627         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
38628         scratch_buffer instead of extend_alloca.
38629         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
38630         grp/compat-initgroups.c.
38631         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
38632         Rewrite to use struct scratch_buffer instead of extend_alloca.
38633         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
38634         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
38636 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
38638         * math/auto-libm-test-in: Add more tests of cbrt.
38639         * math/auto-libm-test-out: Regenerated.
38640         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38642         * math/auto-libm-test-in: Add more tests of cabs.
38643         * math/auto-libm-test-out: Regenerated.
38644         * sysdeps/i386/fpu/libm-test-ulps: Update.
38645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38647         [BZ #18210]
38648         [BZ #18211]
38649         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
38650         (__ieee754_atan2): Set FE_TONEAREST mode for internal
38651         computations.
38652         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
38653         clog10.
38654         * math/auto-libm-test-out: Regenerated.
38655         * sysdeps/i386/fpu/libm-test-ulps: Update.
38656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38658         [BZ #18197]
38659         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
38660         (atan): Set FE_TONEAREST mode for internal computations.
38661         * math/auto-libm-test-in: Add more tests of atan.
38662         * math/auto-libm-test-out: Regenerated.
38664 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
38666         [BZ #17930]
38667         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
38669 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38671         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
38673 2015-04-07  Florian Weimer  <fweimer@redhat.com>
38675         * include/scratch_buffer.h: New file.
38676         * malloc/scratch_buffer_grow.c: Likewise.
38677         * malloc/scratch_buffer_grow_preserve.c: Likewise.
38678         * malloc/scratch_buffer_set_array_size.c: Likewise.
38679         * malloc/tst-scratch_buffer.c: Likewise.
38680         * malloc/Makefile (routines): Add scratch_buffer_grow.
38681         (tests): Add test case.
38682         * malloc/Versions (GLIBC_PRIVATE): Export
38683         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
38684         __libc_scratch_buffer_set_array_size.
38686 2015-04-06  Richard Henderson  <rth@redhat.com>
38688         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
38689         * sysdeps/alpha/fpu/libm-test-ulps: Update.
38691         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
38692         unsigned int before printing.
38694 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38696         [BZ #17596]
38697         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
38698         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
38700 2015-04-02  Florian Weimer  <fweimer@redhat.com>
38702         * include/libc-internal.h (libc_max_align_t): Define.
38704 2015-04-02  Andreas Schwab  <schwab@suse.de>
38706         [BZ #16850]
38707         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
38709 2015-04-02  Mel Gorman  <mgorman@suse.de>
38711         [BZ #17195]
38712         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
38713         as well as the main arena.
38715 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38717         [BZ #18185]
38718         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
38719         sharing L2 cache to 2 for Silvermont/Knights Landing.
38721 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38723         [BZ #17711]
38724         * config.make.in (have-protected-data): New.
38725         * configure.ac: Check linker support for protected data symbol.
38726         * configure: Regenerated.
38727         * elf/Makefile (modules-names): Add tst-protected1moda and
38728         tst-protected1modb if $(have-protected-data) is yes.
38729         (tests): Add tst-protected1a and tst-protected1b if
38730         $(have-protected-data) is yes.
38731         ($(objpfx)tst-protected1a): New.
38732         ($(objpfx)tst-protected1b): Likewise.
38733         (tst-protected1modb.so-no-z-defs): Likewise.
38734         * elf/tst-protected1a.c: New file.
38735         * elf/tst-protected1b.c: Likewise.
38736         * elf/tst-protected1mod.h: Likewise.
38737         * elf/tst-protected1moda.c: Likewise.
38738         * elf/tst-protected1modb.c: Likewise.
38740 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
38742         [BZ #17711]
38743         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
38744         indicates it is called from do_lookup_x on relocation against
38745         protected data, skip the data definion in the executable from
38746         copy reloc.
38747         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
38748         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
38749         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
38750         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
38751         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
38752         otherwise to 0.
38753         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38754         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
38755         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
38756         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
38757         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
38758         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
38760 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
38762         * sysdeps/nptl/pthread.h: Remove duplicate definition of
38763         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
38765 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
38767         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
38768         THREAD_SETMEM_NC.
38769         * sysdeps/x86_64/nptl/tls.h: Ditto.
38771 2015-03-27  Roland McGrath  <roland@hack.frob.com>
38773         * dlfcn/tststatic.c (main): Converted to ...
38774         (do_test): ... this.
38775         (TEST_FUNCTION): New macro.
38776         Include test-skeleton.c.
38778 2015-03-26  Alan Modra  <amodra@gmail.com>
38780         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
38781         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
38782         zero for undefined weak.
38783         (elf_machine_plt_conflict): Similarly.
38785 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38787         * math/auto-libm-test-in: Add more tests of acosh, asinh and
38788         atanh.
38789         * math/auto-libm-test-out: Regenerated.
38790         * sysdeps/i386/fpu/libm-test-ulps: Update.
38791         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38793         * math/auto-libm-test-in: Add another test of asin.
38794         * math/auto-libm-test-out: Regenerated.
38795         * sysdeps/i386/fpu/libm-test-ulps: Update.
38796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38798         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
38799         Remove macro.
38800         (LLL_EBX_REG): Likewise.
38801         (LLL_ENTER_KERNEL): Likewise.
38803         * math/auto-libm-test-in: Add more tests of asin.
38804         * math/auto-libm-test-out: Regenerated.
38805         * sysdeps/i386/fpu/libm-test-ulps: Update.
38806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38808         [BZ #18138]
38809         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
38810         libc_do_syscall_args): New structure.
38811         (INTERNAL_SYSCALL_MAIN_0): New macro.
38812         (INTERNAL_SYSCALL_MAIN_1): Likewise.
38813         (INTERNAL_SYSCALL_MAIN_2): Likewise.
38814         (INTERNAL_SYSCALL_MAIN_3): Likewise.
38815         (INTERNAL_SYSCALL_MAIN_4): Likewise.
38816         (INTERNAL_SYSCALL_MAIN_5): Likewise.
38817         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
38818         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
38819         Replace conditional definitions by conditional definitions of ....
38820         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
38821         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
38822         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
38823         (libpthread-sysdep_routines): Add libc-do-syscall.
38824         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
38825         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
38826         to __NR_futex not 240.
38828 2015-03-25  Alan Modra  <amodra@gmail.com>
38830         * NEWS: Advertise TLS optimization.
38831         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
38832         (DT_PPC_NUM): Increment.
38833         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
38834         (CHECK_STATIC_TLS): Use here.
38835         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
38836         TLS descriptors.
38837         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
38838         * sysdeps/powerpc/dl-tls.c: New file.
38839         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
38840         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
38841         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
38842         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
38843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
38844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
38845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
38847 2015-03-25  Alan Modra  <amodra@gmail.com>
38849         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
38850         for overlapping .opd entries" to "support...".
38851         * sysdeps/powerpc/powerpc64/configure: Regenerate
38853 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
38855         * math/auto-libm-test-in: Add more tests of acos.
38856         * math/auto-libm-test-out: Regenerated.
38857         * sysdeps/i386/fpu/libm-test-ulps: Update.
38858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38860         * math/auto-libm-test-in: Add more tests of expm1.
38861         * math/auto-libm-test-out: Regenerated.
38862         * sysdeps/i386/fpu/libm-test-ulps: Update.
38863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38865 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38867         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38868         * math/auto-libm-test-out: Regenerated.
38869         * sysdeps/i386/fpu/libm-test-ulps: Update.
38870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38872         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38875         * math/auto-libm-test-in: Add more tests of log2.
38876         * math/auto-libm-test-out: Regenerated.
38877         * sysdeps/i386/fpu/libm-test-ulps: Update.
38878         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38880 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38882         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38883         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38884         _IO_IS_APPENDING bit in READ_WRITE instead.
38886 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38888         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38889         (__determine_cpumask_size): Replace extend_alloca with a
38890         variable-length array.  Do not treat res == 0 as an error.
38892 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38894         [BZ #18100]
38895         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38896         and integer overflow.
38897         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38898         (main): Add integer overflow tests.
38899         * manual/pattern.texi (Calling Wordexp): Document additional use
38900         for WRDE_SYNTAX.
38902 2015-03-23  Alan Modra  <amodra@gmail.com>
38904         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38905         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38906         and false branch of conditional.
38907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38908         Likewise.
38910 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38912         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38913         libc-modules.h
38914         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38915         unused declaration of _hurd_intr_rpc_msg_in_trap.
38916         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38917         defined instead of whether it is non-zero.
38918         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38919         input constraint instead of both input and output constraint.  Use ecx
38920         clobber instead of %ecx.
38921         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38922         mutex_unlock): Use a statement expression instead of an expression list.
38923         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38924         type to vm_size_t instead of vm_address_t.
38925         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38926         defined instead of whether it is non-zero.
38927         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38928         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38929         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38930         comparisons with mapaddr.
38931         * nscd/nscd-client.h: Include <time.h>.
38932         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38933         9th parameter to __vm_region instead of int.
38934         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38935         * scripts/check-local-headers.sh (exclude): Add device/,
38936         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38937         cthreads.h.
38939 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38941         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38942         to account for alignment padding.
38943         * sysdeps/arm/memmove.S: Likewise.
38945 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38947         * sysdeps/unix/sysv/linux/generic/README: New file.
38949 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38951         [BZ #18138]
38952         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38953         (futex_abstimed_wait)
38954         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38955         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38956         of lll_futex_timed_wait.
38958 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38960         [BZ #17542]
38961         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38963 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38965         [BZ #17090]
38966         [BZ #17620]
38967         [BZ #17621]
38968         [BZ #17628]
38969         * NEWS: Update.
38970         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38971         entries with Static TLS too.  Skip entries past the end of the
38972         allocated DTV, from Alan Modra.
38973         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38974         Static TLS DTV entry set up from...
38975         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38976         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38977         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38978         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38979         for Static TLS.
38980         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38981         that the slot we find is associated with the given map before
38982         using its generation count.
38983         * nptl_db/db_info.c: Include ldsodefs.h.
38984         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38985         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38986         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38987         (link_map::l_tls_offset): New struct field.
38988         (dtv_t::counter): Likewise.
38989         (rtld_global): New struct.
38990         (_rtld_global): New rtld variable.
38991         (dl_tls_dtv_slotinfo_list): New rtld global field.
38992         (dtv_slotinfo_list): New struct.
38993         (dtv_slotinfo): Likewise.
38994         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38995         (td_lookup): Rename to...
38996         (td_mod_lookup): ... this.  Use new mod parameter instead of
38997         LIBPTHREAD_SO.
38998         * nptl_db/td_thr_tlsbase.c: Include link.h.
38999         (dtv_slotinfo_list, dtv_slotinfo): New functions.
39000         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
39001         addresses even if the DTV is out of date or missing them.
39002         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
39003         index zero-length arrays.
39004         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
39005         (td_lookup): Make it a macro implemented in terms of...
39006         (td_mod_lookup): ... this declaration.
39007         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
39008         (DB_MAIN_VARIABLE): Likewise.
39010 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
39012         [BZ #18134]
39013         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
39015 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
39017         * stdlib/setenv.c (__add_to_environ): Revert previous change.
39019 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
39021         [BZ #18128]
39022         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
39023         (atomic_add, atomic_increment_and_test)
39024         (atomic_decrement_and_test): Fix 64-bit arithmetic.
39026 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
39028         * stdlib/setenv.c (__add_to_environ):
39029         Dump core quickly if setenv (..., NULL, ...) is called.
39031 2015-03-13  Roland McGrath  <roland@hack.frob.com>
39033         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
39034         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
39035         all the necessary asm magic in one place.
39036         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
39037         using those.
39039 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
39041         [BZ #14906]
39042         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
39043         traced file mtime. Use consistent log message.
39044         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
39045         (register_traced_file): Call install_watches. Always set mtime.
39046         (invalidate_cache): Iterate over all trace files. Call install_watches.
39047         (inotify_check_files): Don't inline. Handle watching parent
39048         directories and configuration file movement in and out.
39049         (handle_inotify_events): New function.
39050         (main_loop_poll): Call handle_inotify_events.
39051         (main_loop_epoll): Likewise.
39052         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
39053         (struct traced_file): Use array of inotify fds. Add parent directory,
39054         and basename.
39055         (struct database_dyn): Remove unused file_mtime.
39056         (init_traced_file): New inline function.
39057         (define_traced_file): New macro.
39058         * nss/nss_db/db-init.c: Use define_traced_file.
39059         (_nss_db_init): Use init_traced_file.
39060         * nss/nss_files/files-init.c: Use define_traced_file.
39061         (_nss_files_init): Use init_traced_file.
39063 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
39065         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
39066         [_LIBC]: Do not include <stdlib.h>.
39067         [!_LIBC] (abort): Remove declaration.
39068         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
39069         _FP_STATIC_ASSERT instead of conditionally calling abort.
39070         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
39071         (_FP_EXTEND_CNAN): Likewise.
39072         (FP_TRUNC): Likewise.
39073         (__FP_CLZ): Likewise.
39074         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
39076 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
39078         * manual/string.texi (XPG basename): Fix prototype.
39080 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39082         [BZ #18080]
39083         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
39084         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39085         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
39086         (__setcontext): Likewise.
39087         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
39088         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
39089         Call rt_sigprocmask syscall one time to set new signal mask
39090         and retrieve the current signal mask instead of two calls.
39091         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
39092         (__swapcontext): Likewise.
39093         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
39094         * stdlib/tst-setcontext2.c: New file.
39096 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39098         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39100 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
39102         [BZ #18093]
39103         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
39104         the wrong size.
39106 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
39108         [BZ #18043]
39109         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
39111 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39113         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
39114         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
39115         Remove define.
39116         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
39117         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
39118         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
39119         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
39120         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
39121         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
39122         define.
39123         * nptl_db/td_symbol_list.c (td_lookup): Remove
39124         HAVE_ASM_GLOBAL_DOT_NAME code.
39125         * sysdeps/powerpc/powerpc64/configure.ac: Remove
39126         HAVE_ASM_GLOBAL_DOT_NAME check.
39127         * sysdeps/powerpc/powerpc64/configure: Regenerate.
39128         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
39129         (DOT_LABEL): Remove define.
39130         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
39131         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
39132         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
39133         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
39134         (__TLS_GET_ADDR): Likewise.
39135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
39136         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
39138 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
39140         [BZ #18111]
39141         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
39142         (_FPU_SETCW): Initialize cw from fpsr before storing.
39143         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
39144         (fesetexceptflag): Rewrite using fpu_control.h.
39145         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
39147 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
39149         [BZ #18110]
39150         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
39151         asms.
39152         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
39154 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
39156         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
39157         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
39158         abort.
39159         (_FP_FMA): Likewise.
39160         (_FP_DIV): Likewise.
39162 2015-03-10  Roland McGrath  <roland@hack.frob.com>
39164         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
39165         with 0 in that case.
39166         * Makefile (summarize-tests): New canned sequence, factored out of
39167         commands for targets tests and xtests.  Display summary lines that
39168         don't start with PASS: or XFAIL: rather than ones that do start with
39169         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
39170         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
39171         do start with ERROR: or FAIL:.
39172         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
39173         (except for [$(build-shared) = yes]).
39174         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
39175         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
39176         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
39177         * nptl/Makefile: Revert 2015-03-04 changes.
39178         [$(CXX) empty] (tests-unsupported): New variable.
39179         * debug/Makefile: Likewise.
39181         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
39182         gnulib file.  Replace __attribute with __attribute__ throughout.
39184 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
39186         * sysdeps/hppa/fpu/libm-test-ulps: Update.
39188 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39190         [BZ #18104]
39191         * math/auto-libm-test-in: Add another test of pow.
39192         * math/auto-libm-test-out: Regenerated.
39194 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39196         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
39197         $(config-cflags-nofma).
39199 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
39201         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
39202         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
39203         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
39204         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
39205         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
39206         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
39207         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
39208         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
39209         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
39210         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
39211         Add comment on closing #endif.
39213 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39215         * posix/wordexp.c (CHAR_IN_SET): New macro.
39216         (parse_param): Use it.
39218 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39220         * sysdeps/powerpc/fpu/libm-test-ulps: update.
39222 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39224         [BZ #18043]
39225         * posix/wordexp.c (parse_param): Fix buffer overflow.
39226         * posix/wordexp-test.c (test_case): Add test case.
39228 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39230         [BZ #18042]
39231         * posix/wordexp.c (parse_backtick): Fix off-by-one.
39232         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
39234 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
39236         [BZ #18043]
39237         * posix/wordexp-test.c (test_case): Add test for BZ #18043
39238         (do_bz18043): Delete.
39239         (at_page_end): New.
39240         (testit): Refactor to have words at the edge of unreadable page.
39242 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
39244         [BZ #16734]
39245         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
39246         Cleanup read-only streams as well.
39247         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
39249 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39251         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
39252         <bits/libc-lockP.h>
39254 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
39256         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
39257         on [__KERNEL__].
39258         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
39259         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
39260         * soft-fp/op-common.h (_FP_DECL): Likewise.
39262 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
39264         * elf/ifuncdep2.c (global): Replace
39265         __attribute__((visibility("protected"))) with
39266         asm (".protected global").
39267         * elf/ifuncmod1.c (global): Likewise.
39268         * elf/ifuncmod5.c (global): Likewise.
39270 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
39272         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
39273         <asm/sfp-machine.h> instead of <sfp-machine.h>.
39275 2015-03-06  Roland McGrath  <roland@hack.frob.com>
39277         * manual/install.texi (Configuring and compiling):
39278         Document test-wrapper-env-only.
39279         * INSTALL: Regenerated.
39281 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
39283         [BZ #18043]
39284         * posix/wordexp.c (parse_param): Fix buffer overflow.
39285         * posix/wordexp-test.c (do_bz18043): Add test case.
39287 2015-03-06  Vincent Bernat  <vincent@bernat.im>
39289         * time/tst-strptime2.c (do_test): Ensure failing tests are
39290         reported correctly.
39291         * time/tst-strptime3.c (do_test): Likewise.
39293 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
39295         Fix aio_error thread-safety.
39296         * sysdeps/pthread/aio_error.c: New file
39297         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
39298         synchronization.
39300 2015-03-06  Florian Weimer  <fweimer@redhat.com>
39302         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
39303         (group_number, vfprintf): Use it.
39304         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
39305         (JUMP, REF): Use it.
39306         (WORK_BUFFER_SIZE): New enum constant.
39307         (process_arg, vfprintf): Use it.
39309 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
39311         * manual/errno.texi (Error Messages): Complete example function
39312         by adding missing #define.
39313         (program_invocation_name): Add statement indicating GNU
39314         extension and reference which header file declares the variable.
39315         (program_invocation_short_name): Likewise.
39317 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
39319         * manual/errno.texi (Error Messages): Delete strerror ISO C89
39320         compatibility note.
39322 2015-03-05  Roland McGrath  <roland@hack.frob.com>
39324         * Makeconfig (test-wrapper-env-only): New variable.
39325         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
39326         then use that with $(test-wrapper-env-only) rather than using
39327         $(test-wrapper-env) $(run-program-env) $($*-ENV).
39329 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
39331         [BZ #18082]
39332         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
39333         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
39334         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
39335         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
39336         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
39337         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
39338         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
39339         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
39340         Likewise.
39341         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
39342         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
39343         Likewise.
39344         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
39345         Likewise.
39346         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
39347         Likewise.
39348         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
39349         Likewise.
39350         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
39351         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
39352         Likewise.
39353         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
39354         Likewise.
39355         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
39356         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
39358 2015-03-04  Roland McGrath  <roland@hack.frob.com>
39360         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
39361         (ETH_ALEN): New macro.
39362         (struct ether_addr): Use it for length of ether_addr_octet.
39364         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
39365         (setdb): Don't call __nss_configure_lookup for "rpc".
39366         (do_test): Don't call test_rpc.
39367         (output_rpcent, test_rpc): Functions moved ...
39368         * sunrpc/test-rpcent.c: ... to this new file.
39369         * sunrpc/Makefile (tests): Add it.
39371         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
39372         __xpg_sigpause.
39373         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
39374         * nptl/tst-signal6.c: Likewise.
39375         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
39376         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
39378         * configure.ac (libc_cv_cxx_link_ok): New check.
39379         Reset CXX to empty if it fails to link.
39380         * configure: Regenerated.
39381         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
39382         bug-atexit3-lib only if $(CXX) is nonempty.
39383         * nptl/Makefile (tests): Likewise for tst-cancel24.
39384         (tests, tests-static): Likewise for tst-cancel24-static.
39385         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
39386         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
39387         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
39388         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
39390 2015-03-04  Andreas Schwab  <schwab@suse.de>
39392         [BZ #17631]
39393         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
39394         for non-GCC compilers.
39395         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
39396         Likewise.
39398 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39400         [BZ #17776]
39401         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
39402         integer before bitwise and assembly operations.
39403         (feclearexcept): Likewise.
39404         * math/test-fenvinline.c: New file.
39405         * math/Makefile: Add test-fenvinline test.
39407 2015-03-03  Alan Modra  <amodra@gmail.com>
39409         [BZ #16512]
39410         * scripts/localplt.awk: Strip off symbol version.
39411         * NEWS: Mention bug fix.
39413 2015-03-02  Roland McGrath  <roland@hack.frob.com>
39415         * sysdeps/pthread/timer_routines.c
39416         (timer_free_list, thread_free_list, thread_active_list): Make static.
39418 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
39420         [BZ #17779]
39421         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
39422         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39423         Undefine.
39424         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39425         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39426         Likewise.
39427         * sysdeps/unix/sysv/linux/sh/kernel-features.h
39428         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
39429         Likewise.
39431 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
39433         [BZ #18036]
39434         * posix/fnmatch_loop.c (END): Detect invalid pattern.
39435         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
39437 2015-03-02  Andreas Schwab  <schwab@suse.de>
39439         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
39440         variable name.
39442 2015-03-02  Florian Weimer  <fweimer@redhat.com>
39444         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
39445         Return error status.
39447 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
39449         [BZ #15969]
39450         * locale/findlocale.c (_nl_find_locale): Introduce const
39451         version of loc_name and drop unsafe type casts.
39453 2015-02-27  Roland McGrath  <roland@hack.frob.com>
39455         * dlfcn/tststatic2.c (main): Converted to ...
39456         (do_test): ... this.
39457         (TEST_FUNCTION): New macro.
39458         Include test-skeleton.c.
39460 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
39462         [BZ #17711]
39463         * elf/Makefile (tests): Add vismain only if PIE is enabled.
39464         (tests-pie): Add vismain.
39465         (CFLAGS-vismain.c): New.
39466         * elf/vismain.c: Add comments for PIE requirement.
39468 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39470         [BZ #18046]
39471         [BZ #18047]
39472         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
39473         0x1p-56L as threshold for just returning the argument.
39474         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
39475         0x1p-32L as threshold for just returning the argument.
39476         * math/auto-libm-test-in: Add more tests of atanh.
39477         * math/auto-libm-test-out: Regenerated.
39478         * sysdeps/i386/fpu/libm-test-ulps: Update.
39479         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
39481 2015-02-27  Wilco Dijkstra  <wdijkstr@arm.com>
39483         * string/bcopy.c (bcopy): Call memmove for performance.
39485 2015-02-27  Wilco Dijkstra  <wdijkstr@arm.com>
39487         * string/bzero.c (__bzero): Call memset for performance.
39489 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39491         [BZ #18068]
39492         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
39493         to 00100000.
39495 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
39497         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
39499 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39501         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
39502         (__kernel_standard): Use CSTR macro when setting exc.name.
39503         * sysdeps/ieee754/Makefile [$(subdir) = math]
39504         (CFLAGS-k_standard.c): Remove variable.
39506         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
39507         setting p and q from "else if" to "else".
39508         (qzero): Likewise.
39509         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
39510         (qone): Likewise.
39511         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
39512         (qzerof): Likewise.
39513         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
39514         (qonef): Likewise.
39515         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
39516         (qzero): Likewise.
39517         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
39518         (qone): Likewise.
39520         [BZ #18038]
39521         [BZ #18039]
39522         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
39523         return pi/2 for arguments below 0x1p-113L.
39524         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
39525         return pi/2 for arguments below 0x1p-106L.
39526         * math/auto-libm-test-in: Add more tests of acos.
39527         * math/auto-libm-test-out: Regenerated.
39529         [BZ #16351]
39530         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
39531         (MO): New macro.
39532         (__ieee754_asin): Force underflow exception for results with small
39533         absolute value.
39534         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
39535         (MO): New macro.
39536         (__ieee754_asinf): Force underflow exception for results with
39537         small absolute value.
39538         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
39539         (__ieee754_asin): Force underflow exception for results with small
39540         absolute value.
39541         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
39542         (__ieee754_asinf): Force underflow exception for results with
39543         small absolute value.
39544         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
39545         (__ieee754_asinl): Force underflow exception for results with
39546         small absolute value.
39547         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
39548         (__ieee754_asinl): Force underflow exception for results with
39549         small absolute value.
39550         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
39551         (__ieee754_asinl): Force underflow exception for results with
39552         small absolute value.
39553         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
39554         Include <math.h>.
39555         * math/auto-libm-test-in: Do not mark underflow exceptions as
39556         possibly missing for bug 16351.
39557         * math/auto-libm-test-out: Regenerated.
39559         [BZ #18030]
39560         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
39561         of power of 2 down when low part has opposite sign.
39562         * math/libm-test.inc (logb_test_data): Add more tests.
39564 2015-02-26  Andreas Schwab  <schwab@suse.de>
39566         [BZ #18032]
39567         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
39568         over collating symbol inside a bracket expression.  Minor cleanup.
39569         * posix/tst-fnmatch3.c (do_test): Add test case.
39571 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
39573         [BZ #18029]
39574         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
39575         Adjust exponent of power of 2 down when low part has opposite
39576         sign.
39577         * math/libm-test.inc (ilogb_test_data): Add more tests.
39579 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
39581         [BZ #15969]
39582         * locale/findlocale.c (_nl_find_locale): Fix constness error in
39583         the previous change.
39585         [BZ #15969]
39586         * locale/findlocale.c (_nl_find_locale): Retry archive search
39587         after alias expansion.
39589 2015-02-25  Roland McGrath  <roland@hack.frob.com>
39591         * iconv/tst-iconv3.c (main): Converted to ...
39592         (do_test): ... this.
39593         (TEST_FUNCTION): New macro.
39594         Include test-skeleton.c.
39596         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
39597         (convert): Make function static.
39598         (test_unalign): Likewise.  Add const to argument pointee types.
39599         (main): Replace with static function do_test.
39600         Print "Succeeded." only if RET is zero.
39601         (TEST_FUNCTION): New macro.
39602         Include test-skeleton.c.
39604         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
39605         returns a null pointer.
39607 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39609         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
39610         to __memcpy_ppc only for static builds.
39612 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
39614         [BZ #18020]
39615         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
39616         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
39617         * math/auto-libm-test-in: Add more tests of asinh.
39618         * math/auto-libm-test-out: Regenerated.
39619         * sysdeps/i386/fpu/libm-test-ulps: Update.
39620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39622 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
39624         [BZ #15850]
39625         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
39626         and ip6_mtuinfo definitions here.
39627         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
39628         in this define too.  Update comment.
39630 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
39632         * elf/sprof.c (load_shobj): Tweak error message to match others.
39634 2015-02-24  Kevin Easton  <kevin@guarana.org>
39636         [BZ #16145] (partial fix)
39637         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
39638         to reduce lock contention.
39640 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
39642         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
39643         (struct timex): Update time comment.
39644         (ADJ_SETOFFSET): Define.
39646 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39648         [BZ #18019]
39649         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
39650         2**56 not 2**28 as threshold for log (2x) formula.
39651         * math/auto-libm-test-in: Add more tests of acosh.
39652         * math/auto-libm-test-out: Regenerated.
39653         * sysdeps/i386/fpu/libm-test-ulps: Update.
39654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39656 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39658         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
39659         parenthesis around the buf assignment.
39660         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
39662 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
39664         [BZ #16783]
39665         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
39666         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
39667         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
39668         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39669         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
39670         * math/libm-test.inc (scalb_test_data): Add more tests.
39672 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39674         [BZ #17916]
39675         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
39676         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
39678 2015-02-24  Eric Rannaud  <e@nanocritical.com>
39680         [BZ #17523]
39681         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
39682         * io/bits/fcntl2.h (open): Use it.
39683         (openat): Likewise.
39684         * io/open.c (__libc_open): Likewise.
39685         * io/open64.c (__libc_open64): Likewise.
39686         * io/open64_2.c (__open64_2): Likewise.
39687         * io/open_2.c (__open_2): Likewise.
39688         * io/openat.c (__openat): Likewise.
39689         * io/openat64.c (__openat64): Likewise.
39690         * io/openat64_2.c (__openat64_2): Likewise.
39691         * io/openat_2.c (__openat_2): Likewise.
39692         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
39693         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
39694         * sysdeps/posix/open64.c (__libc_open64): Likewise.
39695         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
39696         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
39697         (__open_nocancel): Likewise.
39698         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
39699         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
39700         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
39702 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39704         [BZ #14841]
39705         * resolv/gethnamaddr.c (getanswer): Skip logging if
39706         RES_USE_DNSSEC is set.
39707         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
39709 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
39711         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
39713 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
39715         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
39716         201304L, for Unicode 7.
39718 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
39720         [BZ #17836]
39721         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
39722         shared library.  Add gmon-start.os otherwise.
39723         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
39724         $(objpfx)gmon-start.os if builing shared library.
39725         ($(objpfx)g$(static-start-installed-name)): Likewise.
39727 2015-02-23  Andreas Schwab  <schwab@suse.de>
39729         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
39731 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39733         [BZ #17269]
39734         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
39735         (enlarge_userbuf): Likewise.
39737 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
39739         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
39740         * math/atest-exp.c (TIMEOUT): Adjust to 200.
39741         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
39742         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
39744 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
39746         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39747         expression inside statement expression.
39749 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39751         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
39752         <sysdeps/nptl/lowlevellock.h> and remove macros and
39753         functions that are now defined there.
39754         (SYS_futex): Remove.
39755         (lll_compare_and_swap): Remove.
39756         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
39758 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
39760         [BZ #17999]
39761         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
39762         instead of scandirat.
39763         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
39764         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
39765         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
39766         __scandirat.
39767         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
39768         (__scandirat): Declare.  Use libc_hidden_proto.
39769         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
39770         Remove variable.
39771         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
39773 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39775         [BZ #15319]
39776         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
39777         (MO): New macro.
39778         (__ieee754_atan2): For results with small absolute value, force
39779         underflow exception and remove excess range and precision from
39780         return value.
39781         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
39782         (MO): New macro.
39783         (__ieee754_atan2f): For results with small absolute value, force
39784         underflow exception and remove excess range and precision from
39785         return value.
39786         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
39787         (MO): New macro.
39788         (__atan): For results with small absolute value, force underflow
39789         exception and remove excess range and precision from return value.
39790         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
39791         (MO): New macro.
39792         (__atanf): For results with small absolute value, force underflow
39793         exception and remove excess range and precision from return value.
39794         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
39795         <math.h>.
39796         (__ieee754_atan2): Force underflow exception for results with
39797         small absolute value.
39798         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
39799         <math_private.h>.
39800         (atan): Force underflow exception for results with small absolute
39801         value.
39802         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
39803         (__atanf): Force underflow exception for results with small
39804         absolute value.
39805         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
39806         <math.h>.
39807         (__atanl): Force underflow exception for results with small
39808         absolute value.
39809         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
39810         (__atanl): Force underflow exception for results with small
39811         absolute value.
39812         * sysdeps/x86/fpu/bits/mathinline.h
39813         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
39814         (__ieee754_atan2): Only define inline for long double.
39815         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
39816         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
39817         * math/auto-libm-test-in: Do not mark underflow exceptions as
39818         possibly missing for bug 15319.  Add more tests of atan2.
39819         * math/auto-libm-test-out: Regenerated.
39820         * math/libm-test.inc (casin_test_data): Do not mark underflow
39821         exceptions as possibly missing for bug 15319.
39822         (casinh_test_data): Likewise.
39823         * sysdeps/i386/fpu/libm-test-ulps: Update.
39825 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
39827         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
39828         * sysdeps/mips/bits/endian.h: Fix comments.
39830 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
39832         [BZ #17996]
39833         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
39834         (hdestroy_r): Likewise.
39835         (hsearch_r): Likewise.
39836         (__hcreate_r): Declare and use libc_hidden_proto.
39837         (__hdestroy_r): Likewise.
39838         (__hsearch_r): Likewise.
39839         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
39840         (hcreate): Call __hcreate_r instead of hcreate_r.
39841         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
39842         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
39843         as weak alias of __hcreate_r.
39844         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
39845         __hdestroy_r.
39846         (hsearch_r): Rename to __hsearch_r and define as weak alias of
39847         __hsearch_r.
39848         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
39849         Remove variable.
39850         (test-xfail-XPG4/search.h/linknamespace): Likewise.
39851         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
39852         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
39853         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
39855 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
39857         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39858         arena_lock into a single arena_get.
39860 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39862         * dl-reloc.c: Inlucde libc-internal.h.
39863         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39864         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39865         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39866         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39867         (grow_heap): Likewise.
39868         * malloc/malloc.c: Include libc-internal.h.
39869         (do_check_malloc): Call powerof2.
39870         (sysmalloc): Use pagesize. Call ALIGN_UP.
39871         (systrim): Use pagesize.
39872         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39873         (__libc_valloc): Use pagesize.
39874         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39876 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39878         [BZ #17991]
39879         * include/sys/resource.h (__getrlimit64): Declare.  Use
39880         libc_hidden_proto.
39881         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39882         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39883         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39884         getrlimit64.
39885         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39886         __getrlimit64.
39887         [!getrlimit64] (getrlimit64): Define as weak alias of
39888         __getrlimit64.  Use libc_hidden_weak.
39889         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39890         using __getrlimit64 not __new_getrlimit64.
39891         (__GI_getrlimit64): Likewise.
39892         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39893         Likewise.
39894         (__GI_getrlimit64): Likewise.
39895         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39897         (getrlimit): Add __getrlimit64 alias.
39898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39899         Likewise.
39900         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39901         Remove variable.
39902         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39903         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39905 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39907         * libio/fileops.c: Add missing sys/mman.h
39908         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39910 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39912         * manual/math.texi (Errors in Math Functions): Clarify goals
39913         regarding inexact and underflow exceptions.
39915 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39917         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39918         * sysdeps/mips/memset.S: Ditto.
39920 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39922         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39924 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39926         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39927         (__v1longjmp): Remove versioned symbol.
39928         (__v1siglongjmp): Remove alias and versioned symbol.
39929         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39930         (__v2siglongjmp): Likewise.
39932 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39934         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39936 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39938         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39940 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39942         [BZ #17987]
39943         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39944         zero result does not depend on the sign resulting from
39945         subtraction.
39946         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39947         Likewise.
39948         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39949         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39950         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39951         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39952         * math/libm-test.inc (remquo_test_data): Add more tests.
39954 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39956         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39957         Problem reported by J William Piggott.
39959 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39961         [BZ #17978]
39962         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39963         products 4 * y and 2 * y where those would overflow.
39964         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39965         Likewise.
39966         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39967         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39968         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39969         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39970         * math/libm-test.inc (remquo_test_data): Add more tests.
39972         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39974         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39975         [defined _COMPILING_NEWLIB].
39976         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39977         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39979         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39980         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39982 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39984         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39985         acquired.
39987 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39989         [BZ #17792]
39990         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39991         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39992         HOST_STACK_END_ADDR): Likewise.
39994 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39996         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39997         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39998         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
40000 2015-02-13  Roland McGrath  <roland@hack.frob.com>
40002         * sysdeps/generic/c++-types.data: New file.
40003         * sysdeps/generic/ld.abilist: New file.
40004         * sysdeps/generic/libBrokenLocale.abilist: New file.
40005         * sysdeps/generic/libanl.abilist: New file.
40006         * sysdeps/generic/libc.abilist: New file.
40007         * sysdeps/generic/libcrypt.abilist: New file.
40008         * sysdeps/generic/libdl.abilist: New file.
40009         * sysdeps/generic/libm.abilist: New file.
40010         * sysdeps/generic/libpthread.abilist: New file.
40011         * sysdeps/generic/libresolv.abilist: New file.
40012         * sysdeps/generic/librt.abilist: New file.
40014 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
40016         [BZ #17569]
40017         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
40018         Compute absolute value of x as modified by fmod, not original
40019         value of x.
40020         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
40021         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
40022         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
40023         RUN_TEST_ffI_f1_mod8.
40024         (remquo_test_data): Add more tests.
40026 2015-02-13  Roland McGrath  <roland@hack.frob.com>
40028         * sysdeps/init_array/pt-crti.S: New file.
40030 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
40032         [BZ #17967]
40033         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
40034         __builtin_fmaf instead of relying on contraction of a * b + c.
40036 2015-02-12  J William Piggott  <elseifthen@gmx.com>
40038         [BZ #17969]
40039         * manual/time.texi: correct the zoneinfo path in the TZ Variable
40040         node.
40042 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
40044         [BZ #17964]
40045         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
40046         __builtin_fma instead of relying on contraction of a * b + c.
40048 2015-02-12  Roland McGrath  <roland@hack.frob.com>
40050         * Makeconfig (ASFLAGS): Add -Werror=undef.
40051         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
40052         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
40053         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
40055         * Makeconfig (after-link): New variable.
40056         (+link-pie, +link-pie-tests): Use it.
40057         (+link-static, +link-static-tests): Likewise.
40058         (+link, +link-tests): Likewise.
40059         * Makerules (build-module, build-module-asneeded): Likewise.
40060         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
40061         Likewise.
40062         * elf/Makefile ($(objpfx)ld.so): Likewise.
40064 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
40066         [BZ #17965]
40067         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
40068         both struct timeval and struct timespec.
40070 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
40072         [BZ #16560]
40073         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
40074         and redefine.
40075         (__ieee754_exp2l): Do not multiply small fractional parts by
40076         M_LN2l.
40077         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
40078         small argument.
40079         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40080         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
40081         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
40082         * math/auto-libm-test-in: Add more tests of exp2.
40083         * math/auto-libm-test-out: Regenerated.
40085 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40087         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
40088         unaligned path.
40090 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40092         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
40093         little endian.
40095 2015-02-12  Andreas Schwab  <schwab@suse.de>
40097         [BZ #15790]
40098         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
40099         Filter out elision flags from value returned in kind.
40100         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
40101         * nptl/tst-pthread-mutexattr.c: New file.
40103 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40105         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
40106         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
40107         into gnu-gnu, and update comment to refer to abi-tags.
40109 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
40111         [BZ #15467]
40112         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
40113         (__sincos): Set errno to EDOM for infinite argument.
40114         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
40115         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
40116         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
40117         (__sincosl): Set errno to EDOM for infinite argument.
40118         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
40119         (__sincosl): Set errno to EDOM for infinite argument.
40120         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
40121         (__sincosl): Set errno to EDOM for infinite argument.
40122         * math/libm-test.inc (sincos_test_data): Test errno setting.
40124 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
40126         * string/strxfrm_l.c: Remove #define STRCMP.
40127         * string/strcoll_l.c: Remove #define STRLEN.
40128         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
40129         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
40131 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
40133         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
40134         * sysdeps/mips/mips32/sfp-machine.h: ... here.
40135         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
40136         * sysdeps/mips/mips64/Makefile: ... here.
40137         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
40138         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
40139         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
40140         * sysdeps/mips/mips64/sfp-machine.h: ... here.
40141         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
40142         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
40143         * sysdeps/mips/mips64/n64/Implies: Likewise.
40145 2015-02-10  Roland McGrath  <roland@hack.frob.com>
40147         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40148         <sys/time.h>, <string.h>, and <errno.h>.
40149         (dest_offset, dest_address, value, zero): Remove unused variables.
40150         (ldouble): Remove typedef.
40151         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
40152         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
40153         1).  Fix code style.
40154         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
40155         (check): Function removed.
40156         (CHECK): New macro.
40157         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
40158         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
40159         Don't call set_sigaction_FP and remove_sigaction_FP here.
40160         (ldouble_test): Just use 'long double' as macro argument, no need for
40161         the 'ldouble' typedef.
40162         (do_test): Set up SIGFPE handler at start, using plain signal rather
40163         than sigaction.  Fix code style.
40165 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
40167         [BZ #17949]
40168         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
40169         jump label.
40171 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40173         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
40174         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40176         * sysdeps/powerpc/configure.ac: Remove file.
40177         * sysdeps/powerpc/configure: Likewise.
40179         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40180         [sysdep_routines]: Remove wordcopy-power6 object.
40181         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
40182         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
40183         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
40184         (__memmove_ppc32): Likewise.
40185         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
40186         file.
40187         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
40188         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
40189         Remove preprocessor.
40191         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
40192         [sysdep_routines]: Remove wide chars objects.
40193         [wcsmbs]: New rule for wide char objects.
40195         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40196         Remove wordcopy-power6 obejct.
40197         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
40198         Use local call for wordcopy and memcpy symbols.
40199         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
40200         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
40201         implementation for loader.
40202         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
40204         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40205         Remove wordcopy-power7 object.
40206         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
40207         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
40208         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
40209         (_wordcopy_fwd_dest_aligned): Likewise.
40210         (_wordcopy_bwd_aligned): Likewise.
40211         (_wordcopy_bwd_dest_aligned): Likewise.
40213         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
40214         Rewrite to call __memmove_ppc instead of include default
40215         implementation.
40217         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40218         Remove wide chars objects.
40219         [wcsmbs]: New rule for wide char objects.
40221 2015-02-09  Andreas Schwab  <schwab@suse.de>
40223         [BZ #17912]
40224         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
40225         in terms of __O_DIRECTORY.
40227 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40229         * time/getdate.c: Include <stdbool.h>.
40230         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
40231         call PTR_MANGLE.
40232         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
40233         PTR_DEMANGLE.
40235 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
40237         Add ersatz _Static_assert on older C hosts
40238         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
40239         pre-C11 C platform that is not known to support _Static_assert.
40241 2015-02-07  Richard Braun  <rbraun@sceen.net>
40243         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
40244         sigstate.
40245         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
40247 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40249         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
40250         priority against unexistent AIO_PRIO_DELTA_MAX.
40251         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
40252         instead of int.
40253         * misc/fchflags.c (fchflags): Likewise.
40254         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
40255         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
40256         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
40257         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
40258         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
40259         Declare macros.
40260         [__USE_MISC] (chflags, fchflags): Declare functions.
40261         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
40262         EINVAL when nfds is greater than FD_SETSIZE.
40263         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
40264         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
40265         45.
40266         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
40267         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
40268         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
40269         MACH_RCV_TIMED_OUT.
40270         * hurd/hurd/signal.h (_hurd_self_sigstate,
40271         _hurd_critical_section_lock, _hurd_critical_section_unlock):
40272         Explicit casts from void *.
40273         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
40274         * abi-tags: Rename gnu-gnu os into gnu.
40276         [BZ #4719]
40277         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
40278         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
40279         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
40280         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
40281         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
40282         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
40284         [BZ #17944]
40285         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
40286         duplicates ADDR->sun_path with sockaddr LEN limitation.
40287         * sysdeps/mach/hurd/connect.c: Include <string.h>
40288         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
40289         * sysdeps/mach/hurd/sendmsg.c: Likewise.
40290         * sysdeps/mach/hurd/sendto.c: Likewise.
40291         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
40292         implementing it by hand.
40294 2015-02-06  Roland McGrath  <roland@hack.frob.com>
40296         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
40297         Use sfi_breg on ldr.
40298         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
40299         Likewise.
40301         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
40302         it's defined.
40303         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
40304         Test SIGSETXID only if it's defined.
40306         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
40308         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
40309         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
40311         * nptl/tst-align2.c: Moved ...
40312         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
40313         * nptl/Makefile (tests): Remove tst-align2.
40314         * sysdeps/unix/sysv/linux/Makefile
40315         [$(subdir) = nptl] (tests): Add tst-align-clone.
40316         * nptl/tst-getpid1.c: Moved ...
40317         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
40318         * nptl/tst-getpid2.c: Moved ...
40319         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
40320         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
40321         * sysdeps/unix/sysv/linux/Makefile
40322         [$(subdir) = nptl] (tests): ... here.
40323         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
40324         * sysdeps/unix/sysv/linux/Makefile
40325         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
40327         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40328         Drop trailing \n from perror argument.  Use return rather than exit.
40330         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
40331         on [SA_SIGINFO].
40332         * nptl/tst-cancel21.c (do_test): Likewise.
40333         * debug/tst-backtrace6.c: Include <signal.h> first thing.
40334         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
40335         [!SA_SIGINFO]: Make it a stub test.
40337         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
40338         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
40340         * posix/tst-getlogin.c: Move to ...
40341         * login/tst-getlogin.c: ... here.
40342         * posix/Makefile (tests): Move tst-getlogin to ...
40343         * login/Makefile (tests): ... here.
40345         * libio/tst-atime.c (do_test): Move local variables SV and E
40346         inside [ST_NOATIME] conditional.
40348         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
40350         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
40352         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
40353         (wait_code): New function replaces macro.
40354         Call nanosleep rather than syscall.
40356         * nptl/pt-system.c: Rewritten.  Put everything under
40357         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40358         Use IFUNC to redirect when possible.
40360         * nptl/pt-longjmp.c: Rewritten.  Put everything under
40361         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40362         Use IFUNC to redirect when possible.
40364         * nptl/pt-fork.c: Rewritten.  Put everything under
40365         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
40366         Use IFUNC to redirect when possible.
40367         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
40369         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
40370         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
40371         unconditionally nowadays.  This included the only reference to
40372         __vdso_clock_gettime that appears outside libc proper.
40373         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
40374         Remove version set (containing only __vdso_clock_gettime).
40375         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
40376         Add attribute_hidden.
40377         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
40378         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
40379         libc_hidden_data_def.
40380         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
40381         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
40383         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
40384         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
40385         setrpcent, and getrpcport to ...
40386         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
40387         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
40388         getrpcbynumber_r, and getrpcent_r to ...
40389         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
40390         * inet/getrpcbyname.c: Moved ...
40391         * sunrpc/getrpcbyname.c: ... here.
40392         * inet/getrpcbyname_r.c: Moved ...
40393         * sunrpc/getrpcbyname_r.c: ... here.
40394         * inet/getrpcbynumber.c: Moved ...
40395         * sunrpc/getrpcbynumber.c: ... here.
40396         * inet/getrpcbynumber_r.c: Moved ...
40397         * sunrpc/getrpcbynumber_r.c: ... here.
40398         * inet/getrpcent.c: Moved ...
40399         * sunrpc/getrpcent.c: ... here.
40400         * inet/getrpcent_r.c: Moved ...
40401         * sunrpc/getrpcent_r.c: ... here.
40402         * inet/Makefile (routines): Move those to ...
40403         * sunrpc/Makefile (routines): ... here.
40404         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
40405         the $(subdirs) list.
40406         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
40407         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
40408         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
40409         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
40411         * elf/Makefile (routines): Include $(all-dl-routines), not just
40412         $(dl-routines).
40413         (rtld-routines): Likewise.  Use = rather than :=.
40414         * sysdeps/aarch64/Makefile [$(subdir) = elf]
40415         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
40416         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
40417         * sysdeps/arm/Makefile: Likewise.
40418         * sysdeps/i386/Makefile: Likewise.
40419         * sysdeps/x86_64/Makefile: Likewise.
40420         * sysdeps/hppa/Makefile [$(subdir) = elf]
40421         (sysdep_routines, sysdep-rtld-routines): Don't add
40422         $(sysdep-dl-routines) to these.
40423         * sysdeps/ia64/Makefile: Likewise.
40424         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
40425         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
40426         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
40427         Don't add dl-static to these; sysdep-dl-routines alone is enough.
40428         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
40429         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
40430         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
40431         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
40432         * sysdeps/powerpc/Makefile [$(subdir) = elf]
40433         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
40434         these; sysdep-dl-routines alone is enough.
40436 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
40438         [BZ #17932]
40439         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
40440         where multiplication results in zero and third argument is finite
40441         and nonzero.
40442         * math/auto-libm-test-in: Add more tests of fma.
40443         * math/auto-libm-test-out: Regenerated.
40445         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
40446         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
40447         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
40448         (_FP_CMP_EQ): Likewise.
40449         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
40451         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
40452         extra argument CHECK_NAN.  Redefine as wrapper around
40453         _FP_EXTEND_CNAN.
40455 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
40457         * version.h (RELEASE): Set to "stable".
40458         (VERSION): Set to "2.21"
40459         * include/features.h (__GLIBC_MINOR__): Set to 21.
40461         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
40463 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40464             Paul Eggert  <eggert@cs.ucla.edu>
40466         [BZ #16618]
40467         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
40468         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
40469         size in bytes. Store needed elements in wpmax. Use needed size
40470         in bytes for extend_alloca.
40472 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
40474         * manual/install.texi: Latest tested versions are GCC 4.9.2,
40475         binutls 2.25, and texinfo 5.2.
40476         * INSTALL: Regenerate.
40477         * sysdeps/nios2/configure: Regenerate.
40478         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
40479         * manual/contrib.texi: Update.
40480         * po/be.po: Update.
40481         * po/bg.po: Update.
40482         * po/ca.po: Update.
40483         * po/cs.po: Update.
40484         * po/da.po: Update.
40485         * po/de.po: Update.
40486         * po/el.po: Update.
40487         * po/eo.po: Update.
40488         * po/es.po: Update.
40489         * po/fi.po: Update.
40490         * po/fr.po: Update.
40491         * po/gl.po: Update.
40492         * po/hr.po: Update.
40493         * po/hu.po: Update.
40494         * po/ia.po: Update.
40495         * po/id.po: Update.
40496         * po/it.po: Update.
40497         * po/ja.po: Update.
40498         * po/ko.po: Update.
40499         * po/lt.po: Update.
40500         * po/nb.po: Update.
40501         * po/nl.po: Update.
40502         * po/pl.po: Update.
40503         * po/pt_BR.po: Update.
40504         * po/ru.po: Update.
40505         * po/rw.po: Update.
40506         * po/sk.po: Update.
40507         * po/sl.po: Update.
40508         * po/sv.po: Update.
40509         * po/tr.po: Update.
40510         * po/uk.po: Update.
40511         * po/vi.po: Update.
40512         * po/zh_CN.po: Update.
40513         * po/zh_TW.po: Update.
40515         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
40516         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
40517         * sysdeps/hppa/dl-irel.h: Remove #warning.
40518         * sysdeps/hppa/entry.h: Provide prototype for
40519         __canonicalize_funcptr_for_compare and cast argument.
40520         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
40521         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
40522         * sysdeps/hppa/sotruss-lib.c: New file.
40523         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
40524         (atomic_compare_and_exchange_val_acq): Use __typeof__.
40525         (atomic_compare_and_exchange_bool_acq): Likewise.
40526         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
40527         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
40529         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
40530         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
40531         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
40533 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
40535         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
40536         called function in non-PIC case.
40538 2015-01-31  David S. Miller  <davem@davemloft.net>
40540         * sysdeps/sparc/sparc32/bits/atomic.h
40541         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
40542         unlock not after it.
40543         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
40544         volatile register usage warnings from the compiler.
40546         * sysdeps/sparc/nptl/sem_init.c: Delete.
40547         * sysdeps/sparc/nptl/sem_post.c: Delete.
40548         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
40549         * sysdeps/sparc/nptl/sem_wait.c: Delete.
40550         * sysdeps/sparc/sparc32/sem_init.c: New file.
40551         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
40552         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
40553         padding explicitly initialized.
40554         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
40555         padding for in-semaphore spinlock.
40556         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
40557         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
40558         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
40559         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
40560         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
40561         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
40562         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
40563         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
40564         version.
40565         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
40566         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
40568 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
40570         [BZ #17801]
40571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40572         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
40573         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
40574         New.
40575         (index_AVX_Fast_Unaligned_Load): Likewise.
40576         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
40577         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
40578         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
40579         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
40580         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
40581         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
40582         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
40583         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
40584         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
40586 2015-01-29  Andreas Schwab  <schwab@suse.de>
40588         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
40590 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
40592         [BZ #17892]
40593         * nscd/nscd_stat.c (send_stats): Initialize DATA.
40595 2015-01-28  Martin Sebor  <msebor@redhat.com>
40597         * math/README.libm-test: Clarify. Add "How to read the test output."
40599 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
40601         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
40602         Define to 0.
40604 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
40606         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
40607         (__HAVE_64B_ATOMICS): Define to 0.
40609 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40611         [BZ #17885]
40612         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
40613         value to set as new flag.
40615         [BZ #16576]
40616         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
40617         and use _ARCH_PPCSQ instead.
40618         (__ieee754_sqrt): Likewise.
40619         (__ieee754_sqrtf): Likewise.
40620         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
40621         _ARCH_PPCSQ is defined.
40622         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
40623         fsqrt instruction.
40624         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
40625         _ARCH_PPCSQ is defined.
40626         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
40627         fsqrts instruction.
40628         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
40630 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40632         * iconv/loop.c: Suppress array out of bound warning caused by GCC
40633         bug (GCC BZ #64739).
40635 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
40637         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
40638         Mark _retval as used.
40639         (lll_futex_wake_unlock): Likewise.
40640         (lll_futex_timed_wait_requeue_pi): Likewise.
40642         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40643         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
40644         register variables.
40646         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
40647         libm_hidden_def.
40649         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
40650         (__bswap_64): Mark as __always_inline.
40652 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
40654         [BZ #15378]
40655         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
40656         when none of the search directories exist.
40658 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
40660         [BZ #17869]
40661         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
40662         power8 in .machine directive.
40664         [BZ #17868]
40665         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
40666         set dependency from opd value.
40668 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40670         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40671         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
40672         architecture.
40674 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
40676         [BZ #17870]
40677         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
40678         with uint64_t.
40679         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
40680         (uint64_t) 1.
40681         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
40682         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
40683         Replace 1UL with (uint64_t) 1.
40684         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
40685         int with uint64_t.
40687 2015-01-23  Roland McGrath  <roland@hack.frob.com>
40689         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
40690         (if_freenameindex): Likewise.
40692         * resource/getrlimit64.c: Add missing libc_hidden_def.
40694 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
40696         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
40697         __label__.
40698         (_FP_FMA): Likewise.
40699         (_FP_TO_INT_ROUND): Likewise.
40700         (_FP_FROM_INT): Likewise.
40702 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40704         [BZ #16418]
40705         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
40706         Make code racy and cancel safe.
40708 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
40710         * sysdeps/arm/unwind-resume.h: Fix copyright year.
40711         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
40712         attribution.
40714         * pwd/tst-getpw.c: Rewrite.
40716         [BZ #17702]
40717         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
40718         (modules-names): Add moddummy1 and moddummy2.
40719         ($(objpfx)tst-rec-dlopen): Define.
40720         * dlfcn/moddummy1.c: New file.
40721         * dlfcn/moddummy2.c: New file.
40722         * dlfcn/tst-rec-dlopen.c: New file.
40723         * elf/dl-cache.c (_dl_load_cache_lookup):
40724         Return char*. Copy result with alloca/strcpy/strdup.
40725         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
40726         returns char*. Free cached. If not saving realname
40727         free cached.
40728         * elf/dl-open.c (dl_open_worker): Do not assert that
40729         _r_debug->r_state is RT_CONSISTENT.
40730         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
40731         returns char*.
40733 2015-01-21  Torvald Riegel  <triegel@redhat.com>
40734             Carlos O'Donell  <carlos@redhat.com>
40736         [BZ #12674]
40737         * nptl/sem_waitcommon.c: New file.
40738         * nptl/sem_wait.c: Include sem_waitcommon.c.
40739         (__sem_wait_cleanup, do_futex_wait): Remove.
40740         (__new_sem_wait): Adapt.
40741         (__new_sem_trywait): New function.
40742         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
40743         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
40744         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
40745         (sem_timedwait): Adapt.
40746         * nptl/sem_post.c (__new_sem_post): Adapt.
40747         (futex_wake): New function.
40748         (__old_sem_post): Add release MO fence.
40749         * nptl/sem_open.c (sem_open): Adapt.
40750         * nptl/sem_init.c (__new_sem_init): Adapt.
40751         (futex_private_if_supported): New function.
40752         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
40753         (__old_sem_getvalue): Add using previous code.
40754         * sysdeps/nptl/internaltypes.h: Adapt.
40755         * nptl/tst-sem13.c (do_test): Adapt.
40756         * nptl/tst-sem11.c (main): Adapt.
40757         * nptl/sem_trywait.c: Remove.
40758         * nptl/DESIGN-sem.txt: Remove.
40759         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
40760         (gen-as-const-headers): Remove structsem.sym.
40761         * nptl/structsem.sym: Remove.
40762         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
40763         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
40764         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
40765         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
40766         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
40767         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
40768         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
40769         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
40770         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
40771         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
40772         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
40773         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
40774         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
40775         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
40776         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
40777         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
40778         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
40779         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
40780         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
40781         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
40782         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
40783         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
40785 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
40787         * INSTALL: Regenerated.
40789         * po/libc.pot: Regenerated.
40791 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
40792             Sandra Loosemore  <sandra@codesourcery.com>
40793             Andrew Jenner  <andrew@codesourcery.com>
40794             Joseph Myers  <joseph@codesourcery.com>
40795             Nathan Sidwell  <nathan@codesourcery.com>
40797         * NEWS: Mention new Nios II port.
40798         * sysdeps/nios2/Implies: New file.
40799         * sysdeps/nios2/Makefile: New file.
40800         * sysdeps/nios2/Subdirs: New file.
40801         * sysdeps/nios2/Versions: New file.
40802         * sysdeps/nios2/__longjmp.S: New file.
40803         * sysdeps/nios2/abort-instr.h: New file.
40804         * sysdeps/nios2/backtrace.c: New file.
40805         * sysdeps/nios2/bits/endian.h: New file.
40806         * sysdeps/nios2/bits/fenv.h: New file.
40807         * sysdeps/nios2/bits/link.h: New file.
40808         * sysdeps/nios2/bits/setjmp.h: New file.
40809         * sysdeps/nios2/bsd-_setjmp.S: New file.
40810         * sysdeps/nios2/bsd-setjmp.S: New file.
40811         * sysdeps/nios2/configure: New generated file.
40812         * sysdeps/nios2/configure.ac: New file.
40813         * sysdeps/nios2/crti.S: New file.
40814         * sysdeps/nios2/crtn.S: New file.
40815         * sysdeps/nios2/dl-init.c: New file.
40816         * sysdeps/nios2/dl-machine.h: New file.
40817         * sysdeps/nios2/dl-sysdep.h: New file.
40818         * sysdeps/nios2/dl-tls.h: New file.
40819         * sysdeps/nios2/dl-trampoline.S: New file.
40820         * sysdeps/nios2/gccframe.h: New file.
40821         * sysdeps/nios2/gmp-mparam.h: New file.
40822         * sysdeps/nios2/jmpbuf-offsets.h: New file.
40823         * sysdeps/nios2/jmpbuf-unwind.h: New file.
40824         * sysdeps/nios2/ldsodefs.h: New file.
40825         * sysdeps/nios2/libc-tls.c: New file.
40826         * sysdeps/nios2/libm-test-ulps: New file.
40827         * sysdeps/nios2/machine-gmon.h: New file.
40828         * sysdeps/nios2/math-tests.h: New file.
40829         * sysdeps/nios2/math_private.h: New file.
40830         * sysdeps/nios2/memusage.h: New file.
40831         * sysdeps/nios2/nptl/Makefile: New file.
40832         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
40833         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
40834         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
40835         * sysdeps/nios2/nptl/pthreaddef.h: New file.
40836         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
40837         * sysdeps/nios2/nptl/tls.h: New file.
40838         * sysdeps/nios2/preconfigure: New file.
40839         * sysdeps/nios2/s_fma.c: New file.
40840         * sysdeps/nios2/s_fmaf.c: New file.
40841         * sysdeps/nios2/setjmp.S: New file.
40842         * sysdeps/nios2/sfp-machine.h: New file.
40843         * sysdeps/nios2/sotruss-lib.c: New file.
40844         * sysdeps/nios2/stackguard-macros.h: New file.
40845         * sysdeps/nios2/stackinfo.h: New file.
40846         * sysdeps/nios2/start.S: New file.
40847         * sysdeps/nios2/sysdep.h: New file.
40848         * sysdeps/nios2/tls-macros.h: New file.
40849         * sysdeps/nios2/tst-audit.h: New file.
40850         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
40851         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
40852         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
40853         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
40854         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
40855         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
40856         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
40857         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40858         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40859         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40860         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40861         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40862         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40863         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40864         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40865         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40866         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40867         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40868         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40869         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40870         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40871         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40872         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40873         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40874         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40875         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40876         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40877         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40878         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40879         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40880         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40881         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40882         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40883         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40884         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40885         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40886         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40887         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40888         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40889         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40890         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40891         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40892         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40893         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40895 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40897         [BZ #17844]
40898         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40899         (getutent): Use weak_alias in non SHARED case
40900         and default_symbol_version in SHARED case.
40901         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40902         (getutent_r, pututline): Likewise.
40903         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40904         (getutid): Likewise.
40905         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40906         (getutid_r): Likewise.
40907         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40908         (getutline): Likewise.
40909         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40910         (getutline_r): Likewise.
40911         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40912         (updwtmp): Likewise.
40914 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40916         [BZ #17848]
40917         * sysdeps/s390/s390-32/memcmp.S
40918         (memcmp_g5): Rename to __memcmp_g5.
40919         * sysdeps/s390/s390-32/memcpy.S
40920         (memcpy_g5): Rename to __memcpy_g5.
40921         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40922         (memcpy_mvcle) Rename to __memcpy_mvcle.
40923         * sysdeps/s390/s390-32/memset.S
40924         (memset_g5): Rename to __memset_g5.
40925         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40926         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40927         and use prefixed functions.
40928         * sysdeps/s390/s390-32/multiarch/memcmp.S
40929         (memcmp_z196): Rename to __memcmp_z196.
40930         (memcmp_z10): Rename to __memcmp_z10.
40931         (memcmp): Set alias to __memcmp_g5.
40932         (bcmp): Set alias to __memcmp_g5.
40933         * sysdeps/s390/s390-32/multiarch/memcpy.S
40934         (memcpy_z196): Rename to __memcpy_z196.
40935         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40936         (memcpy_z10): Rename to __memcpy_z10.
40937         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40938         (memcpy): Set alias to __memcpy_g5.
40939         * sysdeps/s390/s390-32/multiarch/memset.S
40940         (memset_z196): Rename to __memset_z196.
40941         Jump to __memset_mvcle instead of memset_mvcle.
40942         (memset_z10): Rename to __memset_z10.
40943         Jump to __memset_mvcle instead of memset_mvcle.
40944         (memset_mvcle) Rename to __memset_mvcle.
40945         (memset): Set alias to __memset_g5.
40946         * sysdeps/s390/s390-64/memcmp.S
40947         (memcmp_z900): Rename to __memcmp_z900.
40948         * sysdeps/s390/s390-64/memcpy.S
40949         (memcpy_z900): Rename to __memcpy_z900.
40950         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40951         (memcpy_mvcle) Rename to __memcpy_mvcle.
40952         * sysdeps/s390/s390-64/memset.S
40953         (memset_z900): Rename to __memset_z900.
40954         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40955         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40956         and use prefixed functions.
40957         * sysdeps/s390/s390-64/multiarch/memcmp.S
40958         (memcmp_z196): Rename to __memcmp_z196.
40959         (memcmp_z10): Rename to __memcmp_z10.
40960         (memcmp): Set alias to __memcmp_z900.
40961         (bcmp): Set alias to __memcmp_z900.
40962         * sysdeps/s390/s390-64/multiarch/memcpy.S
40963         (memcpy_z196): Rename to __memcpy_z196.
40964         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40965         (memcpy_z10): Rename to __memcpy_z10.
40966         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40967         (memcpy): Set alias to __memcpy_z900.
40968         * sysdeps/s390/s390-64/multiarch/memset.S
40969         (memset_z196): Rename to __memset_z196.
40970         Jump to __memset_mvcle instead of memset_mvcle.
40971         (memset_z10): Rename to __memset_z10.
40972         Jump to __memset_mvcle instead of memset_mvcle.
40973         (memset_mvcle) Rename to __memset_mvcle.
40974         (memset): Set alias to __memset_z900.
40976 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40978         [BZ #17748]
40979         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40980         __fesetenv instead of fesetenv.
40982 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40984         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40985         macro.
40987 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40989         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40990         regression on LE.
40992         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40993         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40994         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40995         strncmp-power8 object.
40996         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40997         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40998         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40999         * NEWS: Update.
41001 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41002             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41004         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
41005         trailing byte check.
41007 2015-01-13  David S. Miller  <davem@davemloft.net>
41009         * include/signal.h (__sigreturn): Guard with __USE_MISC.
41011 2015-01-13  Roland McGrath  <roland@hack.frob.com>
41013         * login/logout.c (logout): Use memset rather than bzero.
41014         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
41015         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
41016         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
41017         (_gethtbyaddr): Likewise.
41018         * locale/programs/simple-hash.c (bcopy): Macro removed.
41020 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41022         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41023         Add strcmp-power8 object.
41024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41025         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
41026         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
41027         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
41028         __strcmp_power8 implementation.
41029         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
41030         * NEWS: Update.
41032         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
41033         Add strncpy-power8 and stpncpy-power8 objects.
41034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41035         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
41036         implementations.
41037         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
41038         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
41039         __stpncpy_power8 implementation.
41040         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
41041         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
41042         __strncpy_power8 implementation.
41043         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
41044         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
41045         * NEWS: Update.
41047         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
41048         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
41049         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
41051         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41052         strncat-power8 object.
41053         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
41054         __strcat_power8 implementation.
41055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41056         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
41057         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
41058         optimized strcat for power8.
41060         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
41061         strcpy-power8 and stpcpy-power8 objects.
41062         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
41063         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
41064         implementations.
41065         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
41066         multiarch stpcpy implementation for POWER8.
41067         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
41068         multiarch strcpy implementation for POWER8.
41069         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
41070         __strcpy_power8 function.
41071         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
41072         stpcpy for POWER8.
41073         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
41074         strcpy for POWER8.
41075         * NEWS: Update.
41077 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
41079         [BZ #16009]
41080         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
41081         weights and rules. Use do_xfrm_cached if data fits in cache,
41082         do_xfrm otherwise.  Moved former main loop to...
41083         * (do_xfrm_cached): New function.
41084         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
41085         find_idx, find_position and stack_push.
41086         * (find_idx): New function.
41087         * (find_position): Likewise.
41088         * localedata/sort-test.sh: Added test run for do_xfrm.
41089         * localedata/xfrm-test.c (main): Added command line option
41090         -nocache to run the test with strings that are too large for
41091         the STRXFRM cache.
41093 2015-01-13  Torvald Riegel  <triegel@redhat.com>
41095         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
41096         variable to lll_futex_wake call, not the value itself.
41098 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
41100         [BZ #17803]
41101         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
41102         twom64.  Adjust value to 0x1p-64L.
41103         (__scalblnl): Only return standard underflowing result for K <=
41104         -64 not K <= -63; adjust exponent for underflowing result by 64
41105         not 63.
41106         * math/libm-test.inc (scalbn_test_data): Add more tests.
41107         (scalbln_test_data): Likewise.
41109         [BZ #17834]
41110         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
41111         0x1p63L.
41112         (__scalblnl): Get new exponent of adjusted subnormal value from ES
41113         not HX.
41114         * math/libm-test.inc (scalbn_test_data): Add more tests.
41115         (scalbln_test_data): Likewise.
41117 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41118             Stefani Seibold  <stefani@seibold.net>
41120         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
41121         (sysdep_routines): Add dl-vdso here, ...
41122         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
41123         (sysdep_routines): ... not here.
41124         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
41125         fallback when vDSO is not presented.
41126         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
41127         Define with libc_hidden_proto/libc_hidden_data_def definitions.
41128         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
41129         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
41130         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
41131         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
41132         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
41133         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
41134         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
41135         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
41136         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
41137         fallback configurable symbol when vDSO is not available.
41138         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
41139         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
41140         be able to redefine fallback symbol when vDSO is not available.
41141         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
41142         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
41144 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41146         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
41147         (TLS_INIT_TP): Add tm_capable initialization.
41148         (TLS_DEFINE_INIT_TP): Likewise.
41149         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
41150         TCB.
41151         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
41152         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
41153         calculation.
41154         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
41155         transactoion is lock elision is built and TCB tm_capable is set.
41156         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
41158         (INTERNAL_SYSCALL_NCS): Likewise.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
41160         (INTERNAL_SYSCALL_NCS): Likewise.
41161         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
41163         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
41164         for powerpc.
41165         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41166         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
41167         and remove it for 32 bits case.
41168         [pthread_rwlock_t] (__rwelision): New field for lock elision.
41169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
41170         initialization.
41171         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
41172         Disable lock elision with rdlocks if elision is not available.
41174         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
41175         (sysdep_routines): Add lock elision objects.
41176         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
41177         [pthread_mutex_t] (__spins): Rework to add lock elision field.
41178         [pthread_mutex_t] (__elision): Add field.
41179         [__PTHREAD_SPINS]: Adjust to init lock elision field.
41180         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
41181         elision definitions for powerpc.
41182         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
41183         implementation of lock elision for powerpc.
41184         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
41185         implementation of timed lock elision for powerpc.
41186         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
41187         implementation of trylock with lock elision for powerpc.
41188         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
41189         implementaion of unlock for lock elision for powerpc.
41190         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
41191         automatic enable lock elision for mutexes.
41192         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
41193         transaction execution definitions for powerpc.
41194         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
41195         definitions.
41196         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
41197         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
41198         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
41199         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
41200         * NEWS: Update.
41202 2015-01-09  Roland McGrath  <roland@hack.frob.com>
41204         * sysdeps/posix/shm-directory.c: Use <> rather than ""
41205         for #include of <shm-directory.h>.
41207 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
41209         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
41210         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
41212 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
41214         [BZ #17791]
41215         * NEWS: Mention bug fix.
41216         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
41217         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
41218         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
41220 2015-01-09  Torvald Riegel <triegel@redhat.com>
41222         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
41224 2015-01-09  Torvald Riegel <triegel@redhat.com>
41226         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
41228 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41230         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
41231         pointer and cast to uintptr_t.
41233 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41235         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
41236         removed.
41237         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
41239 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
41241         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
41242         of 0.
41244 2015-01-08  Roland McGrath  <roland@hack.frob.com>
41246         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
41247         <nptl/pthreadP.h> instead.
41248         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
41250         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
41251         already defined.
41252         [__SIGRTMIN] (init): Function removed.
41253         [__SIGRTMIN] (initialized): Variable removed.
41254         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
41255         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
41256         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
41257         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
41258         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
41259         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
41260         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
41261         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
41262         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
41263         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
41264         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
41265         * sysdeps/nptl/allocrtsig.c: New file.
41266         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
41267         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
41268         * sysdeps/generic/testrtsig.h: File removed.
41270         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
41271         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
41273         * nptl/nptl-init.c (pthread_functions): Conditionalize
41274         .ptr__nptl_setxid initialization on [SIGSETXID].
41276         * sysdeps/nptl/sys/procfs.h: New file.
41277         * nptl_db/Makefile (headers): Add it.
41278         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
41280         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
41281         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
41282         * nptl/pthread_attr_setaffinity.c: Include it.
41283         * nptl/pthread_setattr_default_np.c: Likewise.
41284         * nptl/check-cpuset.h: New file.
41286 2015-01-08  Richard Henderson  <rth@redhat.com>
41288         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
41289         (CFLAGS-tst-execstack-prog.c): Likewise.
41290         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
41292 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
41293             Sandra Loosemore  <sandra@codesourcery.com>
41294             Andrew Jenner  <andrew@codesourcery.com>
41295             Joseph Myers  <joseph@codesourcery.com>
41296             Nathan Sidwell  <nathan@codesourcery.com>
41298         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
41299         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
41300         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
41301         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
41302         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
41303         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
41304         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
41305         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
41306         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
41307         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
41308         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
41309         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
41310         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
41311         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
41312         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
41313         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
41314         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
41316 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41318         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
41319         timespec struct member in syscall macro.
41320         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
41321         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
41322         first timeval struct member in syscall macro.
41323         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
41325 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
41327         [BZ #17748]
41328         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
41329         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
41330         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
41331         __feupdateenv and define as weak alias of __feupdateenv.  Use
41332         libm_hidden_weak.
41333         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
41334         libm_hidden_def.
41335         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
41336         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
41337         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41338         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
41339         libm_hidden_def.
41340         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
41341         __feupdateenv and define as weak alias of __feupdateenv.  Use
41342         libm_hidden_weak.
41343         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
41344         libm_hidden_def.
41345         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
41346         __feupdateenv and define as weak alias of __feupdateenv.  Use
41347         libm_hidden_weak.
41348         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
41349         libm_hidden_def.
41350         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41351         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41352         (__feupdateenv): Likewise.
41353         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
41354         __feupdateenv and define as weak alias of __feupdateenv.  Use
41355         libm_hidden_weak.
41356         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41357         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
41358         libm_hidden_def.
41359         * sysdeps/tile/math_private.h (__feupdateenv): New inline
41360         function.
41361         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
41362         libm_hidden_def.
41363         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
41364         __feupdateenv instead of feupdateenv.
41365         (default_libc_feupdateenv_test): Likewise.
41366         (libc_feresetround_ctx): Likewise.
41368 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41370         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
41371         prototype.
41373 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
41375         * posix/regcomp.c (parse_bracket_exp): Initialize type to
41376         COLL_SYM in a couple of places to avoid uninitialized variable
41377         wanings on tilegx gcc 4.8.2.
41379 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41381         * sysdeps/aarch64/strcpy.S: New file.
41382         * sysdeps/aarch64/stpcpy.S: New file.
41383         * NEWS: Updated.
41385 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
41387         * sysdeps/aarch64/strrchr.S: New file.
41388         * NEWS: Updated.
41390 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
41392         [BZ #17658]
41393         * stdlib/setenv.c: Fix memory leak when setting large,
41394         duplicate string.
41396 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
41398         [BZ #17273]
41399         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
41400         and tabs from buffer before parsing fstab entry.
41401         * misc/tst-mntent.c (main): Add test for mount entry with
41402         trailing spaces and tabs.
41404 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
41406         [BZ #17748]
41407         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
41408         * math/fesetround.c (fesetround): Rename to __fesetround and
41409         define as weak alias of __fesetround.  Use libm_hidden_weak.
41410         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
41411         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
41412         * sysdeps/arm/fesetround.c (fesetround): Likewise.
41413         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
41414         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
41415         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
41416         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
41417         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
41418         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
41419         __fesetround_inline.
41420         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
41421         __fesetround_inline instead of __fesetround.
41422         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
41423         __fesetround and define as weak alias of __fesetround.  Use
41424         libm_hidden_weak.  Call __fesetround_inline instead of
41425         __fesetround.
41426         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
41427         __fesetround and define as weak alias of __fesetround.  Use
41428         libm_hidden_weak.
41429         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
41430         Likewise.
41431         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
41432         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41433         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
41434         * sysdeps/tile/math_private.h (__fesetround): New inline function.
41435         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
41436         __fesetround and define as weak alias of __fesetround.  Use
41437         libm_hidden_weak.
41438         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
41439         __fesetround instead of fesetround.
41440         (default_libc_feholdexcept_setround): Likewise.
41441         (libc_feholdsetround_ctx): Likewise.
41442         (libc_feholdsetround_noex_ctx): Likewise.
41444         [BZ #17748]
41445         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
41446         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
41447         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41448         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41449         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41450         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
41451         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41452         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
41453         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41454         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41455         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41456         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41457         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41458         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41459         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
41460         libm_hidden_def.
41461         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
41462         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
41463         Likewise.
41464         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
41465         define as weak alias of __fesetenv.  Use libm_hidden_weak.
41466         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41467         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
41468         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
41469         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
41470         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
41471         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
41472         __fesetenv instead of fesetenv.
41473         (libc_feresetround_noex_ctx): Likewise.
41474         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41475         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
41476         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
41477         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41478         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41479         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41480         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
41481         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
41482         (__feupdateenv): Likewise.
41483         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41484         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41485         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41486         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
41488 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41490         [BZ #17806]
41491         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
41492         addresses have been freed.
41494 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
41496         * resolv/res_init.c (__res_vinit): Improve comments about nserv
41497         and nservall.
41499 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
41501         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
41502         Clean up check_pf allocation pattern. addresses
41504 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41506         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
41507         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
41508         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
41509         * nptl/pthread_exit.c (__pthread_exit): Likewise.
41510         * nptl/pthread_join.c (pthread_join): Likewise.
41511         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
41512         * sysdeps/posix/waitid.c (__waitid): Likewise.
41513         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
41514         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
41515         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
41516         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
41517         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
41518         Likewise.
41519         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
41520         (__libc_pread64): Likewise.
41521         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
41522         (__libc_pwrite): Likewise.
41523         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
41524         (__libc_pwrite64): Likewsie.
41525         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
41526         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
41527         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
41528         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
41529         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
41530         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
41531         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
41532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
41533         Likewise.
41534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
41535         (__libc_pread64): Likewise.
41536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
41537         Likewise.
41538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
41539         (__libc_pwrite64): Likewise.
41540         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
41541         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
41542         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
41543         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
41544         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
41545         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
41546         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
41547         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
41548         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
41549         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
41550         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
41551         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
41552         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
41553         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
41554         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
41555         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
41556         Likewise.
41558 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41560         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
41561         (CFLAGS-test-double.c): Likewise.
41562         (CFLAGS-test-ldouble.c): Likewise.
41563         (CPPFLAGS-test-ifloat.c): Likewise.
41564         (CPPFLAGS-test-idouble.c): Likewise.
41565         (CPPFLAGS-test-ildoubl.c): Likewise.
41566         (CFLAGS-test-test-fenv.c): Remove variable.
41567         (CFLAGS-test-misc.c): Likewise.
41569 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
41571         [BZ #17797]
41572         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
41573         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
41574         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
41575         CLOCKS_PER_SEC == 1000000.
41576         * time/clocktest.c (main): Replace %ld with %jd and cast to
41577         intmax_t.
41579 2015-01-05  Roland McGrath  <roland@hack.frob.com>
41581         * sysdeps/generic/unwind-resume.h: New file.
41582         * sysdeps/gnu/unwind-resume.c: Include it.
41583         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
41584         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
41585         argument list.
41586         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
41587         global rather than static.
41588         (_Unwind_Resume): Update user.
41589         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
41590         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
41591         rather than static.  Add __attribute__ ((cold)).
41592         (_Unwind_Resume, __gcc_personality_v0): Update callers.
41593         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
41594         * sysdeps/arm/arm-unwind-resume.S: New file.
41595         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
41596         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
41597         * sysdeps/arm/Makefile [$(subdir) = csu]
41598         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
41599         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
41600         Add rt-arm-unwind-resume.
41601         [$(subdir) = nptl]
41602         (libpthread-sysdep_routines, libpthread-shared-only-routines):
41603         Add pt-arm-unwind-resume.
41604         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
41605         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
41607 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41609         [BZ #17748]
41610         * include/fenv.h (__feholdexcept): Declare.  Use
41611         libm_hidden_proto.
41612         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
41613         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
41614         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41615         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
41616         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
41617         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
41618         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
41619         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41620         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
41621         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
41622         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41623         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
41624         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
41625         (feholdexcept): Likewise.
41626         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
41627         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41628         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
41629         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
41630         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
41631         __feholdexcept instead of feholdexcept.
41632         (default_libc_feholdexcept_setround): Likewise.
41634 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41636         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
41637         to avoid using stl/str to align destination.
41639 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41641         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
41643 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41645         [BZ #17796]
41646         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
41647         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
41648         Define as weak alias not strong alias.
41650 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
41652         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
41653         bltzal with addiupc.
41654         (RTLD_START): Ditto.
41656 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
41658         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
41659         for __vdso_* functions in declarations.
41660         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
41661         definitions.
41662         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
41663         INTERNAL_VSYSCALL): Use struct return types to check for error.
41665         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
41666         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
41667         function with cast from llround().
41668         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
41669         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
41670         Define.
41672 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
41674         [BZ #17793]
41675         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
41676         Define as weak alias not strong alias.
41678         [BZ #17635]
41679         * ctype/ctype-c99.c: New file.  isblank implementation moved from
41680         ...
41681         * ctype/ctype-extn.c: ... here.
41682         (__isblank_l): Move to ...
41683         * ctype/ctype-c99_l.c: ... here.  New file.
41684         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
41685         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
41686         Remove variable.
41687         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41688         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41689         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41690         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41691         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41693         [BZ #17777]
41694         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
41695         (posix_fadvise64): Define as weak alias not strong alias.
41696         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41697         (posix_fallocate64): Likewise.
41698         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
41699         Remove variable.
41700         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41701         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41702         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41703         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41704         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41706 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
41708         [BZ #16191]
41709         * NEWS: Mention bug fix.
41710         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
41711         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
41712         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
41713         (HOST_STACK_END_ADDR): Likewise.
41715 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41717         [BZ #17748]
41718         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
41719         * math/fegetround.c (fegetround): Rename to __fegetround and
41720         define as weak alias of __fegetround.  Use libm_hidden_weak.
41721         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
41722         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
41723         * sysdeps/arm/fegetround.c (fegetround): Likewise.
41724         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
41725         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
41726         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
41727         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
41728         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
41729         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
41730         Undefine after rather than before function definition; use
41731         parentheses around function name in definition.
41732         (__fegetround): Also undefine macro after function definition.
41733         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
41734         __fegetround and define as weak alias of __fegetround.  Use
41735         libm_hidden_weak.  Do not undefine as macro.
41736         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
41737         Likewise.
41738         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
41739         __fegetround and define as weak alias of __fegetround.  Use
41740         libm_hidden_weak.
41741         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41742         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
41743         * sysdeps/tile/math_private.h (__fegetround): New inline function.
41744         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
41745         __fegetround and define as weak alias of __fegetround.  Use
41746         libm_hidden_weak.
41747         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
41748         __fegetround instead of fegetround.
41750         [BZ #17782]
41751         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
41752         Condition macro definition on [__USE_MISC].
41754         [BZ #17781]
41755         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
41756         (struct sigaction): Change type of sa_flags field to int.
41758         [BZ #17780]
41759         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
41760         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
41761         __glibc_reserved0.
41763         * nptl/version.c (banner): Use single year in copyright notice.
41765         * NEWS: Update copyright dates.
41766         * catgets/gencat.c (print_version): Likewise.
41767         * csu/version.c (banner): Likewise.
41768         * debug/catchsegv.sh: Likewise.
41769         * debug/pcprofiledump.c (print_version): Likewise.
41770         * debug/xtrace.sh (do_version): Likewise.
41771         * elf/ldconfig.c (print_version): Likewise.
41772         * elf/ldd.bash.in: Likewise.
41773         * elf/pldd.c (print_version): Likewise.
41774         * elf/sotruss.sh: Likewise.
41775         * elf/sprof.c (print_version): Likewise.
41776         * iconv/iconv_prog.c (print_version): Likewise.
41777         * iconv/iconvconfig.c (print_version): Likewise.
41778         * locale/programs/locale.c (print_version): Likewise.
41779         * locale/programs/localedef.c (print_version): Likewise.
41780         * login/programs/pt_chown.c (print_version): Likewise.
41781         * malloc/memusage.sh (do_version): Likewise.
41782         * malloc/memusagestat.c (print_version): Likewise.
41783         * malloc/mtrace.pl: Likewise.
41784         * manual/libc.texinfo: Likewise.
41785         * nptl/version.c (banner): Likewise.
41786         * nscd/nscd.c (print_version): Likewise.
41787         * nss/getent.c (print_version): Likewise.
41788         * nss/makedb.c (print_version): Likewise.
41789         * posix/getconf.c (main): Likewise.
41790         * scripts/test-installation.pl: Likewise.
41791         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
41793 2015-01-02  Will Newton  <will.newton@linaro.org>
41795         * sysdeps/arm/armv7/configure: Removed.
41796         * sysdeps/arm/armv7/configure.ac: Likewise.
41798 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
41800         * All files with FSF copyright notices: Update copyright dates
41801         using scripts/update-copyrights.
41802         * intl/plural.c: Regenerated.
41803         * locale/programs/charmap-kw.h: Likewise.
41804         * locale/programs/locfile-kw.h: Likewise.
41806 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41808         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
41810 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41812         [BZ #17748]
41813         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
41814         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
41815         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41816         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41817         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41818         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
41819         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41820         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
41821         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41822         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41823         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41824         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41825         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41826         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41827         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
41828         libm_hidden_def.
41829         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
41830         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
41831         Likewise.
41832         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
41833         define as weak alias of __fegetenv.  Use libm_hidden_weak.
41834         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41835         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
41836         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
41837         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41838         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
41839         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
41840         __fegetenv instead of fegetenv.
41841         (libc_feholdsetround_noex_ctx): Likewise.
41843 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41845         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
41846         (Elf_MIPS_ABIFlags_v0): New structure.
41847         (EF_MIPS_FP64): Define.
41848         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
41849         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
41850         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
41851         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
41852         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
41853         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
41854         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
41855         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
41856         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
41857         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41858         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41859         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41860         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41861         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41862         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41863         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41864         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41865         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41866         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41867         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41868         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41869         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41870         field.
41871         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41872         EF_MIPS_FP64.
41873         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41874         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41875         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41876         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41877         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41878         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41879         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41880         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41881         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41882         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41883         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41884         record the current FP ABI extension.
41885         (mips-mode-switch): Define to show if kernel headers support mode
41886         switching.
41887         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41888         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41889         supported SYSV ABI version to 3.
41890         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41891         feature.
41893 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41894             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41896         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41897         path.
41898         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41900 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41902         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41903         __fegetround and redefine to call __fegetround.  Remove condition
41904         on [!__NO_MATH_INLINES].
41905         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41906         function.
41907         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41908         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41909         Remove macro.
41910         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41911         instead of <fenv_libc.h>.
41912         (__llrintl): Call fegetround instead of __fegetround.
41913         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41914         instead of <fenv_libc.h>.
41915         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41916         (__lrintl): Call fegetround instead of __fegetround.
41917         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41918         instead of <fenv_libc.h>.
41919         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41920         (__rintl): Call fegetround instead of __fegetround.
41922 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41924         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41925         arrays.
41927 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41929         [BZ #17775]
41930         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41931         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41932         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41934 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41936         * sysdeps/i386/tls-macros.h: Include <features.h>.
41937         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41938         (TLS_IE): Likewise.
41939         (TLS_LD): Likewise.
41940         (TLS_GD): Likewise.
41941         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41942         define for GCC >= 5.0.
41944 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41946         * math/test-fenv.c (test_single_exception, set_single_exc,
41947         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41948         feexcp_mask_test, feenable_test, fe_single_test): Add
41949         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41950         case where they are not used.
41951         * math/libm-test.inc: Likewise.
41952         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41953         unused in the absence of FP rounding/exception support.
41954         * stdio-common/tst-printf-round.c: Likewise.
41955         * stdlib/tst-strtod-round.c: Likewise.
41956         * stdlib/tst-strtod-underflow.c: Likewise.
41958 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41960         [BZ #17723]
41961         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41962         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41963         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41964         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41965         libm_hidden_weak.
41966         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41967         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41968         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41969         libm_hidden_def.
41970         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41971         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41972         libm_hidden_weak.
41973         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41974         Likewise.
41975         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41976         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41977         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41978         libm_hidden_weak.
41979         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41980         libm_hidden_def.
41981         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41982         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41983         (__feraiseexcept): Likewise.
41984         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41985         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41986         libm_hidden_weak.
41987         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41988         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41989         libm_hidden_def.
41990         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41991         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41992         Use libm_hidden_def.
41993         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41994         libm_hidden_def.
41995         (feraiseexcept): Define as weak not strong alias.  Use
41996         libm_hidden_weak.
41997         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41998         New inline function.  Factored out of ...
41999         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
42000         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
42001         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
42002         feraiseexcept.
42003         * math/w_acos.c (__acos): Likewise.
42004         * math/w_asin.c (__asin): Likewise.
42005         * math/w_ilogb.c (__ilogb): Likewise.
42006         * math/w_j0.c (y0): Likewise.
42007         * math/w_j1.c (y1): Likewise.
42008         * math/w_jn.c (yn): Likewise.
42009         * math/w_log.c (__log): Likewise.
42010         * math/w_log10.c (__log10): Likewise.
42011         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
42012         * sysdeps/aarch64/fpu/math_private.h
42013         (libc_feupdateenv_test_aarch64): Likewise.
42014         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
42015         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
42016         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
42017         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
42018         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
42019         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
42020         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
42021         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42022         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42023         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
42025 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
42027         [BZ #17732]
42028         * io/test-utime.c (main): Replace %ld with %jd and cast to
42029         intmax_t.
42030         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
42031         * nptl/tst-mutex5.c: Include <stdint.h>.
42032         (do_test): Replace %ld with %jd and cast to intmax_t.
42033         * posix/tst-regex.c (run_test): Likewise.
42034         (run_test_backwards): Likewise.
42035         * rt/tst-clock.c: Include <stdint.h>.
42036         (clock_test): Replace %ld with %jd and cast to intmax_t.
42037         * rt/tst-cpuclock1.c: Include <stdint.h>.
42038         (do_test): Replace %lu with %ju and cast to uintmax_t.
42039         * rt/tst-cpuclock2.c: Include <stdint.h>.
42040         (do_test): Replace %lu with %ju and cast to uintmax_t.
42041         * rt/tst-mqueue1.c: Include <stdint.h>.
42042         (check_attrs): Replace %ld with %jd and cast to intmax_t.
42043         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
42044         intmax_t.
42045         * rt/tst-mqueue4.c (do_test): Likewise.
42046         * rt/tst-timer4.c: Include <stdint.h>.
42047         (check_ts): Replace %ld with %jd and cast to intmax_t.
42048         (do_test): Likewise.
42049         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
42050         and cast to intmax_t.
42051         * sysdeps/pthread/tst-timer.c (main): Likewise.
42052         * time/clocktest.c (main): Likewise.
42053         * time/tst-posixtz.c (do_test): Likewise.
42054         * timezone/tst-timezone.c (main): Likewise.
42056 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
42057             H.J. Lu  <hongjiu.lu@intel.com>
42059         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
42060         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
42061         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
42062         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
42063         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
42064         version if bit_Fast_Unaligned_Load is set.
42065         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42066         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42067         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42068         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42069         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42070         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42071         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42072         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
42073         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
42074         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
42075         to 4.
42076         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
42077         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
42078         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
42079         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
42081 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
42083         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
42084         instead of #if to avoid a Wundef warning.
42085         * stdlib/tst-limits.c (do_test): Likewise.
42087         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
42088         parallel other exception macros.
42089         (fegetenv): Convert from macro to extern inline so that it applies
42090         retroactively to inline functions already seen by the compiler.
42091         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
42093         * posix/Makefile (before-compile): Use $(objpfx) for
42094         posix-conf-vars-def.h.
42096 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42098         * posix/getconf.c (main): Use size_t for type of I.
42099         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
42100         NSPEC.
42102         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
42103         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
42104         * posix/posix-envs.def: Likewise.
42105         * sysdeps/posix/sysconf.c: Likewise.
42106         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
42107         (specs): Remove array.
42108         * scripts/gen-posix-conf-vars.awk: Support generation of specs
42109         array.
42111         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
42112         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
42113         (__sysconf): Use CONF_IS_* macros.
42115         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
42116         ($(objpfx)posix-conf-vars-def.h): New target.
42117         * posix/posix-conf-vars.list: New file.
42118         * posix/posix-conf-vars.h: New file.
42119         * posix/confstr.c: Include posix-conf-vars.h.
42120         (confstr): Use CONF_IS_* macros.
42121         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
42122         CONF_IS_* macros.
42123         * scripts/gen-posix-conf-vars.awk: New file.
42125 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
42127         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
42128         fegetround): Add no-op macros to avoid linknamespace issues.
42130         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
42131         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
42133         * sysdeps/unix/sysv/linux/tile/sysdep.h
42134         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
42135         assembly-specific section to avoid a redefinition warning.
42137         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
42138         long before casting to pointer to avoid a cast warning.
42140 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
42142         * sysdeps/tile/tilegx/Implies: New file.
42144 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
42146         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
42148 2014-12-23  Florian Weimer  <fweimer@redhat.com>
42150         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
42152 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42154         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
42155         not define.
42156         * sysdeps/unix/sysv/linux/utimes.c: Do not include
42157         <kernel-features.h>.
42158         (__utimes) [__NR_utimes]: Make code unconditional.
42159         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
42160         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42161         (__ASSUME_UTIMES): Do not undefine.
42162         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42163         (__ASSUME_UTIMES): Likewise.
42164         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42165         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
42166         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
42167         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
42169 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42171         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
42173 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
42175         [BZ #17747]
42176         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
42177         alias to weak alias for j0l, y0l.
42178         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
42179         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
42181         [BZ #17746]
42182         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
42183         conversion.
42185 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
42187         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
42188         to zero if not already defined.
42190 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42192         [BZ #17724]
42193         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
42194         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
42195         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
42196         (char *) casts added.
42197         * sysdeps/ieee754/k_standardf.c: New file.
42198         * sysdeps/ieee754/k_standardl.c: Likewise.
42199         * math/Makefile (libm-support): Remove k_standard.
42200         (libm-calls): Add k_standard.
42202 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42204         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42205         Optimize to avoid an unnecessary FPCR read.
42207 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42209         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
42210         Optimize to reduce FPCR/FPSR accesses.
42212 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42214         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
42215         Call libc_fetestexcept_aarch64.
42217 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
42219         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
42220         Call libc_fesetround_aarch64.
42222 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
42224         [BZ #17733]
42225         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
42226         (__bind): Do not define as weak alias.
42227         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
42228         define.
42229         (__getsockname): Do not define as weak alias.
42231 2014-12-22  Will Newton  <will.newton@linaro.org>
42233         * manual/install.texi: Document that we require bison 2.7
42234         or above.
42235         * INSTALL: Regenerate.
42236         * configure.ac: Use AC_CHECK_PROG_VER instead of
42237         AC_PATH_PROG when checking for bison and check for
42238         version 2.7 or above.
42239         * configure: Regenerate.
42241 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
42243         [BZ #17745]
42244         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
42245         * sysdeps/tile/ffsll.c (ffsll): To here.
42247         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
42249 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42251         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
42252         if not defined.
42253         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
42254         definition.
42255         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42256         hidden ___tls_get_addr.
42257         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
42258         hidden __tls_get_addr.
42259         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
42260         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
42261         Likewise.
42263 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
42265         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
42266         _dl_init call.
42268 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
42270         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
42271         from "call _dl_init@PLT".
42272         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
42274 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
42276         * manual/search.texi: (Array Sort Function): Clarify stable sorting
42277         guarantees.
42279 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
42281         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
42283 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42285         [BZ #17744]
42286         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
42287         strnlen.
42289 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42291         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
42292         of multu on MIPSr6.
42293         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
42294         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
42295         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
42296         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
42297         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
42299 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
42301         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
42302         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
42303         (PTR_SUBU): Use subu for mips32r6/mips64r6.
42304         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
42305         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
42306         mips32r6/mips64r6.
42307         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
42309 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
42311         * string/strncat.c (STRNCAT): Simplify implementation.
42313 2014-12-19  David S. Miller  <davem@davemloft.net>
42315         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
42316         access the quad as both a long double and as a series of 4 words.
42318         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
42319         link_map->l_info array access.
42321 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
42323         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
42325         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
42326         * math/atest-exp2.c (TIMEOUT): Likewise.
42327         * math/atest-sincos.c (TIMEOUT): Likewise.
42329 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42331         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
42332         -Wno-error with -fno-builtin-lround.
42334 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42336         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
42337         Contains futex constants and functions moved over from ...
42338         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
42339         <lowlevellock-futex.h>.
42340         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42341         (lll_timedwait_tid): Add comments and parentheses around macro
42342         arguments.
42344 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
42347         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
42348         (__lll_private_flag): Remove.
42349         (lll_futex_wait): Likewise.
42350         (lll_futex_timed_wait): Likewise.
42351         (lll_futex_wake): Likewise.
42352         (lll_futex_requeue): Likewise.
42353         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
42354         (__lll_timedwait_tid): Spell out argument names.
42355         (lll_timedwait_tid): Add comments and parentheses around macro
42356         arguments.
42357         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
42358         LLL_SHARED and LLL_PRIVATE usable from assembly code.
42360 2014-12-19  Torvald Riegel  <triegel@redhat.com>
42362         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
42363         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42364         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42365         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
42366         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
42367         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
42368         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
42369         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
42370         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
42371         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
42372         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
42373         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
42374         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
42375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
42376         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
42377         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
42378         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
42379         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
42380         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
42382 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42384         * sysdeps/x86_64/x32/Makefile: New file.
42386 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
42388         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
42389         1L with (mp_limb_t) 1.
42391 2014-12-17  Roland McGrath  <roland@hack.frob.com>
42393         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
42394         * nptl/libc_pthread_init.c: ... here.
42395         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
42396         * nptl/register-atfork.c: ... here.
42398         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
42399         Use pthread_sigmask rather than INTERNAL_SYSCALL.
42400         Use assert_perror to check its return value.
42401         (__gai_create_helper_thread): Likewise.
42403         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
42405         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
42407 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
42409         [BZ #17725]
42410         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
42411         __profil_counter.
42412         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
42413         Likewise.
42414         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
42415         Likewise.
42416         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
42417         Likewise.
42418         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
42419         (profil_counter): Likewise.
42420         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
42421         (profil_counter): Likewise.
42422         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
42423         Likewise.
42424         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
42425         Likewise.
42426         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
42427         (profil_counter): Likewise.
42428         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
42429         Likewise.
42430         [!__profil_counter] (profil_counter): Define as weak alias of
42431         __profil_counter.
42432         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
42433         (profil_counter): Rename to __profil_counter.
42434         [!__profil_counter] (profil_counter): Define as weak alias of
42435         __profil_counter.
42436         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
42437         (profil_counter): Rename to __profil_counter.
42438         [!__profil_counter] (profil_counter): Define as weak alias of
42439         __profil_counter.
42440         * sysdeps/posix/profil.c: Update comment referring to
42441         profil_counter.
42442         (__profil): Use __profil_counter instead of profil_counter.
42443         * sysdeps/posix/sprofil.c (profil_counter): Rename to
42444         __profil_counter.  Use __profil_counter_ushort and
42445         __profil_counter_uint in definitions.
42446         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
42447         instead of profil_counter_uint and profil_counter_ushort.
42449         [BZ #17722]
42450         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
42451         define as weak alias of __inet_makeaddr.
42452         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
42453         as weak alias of __inet_addr.
42454         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
42455         as weak alias of __inet_pton.  Use libc_hidden_weak.
42456         * include/arpa/inet.h (__inet_pton): Declare.  Use
42457         libc_hidden_proto.
42458         (inet_makeaddr): Don't use libc_hidden_proto.
42459         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
42460         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
42461         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
42462         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
42463         Remove variable.
42464         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
42465         (test-xfail-POSIX/time.h/linknamespace): Likewise.
42467 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
42469         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
42471 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42473         * stdio-common/bug-vfprintf-nargs.c (do_test):
42474         Cast value to intptr_t to avoid format warning
42475         for usage with PRIdPTR printing macro.
42477 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
42479         * libio/tst-widetext.c (do_test):
42480         Use format type %td instead of %Zd for ptrdiff_t
42481         in order to avoid format warning.
42483 2014-12-17  Andreas Schwab  <schwab@suse.de>
42485         * nscd/mem.c (gc): Add size_t cast to match printf format.
42487 2014-12-16  Roland McGrath  <roland@hack.frob.com>
42489         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
42490         (init): Apply PTR_MANGLE to pointers before storing them.
42491         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
42492         before using them.
42494 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
42496         [BZ #17719]
42497         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
42498         define as weak alias of __memrchr.
42499         (__memrchr): Do not define as strong alias of memrchr.
42500         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
42501         Remove variable.
42502         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
42503         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
42504         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
42506         [BZ #17717]
42507         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
42508         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
42509         (if_indextoname): Rename to __if_indextoname and define as weak
42510         alias of __if_indextoname.  Use libc_hidden_weak.
42511         (if_freenameindex): Rename to __if_freenameindex and define as
42512         weak alias of __if_freenameindex.
42513         (if_nameindex): Rename to __if_nameindex and define as weak alias
42514         of __if_nameindex.
42515         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
42516         __if_nametoindex and define as weak alias of __if_nametoindex.
42517         Use libc_hidden_weak.
42518         (if_freenameindex): Rename to __if_freenameindex and define as
42519         weak alias of __if_freenameindex.
42520         (if_nameindex): Rename to __if_nameindex and define as weak alias
42521         of __if_nameindex.
42522         (if_indextoname): Rename to __if_indextoname and define as weak
42523         alias of __if_indextoname.  Use libc_hidden_weak.
42524         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
42525         __if_nametoindex and define as weak alias of __if_nametoindex.
42526         Use libc_hidden_weak.
42527         (if_freenameindex): Rename to __if_freenameindex and define as
42528         weak alias of __if_freenameindex.  Use libc_hidden_weak.
42529         (if_nameindex_netlink): Use __if_freenameindex instead of
42530         if_freenameindex.
42531         (if_nameindex): Rename to __if_nameindex and define as weak alias
42532         of __if_nameindex.  Use libc_hidden_weak.
42533         (if_indextoname): Rename to __if_indextoname and define as weak
42534         alias of __if_indextoname.  Use libc_hidden_weak.
42535         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
42536         libc_hidden_proto.
42537         [!_ISOMAC] (__if_freenameindex): Likewise.
42538         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
42539         if_nametoindex.
42540         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
42541         variable.
42542         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
42543         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
42544         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
42545         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
42546         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
42547         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
42548         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
42550         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
42551         Remove variable.
42552         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
42553         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
42555 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42557         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
42558         subscript above bounds'
42560         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
42561         bounds.
42563 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
42565         * libio/tst-fopenloc.c: Use test-skeleton.c.
42567         * stdlib/tst-bsearch.c: Use test-skeleton.c.
42568         (entry): Rename to ITEM.
42569         (do_test, comp): Adjust.
42571         * stdio-common/tst-fseek.c: Use test-skeleton.c.
42573 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42575         * string/tester.c: Include <libc-internal.h>.
42576         (test_memset): Ignore -Wmemset-transposed-args.
42578 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42580         * misc/tst-mntent2.c (do_test): Fix warning.
42582 2014-12-16  Torvald Riegel  <triegel@redhat.com>
42584         * elf/tst-unique4lib.cc(a): Mark as used.
42586 2014-12-16  Florian Weimer  <fweimer@redhat.com>
42588         [BZ #17630]
42589         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
42590         names.
42592 2014-12-16  Allan McRae  <allan@archlinux.org>
42594         * stdio-common/Makefile (tests): Re-add bug26.
42596 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
42598         [BZ #17657]
42599         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
42600         static array.
42602 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
42604         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
42605         (__lll_lock_wait): Likewise.
42606         (__lll_timedlock_wait): Likewise.
42607         (__lll_timedwait_tid): Likewise.
42608         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
42609         (__lll_robust_timedlock_wait): Likewise.
42610         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
42611         (lll_cond_trylock): Likewise.
42612         (__lll_lock): Likewise.
42613         (__lll_robust_lock): Likewise.
42614         (__lll_cond_lock): Likewise.
42615         (lll_robust_cond_lock): Likewise.
42616         (__lll_timedlock): Likewise.
42617         (__lll_robust_timedlock): Likewise.
42618         (__lll_unlock): Likewise.
42619         (__lll_robust_unlock): Likewise.
42620         (lll_wait_tid): Likewise.
42621         (lll_timedwait_tid): Likewise.
42623 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42625         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
42627 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42629         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
42631 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42633         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
42634         * stdio-common/tst-sprintf.c: Likewise.
42636 2014-12-15  Torvald Riegel  <triegel@redhat.com>
42638         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
42640 2014-12-15  Jeff Law  <law@redhat.com>
42642         [BZ #16617]
42643         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
42644         on the heap.  (CVE-2012-3406)
42645         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
42646         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
42647         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
42649 2014-12-15  Will Newton  <will.newton@linaro.org>
42651         * manual/install.texi: Bump required version of texinfo
42652         to 4.7 from 4.5.
42653         * INSTALL: Regenerated.
42654         * configure.ac: Check for makeinfo version 4.7 and above.
42655         * configure: Regenerated.
42657 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42659         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
42660         PREFIX, string constant to insert between directory and name.
42661         * sysdeps/posix/shm_open.c: Update caller.
42662         * sysdeps/posix/shm_unlink.c: Likewise.
42663         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
42664         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
42665         (SEM_SHM_PREFIX): New macro.
42666         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
42667         [$(have-thread-library) = no].
42668         * nptl/Makefile (libpthread-routines): Add shm-directory.
42669         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
42670         * sysdeps/nptl/shm-directory.h: New file.
42671         * sysdeps/posix/shm-directory.c
42672         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
42673         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
42674         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
42675         INTERNAL_SYSCALL.
42676         (__where_is_shmfs): Function removed.
42677         (mountpoint, defaultmount, defaultdir, __namedsem_once):
42678         Variables removed.
42679         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
42680         Use SHM_GET_NAME.
42681         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
42683         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
42684         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
42685         unconditional for use inside libpthread.
42686         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
42688 2014-12-12  Roland McGrath  <roland@hack.frob.com>
42690         * nptl/pthread_getaffinity.c: New file.
42691         * nptl/pthread_setaffinity.c: New file.
42692         * nptl/pthread_getname.c: New file.
42693         * nptl/pthread_setname.c: New file.
42695         * nptl/pthread_create.c (START_THREAD_DEFN)
42696         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
42698 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42699             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42701         * resolv/res_send.c (send_vc): Disable warning resplen may
42702         be used uninitialized.
42704 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
42706         * nptl/tst-mutex6.c
42707         (ATTR_NULL): New define checks ATTR against NULL.
42708         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
42709         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
42711 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
42713         [BZ #17581]
42714         * malloc/hooks.c
42715         (mem2mem_check): Revert my previous change.
42716         (malloc_check_get_size): Revert my previous change.
42717         (mem2chunk_check): Revert my previous change.
42719 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42721         * sysdeps/posix/shm-directory.c: New file.
42722         * sysdeps/posix/shm-directory.h: New file.
42723         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
42724         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
42725         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
42726         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
42727         Transmute EPERM to EACCES.
42728         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
42729         from ...
42730         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
42731         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
42733 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42735         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
42736         pointer and cast to uintptr_t.
42737         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
42738         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
42739         Add cast to avoid warning.
42740         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
42742 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42744         * nptl/semaphore.h: Move to ...
42745         * sysdeps/pthread/semaphore.h: ... here.
42746         * Makefile (installed-headers): Change nptl/semaphore.h to
42747         sysdeps/pthread/semaphore.h.
42749 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42751         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
42752         generated error format strings.
42754         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
42755         -Wformat-extra-args warnings for scanf formats.
42756         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
42757         test of zero-length format (duh).
42758         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
42759         corner-case scanf format test.
42760         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
42761         generated fprintf format string.
42762         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
42763         corner-case sprintf format tests.
42764         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
42765         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
42766         -Wformat-extra-args warnings throughout.
42767         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
42768         (CFLAGS-scanf4.c): Likewise.
42769         (CFLAGS-scanf7.c): Likewise.
42770         (CFLAGS-tst-sprintf.c): Likewise.
42771         (CFLAGS-tst-printf.c): Likewise.
42772         (CFLAGS-tst-printfsz.c): Likewise.
42774 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
42776         * include/cpio.h: New file.
42777         * include/fmtmsg.h: Likewise.
42779         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
42780         corresponding format argument to size_t.
42781         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
42782         arguments.
42783         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
42784         corresponding format argument to size_t.
42785         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
42786         arguments.
42787         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
42788         corresponding format argument to size_t.
42789         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
42790         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
42791         (CFLAGS-tst-mbswcs2.c): Likewise.
42792         (CFLAGS-tst-mbswcs3.c): Likewise.
42793         (CFLAGS-tst-mbswcs4.c): Likewise.
42794         (CFLAGS-tst-mbswcs5.c): Likewise.
42795         (CFLAGS-tst-trans.c): Likewise.
42797 2014-12-11  Roland McGrath  <roland@hack.frob.com>
42799         * posix/regexbug1.c (main): Use "%s" format with regerror results,
42800         rather than assuming they won't contain any '%'s.
42802 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
42804         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
42805         inhibit_loop_to_libcall to avoid recursive calls.
42806         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
42807         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
42809 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
42811         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
42812         prototype.
42814 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42816         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
42817         integer value instead of boolean.
42819 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
42821         * malloc/malloc.c: Fix powerof2 check.
42823 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42825         * locale/programs/locfile.h (maybe_swap_uint32):
42826         Remove inline and add unused attribute.
42828 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42830         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
42831         Truncating assembler expression to a .long expression.
42833 2014-12-11  Andreas Schwab  <schwab@suse.de>
42835         * elf/rtld.c (struct map_args): Constify str member.
42836         (do_preload): Constify fname argument.
42838 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42840         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
42841         constants definition.
42843 2014-12-11  Andreas Schwab  <schwab@suse.de>
42845         [BZ #16657]
42846         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
42847         FORCE_ELISION instead of DO_ELISION.
42848         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
42849         Remove.
42850         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
42851         Likewise.
42853         * iconvdata/gconv-modules: Remove duplicate entry.
42855 2014-12-11  Will Newton  <will.newton@linaro.org>
42857         Merge gettext 0.19.3 into intl/.
42859         This involves a number of cosmetic changes to comments
42860         and ANSI function definitions and prototypes throughout
42861         all the files. The gettext copyright header is used but
42862         with the date ranges taken from the glibc copy.
42864         * NEWS: Add gettext merge to 2.21.
42865         * intl/bindtextdom.c: Switch to gettext copyright.
42866         Use ANSI definitions and prototypes.
42867         Use gl_* locking primitives rather than __libc_* ones.
42868         Use __builtin_expect rather than __glibc_likely/unlikely.
42869         * intl/dcgettext.c: Switch to gettext copyright.
42870         Use ANSI definitions and prototypes.
42871         * intl/dcigettext.c: Switch to gettext copyright.
42872         Use ANSI definitions and prototypes.
42873         (INTDIV0_RAISES_SIGFPE): New define.
42874         Use gl_* locking primitives rather than __libc_* ones.
42875         Include eval-plural.h instead of plural-eval.c.
42876         Use __builtin_expect rather than __glibc_likely/unlikely.
42877         * intl/dcngettext.c: Switch to gettext copyright.
42878         Use ANSI definitions and prototypes.
42879         * intl/dgettext.c: Likewise.
42880         * intl/dngettext.c: Likewise.
42881         * intl/plural-eval.c: Renamed to...
42882         * intl/eval-plural.h: ...this.
42883         * intl/explodename.c: Switch to gettext copyright.
42884         Use ANSI definitions and prototypes.
42885         (_nl_explode_name): Use strchr instead of __rawmemchr.
42886         * intl/finddomain.c: Switch to gettext copyright.
42887         Use ANSI definitions and prototypes.
42888         Use gl_* locking primitives rather than __libc_* ones.
42889         (_nl_find_domain): Use malloc rather than alloca for
42890         allocation of temporary locale name.
42891         * intl/gettext.c: Switch to gettext copyright.
42892         Use ANSI definitions and prototypes.
42893         * intl/gettextP.h: Switch to gettext copyright.
42894         Use ANSI definitions and prototypes.
42895         Use gl_* locking primitives rather than __libc_* ones.
42896         * intl/gmo.h: Switch to gettext copyright.
42897         (struct sysdep_string): Move struct segment_pair outside of
42898         struct definition.
42899         * intl/hash-string.c: Use ANSI definitions and prototypes.
42900         * intl/hash-string.h: Switch to gettext copyright.
42901         Use ANSI definitions and prototypes.
42902         * intl/l10nflist.c: Switch to gettext copyright.
42903         Use ANSI definitions and prototypes.
42904         (_nl_normalize_codeset): Avoid integer overflow.
42905         * intl/loadinfo.h: Switch to gettext copyright.
42906         Use ANSI definitions and prototypes.
42907         (LIBINTL_DLL_EXPORTED): New define.
42908         (PATH_SEPARATOR): New define.
42909         * intl/loadmsgcat.c: Switch to gettext copyright.
42910         * intl/localealias.c: Switch to gettext copyright.
42911         Use ANSI definitions and prototypes.
42912         (_nl_expand_alias): Use PATH_SEPARATOR.
42913         * intl/ngettext.c: Switch to gettext copyright.
42914         Use ANSI definitions and prototypes.
42915         * intl/plural-exp.c: Likewise.
42916         * intl/plural-exp.h: Switch to gettext copyright.
42917         Use ANSI definitions and prototypes.
42918         (struct expression): Move definition of enum operator outside
42919         of struct definition.
42920         * intl/plural.c: Regenerate.
42921         * intl/plural.y: Switch to gettext copyright.
42922         Use ANSI definitions and prototypes.
42923         Port to bison 3.0.
42924         * intl/textdomain.c: Switch to gettext copyright.
42925         Use ANSI definitions and prototypes.
42926         Use gl_* locking primitives rather than __libc_* ones.
42928 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42930         * debug/warning-nop.c: Add used atrribute.
42932 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42934         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42936         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42937         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42938         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42940 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42941             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42943         [BZ #17634]
42944         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42945         Undefine after defining function.  Define as weak alias of
42946         __wcschr.  Use libc_hidden_weak.
42947         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42948         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42949         (libc_hidden_def): Also define __GI___wcschr alias.
42950         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42951         __wcschr and define as weak alias of __wcschr.
42952         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42953         __wcschr.
42954         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42955         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42956         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42957         libc_hidden_weak.  Do not use libc_hidden_def.
42958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42959         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42960         __GI___wcschr alias.
42961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42962         [IS_IN (libc)] (wcschr): Define as macro expanding to
42963         __redirect_wcschr.
42964         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42965         [IS_IN (libc)] (__wcschr_power6): Likewise.
42966         [IS_IN (libc)] (__wcschr_power7): Likewise.
42967         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42968         instead of wcschr.
42969         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42970         __libc_wcschr.
42971         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42972         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42973         __wcschr and define as weak alias of __wcschr.  Use
42974         libc_hidden_builtin_def.
42975         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42976         as weak alias of __wcschr.  Use libc_hidden_weak.
42977         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42978         wcschr.
42979         * time/era.c (_nl_init_era_entries): Likewise.
42980         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42981         variable.
42982         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42983         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42985 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42987         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42988         format for long int variable.
42990 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42992         [BZ #10672]
42993         * manual/search.texi: (Array Sort Function): Remove claim how to make
42994         qsort stable.
42996 2014-12-10  Andreas Schwab  <schwab@suse.de>
42998         [BZ #12847]
42999         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
43000         user-controlled locks.
43002 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
43004         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
43005         register.
43007 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
43009         * configure.ac (--disable-werror): New configure option.
43010         (enable_werror): New AC_SUBST.
43011         * configure: Regenerated.
43012         * config.make.in (enable-werror): New variable.
43013         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
43014         -Wno-error=undef.
43015         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
43016         * manual/install.texi (Configuring and compiling): Document
43017         --disable-werror.
43018         * INSTALL: Regenerated.
43019         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
43020         (CFLAGS-tst-chk2.c): Likewise.
43021         (CFLAGS-tst-chk3.c): Likewise.
43022         (CFLAGS-tst-chk4.cc): Likewise.
43023         (CFLAGS-tst-chk5.cc): Likewise.
43024         (CFLAGS-tst-chk6.cc): Likewise.
43025         (CFLAGS-tst-lfschk1.c): Likewise.
43026         (CFLAGS-tst-lfschk2.c): Likewise.
43027         (CFLAGS-tst-lfschk3.c): Likewise.
43028         (CFLAGS-tst-lfschk4.cc): Likewise.
43029         (CFLAGS-tst-lfschk5.cc): Likewise.
43030         (CFLAGS-tst-lfschk6.cc): Likewise.
43032         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
43033         (main): Disable -Wdeprecated-declarations around calls to
43034         register_printf_function.
43036         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
43037         (do_test): Disable -Wdiv-by-zero around some calls to
43038         fwrite_unlocked and fread_unlocked.
43040         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
43041         (DIAG_POP_NEEDS_COMMENT): Likewise.
43042         (_DIAG_STR1): Likewise.
43043         (_DIAG_STR): Likewise.
43044         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
43045         * stdio-common/bug21.c: Include <libc-internal.h>.
43046         (do_test): Disable -Wformat around call to sscanf.
43047         * stdio-common/scanf14.c: Include <libc-internal.h>.
43048         (main): Disable -Wformat around some calls to scanf functions.
43050 2014-12-09  Torvald Riegel  <triegel@redhat.com>
43052         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
43054 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43056         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
43057         stack variable alignment.
43059 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
43061         [BZ #17682]
43062         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
43063         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
43064         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
43065         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
43066         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
43067         __getrlimit instead of getrlimit.
43068         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
43069         __gettimeofday instead of gettimeofday.
43070         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
43071         Likewise.
43072         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
43073         Likewise.
43074         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
43075         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
43076         Remove variable.
43077         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43078         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43080 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43082         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
43083         for wide-character tests.
43085 2014-12-04  Roland McGrath  <roland@hack.frob.com>
43087         * io/openat64.c: #include <libc-internal.h>
43088         (__openat64): Prototypify.  Use ignore_value on MODE.
43089         * io/openat.c: Likewise.
43090         * misc/reboot.c: #include <libc-internal.h>
43091         (reboot): Prototypify.  Use ignore_value on HOWTO.
43092         * misc/ptrace.c: #include <libc-internal.h>
43093         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
43095 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
43097         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
43098         XPG4, UNIX98 and XOPEN2K.
43099         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
43100         Remove variable.
43101         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43103 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43105         * libio/fileops.c: Use ISO C style for function definitions.
43106         * libio/iofopen.c: Likewise.
43107         * libio/wfileops.c: Likewise.
43109         [BZ #17653]
43110         * libio/fileops.c (_IO_new_file_underflow): Unset cached
43111         offset on EOF.
43112         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
43113         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
43114         (fgets_func): Function pointer to fgets and fgetws.
43115         (do_ftell_test): Add test to verify ftell value after read
43116         EOF.
43117         (do_test): Set fgets_func.
43119         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
43120         O_TRUNC flag for w and w+ modes.
43121         (do_rewind_test): Likewise.
43122         (do_ftell_test): Likewise.
43123         (do_write_test): Likewise.
43125         [BZ #17647]
43126         * libio/fileops.c (do_ftell): Seek only when there are
43127         unflushed writes.
43128         * libio/wfileops.c (do_ftell_wide): Likewise.
43129         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
43130         test case.
43131         (do_one_test): Call it.
43133 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
43135         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
43136         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
43137         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
43138         Remove variable.
43139         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43140         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43141         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43143 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
43145         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
43146         Remove variable.
43147         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43149         [BZ #17668]
43150         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
43151         as weak alias of __getifaddrs.  Use libc_hidden_weak.
43152         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43153         __freeifaddrs.  Use libc_hidden_weak.
43154         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
43155         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
43156         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43157         __freeifaddrs.  Use libc_hidden_weak.
43158         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
43159         __getifaddrs and define as weak alias of __getifaddrs.  Use
43160         libc_hidden_weak.
43161         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
43162         __freeifaddrs.  Use libc_hidden_weak.
43163         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
43164         Remove variable.
43165         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43166         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43168 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
43170         [BZ #17601]
43171         * sysdeps/mips/start.S (__start): Use indirect jump to call
43172         __libc_start_main.
43174 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
43176         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
43178         * nptl/tst-mutex1.c: Include <stdbool.h>.
43179         [!ATTR] (ATTR_NULL): New macro.
43180         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
43181         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
43182         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
43184         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
43185         to char *.
43187         [BZ #17665]
43188         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
43189         Change conditional to [__USE_MISC].
43191         [BZ #17664]
43192         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
43193         fgets_unlocked.
43194         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
43195         __fgets_unlocked.
43196         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
43197         fgets_unlocked.
43198         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
43199         Remove variable.
43200         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43201         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43202         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43203         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43204         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43205         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43206         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43207         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43208         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43210         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
43212 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43214         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43215         Remove strpbrk objects.
43216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43217         (__libc_ifunc_impl_list): Remove strpbrk implementation.
43218         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
43219         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
43220         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
43221         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
43223         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43224         Remove strcspn objects.
43225         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43226         (__libc_ifunc_impl_list): Remove strcspn implementation.
43227         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
43228         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
43229         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
43230         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
43232         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43233         Remove strspn objetcs.
43234         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43235         (__libc_ifunc_impl_list): Remove strspn implementation.
43236         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
43237         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43238         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
43239         * sysdeps/powerpc/powerpc64/strspn.S: New file.
43241 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
43243         [BZ #17581]
43244         * malloc/hooks.c
43245         (mem2mem_check): Add a terminator to the chain of checking blocks.
43246         (malloc_check_get_size): Use it here.
43247         (mem2chunk_check): Ditto.
43249 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
43251         * sysdeps/powerpc/powerpc64/strtok.S: New file.
43252         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
43254 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
43256         * bits/ioctl-types.h: Indent preprocessor directives correctly.
43258         * nptl/nptl-init.c: Include libc-internal.h.
43259         (__pthread_initialize_minimal_internal): Use ROUND_UP.
43261         * elf/ldconfig.c (search_dir): Expand comment.
43263 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
43265         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
43266         variable.
43267         (linknamespace-symlist-stdlibs-tests): Likewise.
43268         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
43269         instead of $(objpfx)symlist-stdlibs.
43270         (linknamespace-libs-isoc): New variable.
43271         (linknamespace-libs): Use $(linknamespace-libs-isoc).
43272         (linknamespace-libs-ISO): New variable.
43273         (linknamespace-libs-ISO99): Likewise.
43274         (linknamespace-libs-ISO11): Likewise.
43275         (linknamespace-libs-XPG3): Likewise.
43276         (linknamespace-libs-XPG4): Likewise.
43277         (linknamespace-libs-POSIX): Likewise.
43278         (linknamespace-libs-UNIX98): Likewise.
43279         (linknamespace-libs-XOPEN2K): Likewise.
43280         (linknamespace-libs-POSIX2008): Likewise.
43281         (linknamespace-libs-XOPEN2K8): Likewise.
43282         ($(objpfx)symlist-stdlibs): Replace by
43283         $(linknamespace-symlist-stdlibs-tests).  Use
43284         $(linknamespace-libs-$*) as set of libraries.
43285         ($(linknamespace-header-tests)): Update dependencies.  Use
43286         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
43287         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
43288         * conform/linknamespace.pl: Remove comment about considering
43289         definitions of symbols from irrelevant libraries.
43291 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
43293         [BZ #13862]
43294         * elf/dl-tls.c: Include <atomic.h>.
43295         (oom): Remove #ifdef SHARED/#endif.
43296         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
43297         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
43298         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
43299         big enough.
43300         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
43301         * nptl/Makefile (tests): Add tst-stack4.
43302         (modules-names): Add tst-stack4mod.
43303         ($(objpfx)tst-stack4): New.
43304         (tst-stack4mod.sos): Likewise.
43305         ($(objpfx)tst-stack4.out): Likewise.
43306         ($(tst-stack4mod.sos)): Likewise.
43307         (clean): Likewise.
43308         * nptl/tst-stack4.c: New file.
43309         * nptl/tst-stack4mod.c: Likewise.
43311 2014-11-27  J. Brown  <jb999@gmx.de>
43313         * sysdeps/x86/bits/string.h: Add recent CPUs.
43315 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43317         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
43318         sigblock.
43320         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
43321         feof.
43323         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
43324         variable.
43326 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
43328         * nscd/connections.c: Include libc-internal.h because of macro
43329         usage ignore_value.
43331 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43333         * string/bits/string3.h (__warn_memset_zero_len): Don't
43334         declare for gcc newer than 5.0.
43335         (memset): Don't test for zero-length __LEN for gcc newer than
43336         5.0.
43338 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
43340         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
43341         size_t for %zu format.
43343         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
43344         difference, not %ju.
43346 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43348         * include/libc-internal.h (ignore_value): New macro.
43349         * nscd/connections.c (restart): Wrap calls to setuid and setgid
43350         with ignore_value.
43352         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
43353         definition.
43355         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
43356         pthread_cleanup_push to void *.
43358         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
43359         Undefine.
43361         [BZ #16619]
43362         [BZ #16740]
43363         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
43364         instead of 1L << 52.
43366         * libio/bug-rewind.c (do_test): Check fwscanf return values.
43367         * libio/bug-rewind2.c (do_test): Likewise.
43369         * debug/test-stpcpy_chk-ifunc.c: Remove file.
43370         * debug/test-strcpy_chk-ifunc.c: Likewise.
43371         * wcsmbs/test-wcschr-ifunc.c: Likewise.
43372         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
43373         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
43374         * wcsmbs/test-wcslen-ifunc.c: Likewise.
43375         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
43376         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
43377         * Rules [$(multi-arch) = no] (tests): Do not filter out
43378         $(tests-ifunc).
43379         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
43380         * debug/Makefile (tests-ifunc): Remove variable.
43381         (tests): Do not add $(tests-ifunc).
43382         * wcsmbs/Makefile (tests-ifunc): Remove variable.
43383         (tests): Do not add $(tests-ifunc).
43384         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
43385         [TEST_IFUNC]: Remove conditionals.
43386         * string/test-string.h (TEST_IFUNC): Remove macro.
43387         [TEST_IFUNC]: Remove conditionals.
43389         * string/test-strchr.c [!WIDE] (L): New macro.
43390         [WIDE] (L): Likewise.
43391         (check1): Use CHAR instead of char.  Use L on string and character
43392         constants.
43394 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
43396         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
43397         tests.
43398         * sysdeps/powerpc/bits/atomic.h
43399         (__arch_atomic_exchange_and_add_32_acq): Add definition.
43400         (__arch_atomic_exchange_and_add_32_rel): Likewise.
43401         (atomic_exchange_and_add_acq): Likewise.
43402         (atomic_exchange_and_add_rel): Likewise.
43403         * sysdeps/powerpc/powerpc32/bits/atomic.h
43404         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43405         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43406         * sysdeps/powerpc/powerpc64/bits/atomic.h
43407         (__arch_atomic_exchange_and_add_64_acq): Add definition.
43408         (__arch_atomic_exchange_and_add_64_rel): Likewise.
43410 2014-11-26  Torvald Riegel  <triegel@redhat.com>
43412         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
43413         Change synchronization of __sched_fifo_min_prio and
43414         __sched_fifo_max_prio.
43415         * nptl/pthread_mutexattr_getprioceiling.c
43416         (pthread_mutexattr_getprioceiling): Likewise.
43417         * nptl/pthread_mutexattr_setprioceiling.c
43418         (pthread_mutexattr_setprioceiling): Likewise.
43419         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
43420         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
43421         Likewise.
43423 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
43425         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
43426         void.
43428 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43430         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
43431         third argument const.
43433 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
43435         fnmatch: work around GCC compiler warning bug with uninit var
43436         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
43437         This works around a bug with x86-64 GCC 4.9.2 and earlier
43438         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
43439         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
43440         used uninitialized in this function [-Wmaybe-uninitialized]".
43442 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
43444         * posix/bug-regex31.c (main): Return RES not 0.
43446 2014-11-25  Anton Blanchard <anton@samba.org>
43448         * sysdeps/powerpc/bits/atomic.h
43449         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
43451 2014-11-24  Sterling Augustine  <saugustine@google.com>
43453         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
43455 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
43457         [BZ #17608]
43458         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
43460 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
43462         [BZ #17633]
43463         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
43464         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
43465         variable.
43466         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43467         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43469 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43471         * string/strncpy.c (strncpy): Improve performance by using memset.
43473 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
43475         * string/strcpy.c (strcpy):
43476         Improve performance by using strlen and memcpy.
43478 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
43480         * string/strcoll_l.c (get_next_seq): __always_inline.
43481         * string/strcoll_l.c (do_compare): __always_inline.
43483 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43485         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
43486         defined.
43487         * include/mqueue.h: Likewise.
43488         * include/stdlib.h: Likewise.
43490         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
43491         (get_null_defines): Adjust.
43492         * sunrpc/Makefile: Adjust comment.
43493         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
43494         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
43495         (CFLAGS-interp.c): Likewise.
43496         (CFLAGS-ldconfig.c): Likewise.
43497         (CPPFLAGS-.os): Likewise.
43498         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43499         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43500         * extra-modules.mk (extra-modules.mk): Likewise.
43501         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
43502         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
43503         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
43504         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
43505         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
43506         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
43507         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
43508         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
43509         * iconvdata/Makefile (CPPFLAGS): Likewise.
43510         (cpp-srcs-left): Add libof for all iconvdata routines.
43511         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
43512         * include/assert.h: Likewise.
43513         * include/ctype.h: Likewise.
43514         * include/errno.h: Likewise.
43515         * include/libc-symbols.h: Likewise.
43516         * include/math.h: Likewise.
43517         * include/netdb.h: Likewise.
43518         * include/resolv.h: Likewise.
43519         * include/stdio.h: Likewise.
43520         * include/stdlib.h: Likewise.
43521         * include/string.h: Likewise.
43522         * include/sys/stat.h: Likewise.
43523         * include/wctype.h: Likewise.
43524         * intl/l10nflist.c: Likewise.
43525         * libidn/idn-stub.c: Likewise.
43526         * libio/libioP.h: Likewise.
43527         * nptl/libc_multiple_threads.c: Likewise.
43528         * nptl/pthreadP.h: Likewise.
43529         * posix/regex_internal.h: Likewise.
43530         * resolv/res_hconf.c: Likewise.
43531         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
43532         * sysdeps/arm/memmove.S: Likewise.
43533         * sysdeps/arm/sysdep.h: Likewise.
43534         * sysdeps/generic/_itoa.h: Likewise.
43535         * sysdeps/generic/symbol-hacks.h: Likewise.
43536         * sysdeps/gnu/errlist.awk: Likewise.
43537         * sysdeps/gnu/errlist.c: Likewise.
43538         * sysdeps/i386/i586/memcpy.S: Likewise.
43539         * sysdeps/i386/i586/memset.S: Likewise.
43540         * sysdeps/i386/i686/memcpy.S: Likewise.
43541         * sysdeps/i386/i686/memmove.S: Likewise.
43542         * sysdeps/i386/i686/mempcpy.S: Likewise.
43543         * sysdeps/i386/i686/memset.S: Likewise.
43544         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
43545         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
43546         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
43547         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
43548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
43549         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
43550         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
43551         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
43552         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
43553         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
43554         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
43555         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
43556         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
43557         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
43558         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
43559         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
43560         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
43561         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
43562         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
43563         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
43564         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
43565         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
43566         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
43567         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
43568         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
43569         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
43570         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
43571         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
43572         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
43573         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43574         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
43575         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
43576         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
43577         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
43578         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
43579         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43580         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
43581         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
43582         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43583         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43584         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
43585         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
43586         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43587         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43588         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
43589         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
43590         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
43591         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
43592         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
43593         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
43594         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
43595         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
43596         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
43597         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
43598         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
43599         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
43600         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
43601         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
43602         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
43603         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
43604         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
43605         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
43606         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
43607         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43608         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43609         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
43610         * sysdeps/posix/closedir.c: Likewise.
43611         * sysdeps/posix/opendir.c: Likewise.
43612         * sysdeps/posix/readdir.c: Likewise.
43613         * sysdeps/posix/rewinddir.c: Likewise.
43614         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
43615         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
43616         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
43617         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43618         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
43619         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
43620         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
43621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
43622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
43623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
43624         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
43625         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
43626         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
43627         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
43628         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
43629         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
43630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
43631         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
43632         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
43633         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
43634         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
43635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
43636         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
43637         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
43638         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
43639         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
43640         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
43641         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
43642         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
43643         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
43644         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
43645         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
43646         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
43647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
43648         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
43649         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
43650         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
43651         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43652         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
43653         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
43654         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
43655         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
43656         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
43657         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
43658         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
43659         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
43660         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
43661         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
43662         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
43663         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
43664         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
43665         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
43666         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
43667         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
43668         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
43669         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
43670         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
43671         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
43672         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
43673         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
43674         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
43675         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
43676         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
43677         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
43678         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
43679         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
43680         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
43681         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
43682         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
43683         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
43684         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
43685         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
43686         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
43687         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
43688         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
43689         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
43690         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
43691         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
43692         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
43693         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
43694         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
43695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43696         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
43697         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
43698         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
43699         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
43700         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
43701         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
43702         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
43703         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
43704         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
43705         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
43706         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
43707         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43708         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43709         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
43710         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43711         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43712         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
43713         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
43714         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43715         * sysdeps/unix/alpha/sysdep.S: Likewise.
43716         * sysdeps/unix/alpha/sysdep.h: Likewise.
43717         * sysdeps/unix/make-syscalls.sh: Likewise.
43718         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43719         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43720         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43721         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
43722         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43723         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
43724         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
43725         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43726         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43727         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
43728         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43729         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43730         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43731         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43732         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43733         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43734         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43735         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43736         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43737         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43738         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
43739         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43740         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43741         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43742         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43743         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43744         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43747         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
43748         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43749         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43750         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43751         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43752         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
43753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43754         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43755         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43756         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
43757         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
43758         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43759         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43760         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43761         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
43762         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43764         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43765         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
43766         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43768         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43769         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43770         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43771         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43772         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
43773         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43774         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43775         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43776         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
43777         * sysdeps/x86_64/memcpy.S: Likewise.
43778         * sysdeps/x86_64/memmove.c: Likewise.
43779         * sysdeps/x86_64/memset.S: Likewise.
43780         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
43781         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43782         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
43783         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
43784         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
43785         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43786         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43787         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
43788         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
43789         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
43790         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
43791         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
43792         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
43793         * sysdeps/x86_64/multiarch/memset.S: Likewise.
43794         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
43795         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
43796         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
43797         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
43798         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43799         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
43800         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
43801         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
43802         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43803         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43804         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
43805         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
43806         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
43807         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
43808         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
43809         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
43810         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
43811         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
43812         * sysdeps/x86_64/strcmp.S: Likewise.
43814         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
43816         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
43817         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
43818         * elf/rtld-Rules: Likewise.
43819         * elf/setup-vdso.h: Likewise.
43820         * include/assert.h: Likewise.
43821         * include/bits/stdlib-float.h: Likewise.
43822         * include/errno.h: Likewise.
43823         * include/sys/stat.h: Likewise.
43824         * include/unistd.h: Likewise.
43825         * sysdeps/aarch64/setjmp.S: Likewise.
43826         * sysdeps/alpha/setjmp.S: Likewise.
43827         * sysdeps/arm/__longjmp.S: Likewise.
43828         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
43829         * sysdeps/arm/setjmp.S: Likewise.
43830         * sysdeps/arm/sysdep.h: Likewise.
43831         * sysdeps/generic/_itoa.h: Likewise.
43832         * sysdeps/generic/dl-sysdep.h: Likewise.
43833         * sysdeps/generic/ldsodefs.h: Likewise.
43834         * sysdeps/i386/dl-tls.h: Likewise.
43835         * sysdeps/i386/setjmp.S: Likewise.
43836         * sysdeps/m68k/setjmp.c: Likewise.
43837         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
43838         * sysdeps/mach/hurd/opendir.c: Likewise.
43839         * sysdeps/posix/getcwd.c: Likewise.
43840         * sysdeps/posix/opendir.c: Likewise.
43841         * sysdeps/posix/profil.c: Likewise.
43842         * sysdeps/powerpc/dl-procinfo.h: Likewise.
43843         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43844         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
43845         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43846         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43847         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
43848         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43849         * sysdeps/s390/dl-tls.h: Likewise.
43850         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43851         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43852         * sysdeps/sh/sh3/setjmp.S: Likewise.
43853         * sysdeps/sh/sh4/setjmp.S: Likewise.
43854         * sysdeps/unix/alpha/sysdep.h: Likewise.
43855         * sysdeps/unix/arm/sysdep.S: Likewise.
43856         * sysdeps/unix/i386/sysdep.S: Likewise.
43857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43858         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43859         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43860         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43861         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43862         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43863         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43864         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43865         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43866         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43867         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43869         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43872         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43873         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43874         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43875         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43876         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43877         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43878         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43879         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43880         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43881         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43882         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43884         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43885         * sysdeps/x86_64/setjmp.S: Likewise.
43887         * include/math.h: Use IS_IN instead of IS_IN_libm.
43888         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43889         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43890         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43891         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43892         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43896         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43899         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43900         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43903         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43907         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43908         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43909         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43910         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43911         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43912         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43913         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43914         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43915         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43916         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43917         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43918         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43919         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43920         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43922         Likewise.
43923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43924         Likewise.
43925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43926         Likewise.
43927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43928         Likewise.
43929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43930         Likewise.
43931         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43932         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43933         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43934         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43935         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43936         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43938         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43939         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43941         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43942         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43943         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43944         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43945         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43946         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43947         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43948         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43949         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43950         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43951         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43952         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43953         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43954         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43955         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43956         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43957         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43959         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43960         * nptl/pthreadP.h: Likewise.
43961         * nptl_db/structs.def: Likewise.
43962         * sysdeps/arm/sysdep.h: Likewise.
43963         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43964         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43965         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43966         * sysdeps/unix/alpha/sysdep.h: Likewise.
43967         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43969         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43970         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43971         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43972         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43973         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43974         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43975         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43976         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43977         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43978         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43979         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43980         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43983         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43984         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43985         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43986         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43988         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43989         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43990         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43991         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43992         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43994         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43995         * nptl/pthreadP.h: Likewise.
43996         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43997         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43998         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43999         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
44000         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
44001         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
44002         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
44003         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
44004         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
44005         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
44006         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
44007         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
44008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
44009         Likewise.
44010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
44011         Likewise.
44012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
44013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
44014         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
44015         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
44016         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
44017         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
44018         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
44019         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
44021         * dlfcn/dladdr.c: Use IS_IN.
44022         * dlfcn/dladdr1.c: Likewise.
44023         * dlfcn/dlclose.c: Likewise.
44024         * dlfcn/dlerror.c: Likewise.
44025         * dlfcn/dlinfo.c: Likewise.
44026         * dlfcn/dlmopen.c: Likewise.
44027         * dlfcn/dlopen.c: Likewise.
44028         * dlfcn/dlsym.c: Likewise.
44029         * dlfcn/dlvsym.c: Likewise.
44031         * include/ifaddrs.h: Use IS_IN.
44032         * inet/check_pf.c: Likewise.
44033         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
44034         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
44036         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
44037         IS_IN_ldconfig.
44038         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
44039         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
44041         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
44042         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
44043         IS_IN (libc).
44045         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
44047         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
44048         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
44049         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
44050         * include/libc-symbols.h (IS_IN_LIB): New macro.
44051         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
44052         * include/netdb.h: Likewise.
44053         * include/stap-probe.h: Remove all uses of IN_LIB.
44055         * Makeconfig (module-cppflags-real): Define MODULE_NAME
44056         instead of IN_MODULE.
44057         * include/libc-symbols.h (IN_MODULE): Define using
44058         MODULE_NAME.
44059         (PASTE_NAME, PASTE_NAME1): New macros.
44060         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
44061         of IN_LIB.
44062         (STAP_PROBE_ASM): Likewise.
44064 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44066         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
44067         __mach_init in dlopened libc.
44069 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
44071         * sysdeps/arm/preconfigure.ac: Delete EABI check.
44072         * sysdeps/arm/preconfigure: Regenerate.
44074 2014-11-21  Roland McGrath  <roland@hack.frob.com>
44076         * nptl/pthread_create.c (__pthread_create_2_1): Set
44077         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
44078         when copying values from IATTR into PD.
44080 2014-11-21  Will Newton  <will.newton@linaro.org>
44081             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
44083         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
44084         Refactor inline-asm.  Also add comment.
44086         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
44087         ElfW macro instead of hardcoded Elf64 types.
44088         (la_aarch64_gnu_pltenter): Likewise.
44089         * sysdeps/aarch64/dl-machine.h
44090         (elf_machine_runtime_setup): Use ElfW(Addr).
44092         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
44093         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
44094         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
44095         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
44096         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
44097         (R_AARCH64_TLS_DTPMOD64): Rename to ..
44098         (R_AARCH64_TLS_DTPMOD): This.
44099         (R_AARCH64_TLS_DTPREL64): Rename to ...
44100         (R_AARCH64_TLS_DTPREL): This.
44101         (R_AARCH64_TLS_TPREL64): Rename to ...
44102         (R_AARCH64_TLS_TPREL): This.
44103         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
44104         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
44105         R_AARCH64_TLS_TPREL64.
44106         (elf_machine_rela): Likewise.
44108 2014-11-21  Torvald Riegel  <triegel@redhat.com>
44110         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
44111         by setting it to 0.  64b atomics are not supported currently.
44113 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44115         [BZ #16469]
44116         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
44117         search domain names.
44119 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44121         [BZ #16469]
44122         * NEWS: Update.
44123         * resolv/res_query.c (__libc_res_nquerydomain): Retain
44124         trailing dot.
44125         * posix/tst-getaddrinfo5.c: New.
44126         * posix/Makefile (tests): Add it.
44128 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44130         [BZ #14498]
44131         * NEWS: Fixed.
44132         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
44133         after parsing line but before break_if_match.
44134         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
44135         if there is a protocol mismatch.
44137 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
44139         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
44140         because the potential race is on the user-supplied stream.
44142 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44144         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
44145         string literal if not passed a buffer.
44146         * manual/job.texi (ctermid): Update reasoning, note deviation
44147         from posix, suggest mtasurace when not passed a buffer, for
44148         future non-preliminary safety notes.
44150 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44152         * manual/users.texi (cuserid): Fix MT-Safety note for the case
44153         of not passing it a buffer.
44154         Reported by Peng Haitao.
44156 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
44158         * manual/Makefile ($(objpfx)stamp-summary): Require
44159         check-safety.sh to pass.
44160         * manual/check-safety.sh: Wish for verification that every
44161         @deftypefn and @deftypefun is followed by a @safety remark.
44163 2014-11-20  Roland McGrath  <roland@hack.frob.com>
44165         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
44167         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
44168         PTHREAD_CANCEL_ASYNCHRONOUS.
44169         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
44170         send SIGCANCEL.
44172         * nptl/default-sched.h: New file.
44173         * sysdeps/unix/sysv/linux/default-sched.h: New file.
44174         * nptl/pthread_create.c: Include it.
44175         (__pthread_create_2_1): Use collect_default_sched instead of making
44176         Linux syscalls here directly.
44178 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44180         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
44181         __pthread_once): Use C11 atomics.
44183 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44185         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
44187 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44189         * include/atomic.h (__atomic_link_error, __atomic_check_size,
44190         atomic_thread_fence_acquire, atomic_thread_fence_release,
44191         atomic_thread_fence_seq_cst, atomic_load_relaxed,
44192         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
44193         atomic_compare_exchange_weak_relaxed,
44194         atomic_compare_exchange_weak_acquire,
44195         atomic_compare_exchange_weak_release,
44196         atomic_exchange_acquire, atomic_exchange_release,
44197         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
44198         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
44199         atomic_fetch_and_acquire,
44200         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
44202 2014-11-20  Torvald Riegel  <triegel@redhat.com>
44204         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
44205         USE_ATOMIC_COMPILER_BUILTINS): Define.
44206         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
44207         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44208         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
44209         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44210         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
44211         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44212         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
44213         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44214         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
44215         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44216         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
44217         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44218         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
44219         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44220         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
44221         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44222         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44223         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44224         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44225         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44226         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
44227         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44228         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
44229         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44230         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
44231         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44232         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
44233         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44234         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
44235         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44236         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
44237         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44238         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
44239         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44240         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
44241         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44242         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
44243         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44244         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
44245         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
44247 2014-11-19  Roland McGrath  <roland@hack.frob.com>
44249         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
44250         the sched_priority value here.  It was already checked when the user
44251         called pthread_attr_setschedparam.
44253         * nptl/tst-bad-schedattr.c: New file.
44254         * nptl/Makefile (tests): Add it.
44256 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
44257             Florian Weimer  <fweimer@redhat.com>
44258             Joseph Myers  <joseph@codesourcery.com>
44259             Adam Conrad  <adconrad@0c3.net>
44260             Andreas Schwab  <schwab@suse.de>
44261             Brooks  <bmoses@google.com>
44263         [BZ #17625]
44264         * wordexp-test.c (__dso_handle): Add prototype.
44265         (__register_atfork): Likewise.
44266         (__app_register_atfork): New function.
44267         (registered_forks): New global.
44268         (register_fork): New function.
44269         (test_case): Add 3 new tests for WRDE_CMDSUB.
44270         (main): Call __app_register_atfork.
44271         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
44272         fork count is non-zero fail the test.
44273         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
44274         is set.
44275         (parse_dollars): Remove check for WRDE_NOCMD.
44276         (parse_dquote): Likewise.
44278 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
44280         * Makeconfig (built-modules): List non-library modules to be
44281         built.
44282         (module-cppflags): Include libc-modules.h for
44283         everything except shlib-versions.v.i.
44284         (CPPFLAGS): Use it.
44285         (before-compile): Add libc-modules.h.
44286         ($(common-objpfx)libc-modules.h,
44287         $(common-objpfx)libc-modules.stmp): New targets.
44288         (common-generated): Add libc-modules.h and libc-modules.stmp.
44289         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
44290         * include/libc-symbols.h: Don't include libc-modules.h.
44291         * include/libc-modules.h: Remove file.
44292         * scripts/gen-libc-modules.awk: New script to generate
44293         libc-modules.h.
44294         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
44295         Depend on libc-modules.stmp.
44297         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
44299         * Makeconfig (in-module): Get value of libof set for the
44300         translation unit.
44301         (CPPFLAGS): Use $(in-module).
44302         * Makerules: Don't suffix routine names for nonlib.
44303         * include/libc-modules.h: New file.
44304         * include/libc-symbols.h: Include libc-modules.h
44305         (IS_IN): New macro to replace IS_IN_* macros.
44306         * elf/Makefile: Set libof-* for each routine.
44307         * elf/rtld-Rules: Likewise.
44308         * extra-modules.mk: Likewise.
44309         * iconv/Makefile: Likewise.
44310         * iconvdata/Makefile: Likewise.
44311         * locale/Makefile: Likewise.
44312         * malloc/Makefile: Likewise.
44313         * nss/Makefile: Likewise.
44314         * sysdeps/gnu/Makefile: Likewise.
44315         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
44316         * sysdeps/unix/sysv/linux/Makefile: Likewise.
44317         * sysdeps/s390/s390-64/Makefile: Likewise.
44318         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
44319         CPPFLAGS for nscd instead of nonlib.
44321 2014-11-18  Roland McGrath  <roland@hack.frob.com>
44323         * nptl/createthread.c: New file.
44325         * nptl/createthread.c: Moved ...
44326         * sysdeps/unix/sysv/linux/createthread.c: ... here.
44328         * nptl/createthread.c: Add proper top-line comment.
44329         (do_clone): Folded into ...
44330         (create_thread): ... here.  Take new arguments STOPPED_START and
44331         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
44332         increment __nptl_threads, do event-reporting logic, do
44333         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
44334         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
44335         resource cleanup if sched_setaffinity or sched_setscheduler fails,
44336         just send SIGCANCEL.
44337         * nptl/pthread_create.c: Forward-declare create_thread before
44338         including createthread.c.
44339         (start_thread): Use new macro START_THREAD_DEFN to replace defining
44340         declaration, and new macro START_THREAD_SELF to replace argument.
44341         Remove return statement.
44342         (report_thread_creation): New function.
44343         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
44344         synchronization logic, and __nptl_nthreads increment here, around
44345         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
44346         PD->parent_cancelhandling here, before create_thread.  When
44347         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
44348         __deallocate_stack, and ENOMEM translation here.
44350 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
44352         [BZ #17616]
44353         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
44354         (mptwo): Rename to __mptwo.
44355         (__inv): Use __mptwo instead of mptwo.
44356         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
44357         (mptwo): Rename to __mptwo.
44358         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
44359         of mpone and __mptwo instead of mptwo.
44360         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
44361         instead of mpone.
44362         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
44363         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
44364         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
44365         of mpone and __mptwo instead of mptwo.
44366         (__mpranred): Use __mpone instead of mpone.
44367         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
44368         variable.
44369         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44370         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44371         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44372         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44373         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44374         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44375         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44376         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44377         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44378         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44379         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44380         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44381         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44382         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44383         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44384         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44385         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44386         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44387         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44389 2014-11-18  Tom de Vries  <tom@codesoucery.com>
44391         * manual/signal.texi (Primitives Interrupted by Signals): In section,
44392         replace BSD Handler xref with BSD Signal Handling.
44394 2014-11-17  Richard Henderson  <rth@redhat.com>
44396         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
44397         (_FP_PACK_RAW_2): Remove.
44398         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
44399         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
44400         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
44401         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
44402         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
44403         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
44404         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
44405         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
44406         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
44407         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
44408         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
44409         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
44410         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
44411         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
44412         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
44413         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
44415 2014-11-14  Roland McGrath  <roland@hack.frob.com>
44417         * signal/signal.h [__USE_MISC]
44418         (struct sigvec): Remove type.
44419         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
44420         (sigvec): Remove declaration.
44421         * sysdeps/posix/sigvec.c: Moved ...
44422         * signal/sigvec.c: ... here, replacing old file.
44423         (struct sigvec): New type, copied from old signal.h definition.
44424         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
44425         (__sigvec): Convert definition to prototype.
44426         (sigvec): Replace weak_alias with compat_symbol.
44427         * signal/Versions (libc: GLIBC_2.21): New version set.
44428         * include/signal.h: Remove __sigvec declaration.
44429         * sysdeps/unix/bsd/sigvec.c: Remove file.
44430         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
44431         * manual/signal.texi (BSD Handler): Remove subsection.
44432         Move siginterrupt up to ...
44433         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
44434         (Blocking in BSD): Fold subsection into its parent.
44435         * NEWS: Mention sigvec removal.
44437 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44439         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
44440         (DLA_FMS): Make definition conditional only on [__FMA4__].
44441         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
44442         definition.
44444         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
44445         Make definition conditional only on [PROF].
44446         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
44447         definition.
44448         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
44449         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
44451         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
44452         !__GNUC__].
44453         * include/signal.h (__sigpause): Move declaration above call to
44454         libc_hidden_proto.
44455         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
44456         variable.
44457         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44458         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44460 2014-11-14  David S. Miller  <davem@davemloft.net>
44462         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
44463         Define before including <string/memcpy.c> and <string/mempcpy.c>.
44465 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
44467         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
44468         * configure: Regenerated.
44469         * manual/install.texi (Tools for Compilation): Document a
44470         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
44471         compiler verified to work.
44472         * INSTALL: Regenerated.
44474         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
44475         redeclare with asm name.
44476         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
44477         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
44478         including <string.h>.
44479         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44480         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
44481         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44482         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
44483         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44484         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
44485         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
44487 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
44489         * stdlib/strtol.c (__strtol): Use prototype definition.
44491         [BZ #17594]
44492         * stdlib/strtol.c (SYM__): New macro.
44493         (SYM__1): Likewise.
44494         (__strtol): Likewise.
44495         (strtol): Rename to __strtol and define as weak alias of
44496         __strtol.  Use libc_hidden_weak.
44498 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44500         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
44501         Use numbered labels in inline assembly.
44503 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44505         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
44506         Add setjmp LIBC_PROBE.
44507         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
44508         Likewise.
44509         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
44510         Add longjmp, longjmp_target LIBC_PROBE.
44511         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
44512         Likewise.
44514 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44516         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
44517         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
44518         to get rid of unused variable warning.
44520 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
44522         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
44523         Check for unwind_backtrace ==  NULL only in SHARED case.
44524         (__backchain_backtrace): Compile only in SHARED case.
44525         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
44526         Likewise.
44527         (__backchain_backtrace): Declare as static.
44529 2014-11-12  Roland McGrath  <roland@hack.frob.com>
44531         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
44532         (__libc_multiple_threads_ptr): Variable moved ...
44533         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
44535 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
44537         * conform/GlibcConform.pm: New file.
44538         * conform/conformtest.pl: Use GlibcConform module.
44539         * conform/linknamespace.pl: New file.
44540         * conform/list-header-symbols.pl: Likewise.
44541         * conform/Makefile (linknamespace-symlists-base): New variable.
44542         (linknamespace-symlists-tests): Likewise.
44543         (linknamespace-header-base): Likewise.
44544         (linknamespace-header-tests): Likewise.
44545         (tests-special): Add new tests.
44546         ($(linknamespace-symlists-tests)): New rule.
44547         (linknamespace-libs): New variable.
44548         ($(objpfx)symlist-stdlibs): New rule.
44549         ($(linknamespace-header-tests)): Likewise.
44550         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
44551         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
44552         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
44553         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
44554         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
44555         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
44556         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
44557         (test-xfail-ISO/math.h/linknamespace): Likewise.
44558         (test-xfail-ISO/signal.h/linknamespace): Likewise.
44559         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
44560         (test-xfail-ISO/time.h/linknamespace): Likewise.
44561         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
44562         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
44563         (test-xfail-ISO99/math.h/linknamespace): Likewise.
44564         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
44565         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
44566         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
44567         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
44568         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
44569         (test-xfail-ISO11/math.h/linknamespace): Likewise.
44570         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
44571         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
44572         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
44573         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
44574         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
44575         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
44576         (test-xfail-XPG3/math.h/linknamespace): Likewise.
44577         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
44578         (test-xfail-XPG3/search.h/linknamespace): Likewise.
44579         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
44580         (test-xfail-XPG3/time.h/linknamespace): Likewise.
44581         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
44582         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
44583         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
44584         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
44585         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
44586         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
44587         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
44588         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
44589         (test-xfail-XPG4/math.h/linknamespace): Likewise.
44590         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
44591         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
44592         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
44593         (test-xfail-XPG4/search.h/linknamespace): Likewise.
44594         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
44595         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
44596         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
44597         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
44598         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
44599         (test-xfail-XPG4/time.h/linknamespace): Likewise.
44600         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
44601         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
44602         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
44603         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
44604         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
44605         (test-xfail-POSIX/math.h/linknamespace): Likewise.
44606         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
44607         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
44608         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
44609         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
44610         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
44611         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
44612         (test-xfail-POSIX/time.h/linknamespace): Likewise.
44613         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
44614         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
44615         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
44616         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
44617         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
44618         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
44619         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
44620         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
44621         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
44622         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
44623         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
44624         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
44625         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
44626         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
44627         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
44628         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
44629         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
44630         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
44631         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
44632         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
44633         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
44634         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
44635         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
44636         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
44637         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
44638         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
44639         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
44640         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
44641         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
44642         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
44643         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
44644         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
44645         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
44646         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
44647         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
44648         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
44649         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
44650         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
44651         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
44652         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
44653         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
44654         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
44655         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
44656         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
44657         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
44658         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
44659         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
44660         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
44661         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
44662         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
44663         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
44664         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
44665         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
44666         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
44667         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
44668         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
44669         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
44670         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
44671         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
44672         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
44673         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
44674         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
44675         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
44676         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
44677         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
44678         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
44679         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
44680         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
44681         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
44682         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
44683         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
44684         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
44685         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
44686         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
44687         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
44688         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
44689         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
44690         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
44691         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
44692         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
44693         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
44694         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
44695         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
44696         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
44697         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
44698         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
44699         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
44700         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
44701         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
44702         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
44703         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
44704         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
44705         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
44706         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
44707         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
44708         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
44709         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
44710         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
44712         [BZ #17589]
44713         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
44714         of fgets_unlocked.
44716         [BZ #17585]
44717         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
44718         (memmem): Rename to __memmem and define as weak alias of
44719         __memmem.  Use libc_hidden_weak.
44720         (__memmem): Use libc_hidden_def.
44721         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
44722         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
44723         memmem.
44725         [BZ #17582]
44726         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
44727         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
44728         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
44729         and define as weak alias of __fgets_unlocked.  Use
44730         libc_hidden_weak.
44731         (__fgets_unlocked): Use libc_hidden_def.
44732         * include/stdio.h (__fgets_unlocked): Declare.  Use
44733         libc_hidden_proto.
44734         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
44735         __fgets_unlocked instead of fgets_unlocked.
44736         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
44737         (GET_NPROCS_CONF_PARSER): Likewise.
44738         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
44739         (GET_NPROCS_CONF_PARSER): Likewise.
44741         [BZ #17574]
44742         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
44743         weak alias of __wmemset.  Use libc_hidden_weak.
44744         (__wmemset): Use libc_hidden_def.
44745         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
44746         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
44747         of wmemset.
44749         [BZ #17573]
44750         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
44751         with asm name __mempcpy.
44752         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
44754         [BZ #17572]
44755         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
44756         and define as weak alias of __rawmemchr.
44757         (__rawmemchr): Do not define as strong alias of rawmemchr.
44759         [BZ #17571]
44760         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
44761         alias of __qsort_r.
44762         (qsort): Call __qsort_r instead of qsort_r.
44763         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
44764         (__qsort_r): Declare.  Call libc_hidden_proto.
44765         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
44766         instead of qsort_r.
44767         * nscd/gai.c (__qsort_r): Define to qsort_r.
44768         * posix/tst-rfc3484.c (__qsort_r): Likewise.
44769         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
44770         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
44772         [BZ #17570]
44773         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
44774         define as weak alias of __malloc_info.
44776         [BZ #17584]
44777         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
44778         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44779         (__rewinddir): Use libc_hidden_def.
44780         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
44781         as weak alias of __rewinddir.  Don't use libc_hidden_def.
44782         (__rewinddir): Use libc_hidden_def.
44783         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
44784         weak alias of __rewinddir.  Don't use libc_hidden_def.
44785         (__rewinddir): Use libc_hidden_def.
44786         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
44787         (__rewinddir): Use libc_hidden_proto.
44788         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
44789         rewinddir.
44790         (__getcwd): Use __rewinddir instead of rewinddir.
44792         [BZ #17583]
44793         * libio/fileno.c (fileno): Rename to __fileno and define as weak
44794         alias of __fileno.  Use libc_hidden_weak.
44795         (__fileno): Use libc_hidden_def.
44796         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
44797         * libio/ftello.c (ftello): Rename to __ftello and define as weak
44798         alias of __ftello.
44799         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
44800         __ftello.
44801         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
44802         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
44803         libc_hidden_def.
44804         (fread_unlocked): Don't use libc_hidden_ver.
44805         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
44806         and define as weak alias of __fread_unlocked.  Don't use
44807         libc_hidden_def.
44808         (__fread_unlocked): Use libc_hidden_def.
44809         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
44810         (ftello): Don't use libc_hidden_proto.
44811         (__ftello): Declare.  Use libc_hidden_proto.
44812         (fread_unlocked): Don't use libc_hidden_proto.
44813         (__fread_unlocked): Declare.  Use libc_hidden_proto.
44814         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
44815         and __ftello instead of fileno, fread_unlocked and ftello.
44817 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44819         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
44820         GOT12.
44821         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
44822         Likewise.
44823         (_dl_start_user): Likewise.
44824         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
44826 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
44827             Siddhesh Poyarekar  <siddhesh@redhat.com>
44829         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
44830         Move argv and envp down instead of moving argc up.
44831         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
44833 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
44835         [BZ #17506]
44836         * test-skeleton.c (main): Return successful if one of
44837         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
44838         * string/tst-strcoll-overflow.c: Define expected status.
44840 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
44842         [BZ #17475]
44843         * locale/iso-639.def: Define Bhili and Tulu language codes.
44845 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
44847         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
44849 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
44851         [BZ #17555]
44852         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
44854 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
44856         * configure.ac: Updated check of minimal required version to
44857         2.22.
44858         * manual/install.texi (Tools for Compilation): Updated version
44859         number.
44860         * configure: Regenerated.
44861         * INSTALL: Likewise.
44863 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44865         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44866         __tls_get_addr.
44868 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44870         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44871         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44872         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44873         libc_hidden_weak.
44874         (waitpid): Define as alias of __waitpid.
44875         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44876         __waitpid.
44877         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44878         libc_hidden_weak.
44879         (waitpid): Define as alias of __waitpid.
44880         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44881         __libc_waitpid alias.
44882         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44883         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44884         Likewise.
44885         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44886         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44887         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44888         alias.
44889         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44890         __waitpid.
44891         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44892         libc_hidden_weak.
44893         (waitpid): Define as alias of __waitpid.
44895 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44897         * manual/llio.texi: Add comment that write safety has been
44898         fixed in Linux.
44900         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44901         (localplt-build-dso): Add elf/ld.so.
44902         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44903         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44904         and free for ld.so.
44905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44906         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44908         Likewise.
44909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44910         Likewise.
44911         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44912         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44913         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44914         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44915         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44916         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44917         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44918         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44919         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44920         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44921         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44923 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44925         [BZ #14132]
44926         * include/libc-symbols.h (INTUSE): Remove macro.
44927         (INTDEF): Likewise.
44928         (INTVARDEF): Likewise.
44929         (_INTVARDEF): Likewise.
44930         (INTDEF2): Likewise.
44931         (INTVARDEF2): Likewise.
44932         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44933         rtld_hidden_def instead of INTVARDEF.
44934         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44935         (_dl_starting_up_internal): Remove declaration.
44936         (_dl_starting_up): Use rtld_hidden_proto.
44937         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44938         declaration.
44939         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44940         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44941         _dl_starting_up.
44942         * elf/dl-writev.h (_dl_writev): Likewise.
44943         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44944         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44945         _dl_starting_up_internal.
44947 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44949         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44950         test-skeleton.c.
44952 2014-11-05  Will Newton  <will.newton@linaro.org>
44954         * benchtests/Makefile: (bench-malloc): Add malloc thread
44955         scalability benchmark.
44956         * benchtests/bench-malloc-threads.c: New file.
44958 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44960         * sysdeps/aarch64/strchrnul.S: New file.
44962 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44964         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44965         definition.
44966         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44967         Likewise.
44968         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44969         Likewise.
44970         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44971         Likewise.
44972         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44973         Likewise.
44974         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44975         Likewise.
44977 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44979         * catgets/test-gencat.c: Use test-skeleton.c.
44980         * catgets/tst-catgets.c: Likewise.
44981         * csu/tst-empty.c: Likewise.
44982         * elf/tst-audit2.c: Likewise.
44983         * elf/tst-global1.c: Likewise.
44984         * elf/tst-pathopt.c: Likewise.
44985         * elf/tst-piemod1.c: Likewise.
44986         * elf/tst-tls10.c: Likewise.
44987         * elf/tst-tls11.c: Likewise.
44988         * elf/tst-tls12.c: Likewise.
44989         * gnulib/tst-gcc.c: Likewise.
44990         * iconvdata/tst-e2big.c: Likewise.
44991         * iconvdata/tst-loading.c: Likewise.
44992         * iconv/tst-iconv1.c: Likewise.
44993         * iconv/tst-iconv2.c: Likewise.
44994         * inet/test-inet6_opt.c: Likewise.
44995         * inet/tst-gethnm.c: Likewise.
44996         * inet/tst-network.c: Likewise.
44997         * inet/tst-ntoa.c: Likewise.
44998         * intl/tst-codeset.c: Likewise.
44999         * intl/tst-gettext2.c: Likewise.
45000         * intl/tst-gettext3.c: Likewise.
45001         * intl/tst-ngettext.c: Likewise.
45002         * intl/tst-translit.c: Likewise.
45003         * io/test-stat.c: Likewise.
45004         * libio/test-fmemopen.c: Likewise.
45005         * libio/tst-freopen.c: Likewise.
45006         * libio/tst-sscanf.c: Likewise.
45007         * libio/tst-ungetwc1.c: Likewise.
45008         * libio/tst-ungetwc2.c: Likewise.
45009         * libio/tst-widetext.c: Likewise.
45010         * localedata/tst-ctype.c: Likewise.
45011         * localedata/tst-digits.c: Likewise.
45012         * localedata/tst-leaks.c: Likewise.
45013         * localedata/tst-mbswcs1.c: Likewise.
45014         * localedata/tst-mbswcs2.c: Likewise.
45015         * localedata/tst-mbswcs3.c: Likewise.
45016         * localedata/tst-mbswcs4.c: Likewise.
45017         * localedata/tst-mbswcs5.c: Likewise.
45018         * localedata/tst-setlocale.c: Likewise.
45019         * localedata/tst-trans.c: Likewise.
45020         * localedata/tst-wctype.c: Likewise.
45021         * localedata/tst-xlocale1.c: Likewise.
45022         * login/tst-grantpt.c: Likewise.
45023         * malloc/tst-calloc.c: Likewise.
45024         * malloc/tst-malloc.c: Likewise.
45025         * malloc/tst-mallocstate.c: Likewise.
45026         * malloc/tst-mcheck.c: Likewise.
45027         * malloc/tst-mtrace.c: Likewise.
45028         * malloc/tst-obstack.c: Likewise.
45029         * math/atest-exp2.c: Likewise.
45030         * math/atest-exp.c: Likewise.
45031         * math/atest-sincos.c: Likewise.
45032         * math/test-matherr.c: Likewise.
45033         * math/test-misc.c: Likewise.
45034         * math/test-powl.c: Likewise.
45035         * math/tst-definitions.c: Likewise.
45036         * misc/tst-dirname.c: Likewise.
45037         * misc/tst-efgcvt.c: Likewise.
45038         * misc/tst-fdset.c: Likewise.
45039         * misc/tst-hsearch.c: Likewise.
45040         * misc/tst-mntent2.c: Likewise.
45041         * nptl/tst-sem7.c: Likewise.
45042         * nptl/tst-sem8.c: Likewise.
45043         * nptl/tst-sem9.c: Likewise.
45044         * nss/test-netdb.c: Likewise.
45045         * posix/tst-fnmatch.c: Likewise.
45046         * posix/tst-getlogin.c: Likewise.
45047         * posix/tst-gnuglob.c: Likewise.
45048         * posix/tst-mmap.c: Likewise.
45049         * pwd/tst-getpw.c: Likewise.
45050         * resolv/tst-inet_ntop.c: Likewise.
45051         * rt/tst-timer.c: Likewise.
45052         * stdio-common/test-fseek.c: Likewise.
45053         * stdio-common/test-popen.c: Likewise.
45054         * stdio-common/test-vfprintf.c: Likewise.
45055         * stdio-common/tst-cookie.c: Likewise.
45056         * stdio-common/tst-fileno.c: Likewise.
45057         * stdio-common/tst-gets.c: Likewise.
45058         * stdio-common/tst-obprintf.c: Likewise.
45059         * stdio-common/tst-perror.c: Likewise.
45060         * stdio-common/tst-sprintf2.c: Likewise.
45061         * stdio-common/tst-sprintf3.c: Likewise.
45062         * stdio-common/tst-sprintf.c: Likewise.
45063         * stdio-common/tst-swprintf.c: Likewise.
45064         * stdio-common/tst-tmpnam.c: Likewise.
45065         * stdio-common/tst-unbputc.c: Likewise.
45066         * stdio-common/tst-wc-printf.c: Likewise.
45067         * stdlib/tst-environ.c: Likewise.
45068         * stdlib/tst-fmtmsg.c: Likewise.
45069         * stdlib/tst-limits.c: Likewise.
45070         * stdlib/tst-rand48-2.c: Likewise.
45071         * stdlib/tst-rand48.c: Likewise.
45072         * stdlib/tst-random2.c: Likewise.
45073         * stdlib/tst-random.c: Likewise.
45074         * stdlib/tst-strtol.c: Likewise.
45075         * stdlib/tst-strtoll.c: Likewise.
45076         * stdlib/tst-tls-atexit.c: Likewise.
45077         * stdlib/tst-xpg-basename.c: Likewise.
45078         * string/test-ffs.c: Likewise.
45079         * string/tst-bswap.c: Likewise.
45080         * string/tst-inlcall.c: Likewise.
45081         * string/tst-strtok.c: Likewise.
45082         * string/tst-strxfrm.c: Likewise.
45083         * sysdeps/x86_64/tst-audit10.c: Likewise.
45084         * sysdeps/x86_64/tst-audit3.c: Likewise.
45085         * sysdeps/x86_64/tst-audit4.c: Likewise.
45086         * sysdeps/x86_64/tst-audit5.c: Likewise.
45087         * time/tst-ftime_l.c: Likewise.
45088         * time/tst-getdate.c: Likewise.
45089         * time/tst-mktime3.c: Likewise.
45090         * time/tst-mktime.c: Likewise.
45091         * time/tst-posixtz.c: Likewise.
45092         * time/tst-strptime2.c: Likewise.
45093         * time/tst-strptime3.c: Likewise.
45094         * wcsmbs/tst-btowc.c: Likewise.
45095         * wcsmbs/tst-mbrtowc.c: Likewise.
45096         * wcsmbs/tst-mbsrtowcs.c: Likewise.
45097         * wcsmbs/tst-wchar-h.c: Likewise.
45098         * wcsmbs/tst-wcpncpy.c: Likewise.
45099         * wcsmbs/tst-wcrtomb.c: Likewise.
45100         * wcsmbs/tst-wcsnlen.c: Likewise.
45101         * wcsmbs/tst-wcstof.c: Likewise.
45103 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
45105         [BZ #14132]
45106         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
45107         INTDEF.
45108         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
45109         declaration.
45110         (_dl_mcount): Use rtld_hidden_proto.
45111         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
45112         _dl_mcount.
45113         * elf/rtld.c (_rtld_global_ro): Likewise.
45115         [BZ #14132]
45116         * elf/dl-init.c (_dl_init): Don't use INTDEF.
45117         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
45118         of _dl_init_internal.
45119         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
45120         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
45121         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
45122         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
45123         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
45124         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
45125         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
45126         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
45127         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
45128         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
45129         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
45130         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
45131         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45132         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45133         * sysdeps/tile/dl-start.S (_start): Likewise.
45134         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
45135         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
45137         [BZ #14132]
45138         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
45139         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
45140         (rtld_progname): Make macro definition unconditional.
45141         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
45142         INTDEF.
45143         (dlmopen_doit): Do not use INTUSE with _dl_argv.
45144         (dl_main): Likewise.
45145         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
45146         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
45147         instead of _dl_argv_internal.
45148         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
45149         __GI__dl_argv instead of INTUSE(_dl_argv).
45150         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
45151         __GI__dl_argv instead of _dl_argv_internal.
45153         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
45154         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
45155         macro.
45156         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
45157         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
45158         New macro.
45159         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
45160         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
45161         macro.
45162         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
45163         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
45165 2014-11-04  Andreas Schwab  <schwab@suse.de>
45167         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
45169 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45171         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
45172         mtvsrd instruction in binary form.
45174 2014-11-03  Andreas Schwab  <schwab@suse.de>
45176         [BZ #17522]
45177         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
45178         for less than MB_LEN_MAX use a local buffer of that size.
45179         * libio/tst-fputws.c: New file.
45180         * libio/Makefile (tests): Add tst-fputws.
45182 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
45184         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
45185         the size of the fpu_fr.fpu_dregs[] array.
45187 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
45189         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
45190         (__nanosleep): Do not define as alias.
45191         (nanosleep): Define as alias of __nanosleep.
45192         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
45193         __libc_nanosleep name.
45195 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45197         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
45198         install.texi in comment.
45200 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45202         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
45203         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
45204         ... add here and use lwsync or sync ...
45205         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
45206         ... and add here using lwsync.
45208 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
45210         * elf/dl-machine-reject-phdr.h: New file.
45211         * elf/dl-load.c: #include that.
45212         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
45213         if that returned true.
45215 2014-10-31  Roland McGrath  <roland@hack.frob.com>
45217         [BZ #17496]
45218         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
45219         gen-as-const-headers chunk.  Add a big scare comment after the last
45220         safe place to touch before-compile.
45222 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
45224         * manual/install.texi (Tools for Compilation): Update autoconf
45225         version requirements.
45226         * INSTALL: Regenerated.
45228         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
45229         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
45230         (__libc_pselect): Likewise.
45232         [BZ #14138]
45233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
45234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45238 2014-10-31  Torvald Riegel  <triegel@redhat.com>
45240         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
45241         correct barrier instruction.
45242         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
45243         Likewise.
45244         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
45245         Likewise.
45247 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45249         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
45250         after defining inlines.  Instead, just use parens to defeat macro
45251         expansion of __isctype in its declaration.
45253 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45255         * include/sys/uio.h (__libc_readv): Remove declaration.
45256         (__libc_writev): Likewise.
45257         * misc/readv.c (__libc_readv): Rename to __readv.
45258         (__readv): Do not define as alias.
45259         (readv): Define as alias of __readv.
45260         * misc/writev.c (__libc_writev): Rename to __writev.
45261         (__writev): Do not define as alias.
45262         (writev): Define as alias of __writev.
45263         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
45264         (__readv): Do not define as alias.
45265         (readv): Define unconditionally as alias of __readv.
45266         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
45267         (__writev): Do not define as alias.
45268         (writev): Define unconditionally as alias of __writev.
45269         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
45270         name.
45271         (writev): Do not define __libc_writev name.
45273 2014-10-30  Roland McGrath  <roland@hack.frob.com>
45275         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
45276         (convert_charseq): New function, broken out of ...
45277         (use_from_charmap): ... here.  Call it.
45278         (use_to_charmap): Use convert_charseq and free instead of duplicating
45279         its code with a variable-length stack struct.
45281 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
45283         * include/fcntl.h (__libc_creat): Remove declaration.
45284         * io/creat.c (__libc_creat): Rename to creat.
45285         (creat): Do not define as alias.
45286         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
45287         of creat instead of __libc_creat.
45288         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
45289         to creat.
45290         (creat): Do not define as alias.
45291         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
45292         __libc_creat.
45293         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
45294         __libc_creat name.
45295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
45296         Likewise.
45298 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
45300         * manual/llio.texi: Add comments discussing why write() may be
45301         considered MT-unsafe on Linux.
45303 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
45305         * dl-load.c (local_strdup): Remove.
45306         (expand_dynamic_string_token): Use __strdup.
45307         (decompose_rpath): Likewise.
45308         (_dl_map_object): Likewise.
45310 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
45312         [BZ #14132]
45313         * sysdeps/generic/unwind-dw2-fde.c
45314         (__register_frame_info_bases_internal): Do not declare.
45315         (__register_frame_info_table_bases_internal): Likewise.
45316         (__deregister_frame_info_bases_internal): Likewise.
45317         (__register_frame_info_bases): Declare and use hidden_proto before
45318         definition.  Use hidden_def instead of INTDEF.
45319         (__register_frame_info_table_bases): Likewise.
45320         (__deregister_frame_info_bases): Likewise.
45321         (__register_frame_info): Do not use INTUSE.
45322         (__register_frame): Likewise.
45323         (__register_frame_info_table): Likewise.
45324         (__register_frame_table): Likewise.
45325         (__deregister_frame_info): Likewise.
45326         (__deregister_frame): Likewise.
45328 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
45330         * sysdeps/unix/sysv/linux/arm/kernel-features.h
45331         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
45332         not undefine.
45333         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
45334         Likewise.
45335         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
45336         Likewise.
45338 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
45340         [BZ #14138]
45341         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
45342         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
45343         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
45344         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
45345         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
45346         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
45347         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
45348         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
45349         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
45350         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
45351         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
45352         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
45353         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
45354         syscall.
45355         (setfsuid): Likewise.
45356         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
45357         (setfsuid): Likewise.
45358         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
45359         (setfsuid): Likewise.
45360         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
45361         Likewise.
45362         (setfsuid): Likewise.
45363         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
45364         (setfsuid): Likewise.
45365         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
45366         Likewise.
45367         (setfsuid): Likewise.
45369 2014-10-27  Andreas Schwab  <schwab@suse.de>
45371         [BZ #17501]
45372         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
45373         check for Slow_SSE4_2 feature bit.
45374         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
45375         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
45376         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
45377         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
45379 2014-10-24  Roland McGrath  <roland@hack.frob.com>
45381         * configure.ac: Validate compiler version with a empirical test of
45382         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
45383         $CC -v output.
45384         * configure: Regenerated.
45386         * inet/htons.c (htons): Prototypify.
45387         * inet/htonl.c (htonl): Likewise.
45389 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45391         * string/strncat.c (strncat): Improve performance by using strlen.
45393 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45395         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
45397 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45399         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
45400         Call libc_fetestexcept_aarch64.
45402 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45404         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
45405         Call libc_feholdexcept_aarch64.
45407 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45409         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
45410         Call get_rounding_mode.
45412 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45414         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
45415         Simplify logic.
45417 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
45419         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
45420         Simplify logic.
45422 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
45424         [BZ #14138]
45425         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
45426         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
45427         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
45428         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
45429         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
45430         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
45431         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
45432         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
45433         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
45434         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
45435         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
45436         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
45437         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
45438         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
45439         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
45440         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
45441         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
45442         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
45443         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
45444         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
45445         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
45446         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
45447         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
45448         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
45449         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
45450         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
45451         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
45452         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
45453         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
45454         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
45455         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
45456         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
45457         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
45458         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
45459         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
45460         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
45461         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
45462         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
45463         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
45464         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
45465         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
45466         syscall.
45467         (geteuid): Likewise.
45468         (getgid): Likewise.
45469         (getuid): Likewise.
45470         (getresgid): Likewise.
45471         (getresuid): Likewise.
45472         (getgroups): Likewise.
45473         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
45474         (geteuid): Likewise.
45475         (getgid): Likewise.
45476         (getuid): Likewise.
45477         (getresgid): Likewise.
45478         (getresuid): Likewise.
45479         (getgroups): Likewise.
45480         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
45481         (geteuid): Likewise.
45482         (getgid): Likewise.
45483         (getuid): Likewise.
45484         (getresgid): Likewise.
45485         (getresuid): Likewise.
45486         (getgroups): Likewise.
45487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
45488         Likewise.
45489         (geteuid): Likewise.
45490         (getgid): Likewise.
45491         (getuid): Likewise.
45492         (getresgid): Likewise.
45493         (getresuid): Likewise.
45494         (getgroups): Likewise.
45495         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
45496         (geteuid): Likewise.
45497         (getgid): Likewise.
45498         (getuid): Likewise.
45499         (getresgid): Likewise.
45500         (getresuid): Likewise.
45501         (getgroups): Likewise.
45502         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
45503         Likewise.
45504         (geteuid): Likewise.
45505         (getgid): Likewise.
45506         (getuid): Likewise.
45507         (getgroups): Likewise.
45509         [BZ #14138]
45510         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
45511         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
45512         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
45513         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
45514         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
45515         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
45516         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
45517         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
45518         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
45519         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
45520         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
45521         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
45522         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
45523         __chown.
45524         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
45525         (lchown): Likewise.
45526         (fchown): Likewise.
45527         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
45528         Likewise.
45529         (lchown): Likewise.
45530         (fchown): Likewise.
45531         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
45532         (lchown): Likewise.
45533         (fchown): Likewise.
45534         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
45535         Likewise.
45536         (lchown): Likewise.
45537         (fchown): Likewise.
45539 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45541         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
45542         Simplify logic.
45544 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45546         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45547         Cleanup logic.
45549 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45551         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
45552         Remove unused include.
45554 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
45556         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
45557         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
45558         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
45559         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
45561 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
45562             Helge Deller <deller@gmx.de>
45564         [BZ #17508]
45565         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
45566         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
45567         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
45569 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
45571         [BZ #14132]
45572         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
45573         Remove macro definition.
45574         (__ashrdi3_v_glibc20): Likewise.
45575         (__lshrdi3_v_glibc20): Likewise.
45576         (__cmpdi2_v_glibc20): Likewise.
45577         (__ucmpdi2_v_glibc20): Likewise.
45578         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
45579         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
45580         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
45581         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
45582         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
45583         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
45585 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45587         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
45588         old GNU extension [0] syntax.
45589         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
45590         alloca rather than an array member with variable length.
45591         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
45592         * nscd/nscd.c (invalidate_db): New function, broken out of ...
45593         (parse_opt): ... here.  Likewise use alloca there.
45594         Validate the -i argument before checking for rootness.
45595         (send_shutdown): New function, broken out of ...
45596         (parse_opt): ... here.
45598 2014-10-22  Roland McGrath  <roland@hack.frob.com>
45600         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
45601         macro to get at the _rt_local_ro field.
45602         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
45603         ([PIC] case) or _dl_hwcap ([!PIC] case).
45604         * sysdeps/arm/setjmp.S: Likewise.
45606         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
45607         * sysdeps/arm/configure.ac: New check to define it.
45608         * sysdeps/arm/configure: Regenerated.
45609         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
45610         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
45611         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
45612         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
45613         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
45614         Use move/movt pair instead of a load.
45615         (LDST_GLOBAL): Macro removed.
45616         (LDR_GLOBAL): New macro replaces it.
45617         (LDR_HIDDEN): New macro.
45618         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
45619         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
45621         * setjmp/tst-setjmp-static.c: New file.
45622         * setjmp/Makefile (tests): Add it.
45623         (tests-static): New variable.
45625 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
45627         [BZ #17485]
45628         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
45630 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
45632         [BZ #14132]
45633         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
45635 2014-10-21  Roland McGrath  <roland@hack.frob.com>
45637         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
45639 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45641         * io/fts.c (dirent_not_directory): New function.
45642         (fts_build): Call it.
45644 2014-10-20  Roland McGrath  <roland@hack.frob.com>
45646         * nptl/version.c (__nptl_main): Use normal __write rather than
45647         INTERNAL_SYSCALL.
45648         (banner): Update copyright years.
45650         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
45651         gettimeofday.
45652         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
45653         * nptl/pthread_cond_timedwait.c: Likewise.
45654         * nptl/pthread_mutex_timedlock.c: Likewise.
45655         * nptl/sem_timedwait.c: Likewise.
45657         * sysdeps/nptl/bits/libc-lock.h
45658         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
45659         (__libc_lock_init_recursive): Return void, not 0.
45660         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
45661         (__libc_rwlock_init): Likewise.
45662         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
45664 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45666         [BZ #15215]
45667         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
45668         (__pthread_once_slow): ... here.
45669         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
45670         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
45672 2014-10-20  Torvald Riegel  <triegel@redhat.com>
45674         [BZ #15215]
45675         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
45676         __PTHREAD_ONCE_FORK_GEN_INCR): New.
45677         * sysdeps/nptl/fork.c (__libc_fork): Use them.
45678         * nptl/pthread_once.c (__pthread_once): Likewise.
45679         Update comments.
45681 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
45683         [BZ #14138]
45684         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
45685         name.
45686         (writev): Use __libc_writev as strong name.
45687         * sysdeps/unix/sysv/linux/readv.c: Remove file.
45688         * sysdeps/unix/sysv/linux/writev.c: Likewise.
45690 2014-10-17  Roland McGrath  <roland@hack.frob.com>
45692         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
45694         * sysdeps/i386/nptl/tls.h
45695         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
45696         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
45697         New macros.
45698         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
45699         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
45700         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
45701         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
45702         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
45703         Call CHECK_THREAD_SYSINFO instead of doing an assert.
45705         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
45706         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
45707         on [__NR_futex].
45708         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
45709         broken out of ...
45710         (__pthread_mutex_init): ... here.  Call it.
45711         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
45712         Conditionalize PI cases on [__NR_futex].
45713         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
45714         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
45715         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
45717         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
45718         conditional on [SIGSETXID].
45719         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
45720         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
45721         is defined.  Likewise for SIGSETXID.
45722         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
45723         Conditionalize definitions on [SIGSETXID].
45724         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
45725         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
45726         unblocking on [SIGCANCEL].
45728         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
45729         [__NR_set_robust_list].
45731 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
45733         * string/strcoll_l.c (get_next_seq): Fix up formatting.
45734         (do_compare): Likewise.
45736 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
45738         [BZ #15884]
45739         * string/strcoll_l.c: Don't include stdio.h.
45740         (coll_seq): Remove members idxarr and rulearr.
45741         (get_next_seq_cached): Remove function.
45742         (get_next_seq): Likewise.
45743         (get_next_seq_nocache): Rename to get_next_seq.
45744         (do_compare): Remove function.
45745         (do_compare_nocache): Rename to do_compare.
45746         (STRCOLL): Remove weight and rules cache.
45748 2014-10-16  Roland McGrath  <roland@hack.frob.com>
45750         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
45751         * sysdeps/arm/sfp-machine.h: ... to here.
45752         * sysdeps/arm/Implies: Remove arm/soft-fp.
45754 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
45756         * conform/data/sys/utsname.h-data (*_t): Allow.
45757         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
45758         [POSIX] (WEXITED): Do not expect constant.
45759         [POSIX] (WSTOPPED): Likewise.
45760         [POSIX] (WNOHANG): Likewise.
45761         [POSIX] (WNOWAIT): Likewise.
45762         [POSIX] (siginfo_t): Do not expect type or elements.
45763         [POSIX] (pid_t): Do not expect type.
45764         [POSIX] (signal.h): Do not allow header.
45765         [POSIX] (sys/resource.h): Likewise.
45766         [POSIX] (si_*): Do not allow pattern.
45767         [POSIX] (W*): Likewise.
45768         [POSIX] (P_*): Likewise.
45769         [POSIX] (BUS_*): Likewise.
45770         [POSIX] (CLD_*): Likewise.
45771         [POSIX] (FPE_*): Likewise.
45772         [POSIX] (ILL_*): Likewise.
45773         [POSIX] (POLL_*): Likewise.
45774         [POSIX] (SEGV_*): Likewise.
45775         [POSIX] (SI_*): Likewise.
45776         [POSIX] (TRAP_*): Likewise.
45777         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
45778         variable.
45780 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
45782         [BZ #12926]
45783         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
45784         infinite loop when __recvmsg returns 0.
45786 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
45788         * CANCEL-FCT-WAIVE: Remove file.
45789         * CANCEL-FILE-WAIVE: Likewise.
45791         [BZ #14132]
45792         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
45793         instead of INTVARDEF.
45794         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45795         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
45796         rtld_hidden_data_def instead of INTVARDEF.
45797         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
45798         * elf/dl-deps.c (expand_dst): Likewise.
45799         * elf/dl-load.c (_dl_dst_count): Likewise.
45800         (_dl_dst_substitute): Likewise.
45801         (decompose_rpath): Likewise.
45802         (_dl_init_paths): Likewise.
45803         (open_path): Likewise.
45804         (_dl_map_object): Likewise.
45805         * elf/rtld.c (dl_main): Likewise.
45806         (process_dl_audit): Likewise.
45807         (process_envvars): Likewise.
45808         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
45809         Remove declaration.
45810         (__libc_enable_secure): Use rtld_hidden_proto.
45812 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45814         * elf/dl-load.c
45815         (add_path): New function broken out of _dl_rtld_di_serinfo.
45816         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
45818 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45820         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
45821         parentheses around macro arguments.
45822         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
45823         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
45824         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
45825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
45826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
45827         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45828         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
45830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
45831         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
45832         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
45833         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
45834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
45835         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
45836         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
45837         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
45838         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
45839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
45840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
45841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
45842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
45843         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
45844         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
45845         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
45846         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
45847         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
45848         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
45849         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
45850         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
45851         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
45852         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
45853         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
45854         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
45855         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
45856         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
45857         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45858         Likewise.
45859         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45860         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45861         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45862         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45863         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45864         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45865         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45866         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45867         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45868         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45869         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45870         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45871         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45872         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45873         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45874         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45875         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45876         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45877         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45878         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45879         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45880         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45881         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45882         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45883         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45884         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45885         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45886         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45887         (_FP_FRAC_SRS_1): Likewise.
45888         (_FP_FRAC_CLZ_1): Likewise.
45889         (_FP_MUL_MEAT_1_imm): Likewise.
45890         (_FP_MUL_MEAT_1_wide): Likewise.
45891         (_FP_MUL_MEAT_1_hard): Likewise.
45892         (_FP_SQRT_MEAT_1): Likewise.
45893         (_FP_FRAC_ASSEMBLE_1): Likewise.
45894         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45895         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45896         (__FP_CLZ_2): Likewise.
45897         (_FP_MUL_MEAT_2_wide): Likewise.
45898         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45899         (_FP_MUL_MEAT_2_gmp): Likewise.
45900         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45901         (_FP_SQRT_MEAT_2): Likewise.
45902         (_FP_FRAC_ASSEMBLE_2): Likewise.
45903         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45904         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45905         (_FP_FRAC_CLZ_4): Likewise.
45906         (_FP_MUL_MEAT_4_wide): Likewise.
45907         (_FP_MUL_MEAT_4_gmp): Likewise.
45908         (_FP_SQRT_MEAT_4): Likewise.
45909         (_FP_FRAC_ASSEMBLE_4): Likewise.
45910         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45911         * soft-fp/op-common.h (_FP_CMP): Likewise.
45912         (_FP_CMP_EQ): Likewise.
45913         (_FP_CMP_UNORD): Likewise.
45914         (_FP_TO_INT): Likewise.
45915         (_FP_FROM_INT): Likewise.
45916         [!__FP_CLZ] (__FP_CLZ): Likewise.
45917         (_FP_DIV_HELP_imm): Likewise.
45918         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45919         Likewise.
45920         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45921         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45922         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45923         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45924         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45925         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45926         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45927         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45928         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45929         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45930         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45931         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45932         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45933         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45934         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45935         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45936         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45937         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45938         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45939         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45940         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45941         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45942         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45943         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45944         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45945         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45946         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45947         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45948         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45949         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45950         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45951         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45952         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45953         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45954         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45955         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45956         (FP_UNPACK_RAW_SP): Likewise.
45957         (FP_PACK_RAW_S): Likewise.
45958         (FP_PACK_RAW_SP): Likewise.
45959         (FP_UNPACK_S): Likewise.
45960         (FP_UNPACK_SP): Likewise.
45961         (FP_UNPACK_SEMIRAW_S): Likewise.
45962         (FP_UNPACK_SEMIRAW_SP): Likewise.
45963         (FP_PACK_S): Likewise.
45964         (FP_PACK_SP): Likewise.
45965         (FP_PACK_SEMIRAW_S): Likewise.
45966         (FP_PACK_SEMIRAW_SP): Likewise.
45967         (_FP_SQRT_MEAT_S): Likewise.
45968         (FP_CMP_S): Likewise.
45969         (FP_CMP_EQ_S): Likewise.
45970         (FP_CMP_UNORD_S): Likewise.
45971         (FP_TO_INT_S): Likewise.
45972         (FP_FROM_INT_S): Likewise.
45974         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45976         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45977         (FP_EX_INVALID_IMZ): Likewise.
45978         (FP_EX_INVALID_IMZ_FMA): Likewise.
45979         (FP_EX_INVALID_ISI): Likewise.
45980         (FP_EX_INVALID_ZDZ): Likewise.
45981         (FP_EX_INVALID_IDI): Likewise.
45982         (FP_EX_INVALID_SQRT): Likewise.
45983         (FP_EX_INVALID_CVI): Likewise.
45984         (FP_EX_INVALID_VC): Likewise.
45985         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45986         "invalid" exceptions.
45987         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45988         (_FP_ADD_INTERNAL): Likewise.
45989         (_FP_MUL): Likewise.
45990         (_FP_FMA): Likewise.
45991         (_FP_DIV): Likewise.
45992         (_FP_CMP_CHECK_NAN): Likewise.
45993         (_FP_SQRT): Likewise.
45994         (_FP_TO_INT): Likewise.
45995         (FP_EXTEND): Likewise.
45997 2014-10-09  Allan McRae  <allan@archlinux.org>
45999         * po/fr.po: Update French translation from translation project.
46001 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
46003         [BZ #14132]
46004         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
46005         of INTDEF.
46006         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
46007         (__cxa_atexit): Use libc_hidden_proto.
46008         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
46010         [BZ #14132]
46011         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
46012         declaration.
46013         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
46014         [!_ISOMAC] (__iswspace_l_internal): Likewise.
46015         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
46016         [!_ISOMAC] (__iswctype_internal): Likewise.
46017         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
46018         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
46019         alias.
46020         (fcntl): Remove __fcntl_internal alias.
46021         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
46022         __connect_internal alias.
46023         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
46024         Likewise.
46026         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
46027         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
46028         FP_DENORM_ZERO.
46029         (_FP_CHECK_FLUSH_ZERO): New macro.
46030         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
46031         (_FP_CMP): Likewise.
46032         (_FP_CMP_EQ): Likewise.
46033         (_FP_TO_INT): Do not set inexact for subnormal arguments if
46034         FP_DENORM_ZERO.
46035         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
46036         (FP_TRUNC): Likewise.
46038         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
46039         treated as invalid conversion, not as normal exponent.
46041         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
46042         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
46043         (_FP_CMP_EQ): Likewise.
46044         (_FP_CMP_UNORD): Likewise.
46045         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
46046         (FP_CMP_EQ_D): Likewise.
46047         (FP_CMP_UNORD_D): Likewise.
46048         * soft-fp/extended.h (FP_CMP_E): Likewise.
46049         (FP_CMP_EQ_E): Likewise.
46050         (FP_CMP_UNORD_E): Likewise.
46051         * soft-fp/quad.h (FP_CMP_Q): Likewise.
46052         (FP_CMP_EQ_Q): Likewise.
46053         (FP_CMP_UNORD_Q): Likewise.
46054         * soft-fp/single.h (FP_CMP_S): Likewise.
46055         (FP_CMP_EQ_S): Likewise.
46056         (FP_CMP_UNORD_S): Likewise.
46057         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
46058         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
46059         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
46060         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
46061         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
46062         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
46063         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
46064         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
46065         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
46066         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
46067         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
46068         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
46069         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
46070         to FP_CMP_Q.
46071         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
46072         FP_CMP_Q.
46073         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
46074         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
46075         FP_CMP_EQ_Q.
46076         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
46077         FP_CMP_Q.
46078         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
46079         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
46080         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
46081         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
46082         FP_CMP_EQ_Q.
46083         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
46084         FP_CMP_Q.
46085         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
46086         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
46087         FP_CMP_EQ_Q.
46088         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
46089         FP_CMP_Q.
46090         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
46091         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
46092         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
46093         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
46094         FP_CMP_EQ_Q.
46096         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
46097         a subnormal result, set the underflow exception if trapping on
46098         underflow is enabled.
46099         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
46100         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
46101         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
46102         redefine to 0.
46103         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
46104         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46105         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
46106         * soft-fp/extendxftf2.c (__extendxftf2): Use
46107         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
46109         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
46110         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
46111         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46112         FP_HANDLE_EXCEPTIONS.
46113         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
46114         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46115         FP_HANDLE_EXCEPTIONS.
46116         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
46117         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46118         FP_HANDLE_EXCEPTIONS.
46119         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
46120         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
46121         FP_HANDLE_EXCEPTIONS.
46123 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
46125         [BZ #14132]
46126         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
46127         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
46128         use INTUSE.
46129         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
46130         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
46131         Remove alias.
46132         (__adjtimex): Define using libc_hidden_ver.
46133         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
46134         Remove declaration.
46135         (ntp_gettime): Call __adjtimex directly.
46136         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
46137         Remove declaration.
46138         (ntp_gettimex): Call __adjtimex directly.
46139         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
46140         __adjtimex_internal alias.
46142 2014-10-08  Roland McGrath  <roland@hack.frob.com>
46144         [BZ #17460]
46145         * nscd/nscd.c (more_help): Rewrite list of tables collection
46146         using xstrdup and asprintf.
46148         * nscd/nscd_conf.c: Remove local xstrdup declaration.
46150 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46151             Roland McGrath  <roland@hack.frob.com>
46153         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
46154         (do_lookup_unique): ... local function 'enter' here; update callers.
46156 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
46158         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
46159         compat_symbol calls on [SHARED].
46160         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
46161         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
46162         Remove.
46163         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46164         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
46165         (oldsetrlimit): Remove.
46166         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46168         (lchown): New syscall entry.
46169         (oldsetrlimit): Remove.
46170         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46171         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
46172         (oldsetrlimit): Remove.
46173         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
46175         [BZ #14138]
46176         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
46177         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
46178         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
46179         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
46180         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
46181         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
46182         (fchown): Likewise.
46183         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
46184         (fchown): Likewise.
46185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
46186         Likewise.
46188 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46190         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
46191         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
46192         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
46193         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
46194         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
46195         Likewise.
46196         (__old_sem_post): Likewise.
46198 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
46200         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
46201         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
46202         HAVE_CLOCK_GETTIME_VSYSCALL macros.
46203         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
46204         Use INLINE_VSYSCALL macro.
46205         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
46206         __vdso_clock_gettime.
46207         * sysdeps/unix/sysv/linux/tile/init-first.c
46208         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
46209         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
46210         __vdso_clock_gettime.
46212         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
46213         to set up frame more cleanly.
46215         * sysdeps/tile/memcmp.c: New file.
46217         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
46219         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
46220         * sysdeps/tile/tilegx/strcasestr.c: New file.
46221         * sysdeps/tile/tilegx/strnlen.c: New file.
46222         * sysdeps/tile/tilegx/strstr.c: New file.
46224         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
46226 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
46228         * nptl/tst-setuid3.c: Write errors to stdout.
46230 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46232         * elf/dl-deps.c
46233         (preload): New functions broken out of _dl_map_object_deps.
46234         (_dl_map_object_deps):  Remove a nested function. Update call sites.
46236 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
46238         [BZ #14138]
46239         * sysdeps/unix/sysv/linux/execve.c: Remove file.
46240         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
46242 2014-10-01  Steve Ellcey  <sellcey@mips.com>
46244         * sysdeps/mips/strcmp.S: New.
46246 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
46248         [BZ #14138]
46249         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
46250         (linkat): Likewise.
46251         (mkdirat): Likewise.
46252         (readlinkat): Likewise.
46253         (renameat): Likewise.
46254         (symlinkat): Likewise.
46255         (unlinkat): Likewise.
46256         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
46257         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
46258         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
46259         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
46260         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
46261         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
46262         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
46264 2014-09-30  Will Newton  <will.newton@linaro.org>
46266         * math/math.h: Define long double math functions if
46267         _LIBC_TEST is defined.
46268         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
46270         * localedata/Makefile: Move assignment to tests-special
46271         into an ifdef testing run-built-tests.
46272         * timezone/Makefile: Likewise.
46274 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
46276         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
46277         with $(BASH) not $(SHELL).
46279 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
46280             Matthew LeGendre  <legendre1@llnl.gov>
46282         [BZ #17411]
46283         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
46284         l_reloc_result.
46286 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46288         * stdio-common/printf_fp.c
46289         (hack_digit): New function, broken out of ...
46290         (__printf_fp): ... local function here.  Update call sites.
46291         hack_digit now takes an additional parameter that is a pointer
46292         to a struct of the referenced locals.  Those locals moved inside
46293         the struct and references updated.
46295 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
46297         * aclocal.m4: Require autoconf 2.69.
46298         * configure: Regenerated.
46299         * sysdeps/aarch64/configure: Likewise.
46300         * sysdeps/alpha/configure: Likewise.
46301         * sysdeps/arm/armv7/configure: Likewise.
46302         * sysdeps/arm/configure: Likewise.
46303         * sysdeps/ia64/configure: Likewise.
46304         * sysdeps/mach/configure: Likewise.
46305         * sysdeps/mips/configure: Likewise.
46306         * sysdeps/s390/configure: Likewise.
46307         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
46308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
46310         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
46311         file.
46312         * sysdeps/ia64/configure.ac: Likewise.
46314 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
46316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
46317         specify symbol version for ld.so.  Do not include entry for
46318         libpthread.
46319         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46320         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46321         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46323         [BZ #14171]
46324         * Makeconfig [$(build-shared) = yes]
46325         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
46326         makefiles.
46327         [$(build-shared) = yes && $(soversions.mk-done) = t]
46328         ($(common-objpfx)gnu/lib-names.h): Remove rule.
46329         [$(build-shared) = yes && $(soversions.mk-done) = t]
46330         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
46331         to Makerules.
46332         [$(build-shared) = yes && $(soversions.mk-done) = t]
46333         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
46334         here.
46335         [$(build-shared) = yes && $(soversions.mk-done) = t]
46336         (common-generated): Don't append gnu/lib-names.h and
46337         gnu/lib-names.stmp here.
46338         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
46339         (lib-names-h-abi): New variable.
46340         [$(build-shared) = yes && $(soversions.mk-done) = t]
46341         (lib-names-stmp-abi): Likewise.
46342         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46343         abi-variants] (before-compile): Append
46344         $(common-objpfx)$(lib-names-h-abi).
46345         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46346         abi-variants] (common-generated): Append gnu/lib-names.h.
46347         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46348         abi-variants] (install-others-nosubdir): Depend on
46349         $(inst_includedir)/$(lib-names-h-abi).
46350         [$(build-shared) = yes && $(soversions.mk-done) = t &&
46351         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
46352         [$(build-shared) = yes && $(soversions.mk-done) = t]
46353         ($(common-objpfx)$(lib-names-h-abi)): New rule.
46354         [$(build-shared) = yes && $(soversions.mk-done) = t]
46355         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
46356         [$(build-shared) = yes && $(soversions.mk-done) = t]
46357         (common-generated): Append $(lib-names-h-abi) and
46358         $(lib-names-stmp-abi).
46359         * scripts/lib-names.awk: Do not handle multi being set.
46360         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
46361         Remove variable.
46362         (abi-lp64_be-ld-soname): Likewise.
46363         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
46364         Likewise.
46365         (abi-hard-ld-soname): Likewise.
46366         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
46367         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
46368         Remove variable.
46369         (abi-o32_hard-ld-soname): Likewise.
46370         (abi-o32_soft_2008-ld-soname): Likewise.
46371         (abi-o32_hard_2008-ld-soname): Likewise.
46372         (abi-n32_soft-ld-soname): Likewise.
46373         (abi-n32_hard-ld-soname): Likewise.
46374         (abi-n32_soft_2008-ld-soname): Likewise.
46375         (abi-n32_hard_2008-ld-soname): Likewise.
46376         (abi-n64_soft-ld-soname): Likewise.
46377         (abi-n64_hard-ld-soname): Likewise.
46378         (abi-n64_soft_2008-ld-soname): Likewise.
46379         (abi-n64_hard_2008-ld-soname): Likewise.
46380         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
46381         Likewise.
46382         (abi-64-v2-ld-soname): Likewise.
46383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
46384         ld.so entries.
46385         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
46386         variable.
46387         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
46388         entry.
46389         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
46390         variable.
46391         (abi-64-ld-soname): Likewise.
46392         (abi-x32-ld-soname): Likewise.
46393         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
46394         entry.
46395         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46397 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
46399         [BZ #14138]
46400         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
46401         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
46402         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
46403         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
46404         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
46405         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
46406         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
46407         syscall entry for GLIBC_2.2 symbol version.
46408         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
46409         Likewise.
46410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
46411         (setrlimit): Likewise.
46412         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
46413         Likewise.
46415 2014-09-23  Will Newton  <will.newton@linaro.org>
46417         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
46418         _LINUX_ARM_SYSDEP_H include guard too.
46419         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
46420         define.
46422 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
46424         * sysdeps/unix/sysv/linux/eventfd.c:
46425         Make first argument unsigned.
46426         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
46427         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
46429 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
46431         [BZ #16852]
46432         * socket/recvmmsg.c (recvmmsg): Drop const argument.
46433         * socket/sys/socket.h: Likewise.
46434         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
46436 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46438         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
46440 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
46442         * time/tst-ftime.c: New test.
46443         * time/Makefile (tests): Add tst-ftime.
46445 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
46447         * soft-fp/extended.h: Fix comment formatting.
46448         * soft-fp/op-1.h: Likewise.
46449         * soft-fp/op-2.h: Likewise.
46450         * soft-fp/op-4.h: Likewise.
46451         * soft-fp/op-8.h: Likewise.
46452         * soft-fp/op-common.h: Likewise.
46453         * soft-fp/soft-fp.h: Likewise.
46455         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
46457 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
46459         [BZ #6652]
46460         * Makeconfig (soversions-default-setname): Remove variable.
46461         ($(common-objpfx)soversions.i): Don't pass default_setname to
46462         soversions.awk.
46463         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
46464         oldest_abi to abi-versions.awk.
46465         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
46466         * config.make.in (oldest-abi): Remove variable.
46467         * configure.ac (--enable-oldest-abi): Remove configure option.
46468         * configure: Regenerated.
46469         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
46470         text.
46471         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
46472         * scripts/soversions.awk: Do not handle default_setname variable.
46473         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
46474         variable.
46475         * sysdeps/mach/hurd/configure: Regenerated.
46476         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
46477         variable.
46478         * sysdeps/unix/sysv/linux/configure: Regenerated.
46480 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46482         * elf/Makefile (CFLAGS-interp.c): Remove.
46483         ($(elf-objpfx)runtime-linker.h): Generate header with linker
46484         path string.
46485         * elf/interp.c: Include generated runtime-linker.h
46487         * Makerules (lib%.so): Don't include $(+interp) in
46488         prerequisites.
46489         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
46490         * dlfcn/eval.c: Remove file.
46492         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
46493         macros.
46495         [BZ #17266]
46496         * misc/sys/cdefs.h: Define __extern_always_inline for clang
46497         4.2 and newer.
46499         [BZ #17370]
46500         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
46502 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
46503             Jakub Jelinek  <jakub@redhat.com>
46505         [BZ #17266]
46506         * libio/stdio.h: Check definition of __fortify_function
46507         instead of __extern_always_inline to include bits/stdio2.h.
46508         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
46509         check if __extern_always_inline is defined.
46510         [__USE_MISC || __USE_XOPEN]: Likewise.
46511         [__USE_ISOC99] Likewise.
46512         * misc/sys/cdefs.h (__fortify_function): Define only if
46513         __extern_always_inline is defined.
46514         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
46515         __extern_always_inline and __extern_inline only for g++-4.3
46516         and newer or a compatible gcc.
46518 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
46520         [BZ #17371]
46521         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
46522         last change to handle zero prefix length.
46524 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
46526         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
46527         _SC_REGEX_VERSION.
46529         * posix/getconf.c (vars): Add _POSIX_IPV6 and
46530         _POSIX_RAW_SOCKETS.
46532 2014-09-13  Allan McRae  <allan@archlinux.org>
46534         * po/ru.po: Update Russian translation from translation project.
46536 2014-09-12  Roland McGrath  <roland@hack.frob.com>
46538         * locale/programs/locale.c (show_locale_vars): Inline local function
46539         into its sole call site.  Clean up some style nits.
46540         (print_item): New function, broken out of ...
46541         (show_info): ... local function here.  Clean up style nits.
46543         * locale/programs/ld-ctype.c (set_one_default): New function, broken
46544         out of ...
46545         (set_class_defaults): ... local function set_default here.
46546         Define set_default as a macro locally to pass constant parameters.
46547         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
46548         rather than a shared local.
46550         * stdlib/rpmatch.c (try): New function, broken out of ...
46551         (rpmatch): ... local function here.  Also, prototypify definition.
46553 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
46555         * scripts/soversions.awk: Do not handle configuration names.
46556         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
46557         vendor and os variables to soversions.awk.
46558         * configure.ac: Do not modify gnu-* host_os.
46559         * configure: Regenerated
46560         * shlib-versions: Remove first column with configuration names.
46561         * nptl/shlib-versions: Likewise.
46562         * nptl_db/shlib-versions: Likewise.
46563         * sysdeps/hppa/shlib-versions: Likewise.
46564         * sysdeps/m68k/shlib-versions: Likewise.
46565         * sysdeps/mach/hurd/shlib-versions: Likewise.
46566         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
46567         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
46568         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
46569         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
46570         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
46571         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
46572         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
46573         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
46574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46575         Likewise.
46576         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46577         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46578         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46579         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46580         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46581         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
46582         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
46583         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
46585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
46586         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
46587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46588         Regenerated.
46589         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
46590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
46591         Condition symbol version definitions on [HAVE_ELFV2_ABI].
46593         * shlib-versions: Remove OS-specific entries.  Moved to files in
46594         sysdeps.
46595         * sysdeps/mach/hurd/shlib-versions: New file.
46596         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
46598         * nptl/shlib-versions: Remove architecture-specific entries.
46599         Moved to files in sysdeps.
46600         * shlib-versions: Likewise.
46601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
46602         file.
46603         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
46604         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
46605         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
46606         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
46608         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
46609         (UDP_NO_CHECK6_RX): Likewise.
46611 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46613         * sysdeps/posix/sysconf.c (__sysconf): Spell
46614         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
46616 2014-08-12  Florian Weimer  <fweimer@redhat.com>
46618         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
46619         loading.
46620         * iconv/Versions (__gconv_transliterate): Export for use from
46621         gconv modules.
46622         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
46623         (struct __gconv_trans_data, __gconv_trans_fct,
46624         __gconv_trans_context_fct, __gconv_trans_query_fct,
46625         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
46626         definitions.
46627         (struct __gconv_step_data): Remove __trans member.
46628         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
46629         longer hidden.  Remove unused trans_data argument.
46630         * iconv/gconv_int.h (struct trans_struct): Remove definition.
46631         (__gconv_translit_find): Remove declaration.
46632         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
46633         prototype.
46634         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
46635         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
46636         trans_data argument.  Add hidden definition.
46637         (__gconv_translit_find): Remove.
46638         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
46639         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
46640         * iconv/skeleton.c: Remove transliteration initialization.
46641         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
46642         __gconv_step_data initialization.
46643         * libio/iofwide.c (__libio_translit_): Remove.
46644         (_IO_fwide): Adjust struct __gconv_step_data initialization.
46645         * wcsmbs/btowc.c (__btowc): Likewise.
46646         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
46647         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
46648         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
46649         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
46650         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
46651         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
46652         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
46653         * wcsmbs/wctob.c (wctob): Likewise.
46655 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
46657         [BZ #16194]
46658         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
46659         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
46660         register usage.
46661         * sysdeps/x86/Makefile: Adjust.
46663 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
46664             Roland McGrath  <roland@hack.frob.com>
46666         * locale/weight.h: Add include guard.
46667         (findidx): Make static rather than auto; take new parameters
46668         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
46669         * locale/weightwc.h: Likewise.
46670         * posix/fnmatch_loop.c
46671         (FCT): Change type of EXTRA from int32_t to wint_t.
46672         Don't include either header inside the function.
46673         Call FINDIDX rather than findidx, and pass new arguments.
46674         #undef FINDIDX at the end of the file.
46675         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
46676         FINDIDX before including fnmatch_loop.c for the non-wide version.
46677         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
46678         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
46679         for the wide version.
46680         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
46681         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
46682         Pass new arguments to findidx.
46683         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
46684         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
46685         Don't #include it inside the function.  Pass new arguments to findidx.
46686         * posix/regex_internal.h
46687         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
46688         (re_string_elem_size_at): Don't #include it inside the function.
46689         Pass new arguments to findidx.
46690         * string/strcoll_l.c: #include WEIGHT_H at top level.
46691         (get_next_seq): Don't #include it inside the function.
46692         Pass new arguments to findidx.
46693         (get_next_seq_nocache): Likewise.
46694         * string/strxfrm_l.c: #include WEIGHT_H at top level.
46695         (STRXFRM): Don't #include it inside the function.
46696         Pass new arguments to findidx.
46698 2014-09-11  Florian Weimer  <fweimer@redhat.com>
46700         [BZ #17344]
46701         * malloc/malloc.c (unlink): Turn asserts into a call to
46702         malloc_printerr.
46704 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
46706         [BZ #17370]
46707         * libio/wfileops (do_ftell_wide): Free OUT.
46709 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
46711         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
46713 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46715         [BZ #17363]
46716         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
46717         group if the current group is empty.
46719 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46721         * benchtests/bench-memset.c (test_main): Add more test from size
46722         from 32 to 512 bytes.
46723         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46724         Add POWER8 memset object.
46725         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
46726         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
46727         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
46728         implementation.
46729         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
46730         Likewise.
46731         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
46732         multiarch POWER8 memset optimization.
46733         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
46734         POWER8 memset optimization.
46736         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
46737         Remove bzero multiarch objects.
46738         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
46739         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
46740         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
46741         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
46742         Remove define.
46743         [__bzero]: Redefine to specific name.
46744         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
46745         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
46746         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
46747         define.
46748         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
46749         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
46751 2014-09-10  Florian Weimer  <fweimer@redhat.com>
46753         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
46754         warnings into errors.
46756         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
46757         __cxa_thread_atexit_impl prototype.
46759 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46761         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
46762         Fix capitalization of error message.
46764 2014-09-09  Steve Ellcey  <sellcey@mips.com>
46766         * sysdeps/mips/preconfigure: Modify ABI tests.
46768 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
46770         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
46772 2014-09-07  Roland McGrath  <roland@hack.frob.com>
46773             Carlos O'Donell  <carlos@systemhalted.org>
46775         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
46776         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
46777         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
46778         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
46779         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
46780         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
46781         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
46782         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
46783         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
46784         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
46785         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
46786         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
46787         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
46788         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
46789         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
46790         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
46791         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
46792         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
46793         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
46794         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
46795         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
46796         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
46797         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
46798         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
46799         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
46800         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
46801         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
46802         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
46803         Deconditionalize the code that was previously under [RESET_PID].
46804         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
46805         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
46806         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
46807         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
46808         include sysdep.h.
46810 2014-09-08  Allan McRae  <allan@archlinux.org>
46812         * version.h (RELEASE): Set to "development".
46813         (VERSION): Set to "2.20.90"
46815 2014-09-07  Allan McRae  <allan@archlinux.org>
46817         * version.h (RELEASE): Set to "stable".
46818         (VERSION): Set to "2.20"
46819         * include/features.h (__GLIBC_MINOR__): Set to 20.
46821         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
46822         Liebler.
46824         * po/ko.po: Update Korean translation from translation project.
46826 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
46828         [BZ #17354]
46829         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
46830         macro for handling signed relocations.
46832 2014-09-03  Florian Weimer  <fweimer@redhat.com>
46834         [BZ #17325]
46835         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
46836         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
46837         assert.
46838         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
46839         * iconvdata/ibm935.c (BODY): Likewise.
46840         * iconvdata/ibm937.c (BODY): Likewise.
46841         * iconvdata/ibm939.c (BODY): Likewise.
46842         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
46843         assert.
46844         * iconvdata/Makefile (iconv-test.out): Pass module list to test
46845         script.
46846         * iconvdata/run-iconv-test.sh: New test loop for checking for
46847         decoder crashers.
46849 2014-09-02  Khem Raj  <raj.khem@gmail.com>
46851         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
46852         libm_hidden_ver.
46854 2014-09-01  Allan McRae  <allan@archlinux.org>
46856         * po/eo.po: Update Esperanto translation from translation project.
46858         * po/ca.po: Update Catalan translation from translation project.
46860 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46862         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46863         __proc_dostop call.
46865 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46867         [BZ #17319]
46868         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46869         to call set_thread_area instead of hand written asm.
46870         (__NR_set_thread_area): Removed define.
46871         (TLS_FLAG_WRITABLE): Likewise.
46872         (__ASSUME_SET_THREAD_AREA): Remove check.
46873         (TLS_EBX_ARG): Remove define.
46874         (TLS_LOAD_EBX): Likewise.
46876 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46878         Simplify atomicity of socket creation in bind.
46880         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46881         looking up the name after linking the file.
46883 2014-08-27  Allan McRae  <allan@archlinux.org>
46885         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46887 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46889         [BZ #17187]
46890         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46891         trans_compare, open_translit, __gconv_translit_find):
46892         Remove module loading code.
46894 2014-08-26  Allan McRae  <allan@archlinux.org>
46896         * po/vi.po: Update Vietnamese translation from translation project.
46898         * po/uk.po: Update Ukrainian translation from translation project.
46900         * po/fr.po: Update French translation from translation project.
46902         * po/ru.po: Update Russian translation from translation project.
46904         * po/pl.po: Update Polish translation from translation project.
46906         * po/cs.po: Update Czech translation from translation project.
46908         * po/de.po: Update German translation from translation project.
46910         * po/bg.po: Update Bulgarian translation from translation project.
46912         * po/sv.po: Update Sweedish translation from translation project.
46914         * po/nl.po: Update Dutch translation from translation project.
46916         * po/es.po: Update Spanish translation from translation project.
46918 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46920         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46922         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46923         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46924         (CPPFLAGS-iconvconfig): Likewise.
46925         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46927         * include/libc-symbols.h: Remove unnecessary check for
46928         NOT_IN_libc.
46929         * nptl/pthreadP.h: Likewise.
46930         * sysdeps/aarch64/setjmp.S: Likewise.
46931         * sysdeps/alpha/setjmp.S: Likewise.
46932         * sysdeps/arm/sysdep.h: Likewise.
46933         * sysdeps/i386/setjmp.S: Likewise.
46934         * sysdeps/m68k/setjmp.c: Likewise.
46935         * sysdeps/posix/getcwd.c: Likewise.
46936         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46937         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46938         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46939         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46940         * sysdeps/sh/sh3/setjmp.S: Likewise.
46941         * sysdeps/sh/sh4/setjmp.S: Likewise.
46942         * sysdeps/unix/alpha/sysdep.h: Likewise.
46943         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46944         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46945         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46946         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46949         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46950         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46951         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46952         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46953         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46954         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46955         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46956         * sysdeps/x86_64/setjmp.S: Likewise.
46958 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46960         [BZ #17263]
46961         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46962         <stdint.h>.
46963         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46964         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46966 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46968         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46970         [BZ #17262]
46971         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46972         and __x86_64__ when disabling x87 inline functions.
46974 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46976         [BZ #17259]
46977         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46978         asm statement with __cpuid_count.
46980 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46982         * configure.ac: Change __ehdr_start code to dereference the struct.
46983         Run readelf on the output to look for relocations.
46984         * configure: Regenerated.
46986 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46988         [BZ #17261]
46989         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46990         value to 0.
46991         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46993 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46995         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46997 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46999         [BZ #16892]
47000         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
47001         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
47003 2014-08-12  Sean Anderson  <seanga2@gmail.com>
47005         * malloc/malloc.c: Fix typo in comment.
47007 2014-08-09  Allan McRae  <allan@archlinux.org>
47009         * Regenerate libc.po.
47011 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
47013         * intl/tst-gettext2.sh: Check every lang file for creation.
47015 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
47017         * sysdeps/aarch64/fpu/math_private.h
47018         (libc_feholdsetround_noex_aarch64_ctx): New function.
47020 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
47022         * sysdeps/arm/armv6/strcpy.S (strcpy):
47023         Fix performance issue in misaligned cases.
47025 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47027         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
47028         Move definition from termios.h.
47029         (struct termio): Likewise.
47030         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47031         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47032         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47033         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47034         Likewise.
47035         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
47036         Move definition to ioctl-types.h
47037         (struct termio): Likewise.
47038         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
47039         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
47040         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
47041         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
47042         Likewise.
47044 2014-08-05  Richard Henderson  <rth@redhat.com>
47046         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
47047         exceptions.
47048         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
47049         Add fraiseexcpt.
47050         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
47051         Use __feraiseexcept.
47052         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
47053         Protect libm symbols with IS_IN_libm.
47055         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
47057 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
47059         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
47061 2014-08-04  Will Newton  <will.newton@linaro.org>
47063         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
47064         file.
47066 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
47068         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
47069         variants for each function.
47071 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47073         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
47074         appended ...
47075         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
47076         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
47077         appended ...
47078         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
47079         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
47080         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
47081         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
47082         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
47083         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
47084         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
47085         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
47086         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
47087         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
47088         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
47089         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
47090         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
47091         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
47092         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
47093         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
47094         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
47095         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
47096         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
47097         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
47098         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
47099         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
47100         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
47101         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
47102         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
47103         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
47104         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
47105         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
47106         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
47107         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
47108         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
47109         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
47110         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
47111         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
47112         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
47113         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
47114         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
47115         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
47116         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
47117         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
47118         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
47119         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
47120         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
47121         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
47122         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
47123         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
47124         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
47125         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
47126         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
47127         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
47128         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
47129         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
47130         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
47131         Update #include.
47132         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
47133         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
47135 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47137         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
47138         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
47139         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
47140         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
47141         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
47142         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
47144 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47146         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
47147         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
47148         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47149         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
47151 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47153         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
47154         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
47155         (__libc_vfork): Define function under this name.
47156         (__vfork): Define as an alias.
47157         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
47158         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
47160 2014-08-04  Roland McGrath  <roland@hack.frob.com>
47162         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
47163         that was previously under [RESET_PID].
47164         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
47166 2014-08-04  Andreas Schwab  <schwab@suse.de>
47168         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
47170 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
47172         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
47173         (main): Likewise.
47175 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47177         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
47179 2014-08-01  Richard Henderon  <rth@redhat.com>
47181         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
47182         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
47183         typo in exact zero test.
47184         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47185         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47186         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47188 2014-08-01  Roland McGrath  <roland@hack.frob.com>
47190         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
47191         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
47192         * sysdeps/arm/sysdep.h: ... here.
47193         [!__ASSEMBLER__]: Include <stdint.h>.
47195 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47197         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
47198         (HAVE_WCTYPE_H): Likewise.
47199         (HAVE_ISWCTYPE): Likewise.
47200         (ENABLE_NLS): Likewise.
47201         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
47202         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
47204         * posix/regex_internal.c: Check if DEBUG is defined and is
47205         set.
47207         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
47208         (HAVE_MBSRTOWCS): Likewise.
47209         * posix/fnmatch.c: Include string.h unconditionally.
47211 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47213         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
47214         reversal.
47216 2014-07-31  Roland McGrath  <roland@hack.frob.com>
47218         * sysdeps/generic/safe-fatal.h: New file.
47219         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
47220         * nptl/forward.c: Include it.
47221         (__pthread_unwind): Use __safe_fatal as default action, rather
47222         than a bogus use of INTERNAL_SYSCALL that could never work.
47224         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
47225         * configure.ac (libc_cv_builtin_trap): New test.
47226         * configure: Regenerated.
47227         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
47228         (ABORT_INSTRUCTION): Define using __builtin_trap.
47230         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
47231         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
47232         * sysdeps/nptl/nptl-signals.h: New file.
47233         * nptl/pthreadP.h: Include <nptl-signals.h>.
47235 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47237         * sysdeps/s390/s390-64/utf16-utf32-z9.c
47238         (ONE_DIRECTION): Define.
47239         * sysdeps/s390/s390-64/utf8-utf16-z9.c
47240         (ONE_DIRECTION): Define.
47241         * sysdeps/s390/s390-64/utf8-utf32-z9.c
47242         (ONE_DIRECTION): Define.
47244 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
47246         * sysdeps/s390/Makefile: Delete file.
47247         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
47248         * sysdeps/s390/__longjmp.c: Delete file.
47249         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
47250         Remove fields __flags and __reserved.
47251         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
47252         and add versioning.
47253         * sysdeps/s390/rtld-__longjmp.c: Delete file.
47254         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
47255         * sysdeps/s390/rtld-setjmp.S: Likewise.
47256         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
47257         * sysdeps/s390/s390-32/__longjmp.c: ... here.
47258         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
47259         * sysdeps/s390/s390-32/setjmp.S: ... here.
47260         Add versioning.
47261         (__sigsetjmp): Remove setting __flags field.
47262         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
47263         * sysdeps/s390/s390-64/__longjmp.c: ... here.
47264         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
47265         * sysdeps/s390/s390-64/setjmp.S: ... here.
47266         Add versioning.
47267         (__sigsetjmp): Remove setting __flags field.
47268         * sysdeps/s390/setjmp.S: Delete file.
47269         * sysdeps/s390/sigjmp.c: Likewise.
47270         * sysdeps/s390/v1-longjmp.c: Likewise.
47271         * sysdeps/s390/v1-setjmp.h: Likewise.
47272         * sysdeps/s390/v1-sigjmp.c: Likewise.
47273         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
47274         Remove v1-longjmp_chk.
47275         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
47276         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
47277         Include debug/longjmp_chk.c and add versioning.
47278         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
47279         Include nptl/pt-longjmp.c and add versioning.
47280         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
47281         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
47282         Include __longjmp.c.
47283         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47284         Move to ...
47285         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
47286         (__getcontext): Remove setting __flags field.
47287         Add versioning.
47288         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
47289         Don't restore upper high grps.
47290         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
47291         Likewise.
47292         (__swapcontext): Remove setting uc_flags field.
47293         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
47294         Delete file.
47295         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47296         Include __longjmp.c.
47297         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47298         Move to ...
47299         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
47300         (__getcontext): Remove setting __flags field.
47301         Add versioning.
47302         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
47303         (__swapcontext): Remove setting uc_flags field.
47304         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
47305         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
47306         Remove fields uc_high_gprs and __reserved.
47307         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
47308         New file with reverted content.
47309         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
47310         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
47311         Regenerated.
47312         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
47313         Regenerated.
47315 2014-07-31  Andreas Schwab  <schwab@suse.de>
47317         * config.h.in (HAVE_IFUNC): Define to 0.
47318         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
47319         definedness.
47321 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
47323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47324         memmove-avx-unaligned, memcpy-avx-unaligned and
47325         mempcpy-avx-unaligned.
47326         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47327         Add tests for AVX memcpy functions.
47328         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
47329         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
47330         memcpy_chk.
47331         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
47332         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
47333         memmove_chk.
47334         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
47335         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
47336         mempcpy_chk.
47337         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
47338         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
47339         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
47341 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47343         [BZ #17213]
47344         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
47345         powerpc64le.
47347 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
47349         [BZ #16839]
47350         * manual/llio.texi: Add section about open file description locks.
47351         * manual/examples/ofdlocks.c: Example of open file description
47352         lock usage.
47353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
47354         F_OFD_SETLK, and F_OFD_SETLKW.
47356 2014-07-23  Allan McRae  <allan@archlinux.org>
47358         * po/es.po: Update Spanish translation from translation project.
47360 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
47362         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
47364 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
47366         [BZ #17078]
47367         * sysdeps/arm/dl-machine.h (elf_machine_rela)
47368         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
47369         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
47371 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
47373         [BZ #17088]
47374         * math/fesetenv.c (__fesetenv)
47375         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
47376         * math/feupdateenv.c (__feupdateenv)
47377         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
47379         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
47380         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
47381         (__ASSUME_SOCKETCALL): Do not define.
47383         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
47384         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
47385         (__ASSUME_SOCKETCALL): Do not define.
47386         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
47387         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47388         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47389         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
47390         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47391         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
47392         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47393         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47395         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
47396         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
47397         (__ASSUME_SOCKETCALL): Do not define.
47398         (__ASSUME_IPC64): Define unconditionally.
47399         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47400         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47401         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
47402         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47403         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
47404         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47405         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
47406         Likewise.
47408         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
47409         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
47410         (__ASSUME_SOCKETCALL): Do not define.
47411         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
47412         (__ASSUME_FUTEX_LOCK_PI): Likewise.
47413         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47414         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
47415         (__ASSUME_REQUEUE_PI): Define unconditionally.
47416         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
47417         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
47418         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47419         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
47420         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47421         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47423         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
47424         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
47425         (__ASSUME_SOCKETCALL): Do not define.
47426         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
47427         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47428         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47429         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
47430         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47431         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
47433         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
47434         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
47435         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
47436         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
47437         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
47438         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
47439         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
47440         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
47441         (__ASSUME_GETCPU_SYSCALL): Likewise.
47443         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
47444         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
47445         cases for individual architectures.
47446         * sysdeps/gnu/configure: Regenerated.
47447         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
47448         LIBC_SLIBDIR_RTLDDIR.
47449         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
47450         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
47451         LIBC_SLIBDIR_RTLDDIR.
47452         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
47453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
47454         LIBC_SLIBDIR_RTLDDIR.
47455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
47456         Regenerated.
47457         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
47458         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
47459         file.
47460         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
47461         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
47462         file.
47463         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
47464         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
47465         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
47466         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
47468         * sysdeps/aarch64/shlib-versions: Move to ...
47469         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
47470         * sysdeps/alpha/shlib-versions: Move to ...
47471         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
47472         * sysdeps/arm/shlib-versions: Move to ...
47473         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
47474         * sysdeps/hppa/shlib-versions: Move all contents except for
47475         libgcc_s entry to ...
47476         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
47477         entry from ...
47478         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
47479         * sysdeps/ia64/shlib-versions: Move to ...
47480         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
47481         entry from ...
47482         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
47483         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
47484         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
47485         * sysdeps/microblaze/shlib-versions: Move to ...
47486         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
47487         * sysdeps/mips/shlib-versions: Move to ...
47488         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
47489         entry from ...
47490         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
47491         * sysdeps/tile/shlib-versions: Move to ...
47492         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
47493         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
47494         from ...
47495         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
47496         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
47497         entry from ...
47498         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
47500 2014-07-17  Will Newton  <will.newton@linaro.org>
47502         * sysdeps/arm/bits/atomic.h
47503         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
47504         (__arch_compare_and_exchange_bool_16_int): Likewise.
47505         (__arch_compare_and_exchange_bool_64_int): Likewise.
47507         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
47508         into an #else block.
47510 2014-07-16  Roland McGrath  <roland@hack.frob.com>
47512         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
47513         just Linux configurations.  Test empirically that the compiler sets
47514         __ARM_EABI__, rather than using the tuple to decide.
47515         * sysdeps/arm/preconfigure: Regenerated.
47516         * sysdeps/unix/sysv/linux/arm/configure: File removed.
47517         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
47518         contents appended ...
47519         * sysdeps/arm/configure.ac: ... here.
47520         * sysdeps/arm/configure: Regenerated.
47522 2014-07-15  Roland McGrath  <roland@hack.frob.com>
47524         * nptl/pthread_kill.c: New file.
47525         * nptl/pthread_sigmask.c: New file.
47526         * nptl/pthread_sigqueue.c: New file.
47528         * sysdeps/nptl/lowlevellock.h: New file.
47529         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
47530         * sysdeps/nptl/lowlevellock-futex.h: New file.
47532         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
47533         Remove dead declarations.
47535 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
47537         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
47538         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
47539         config-cflags-avx2.
47540         * sysdeps/x86_64/configure.ac: Likewise.
47541         * sysdeps/i386/configure: Regenerated.
47542         * sysdeps/x86_64/configure: Likewise.
47543         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47544         memset-avx2 only if config-cflags-avx2 is yes.
47545         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47546         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
47547         defined.
47548         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
47549         only if HAVE_AVX2_SUPPORT is defined.
47550         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47552 2014-07-14  Alan Modra  <amodra@gmail.com>
47554         [BZ #17153]
47555         * elf/elf.h (DT_PPC64_NUM): Correct value.
47556         * NEWS: Add to fixed bug list.
47558 2014-07-13  Jim Meyering  <meyering@fb.com>
47560         [BZ 17150]
47561         regex: don't deref NULL upon heap allocation failure
47562         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
47563         failure in one more place.
47564         To trigger the segfault, configure grep -with-included-regex,
47565         build it, and run these commands:
47566         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
47568 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
47570         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47572 2014-07-11  Richard Henderson  <rth@redhat.com>
47574         * sysdeps/aarch64/libm-test-ulps: Update.
47576 2014-07-10  Florian Weimer  <fweimer@redhat.com>
47578         [BZ #17135]
47579         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
47580         * nptl/allocatestack.c (__nptl_setxid_error): New function.
47581         (__nptl_setxid): Initialize error member.  Call
47582         __nptl_setxid_error.
47583         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
47584         * nptl/descr.h (struct xid_command): Add error member.
47585         * nptl/tst-setuid3.c: New file.
47586         * nptl/Makefile (tests): Add it.
47588 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47590         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
47591         New define.
47592         (__lll_trylock): Use __lll_base_trylock.
47593         (__lll_cond_trylock): Likewise.
47595 2014-07-10  Roland McGrath  <roland@hack.frob.com>
47597         * nptl/pthread_create.c (start_thread): Use atomic_or and
47598         lll_futex_wake directly rather than lll_robust_dead.
47599         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47600         (lll_robust_dead): Macro removed.
47601         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
47602         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47603         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47604         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47605         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47606         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47607         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47608         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47609         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47610         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47611         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47612         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47613         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47614         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47615         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47617         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
47618         Use atomic_compare_and_exchange_val_acq directly rather than
47619         lll_robust_trylock.
47620         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
47621         (__lll_robust_trylock, lll_robust_trylock): Removed.
47622         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
47623         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
47624         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
47625         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
47626         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
47627         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
47628         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
47629         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
47630         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
47631         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
47632         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
47633         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
47634         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
47635         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
47637 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47639         * manual/locale.texi (Locale Names): New section documenting
47640         locale name syntax.  Adjust menu and node chaining accordingly.
47641         (Choosing Locale): Reference Locale Names, Locale Categories.
47642         Mention setting LC_ALL=C.  Reflect that name syntax is now
47643         documented.
47644         (Locale Categories): New section title.  Reference Locale Names.
47645         LC_ALL is an environment variable, but not a category.
47646         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
47647         description, now in Locale Name.  Reference that section.  Locale
47648         name syntax is now documented.
47650 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47652         [BZ #17137]
47653         * locale/findlocale.c (name_present, valid_locale_name): New
47654         functions.
47655         (_nl_find_locale): Use the loc_name variable to store name
47656         candidates.  Call name_present and valid_locale_name to check and
47657         validate locale names.  Return an error if the locale is invalid.
47659 2014-07-02  Florian Weimer  <fweimer@redhat.com>
47661         * locale/setlocale.c (setlocale): Use strdup for allocating
47662         composite name copy.
47664 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47666         Sync up with gnulib.
47667         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
47668         [!_LIBC && ENABLE_NLS]: Include gettext.h.
47669         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
47670         and _GL_ARG_NONNULL.
47671         [USE_UNLOCKED_IO]: Include unlocked-io.h.
47672         [!_LIBC]: Include code for Windows and Cygwin.
47673         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
47674         Include prototype for int strerror_r.
47675         [!_LIBC] (is_open): New function.
47676         (flush_stdout): New function.
47677         (print_errno_message): Use it.
47678         (error): Likewise.
47679         (error_at_line): Likewise.
47680         (error_tail) Add function attribute macros.  Use
47681         __builtin_expect.
47683         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
47685         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
47687         * io/ftw.c: Include sys/param.h unconditionally.
47689         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
47691         [BZ #17125]
47692         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
47693         libc_freeres_ptr.
47694         (freecache): New function to free CACHE on exit.
47696         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
47697         initialization.
47699 2014-07-09  David S. Miller  <davem@davemloft.net>
47701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47703         * sysdeps/sparc/nptl/internaltypes.h: Delete.
47704         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
47705         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
47706         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
47707         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
47708         * sysdeps/sparc/nptl/sem_init.c: Likewise.
47709         * sysdeps/sparc/nptl/sem_post.c: Likewise.
47710         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
47711         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
47712         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
47713         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
47714         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
47715         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
47717 2014-07-09  Andreas Schwab  <schwab@suse.de>
47719         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
47720         output.
47721         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
47722         (do_test): Likewise.
47724         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47726 2014-07-09  Will Newton  <will.newton@linaro.org>
47728         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
47729         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
47730         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
47731         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
47732         * sysdeps/hppa/start.S (_start): Likewise.
47734 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
47736         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
47738         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
47739         defined.
47741 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47743         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
47744         after checking that it is non-NULL.
47746         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
47748 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47750         * sysdeps/powerpc/memmove.c: Remove file.
47751         * sysdeps/powerpc/powerpc32/power4/memcopy.h
47752         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
47753         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
47754         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
47755         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
47756         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
47757         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
47758         string memmove instead of removed powerpc one.
47760         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
47761         [weak_alias]: Fix compiler warning due trailing data.
47762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
47763         [weak_alias]: Likewise.
47764         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
47765         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
47767         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
47768         (__libc_ifunc_impl_list): Add memmove functions.
47770 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47772         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
47773         Remove code.
47774         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
47775         Likewise.
47776         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
47777         Likewise.
47778         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
47779         Likewise.
47780         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
47781         Likewise.
47782         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
47783         Likewise.
47784         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
47785         Likewise.
47786         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
47787         Likewise.
47788         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
47789         Likewise.
47790         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
47791         Likewise.
47792         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
47793         Likewise.
47794         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
47795         Likewise.
47796         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
47797         Likewise.
47798         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
47799         Likewise.
47800         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
47801         Likewise.
47802         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
47803         Likewise.
47804         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
47805         Likewise.
47807 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47809         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
47810         to avoid alignment traps in non-cacheable memory.
47811         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47813         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
47814         multiarch objects.
47815         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
47816         file: multiarch power7 memmove.
47817         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
47818         multiarch default memmove.
47819         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
47820         multiarch memove for powerpc32/power4.
47822         * string/bcopy.c: Use full path to include memmove.c.
47823         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
47824         multiarch objects.
47825         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
47826         bcopy for powerpc64.
47827         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
47828         bcopy for powerpc64.
47829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
47830         and memmove implementations.
47831         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
47832         optimized multiarch memmove for POWER7/powerpc64.
47833         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
47834         default multiarch memmove for powerpc64.
47835         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
47836         multiarch for powerpc64.
47837         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
47838         for POWER7/powerpc64.
47839         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
47840         memmove for POWER7/powerpc64.
47842         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
47843         glibc default one.
47845         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
47846         __ELF_NATIVE_CLASS equal to 64.
47848 2014-07-07  Roland McGrath  <roland@hack.frob.com>
47850         * sysdeps/nptl/lowlevellock.h: File removed.
47852         * NEWS: NPTL is no longer an add-on!
47853         * nptl/internaltypes.h: Moved ...
47854         * sysdeps/nptl/internaltypes.h: ... here.
47855         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
47856         * sysdeps/nptl/fork.c: Likewise.
47857         * sysdeps/nptl/gai_misc.h: Likewise.
47858         * sysdeps/nptl/librt-cancellation.c: Likewise.
47859         * sysdeps/nptl/jmp-unwind.c: Likewise.
47860         * sysdeps/nptl/setxid.h: Likewise.
47861         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47862         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47863         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47864         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47865         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47866         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47867         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47868         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47869         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47870         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47871         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47872         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47873         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47874         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47875         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47876         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47877         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47878         * nptl/Makeconfig: Moved ...
47879         * sysdeps/nptl/Makeconfig: ... here.
47880         * nptl/configure: File removed.
47881         * nptl/ANNOUNCE: File removed.
47882         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47883         * sysdeps/unix/sysv/linux/configure: Regenerated.
47885         * nptl/Makefile (routines): Add libc_pthread_init,
47886         libc_multiple_threads, register-atfork and unregister-atfork.
47887         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47888         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47889         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47890         pthread-pi-defines.sym, structsem.sym.
47891         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47892         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47893         [$(subdir) = nptl] (tests): Add tst-setgetname.
47894         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47895         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47896         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47897         [!LIBC_SIGACTION]: Remove aliases.
47898         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47899         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47900         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47901         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47902         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47903         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47904         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47905         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47906         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47907         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47908         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47909         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47910         __libc_allocate_rtsig_private.
47911         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47912         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47913         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47914         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47915         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47916         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47917         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47918         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47919         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47920         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47921         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47922         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47923         * nptl/internaltypes.h: ... here.
47924         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47925         * sysdeps/nptl/jmp-unwind.c: ... here.
47926         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47927         * nptl/libc-lowlevellock.c: ... here.
47928         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47929         * nptl/libc_multiple_threads.c: ... here.
47930         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47931         * nptl/libc_pthread_init.c: ... here.
47932         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47933         * nptl/lowlevelbarrier.sym: ... here.
47934         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47935         * nptl/lowlevelcond.sym: ... here.
47936         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47937         * nptl/lowlevellock.c: ... here.
47938         * nptl/lowlevellock.h: Moved ...
47939         * sysdeps/nptl/lowlevellock.h: ... here.
47940         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47941         * nptl/lowlevelrobustlock.c: ... here.
47942         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47943         * nptl/lowlevelrobustlock.sym: ... here.
47944         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47945         * nptl/lowlevelrwlock.sym: ... here.
47946         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47947         * nptl/pt-fork.c: ... here.
47948         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47949         * nptl/pthread-pi-defines.sym: ... here.
47950         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47951         * nptl/pthread_attr_getaffinity.c: ... here.
47952         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47953         * nptl/pthread_attr_setaffinity.c: ... here.
47954         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47955         * nptl/pthread_mutex_cond_lock.c: ... here.
47956         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47957         Update #include.
47958         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47959         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47960         * nptl/pthread_once.c: ... here, replacing old file.
47961         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47962         * nptl/pthread_yield.c: ... here.
47963         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47964         * nptl/register-atfork.c: ... here.
47965         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47966         * nptl/sem_post.c: ... here.
47967         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47968         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47969         * nptl/sem_timedwait.c: ... here.
47970         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47971         * nptl/sem_trywait.c: ... here.
47972         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47973         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47974         * nptl/sem_wait.c: ... here.
47975         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47976         * nptl/structsem.sym: ... here.
47977         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47978         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47979         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47980         * nptl/unregister-atfork.c: ... here.
47981         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47982         * nptl/unwindbuf.sym: ... here.
47983         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47984         * sysdeps/nptl/fork.c: ... here.
47985         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47986         * sysdeps/nptl/fork.h: ... here.
47987         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47988         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47989         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47990         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47991         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47992         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47993         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47994         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47995         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47996         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47997         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47998         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47999         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
48000         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
48001         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
48002         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
48003         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
48004         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
48005         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
48006         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
48007         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
48008         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
48009         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
48010         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
48011         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
48012         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
48013         * sysdeps/unix/sysv/linux/raise.c: ... here.
48014         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
48015         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
48016         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
48017         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
48018         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
48019         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
48020         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
48021         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
48022         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
48023         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
48024         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
48025         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
48026         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
48027         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
48028         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
48030 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
48032         * sysdeps/generic/memcopy.h: Add comment for
48033         MEMCPY_OK_FOR_FWD_MEMMOVE.
48035 2014-07-04  Will Newton  <will.newton@linaro.org>
48037         * string/memchr.c: Merge from gnulib.
48038         [_LIBC]: Remove conditionals.
48039         (__ptr_t): Remove define.
48040         (LONG_MAX_32_BITS): Likewise.
48041         (LONG_MAX): Likewise.
48042         (MEMCHR): Use ANSI prototype and optimize algorithm.
48044         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
48046 2014-07-03  Roland McGrath  <roland@hack.frob.com>
48048         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
48049         (lll_futex_timed_wait_bitset): Fix syscall argument count.
48051         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
48052         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
48053         in a bare environment with no <stdlib.h> installed.
48054         * sysdeps/nptl/configure: Regenerated.
48056         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
48058         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
48059         AC_EGREP_CPP for kernel header checks, so they only succeed if
48060         including <linux/version.h> actually works right.
48061         * sysdeps/unix/sysv/linux/configure: Regenerated.
48063         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
48064         value so it's not diagnosed as unused.
48066         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
48067         thing) with "ifeq ($(subdir),rt)".
48069 2014-07-03  Richard Henderson  <rth@redhat.com>
48071         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
48072         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
48073         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
48075         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
48076         (math_force_eval): New.
48078         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
48079         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
48081         * sysdeps/alpha/fpu/s_round.c: Remove file.
48082         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
48084         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
48085         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
48086         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
48087         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
48088         (_dl_start, print_statistics): Likewise.
48089         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
48090         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
48092         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48093         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48094         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48095         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48096         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48097         (HP_SMALL_TIMING_AVAIL): Define.
48098         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48099         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48100         (HP_SMALL_TIMING_AVAIL): Define.
48101         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48102         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
48104         * sysdeps/aarch64/hp-timing.h: New file.
48106         * sysdeps/generic/hp-timing.h: Remove dead comment.
48107         * sysdeps/generic/hp-timing-common.h: New file.
48108         * sysdeps/alpha/hp-timing.h: Include it.
48109         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
48110         * sysdeps/i386/i686/hp-timing.h: Likewise.
48111         * sysdeps/ia64/hp-timing.h: Likewise.
48112         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
48113         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
48114         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
48115         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
48116         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
48117         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
48118         (hp_timing_t): New.
48120         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
48121         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
48122         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
48123         * elf/rtld.c (_dl_start_final): Likewise.
48124         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
48125         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48126         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48127         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48128         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48129         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48130         (HP_TIMING_DIFF_INIT): Remove.
48131         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48132         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
48133         (HP_TIMING_DIFF_INIT): Remove.
48134         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
48135         * sysdeps/i386/i686/hp-timing.c: Remove file.
48136         * sysdeps/x86_64/hp-timing.c: Remove file.
48137         * sysdeps/ia64/hp-timing.c: Remove file.
48138         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
48139         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
48140         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
48141         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
48143         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
48144         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
48145         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
48146         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48147         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
48148         (HP_TIMING_ACCUM): Remove.
48149         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48150         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
48151         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
48153         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
48154         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
48155         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
48156         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
48157         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
48158         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48159         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
48160         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
48162         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
48164 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
48166         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
48168 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48170         Sync up with gettext.
48171         * intl/loadmsgcat.c: Define O_BINARY if not defined.
48172         [_MSC_VER]: Include malloc.h
48173         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
48174         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
48175         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
48176         TEMP_FAILURE_RETRY.  Cast return of alloca.
48177         [!_LIBC] Call gl_rwlock_init.
48178         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
48180 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48182         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
48183         before checking its value.
48185 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48187         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
48189         * debug/memcpy_chk.c: Don't include pagecopy.h.
48190         * debug/mempcpy_chk.c: Likewise.
48191         * string/memcpy.c: Likewise.
48192         * string/memmove.c: Likewise.
48193         * sysdeps/powerpc/memmove.c: Likewise.
48194         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
48195         definition of PAGE_COPY_FWD_MAYBE here...
48196         * sysdeps/generic/pagecopy.h: ... from here.
48197         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
48199 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
48200             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48202         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
48203         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
48204         optimizations.
48205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
48206         (__libc_ifunc_impl_list): Likewise.
48207         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
48208         multiarch strcat for PPC64.
48209         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
48210         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
48212 2014-07-02  Roland McGrath  <roland@hack.frob.com>
48214         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
48216 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48218         * intl/loadmsgcat.c: Remove declaration of
48219         get_sysdep_segment_value.
48220         (get_sysdep_segment_value): Use ISO C style.
48221         (_nl_load_domain): Use ISO C style.  Get rid of redundant
48222         semicolon.  Fix typo and formatting in comment.
48223         (_nl_unload_domain): Use ISO C style.
48225         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
48227 2014-07-02  Will Newton  <will.newton@linaro.org>
48229         * malloc/obstack.c: Merge from gnulib master.
48230         [HAVE_CONFIG_H]: Remove conditional code.
48231         [!_LIBC]: Include config.h.
48232         [!ELIDE_CODE]: Don't include inttypes.h, include
48233         stdint.h unconditionally.
48234         (print_and_abort): Mark as _Noreturn.
48235         (_obstack_allocated_p): Mark as __attribute_pure__.
48236         (obstack_free): Rename to __obstack_free.
48237         [!__attribute__]: Remove conditional code.
48238         * malloc/obstack.h: Merge from gnulib master.
48239         [__cplusplus]: Move conditional down.
48240         [!__attribute_pure__]: Define __attribute_pure__ here
48241         if it is not already defined.
48242         (_obstack_memory_used): Mark as __attribute_pure__.
48243         [!__obstack_free]: Define as obstack_free.
48244         [__GNUC__]: Remove check for ancient NeXT gcc.
48246 2014-07-02  Will Newton  <will.newton@linaro.org>
48247             Paul Eggert  <eggert@cs.ucla.edu>
48249         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
48251 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48253         * resolv/gethnamaddr.c: Add comment warning that the file is
48254         not maintained.
48256 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
48258         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
48259         entries.
48261         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
48262         entry for aio_cancel and aio_cancel64.
48263         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
48264         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
48265         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
48266         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
48267         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
48268         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
48269         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
48270         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
48271         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
48272         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
48273         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
48274         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
48275         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
48277 2014-07-01  Roland McGrath  <roland@hack.frob.com>
48279         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
48280         * nptl/pthread_mutex_lock.c: Likewise.
48281         * nptl/pthread_mutex_timedlock.c: Likewise.
48282         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
48284 2014-07-01  Richard henderson  <rth@redhat.com>
48286         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
48287         (__isnan, __isnanl): Remove.
48288         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
48290         * sysdeps/alpha/fpu/libm-test-ulps: Update.
48292 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
48294         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48296 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
48298         * resolv/nss_dns/dns-host.c (getanswer_r)
48299         [MULTI_PTRS_ARE_ALIASES]: Remove code.
48301 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
48303         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
48304         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
48305         undefine.
48306         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
48307         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
48309 2014-07-01  Roland McGrath <roland@hack.frob.com>
48311         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
48312         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
48314         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
48315         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
48317         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
48318         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
48319         ... here.
48320         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
48321         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
48323         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
48324         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
48325         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
48326         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
48328         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
48329         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
48330         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
48331         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
48332         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
48333         Moved ...
48334         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
48335         ... here.
48336         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
48337         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
48338         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
48339         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
48340         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
48341         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
48342         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
48343         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
48344         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
48345         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
48346         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
48347         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
48348         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
48349         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
48350         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
48351         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
48352         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
48353         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
48354         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
48355         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
48356         ... here.
48357         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
48358         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
48359         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
48360         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
48361         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
48362         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
48363         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
48364         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
48366 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
48368         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
48369         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
48370         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
48371         Add sysdep.
48373 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48377 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48379         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
48380         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
48382         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48384         * sysdeps/arm/libm-test-ulps: Regenerated.
48386 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48387             Roland McGrath <roland@hack.frob.com>
48389         * test-skeleton.c (signal_handler): Kill the whole process group
48390         before killing the child individually.
48391         (main): Report any failure on `setpgid'.
48393 2014-06-30  Roland McGrath  <roland@hack.frob.com>
48395         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
48396         from _TLS_H to _ARM_NPTL_TLS_H.
48397         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
48398         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
48400 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
48402         [BZ #16539]
48403         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
48404         (__expm1l): Return argument unchanged when small but not
48405         subnormal.
48407         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
48408         include macro name.
48409         (_FP_UNPACK_RAW_1_P): Likewise.
48410         (_FP_PACK_RAW_1): Likewise.
48411         (_FP_PACK_RAW_1_P): Likewise.
48412         (_FP_MUL_MEAT_1_wide): Likewise.
48413         (_FP_MUL_MEAT_DW_1_hard): Likewise.
48414         (_FP_MUL_MEAT_1_hard): Likewise.
48415         (_FP_DIV_MEAT_1_imm): Likewise.
48416         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
48417         (_FP_DIV_MEAT_1_udiv): Likewise.
48418         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
48419         (_FP_UNPACK_RAW_2): Likewise.
48420         (_FP_UNPACK_RAW_2_P): Likewise.
48421         (_FP_PACK_RAW_2): Likewise.
48422         (_FP_PACK_RAW_2_P): Likewise.
48423         (_FP_MUL_MEAT_DW_2_wide): Likewise.
48424         (_FP_MUL_MEAT_2_wide): Likewise.
48425         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
48426         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
48427         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
48428         (_FP_MUL_MEAT_2_gmp): Likewise.
48429         (_FP_DIV_MEAT_2_udiv): Likewise.
48430         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
48431         (_FP_FRAC_SRL_4): Likewise.
48432         (_FP_FRAC_SRST_4): Likewise.
48433         (_FP_FRAC_SRS_4): Likewise.
48434         (_FP_UNPACK_RAW_4): Likewise.
48435         (_FP_UNPACK_RAW_4_P): Likewise.
48436         (_FP_PACK_RAW_4): Likewise.
48437         (_FP_PACK_RAW_4_P): Likewise.
48438         (_FP_MUL_MEAT_DW_4_wide): Likewise.
48439         (_FP_MUL_MEAT_4_wide): Likewise.
48440         (_FP_MUL_MEAT_4_gmp): Likewise.
48441         (umul_ppppmnnn): Likewise.
48442         (_FP_DIV_MEAT_4_udiv): Likewise.
48443         (__FP_FRAC_ADD_4): Likewise.
48444         (__FP_FRAC_SUB_3): Likewise.
48445         (__FP_FRAC_SUB_4): Likewise.
48446         (__FP_FRAC_DEC_3): Likewise.
48447         (__FP_FRAC_DEC_4): Likewise.
48448         (__FP_FRAC_ADDI_4): Likewise.
48449         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
48450         (_FP_FRAC_SRL_8): Likewise.
48451         (_FP_FRAC_SRS_8): Likewise.
48453         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
48454         include macro name.
48455         (FP_UNPACK_RAW_EP): Likewise.
48456         (FP_PACK_RAW_E): Likewise.
48457         (FP_PACK_RAW_EP): Likewise.
48458         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
48459         (_FP_ISSIGNAN): Likewise.
48460         (_FP_ADD_INTERNAL): Likewise.
48461         (_FP_FMA): Likewise.
48462         (_FP_CMP): Likewise.
48463         (_FP_SQRT): Likewise.
48464         (_FP_TO_INT): Likewise.
48465         (_FP_FROM_INT): Likewise.
48466         (FP_EXTEND): Likewise.
48467         (_FP_DIV_MEAT_N_loop): Likewise.
48469 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
48471         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
48472         throughout.
48474 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
48476         [BZ #17097]
48477         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
48478         result with correct sign in case of exponents that produce
48479         overflow except for X very close to 1.
48481 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
48483         mktime: merge #if/#ifdef usage from glibc
48484         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
48485         as that works with both Glibc's and Gnulib's style.
48486         See thread starting at Siddhesh Poyarekar's bug report at:
48487         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
48489 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
48491         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
48492         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
48493         * sysdeps/tile/tilegx/memmove.c: Remove file.
48495 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48497         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
48498         abi-name definition.
48499         * scripts/soversions.awk: Do not handle or generate ABI lines.
48500         * shlib-versions: Remove ABI entries.
48501         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
48502         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
48504 2014-06-27  Roland McGrath  <roland@hack.frob.com>
48506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
48507         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
48508         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
48509         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
48510         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
48511         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
48512         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
48513         Moved ...
48514         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
48515         ... here.
48516         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
48517         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
48518         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
48519         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
48520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
48521         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
48522         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
48523         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
48524         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
48525         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
48526         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
48527         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
48528         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
48529         Moved ...
48530         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
48531         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
48532         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
48533         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
48534         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
48535         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
48536         Moved ...
48537         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
48538         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
48539         Moved ...
48540         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
48541         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
48542         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
48543         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
48544         Moved ...
48545         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
48546         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
48547         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
48548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
48549         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
48550         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
48551         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
48552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
48553         Moved ...
48554         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
48555         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
48556         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
48557         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
48558         Moved ...
48559         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
48560         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
48561         Moved ...
48562         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
48563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
48564         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
48565         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
48566         Moved ...
48567         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
48568         ... here.
48569         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
48570         Identical file removed.
48571         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
48572         Moved ...
48573         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
48574         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
48575         Identical file removed.
48576         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
48577         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
48578         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
48579         Moved ...
48580         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
48581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
48582         Identical file removed.
48583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
48584         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
48585         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
48586         Identical file removed.
48587         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
48588         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
48589         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
48590         Identical file removed.
48591         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
48592         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
48593         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
48594         Identical file removed.
48595         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
48596         Moved ...
48597         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
48598         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
48599         Identical file removed.
48600         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
48601         Moved ...
48602         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
48603         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
48604         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
48605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
48606         Identical file removed.
48607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
48608         Moved ...
48609         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
48610         ... here.
48611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
48612         Identical file removed.
48613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
48614         Moved ...
48615         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
48616         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
48617         Identical file removed.
48618         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
48619         Moved ...
48620         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
48621         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
48622         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
48623         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
48624         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
48625         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
48626         Moved ...
48627         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
48628         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
48629         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
48631         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
48632         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
48633         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
48634         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
48635         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
48637 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
48639         [BZ #17092]
48640         * nscd/nscd.c (monitor_child): Return exit status of child
48641         instead of return value from wait syscall.
48643 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
48645         * configure.ac (libc_commonpagesize): Remove variable.
48646         (libc_relro_required): Likewise.
48647         (libc_cv_z_relro): Remove configure test.
48648         * configure: Regenerated.
48649         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
48650         variable.
48651         (libc_relro_required): Likewise.
48652         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
48653         (libc_relro_required): Likewise.
48654         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
48655         (libc_relro_required): Likewise.
48656         * sysdeps/arm/preconfigure: Regenerated.
48657         * sysdeps/ia64/preconfigure: Remove file.
48658         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
48659         variable.
48660         (libc_relro_required): Likewise.
48662         [BZ #16561]
48663         [BZ #16562]
48664         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
48665         (__ieee754_yn): Set FE_TONEAREST mode internally and then
48666         recompute overflowing results in original rounding mode.
48667         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
48668         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
48669         recompute overflowing results in original rounding mode.
48670         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
48671         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48672         recompute overflowing results in original rounding mode.
48673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
48674         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48675         recompute overflowing results in original rounding mode.
48676         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
48677         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
48678         recompute overflowing results in original rounding mode.
48679         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
48680         (libc_feholdsetround_ctx): New macro.
48681         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
48682         * sysdeps/i386/fpu/libm-test-ulps: Update.
48683         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
48685 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48687         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
48688         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
48689         corresponding .cpsetup call.
48691 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48693         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
48694         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
48695         * sysdeps/arm/Makefile [$(subdir) = csu]
48696         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
48697         (static-only-routines): Add aeabi_read_tp here.
48698         (shared-only-routines): Add libc-aeabi_read_tp here.
48699         (CFLAGS-libc-start.c): Add -fexceptions here.
48700         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
48701         (sysdep_routines, static-only-routines, shared-only-routines):
48702         Don't add to these here.
48703         (CFLAGS-libc-start.c): Likewise.
48705         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
48706         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
48707         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
48708         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
48709         * sysdeps/arm/Makefile [$(subdir) = rt]
48710         (librt-sysdep_routines, librt-shared-only-routines):
48711         Append rt-aeabi_unwind_cpp_pr1 here.
48712         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
48713         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
48714         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
48715         (libpthread-sysdep_routines, libpthread-shared-only-routines):
48716         Append nptl-aeabi_unwind_cpp_pr1 here.
48717         (tests): Filter out tst-cleanupx4 here.
48718         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
48719         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
48720         Don't do those here.
48722 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48724         * scripts/list-sources.sh: Do not handle ports specially.
48726 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48728         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
48729         * sysdeps/arm/feupdateenv.c: Likewise.
48731         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
48733 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48735         * manual/texinfo.tex: Update to version 2014-05-05.10 with
48736         trailing whitespace removed.
48737         * scripts/config.guess: Update to version 2014-03-23.
48738         * scripts/config.sub: Update to version 2014-05-01
48739         * scripts/install-sh: Update to version 2013-12-25.23.
48740         * scripts/move-if-change: Update from gnulib.
48742 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48744         * debug/memmove_chk.c: Remove pagecopy.h include.
48746 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
48748         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
48749         identical to gnulib mktime.
48751 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
48753         * configure.ac: Do not test for machine being rs6000.  Do not test
48754         for powerpc*-*soft.
48755         * configure: Regenerated.
48757         [BZ #11505]
48758         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
48759         test.
48760         * configure: Regenerated.
48761         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
48762         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
48763         Remove configure test.
48764         * sysdeps/arm/configure: Regenerated.
48765         * sysdeps/nptl/configure.ac: Do not check
48766         libc_cv_asm_cfi_directives.
48767         * sysdeps/nptl/configure: Regenerated.
48768         * sysdeps/x86_64/nptl/configure.ac: Remove file.
48769         * sysdeps/x86_64/nptl/configure: Remove generated file.
48770         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
48771         unconditional.
48772         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
48774 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48776         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
48777         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
48778         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
48779         it is defined.
48781         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
48782         instead of whether it is defined.
48783         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
48784         * sysdeps/hppa/dl-machine.h: Likewise.
48785         * sysdeps/ia64/dl-machine.h: Likewise.
48786         * sysdeps/m68k/dl-machine.h: Likewise.
48787         * sysdeps/microblaze/dl-machine.h: Likewise.
48788         * sysdeps/mips/dl-machine.: Likewise.
48789         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48790         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48791         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48792         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48793         * sysdeps/sh/dl-machine.h: Likewise.
48794         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48795         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48796         * sysdeps/tile/dl-machine.h: Likewise.
48797         * sysdeps/x86_64/dl-machine.h: Likewise.
48799         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
48800         code.
48801         (verify_persistent_db): Likewise.
48803 2014-06-26  Roland McGrath  <roland@hack.frob.com>
48805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
48806         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
48807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
48808         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
48809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48810         Moved ...
48811         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
48812         ... here.
48813         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
48814         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
48815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
48816         Identical file removed.
48817         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
48818         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
48819         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
48820         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
48821         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
48822         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
48823         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
48824         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
48825         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
48826         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
48827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48828         Moved ...
48829         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
48830         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
48831         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
48832         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
48833         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
48834         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48835         Moved ...
48836         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
48837         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
48838         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
48839         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
48840         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
48841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
48842         Identical file removed.
48843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
48844         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
48845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
48846         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
48847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48848         Moved ...
48849         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
48850         ... here.
48851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
48852         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
48853         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
48854         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
48855         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
48856         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
48857         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48858         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48859         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48860         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48862         Moved ...
48863         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48865         Moved ...
48866         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48868         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48870         Moved ...
48871         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48873         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48875         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48876         folded into ...
48877         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48878         * sysdeps/unix/sysv/linux/s390/Versions
48879         (libpthread: GLIBC_2.19): New version set.
48880         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48881         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48882         (librt: GLIBC_2.3.3): New version set.
48883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48884         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48885         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48886         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48887         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48888         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48889         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48890         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48891         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48892         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48893         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48894         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48895         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48896         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48897         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48898         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48899         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48900         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48901         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48902         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48903         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48904         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48905         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48906         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48907         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48908         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48909         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48910         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48911         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48912         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48913         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48914         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48915         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48918         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48919         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48920         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48921         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48922         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48923         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48925         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48926         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48927         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48929         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48930         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48931         (__libc_vfork): Define the function under this name.
48932         [!NOT_IN_libc] (__vfork): Make this an alias.
48933         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48934         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48935         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48936         (__libc_vfork): Define the function under this name.
48937         [!NOT_IN_libc] (__vfork): Make this an alias.
48938         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48939         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48940         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48942         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48943         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48945         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48946         code that was previously under [RESET_PID].
48947         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48948         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48949         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48951         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48952         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48953         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48954         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48955         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48956         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48957         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48958         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48959         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48960         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48961         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48962         Moved ...
48963         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48964         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48965         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48966         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48967         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48968         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48969         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48970         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48971         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48972         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48973         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48974         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48975         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48976         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48977         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48978         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48979         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48980         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48981         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48982         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48983         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48984         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48985         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48986         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48987         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48988         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48989         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48990         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48991         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48993 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48995         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48996         that was previously under [RESET_PID].
48997         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48999 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49001         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
49002         not undefine and redefine.
49003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
49004         [O_CLOEXEC]: Make code unconditional.
49005         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
49006         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
49007         <kernel-features.h>.
49008         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
49009         conditional variable definition.
49010         (shm_open) [O_CLOEXEC]: Make code unconditional.
49011         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
49012         code.
49014         * configure.ac (USE_REGPARMS): Don't define here.
49015         * configure: Regenerated.
49016         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
49017         * sysdeps/i386/configure: Regenerated.
49019         * nptl/createthread.c: Don't include kernel-features.h.
49020         * nptl/pthread_cancel.c: Likewise.
49021         * nptl/pthread_condattr_setclock.c: Likewise.
49022         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
49023         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
49024         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
49025         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
49026         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
49027         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
49028         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
49029         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
49030         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
49031         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
49032         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
49033         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
49034         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
49035         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
49036         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
49037         * nscd/gai.c: Likewise.
49038         * nss/nss_db/db-open.c: Likewise.
49039         * sysdeps/generic/ldsodefs.h: Likewise.
49040         * sysdeps/sh/nptl/tls.h: Likewise.
49041         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
49042         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
49043         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
49044         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
49045         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
49046         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
49047         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
49048         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
49049         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
49050         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
49051         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
49052         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
49053         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
49054         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
49055         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
49056         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
49057         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
49058         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
49059         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
49060         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
49061         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
49062         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
49063         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
49064         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
49065         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
49066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
49067         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
49068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
49069         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
49070         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
49071         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
49072         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
49073         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
49074         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49075         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49076         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
49077         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49078         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
49079         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
49080         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
49081         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49082         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
49083         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
49084         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
49085         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
49086         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
49087         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
49088         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
49089         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
49090         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
49091         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
49092         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
49093         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
49094         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
49095         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
49096         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
49097         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
49098         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
49099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
49100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
49101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
49102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
49103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
49104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
49105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
49106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
49107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
49108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
49109         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
49110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
49111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
49112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
49113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
49114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
49115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
49116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
49117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
49118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
49119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
49120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
49121         * sysdeps/unix/sysv/linux/pread.c: Likewise.
49122         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
49123         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
49124         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
49125         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
49126         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
49127         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
49128         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
49129         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
49130         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
49131         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
49132         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
49133         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
49134         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
49135         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
49136         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
49137         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
49138         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
49139         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
49140         * sysdeps/unix/sysv/linux/system.c: Likewise.
49141         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
49142         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
49143         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
49144         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
49145         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
49146         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
49147         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
49149         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
49150         * configure: Regenerated.
49151         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
49153         * configure.ac (base_machine): Do not set specially for particular
49154         machines here.
49155         * configure: Regenerated.
49156         * sysdeps/powerpc/preconfigure: Move machine and base_machine
49157         settings from configure.ac.
49158         * sysdeps/i386/preconfigure: New file.
49159         * sysdeps/s390/preconfigure: Likewise.
49160         * sysdeps/sh/preconfigure: Likewise.
49161         * sysdeps/sparc/preconfigure: Likewise.
49163 2014-06-25  Roland McGrath  <roland@hack.frob.com>
49165         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
49166         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
49167         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
49168         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
49169         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
49170         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
49171         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
49172         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
49173         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
49174         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
49175         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
49176         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
49177         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
49178         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
49179         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
49180         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
49181         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
49182         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
49183         * sysdeps/sparc/sparc64/Makefile: ... appended here.
49185         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
49186         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
49187         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
49188         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
49189         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
49190         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
49191         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
49192         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
49193         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
49194         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
49195         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
49196         * sysdeps/sparc/sparc32/sem_post.c: ... here.
49197         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
49198         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
49199         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
49200         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
49201         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
49202         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
49203         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
49204         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
49205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
49206         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
49207         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
49208         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
49209         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
49210         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
49211         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
49212         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
49213         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
49214         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
49215         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
49216         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
49217         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
49218         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
49219         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
49220         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
49221         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
49222         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
49224         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
49225         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
49226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
49227         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
49228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
49229         Moved ...
49230         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
49231         ... here.
49232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
49233         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
49234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
49235         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
49236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
49237         Moved ...
49238         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
49239         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
49240         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
49241         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
49242         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
49243         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
49244         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
49245         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
49246         Moved ...
49247         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
49248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
49249         Moved ...
49250         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
49251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
49252         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
49253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
49254         Moved ...
49255         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
49256         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
49257         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
49258         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
49259         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
49260         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
49261         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
49262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
49263         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
49264         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
49265         Moved ...
49266         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
49267         ... here.
49268         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
49269         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
49270         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
49271         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
49272         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
49273         Moved ...
49274         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
49275         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
49276         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
49277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
49278         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
49279         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
49280         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
49281         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
49282         Moved ...
49283         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
49284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
49285         Moved ...
49286         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
49287         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
49288         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
49289         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
49290         Moved ...
49291         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
49292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
49293         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
49294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
49295         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
49297 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49299         * timezone/checktab.awk: Update from tzcode 2014e.
49300         * timezone/private.h: Likewise.
49301         * timezone/tzfile.h: Likewise.
49302         * timezone/zdump.c: Likewise.
49303         * timezone/zic.c: Likewise.
49305         * sysdeps/unix/sysv/linux/kernel-features.h
49306         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
49307         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
49308         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
49309         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
49310         Remove conditional code.
49312 2014-06-25  Will Newton  <will.newton@linaro.org>
49314         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
49315         (_dl_arm_cap_flags): Add HWCAP2 values.
49316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
49317         (_DL_HWCAP_COUNT): Increase to 37.
49318         (_DL_HWCAP_LAST): New define.
49319         (_DL_HWCAP2_LAST): New define.
49320         (_dl_procinfo): Add support for printing
49321         AT_HWCAP2 entries.
49322         (_dl_string_hwcap): Use _dl_hwcap_string.
49324 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49328 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
49330         * README: Do not mention ports directory.
49332         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
49333         Remove macro.
49334         * sysdeps/unix/sysv/linux/futimes.c: Do not include
49335         <kernel-features.h>.
49336         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
49337         conditional variable definition.
49338         (__futimes): Update comment.
49339         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
49340         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
49342         [BZ #16560]
49343         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
49344         arguments close to 0.
49345         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
49346         Likewise.
49347         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
49348         Likewise.
49349         * math/auto-libm-test-in: Add more tests of exp10.
49350         * math/auto-libm-test-out: Regenerated.
49351         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49353         * sysdeps/unix/sysv/linux/kernel-features.h
49354         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
49355         * sysdeps/unix/sysv/linux/readv.c: Do not include
49356         <kernel-features.h>.
49357         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49358         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49359         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49360         unconditional.
49361         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49362         conditional code.
49363         * sysdeps/unix/sysv/linux/writev.c: Do not include
49364         <kernel-features.h>.
49365         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
49366         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
49367         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
49368         unconditional.
49369         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
49370         conditional code.
49372 2014-06-25  Will Newton  <will.newton@linaro.org>
49374         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
49375         comment changes throughout the file.  Remove checks
49376         for HAVE_*_H definitions that are not required.
49377         (__gen_tempname): Call abort if an unknown kind value is
49378         passed.
49380 2014-06-25  Andreas Schwab  <schwab@suse.de>
49382         [BZ #17086]
49383         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
49384         scalbln, scalblnf, scalblnl in libc.
49386 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49388         [BZ #17086]
49389         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
49390         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49391         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49393 2014-06-24  Roland McGrath  <roland@hack.frob.com>
49395         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
49396         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
49397         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
49398         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
49399         Update #include.
49400         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
49401         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
49402         Update #include.
49403         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
49404         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
49405         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
49406         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
49407         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
49408         * sysdeps/x86/bits/pthreadtypes.h: ... here.
49409         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
49410         * sysdeps/x86/bits/semaphore.h: ... here.
49411         * sysdeps/x86/nptl/elide.h: Moved ...
49412         * sysdeps/x86/elide.h: ... here.
49413         * sysdeps/x86_64/nptl/Implies: File removed.
49414         * sysdeps/i386/nptl/Implies: File removed.
49416 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
49418         [BZ #16539]
49419         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
49420         return the argument for normal arguments with exponent below -64.
49421         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
49422         Likewise.
49423         * math/auto-libm-test-in: Add another test of expm1.
49424         * math/auto-libm-test-out: Regenerated.
49426         [BZ #16287]
49427         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
49428         calling __erfcl for arguments at least 16.
49429         * math/auto-libm-test-in: Add more tests of erf.
49430         * math/auto-libm-test-out: Regenerated.
49432         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
49433         individual architectures.
49434         * sysdeps/unix/sysv/linux/configure: Regenerated.
49435         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
49436         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
49437         * sysdeps/unix/sysv/linux/powerpc/configure.ac
49438         (ldd_rewrite_script): Define variable.
49439         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
49440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
49441         file.
49442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
49443         generated file.
49444         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
49445         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
49446         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
49447         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
49448         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
49449         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
49450         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
49451         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
49453 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49455         [BZ #17084]
49456         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
49457         Rename member __data.d to __data.__elision_data.
49459 2014-06-24  Wilco  <wdijkstr@arm.com>
49461         * NEWS: Add 16918 to fixed bug list.
49463 2014-06-24  Wilco  <wdijkstr@arm.com>
49465         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
49467 2014-06-24  Wilco  <wdijkstr@arm.com>
49469         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
49470         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
49471         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
49472         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
49473         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
49474         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
49475         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
49476         Use _FPU_MASK_RM.
49478 2014-06-24  Wilco  <wdijkstr@arm.com>
49480         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
49482 2014-06-24  Wilco  <wdijkstr@arm.com>
49484         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
49485         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
49486         * sysdeps/arm/fesetround.c (fesetround): Remove space.
49487         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
49489 2014-06-24  Wilco  <wdijkstr@arm.com>
49491         [BZ #16918]
49492         * sysdeps/arm/feupdateenv.c (feupdateenv):
49493         Rewrite to reduce FPSCR accesses and fix return value.
49495 2014-06-24  Wilco  <wdijkstr@arm.com>
49497         * sysdeps/arm/fclrexcpt.c (feclearexcept):
49498         Optimize to avoid unnecessary FPSCR writes.
49499         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
49500         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
49501         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
49502         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
49504 2014-06-24  Wilco  <wdijkstr@arm.com>
49506         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
49507         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
49508         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
49509         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
49510         Call libc_fetestexcept_vfp.
49511         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
49512         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
49513         __SOFTFP__ ifdef so that they can be built for softfp.
49515 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49517         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
49518         argument type signed char.
49520         * Makerules (check-abi): Dump diff of symlist if the test
49521         fails.
49523 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49525         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
49526         using abort.
49528         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
49529         Remove unused variable ST.
49531 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49533         [BZ #16354]
49534         [BZ #17061]
49535         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
49536         small arguments before calling __expm1.
49537         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
49538         small arguments before calling __expm1f.
49539         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
49540         small arguments before calling __expm1l.
49541         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
49542         Likewise.
49543         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
49544         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
49545         spurious underflow for some cosh tests.
49546         * math/auto-libm-test-out: Regenerated.
49547         * sysdeps/i386/fpu/libm-test-ulps: Update.
49549         [BZ #17050]
49550         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
49551         (__ieee754_y1): Set errno if return value overflows.
49552         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
49553         (__ieee754_y1f): Set errno if return value overflows.
49554         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
49555         (__ieee754_y1l): Set errno if return value overflows.
49556         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
49557         (__ieee754_y1l): Set errno if return value overflows.
49558         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
49559         * math/auto-libm-test-out: Regenerated.
49561         * math/gen-auto-libm-tests.c: Document use of
49562         ignore-zero-inf-sign.
49563         (input_flag_type): Add value flag_ignore_zero_inf_sign.
49564         (input_flags): Add ignore-zero-inf-sign.
49565         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
49566         * math/gen-libm-test.pl (generate_testfile): Handle
49567         ignore-zero-inf-sign.
49568         * math/auto-libm-test-in: Mark some cpow tests with
49569         ignore-zero-inf-sign and some with xfail-rounding.
49570         * math/auto-libm-test-out: Regenerated.
49571         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
49572         * sysdeps/i386/fpu/libm-test-ulps: Update.
49573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49575         [BZ #16315]
49576         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
49577         overflowing or underflowing operations take place with sign of
49578         result.
49579         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49580         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
49581         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
49582         (__ieee754_pow): Recompute overflowing and underflowing results in
49583         original rounding mode.
49584         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
49585         (__powl_helper): Allow negative argument X and scale negated value
49586         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
49587         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
49588         overflowing or underflowing operations take place with sign of
49589         result.
49590         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
49591         Include <math.h>.
49592         * math/auto-libm-test-in: Add more tests of pow.
49593         * math/auto-libm-test-out: Regenerated.
49594         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
49595         (pow_tonearest_test_data): Remove.
49596         (pow_test_tonearest): Likewise.
49597         (pow_towardzero_test_data): Likewise.
49598         (pow_test_towardzero): Likewise.
49599         (pow_downward_test_data): Likewise.
49600         (pow_test_downward): Likewise.
49601         (pow_upward_test_data): Likewise.
49602         (pow_test_upward): Likewise.
49603         (main): Don't call removed functions.
49604         * sysdeps/i386/fpu/libm-test-ulps: Update.
49605         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49607 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
49610         Moved ...
49611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
49612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49613         Moved ...
49614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
49615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
49616         Moved ...
49617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
49618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49619         Moved ...
49620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49622         File removed.
49623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
49624         File removed.
49625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
49626         File removed.
49627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
49628         File removed.
49629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
49630         File removed.
49631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
49632         File removed.
49633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
49634         File removed.
49635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
49636         File removed.
49637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
49638         File removed.
49639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
49640         File removed.
49641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
49642         File removed.
49643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
49644         File removed.
49645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
49646         Moved ...
49647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
49648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
49649         Moved ...
49650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
49651         ... here.
49652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
49653         Moved ...
49654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
49655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
49656         Moved ...
49657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
49658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
49659         Moved ...
49660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
49661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
49662         Moved ...
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
49664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
49665         Moved ...
49666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
49667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
49668         Moved ...
49669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
49670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
49671         Moved ...
49672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
49673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
49674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
49675         ... here.
49676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
49677         Moved ...
49678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
49679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
49680         Moved ...
49681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
49682         ... here.
49683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
49684         Moved ...
49685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
49686         ... here.
49687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
49688         Moved ...
49689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
49690         ... here.
49691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49692         Moved ...
49693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
49694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
49695         Moved ...
49696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
49697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
49698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
49699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
49700         Moved ...
49701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
49702         ... here.
49703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
49704         Moved ...
49705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
49706         ... here.
49707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
49708         Moved ...
49709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
49710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
49711         Moved ...
49712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
49713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
49714         Moved ...
49715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
49716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49717         Moved ...
49718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
49719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
49720         Moved ...
49721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
49722         ... here.
49723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
49724         Moved ...
49725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
49726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
49727         Moved ...
49728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
49729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
49730         Moved ...
49731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
49732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
49733         Moved ...
49734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
49735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
49736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
49737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
49738         Moved ...
49739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
49740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
49741         Moved ...
49742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
49743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
49744         Moved ...
49745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
49746         ... here.
49747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
49748         Moved ...
49749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
49750         ... here.
49751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
49752         Moved ...
49753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
49754         ... here.
49755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
49756         Moved ...
49757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
49758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
49759         Moved ...
49760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
49761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
49762         Moved ...
49763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
49764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
49765         Moved ...
49766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
49767         ... here.
49768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
49769         Moved ...
49770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
49771         ... here.
49772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
49773         Moved ...
49774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
49775         ... here.
49776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
49777         Moved ...
49778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
49779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49780         Moved ...
49781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
49783 2014-06-23  Will Newton  <will.newton@linaro.org>
49784             Wilco  <wdijkstr@arm.com>
49786         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
49787         implementation.  Include get-rounding-mode.h.
49788         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
49789         [!libc_feholdsetround_noex_ctx]: Define
49790         libc_feholdsetround_noex_ctx.
49791         [!libc_feholdsetround_noexf_ctx]: Define
49792         libc_feholdsetround_noexf_ctx.
49793         [!libc_feholdsetround_noexl_ctx]: Define
49794         libc_feholdsetround_noexl_ctx.
49795         (libc_feholdsetround_ctx): New function.
49796         (libc_feresetround_ctx): New function.
49797         (libc_feholdsetround_noex_ctx): New function.
49798         (libc_feresetround_noex_ctx): New function.
49800 2014-06-23  Roland McGrath  <roland@hack.frob.com>
49802         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
49803         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
49804         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
49805         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
49806         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
49807         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
49809         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
49810         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
49811         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
49812         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
49813         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
49814         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
49815         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
49816         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
49817         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
49818         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
49819         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
49820         Moved ...
49821         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
49822         ... here.
49823         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
49824         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
49825         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
49826         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
49827         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
49828         Moved ...
49829         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
49830         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
49831         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
49832         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
49833         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
49834         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
49835         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
49836         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
49837         Moved ...
49838         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
49839         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
49840         Moved ...
49841         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
49842         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
49843         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
49844         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
49845         Moved ...
49846         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
49847         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
49848         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
49849         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
49850         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
49851         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
49852         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
49853         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
49854         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
49855         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
49856         Moved ...
49857         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49858         ... here.
49859         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49860         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49861         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49862         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49863         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49864         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49865         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49866         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49867         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49868         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49869         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49870         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49871         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49872         Moved ...
49873         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49874         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49875         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49876         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49877         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49878         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49879         Moved ...
49880         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49881         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49882         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49883         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49884         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49886         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49887         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49888         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49889         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49890         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49891         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49892         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49893         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49895         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49896         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49897         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49898         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49899         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49900         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49901         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49902         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49903         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49904         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49905         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49906         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49907         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49908         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49909         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49910         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49911         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49912         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49913         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49915 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49917         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49918         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49919         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49920         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49921         (IPV6_PMTUDISC_INTERFACE): Likewise.
49922         (IPV6_PMTUDISC_OMIT): Likewise.
49924 2014-06-23  Andreas Schwab  <schwab@suse.de>
49926         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49927         Remove unused errout label.
49929 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49931         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49932         macro: hardware supports Vector Crypto instructions.
49934 2014-06-23  Will Newton  <will.newton@linaro.org>
49936         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49937         rather than __builtin_expect.
49939         * elf/dl-lookup.c (undefined_msg): Remove variable.
49940         (_dl_lookup_symbol_x): Replace undefined_msg with string
49941         literal.
49943         * elf/dl-lookup.c (do_lookup_unique): New function.
49944         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49945         to a separate function.
49947 2014-06-23  Andreas Schwab  <schwab@suse.de>
49949         [BZ #17079]
49950         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49951         before reading the next line.
49953 2014-06-23  Will Newton  <will.newton@linaro.org>
49955         * test-skeleton.c (signal_handler): Use printf and %m
49956         rather than perror.  Use printf rather than fprintf to
49957         stderr.  Use puts rather than fputs to stderr.
49958         (main): Likewise.
49960 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
49962         * nscd/nscd.c (thread_info_t): Remove typedef.
49963         (thread_info): Remove variable.
49965 2014-06-21  Allan McRae  <allan@archlinux.org>
49967         * NEWS: Mention CVE-2014-4043.
49969 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49971         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49972         * nptl/smp.h: ... here.
49974         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49976         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49977         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49978         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49979         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49981         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49982         * nptl/stack-aliasing.h: New file.
49983         * sysdeps/i386/i686/stack-aliasing.h: New file.
49984         * sysdeps/i386/i686/nptl/Makefile: File removed.
49985         * sysdeps/x86_64/stack-aliasing.h: New file.
49986         * sysdeps/x86_64/nptl/Makefile
49987         (CFLAGS-pthread_create.c): Variable removed.
49989         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49990         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49991         old file.
49992         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49993         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49994         old file.
49996 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49998         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49999         (__ASSUME_SIGFRAME_V2): Remove macro.
50000         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
50001         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
50002         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
50003         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
50004         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
50005         Declare as function.  Remove conditional macro definitions.
50006         (__default_rt_sa_restorer): Likewise.
50007         (__default_sa_restorer_v1): Remove declaration.
50008         (__default_sa_restorer_v2): Likewise.
50009         (__default_rt_sa_restorer_v1): Likewise.
50010         (__default_rt_sa_restorer_v2): Likewise.
50011         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
50012         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
50013         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
50015 2014-06-20  Roland McGrath  <roland@hack.frob.com>
50017         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
50018         (libpthread-routines): Add sysdep.
50019         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
50020         * sysdeps/unix/sysv/linux/sparc/Versions
50021         (libpthread: GLIBC_2.3.3): New version set.
50022         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
50023         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
50024         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
50025         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
50026         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
50027         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
50028         Moved ...
50029         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
50030         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
50031         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
50032         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
50033         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
50034         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
50035         * sysdeps/sparc/nptl/sem_init.c: ... here.
50036         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
50037         * sysdeps/sparc/nptl/sem_post.c: ... here.
50038         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
50039         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
50040         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
50041         * sysdeps/sparc/nptl/sem_wait.c: ... here.
50042         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
50043         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
50044         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
50045         (libpthread-routines): Add cpu_relax.
50046         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
50047         File removed.
50048         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
50049         (librt: GLIBC_2.3.3): New version set.
50050         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
50051         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
50052         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
50053         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
50054         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
50055         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
50056         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
50057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
50058         Moved ...
50059         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
50060         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
50061         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
50062         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
50063         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
50064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
50065         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
50066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
50067         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
50068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
50069         Moved ...
50070         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
50071         Update #include.
50072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
50073         Moved ...
50074         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
50075         Update #include.
50076         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
50077         Moved ...
50078         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
50079         Update #include.
50080         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
50081         Moved ...
50082         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
50083         Update #include.
50084         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
50085         Moved ...
50086         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
50087         Update #include.
50088         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
50089         Moved ...
50090         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
50091         Update #include.
50092         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
50093         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
50094         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
50095         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
50096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
50097         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
50098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
50099         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
50100         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
50101         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
50102         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
50103         Moved ...
50104         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
50105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
50106         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
50107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
50108         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
50110 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50112         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
50113         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
50114         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
50115         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
50116         * nscd/nscd.c: Likewise.
50117         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
50118         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
50119         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
50120         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
50122         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
50123         <kernel-features.h>.
50124         (init_mq_netlink): Remove conditional have_sock_cloexec
50125         definitions.  Remove code conditional on have_sock_cloexec < 0.
50126         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
50127         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
50128         * sysdeps/unix/sysv/linux/opensock.c: Do not include
50129         <kernel-features.h>.
50130         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
50131         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
50133 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
50136         Add tests for memset_chk and memset.
50138         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
50139         with AVX2_Usable.
50141 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
50143         [BZ #16046]
50144         * elf/tst-dl-iter-static.c: New file.
50145         * elf/Makefile (tests-static): Add tst-dl-iter-static.
50147         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
50148         error.
50150 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50152         * sysdeps/unix/sysv/linux/kernel-features.h
50153         (__ASSUME_F_GETOWN_EX): Remove macro.
50154         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
50155         <kernel-features.h>.
50156         (miss_F_GETOWN_EX): Remove variable or macro.
50157         (do_fcntl): Do not check miss_F_GETOWN_EX.
50158         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
50160         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
50161         Remove macro.
50162         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
50163         [!__ASSUME_AT_RANDOM]: Remove conditional code.
50164         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
50166         * sysdeps/unix/sysv/linux/kernel-features.h
50167         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
50168         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
50169         [ADJ_OFFSET_SS_READ]: Make code unconditional.
50170         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
50172 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
50174         [BZ #17075]
50175         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
50176         Fix calculation of the symbol's value.
50177         * sysdeps/arm/tst-armtlsdescloc.c: New file.
50178         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
50179         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
50180         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
50181         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
50182         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
50183         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
50184         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
50185         (modules-names): Add `tst-armtlsdescmod',
50186         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
50187         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
50188         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50189         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
50190         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
50191         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
50192         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
50193         ($(objpfx)tst-armtlsdescloc): New dependency.
50194         ($(objpfx)tst-armtlsdescextnow): Likewise.
50195         ($(objpfx)tst-armtlsdescextlazy): Likewise.
50196         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
50197         TLS scheme support.
50198         * sysdeps/arm/configure: Regenerate.
50200 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
50202         * include/fcntl.h (__atfct_seterrno): Remove prototype.
50203         (__atfct_seterrno_2): Likewise.
50204         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
50205         <kernel-features.h>.
50206         (__ASSUME_ATFCTS): Do not undefine and redefine.
50207         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
50208         (__have_atfcts): Remove conditional definition.
50209         (__fxstatat([__NR_fstatat64]: Make code unconditional.
50210         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
50211         unreachable if [__ASSUME_ATFCTS].
50212         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
50213         not undefine and redefine.
50214         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
50215         <kernel-features.h>.
50216         (faccessat) [__NR_faccessat]: Make code unconditional.
50217         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
50218         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
50219         <kernel-features.h>.
50220         (fchmodat) [__NR_fchmodat]: Make code unconditional.
50221         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50222         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
50223         <kernel-features.h>.
50224         (fchownat) [__NR_fchownat]: Make code unconditional.
50225         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
50226         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
50227         <kernel-features.h>.
50228         (futimesat) [__NR_futimesat]: Make code unconditional.
50229         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
50230         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
50231         <kernel-features.h>.
50232         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50233         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50234         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
50235         <kernel-features.h>.
50236         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
50237         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50238         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
50239         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
50240         <kernel-features.h>.
50241         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
50242         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50243         * sysdeps/unix/sysv/linux/linkat.c: Do not include
50244         <kernel-features.h>.
50245         (linkat) [__NR_linkat]: Make code unconditional.
50246         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50247         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
50248         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
50249         <kernel-features.h>.
50250         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
50251         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
50252         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
50253         <kernel-features.h>.
50254         (mkdirat) [__NR_mkdirat]: Make code unconditional.
50255         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
50256         * sysdeps/unix/sysv/linux/openat.c: Do not include
50257         <kernel-features.h>.
50258         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
50259         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
50260         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
50261         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
50262         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
50263         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
50264         <kernel-features.h>.
50265         (readlinkat) [__NR_readlinkat]: Make code unconditional.
50266         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
50267         result of INLINE_SYSCALL directly, not via int variable.
50268         * sysdeps/unix/sysv/linux/renameat.c: Do not include
50269         <kernel-features.h>.
50270         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
50271         (renameat) [__NR_renameat]: Make code unconditional.
50272         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
50273         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
50274         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
50275         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
50276         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
50277         (__ASSUME_ATFCTS): Do not undefine and redefine.
50278         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
50279         <kernel-features.h>.
50280         (symlinkat) [__NR_symlinkat]: Make code unconditional.
50281         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50282         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
50283         <kernel-features.h>.
50284         (unlinkat) [__NR_unlinkat]: Make code unconditional.
50285         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
50286         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
50287         (__ASSUME_ATFCTS): Do not undefine and redefine.
50288         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
50289         <kernel-features.h>.
50290         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
50291         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
50292         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
50293         <kernel-features.h>.
50294         (__xmknodat) [__NR_mknodat]: Make code unconditional.
50295         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
50297 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
50299         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
50301 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
50303         [BZ #17069]
50304         * posix/regcomp.c (parse_reg_exp): Deallocate partially
50305         constructed tree before returning error.
50306         * posix/bug-regexp36.c: Expand test case.
50308 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
50310         [BZ #6803]
50311         * math/libm-test.inc (scalbln_test_date):
50312         Add errno expectations.
50313         * math/w_scalblnf.c: New File.
50314         Add wrapper which checks for setting errno to ERANGE.
50315         Add weak_alias for corresponding scalbln function.
50316         * math/w_scalbln.c: Likewise.
50317         * math/w_scalblnl.c: Likewise.
50318         * math/Makefile (libm-calls): Add w_scalbln.
50319         * sysdeps/ieee754/flt-32/s_scalblnf.c:
50320         Remove weak_alias for corresponding scalbln function.
50321         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
50322         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
50323         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
50324         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50325         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
50326         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
50327         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
50328         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
50329         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
50330         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
50331         Remove long_double_symbol for scalblnl function in libm, libc.
50332         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
50333         Add wrapper which checks for setting errno to ERANGE.
50334         Add long_double_symbol for scalblnl function in libm, libc.
50335         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
50336         Remove long_double_symbol for scalblnl in libm.
50337         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
50338         Add wrapper which checks for setting errno to ERANGE.
50339         Add long_double_symbol for scalblnl function in libm.
50340         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
50341         Do not use wrapper because of own implementation.
50343 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
50345         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
50346         3 bytes for __pad1 for x32.
50347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
50349 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
50350             H.J. Lu  <hongjiu.lu@intel.com>
50352         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
50353         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
50354         * sysdeps/x86_64/multiarch/memset.S: Likewise.
50355         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
50356         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
50358 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
50360         [BZ #17069]
50361         * posix/regcomp.c (parse_expression): Deallocate partially
50362         constructed tree before returning error.
50363         * posix/Makefile.c (tests): Add bug-regex36.
50364         (generated): Add bug-regex36.mtrace.
50365         (tests-special): Add $(objpfx)bug-regex36-mem.out
50366         (bug-regex36-ENV): New variable.
50367         ($(objpfx)bug-regex36-mem.out): New rule.
50368         * posix/bug-regex36.c: New file.
50370 2014-06-19  Will Newton  <will.newton@linaro.org>
50372         * malloc/malloc.c (systrim): If extra is zero then return
50373         early.
50375 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
50377         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
50379 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
50381         * sysdeps/aarch64/strchr.S: New file.
50383 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50385         [BZ #17022]
50386         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
50387         from arguments -2 or below.
50388         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
50389         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
50391 2014-06-18  Andreas Schwab  <schwab@suse.de>
50393         [BZ #17062]
50394         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
50395         of a bracket expr not to run off the end of the string.
50396         * posix/Makefile (tests): Add tst-fnmatch3.
50397         * posix/tst-fnmatch3.c: New file.
50399 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
50401         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
50402         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50403         [$(cross-compiling) = no]: Likewise.
50404         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50405         [$(cross-compiling) = no]: Likewise.
50407 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
50409         [BZ #17031]
50410         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
50411         double, adjusted for any remainder from the high double.
50412         * math/libm-test.inc (nearbyint): Add tests.
50413         (rint): Likewise.
50415 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50417         * nptl/sysdeps/powerpc/Makefile: Moved ...
50418         * sysdeps/powerpc/nptl/Makefile: ... here.
50419         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
50420         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
50421         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
50422         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
50423         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
50424         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
50425         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
50426         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
50427         * nptl/sysdeps/powerpc/tls.h: Moved ...
50428         * sysdeps/powerpc/nptl/tls.h: ... here.
50430 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
50432         [BZ #16681]
50433         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
50434         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
50435         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
50436         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
50437         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
50438         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
50439         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
50440         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
50441         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
50443 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
50445         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
50447 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
50449         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
50450         defined operator.
50452         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
50453         $TIMEOUTFACTOR.
50455 2014-06-16  Florian Weimer  <fweimer@redhat.com>
50457         [BZ #17058]
50458         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
50459         non-executed part of the test.
50461 2014-06-16  Andreas Schwab  <schwab@suse.de>
50463         * string/bits/string2.h (strdup, strndup): Update feature guard.
50465 2014-06-14  David S. Miller  <davem@davemloft.net>
50467         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50469 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
50471         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
50472         that was previously under [RESET_PID].
50473         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
50475         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
50476         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
50477         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
50478         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50479         (__libc_vfork): New strong alias.
50480         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
50482 2014-06-14 Andi Kleen  <ak@linux.intel.com>
50484         * sysdeps/generic/elide.h: New file.
50486 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
50488         * Makefile (installed-headers): Adjust path of pthread.h header.
50490 2014-06-13  Roland McGrath  <roland@hack.frob.com>
50492         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
50493         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
50494         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
50495         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
50497         * nptl/sysdeps/s390/Makefile: Moved ...
50498         * sysdeps/s390/nptl/Makefile: ... here.
50499         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
50500         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
50501         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
50502         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
50503         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
50504         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
50505         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
50506         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
50507         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
50508         * sysdeps/s390/nptl/pthreaddef.h: ... here.
50509         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
50510         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
50511         * nptl/sysdeps/s390/tls.h: Moved ...
50512         * sysdeps/s390/nptl/tls.h: ... here.
50514         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
50515         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
50517 2014-06-13  David S. Miller  <davem@davemloft.net>
50519         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
50520         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
50521         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
50522         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
50523         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
50524         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
50525         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
50526         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
50527         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
50528         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
50529         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
50530         Remove RESET_PID cpp guards.
50531         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
50532         Remove RESET_PID cpp guards.
50533         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
50535 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
50537         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
50538         __sp to uintptr_t.
50540 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50542         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
50543         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
50544         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
50545         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
50546         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
50547         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
50548         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
50549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
50550         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
50551         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
50552         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
50553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
50554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
50555         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
50556         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
50557         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
50558         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
50559         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
50560         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
50561         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
50563         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
50564         (pthread_rwlock_rdlock): Add elision.
50565         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
50566         (pthread_rwlock_wrlock): Add elision.
50567         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
50568         (pthread_rwlock_trywrlock): Add elision.
50569         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
50570         (pthread_rwlock_tryrdlock): Add elision.
50571         * nptl/pthread_rwlock_unlock.c: Include elide.h.
50572         (pthread_rwlock_tryrdlock): Add elision unlock.
50573         * nptl/sysdeps/pthread/pthread.h:
50574         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
50575         (PTHREAD_RWLOCK_INITIALIZER,
50576         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
50577         Handle new elision field.
50578         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
50579         * sysdeps/arm/nptl/bits/pthreadtypes.h
50580         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50581         * sysdeps/sh/nptl/bits/pthreadtypes.h
50582         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50583         * sysdeps/tile/nptl/bits/pthreadtypes.h
50584         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50585         * sysdeps/a/nptl/bits/pthreadtypes.h
50586         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50587         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50588         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50589         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50590         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50591         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
50592         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50593         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50594         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50595         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50596         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50597         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50598         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50599         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50600         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50601         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
50602         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50603         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
50604         (elision_init): Set try_xbegin to zero when no RTM.
50605         * sysdeps/x86/nptl/bits/pthreadtypes.h
50606         (pthread_rwlock_t): Change __pad1 to __rwelision.
50607         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
50609 2014-06-13  Andi Kleen  <ak@linux.intel.com>
50611         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
50612         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
50613         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
50614         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
50616 2014-06-13  Meador Inge  <meadori@codesourcery.com>
50618         [BZ #16996]
50619         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
50620         that the cached result has been set before returning it.
50622 2014-06-12  Roland McGrath  <roland@hack.frob.com>
50624         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
50625         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
50626         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
50627         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
50628         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
50629         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
50631         * nptl/sysdeps/sparc/Makefile: Moved ...
50632         * sysdeps/sparc/nptl/Makefile: ... here.
50633         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
50634         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
50635         * nptl/sysdeps/sparc/tls.h: Moved ...
50636         * sysdeps/sparc/nptl/tls.h: ... here.
50637         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
50638         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
50639         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
50640         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
50641         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
50642         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
50643         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
50644         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
50645         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
50646         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
50647         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
50648         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
50649         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
50650         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
50651         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
50652         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
50653         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
50654         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
50655         Update #include.
50656         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
50657         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
50658         Update #include.
50659         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
50660         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
50661         Update #include.
50662         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
50663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
50664         Update #include.
50666         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50668         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
50669         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
50671         * sysdeps/pthread/posix-timer.h: Include <list.h>.
50672         (struct list_links): Type removed.
50673         (struct thread_node, struct timer_node): Replace struct list_links
50674         with struct list_head.
50675         (list_unlink_ip): Likewise.
50676         * sysdeps/pthread/timer_routines.c
50677         (timer_free_list, thread_free_list, thread_active_list): Likewise.
50678         (list_append, list_insbefore): Likewise.
50679         (list_init): Function removed.
50680         (thread_init, init_module): Use INIT_LIST_HEAD instead.
50681         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
50682         * sysdeps/pthread/Makefile: ... here, new file.
50684         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
50685         * sysdeps/nptl/Implies: ... here.
50686         * sysdeps/unix/sysv/linux/Implies: Add nptl.
50687         * nptl/sysdeps/pthread/list.h: Moved ...
50688         * include/list.h: ... here.
50689         * nptl/sysdeps/pthread/createthread.c: Moved ...
50690         * nptl/createthread.c: ... here.
50691         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
50692         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
50693         * nptl/pt-longjmp.c: ... here.
50694         * nptl/sysdeps/pthread/Makefile: Moved ...
50695         * sysdeps/nptl/Makefile: ... here.
50696         * nptl/sysdeps/pthread/Subdirs: Moved ...
50697         * sysdeps/nptl/Subdirs: ... here.
50698         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
50699         * sysdeps/nptl/aio_misc.h: ... here.
50700         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
50701         * sysdeps/nptl/bits/libc-lock.h: ... here.
50702         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
50703         * sysdeps/nptl/bits/libc-lockP.h: ... here.
50704         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
50705         * sysdeps/nptl/bits/stdio-lock.h: ... here.
50706         * nptl/sysdeps/pthread/configure: Moved ...
50707         * sysdeps/nptl/configure: ... here.
50708         * nptl/sysdeps/pthread/configure.ac: Moved ...
50709         * sysdeps/nptl/configure.ac: ... here.
50710         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
50711         * sysdeps/nptl/gai_misc.h: ... here.
50712         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
50713         * sysdeps/nptl/librt-cancellation.c: ... here.
50714         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
50715         * sysdeps/nptl/malloc-machine.h: ... here.
50716         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
50717         * sysdeps/nptl/pthread-functions.h: ... here.
50718         * nptl/sysdeps/pthread/pthread.h: Moved ...
50719         * sysdeps/nptl/pthread.h: ... here.
50720         * nptl/sysdeps/pthread/setxid.h: Moved ...
50721         * sysdeps/nptl/setxid.h: ... here.
50722         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
50723         * sysdeps/nptl/sigfillset.c: ... here.
50724         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
50725         * sysdeps/nptl/tcb-offsets.h: ... here.
50726         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
50727         * sysdeps/nptl/tst-mqueue8x.c: ... here.
50728         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
50729         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
50730         * nptl/sysdeps/pthread/allocalim.h: Moved ...
50731         * sysdeps/pthread/allocalim.h: ... here.
50732         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
50733         * sysdeps/pthread/bits/sigthread.h: ... here.
50734         * nptl/sysdeps/pthread/flockfile.c: Moved ...
50735         * sysdeps/pthread/flockfile.c: ... here.
50736         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
50737         * sysdeps/pthread/ftrylockfile.c: ... here.
50738         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
50739         * sysdeps/pthread/funlockfile.c: ... here.
50740         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
50741         * sysdeps/pthread/posix-timer.h: ... here.
50742         * nptl/sysdeps/pthread/timer_create.c: Moved ...
50743         * sysdeps/pthread/timer_create.c: ... here.
50744         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
50745         * sysdeps/pthread/timer_delete.c: ... here.
50746         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
50747         * sysdeps/pthread/timer_getoverr.c: ... here.
50748         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
50749         * sysdeps/pthread/timer_gettime.c: ... here.
50750         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
50751         * sysdeps/pthread/timer_routines.c: ... here.
50752         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
50753         * sysdeps/pthread/timer_settime.c: ... here.
50754         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
50755         * sysdeps/pthread/tst-timer.c: ... here.
50756         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
50757         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
50759         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
50760         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
50762         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
50763         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
50764         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
50765         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
50766         Update #include target.
50767         * nptl/sysdeps/i386/i686/Makefile: Moved ...
50768         * sysdeps/i386/i686/nptl/Makefile: ... here.
50769         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
50770         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
50771         Update #include target.
50772         * nptl/sysdeps/i386/i686/tls.h: Moved ...
50773         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
50774         * nptl/sysdeps/i386/Makefile: Moved ...
50775         * sysdeps/i386/nptl/Makefile: ... here.
50776         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
50777         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
50778         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
50779         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
50780         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
50781         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
50782         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
50783         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
50784         * sysdeps/i386/nptl/pthreaddef.h: ... here.
50785         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
50786         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
50787         * nptl/sysdeps/i386/tls.h: Moved ...
50788         * sysdeps/i386/nptl/tls.h: ... here.
50790         * sysdeps/sh/Makefile [$(subdir) = csu]
50791         (gen-as-const-headers): Add tcb-offsets.sym.
50792         * nptl/sysdeps/sh/Makefile: File removed.
50793         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
50794         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
50795         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
50796         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
50797         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
50798         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
50799         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
50800         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
50801         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
50802         * sysdeps/sh/nptl/pthreaddef.h: ... here.
50803         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
50804         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
50805         * nptl/sysdeps/sh/tls.h: Moved ...
50806         * sysdeps/sh/nptl/tls.h: ... here.
50807         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
50808         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
50809         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
50810         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
50811         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
50812         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
50813         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
50814         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
50815         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
50816         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
50817         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
50818         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
50819         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
50820         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
50821         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
50822         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
50823         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
50824         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
50825         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
50826         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
50827         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
50828         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
50829         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
50830         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
50831         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
50832         Moved ...
50833         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
50834         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
50835         Moved ...
50836         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
50837         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
50838         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
50839         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
50840         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
50841         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
50842         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
50843         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
50844         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
50845         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
50846         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
50847         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
50848         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
50849         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
50850         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
50851         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
50852         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
50853         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
50854         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
50856 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50858         * posix/spawn_faction_addopen.c: Include string.h.
50860 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50862         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50863         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50864         * nptl/sysdeps/x86_64/Makefile: Moved ...
50865         * sysdeps/x86_64/nptl/Makefile: ... here.
50866         * nptl/sysdeps/x86_64/configure: Moved ...
50867         * sysdeps/x86_64/nptl/configure: ... here.
50868         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50869         * sysdeps/x86_64/nptl/configure.ac: ... here.
50870         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50871         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50872         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50873         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50874         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50875         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50876         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50877         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50878         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50879         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50880         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50881         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50882         * nptl/sysdeps/x86_64/tls.h: Moved ...
50883         * sysdeps/x86_64/nptl/tls.h: ... here.
50884         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50885         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50886         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50887         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50889         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50891 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50893         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50895 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50897         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50898         type.
50899         [POSIX] (off_t): Likewise.
50900         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50901         [POSIX] (S_ISBLK): Require macro.
50902         [POSIX] (S_ISCHR): Likewise.
50903         [POSIX] (S_ISDIR): Likewise.
50904         [POSIX] (S_ISFIFO): Likewise.
50905         [POSIX] (S_ISREG): Likewise.
50906         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50907         optional-macro.
50908         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50909         type.
50910         [POSIX] (time_t): Likewise.
50911         [POSIX] (timer_t): Likewise.
50913 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50915         [BZ #17048]
50916         * posix/spawn_int.h (struct __spawn_action): Make the path string
50917         non-const to support deallocation.
50918         * posix/spawn_faction_addopen.c
50919         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50920         * posix/spawn_faction_destroy.c
50921         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50922         path in all spawn_do_open actions.
50923         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50924         posix_spawn_file_actions_addopen.
50926 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50928         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50929         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50930         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50931         conditional code always true.
50932         (__libc_vfork): New alias.
50934 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50936         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50937         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50939         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50941         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50942         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50944         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50945         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50947         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50948         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50950 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50952         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50953         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50954         multiarch strcmp for PPC64.
50955         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50956         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50957         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50958         multiarch optimizations.
50959         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50960         (__libc_ifunc_impl_list): Likewise.
50962 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50964         * benchtests/scripts/validate_benchout.py: New script.
50965         * benchtests/Makefile (bench-func): Call it.
50966         * benchtests/scripts/benchout.schema.json: New file.
50968 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50970         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50971         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50972         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50973         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50974         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50975         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50976         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50977         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50978         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50979         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50980         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50981         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50982         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50983         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50984         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50985         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50987         Moved ...
50988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50989         ... here.
50990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50991         Moved ...
50992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50993         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50994         Moved ...
50995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50996         ... here.
50997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50998         Moved ...
50999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
51000         ... here.
51001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
51002         Moved ...
51003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
51004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
51005         Moved ...
51006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
51007         ... here.
51008         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
51009         Moved ...
51010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
51011         ... here.
51012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
51013         Moved ...
51014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
51015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
51016         Moved ...
51017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
51018         ... here.
51019         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
51020         Moved ...
51021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
51022         ... here.
51023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
51024         Moved ...
51025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
51026         ... here.
51027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
51028         Moved ...
51029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
51030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
51031         Moved ...
51032         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
51033         ... here.
51034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
51035         Moved ...
51036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
51037         ... here.
51038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
51039         Moved ...
51040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
51041         ... here.
51042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
51043         Moved ...
51044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
51045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
51046         Moved ...
51047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
51048         ... here.
51049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
51050         Moved ...
51051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
51052         ... here.
51053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
51054         Moved ...
51055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
51056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
51057         Moved ...
51058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
51059         ... here.
51060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
51061         Moved ...
51062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
51063         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
51064         Moved ...
51065         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
51066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
51067         Moved ...
51068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
51069         ... here.
51070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
51071         Moved ...
51072         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
51073         ... here.
51074         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
51075         Moved ...
51076         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
51077         ... here.
51078         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
51079         Moved ...
51080         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
51081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
51082         Moved ...
51083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
51084         ... here.
51085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
51086         Moved ...
51087         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
51088         ... here.
51089         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
51090         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
51091         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
51092         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
51093         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
51094         Moved ...
51095         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
51096         ... here.
51097         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
51098         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
51099         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
51100         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
51101         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
51102         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
51103         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
51104         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
51105         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
51106         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
51107         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
51108         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
51109         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
51110         Moved ...
51111         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
51112         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
51113         Moved ...
51114         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
51115         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
51116         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
51117         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
51118         Moved ...
51119         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
51120         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
51121         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
51122         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
51123         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
51124         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
51125         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
51127 2014-06-10  Wilco  <wdijkstr@arm.com>
51129         * math/test-fenv-return.c: New file.
51130         * math/Makefile: Add new test test-fenv-return.
51132 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
51134         [BZ #17042]
51135         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
51136         when x - 1 is zero.
51137         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
51138         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
51139         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
51140         0.0L for an argument of 1.0L.
51141         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
51142         Likewise.
51143         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
51144         value when x - 1 is zero.
51145         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
51146         * sysdeps/i386/fpu/libm-test-ulps: Update.
51147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51149 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
51151         [BZ #15119]
51152         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
51154 2014-06-09  Roland McGrath  <roland@hack.frob.com>
51156         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
51157         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
51159 2014-06-09  Roland McGrath  <roland@hack.frob.com>
51161         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51162         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
51164         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51165         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
51167         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51168         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
51170         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
51171         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
51173         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
51174         if not already defined.
51175         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
51176         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
51177         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
51178         (TLS_INIT_TP): Use it.
51179         (TLS_DEFINE_INIT_TP): New macro.
51180         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
51182 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
51184         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
51185         constant.
51186         [POSIX] (IXANY): Likewise.
51187         [POSIX] (OLCUC): Likewise.
51188         [POSIX || POSIX2008] (CBAUD): Do not allow.
51189         [POSIX || POSIX2008] (DEFECHO): Likewise.
51190         [POSIX || POSIX2008] (ECHOCTL): Likewise.
51191         [POSIX || POSIX2008] (ECHOKE): Likewise.
51192         [POSIX || POSIX2008] (ECHOPRT): Likewise.
51193         [POSIX || POSIX2008] (EXTA): Likewise.
51194         [POSIX || POSIX2008] (EXTB): Likewise.
51195         [POSIX || POSIX2008] (FLUSHO): Likewise.
51196         [POSIX || POSIX2008] (LOBLK): Likewise.
51197         [POSIX || POSIX2008] (PENDIN): Likewise.
51198         [POSIX || POSIX2008] (SWTCH): Likewise.
51199         [POSIX || POSIX2008] (VDISCARD): Likewise.
51200         [POSIX || POSIX2008] (VDSUSP): Likewise.
51201         [POSIX || POSIX2008] (VLNEXT): Likewise.
51202         [POSIX || POSIX2008] (VREPRINT): Likewise.
51203         [POSIX || POSIX2008] (VSTATUS): Likewise.
51204         [POSIX || POSIX2008] (VWERASE): Likewise.
51205         (B*): Change to B[0123456789]*.
51206         * conform/data/time.h-data [POSIX || UNIX98]
51207         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
51208         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
51209         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
51210         [POSIX] (tm_*): Do not allow.
51212 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
51214         * Makefile (install): Don't set LANGUAGE.
51215         * Makefile.in (install): Likewise.
51216         * assert/Makefile (test-assert-ENV): Remove variable.
51217         (test-assert-perr-ENV): Likewise.
51218         * elf/Makefile (neededtest4-ENV): Likewise.
51219         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51220         [$(cross-compiling) = no]: Don't set LANGUAGE.
51221         * io/ftwtest-sh (LANG): Remove variable.
51222         * libio/Makefile (tst-widetext-ENV): Likewise.
51223         * manual/install.texi (Running make install): Don't refer to
51224         environment settings for make install.
51225         * INSTALL: Regenerated.
51226         * nptl/tst-tls6.sh: Don't set LANG.
51227         * posix/globtest.sh (LANG): Remove variable.
51228         * string/Makefile (tester-ENV): Likewise.
51229         (inl-tester-ENV): Likewise.
51230         (noinl-tester-ENV): Likewise.
51231         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51232         [$(cross-compiling) = no]: Don't set LANGUAGE.
51233         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
51234         without explicit environment settings.
51236 2014-06-06  Roland McGrath  <roland@hack.frob.com>
51238         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
51239         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
51240         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
51241         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
51243 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
51245         * crypt/crypt-private.h [DOS]: Add some includes taken from the
51246         other files in the crypt directory.
51247         * crypt/crypt.c: Remove duplicate includes.
51248         * crypt/crypt-entry.c: Likewise.
51249         * crypt/crypt_util.c: Likewise.
51251 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
51253         * Makeconfig (run-program-env): New variable.
51254         (run-program-prefix-before-env): Likewise.
51255         (run-program-prefix-after-env): Likewise.
51256         (run-program-prefix): Define in terms of new variables.
51257         (built-program-cmd-before-env): New variable.
51258         (built-program-cmd-after-env): Likewise.
51259         (built-program-cmd): Define in terms of new variables.
51260         (test-program-prefix-before-env): New variable.
51261         (test-program-prefix-after-env): Likewise.
51262         (test-program-prefix): Define in terms of new variables.
51263         (test-program-cmd-before-env): New variable.
51264         (test-program-cmd-after-env): Likewise.
51265         (test-program-cmd): Define in terms of new variables.
51266         * Rules (make-test-out): Use $(run-program-env).
51267         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
51268         (help): Do not mention environment variables.  Mention
51269         --timeoutfactor option.
51270         (timeoutfactor): New variable.
51271         (blacklist_exports): Remove function.
51272         (exports): Remove variable.
51273         (command): Do not include ${exports}.
51274         * manual/install.texi (Configuring and compiling): Do not mention
51275         test wrappers preserving environment variables.  Mention that last
51276         assignment to a variable must take precedence.
51277         * INSTALL: Regenerated.
51278         * benchtests/Makefile (run-bench): Use $(run-program-env).
51279         * catgets/Makefile ($(objpfx)test1.cat): Use
51280         $(built-program-cmd-before-env), $(run-program-env) and
51281         $(built-program-cmd-after-env).
51282         ($(objpfx)test2.cat): Do not specify environment variables
51283         explicitly.
51284         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
51285         $(run-program-env) and $(built-program-cmd-after-env).
51286         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
51287         $(run-program-env) and $(test-program-cmd-after-env).
51288         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
51289         explicitly.
51290         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
51291         run_program_env and test_program_cmd_after_env arguments.
51292         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
51293         * elf/tst-pathopt.sh: Use run_program_env argument.
51294         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
51295         $(test-wrapper-env) and $(run-program-env).
51296         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
51297         run_program_env arguments.
51298         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
51299         * intl/Makefile ($(objpfx)tst-gettext.out): Use
51300         $(test-program-prefix-before-env), $(run-program-env) and
51301         $(test-program-prefix-after-env).
51302         ($(objpfx)tst-gettext2.out): Likewise.
51303         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
51304         run_program_env and test_program_prefix_after_env arguments.
51305         * intl/tst-gettext2.sh: Likewise.
51306         * intl/tst-gettext4.sh: Do not set environment variables
51307         explicitly.
51308         * intl/tst-gettext6.sh: Likewise.
51309         * intl/tst-translit.sh: Likewise.
51310         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
51311         $(test-program-prefix-before-env), $(run-program-env) and
51312         $(test-program-prefix-after-env).
51313         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
51314         run_program_env and test_program_prefix_after_env arguments.
51315         * math/Makefile (run-regen-ulps): Use $(run-program-env).
51316         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
51317         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
51318         explicitly with each use of ${test_wrapper_env}.
51319         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
51320         $(test-program-prefix-before-env), $(run-program-env) and
51321         $(test-program-prefix-after-env).
51322         * posix/tst-getconf.sh: Do not set environment variables
51323         explicitly.
51324         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
51325         run_program_env and test_program_prefix_after_env arguments.
51326         * stdio-common/tst-printf.sh: Do not set environment variables
51327         explicitly.
51328         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
51329         $(test-program-prefix-before-env), $(run-program-env) and
51330         $(test-program-prefix-after-env).
51331         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
51332         run_program_env and test_program_prefix_after_env arguments.
51333         Split $test calls into $test_pre and $test.
51334         * timezone/Makefile (build-testdata): Use
51335         $(built-program-cmd-before-env), $(run-program-env) and
51336         $(built-program-cmd-after-env).
51338 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51340         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
51341         strlen for non SHARED builds.
51343 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51345         * nptl/allocatestack.c (check_list): Inlined function...
51346         (__reclaim_stacks): ... here.
51348 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
51350         [BZ #15698]
51351         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
51352         memory overrun.
51354 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
51356         * Rules (make-test-out): Include
51357         LOCPATH=$(common-objpfx)localedata in default environment.
51358         * debug/Makefile (tst-chk1-ENV): Remove variable.
51359         (tst-chk2-ENV): Likewise.
51360         (tst-chk3-ENV): Likewise.
51361         (tst-chk4-ENV): Likewise.
51362         (tst-chk5-ENV): Likewise.
51363         (tst-chk6-ENV): Likewise.
51364         (tst-lfschk1-ENV): Likewise.
51365         (tst-lfschk2-ENV): Likewise.
51366         (tst-lfschk3-ENV): Likewise.
51367         (tst-lfschk4-ENV): Likewise.
51368         (tst-lfschk5-ENV): Likewise.
51369         (tst-lfschk6-ENV): Likewise.
51370         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
51371         (tst-iconv7-ENV): Likewise.
51372         * intl/Makefile (LOCPATH-ENV): Likewise.
51373         (tst-codeset-ENV): Likewise.
51374         (tst-gettext3-ENV): Likewise.
51375         (tst-gettext5-ENV): Likewise.
51376         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
51377         (tst-fopenloc-ENV): Likewise.
51378         (tst-fgetws-ENV): Remove variable.
51379         (tst-ungetwc1-ENV): Likewise.
51380         (tst-ungetwc2-ENV): Likewise.
51381         (bug-ungetwc2-ENV): Likewise.
51382         (tst-swscanf-ENV): Likewise.
51383         (bug-ftell-ENV): Likewise.
51384         (tst-fgetwc-ENV): Likewise.
51385         (tst-fseek-ENV): Likewise.
51386         (tst-ftell-partial-wide-ENV): Likewise.
51387         (tst-ftell-active-handler-ENV): Likewise.
51388         (tst-ftell-append-ENV): Likewise.
51389         * posix/Makefile (tst-fnmatch-ENV): Likewise.
51390         (tst-regexloc-ENV): Likewise.
51391         (bug-regex1-ENV): Likewise.
51392         (tst-regex-ENV): Likewise.
51393         (tst-regex2-ENV): Likewise.
51394         (bug-regex5-ENV): Likewise.
51395         (bug-regex6-ENV): Likewise.
51396         (bug-regex17-ENV): Likewise.
51397         (bug-regex18-ENV): Likewise.
51398         (bug-regex19-ENV): Likewise.
51399         (bug-regex20-ENV): Likewise.
51400         (bug-regex22-ENV): Likewise.
51401         (bug-regex23-ENV): Likewise.
51402         (bug-regex25-ENV): Likewise.
51403         (bug-regex26-ENV): Likewise.
51404         (bug-regex30-ENV): Likewise.
51405         (bug-regex32-ENV): Likewise.
51406         (bug-regex33-ENV): Likewise.
51407         (bug-regex34-ENV): Likewise.
51408         (bug-regex35-ENV): Likewise.
51409         (tst-rxspencer-ENV): Likewise.
51410         (tst-rxspencer-no-utf8-ENV): Likewise.
51411         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
51412         (tst-sscanf-ENV): Likewise.
51413         (tst-swprintf-ENV): Likewise.
51414         (tst-swscanf-ENV): Likewise.
51415         (test-vfprintf-ENV): Likewise.
51416         (scanf13-ENV): Likewise.
51417         (bug14-ENV): Likewise.
51418         (tst-grouping-ENV): Likewise.
51419         * stdlib/Makefile (tst-strtod-ENV): Likewise.
51420         (tst-strtod3-ENV): Likewise.
51421         (tst-strtod4-ENV): Likewise.
51422         (tst-strtod5-ENV): Likewise.
51423         (testmb2-ENV): Likewise./
51424         * string/Makefile (tst-strxfrm-ENV): Likewise.
51425         (tst-strxfrm2-ENV): Likewise.
51426         (bug-strcoll1-ENV): Likewise.
51427         (test-strcasecmp-ENV): Likewise.
51428         (test-strncasecmp-ENV): Likewise.
51429         * time/Makefile (tst-strptime-ENV): Likewise.
51430         (tst-ftime_l-ENV): Likewise.
51431         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
51432         (tst-mbrtowc-ENV): Likewise.
51433         (tst-wcrtomb-ENV): Likewise.
51434         (tst-mbrtowc2-ENV): Likewise.
51435         (tst-c16c32-1-ENV): Likewise.
51436         (tst-mbsnrtowcs-ENV): Likewise.
51438 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
51440         * manual/resource.texi (How to get information about the memory
51441         subsystem?): Fix typo.
51442         Reported by Peon de la Parra Ivan <peon@keba.com>
51444 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
51446         [BZ #16882]
51447         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
51448         (pthread_spin_lock): Branch out of spin loop to proper location.
51449         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
51450         (pthread_spin_lock): Likewise.
51452         * nptl/tst-spin4.c: New test.
51453         * nptl/Makefile (tests): Add tst-spin4.
51455 2014-06-03  Andreas Schwab  <schwab@suse.de>
51457         [BZ #15946]
51458         * resolv/res_send.c (send_dg): Reload file descriptor after
51459         calling reopen.
51461 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
51463         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
51465 2014-06-03  Richard Henderson  <rth@redhat.com>
51467         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
51468         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
51469         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
51470         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
51471         in the SAVE_PID block.
51472         (__libc_vfork): New alias.
51473         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
51475         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
51476         child in registers, not on the stack.  Remove RESET_PID conditionals.
51477         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
51479 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
51481         * sysdeps/aarch64/libm-test-ulps: Regenerate.
51483 2014-06-03  Wilco  <wdijkstr@arm.com>
51485         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
51486         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
51487         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51488         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
51489         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
51490         Likewise.
51492 2014-06-03  Wilco  <wdijkstr@arm.com>
51494         * sysdeps/aarch64/fpu/math_private.h
51495         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
51496         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
51497         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
51498         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
51499         Fix declarations.
51501 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51503         * crypt/crypt-private.h: Include ufc-crypt.h.
51504         (__b64_from_24bit): Declare extern.
51505         * crypt/crypt_util.c(__b64_from_24bit): New function.
51506         (b64t): New static const variable.
51507         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
51508         (b64t): Remove variable.
51509         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
51510         * crypt/sha256-crypt.c: Include crypt-private.h.
51511         (b64t): Remove variable.
51512         (__sha256_crypt_r): Remove b64_from_24bit and replace
51513         with __b64_from_24bit.
51514         * crypt/sha512-crypt.c: Likewise.
51516 2014-06-02  Roland McGrath  <roland@hack.frob.com>
51518         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
51519         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
51520         Label the code __libc_vfork rather than __vfork.
51521         [!NOT_IN_libc] (vfork): Define as weak alias.
51522         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
51523         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
51524         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
51526 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51528         * malloc/malloc.c (malloc_info): Fix format specifier for
51529         n_mmaps.
51531 2014-06-02  Wilco  <wdijkstr@arm.com>
51533         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
51534         FPCR write.
51536 2014-06-02  Wilco  <wdijkstr@arm.com>
51538         [BZ #17009]
51539         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
51540         Rewrite to reduce FPCR/FPSR accesses.
51542 2014-06-01  David S. Miller  <davem@davemloft.net>
51544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51546 2014-05-31  David S. Miller  <davem@davemloft.net>
51548         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
51549         to occur in round to nearest mode when |x| >= 2.0
51551 2014-05-30  Richard Henderson  <rth@twiddle.net>
51553         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
51554         (PSEUDO_RET_NOERRNO): Remove.
51555         (ret): Don't redefine.
51556         (ret_NOERRNO): Define in terms of ret.
51557         (ret_ERRVAL): Likewise.
51559         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
51560         use of PSEUDO_RET; perform the error check directly.
51562 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
51564         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
51565         with __int128_t.
51567 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51569         * malloc/malloc (malloc_info): Fix formatting.
51571 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51572             Roland McGrath  <roland@hack.frob.com>
51574         * malloc/malloc (malloc_info): Also print mmapped statistics.
51576 2014-05-30  Roland McGrath  <roland@hack.frob.com>
51578         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
51579         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
51581 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
51583         * malloc/malloc.c (malloc_info): Inline mi_arena.
51585 2014-05-29  Richard Henderson  <rth@twiddle.net>
51587         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
51588         Remove comma before expanding ASM_ARGS_##nr.
51589         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
51590         Make _x0 a strict output; make _x8 a strict input; adjust expansion
51591         of ASM_ARGS_##nr.
51592         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
51593         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
51594         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
51595         (ASM_ARGS_1): Add leading comma.
51597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
51598         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
51599         to __errno_location.
51600         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
51601         Remove the expected plt for __errno_location.
51603         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51604         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
51605         call to __read_tp.
51607         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51608         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
51609         it and break it down.
51610         (DOCARGS_0, DOCARGS_1): Do nothing.
51611         (DOCARGS_2): Update to store into the new stack frame.
51612         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
51613         (UNDOCARGS_1): Update to restore from the new stack frame.
51614         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
51615         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
51617         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51618         (SINGLE_THREAD_P): New parameter for result regno.
51619         (PSEUDO): Update to match; use cbz instead of beq.
51621         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51622         Use ENTRY to define the _nocancel entry point.  Share the syscall
51623         and syscall error check paths with the cancel path.
51624         (PSEUDO_END): New.
51626         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
51627         whitespace; tabs before and after asm mnemonics.
51629 2014-05-29  Eric Wong  <normalperson@yhbt.net>
51631         [BZ #15132]
51632         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51633         Call fstat64 or stat64 internally, depending on arguments passed.
51634         Replace stat buffer argument with file descriptor argument.
51635         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
51636         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
51637         Pass fd to __internal_statvfs instead of calling fstat64.
51638         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
51639         Pass fd to __internal_statvfs64 instead of calling fstat64.
51640         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
51641         Pass -1 to __internal_statvfs instead of calling stat64.
51642         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
51643         Pass -1 to __internal_statvfs64 instead of calling stat64.
51645 2014-05-28  Roland McGrath  <roland@hack.frob.com>
51647         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
51648         that was previously under [RESET_PID].
51649         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
51651         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
51652         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
51654 2014-05-27  Roland McGrath  <roland@hack.frob.com>
51656         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
51658         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
51659         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
51661 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
51663         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
51665 2014-05-27  Andreas Schwab  <schwab@suse.de>
51667         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
51668         TLS_INIT_TP macro.
51669         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
51670         * elf/rtld.c (init_tls, dl_main): Likewise.
51671         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
51672         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
51673         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
51674         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
51675         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
51676         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
51677         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
51678         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
51679         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
51680         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
51681         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
51682         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
51683         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
51684         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
51685         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
51686         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
51687         * sysdeps/generic/tls.h: Update description.
51689 2014-05-27  Will Newton  <will.newton@linaro.org>
51691         [BZ #16990]
51692         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
51693         and restore r2 rather than just restoring.
51695 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
51697         [BZ #16724]
51698         * libio/tst-ftell-append.c: New test case.
51699         * libio/Makefile (tests): Add test case.
51700         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
51701         append mode.
51702         * libio/wfileops.c (do_ftell_wide): Likewise.
51704 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51706         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51708         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
51709         ...
51710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
51711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51712         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
51713         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
51714         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
51715         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
51716         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
51717         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
51718         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
51719         Moved ...
51720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
51721         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
51722         Moved ...
51723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
51724         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
51725         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
51726         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
51727         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
51728         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
51729         ...
51730         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
51731         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
51732         Moved ...
51733         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
51734         here.
51735         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
51736         ...
51737         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
51738         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
51739         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
51741         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
51742         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
51743         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
51744         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
51746         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
51747         merge into ...
51748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
51749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
51750         ...
51751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
51752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
51753         ...
51754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
51755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51756         Moved ...
51757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
51758         here.
51759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51760         Moved ...
51761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
51762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51763         Moved ...
51764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
51766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
51767         conditional [RESET_PID].
51768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
51769         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
51770         removed.
51771         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
51772         removed.
51774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
51775         <tcb-offsets.h>.
51776         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51777         (__libc_vfork): New strong alias.
51778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
51779         removed.
51780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
51781         Removed.
51783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
51784         <tcb-offsets.h>.
51785         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
51786         (__libc_vfork): New strong alias.
51787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
51788         removed.
51789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
51790         removed.
51792 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
51794         * malloc/malloc.c (mi_arena): New function.
51795         (malloc_info): Remove nested function mi_arena. Call non-nosted
51796         function mi_arena.
51798 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51800         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
51801         by insrwi.
51802         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
51803         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
51804         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
51805         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
51806         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
51807         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
51808         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
51810 2014-05-26  Andreas Schwab  <schwab@suse.de>
51812         [BZ #16984]
51813         * locale/programs/repertoire.c (repertoire_read): Add slash
51814         between I18NPATH element and file name.
51815         * locale/programs/locfile.c (locfile_read): Likewise.
51817 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51819         * nptl/pthread_mutexattr_settype.c
51820         (__pthread_mutexattr_settype):
51821         Disable lock elision for PTHREAD_MUTEX_NORMAL.
51823 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
51825         * nptl/tst-mutex5 (do_test):
51826         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
51828 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51830         * benchtests/README: Document 'init' directive.
51831         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
51832         BENCH_INIT.
51833         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
51834         (parse_file): Recognize 'init' directive.
51836 2014-05-26  Kyle McMartin  <kyle@redhat.com>
51838         [BZ #16796]
51839         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
51840         alignment of struct pthread.
51842 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
51844         [BZ #16878]
51845         * nscd/netgroupcache.c (addgetnetgrentX): Look for
51846         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51847         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
51848         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
51850 2014-05-25  Richard Henderson  <rth@twiddle.net>
51852         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51853         (SINGLE_THREAD_P_PIC): Remove.
51854         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
51855         (SINGLE_THREAD_P_PIC): Remove.
51857         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51858         branch to syscall error ...
51859         (PSEUDO): ... here.
51860         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51861         from __local_syscall_error to .Lsyscall_error.
51862         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51863         (SYSCALL_ERROR): Update label name.
51865         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51866         Do not use DOARGS/UNDOARGS.
51867         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51868         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51869         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51870         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51871         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51873         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51874         block comment.
51876         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51877         define if !NOT_IN_libc.
51878         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51879         define with non-default symbol versions.
51881 2014-05-23  Richard Henderson  <rth@twiddle.net>
51883         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51884         (vfork, __vfork): Define via compat_symbol.
51886         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51887         [!HAVE_IFUNC] (vfork_compat): Remove.
51888         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51890 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51892         [BZ #16978]
51893         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51894         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51895         variable.
51897 2014-05-23  Richard Henderson  <rth@twiddle.net>
51899         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51900         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51901         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51902         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51904         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51905         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51906         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51907         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51908         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51909         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51910         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51911         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51912         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51913         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51914         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51915         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51916         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51917         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51918         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51919         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51920         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51921         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51922         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51923         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51924         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51925         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51926         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51927         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51928         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51929         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51930         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51931         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51932         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51933         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51934         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51935         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51936         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51937         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51938         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51939         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51940         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51941         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51942         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51943         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51944         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51945         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51946         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51947         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51948         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51949         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51950         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51951         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51952         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51953         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51954         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51955         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51956         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51957         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51958         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51959         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51961         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51962         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51963         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51964         before exiting on error.
51965         (__libc_vfork): New strong alias.
51966         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51967         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51969         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51970         that was previously under [RESET_PID].
51971         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51973         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51975 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51977         [BZ #16977]
51978         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51979         value when x - 1 is zero.
51980         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51981         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51982         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51983         0.0L for an argument of 1.0L.
51984         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51985         Likewise.
51986         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51987         value when x - 1 is zero.
51988         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51989         * sysdeps/i386/fpu/libm-test-ulps: Update.
51990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51992 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51994         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51995         alphasort and versionsort.
51997 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51999         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
52000         macro.
52001         [copysignf]: Likewise.
52003 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52005         * crypt/md5-crypt.c: Fix formatting.
52007 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
52009         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
52010         (b64_from_24bit): New function.
52012 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52014         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
52015         libc_hidden_builtin_def to ifunc.
52016         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52017         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
52019 2014-05-21  Roland McGrath  <roland@hack.frob.com>
52021         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
52022         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
52024 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
52026         * nscd/Depend (linuxthreads): Remove.
52027         (nptl): Add.
52028         * resolv/Depend (linuxthreads): Remove.
52029         * rt/Depend (linuxthreads): Remove.
52031         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
52032         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
52033         $(common-objpfx)elf/.
52034         (link-libc-before-gnulib): Likewise.
52035         (elfobjdir): Remove variable.
52036         * Makefile (install): Use $(elf-objpfx) instead of
52037         $(common-objpfx)elf/.
52038         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
52039         $(elfobjdir)/.
52040         (link-libc-deps): Likewise.
52041         ($(common-objpfx)libc.so): Likewise.
52042         ($(common-objpfx)linkobj/libc.so): Likewise.
52043         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
52044         instead of $(common-objpfx)elf/.
52045         (symbolic-link-list): Likewise.
52046         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
52047         [$(cross-compiling) = no]: Likewise.
52048         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
52049         $(elfobjdir)/.
52050         (static-gnulib-arch): Likewise.
52051         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
52052         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
52053         $(common-objpfx)elf/.
52055 2014-05-21  Richard Henderson  <rth@redhat.com>
52057         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
52058         (SINGLE_THREAD_P): Use the correct width load.  Fold
52059         into the ldr offset.
52061         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
52062         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
52064 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
52066         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
52067         (libgcc_s_resume): Use __attribute_used__.
52068         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
52069         Likewise.
52071 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52073         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
52074         optimization when used with float constants.
52076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52078 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
52080         [BZ #16915]
52081         * locale/nl_langinfo_l.c: Make direct reference to every
52082         _nl_current_CATEGORY symbol.
52083         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
52084         (tests-static): Add tst-langinfo-static.
52085         (tests-special): Add tst-langinfo-static.out.
52086         ($(objpfx)tst-langinfo.out): Redirect output.
52087         ($(objpfx)tst-langinfo-static.out): New.
52088         * localedata/tst-langinfo.sh: Send output to stdout.
52089         * localedata/tst-langinfo-static.c: New file.
52091         [BZ #16965]
52092         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
52093         when the shift amount is modulo the limb size.
52095 2014-05-20  Richard Henderson  <rth@redhat.com>
52097         [BZ #16967]
52098         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
52099         Change type of sa_flags from unsigned int to int.
52101         [BZ #16966]
52102         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
52104         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
52106 2014-05-20  Will Newton  <will.newton@linaro.org>
52108         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
52109         Test the return value of the system call in the nocancel case.
52111 2014-05-20  Will Newton  <will.newton@linaro.org>
52112             Yvan Roux  <yvan.roux@linaro.org>
52114         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
52115         #include of asm/ptrace.h.
52116         (PTRACE_GET_THREAD_AREA): Remove #undef.
52117         (PTRACE_GETHBPREGS): Likewise.
52118         (PTRACE_SETHBPREGS): Likewise.
52119         (struct user_regs_struct): New structure.
52120         (struct user_fpsimd_struct): New structure.
52121         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
52122         #include of asm/ptrace.h and second #include of sys/user.h.
52123         (PTRACE_GET_THREAD_AREA): Remove #undef.
52124         (PTRACE_GETHBPREGS): Likewise.
52125         (PTRACE_SETHBPREGS): Likewise.
52126         (ELF_NGREG): Use new struct user_regs_struct.
52127         (elf_fpregset_t): Use new struct user_fpsimd_struct.
52129 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52131         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
52132         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
52134 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
52136         [BZ #16958]
52137         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
52138         membar to avoid block loads/stores to overlap previous stores.
52140 2014-05-17  Richard Henderson  <rth@redhat.com>
52142         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
52143         Create the __##syscall_name##_nocancel entry point.
52144         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
52145         Remove; let the sysdep-cancel.h code create it.
52147 2014-05-17  David S. Miller  <davem@davemloft.net>
52149         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
52150         Protect with __USE_GNU.
52151         (TIOCSET_TEMPT): Likewise.
52152         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
52153         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
52154         these are already provided in bits/ioctl-types.h
52156 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52158         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
52159         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
52161         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
52162         Use wait4 regardless of [__NR_waitpid].
52164 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52166         PR libgcc/60166
52167         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
52168         (_FP_NANSIGN_Q): Set the quiet bit.
52170 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
52172         * benchtests/Makefile
52173         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
52174         not $(common-objpfx)math/libm.so.
52175         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
52176         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
52177         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
52178         $(common-objpfx)dlfcn/libdl.so.
52179         ($(objpfx)tst-audit8): Depend on $(libm), not
52180         $(common-objpfx)math/libm.so.
52181         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
52182         not $(common-objpfx)dlfcn/libdl.so.
52183         * math/Makefile
52184         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
52185         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
52186         [$(build-shared) = yes].
52187         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
52188         $(common-objpfx)nptl/libpthread.so.
52189         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
52190         $(common-objpfx)math/libm.so$(libm.so-version) or
52191         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
52192         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
52193         $(common-objpfx)dlfcn/libdl.so.
52194         * setjmp/Makefile (link-libm): Remove variable.
52195         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
52196         * stdio-common/Makefile (link-libm): Remove variable.
52197         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
52198         * stdlib/Makefile (link-libm): Remove variable.
52199         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
52200         ($(objpfx)tst-strtod-round): Likewise.
52201         ($(objpfx)tst-tininess): Likewise.
52202         ($(objpfx)tst-strtod-underflow): Likewise.
52203         ($(objpfx)tst-strtod6): Likewise.
52204         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
52205         $(libdl), not $(common-objpfx)nptl/libpthread.so and
52206         $(common-objpfx)dlfcn/libdl.so.
52208 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52210         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
52211         BSD terminal modes definitions.
52213 2014-05-16  Roland McGrath  <roland@hack.frob.com>
52215         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
52216         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
52218         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
52219         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
52220         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
52221         Don't do #include_next.
52222         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
52223         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
52224         Don't do #include_next.
52225         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
52226         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
52227         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
52228         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
52230 2014-05-16  Allan McRae  <allan@archlinux.org>
52232         * po/sv.po: Update Swedish translation from translation project.
52234         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
52235         in sed expression.
52237 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
52239         [BZ #16917]
52240         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
52241         errno if the TIOCGPTN ioctl fails with an error different than
52242         EINVAL.
52243         * login/tst-ptsname.c: New file.
52244         * login/Makefile (tests): Add tst-ptsname.
52246         [BZ #16943]
52247         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
52248         and prlimit64.
52250 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52252         [BZ #16849]
52253         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
52254         herrno to return EAI_AGAIN.
52256 2014-05-14  Roland McGrath  <roland@hack.frob.com>
52258         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
52259         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
52260         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
52261         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
52262         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
52263         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
52264         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
52265         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
52266         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
52267         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
52268         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
52269         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
52270         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
52271         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
52272         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
52273         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
52274         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
52275         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
52276         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
52277         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
52278         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
52279         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
52280         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
52281         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
52282         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
52283         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
52284         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
52285         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
52286         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
52287         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
52288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
52289         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
52290         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
52291         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
52292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
52293         Moved ...
52294         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
52295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
52296         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
52297         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
52298         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
52299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
52300         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
52301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
52302         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
52303         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
52304         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
52305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
52306         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
52307         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
52308         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
52309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
52310         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
52311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
52312         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
52313         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
52314         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
52315         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
52316         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
52317         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
52318         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
52319         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
52320         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
52321         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
52322         Moved ...
52323         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
52324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
52325         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
52326         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
52327         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
52328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
52329         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
52330         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
52331         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
52332         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
52333         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
52334         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
52335         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
52336         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
52337         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
52338         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
52339         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
52340         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
52341         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
52342         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
52343         Moved ...
52344         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
52345         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
52346         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
52348         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
52349         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
52350         (libpthread-sysdep_routines): Add elision-related stuff here instead.
52351         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
52352         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
52353         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
52354         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
52355         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
52356         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
52357         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
52358         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
52359         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
52360         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
52361         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
52362         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
52363         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
52364         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
52365         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
52366         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
52367         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
52368         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
52369         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
52370         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
52371         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
52372         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
52373         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
52374         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
52375         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
52376         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
52377         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
52378         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
52380         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
52381         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
52383         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
52384         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
52385         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
52386         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
52387         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
52388         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
52389         Moved ...
52390         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
52391         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
52392         Moved ...
52393         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
52394         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
52395         Moved ...
52396         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
52397         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
52398         Moved ...
52399         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
52400         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
52401         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
52402         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
52403         Moved ...
52404         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
52405         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
52406         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
52407         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
52408         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
52409         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
52410         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
52411         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
52412         Moved ...
52413         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
52414         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52415         Moved ...
52416         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
52417         ... here.
52418         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
52419         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
52420         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
52421         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
52422         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52423         Moved ...
52424         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
52425         ... here.
52426         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
52427         Moved ...
52428         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
52429         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
52430         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
52431         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
52432         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
52433         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
52434         Moved ...
52435         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
52436         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
52437         Moved ...
52438         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
52439         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
52440         Moved ...
52441         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
52442         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
52443         Moved ...
52444         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
52445         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
52446         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
52447         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
52448         Moved ...
52449         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
52450         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
52451         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
52452         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
52453         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
52454         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
52455         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
52456         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
52457         Moved ...
52458         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
52459         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52460         Moved ...
52461         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
52462         ... here.
52463         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
52464         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
52465         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
52466         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
52467         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52468         Moved ...
52469         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
52470         ... here.
52471         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
52472         Moved ...
52473         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
52474         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
52475         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
52476         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
52477         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
52478         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
52479         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
52480         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
52481         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
52482         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
52483         Moved ...
52484         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
52485         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
52486         Moved ...
52487         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
52488         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
52489         Moved ...
52490         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
52491         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
52492         Moved ...
52493         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
52494         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
52495         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
52496         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
52497         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
52498         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
52499         Moved ...
52500         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
52501         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
52502         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
52503         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
52504         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
52505         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
52506         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
52507         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
52508         Moved ...
52509         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
52510         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52511         Moved ...
52512         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
52513         ... here.
52514         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
52515         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
52516         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
52517         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
52518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52519         Moved ...
52520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
52521         ... here.
52522         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
52523         Moved ...
52524         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
52525         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
52526         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
52527         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
52528         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
52529         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
52530         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
52531         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
52532         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
52533         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
52534         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
52536         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
52537         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
52539         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
52540         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
52542         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
52543         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
52544         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
52545         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
52546         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
52547         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
52548         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
52549         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
52550         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
52551         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
52552         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
52553         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
52554         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
52555         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
52556         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
52557         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
52558         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
52559         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
52560         Moved ...
52561         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
52562         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
52563         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
52564         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
52565         Moved ...
52566         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
52567         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
52568         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
52569         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
52570         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
52571         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
52572         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
52573         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
52574         Moved ...
52575         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
52576         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
52577         Moved ...
52578         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
52579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
52580         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
52581         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
52582         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
52583         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
52584         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
52585         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
52586         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
52587         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
52588         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
52589         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
52590         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
52591         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
52592         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
52593         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
52594         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
52596         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
52597         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
52598         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
52599         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
52600         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
52602         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
52603         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
52604         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
52605         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
52606         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
52607         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
52608         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
52609         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
52610         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
52611         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
52613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
52614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
52616         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
52617         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
52618         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
52619         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
52620         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
52621         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
52622         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
52623         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
52624         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
52625         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
52626         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
52627         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
52628         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
52629         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
52630         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
52631         Update #include.
52632         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
52633         Likewise.
52634         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
52635         Likewise.
52636         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
52637         Likewise.
52638         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
52639         Likewise.
52640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
52641         Likewise.
52642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
52643         Likewise.
52644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
52645         Likewise.
52646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
52647         Likewise.
52648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
52649         Likewise.
52650         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
52651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
52652         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
52653         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
52654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
52655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
52656         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
52657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
52658         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
52659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
52660         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
52661         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
52662         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
52663         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
52664         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
52666         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
52667         that was previously under [RESET_PID].
52668         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
52669         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
52670         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
52672         * sysdeps/i386/nptl/Implies: New file.
52673         * sysdeps/x86_64/nptl/Implies: New file.
52674         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
52675         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
52676         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
52677         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
52679         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
52680         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52681         (__libc_vfork): New strong alias.
52682         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
52683         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
52685         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
52686         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52687         (__libc_vfork): New strong alias.
52688         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
52689         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
52691         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
52692         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
52693         (__libc_vfork): New strong alias.
52694         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
52695         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
52696         * nptl/pt-vfork.c: New file.
52697         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
52698         (libpthread: GLIBC_2.20): New version set (empty).
52700 2014-05-14  Will Newton  <will.newton@linaro.org>
52702         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
52703         rather than #if.
52705 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52707         [BZ #16564]
52708         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
52709         arguments with exponent 65 or above.
52710         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
52711         arguments 0x1p113L or above.
52712         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
52713         to arguments 0x1p107L or above.
52714         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
52715         positive arguments with exponent 65 or above.
52716         * math/auto-libm-test-in: Add more tests of log1p.
52717         * math/auto-libm-test-out: Regenerated.
52719         [BZ #16928]
52720         * math/s_cacos.c (__cacos): Ensure zero real part of result from
52721         non-finite arguments is +0.
52722         * math/s_cacosf.c (__cacosf): Likewise.
52723         * math/s_cacosl.c (__cacosl): Likewise.
52724         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
52725         * sysdeps/i386/fpu/libm-test-ulps: Update.
52726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52728         [BZ #16927]
52729         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
52730         value.
52731         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
52732         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
52733         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
52734         for explicit high bit of mantissa when testing for argument equal
52735         to 1.
52736         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
52737         * sysdeps/i386/fpu/libm-test-ulps: Update.
52738         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52740         [BZ #16516]
52741         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
52742         (__erf): Scale by 16 instead of 8 in potentially underflowing
52743         case.  Ensure exception if result actually underflows.
52744         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
52745         (__erff): Scale by 16 instead of 8 in potentially underflowing
52746         case.  Ensure exception if result actually underflows.
52747         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
52748         (efx8): Remove variable.
52749         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52750         case.  Ensure exception if result actually underflows.
52751         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
52752         (efx8): Remove variable.
52753         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52754         case.  Ensure exception if result actually underflows.
52755         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
52756         (efx8): Remove variable.
52757         (__erfl): Scale by 16 instead of 8 in potentially underflowing
52758         case.  Ensure exception if result actually underflows.
52759         * math/auto-libm-test-in: Add more tests of erf.
52760         * math/auto-libm-test-out: Regenerated.
52762 2014-05-14  Andreas Schwab  <schwab@suse.de>
52764         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
52765         Remove code conditionalized on USE___THREAD.
52767         * config.h.in (HAVE_PT_CHOWN): Define as 0.
52768         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
52769         not definedness.
52771 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
52773         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
52774         Define unconditionally.
52775         (__ASSUME_O_CLOEXEC): Likewise.
52776         (__ASSUME_SOCK_CLOEXEC): Likewise.
52777         (__ASSUME_IN_NONBLOCK): Likewise.
52778         (__ASSUME_PIPE2): Likewise.
52779         (__ASSUME_EVENTFD2): Likewise.
52780         (__ASSUME_SIGNALFD4): Likewise.
52781         (__ASSUME_DUP3): Likewise.
52782         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52783         (__ASSUME_DUP3): Do not define.
52784         (__ASSUME_EVENTFD2): Likewise.
52785         (__ASSUME_IN_NONBLOCK): Likewise.
52786         (__ASSUME_O_CLOEXEC): Likewise.
52787         (__ASSUME_PIPE2): Likewise.
52788         (__ASSUME_SIGNALFD4): Likewise.
52789         (__ASSUME_SOCK_CLOEXEC): Likewise.
52790         (__ASSUME_UTIMES): Undefine.
52791         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52792         (__ASSUME_UTIMES): Do not define.
52793         (__ASSUME_O_CLOEXEC): Likewise.
52794         (__ASSUME_SOCK_CLOEXEC): Likewise.
52795         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
52796         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
52797         0x020621].
52798         (__ASSUME_PIPE2): Likewise.
52799         (__ASSUME_EVENTFD2): Likewise.
52800         (__ASSUME_SIGNALFD4): Likewise.
52801         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
52802         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
52803         Do not define.
52804         (__ASSUME_EVENTFD2): Likewise.
52805         (__ASSUME_SIGNALFD4): Likewise.
52806         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
52807         (__ASSUME_32BITUIDS): Likewise.
52808         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
52809         (__ASSUME_IPC64): Likewise.
52810         (__ASSUME_ST_INO_64_BIT): Likewise.
52811         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
52812         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
52813         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52814         (__ASSUME_UTIMES): Do not define.
52815         (__ASSUME_PSELECT): Likewise.
52816         (__ASSUME_PPOLL): Likewise.
52817         (__ASSUME_O_CLOEXEC): Likewise.
52818         (__ASSUME_SOCK_CLOEXEC): Likewise.
52819         (__ASSUME_IN_NONBLOCK): Likewise.
52820         (__ASSUME_PIPE2): Likewise.
52821         (__ASSUME_EVENTFD2): Likewise.
52822         (__ASSUME_SIGNALFD4): Likewise.
52823         (__ASSUME_DUP3): Likewise.
52824         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52825         (__ASSUME_UTIMES): Likewise.
52826         (__ASSUME_O_CLOEXEC): Likewise.
52827         (__ASSUME_SOCK_CLOEXEC): Likewise.
52828         (__ASSUME_IN_NONBLOCK): Likewise.
52829         (__ASSUME_PIPE2): Likewise.
52830         (__ASSUME_EVENTFD2): Likewise.
52831         (__ASSUME_SIGNALFD4): Likewise.
52832         (__ASSUME_DUP3): Likewise.
52833         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
52834         (__ASSUME_UTIMES): Likewise.
52835         (__ASSUME_O_CLOEXEC): Likewise.
52836         (__ASSUME_SOCK_CLOEXEC): Likewise.
52837         (__ASSUME_IN_NONBLOCK): Likewise.
52838         (__ASSUME_PIPE2): Likewise.
52839         (__ASSUME_EVENTFD2): Likewise.
52840         (__ASSUME_SIGNALFD4): Likewise.
52841         (__ASSUME_DUP3): Likewise.
52842         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
52843         Likewise.
52844         (__ASSUME_UTIMES): Likewise.
52845         (__ASSUME_EVENTFD2): Likewise.
52846         (__ASSUME_SIGNALFD4): Likewise.
52847         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52848         (__ASSUME_O_CLOEXEC): Likewise.
52849         (__ASSUME_SOCK_CLOEXEC): Likewise.
52850         (__ASSUME_IN_NONBLOCK): Likewise.
52851         (__ASSUME_PIPE2): Likewise.
52852         (__ASSUME_EVENTFD2): Likewise.
52853         (__ASSUME_SIGNALFD4): Likewise.
52854         (__ASSUME_DUP3): Likewise.
52855         (__ASSUME_UTIMES): Undefine.
52857         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52858         feclearexcept.  Remove symbol versioning code.
52859         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52860         symbol versioning code.
52861         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52862         symbol versioning code.
52863         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52864         feupdateenv.  Remove symbol versioning code.
52865         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52866         fegetexceptflag.  Remove symbol versioning code.
52867         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52868         fesetexceptflag.  Remove symbol versioning code.
52869         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52870         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52871         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52872         (__posix_fadvise64_l32): Remove prototype.
52873         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52874         code.
52876 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52878         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52879         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52880         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52881         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52883 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52885         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52886         current working directory
52888 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52890         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52891         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52892         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52893         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52894         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52895         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52896         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52897         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52898         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52899         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52900         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52901         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52902         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52903         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52904         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52905         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52906         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52907         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52908         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52909         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52910         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52911         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52912         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52913         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52914         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52915         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52916         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52917         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52918         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52919         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52920         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52921         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52922         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52923         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52924         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52925         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52926         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52927         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52928         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52929         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52930         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52931         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52933         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52934         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52936         * sysdeps/unix/sysv/linux/arm/Makefile
52937         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52938         Add rt-aeabi_unwind_cpp_pr1.
52939         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52940         Add nptl-aeabi_unwind_cpp_pr1.
52941         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52942         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52943         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52944         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52945         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52946         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52948         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52949         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52950         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52951         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52953         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52954         Deconditionalize the code that was previously under [RESET_PID].
52955         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52957         * sysdeps/generic/exit-thread.h: New file.
52958         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52959         * include/unistd.h (__exit_thread): Remove declaration.
52960         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52961         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52962         * csu/libc-start.c: Include <exit-thread.h>.
52963         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52964         * nptl/pthread_create.c: Include <exit-thread.h>.
52965         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52966         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52967         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52968         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52969         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52970         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52971         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52972         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52973         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52974         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52975         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52976         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52977         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52978         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52979         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52980         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52981         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52983 2014-05-13  Andreas Schwab  <schwab@suse.de>
52985         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52987 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52989         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52990         (__ASSUME_UTIMES): Do not condition on kernel version.
52991         (__ASSUME_PSELECT): Define unconditionally.
52992         (__ASSUME_PPOLL): Likewise.
52993         (__ASSUME_ATFCTS): Likewise.
52994         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52995         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52996         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52997         (__ASSUME_UTIMENSAT): Define unconditionally.
52998         (__ASSUME_PRIVATE_FUTEX): Likewise.
52999         (__ASSUME_FALLOCATE): Likewise.
53000         (__ASSUME_O_CLOEXEC): Likewise.
53001         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
53002         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
53003         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
53004         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
53005         (__ASSUME_IN_NONBLOCK): Likewise.
53006         (__ASSUME_PIPE2): Likewise.
53007         (__ASSUME_EVENTFD2): Likewise.
53008         (__ASSUME_SIGNALFD4): Likewise.
53009         (__ASSUME_DUP3): Likewise.
53010         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53011         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
53012         (__ASSUME_AT_RANDOM): Likewise.
53013         (__ASSUME_PREADV): Likewise.
53014         (__ASSUME_PWRITEV): Likewise.
53015         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
53016         (__ASSUME_F_GETOWN_EX): Define unconditionally.
53017         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
53018         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
53019         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
53020         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53021         (__ASSUME_O_CLOEXEC): Define unconditionally.
53022         (__ASSUME_PSELECT): Do not undefine conditionally.
53023         (__ASSUME_PPOLL): Likewise.
53024         (__ASSUME_ATFCTS): Likewise.
53025         (__ASSUME_SET_ROBUST_LIST): Likewise.
53026         (__ASSUME_UTIMENSAT): Likewise.
53027         (__ASSUME_FDATASYNC): Define unconditionally.
53028         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53029         (__ASSUME_SIGFRAME_V2): Likewise.
53030         )__ASSUME_EVENTFD2): Likewise.
53031         (__ASSUME_SIGNALFD4): Likewise.
53032         (__ASSUME_PSELECT): Do not undefine conditionally.
53033         (__ASSUME_PPOLL): Likewise.
53034         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53035         (__ASSUME_PSELECT): Define unconditionally.
53036         (__ASSUME_PPOLL): Likewise.
53037         (__ASSUME_O_CLOEXEC): Likewise.
53038         (__ASSUME_SOCK_CLOEXEC): Likewise.
53039         (__ASSUME_IN_NONBLOCK): Likewise.
53040         (__ASSUME_PIPE2): Likewise.
53041         (__ASSUME_EVENTFD2): Likewise.
53042         (__ASSUME_SIGNALFD4): Likewise.
53043         (__ASSUME_DUP3): Likewise.
53044         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53045         (__ASSUME_O_CLOEXEC): Likewise.
53046         (__ASSUME_SOCK_CLOEXEC): Likewise.
53047         (__ASSUME_IN_NONBLOCK): Likewise.
53048         (__ASSUME_PIPE2): Likewise.
53049         (__ASSUME_EVENTFD2): Likewise.
53050         (__ASSUME_SIGNALFD4): Likewise.
53051         (__ASSUME_DUP3): Likewise.
53052         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53053         (__ASSUME_EVENTFD2): Likewise.
53054         (__ASSUME_SIGNALFD4): Likewise.
53055         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53057 2014-05-12  Andreas Schwab  <schwab@suse.de>
53059         [BZ #16932]
53060         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
53061         (_nss_nis_gethostbyname4_r): Return error if item length is larger
53062         than maximum RPC packet size.
53063         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
53064         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
53065         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
53066         (_nss_nis_getservbyport_r): Likewise.
53068 2014-05-12  Will Newton  <will.newton@linaro.org>
53070         * malloc/Makefile (tests): Add tst-mallopt.
53071         * malloc/tst-mallopt.c: New file.
53073 2014-05-09  Roland McGrath  <roland@hack.frob.com>
53075         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
53076         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
53078 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53080         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
53081         (tst-tlsmod6.so): Likewise.
53083 2014-05-09  Roland McGrath  <roland@hack.frob.com>
53085         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
53087 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
53089         [BZ #16064]
53090         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
53091         and <dl-procinfo.h>.
53092         (__fegetenv): Save SSE state in envp->__eip if supported.
53093         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
53094         envp->__eip if supported.
53095         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
53096         and <dl-procinfo.h>.
53097         (__fesetenv): Always set __eip, __cs_selector, __opcode,
53098         __data_offset and __data_selector in environment to 0.  Set SSE
53099         state if supported.
53100         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
53101         test-fenv-sse.
53102         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
53103         -mfpmath=sse.
53104         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
53106 2014-05-09  Will Newton  <will.newton@linaro.org>
53108         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
53109         and libc_relro_required for ARM.
53110         * sysdeps/arm/preconfigure: Regenerate.
53112 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
53113             Stefan Liebler  <stli@linux.vnet.ibm.com>
53115         * config.make.in (enable-lock-elision): New Makefile variable.
53116         * configure.ac: Likewise.
53117         * configure: Regenerate.
53118         * sysdeps/s390/configure.ac:
53119         Add check for gcc transactions support.
53120         * sysdeps/s390/configure: Regenerate.
53121         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
53122         Build elision files if enabled.
53123         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
53124         Add lock elision support for s390.
53125         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
53126         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
53127         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
53128         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
53129         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
53130         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
53131         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
53132         Likewise.
53133         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
53134         Likewise.
53135         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
53136         Likewise.
53137         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
53138         Likewise.
53139         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
53140         (__lll_timedlock_elision, __lll_lock_elision)
53141         (__lll_unlock_elision, __lll_trylock_elision)
53142         (lll_timedlock_elision, lll_lock_elision)
53143         (lll_unlock_elision, lll_trylock_elision): Add.
53144         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53145         (pthread_mutex_t): Add lock elision support for s390.
53147 2014-05-14  Wilco  <wdijkstr@arm.com>
53149         * sysdeps/arm/fclrexcpt.c: Cleanup.
53150         * sysdeps/arm/fedisblxcpt.c: Cleanup.
53151         * sysdeps/arm/feenablxcpt.c: Cleanup.
53152         * sysdeps/arm/fegetenv.c: Cleanup.
53153         * sysdeps/arm/fegetexcept.c: Cleanup.
53154         * sysdeps/arm/fegetround.c: Cleanup.
53155         * sysdeps/arm/feholdexcpt.c: Cleanup.
53156         * sysdeps/arm/fesetenv.c: Cleanup.
53157         * sysdeps/arm/fesetround.c: Cleanup.
53158         * sysdeps/arm/feupdateenv.c: Cleanup.
53159         * sysdeps/arm/fgetexcptflg.c: Cleanup.
53160         * sysdeps/arm/fraiseexcpt.c: Cleanup.
53161         * sysdeps/arm/fsetexcptflg.c: Cleanup.
53162         * sysdeps/arm/ftestexcept.c: Cleanup.
53163         * sysdeps/arm/get-rounding-mode.h: Cleanup.
53164         * sysdeps/arm/setfpucw.c: Cleanup.
53166 2014-05-09  Will Newton  <will.newton@linaro.org>
53168         * sysdeps/arm/armv7/strcmp.S: New file.
53169         * NEWS: Mention addition of ARMv7 optimized strcmp.
53171 2014-05-08  Roland McGrath  <roland@hack.frob.com>
53173         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
53174         look for %.ac rather than %.in.
53176         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
53177         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
53178         * sysdeps/mach/hurd/configure: Regenerated.
53179         * sysdeps/unix/sysv/linux/configure: Regenerated.
53181         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
53183 2014-05-07  Steve Ellcey  <sellcey@mips.com>
53185         [BZ #16922]
53186         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
53187         (LONG_SUB): Ditto.
53188         (PTR_SUB): Ditto.
53190 2014-05-07  Andreas Schwab  <schwab@suse.de>
53192         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
53193         when skipping over non-matching result from nscd.
53195 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
53197         [BZ #16876]
53198         * nptl/sockperf.c (client): Check socket return value.
53200         [BZ #16877]
53201         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
53202         nscd security class.
53204 2014-05-06  Roland McGrath  <roland@hack.frob.com>
53206         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
53207         * sysdeps/arm/unwind.h: ... here.
53209 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
53211         [BZ #16916]
53212         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
53213         Define.
53215 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53217         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
53218         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
53219         multiarch strncpy for PPC64.
53220         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
53221         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
53222         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
53223         multiarch optimizations.
53224         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53225         (__libc_ifunc_impl_list): Likewise.
53226         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
53227         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
53228         multiarch stpncpy for PPC64.
53229         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
53230         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
53232 2014-05-06  Andreas Schwab  <schwab@suse.de>
53234         [BZ #16912]
53235         * gmon/mcount.c (_MCOUNT_DECL): Use
53236         atomic_compare_and_exchange_bool_acq instead of
53237         catomic_compare_and_exchange_bool_acq.
53239 2014-05-05  Roland McGrath  <roland@hack.frob.com>
53241         * elf/Makefile (others, install-bin): Remove pldd.
53242         (pldd-modules): Variable removed.
53243         ($(objpfx)pldd): Target removed.
53244         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
53245         (others, install-bin): Append pldd here.
53246         ($(objpfx)pldd): New target.
53248         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
53249         to 0, so the first #if test emitted later doesn't see it undefined.
53250         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
53251         * sysdeps/gnu/errlist.c: Regenerated.
53253 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53255         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
53256         [libc_hidden_builtin_def]: Define to empty value.
53257         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
53258         [libc_hidden_builtin_def]: Likewise.
53259         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
53260         [libc_hidden_builtin_def]: Likewise.
53261         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
53262         [libc_hidden_builtin_def]: Likewise.
53263         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
53264         __redirect_memcpy and define ifunc as default hidden symbol.
53265         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
53266         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
53268 2014-05-04  Adam Conrad  <adconrad@0c3.net>
53270         * locale/iso-4217.def: Reintroduce XDR currency.
53272 2014-05-04  Allan McRae  <allan@archlinux.org>
53274         * po/eo.po: Update Esperanto translation from translation project.
53276 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
53278         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
53279         and FEATURE_INDEX_MAX to 1.
53280         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
53282 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53284         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
53285         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
53286         * iconvdata/big5.c (ONE_DIRECTION): Define.
53287         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
53288         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
53289         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
53290         * iconvdata/cp932.c (ONE_DIRECTION): Define.
53291         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
53292         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
53293         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
53294         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
53295         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
53296         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
53297         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
53298         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
53299         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
53300         * iconvdata/gbk.c (ONE_DIRECTION): Define.
53301         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
53302         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
53303         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
53304         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
53305         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
53306         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
53307         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
53308         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
53309         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
53310         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
53311         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
53312         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
53313         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
53314         * iconvdata/iso646.c (ONE_DIRECTION): Define.
53315         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
53316         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
53317         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
53318         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
53319         * iconvdata/johab.c (ONE_DIRECTION): Define.
53320         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
53321         * iconvdata/sjis.c (ONE_DIRECTION): Define.
53322         * iconvdata/t.61.c (ONE_DIRECTION): Define.
53323         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
53324         * iconvdata/tscii.c (ONE_DIRECTION): Define.
53325         * iconvdata/uhc.c (ONE_DIRECTION): Define.
53326         * iconvdata/unicode.c (ONE_DIRECTION): Define.
53327         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
53328         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
53329         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
53331 2014-05-01  Roland McGrath  <roland@hack.frob.com>
53333         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
53334         (_IO_JUMPS_OFFSET): Define to 0.
53336         * nptl/sysdeps/pthread/bits/libc-lock.h
53337         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
53338         (__libc_lock_define_initialized_recursive): Always define using
53339         initializer.  Modern compilers treat uninitialized (implicit zero) and
53340         explicit zero initializers the same (i.e. put the datum in bss).
53342 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53344         * nscd/nscd-client.h: Include <string.h>.
53346 2014-05-01  David S. Miller  <davem@davemloft.net>
53348         [BZ #16885]
53349         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
53350         multiple zero bytes exist at the end of a string.
53351         Reported by Aurelien Jarno <aurelien@aurel32.net>
53353         * string/test-strcmp.c (check): Add explicit test for situations where
53354         there are multiple zero bytes after the first.
53356 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
53358         [BZ #16890]
53359         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
53360         when compiling wprintf.
53361         * stdio-common/tstdiomisc.c (t3): New function.
53362         (main): Call it.
53364 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53366         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
53367         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
53368         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
53369         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
53371 2014-05-01  Steve Ellcey  <sellcey@mips.com>
53373         * stdlib/longlong.h: Updated from GCC.
53375 2014-05-01  Will Newton  <will.newton@linaro.org>
53376             Bernard Ogden  <bernie.ogden@linaro.org>
53378         * NEWS: Update fixed bug list.
53380         [BZ #15119]
53381         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
53383 2014-04-30  David S. Miller  <davem@davemloft.net>
53385         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
53386         (libc_feholdexcept_setround_sparc_ctx): New function.
53387         (libc_fesetenv_sparc_ctx): Likewise.
53388         (libc_feupdateenv_sparc_ctx): Likewise.
53389         (libc_feholdsetround_sparc_ctx): Likewise.
53390         (libc_feholdexcept_setround_ctx): Define.
53391         (libc_feholdexcept_setroundf_ctx): Likewise.
53392         (libc_feholdexcept_setroundl_ctx): Likewise.
53393         (libc_fesetenv_ctx): Likewise.
53394         (libc_fesetenvf_ctx): Likewise.
53395         (libc_fesetenvl_ctx): Likewise.
53396         (libc_feupdateenv_ctx): Likewise.
53397         (libc_feupdateenvf_ctx): Likewise.
53398         (libc_feupdateenvl_ctx): Likewise.
53399         (libc_feresetround_ctx): Likewise.
53400         (libc_feresetroundf_ctx): Likewise.
53401         (libc_feresetroundl_ctx): Likewise.
53402         (libc_feholdsetround_ctx): Likewise.
53403         (libc_feholdsetroundf_ctx): Likewise.
53404         (libc_feholdsetroundl_ctx): Likewise.
53406         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53407         with __USE_GNU instead of XOPEN cpp guards.
53409         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
53410         0.
53412         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
53413         with XOPEN cpp guards.
53415 2014-04-30  Julian Brown  <julian@codesourcery.com>
53417         [BZ #16888]
53418         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
53419         handling.
53421 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
53423         [BZ #9894]
53424         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
53425         Change to 2.6.32.
53426         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
53427         * sysdeps/unix/sysv/linux/configure: Regenerated.
53428         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
53429         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
53430         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
53431         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
53432         * README: Update reference to required Linux kernel version.
53433         * manual/install.texi (Linux): Update reference to required Linux
53434         kernel headers version.
53435         * INSTALL: Regenerated.
53437         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
53438         header inclusion.
53439         [POSIX] (limits.h): Likewise.
53440         [POSIX] (math.h): Likewise.
53441         [POSIX] (sys/wait.h): Likewise.
53442         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
53443         function.
53444         [POSIX] (stddef.h): Do not allow header inclusion.
53446 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53448         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
53450 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
53452         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
53453         Return immediately after lll_futex_wake.
53455 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53457         [BZ #16791]
53458         * nscd/nscd-client.h (datahead_init_common): Initialize entire
53459         structure.
53460         (datahead_init_pos): Call datahead_init_common early.
53461         (datahead_init_neg): Likewise.
53463         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
53464         datahead_init_neg): New functions.
53465         * nscd/aicache.c (addhstaiX): Use them.
53466         * nscd/grpcache.c (cache_addgr): Likewise.
53467         * nscd/hstcache.c (cache_addhst): Likewise.
53468         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53469         * nscd/netgroupcache.c (do_notfound): Likewise.
53470         (addgetnetgrentX): Likewise.
53471         (addinnetgrX): Likewise.
53472         * nscd/pwdcache.c (cache_addpw): Likewise.
53473         * nscd/servicescache.c (cache_addserv): Likewise.
53475 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53476             Atsushi Onoe  <atsushi@onoe.org>
53478         [BZ #14308]
53479         [BZ #12994]
53480         [BZ #13651]
53481         * resolv/res_query.c (__libc_res_nsearch): Return if at least
53482         one response is valid.
53483         * resolv/res_send.c (send_dg): Check for validity of other
53484         response if the current response is a referral.
53486 2014-04-29  Steve Ellcey  <sellcey@mips.com>
53488         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
53490 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
53492         [BZ #16823]
53493         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
53494         Always divide by positive zero when computing -Inf result.
53495         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
53496         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
53498 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53500         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
53501         FPSCR if value do not change.
53502         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
53503         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
53504         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
53505         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
53506         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
53507         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
53508         function.
53510 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
53512         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
53513         * sysdeps/unix/sysv/linux/hppa: Move directory from
53514         ports/systeps/unix/sysv/linux/hppa.
53515         * README: Update listing for hppa-*-linux-gnu.
53517 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
53519         [BZ #16754]
53520         * manual/stdio.texi (Hook functions): Fix types of stream hook
53521         functions.
53522         [BZ #16854]
53523         * socket/sys/socket.h: Fix typo in comment.
53525 2014-04-28  Wilco  <wdijkstr@arm.com>
53527         * sysdeps/arm/fenv_private.h: New file.
53528         * sysdeps/arm/math_private.h: New file.
53529         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
53531 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
53533         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
53534         with __int128_t.
53535         (La_x86_64_retval): Likewise.
53537 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
53539         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
53540         fpsr if value didn't change.
53541         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
53542         to fpcr if value didn't change.
53543         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
53544         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
53545         fpsr or fpcr if value didn't change.
53546         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
53547         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
53548         fpcr if value didn't change.
53549         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
53550         to fpsr if value didn't change.
53552 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53554         * nptl/tst-sem3.c: Use test-skeleton.c
53555         (main): Rename to do_test.  Use return instead of
53556         exit.
53557         * nptl/tst-sem4.c: Use test-skeleton.c
53558         (main): Rename to do_test.
53560 2014-04-22  David S. Miller  <davem@davemloft.net>
53562         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
53563         (struct sigaction): New struct member __glibc_reserved0, change
53564         type of sa_flags to int.
53566 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
53568         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
53569         (COUNT_LEADING_ZEROS_0): Define for AArch64.
53571 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53573         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
53574         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
53576 2014-04-22  Will Newton  <will.newton@linaro.org>
53577             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
53579         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
53580         (__longjmp): Add longjmp and longjmp_target SystemTap
53581         probes.
53582         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
53583         (__sigsetjmp): Add setjmp SystemTap probe.
53585 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
53587         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
53588         match manual order.
53590 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53592         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
53594         * sysdeps/powerpc/fpu/fenv_private.h
53595         (libc_feholdexcept_setroundl_ctx): Define to
53596         libc_feholdexcept_setround_ppc_ctx.
53597         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
53598         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
53599         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
53600         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
53602 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53604         * sysdeps/aarch64/math-tests.h: New file.
53606 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
53608         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
53609         New.
53610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53611         Check and set bit_AVX2_Usable.
53612         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
53613         macro.
53614         (bit_AVX2): Likewise.
53615         (index_AVX2_Usable): Likewise.
53616         (CPUID_AVX2): Likewise.
53617         (HAS_AVX2): Likewise.
53619 2014-04-17  Will Newton  <will.newton@linaro.org>
53621         * manual/setjmp.texi (System V contexts): Add note that
53622         calling setcontext on a context created by a call to a
53623         signal handler is undefined.  Update text to note that
53624         setcontext from a signal handler is possible but not
53625         recommended.
53627         [BZ #16629]
53628         * stdlib/tst-setcontext.c: Include signal.h.
53629         (main): Check that the signal stack before and
53630         after swapcontext is the same.
53632         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
53633         Re-implement to restore registers in user code and avoid
53634         rt_sigreturn system call.
53636 2014-04-17  Wilco  <wdijkstr@arm.com>
53638         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
53639         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
53640         * math/test-fenv.c: Skip exception trap tests on targets which only
53641         support non-stop mode.
53643 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
53644             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53646         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
53647         (libc_feholdsetround_aarch64_ctx)
53648         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
53649         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
53650         (libc_feresetround_ctx, libc_feresetroundf_ctx)
53651         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
53652         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
53653         (libc_feresetround_noexl_ctx): Define.
53655 2014-04-16  Richard Henderson  <rth@redhat.com>
53657         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
53659         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
53660         unwind tables.
53662         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
53663         const from the non-libc, non-ldso copy.
53665         * sysdeps/alpha/libm-test-ulps: Regenerate.
53667 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
53668             Wilco Dijkstra  <wilco.dijkstra@arm.com>
53670         * sysdeps/aarch64/fpu/math_private.h: New file.
53672 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
53674         * sysdeps/aarch64/libm-test-ulps: Regenerate.
53676 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
53678         [BZ #16275]
53679         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
53680         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
53681         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
53682         Intel MPX bound registers before _dl_profile_fixup.
53683         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
53684         registers after _dl_profile_fixup.  Save and restore bound
53685         registers bnd0/bnd1 when calling _dl_call_pltexit.
53686         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
53687         (LR_BND_OFFSET): Likewise.
53688         (LRV_BND0_OFFSET): Likewise.
53689         (LRV_BND1_OFFSET): Likewise.
53691 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53693         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
53694         to...
53695         * sysdeps/mach/hurd/i386/tls.h: ... here.
53696         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
53697         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
53698         fields.
53700 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53702         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
53704 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53706         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53708 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
53710         [BZ #14770]
53711         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
53712         * sysdeps/s390/configure: Regenerate.
53714         [BZ #16824]
53715         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
53716         Set round-to-nearest internally to reduce error accumulation.
53718 2014-04-16  Alan Modra  <amodra@gmail.com>
53720         [BZ #16740]
53721         [BZ #16619]
53722         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
53723         * math/libm-test.inc (frexp_test_data): Add tests.
53724         * NEWS: Update fixed bug list.
53726 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53728         * benchtests/Makefile: Depend on libraries in build directory.
53729         (bench-math): Separate out math tests.
53730         (bench-pthread): Separate out pthread tests.
53731         (bench): Include math and pthread tests.
53733 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
53735         [BZ #16831]
53736         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
53737         _dl_debug_initialize.
53739         * configure.ac: Remove SELinux header check.
53740         * configure: Regenerate.
53741         * nscd/selinux.c (perms): Array of const char* to permission names.
53742         (nscd_request_avc_has_perm): Call security_deny_unknown to find
53743         default policy. Call string_to_security_class and string_to_av_perm to
53744         translate strings. Enforce default policy and call avs_has_perm with
53745         results of translated strings.
53747 2014-04-13  David S. Miller  <davem@davemloft.net>
53749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53751 2014-04-12  Allan McRae  <allan@archlinux.org>
53753         [BZ #16838]
53754         * manual/string.texi (Collation Functions): Fix qsort argument
53755         order in example.
53756         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53758 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
53760         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
53761         Make the test a no-op if there are no exceptions defined.
53763 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
53765         * elf/Makefile (tests): make tst-dlopen-aout conditional on
53766         enable-hardcoded-path-in-tests
53768 2014-04-11  Will Newton  <will.newton@linaro.org>
53770         * benchtests/Makefile (extra-objs): Add json-lib.o.
53771         (bench-func): Tidy up JSON output.
53772         * benchtests/bench-skeleton.c: Include json-lib.h.
53773         (main): Use JSON library functions to do output of
53774         benchmark results.
53775         * benchtests/bench-timing-type.c (main): Output the
53776         timing type simply, leaving formatting to the user.
53777         * benchtests/json-lib.c: New file.
53778         * benchtests/json-lib.h: Likewise.
53780 2014-04-11  Torvald Riegel  <triegel@redhat.com>
53782         [BZ #15215]
53783         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
53784         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
53785         memory barriers.  Add comments.
53786         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
53787         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
53788         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
53789         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
53790         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
53791         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
53793 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
53795         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
53796         * sysdeps/s390/s390-64/configure.ac: ... this ...
53797         * sysdeps/s390/configure.ac: ... to here.
53798         * sysdeps/s390/s390-32/configure: Delete file.
53799         * sysdeps/s390/s390-64/configure: Delete file.
53800         * sysdeps/s390/configure: Regenerate.
53802 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
53804         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
53806 2014-04-11  Will Newton  <will.newton@linaro.org>
53808         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
53809         to zero if it is not defined elsewhere.  (mtrim): Test
53810         the value of MALLOC_DEBUG with #if rather than #ifdef.
53812 2014-04-10 Torvald Riegel  <triegel@redhat.com>
53814         * benchtests/pthread_once-inputs: New file.
53815         * benchtests/pthread_once-source.c: New file.
53816         * benchtests/README: Update documentation.
53818 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
53819             H.J. Lu  <hongjiu.lu@intel.com>
53821         [BZ #16275]
53822         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
53823         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
53824         * sysdeps/x86_64/configure: Regenerated.
53825         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
53826         macro.
53827         (REGISTER_SAVE_RAX): Likewise.
53828         (REGISTER_SAVE_RCX): Likewise.
53829         (REGISTER_SAVE_RDX): Likewise.
53830         (REGISTER_SAVE_RSI): Likewise.
53831         (REGISTER_SAVE_RDI): Likewise.
53832         (REGISTER_SAVE_R8): Likewise.
53833         (REGISTER_SAVE_R9): Likewise.
53834         (REGISTER_SAVE_BND0): Likewise.
53835         (REGISTER_SAVE_BND1): Likewise.
53836         (REGISTER_SAVE_BND2): Likewise.
53837         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
53838         bound registers when calling _dl_fixup.
53840 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53842         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
53843         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
53844         of its definition.
53845         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
53846         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
53847         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
53848         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
53849         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
53850         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
53851         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
53853 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
53855         [BZ #15514]
53856         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
53857         pathconf(_PC_NAME_MAX).
53859 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53861         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53862         Remove macro usage.
53863         (__PTHREAD_SPINS): Move definition to ...
53864         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53865         (__PTHREAD_SPINS): ... here.
53866         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53867         (__PTHREAD_SPIN): Likewise.
53868         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53869         (__PTHREAD_SPIN): Likewise.
53870         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53871         (__PTHREAD_SPIN): Likewise.
53872         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53873         (__PTHREAD_SPIN): Likewise.
53874         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53875         (__PTHREAD_SPIN): Likewise.
53876         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53877         (__PTHREAD_SPIN): Likewise.
53878         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53879         (__PTHREAD_SPIN): Likewise.
53880         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53881         (__PTHREAD_SPIN): Likewise.
53882         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53883         (__PTHREAD_SPIN): Likewise.
53884         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53885         (__PTHREAD_SPIN): Likewise.
53886         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53887         (__PTHREAD_SPIN): Likewise.
53888         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53889         (__PTHREAD_SPIN): Likewise.
53891         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53892         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53893         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53894         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53895         imply folder.
53896         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53897         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53898         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53899         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53900         correct imply path.
53901         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53902         strlen symbol for non multi-arch builds.
53903         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53904         missing hidden_def and weak_alias.
53906 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53908         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53910 2014-04-07  Will Newton  <will.newton@linaro.org>
53912         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53913         and contents.  [!_LIBC] Remove #ifndef and contents.
53914         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53915         * string/memccpy.c (__memccpy): Use ANSI prototype.
53916         * string/memfrob.c (memfrob): Likewise.
53917         * string/strcoll.c (STRCOLL): Likewise.
53918         * string/strlen.c (strlen): Likewise.
53919         * string/strtok.c (STRTOK): Likewise.
53920         * string/strcat.c: Remove unused #include of memcopy.h.
53921         (strcat): Use ANSI prototype.
53922         * string/strchr.c: Remove unused #include of memcopy.h.
53923         (strchr): Use ANSI prototype.
53924         * string/strcmp.c: Remove unused #include of memcopy.h.
53925         (strcmp): Use ANSI prototype.
53926         * string/strcpy.c: Remove unused #include of memcopy.h.
53927         (strcpy): Use ANSI prototype.
53929 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53931         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53932         * config.make.in (config-extra-cppflags): Set it from
53933         libc_extra_cppflags.
53934         * configure.ac (libc_extra_cflags): Make it accumulate over
53935         configure fragments.
53936         (libc_extra_cppflags): New flag.
53937         * configure. Regenerate.
53938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53939         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53940         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53943         [BZ #16815]
53944         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53945         result for FE_DOWNWARD rounding mode.
53946         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53947         Likewise.
53948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53950 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53952         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53953         in function argument name.
53955 2014-04-03  David Svoboda  <svoboda@cert.org>
53957         [BZ #5666]
53958         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53959         explicitly.
53961 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53963         * elf/dl-unmap-segments.h: New file.
53964         * sysdeps/generic/ldsodefs.h
53965         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53966         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53967         * elf/dl-fptr.c: Likewise.
53968         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53969         * sysdeps/aarch64/tlsdesc.c: Likewise.
53970         * sysdeps/arm/tlsdesc.c: Likewise.
53971         * sysdeps/i386/tlsdesc.c: Likewise.
53972         * sysdeps/tile/dl-runtime.c: Likewise.
53973         * sysdeps/x86_64/tlsdesc.c: Likewise.
53974         * elf/dl-load.h: New file.
53975         * elf/dl-load.c: Include it.
53976         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53977         Macros moved to dl-load.h.
53978         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53979         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53980         Use _dl_unmap_segments in place of __munmap.
53981         Break out segment-mapping loop into ...
53982         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53984 2014-04-03  Will Newton  <will.newton@linaro.org>
53986         * elf/dl-lookup.c (do_lookup_x): Remove comment
53987         referring to nested function and move variable
53988         declarations down to before first use.
53990 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53992         [BZ #16799]
53993         [BZ #16800]
53994         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53995         with 0 numerator.
53996         * math/s_catanf.c (__catanf): Likewise.
53997         * math/s_catanh.c (__catanh): Likewise.
53998         * math/s_catanhf.c (__catanhf): Likewise.
53999         * math/s_catanhl.c (__catanhl): Likewise.
54000         * math/s_catanl.c (__catanl): Likewise.
54001         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
54002         by positive zero when computing -Inf result.
54003         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
54004         (catanh_test): Likewise.
54005         * sysdeps/i386/fpu/libm-test-ulps: Update.
54006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54008         [BZ #16789]
54009         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
54010         instead of using underflowing value in computing result.
54011         * math/s_clog10.c (__clog10): Likewise.
54012         * math/s_clog10f.c (__clog10f): Likewise.
54013         * math/s_clog10l.c (__clog10l): Likewise.
54014         * math/s_clogf.c (__clogf): Likewise.
54015         * math/s_clogl.c (__clogl): Likewise.
54016         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
54017         (clog10_test): Likewise.
54018         * sysdeps/i386/fpu/libm-test-ulps: Update.
54019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54021 2014-04-02  Alan Modra  <amodra@gmail.com>
54023         [BZ #16739]
54024         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
54025         output when value is near a power of two.  Use int64_t for lx and
54026         remove casts.  Use decimal rather than hex exponent constants.
54027         Don't use long double multiplication when double will suffice.
54028         * math/libm-test.inc (nextafter_test_data): Add tests.
54029         * NEWS: Add 16739 and 16786 to bug list.
54031         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
54033         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
54035 2014-04-01  Will Newton  <will.newton@linaro.org>
54037         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
54038         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
54040 2014-04-01  Florian Weimer  <fweimer@redhat.com>
54042         [BZ #13347]
54043         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
54044         * nptl/tst-setuid2.c: New file.
54045         * nptl/Makefile (xtests): Add tst-setuid2.
54047 2014-04-01  Alan Modra  <amodra@gmail.com>
54049         [BZ #16786]
54050         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
54052 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
54054         [BZ #6803]
54055         [BZ #6804]
54056         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
54057         set errno as appropriate.
54058         * math/w_scalbf.c (__scalbf): Likewise.
54059         * math/w_scalbl.c (__scalbl): Likewise.
54060         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
54061         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
54062         * math/libm-test.inc (scalb_test_data): Add errno expectations.
54063         Add more NaN tests.
54065         [BZ #16349]
54066         * math/w_atan2.c: Include <errno.h>.
54067         (__atan2): Set errno for result underflowing to zero.
54068         * math/w_atan2f.c: Include <errno.h>.
54069         (__atan2f): Set errno for result underflowing to zero.
54070         * math/w_atan2l.c: Include <errno.h>.
54071         (__atan2l): Set errno for result underflowing to zero.
54072         * math/auto-libm-test-in: Don't allow missing errno for some atan2
54073         tests.
54074         * math/auto-libm-test-out: Regenerated.
54076 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54078         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
54079         Encode instruction correctly in little endian.
54080         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
54081         Likewise.
54082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
54083         Likewise.
54084         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
54085         Likewise.
54086         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
54087         Likewise.
54089 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
54091         [BZ #9894]
54092         * sysdeps/unix/sysv/linux/kernel-features.h
54093         [__sparc__ && !__arch64__ && !__sparc_v9__]
54094         (__ASSUME_SET_ROBUST_LIST): Do not define.
54095         [__sparc__ && !__arch64__ && !__sparc_v9__]
54096         (__ASSUME_FUTEX_LOCK_PI): Likewise.
54097         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
54098         Likewise.
54099         * sysdeps/unix/sysv/linux/arm/kernel-features.h
54100         (__ASSUME_FUTEX_LOCK_PI): Undefine.
54101         (__ASSUME_REQUEUE_PI): Likewise.
54102         (__ASSUME_SET_ROBUST_LIST): Likewise.
54103         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
54104         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
54105         Undefine.
54106         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54107         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
54108         Likewise.
54109         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
54110         Likewise.
54111         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
54112         Likewise.
54113         * sysdeps/unix/sysv/linux/mips/kernel-features.h
54114         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
54115         Undefine.
54116         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
54117         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
54118         Likewise.
54120         [BZ #16648]
54121         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54122         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
54123         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
54125 2014-03-31  Will Newton  <will.newton@linaro.org>
54127         * benchtests/Makefile (bench): Add ffs and ffsll to list
54128         of tests.
54129         * benchtests/ffs-inputs: New file.
54130         * benchtests/ffsll-inputs: Likewise.
54132 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
54134         [BZ #16770]
54135         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
54136         too large before casting to int.
54137         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
54138         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
54139         * math/libm-test.inc (scalb_test_data): Add more tests.
54141 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54143         * benchtests/Makefile (DETAILED_OPT): New make option.
54144         (bench-func): Run benchmark program with -d if DETAILED_OPT is
54145         set.
54146         * benchtests/bench-skeleton.c: Include stdbool.h.
54147         (main): Store and print timings per input.
54148         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
54149         member to each argument value.
54150         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
54151         (_print_arg_data): Initialize per-input timing to 0.
54153         * benchtests/Makefile (timing-type): New binary.
54154         (bench-clean): Also remove bench-timing-type.
54155         (bench): New target for timing-type.
54156         (bench-func): Print output in JSON format.
54157         * benchtests/bench-skeleton.c (main): Print output in JSON
54158         format.
54159         * benchtests/bench-timing-type.c: New file.
54160         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
54161         (TIMING_PRINT_STATS): Remove.
54162         * benchtests/scripts/bench.py (_print_arg_data): Store variant
54163         name separately.
54165         * benchtests/bench-modf.c: Remove.
54166         * benchtests/modf-inputs: New inputs file.
54168 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
54170         [BZ #16362]
54171         * math/s_clog10.c (M_PI_LOG10E): New macro.
54172         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
54173         imaginary parts are 0.
54174         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
54175         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
54176         imaginary parts are 0.
54177         * math/s_clog10l.c (M_PI_LOG10El): New macro.
54178         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
54179         imaginary parts are 0.
54180         * math/libm-test.inc (clog10_test_data): Update expected results
54181         for when real and imaginary parts are 0.
54183 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
54185         * elf/dl-load.c: Finish conversion of __builtin_expect into
54186         __glibc_{un}likely.
54188 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
54190         [BZ #16348]
54191         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
54192         1+x for argument with exponent below -67.
54193         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
54194         Likewise.
54195         * math/auto-libm-test-in: Add more tests of exp.
54196         * math/auto-libm-test-out: Regenerated.
54198 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54200         [BZ #16759]
54201         * inet/getnetgrent_r.c (get_nonempty_val): New function.
54202         (nscd_getnetgrent): Use it.
54204         [BZ #16760]
54205         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
54206         of stpcpy.
54208 2014-03-27  Andi Kleen  <ak@linux.intel.com>
54210         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
54211         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54212         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54213         (lll_robust_unlock): Remove out of line section. Use cfi
54214         intrinsics.
54215         (LLL_STUB_UNWIND_INFO*): Remove.
54216         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
54217         (lll_robust_lock, lll_cond_lock, lll_timedlock)
54218         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
54219         (lll_robust_unlock): Remove out of line section. Use cfi
54220         intrinsics.
54221         (LLL_STUB_UNWIND_INFO*): Remove.
54223 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
54225         [BZ #16758]
54226         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
54227         blank values.
54229 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
54231         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
54233 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
54235         [BZ #16198]
54236         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
54237         fnstenv.
54238         * math/test-fenv-preserve.c: New file.
54239         * math/Makefile (tests): Add test-fenv-preserve.
54241 2014-03-26  Will Newton <will.newton@linaro.org>
54243         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
54245 2014-03-25  Roland McGrath  <roland@hack.frob.com>
54247         * scripts/versionlist.awk: Partition the version sets and emit all
54248         GLIBC_* (sorted) before all others (sorted).
54250 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54252         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
54253         GLIBC_2.2.5 version.
54255 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54257         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
54258         calls.
54260         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
54261         previous change.
54263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54265 2014-03-25  Andreas Schwab  <schwab@suse.de>
54267         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
54268         label to be used after in6ailist is initialized.
54270 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54272         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
54273         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54275 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
54277         [BZ #16357]
54278         [BZ #16599]
54279         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
54280         min_plus_half.
54281         (fp_formats): Update initializers.
54282         (init_fp_formats): Initialize new field.
54283         (output_for_one_input_case): Allow underflow for results up to
54284         min_plus_half.
54285         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
54286         * math/auto-libm-test-in: Don't mark some underflows from asin and
54287         atanh as spurious.
54288         * math/auto-libm-test-out: Regenerated.
54289         * sysdeps/i386/fpu/libm-test-ulps: Update.
54290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54292 2014-03-25  Andreas Schwab  <schwab@suse.de>
54294         * libio/Makefile (tst-ftell-partial-wide-ENV)
54295         (tst-ftell-active-handler-ENV): Define.
54297 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
54299         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
54301 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54303         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
54305 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54307         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
54308         * sysdeps/x86_64/fpu/multiarch/e_exp.c
54309         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
54311 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
54313         [BZ #16634]
54314         * elf/dl-load.c (open_verify): Add mode parameter.
54315         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
54316         (open_path): Change from boolean 'secure' to complete flag 'mode'
54317         (_dl_map_object): Adjust.
54318         * elf/Makefile (tests): Add tst-dlopen-aout.
54319         * elf/tst-dlopen-aout.c: New test.
54321 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
54323         [BZ #16714]
54324         * sysdeps/unix/sysv/linux/s390/bits/stat.h
54325         (struct stat): Rename member pad0 to __glibc_reserved0.
54327         [BZ #16712]
54328         * sysdeps/s390/s390-32/bits/wordsize.h
54329         (__WORDSIZE32_SIZE_ULONG): New define.
54330         * sysdeps/s390/s390-64/bits/wordsize.h
54331         (__WORDSIZE32_SIZE_ULONG): Likewise.
54332         * sysdeps/generic/stdint.h (SIZE_MAX):
54333         Define as UL if __WORDSIZE32_SIZE_ULONG.
54335         [BZ #16713]
54336         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
54337         (__glibc_reserved0): New variable.
54338         (sa_flags): Change type to int.
54340         * posix/Makefile (before-compile): Use += before-compile instead
54341         of a :=.
54343         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
54344         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
54346 2014-03-20  Andreas Schwab  <schwab@suse.de>
54348         [BZ #16743]
54349         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
54350         non-matching result from nscd.
54352 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54354         * scripts/bench.py: Moved to ...
54355         * benchtests/scripts/bench.py: ... here.
54356         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
54358 2014-03-24  Andreas Schwab  <schwab@suse.de>
54360         [BZ #16002]
54361         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
54362         alloca_account and account alloca use for struct in6ailist.
54364 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
54366         [BZ #16284]
54367         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
54368         rounding mode to recompute results that overflow to infinity or
54369         underflow to zero.
54370         * math/auto-libm-test-in: Don't mark tests as expected to fail for
54371         bug 16284.
54372         * math/auto-libm-test-out: Regenerated.
54373         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
54374         (ccosh_test): Likewise.
54375         (csin_test_data): Use plus_oflow.
54376         (csin_test): Use ALL_RM_TEST.
54377         (csinh_test_data): Use plus_oflow.
54378         (csinh_test): Use ALL_RM_TEST.
54379         * sysdeps/i386/fpu/libm-test-ulps: Update.
54380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54382 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
54384         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
54385         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
54386         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
54388         [BZ #16731]
54389         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
54390         when x - 1 is zero.
54391         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
54392         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
54393         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
54394         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
54395         argument is 1.
54396         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
54397         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
54398         zero.
54399         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
54400         * sysdeps/i386/fpu/libm-test-ulps: Update.
54401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54403 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54405         * scripts/bench.pl: Remove file.
54406         * scripts/bench.py: New benchmark script.
54407         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
54408         * benchtests/README: Mention python dependency.
54409         * scripts/pylintrc: New file.
54410         * scripts/pylint: New file.
54412         * bits/mathdef.h: Use #ifdef instead of #if.
54413         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
54414         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54415         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
54416         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54417         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
54418         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
54420 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54421             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54423         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
54424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
54425         and strpbrk-ppc64 objects.
54426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54427         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
54428         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
54429         multiarch strpbrk for POWER7.
54430         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
54431         multiarch strpbrk for PPC64.
54432         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
54433         ifunc selector.
54434         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
54435         strpbrk for POWER7.
54437 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54439         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
54440         (atan_test): Likewise.
54441         (atanh_test_data): Use NO_TEST_INLINE for two tests.
54442         (atanh_test): Use ALL_RM_TEST.
54443         (atan2_test_data): Likewise.
54444         (cabs_test): Likewise.
54445         (cacosh_test): Likewise.
54446         (carg_test): Likewise.
54447         (casin_test): Likewise.
54448         (casinh_test): Likewise.
54449         (cbrt_test): Likewise.
54450         (csqrt_test): Likewise.
54451         (erf_test): Likewise.
54452         (erfc_test): Likewise.
54453         (pow10_test): Likewise.
54454         (exp2_test): Likewise.
54455         (hypot_test): Likewise.
54456         (j0_test): Likewise.
54457         (j1_test): Likewise.
54458         (lgamma_test): Likewise.
54459         (gamma_test): Likewise.
54460         (sincos_test): Likewise.
54461         (tanh_test): Likewise.
54462         (y0_test): Likewise.
54463         (y1_test): Likewise.
54464         * sysdeps/i386/fpu/libm-test-ulps: Update.
54465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54467 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54469         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
54470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
54471         and strcspn-ppc64 objects.
54472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
54473         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
54474         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
54475         multiarch strcspn for POWER7.
54476         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
54477         multiarch strcspn for PPC64.
54478         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
54479         ifunc selector.
54480         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
54481         strcspn for POWER7.
54483 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
54485         * math/gen-libm-test.pl (generate_testfile): Expect only function
54486         name as argument to AUTO_TESTS_* and pass results for all rounding
54487         modes to parse_args.
54488         (parse_auto_input): Separate inputs of automatic tests from
54489         outputs before storing in %auto_tests.
54490         * math/libm-test.inc (acos_test_data): Update call to
54491         AUTO_TESTS_f_f.
54492         (acos_test): Use ALL_RM_TEST.
54493         (acos_tonearest_test_data): Remove.
54494         (acos_test_tonearest): Likewise.
54495         (acos_towardzero_test_data): Likewise.
54496         (acos_test_towardzero): Likewise.
54497         (acos_downward_test_data): Likewise.
54498         (acos_test_downward): Likewise.
54499         (acos_upward_test_data): Likewise.
54500         (acos_test_upward): Likewise.
54501         (acosh_test_data): Update call to AUTO_TESTS_f_f.
54502         (asin_test_data): Likewise.
54503         (asin_test): Use ALL_RM_TEST.
54504         (asin_tonearest_test_data): Remove.
54505         (asin_test_tonearest): Likewise.
54506         (asin_towardzero_test_data): Likewise.
54507         (asin_test_towardzero): Likewise.
54508         (asin_downward_test_data): Likewise.
54509         (asin_test_downward): Likewise.
54510         (asin_upward_test_data): Likewise.
54511         (asin_test_upward): Likewise.
54512         (asinh_test_data): Update call to AUTO_TESTS_f_f.
54513         (atan_test_data): Likewise.
54514         (atanh_test_data): Likewise.
54515         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
54516         (cabs_test_data): Update call to AUTO_TESTS_c_f.
54517         (carg_test_data): Likewise.
54518         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
54519         (ccos_test_data): Update call to AUTO_TESTS_c_c.
54520         (ccosh_test_data): Likewise.
54521         (cexp_test_data): Likewise.
54522         (clog_test_data): Likewise.
54523         (clog10_test_data): Likewise.
54524         (cos_test_data): Update call to AUTO_TESTS_f_f.
54525         (cos_test): Use ALL_RM_TEST.
54526         (cos_tonearest_test_data): Remove.
54527         (cos_test_tonearest): Likewise.
54528         (cos_towardzero_test_data): Likewise.
54529         (cos_test_towardzero): Likewise.
54530         (cos_downward_test_data): Likewise.
54531         (cos_test_downward): Likewise.
54532         (cos_upward_test_data): Likewise.
54533         (cos_test_upward): Likewise.
54534         (cosh_test_data): Update call to AUTO_TESTS_f_f.
54535         (cosh_test): Use ALL_RM_TEST.
54536         (cosh_tonearest_test_data): Remove.
54537         (cosh_test_tonearest): Likewise.
54538         (cosh_towardzero_test_data): Likewise.
54539         (cosh_test_towardzero): Likewise.
54540         (cosh_downward_test_data): Likewise.
54541         (cosh_test_downward): Likewise.
54542         (cosh_upward_test_data): Likewise.
54543         (cosh_test_upward): Likewise.
54544         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
54545         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
54546         (ctan_test_data): Likewise.
54547         (ctan_test): Use ALL_RM_TEST.
54548         (ctan_tonearest_test_data): Remove.
54549         (ctan_test_tonearest): Likewise.
54550         (ctan_towardzero_test_data): Likewise.
54551         (ctan_test_towardzero): Likewise.
54552         (ctan_downward_test_data): Likewise.
54553         (ctan_test_downward): Likewise.
54554         (ctan_upward_test_data): Likewise.
54555         (ctan_test_upward): Likewise.
54556         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
54557         (ctanh_test): Use ALL_RM_TEST.
54558         (ctanh_tonearest_test_data): Remove.
54559         (ctanh_test_tonearest): Likewise.
54560         (ctanh_towardzero_test_data): Likewise.
54561         (ctanh_test_towardzero): Likewise.
54562         (ctanh_downward_test_data): Likewise.
54563         (ctanh_test_downward): Likewise.
54564         (ctanh_upward_test_data): Likewise.
54565         (ctanh_test_upward): Likewise.
54566         (erf_test_data): Update call to AUTO_TESTS_f_f.
54567         (erfc_test_data): Likewise.
54568         (exp_test_data): Likewise.
54569         (exp_test): Use ALL_RM_TEST.
54570         (exp_tonearest_test_data): Remove.
54571         (exp_test_tonearest): Likewise.
54572         (exp_towardzero_test_data): Likewise.
54573         (exp_test_towardzero): Likewise.
54574         (exp_downward_test_data): Likewise.
54575         (exp_test_downward): Likewise.
54576         (exp_upward_test_data): Likewise.
54577         (exp_test_upward): Likewise.
54578         (exp10_test_data): Update call to AUTO_TESTS_f_f.
54579         (exp10_test): Use ALL_RM_TEST.
54580         (exp10_tonearest_test_data): Remove.
54581         (exp10_test_tonearest): Likewise.
54582         (exp10_towardzero_test_data): Likewise.
54583         (exp10_test_towardzero): Likewise.
54584         (exp10_downward_test_data): Likewise.
54585         (exp10_test_downward): Likewise.
54586         (exp10_upward_test_data): Likewise.
54587         (exp10_test_upward): Likewise.
54588         (exp2_test_data): Update call to AUTO_TESTS_f_f.
54589         (expm1_test_data): Likewise.
54590         (expm1_test): Use ALL_RM_TEST.
54591         (expm1_tonearest_test_data): Remove.
54592         (expm1_test_tonearest): Likewise.
54593         (expm1_towardzero_test_data): Likewise.
54594         (expm1_test_towardzero): Likewise.
54595         (expm1_downward_test_data): Likewise.
54596         (expm1_test_downward): Likewise.
54597         (expm1_upward_test_data): Likewise.
54598         (expm1_test_upward): Likewise.
54599         (fma_test_data): Update call to AUTO_TESTS_fff_f.
54600         (fma_test): Use ALL_RM_TEST.
54601         (fma_towardzero_test_data): Remove.
54602         (fma_test_towardzero): Likewise.
54603         (fma_downward_test_data): Likewise.
54604         (fma_test_downward): Likewise.
54605         (fma_upward_test_data): Likewise.
54606         (fma_test_upward): Likewise.
54607         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
54608         (j0_test_data): Update call to AUTO_TESTS_f_f.
54609         (j1_test_data): Likewise.
54610         (jn_test_data): Update call to AUTO_TESTS_if_f.
54611         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
54612         (log_test_data): Update call to AUTO_TESTS_f_f.
54613         (log10_test_data): Likewise.
54614         (log1p_test_data): Likewise.
54615         (log2_test_data): Likewise.
54616         (pow_test_data): Update call to AUTO_TESTS_ff_f.
54617         (pow_tonearest_test_data): Likewise.
54618         (sin_test_data): Update call to AUTO_TESTS_f_f.
54619         (sin_test): Use ALL_RM_TEST.
54620         (sin_tonearest_test_data): Remove.
54621         (sin_test_tonearest): Likewise.
54622         (sin_towardzero_test_data): Likewise.
54623         (sin_test_towardzero): Likewise.
54624         (sin_downward_test_data): Likewise.
54625         (sin_test_downward): Likewise.
54626         (sin_upward_test_data): Likewise.
54627         (sin_test_upward): Likewise.
54628         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
54629         (sinh_test_data): Update call to AUTO_TESTS_f_f.
54630         (sinh_test): Use ALL_RM_TEST.
54631         (sinh_tonearest_test_data): Remove.
54632         (sinh_test_tonearest): Likewise.
54633         (sinh_towardzero_test_data): Likewise.
54634         (sinh_test_towardzero): Likewise.
54635         (sinh_downward_test_data): Likewise.
54636         (sinh_test_downward): Likewise.
54637         (sinh_upward_test_data): Likewise.
54638         (sinh_test_upward): Likewise.
54639         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
54640         (sqrt_test): Use ALL_RM_TEST.
54641         (sqrt_tonearest_test_data): Remove.
54642         (sqrt_test_tonearest): Likewise.
54643         (sqrt_towardzero_test_data): Likewise.
54644         (sqrt_test_towardzero): Likewise.
54645         (sqrt_downward_test_data): Likewise.
54646         (sqrt_test_downward): Likewise.
54647         (sqrt_upward_test_data): Likewise.
54648         (sqrt_test_upward): Likewise.
54649         (tan_test_data): Update call to AUTO_TESTS_f_f.
54650         (tan_test): Use ALL_RM_TEST.
54651         (tan_tonearest_test_data): Remove.
54652         (tan_test_tonearest): Likewise.
54653         (tan_towardzero_test_data): Likewise.
54654         (tan_test_towardzero): Likewise.
54655         (tan_downward_test_data): Likewise.
54656         (tan_test_downward): Likewise.
54657         (tan_upward_test_data): Likewise.
54658         (tan_test_upward): Likewise.
54659         (tanh_test_data): Update call to AUTO_TESTS_f_f.
54660         (tgamma_test_data): Likewise.
54661         (y0_test_data): Likewise.
54662         (y1_test_data): Likewise.
54663         (yn_test_data): Update call to AUTO_TESTS_if_f.
54664         (main): Do not call removed functions.
54666 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54668         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
54669         (ldexp_test_data): Remove.
54670         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
54671         scalbn_test_data.
54672         (scalb_test): Use ALL_RM_TEST.
54674 2014-03-19  Andreas Schwab  <schwab@suse.de>
54676         * nscd/nscd.service: Also invalidate netgroup cache on reload.
54678 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
54680         [BZ #16649]
54681         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
54682         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
54683         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
54684         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54685         (__ASSUME_PREADV): Undefine.
54686         (__ASSUME_PWRITEV): Likewise.
54688 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54690         * bits/mman-linux.h: Add comment about non-Linux use.
54691         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
54692         bits/mman-linux.h resting place.
54694         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
54695         * bits/mman-linux.h: ... here.
54697 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54699         * conform/conformtest.pl: Add standard definition when calling C
54700         preprocessor on data files.
54701         (checknamespace): Remove unused variable.
54703 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54705         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
54706         minus_oflow, plus_uflow and minus_uflow in expected results.
54707         * math/libm-test.inc (scalbn_test_data): Add more tests of
54708         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
54709         minus_uflow.
54710         (scalbn_test): Use ALL_RM_TEST.
54711         (scalbln_test_data): Add more tests of negative arguments.  Use
54712         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
54713         (scalbln_test): Use ALL_RM_TEST.
54715 2014-03-18  Roland McGrath  <roland@hack.frob.com>
54717         * scripts/abilist.awk: Ignore symbols marked with .hidden.
54719 2014-03-18  Will Newton  <will.newton@linaro.org>
54721         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
54722         inaccurate comment.
54724 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
54726         * Makerules [!subdir] (check-abi): Exit with error status if a
54727         test failed.
54729 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54731         * math/libm-test.inc (nearbyint_test_data): Include all tests used
54732         for rint.  Include results for all rounding modes.
54733         (nearbyint_test): Use ALL_RM_TEST.
54734         (rint_test_data): Include all tests used for nearbyint.
54736 2014-03-17  Will Newton  <will.newton@linaro.org>
54738         * nptl/sysdeps/pthread/pthread.h: Revert previous
54739         change.
54741         * sysdeps/generic/ldsodefs.h: Revert previous
54742         change.
54744         * libio/genops.c: Revert previous change.
54745         * libio/libioP.h: Likewise.
54746         * stdio-common/vfprintf.c: Likewise.
54748         * sysdeps/generic/math_private.h: Revert previous
54749         change.
54751         * sysdeps/generic/math_private.h: Check whether
54752         HAVE_RM_CTX is defined with #ifdef rather
54753         than #if.
54755         * argp/argp-fmtstream.h: Check whether
54756         __STRICT_ANSI__ is defined with #ifdef rather
54757         than #if.
54758         * argp/argp.h: Likewise.
54760         * libio/genops.c: Check whether
54761         _IO_JUMPS_OFFSET is defined with #ifdef rather
54762         than #if.
54763         * libio/libioP.h: Likewise.
54764         * stdio-common/vfprintf.c: Likewise.
54766         * sysdeps/generic/ldsodefs.h: Check whether
54767         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
54768         than #if.
54770         * nptl/sysdeps/pthread/pthread.h: Check
54771         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
54772         its value.
54774 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
54776         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
54777         setting O_APPEND.
54778         * libio/tst-ftell-active-handler.c (do_append_test): Add a
54779         test case.
54781         [BZ #16680]
54782         * libio/fileops.c (_IO_file_open): Seek to end of file but
54783         don't cache the offset.
54784         (get_file_offset): Remove function.
54785         (do_ftell): Use cached offset when available.
54786         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
54787         don't cache the offset.
54788         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
54789         case.
54790         (do_one_test): Call it.
54791         (do_ftell_test): Fix up expected old offset for a+ mode.
54792         * libio/wfileops.c (do_ftell_wide): Used cached offset when
54793         available.
54795         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
54796         up test status with function return status.
54797         (do_write_test): Likewise.
54798         (do_append_test): Likewise.
54800         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
54801         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
54802         Remove.
54804 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
54806         * math/gen-libm-test.pl (parse_args): Handle results specified for
54807         each rounding mode separately.
54808         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
54809         tests and results from lrint_tonearest_test_data,
54810         lrint_towardzero_test_data, lrint_downward_test_data and
54811         lrint_upward_test_data.
54812         (lrint_test): Use ALL_RM_TEST.
54813         (lrint_tonearest_test_data): Remove.
54814         (lrint_test_tonearest): Likewise.
54815         (lrint_towardzero_test_data): Likewise.
54816         (lrint_test_towardzero): Likewise.
54817         (lrint_downward_test_data): Likewise.
54818         (lrint_test_downward): Likewise.
54819         (lrint_upward_test_data): Likewise.
54820         (lrint_test_upward): Likewise.
54821         (llrint_test_data): Merge in per-rounding-mode tests and results
54822         from llrint_tonearest_test_data, llrint_towardzero_test_data,
54823         llrint_downward_test_data and llrint_upward_test_data.
54824         (llrint_test): Use ALL_RM_TEST.
54825         (llrint_tonearest_test_data): Remove.
54826         (llrint_test_tonearest): Likewise.
54827         (llrint_towardzero_test_data): Likewise.
54828         (llrint_test_towardzero): Likewise.
54829         (llrint_downward_test_data): Likewise.
54830         (llrint_test_downward): Likewise.
54831         (llrint_upward_test_data): Likewise.
54832         (llrint_test_upward): Likewise.
54833         (rint_test_data): Merge in per-rounding-mode tests and results
54834         from rint_tonearest_test_data, rint_towardzero_test_data,
54835         rint_downward_test_data and rint_upward_test_data.  Add
54836         per-rounding-mode results for tests not in those arrays.
54837         (rint_test): Use ALL_RM_TEST.
54838         (rint_tonearest_test_data): Remove.
54839         (rint_test_tonearest): Likewise.
54840         (rint_towardzero_test_data): Likewise.
54841         (rint_test_towardzero): Likewise.
54842         (rint_downward_test_data): Likewise.
54843         (rint_test_downward): Likewise.
54844         (rint_upward_test_data): Likewise.
54845         (rint_test_upward): Likewise.
54846         (main): Don't call removed functions.
54848 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54850         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
54851         "Compiled on ..." crapola.  It is anti-useful.
54853 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
54855         * scripts/evaluate-test.sh: Handle fourth argument to determine
54856         whether test run should stop on failure.
54857         * Makeconfig (stop-on-test-failure): New variable.
54858         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54859         $(stop-on-test-failure).
54860         * Makefile (tests): Give a summary of results from testing and
54861         exit with failure status if they include an ERROR or FAIL.
54862         (xtests): Likewise.
54863         * manual/install.texi (Configuring and compiling): Mention
54864         stop-on-test-failure=y.
54865         * INSTALL: Regenerated.
54867 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54869         * scripts/versionlist.awk: New file.
54870         * Makerules [$(build-shared) = yes]
54871         (postclean-generated): Add Versions.def, not Versions.def.v and
54872         Versions.def.v.i.
54873         ($(common-objpfx)Versions.def.v.i): Target removed.
54874         ($(common-objpfx)Versions.def): New target.
54875         ($(common-objpfx)Versions.all): Depend on that rather that
54876         $(common-objpfx)Versions.def.v.
54877         * Versions.def: File removed.
54879         * Makeconfig (+gccwarn): Add -Wundef.
54880         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54881         a dl-sysdep.h breaking its contract.
54882         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54883         * include/stackinfo.h: New file.
54884         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54885         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54886         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54887         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54888         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54889         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54890         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54891         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54892         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54893         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54894         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54895         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54896         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54897         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54898         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54900 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54902         [BZ #16707]
54903         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54904         implementation.
54905         * math/libm-test.inc (round_test_data): Add more tests.
54907         [BZ #16706]
54908         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54909         implementation.
54910         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54912         [BZ #16701]
54913         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54914         implementation.
54915         * math/libm-test.inc (ceil_test_data): Add more tests.
54917         * math/libm-test.inc (trunc_test_data): Add more tests related to
54918         BZ#16414.
54920 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54922         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54923         with #if rather than #ifdef.
54924         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54926 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54928         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54929         first.  Disable AVX-512 GCC support if assembler doesn't support
54930         it.
54931         * sysdeps/x86_64/configure: Regenerated.
54933 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54935         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54936         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54937         (__old_pthread_attr_setstack): Likewise.
54938         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54939         [!_STACK_GROWS_DOWN]: Likewise.
54941 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54943         * config.make.in (have-bash2): Delete.
54944         * configure.ac (libc_cv_have_bash2): Delete.
54945         * configure: Regenerate.
54946         * elf/Makefile (common-ldd-rewrite): Rename to ...
54947         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54948         (sh-ldd-rewrite): Delete.
54949         (bash-ldd-rewrite): Delete.
54950         (have-bash2): Delete checks.
54951         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54952         ldd-rewrite.
54954         * config.make.in (have-ksh): Delete.
54955         (KSH): Delete.
54956         * configure.ac (libc_cv_have_ksh): Delete.
54957         * configure: Regenerate.
54959         * elf/Makefile: Delete $(have-ksh) check.
54960         ($(objpfx)sotruss): Change KSH to BASH.
54961         * elf/sotruss.ksh: Rename to ...
54962         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54963         function style to match POSIX.  Drop ksh vim mode setting.
54965         * manual/time.texi (Specifying the Time Zone with TZ): Change
54966         Tuesday to Thursday.
54968         * debug/tst-longjmp_chk2.c: Update header comment.
54969         (stackoverflow_handler): Add comment.  Call assert on pass value.
54971 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54973         [BZ #16194]
54974         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54975         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54976         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54977         (La_x86_64_vector): Add zmm.
54978         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54979         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54980         ($(objpfx)tst-audit10): New target.
54981         ($(objpfx)tst-audit10.out): Likewise.
54982         (tst-audit10-ENV): New.
54983         (AVX512-CFLAGS): Likewise.
54984         (CFLAGS-tst-audit10.c): Likewise.
54985         (CFLAGS-tst-auditmod10a.c): Likewise.
54986         (CFLAGS-tst-auditmod10b.c): Likewise.
54987         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54988         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54989         * sysdeps/x86_64/configure: Regenerated.
54990         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54991         AVX-512 zmm register support.
54992         (_dl_x86_64_save_sse): Likewise.
54993         (_dl_x86_64_restore_sse): Likewise.
54994         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54995         size vector registers.
54996         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54997         (ZMM_SIZE): Likewise.
54998         * sysdeps/x86_64/tst-audit10.c: New file.
54999         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
55000         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
55002 2014-03-13  Roland McGrath  <roland@hack.frob.com>
55004         * configure.ac (HAVE_EHDR_START): New check.
55005         * configure: Regenerated.
55006         * config.h.in (HAVE_EHDR_START): New #undef.
55007         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
55008         assuming the lowest-addressed segment maps the start of the file.
55010 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
55012         * INSTALL: Regenerated.
55014 2014-03-13  Will Newton  <will.newton@linaro.org>
55016         * manual/setjmp.texi (System V contexts): Improve
55017         clarity and grammar of documentation.
55019 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
55021         [BZ #16381]
55022         * elf/Makefile (tests): Add tst-pie2.
55023         (tests-pie): Add tst-pie2.
55024         * elf/tst-pie2.c: New file.
55025         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
55026         for ET_EXEC.
55027         * elf/rtld.c (map_doit): Load executable as lt_executable.
55028         (dl_main): Likewise.
55030 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
55032         [BZ #16642]
55033         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
55034         (__ASSUME_PSELECT): Undefine.
55036 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55038         [BZ #16689]
55039         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
55040         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
55041         static build.
55042         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
55043         selector for static builds.
55045 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
55047         [BZ #16695]
55048         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
55049         key in the buffer.
55051 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55053         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
55054         IFUNC selector for static builds.
55056 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
55058         * sysdeps/mips/math_private.h [__mips_hard_float]
55059         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
55060         libc_feresetround_mips_ctx.
55061         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
55062         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
55063         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
55065         [BZ #16677]
55066         * math/s_nextafter.c (__nextafter): Do not return value from
55067         overflowing computation.
55068         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
55069         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
55070         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
55071         Likewise.
55072         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
55073         Likewise.
55074         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
55075         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
55077 2014-03-11  Roland McGrath  <roland@hack.frob.com>
55079         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
55080         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
55081         Move sfi_sp use from the load-multiple (that no longer sets sp) to
55082         the new mov targetting sp.
55084 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55086         [BZ #16683]
55087         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
55088         Define it for static builds as well.
55089         (NO_BZERO_IMPL): Likewise.
55091 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
55093         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
55094         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
55095         multiarch strspn for PPC64.
55096         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
55097         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
55098         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55099         (__libc_ifunc_impl_list): Likewise.
55100         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
55101         multiarch optimizations
55102         * string/strspn.c (strspn): Using macro to redefine symbol name.
55104 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
55105             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55107         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
55108         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
55109         multiarch strncat for PPC64.
55110         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
55111         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
55112         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55113         (__libc_ifunc_impl_list): Likewise.
55114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
55115         multiarch optimizations
55117 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55119         [BZ #16639]
55120         * nscd/nscd.service: Make service type forking.
55122 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55124         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
55125         sign in non default rounding modes.
55126         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
55128 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
55130         * math/libm-test.inc (ALL_RM_TEST): New macro.
55131         (ceil_test): Use ALL_RM_TEST.
55132         (cimag_test): Likewise.
55133         (conj_test): Likewise.
55134         (copysign_test): Likewise.
55135         (cproj_test): Likewise.
55136         (creal_test): Likewise.
55137         (fabs_test): Likewise.
55138         (floor_test): Likewise.
55139         (fmax_test): Likewise.
55140         (fmin_test): Likewise.
55141         (fmod_test): Likewise.
55142         (fpclassify_test): Likewise.
55143         (frexp_test): Likewise.
55144         (ilogb_test): Likewise.
55145         (isfinite_test): Likewise.
55146         (finite_test): Likewise.
55147         (isgreater_test): Likewise.
55148         (isgreaterequal_test): Likewise.
55149         (isinf_test): Likewise.
55150         (isless_test): Likewise.
55151         (islessequal_test): Likewise.
55152         (islessgreater_test): Likewise.
55153         (isnan_test): Likewise.
55154         (isnormal_test): Likewise.
55155         (issignaling_test): Likewise.
55156         (isunordered_test): Likewise.
55157         (logb_test): Likewise.
55158         (logb_downward_test_data): Remove.
55159         (logb_test_downward): Likewise.
55160         (lround_test): Use ALL_RM_TEST.
55161         (llround_test): Likewise.
55162         (modf_test): Likewise.
55163         (nexttoward_test): Likewise.
55164         (remainder_test): Likewise.
55165         (drem_test): Likewise.
55166         (remainder_tonearest_test_data): Likewise.
55167         (remainder_test_tonearest): Likewise.
55168         (drem_test_tonearest): Likewise.
55169         (remainder_towardzero_test_data): Likewise.
55170         (remainder_test_towardzero): Likewise.
55171         (drem_test_towardzero): Likewise.
55172         (remainder_downward_test_data): Likewise.
55173         (remainder_test_downward): Likewise.
55174         (drem_test_downward): Likewise.
55175         (remainder_upward_test_data): Likewise.
55176         (remainder_test_upward): Likewise.
55177         (drem_test_upward): Likewise.
55178         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
55179         (round_test): Use ALL_RM_TEST.
55180         (signbit_test): Likewise.
55181         (trunc_test): Likewise.
55182         (significand_test): Likewise.
55183         (main): Don't call removed functions.
55185 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55187         [BZ #16674]
55188         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
55189         || __USE_XOPEN2K8].
55190         (ILL_ILLOPN): Likewise.
55191         (ILL_ILLADR): Likewise.
55192         (ILL_ILLTRP): Likewise.
55193         (ILL_PRVOPC): Likewise.
55194         (ILL_PRVREG): Likewise.
55195         (ILL_COPROC): Likewise.
55196         (ILL_BADSTK): Likewise.
55197         (FPE_INTDIV): Likewise.
55198         (FPE_INTOVF): Likewise.
55199         (FPE_FLTDIV): Likewise.
55200         (FPE_FLTOVF): Likewise.
55201         (FPE_FLTUND): Likewise.
55202         (FPE_FLTRES): Likewise.
55203         (FPE_FLTINV): Likewise.
55204         (FPE_FLTSUB): Likewise.
55205         (SEGV_MAPERR): Likewise.
55206         (SEGV_ACCERR): Likewise.
55207         (BUS_ADRALN): Likewise.
55208         (BUS_ADRERR): Likewise.
55209         (BUS_OBJERR): Likewise.
55210         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55211         (TRAP_TRACE): Likewise.
55212         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55213         __USE_XOPEN2K8].
55214         (CLD_KILLED): Likewise.
55215         (CLD_DUMPED): Likewise.
55216         (CLD_TRAPPED): Likewise.
55217         (CLD_STOPPED): Likewise.
55218         (CLD_CONTINUED): Likewise.
55219         (POLL_IN): Likewise.
55220         (POLL_OUT): Likewise.
55221         (POLL_MSG): Likewise.
55222         (POLL_ERR): Likewise.
55223         (POLL_PRI): Likewise.
55224         (POLL_HUP): Likewise.
55225         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
55226         Likewise.
55227         (ILL_ILLOPN): Likewise.
55228         (ILL_ILLADR): Likewise.
55229         (ILL_ILLTRP): Likewise.
55230         (ILL_PRVOPC): Likewise.
55231         (ILL_PRVREG): Likewise.
55232         (ILL_COPROC): Likewise.
55233         (ILL_BADSTK): Likewise.
55234         (FPE_INTDIV): Likewise.
55235         (FPE_INTOVF): Likewise.
55236         (FPE_FLTDIV): Likewise.
55237         (FPE_FLTOVF): Likewise.
55238         (FPE_FLTUND): Likewise.
55239         (FPE_FLTRES): Likewise.
55240         (FPE_FLTINV): Likewise.
55241         (FPE_FLTSUB): Likewise.
55242         (SEGV_MAPERR): Likewise.
55243         (SEGV_ACCERR): Likewise.
55244         (BUS_ADRALN): Likewise.
55245         (BUS_ADRERR): Likewise.
55246         (BUS_OBJERR): Likewise.
55247         (BUS_MCEERR_AR): Likewise.
55248         (BUS_MCEERR_AO): Likewise.
55249         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55250         (TRAP_TRACE): Likewise.
55251         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55252         __USE_XOPEN2K8].
55253         (CLD_KILLED): Likewise.
55254         (CLD_DUMPED): Likewise.
55255         (CLD_TRAPPED): Likewise.
55256         (CLD_STOPPED): Likewise.
55257         (CLD_CONTINUED): Likewise.
55258         (POLL_IN): Likewise.
55259         (POLL_OUT): Likewise.
55260         (POLL_MSG): Likewise.
55261         (POLL_ERR): Likewise.
55262         (POLL_PRI): Likewise.
55263         (POLL_HUP): Likewise.
55264         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
55265         (ILL_ILLOPN): Likewise.
55266         (ILL_ILLADR): Likewise.
55267         (ILL_ILLTRP): Likewise.
55268         (ILL_PRVOPC): Likewise.
55269         (ILL_PRVREG): Likewise.
55270         (ILL_COPROC): Likewise.
55271         (ILL_BADSTK): Likewise.
55272         (FPE_INTDIV): Likewise.
55273         (FPE_INTOVF): Likewise.
55274         (FPE_FLTDIV): Likewise.
55275         (FPE_FLTOVF): Likewise.
55276         (FPE_FLTUND): Likewise.
55277         (FPE_FLTRES): Likewise.
55278         (FPE_FLTINV): Likewise.
55279         (FPE_FLTSUB): Likewise.
55280         (SEGV_MAPERR): Likewise.
55281         (SEGV_ACCERR): Likewise.
55282         (BUS_ADRALN): Likewise.
55283         (BUS_ADRERR): Likewise.
55284         (BUS_OBJERR): Likewise.
55285         (BUS_MCEERR_AR): Likewise.
55286         (BUS_MCEERR_AO): Likewise.
55287         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55288         (TRAP_TRACE): Likewise.
55289         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55290         __USE_XOPEN2K8].
55291         (CLD_KILLED): Likewise.
55292         (CLD_DUMPED): Likewise.
55293         (CLD_TRAPPED): Likewise.
55294         (CLD_STOPPED): Likewise.
55295         (CLD_CONTINUED): Likewise.
55296         (POLL_IN): Likewise.
55297         (POLL_OUT): Likewise.
55298         (POLL_MSG): Likewise.
55299         (POLL_ERR): Likewise.
55300         (POLL_PRI): Likewise.
55301         (POLL_HUP): Likewise.
55302         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
55303         Likewise.
55304         (ILL_ILLOPN): Likewise.
55305         (ILL_ILLADR): Likewise.
55306         (ILL_ILLTRP): Likewise.
55307         (ILL_PRVOPC): Likewise.
55308         (ILL_PRVREG): Likewise.
55309         (ILL_COPROC): Likewise.
55310         (ILL_BADSTK): Likewise.
55311         (ILL_BADIADDR): Likewise.
55312         (ILL_BREAK): Likewise.
55313         (FPE_INTDIV): Likewise.
55314         (FPE_INTOVF): Likewise.
55315         (FPE_FLTDIV): Likewise.
55316         (FPE_FLTOVF): Likewise.
55317         (FPE_FLTUND): Likewise.
55318         (FPE_FLTRES): Likewise.
55319         (FPE_FLTINV): Likewise.
55320         (FPE_FLTSUB): Likewise.
55321         (FPE_DECOVF): Likewise.
55322         (FPE_DECDIV): Likewise.
55323         (FPE_DECERR): Likewise.
55324         (FPE_INVASC): Likewise.
55325         (FPE_INVDEC): Likewise.
55326         (SEGV_MAPERR): Likewise.
55327         (SEGV_ACCERR): Likewise.
55328         (SEGV_PSTKOVF): Likewise.
55329         (BUS_ADRALN): Likewise.
55330         (BUS_ADRERR): Likewise.
55331         (BUS_OBJERR): Likewise.
55332         (BUS_MCEERR_AR): Likewise.
55333         (BUS_MCEERR_AO): Likewise.
55334         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55335         (TRAP_TRACE): Likewise.
55336         (TRAP_BRANCH): Likewise.
55337         (TRAP_HWBKPT): Likewise.
55338         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55339         __USE_XOPEN2K8].
55340         (CLD_KILLED): Likewise.
55341         (CLD_DUMPED): Likewise.
55342         (CLD_TRAPPED): Likewise.
55343         (CLD_STOPPED): Likewise.
55344         (CLD_CONTINUED): Likewise.
55345         (POLL_IN): Likewise.
55346         (POLL_OUT): Likewise.
55347         (POLL_MSG): Likewise.
55348         (POLL_ERR): Likewise.
55349         (POLL_PRI): Likewise.
55350         (POLL_HUP): Likewise.
55351         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
55352         (ILL_ILLOPN): Likewise.
55353         (ILL_ILLADR): Likewise.
55354         (ILL_ILLTRP): Likewise.
55355         (ILL_PRVOPC): Likewise.
55356         (ILL_PRVREG): Likewise.
55357         (ILL_COPROC): Likewise.
55358         (ILL_BADSTK): Likewise.
55359         (FPE_INTDIV): Likewise.
55360         (FPE_INTOVF): Likewise.
55361         (FPE_FLTDIV): Likewise.
55362         (FPE_FLTOVF): Likewise.
55363         (FPE_FLTUND): Likewise.
55364         (FPE_FLTRES): Likewise.
55365         (FPE_FLTINV): Likewise.
55366         (FPE_FLTSUB): Likewise.
55367         (SEGV_MAPERR): Likewise.
55368         (SEGV_ACCERR): Likewise.
55369         (BUS_ADRALN): Likewise.
55370         (BUS_ADRERR): Likewise.
55371         (BUS_OBJERR): Likewise.
55372         (BUS_MCEERR_AR): Likewise.
55373         (BUS_MCEERR_AO): Likewise.
55374         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55375         (TRAP_TRACE): Likewise.
55376         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55377         __USE_XOPEN2K8].
55378         (CLD_KILLED): Likewise.
55379         (CLD_DUMPED): Likewise.
55380         (CLD_TRAPPED): Likewise.
55381         (CLD_STOPPED): Likewise.
55382         (CLD_CONTINUED): Likewise.
55383         (POLL_IN): Likewise.
55384         (POLL_OUT): Likewise.
55385         (POLL_MSG): Likewise.
55386         (POLL_ERR): Likewise.
55387         (POLL_PRI): Likewise.
55388         (POLL_HUP): Likewise.
55389         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
55390         (ILL_ILLOPN): Likewise.
55391         (ILL_ILLADR): Likewise.
55392         (ILL_ILLTRP): Likewise.
55393         (ILL_PRVOPC): Likewise.
55394         (ILL_PRVREG): Likewise.
55395         (ILL_COPROC): Likewise.
55396         (ILL_BADSTK): Likewise.
55397         (FPE_INTDIV): Likewise.
55398         (FPE_INTOVF): Likewise.
55399         (FPE_FLTDIV): Likewise.
55400         (FPE_FLTOVF): Likewise.
55401         (FPE_FLTUND): Likewise.
55402         (FPE_FLTRES): Likewise.
55403         (FPE_FLTINV): Likewise.
55404         (FPE_FLTSUB): Likewise.
55405         (SEGV_MAPERR): Likewise.
55406         (SEGV_ACCERR): Likewise.
55407         (BUS_ADRALN): Likewise.
55408         (BUS_ADRERR): Likewise.
55409         (BUS_OBJERR): Likewise.
55410         (BUS_MCEERR_AR): Likewise.
55411         (BUS_MCEERR_AO): Likewise.
55412         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55413         (TRAP_TRACE): Likewise.
55414         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55415         __USE_XOPEN2K8].
55416         (CLD_KILLED): Likewise.
55417         (CLD_DUMPED): Likewise.
55418         (CLD_TRAPPED): Likewise.
55419         (CLD_STOPPED): Likewise.
55420         (CLD_CONTINUED): Likewise.
55421         (POLL_IN): Likewise.
55422         (POLL_OUT): Likewise.
55423         (POLL_MSG): Likewise.
55424         (POLL_ERR): Likewise.
55425         (POLL_PRI): Likewise.
55426         (POLL_HUP): Likewise.
55427         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
55428         (ILL_ILLOPN): Likewise.
55429         (ILL_ILLADR): Likewise.
55430         (ILL_ILLTRP): Likewise.
55431         (ILL_PRVOPC): Likewise.
55432         (ILL_PRVREG): Likewise.
55433         (ILL_COPROC): Likewise.
55434         (ILL_BADSTK): Likewise.
55435         (FPE_INTDIV): Likewise.
55436         (FPE_INTOVF): Likewise.
55437         (FPE_FLTDIV): Likewise.
55438         (FPE_FLTOVF): Likewise.
55439         (FPE_FLTUND): Likewise.
55440         (FPE_FLTRES): Likewise.
55441         (FPE_FLTINV): Likewise.
55442         (FPE_FLTSUB): Likewise.
55443         (SEGV_MAPERR): Likewise.
55444         (SEGV_ACCERR): Likewise.
55445         (BUS_ADRALN): Likewise.
55446         (BUS_ADRERR): Likewise.
55447         (BUS_OBJERR): Likewise.
55448         (BUS_MCEERR_AR): Likewise.
55449         (BUS_MCEERR_AO): Likewise.
55450         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55451         (TRAP_TRACE): Likewise.
55452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55453         __USE_XOPEN2K8].
55454         (CLD_KILLED): Likewise.
55455         (CLD_DUMPED): Likewise.
55456         (CLD_TRAPPED): Likewise.
55457         (CLD_STOPPED): Likewise.
55458         (CLD_CONTINUED): Likewise.
55459         (POLL_IN): Likewise.
55460         (POLL_OUT): Likewise.
55461         (POLL_MSG): Likewise.
55462         (POLL_ERR): Likewise.
55463         (POLL_PRI): Likewise.
55464         (POLL_HUP): Likewise.
55465         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
55466         (ILL_ILLOPN): Likewise.
55467         (ILL_ILLADR): Likewise.
55468         (ILL_ILLTRP): Likewise.
55469         (ILL_PRVOPC): Likewise.
55470         (ILL_PRVREG): Likewise.
55471         (ILL_COPROC): Likewise.
55472         (ILL_BADSTK): Likewise.
55473         (ILL_DBLFLT): Likewise.
55474         (ILL_HARDWALL): Likewise.
55475         (FPE_INTDIV): Likewise.
55476         (FPE_INTOVF): Likewise.
55477         (FPE_FLTDIV): Likewise.
55478         (FPE_FLTOVF): Likewise.
55479         (FPE_FLTUND): Likewise.
55480         (FPE_FLTRES): Likewise.
55481         (FPE_FLTINV): Likewise.
55482         (FPE_FLTSUB): Likewise.
55483         (SEGV_MAPERR): Likewise.
55484         (SEGV_ACCERR): Likewise.
55485         (BUS_ADRALN): Likewise.
55486         (BUS_ADRERR): Likewise.
55487         (BUS_OBJERR): Likewise.
55488         (BUS_MCEERR_AR): Likewise.
55489         (BUS_MCEERR_AO): Likewise.
55490         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55491         (TRAP_TRACE): Likewise.
55492         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55493         __USE_XOPEN2K8].
55494         (CLD_KILLED): Likewise.
55495         (CLD_DUMPED): Likewise.
55496         (CLD_TRAPPED): Likewise.
55497         (CLD_STOPPED): Likewise.
55498         (CLD_CONTINUED): Likewise.
55499         (POLL_IN): Likewise.
55500         (POLL_OUT): Likewise.
55501         (POLL_MSG): Likewise.
55502         (POLL_ERR): Likewise.
55503         (POLL_PRI): Likewise.
55504         (POLL_HUP): Likewise.
55505         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
55506         (ILL_ILLOPN): Likewise.
55507         (ILL_ILLADR): Likewise.
55508         (ILL_ILLTRP): Likewise.
55509         (ILL_PRVOPC): Likewise.
55510         (ILL_PRVREG): Likewise.
55511         (ILL_COPROC): Likewise.
55512         (ILL_BADSTK): Likewise.
55513         (FPE_INTDIV): Likewise.
55514         (FPE_INTOVF): Likewise.
55515         (FPE_FLTDIV): Likewise.
55516         (FPE_FLTOVF): Likewise.
55517         (FPE_FLTUND): Likewise.
55518         (FPE_FLTRES): Likewise.
55519         (FPE_FLTINV): Likewise.
55520         (FPE_FLTSUB): Likewise.
55521         (SEGV_MAPERR): Likewise.
55522         (SEGV_ACCERR): Likewise.
55523         (BUS_ADRALN): Likewise.
55524         (BUS_ADRERR): Likewise.
55525         (BUS_OBJERR): Likewise.
55526         (BUS_MCEERR_AR): Likewise.
55527         (BUS_MCEERR_AO): Likewise.
55528         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
55529         (TRAP_TRACE): Likewise.
55530         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
55531         __USE_XOPEN2K8].
55532         (CLD_KILLED): Likewise.
55533         (CLD_DUMPED): Likewise.
55534         (CLD_TRAPPED): Likewise.
55535         (CLD_STOPPED): Likewise.
55536         (CLD_CONTINUED): Likewise.
55537         (POLL_IN): Likewise.
55538         (POLL_OUT): Likewise.
55539         (POLL_MSG): Likewise.
55540         (POLL_ERR): Likewise.
55541         (POLL_PRI): Likewise.
55542         (POLL_HUP): Likewise.
55543         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
55544         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55546         [BZ #16670]
55547         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
55548         before #include of <time.h>.
55549         [!__USE_XOPEN2K] (__need_timespec): Likewise.
55550         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
55551         (test-xfail-UNIX98/sched.h/conform): Likewise.
55553 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
55555         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
55556         error absence of trapping exception support.
55557         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
55559 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
55561         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
55562         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
55563         * timezone/Makefile (testdata): Move definition above include of
55564         Rules.
55565         (test-zones): New variable.
55566         (tests-special): Add zone files.
55567         (build-testdata): Use $(evaluate-test).
55569         * elf/Makefile (tests-special): Rename tests to end with .out.
55570         ($(objpfx)noload-mem): Likewise.
55571         ($(objpfx)tst-leaks1-mem): Likewise.
55572         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
55573         * iconv/Makefile (xtests-special): Change test-iconvconfig to
55574         $(objpfx)test-iconvconfig.out.
55575         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
55576         set -e inside subshell and redirect output to file.
55577         * iconvdata/Makefile (generated): Rename tests to end with .out.
55578         Correct type.
55579         (tests-special): Rename tests to end with .out.
55580         ($(objpfx)mtrace-tst-loading): Likewise.
55581         * intl/Makefile (generated): Likewise.
55582         (tests-special): Likewise.
55583         ($(objpfx)mtrace-tst-gettext): Likewise.
55584         * misc/Makefile (generated): Likewise.
55585         (tests-special): Likewise.
55586         ($(objpfx)tst-error1-mem): Likewise.
55587         * nptl/Makefile (tests-special): Likewise.
55588         ($(objpfx)tst-stack3-mem): Likewise.
55589         (generated): Likewise.
55590         * posix/Makefile (generated): Likewise.
55591         (tests-special): Likewise.
55592         (xtests-special): Likewise.
55593         ($(objpfx)tst-fnmatch-mem): Likewise.
55594         ($(objpfx)bug-regex2-mem): Likewise.
55595         ($(objpfx)bug-regex14-mem): Likewise.
55596         ($(objpfx)bug-regex21-mem): Likewise.
55597         ($(objpfx)bug-regex31-mem): Likewise.
55598         ($(objpfx)tst-vfork3-mem): Likewise.
55599         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55600         ($(objpfx)tst-pcre-mem): Likewise.
55601         ($(objpfx)tst-boost-mem): Likewise.
55602         ($(objpfx)bug-ga2-mem): Likewise.
55603         ($(objpfx)bug-glob2-mem): Likewise.
55604         * resolv/Makefile (generate): Likewise.
55605         (tests-special): Likewise.
55606         (xtests-special): Likewise.
55607         (generated): Likewise.
55608         ($(objpfx)mtrace-tst-leaks): Likewise.
55609         ($(objpfx)mtrace-tst-leaks2): Likewise.
55611         * scripts/merge-test-results.sh: New file.
55612         * Makefile (tests-special-notdir): New variable.
55613         (tests): Run merge-test-results.sh.
55614         (xtests): Likewise.
55615         * Rules (tests-special-notdir): New variable.
55616         (xtests-special-notdir): Likewise.
55617         (tests): Run merge-test-results.sh
55618         (xtests): Likewise.
55620         * Makeconfig (test-xfail-name): New variable.
55621         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
55622         compute variable name for expected failures.
55623         * conform/Makefile (conformtest-headers-data): New variable.
55624         (conformtest-standards): Likewise.
55625         (conformtest-headers-ISO): Likewise.
55626         (conformtest-headers-ISO99): Likewise.
55627         (conformtest-headers-ISO11): Likewise.
55628         (conformtest-headers-POSIX): Likewise.
55629         (conformtest-headers-XPG3): Likewise.
55630         (conformtest-headers-XPG4): Likewise.
55631         (conformtest-headers-UNIX98): Likewise.
55632         (conformtest-headers-XOPEN2K): Likewise.
55633         (conformtest-headers-POSIX2008): Likewise.
55634         (conformtest-headers-XOPEN2K8): Likewise.
55635         (conformtest-header-list-base): Likewise.
55636         (conformtest-header-list-tests): Likewise.
55637         (conformtest-header-base): Likewise.
55638         (conformtest-header-tests): Likewise.
55639         (tests-special): Add $(conformtest-header-list-tests).  If
55640         [$(fast-check) && !$(cross-compiling)], add
55641         $(conformtest-header-tests) instead of
55642         $(objpfx)run-conformtest.out.
55643         (generated): Add $(conformtest-header-list-base).  If
55644         [$(fast-check) && !$(cross-compiling)], add
55645         $(conformtest-header-base).  Remove previous setting.
55646         ($(conformtest-header-list-tests)): New target.
55647         (test-xfail-run-conformtest): Remove variable.
55648         ($(objpfx)run-conformtest.out): Remove target.
55649         (test-xfail-ISO11/complex.h/conform): New variable.
55650         (test-xfail-ISO11/stdalign.h/conform): Likewise.
55651         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
55652         (test-xfail-XPG3/varargs.h/conform): Likewise.
55653         (test-xfail-XPG4/varargs.h/conform): Likewise.
55654         (test-xfail-UNIX98/varargs.h/conform): Likewise.
55655         (test-xfail-XPG4/ndbm.h/conform): Likewise.
55656         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
55657         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
55658         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
55659         (test-xfail-XPG3/fcntl.h/conform): Likewise.
55660         (test-xfail-XPG3/ftw.h/conform): Likewise.
55661         (test-xfail-XPG3/grp.h/conform): Likewise.
55662         (test-xfail-XPG3/langinfo.h/conform): Likewise.
55663         (test-xfail-XPG3/limits.h/conform): Likewise.
55664         (test-xfail-XPG3/pwd.h/conform): Likewise.
55665         (test-xfail-XPG3/search.h/conform): Likewise.
55666         (test-xfail-XPG3/signal.h/conform): Likewise.
55667         (test-xfail-XPG3/stdio.h/conform): Likewise.
55668         (test-xfail-XPG3/stdlib.h/conform): Likewise.
55669         (test-xfail-XPG3/string.h/conform): Likewise.
55670         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
55671         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
55672         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
55673         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
55674         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
55675         (test-xfail-XPG3/sys/types.h/conform): Likewise.
55676         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
55677         (test-xfail-XPG3/termios.h/conform): Likewise.
55678         (test-xfail-XPG3/time.h/conform): Likewise.
55679         (test-xfail-XPG3/unistd.h/conform): Likewise.
55680         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
55681         (test-xfail-XPG4/fcntl.h/conform): Likewise.
55682         (test-xfail-XPG4/langinfo.h/conform): Likewise.
55683         (test-xfail-XPG4/netdb.h/conform): Likewise.
55684         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
55685         (test-xfail-XPG4/signal.h/conform): Likewise.
55686         (test-xfail-XPG4/stdio.h/conform): Likewise.
55687         (test-xfail-XPG4/stdlib.h/conform): Likewise.
55688         (test-xfail-XPG4/stropts.h/conform): Likewise.
55689         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
55690         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
55691         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
55692         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
55693         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
55694         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
55695         (test-xfail-XPG4/sys/time.h/conform): Likewise.
55696         (test-xfail-XPG4/sys/types.h/conform): Likewise.
55697         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
55698         (test-xfail-XPG4/termios.h/conform): Likewise.
55699         (test-xfail-XPG4/ucontext.h/conform): Likewise.
55700         (test-xfail-XPG4/unistd.h/conform): Likewise.
55701         (test-xfail-XPG4/utmpx.h/conform): Likewise.
55702         (test-xfail-POSIX/sched.h/conform): Likewise.
55703         (test-xfail-POSIX/signal.h/conform): Likewise.
55704         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
55705         (test-xfail-POSIX/tar.h/conform): Likewise.
55706         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
55707         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
55708         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
55709         (test-xfail-UNIX98/netdb.h/conform): Likewise.
55710         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
55711         (test-xfail-UNIX98/sched.h/conform): Likewise.
55712         (test-xfail-UNIX98/signal.h/conform): Likewise.
55713         (test-xfail-UNIX98/stdio.h/conform): Likewise.
55714         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
55715         (test-xfail-UNIX98/stropts.h/conform): Likewise.
55716         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
55717         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
55718         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
55719         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
55720         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
55721         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
55722         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
55723         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
55724         (test-xfail-UNIX98/unistd.h/conform): Likewise.
55725         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
55726         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
55727         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
55728         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
55729         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
55730         (test-xfail-XOPEN2K/math.h/conform): Likewise.
55731         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
55732         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
55733         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
55734         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
55735         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
55736         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
55737         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
55738         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
55739         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
55740         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
55741         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
55742         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
55743         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
55744         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
55745         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
55746         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
55747         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
55748         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
55749         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
55750         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
55751         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
55752         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
55753         (test-xfail-POSIX2008/signal.h/conform): Likewise.
55754         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
55755         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
55756         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
55757         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
55758         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
55759         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
55760         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
55761         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
55762         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
55763         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
55764         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
55765         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
55766         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
55767         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
55768         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
55769         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
55770         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
55771         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
55772         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
55773         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
55774         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
55775         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
55776         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
55777         (conformtest-cc-flags): Likewise.
55778         ($(conformtest-header-tests): New target.
55779         * conform/check-header-lists.sh: New file.
55780         * conform/run-conformtest.sh: Remove.
55782         * conform/conformtest.pl: Allow ' and \ in values given for
55783         constants.
55784         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
55785         inclusion.
55786         [POSIX] (sys/types.h): Likewise.
55787         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
55788         inclusion.
55789         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
55790         inclusion.
55791         * conform/data/signal.h-data (SIGIO): Remove expectation.
55792         [XPG3] (SIGBUS): Do not expect.
55793         [POSIX || XPG3] (SIGPOLL): Likewise.
55794         [POSIX || XPG3] (SIGPROF): Likewise.
55795         [POSIX || XPG3] (SIGSYS): Likewise.
55796         [XPG3] (SIGTRAP): Likewise.
55797         [POSIX || XPG3] (SIGURG): Likewise.
55798         [POSIX || XPG3] (SIGVTALRM): Likewise.
55799         [POSIX || XPG3] (SIGXCPU): Likewise.
55800         [POSIX || XPG3] (SIGXFSZ): Likewise.
55801         [POSIX] (SA_SIGINFO): Expect.
55802         [XPG3] (siginfo_t): Do not expect type or contents.
55803         [POSIX] (si_pid): Do not expect element.
55804         [POSIX] (si_uid): Likewise.
55805         [POSIX] (si_addr): Likewise.
55806         [POSIX] (si_status): Likewise.
55807         [POSIX] (si_band): Likewise.
55808         [XPG4] (si_value): Likewise.
55809         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
55810         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
55811         [POSIX || XPG3] (ILL_ILLADR): Likewise.
55812         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
55813         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
55814         [POSIX || XPG3] (ILL_PRVREG): Likewise.
55815         [POSIX || XPG3] (ILL_COPROC): Likewise.
55816         [POSIX || XPG3] (ILL_BADSTK): Likewise.
55817         [POSIX || XPG3] (FPE_INTDIV): Likewise.
55818         [POSIX || XPG3] (FPE_INTOVF): Likewise.
55819         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
55820         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
55821         [POSIX || XPG3] (FPE_FLTUND): Likewise.
55822         [POSIX || XPG3] (FPE_FLTRES): Likewise.
55823         [POSIX || XPG3] (FPE_FLTINV): Likewise.
55824         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
55825         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
55826         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
55827         [POSIX || XPG3] (BUS_ADRALN): Likewise.
55828         [POSIX || XPG3] (BUS_ADRERR): Likewise.
55829         [POSIX || XPG3] (BUS_OBJERR): Likewise.
55830         [POSIX || XPG3] (CLD_EXITED): Likewise.
55831         [POSIX || XPG3] (CLD_KILLED): Likewise.
55832         [POSIX || XPG3] (CLD_DUMPED): Likewise.
55833         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
55834         [POSIX || XPG3] (CLD_STOPPED): Likewise.
55835         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
55836         [POSIX || XPG3] (POLL_IN): Likewise.
55837         [POSIX || XPG3] (POLL_OUT): Likewise.
55838         [POSIX || XPG3] (POLL_MSG): Likewise.
55839         [POSIX || XPG3] (POLL_ERR): Likewise.
55840         [POSIX || XPG3] (POLL_PRI): Likewise.
55841         [POSIX || XPG3] (POLL_HUP): Likewise.
55842         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
55843         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
55844         (SIG*): Do not allow.
55845         [XPG3] (si_*): Likewise.
55846         [XPG3] (SI_*): Likewise.
55847         [XPG3 || XPG4] (sigev_*): Likewise.
55848         [XPG3 || XPG4] (SIGEV_*): Likewise.
55849         [XPG3 || XPG4] (sival_*): Likewise.
55850         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
55851         [POSIX || XPG3] (BUS_*): Likewise.
55852         [POSIX || XPG3] (CLD_*): Likewise.
55853         [POSIX || XPG3] (FPE_*): Likewise.
55854         [POSIX || XPG3] (ILL_*): Likewise.
55855         [POSIX || XPG3] (POLL_*): Likewise.
55856         [POSIX || XPG3] (SEGV_*): Likewise.
55857         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55858         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55859         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55860         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55861         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55862         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55863         Specify type and value.
55864         (TVERSLEN): Likewise.
55865         (REGTYPE): Likewise.
55866         (AREGTYPE): Likewise.
55867         (LNKTYPE): Likewise.
55868         (SYMTYPE): Likewise.
55869         (CHRTYPE): Likewise.
55870         (BLKTYPE): Likewise.
55871         (DIRTYPE): Likewise.
55872         (FIFOTYPE): Likewise.
55873         (CONTTYPE): Likewise.
55874         (TSUID): Likewise.
55875         (TSGID): Likewise.
55876         (TSVTX): Likewise.
55877         (TUREAD): Likewise.
55878         (TUWRITE): Likewise.
55879         (TUEXEC): Likewise.
55880         (TGREAD): Likewise.
55881         (TGWRITE): Likewise.
55882         (TGEXEC): Likewise.
55883         (TOREAD): Likewise.
55884         (TOWRITE): Likewise.
55885         (TOEXEC): Likewise.
55886         [POSIX] (TSVTX): Expect constant.
55888 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55890         * Makefile (tests): Change dependencies to ....
55891         (tests-special): ... additions to this variable.
55892         (tests): Depend on $(tests-special).
55893         * Makerules (check-abi-list): New variable.
55894         (check-abi): Depend on $(check-abi-list).
55895         [$(subdir) = elf] (tests-special): Add
55896         $(objpfx)check-abi-libc.out.
55897         [$(build-shared) = yes && subdir] (tests-special): Add
55898         $(check-abi-list).
55899         [$(build-shared) = yes && subdir] (tests): Do not depend on
55900         check-abi.
55901         * Rules (tests): Depend on $(tests-special).
55902         (xtests): Depend on $(xtests-special).
55903         * catgets/Makefile (tests): Change dependencies to ....
55904         (tests-special): ... additions to this variable.
55905         * conform/Makefile (tests): Change dependencies to ....
55906         (tests-special): ... additions to this variable.
55907         * elf/Makefile (tests): Change dependencies to ....
55908         (tests-special): ... additions to this variable.
55909         * grp/Makefile (tests): Change dependencies to ....
55910         (tests-special): ... additions to this variable.
55911         * iconv/Makefile (xtests): Change dependencies to ....
55912         (xtests-special): ... additions to this variable.
55913         * iconvdata/Makefile (tests): Change dependencies to ....
55914         (tests-special): ... additions to this variable.
55915         * intl/Makefile (tests): Change dependencies to ....
55916         (tests-special): ... additions to this variable.  Also add
55917         $(objpfx)tst-gettext.out.
55918         * io/Makefile (tests): Change dependencies to ....
55919         (tests-special): ... additions to this variable.
55920         * libio/Makefile (tests): Change dependencies to ....
55921         (tests-special): ... additions to this variable.
55922         * malloc/Makefile (tests): Change dependencies to ....
55923         (tests-special): ... additions to this variable.
55924         * misc/Makefile (tests): Change dependencies to ....
55925         (tests-special): ... additions to this variable.
55926         * nptl/Makefile (tests): Change dependencies to ....
55927         (tests-special): ... additions to this variable.
55928         * nptl_db/Makefile (tests): Change dependencies to ....
55929         (tests-special): ... additions to this variable.
55930         * posix/Makefile (tests): Change dependencies to ....
55931         (tests-special): ... additions to this variable.
55932         (xtests): Change dependencies to ....
55933         (xtests-special): ... additions to this variable.
55934         * resolv/Makefile (tests): Change dependencies to ....
55935         (tests-special): ... additions to this variable.
55936         (xtests): Change dependencies to ....
55937         (xtests-special): ... additions to this variable.
55938         * stdio-common/Makefile (tests): Change dependencies to ....
55939         (tests-special): ... additions to this variable.
55940         (do-tst-unbputc): Remove target.
55941         (do-tst-printf): Likewise.
55942         * stdlib/Makefile (tests): Change dependencies to ....
55943         (tests-special): ... additions to this variable.
55944         * string/Makefile (tests): Change dependencies to ....
55945         (tests-special): ... additions to this variable.
55946         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55947         (tests-special): ... additions to this variable.
55949         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55950         whole file.
55951         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55952         whole file.
55953         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55954         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55956         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55957         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55958         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55959         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55960         * conform/data/libgen.h-data [XPG3]: Likewise.
55961         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55962         * conform/data/ndbm.h-data [XPG3]: Likewise.
55963         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55964         * conform/data/netdb.h-data [XPG3]: Likewise.
55965         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55966         * conform/data/poll.h-data [XPG3]: Likewise.
55967         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55968         * conform/data/strings.h-data [XPG3]: Likewise.
55969         * conform/data/stropts.h-data [XPG3]: Likewise.
55970         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55971         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55972         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55973         Likewise.
55974         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55975         * conform/data/sys/time.h-data [XPG3]: Likewise.
55976         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55977         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55978         * conform/data/sys/un.h-data [XPG3]: Likewise.
55979         * conform/data/syslog.h-data [XPG3]: Likewise.
55980         * conform/data/ucontext.h-data [XPG3]: Likewise.
55981         * conform/data/utmpx.h-data [XPG3]: Likewise.
55982         * conform/data/varargs.h-data [UNIX98]: Enable file.
55984         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55986         * math/libm-test.inc (struct test_f_f_data): Move expected results
55987         into structure for each rounding mode.
55988         (struct test_ff_f_data): Likewise.
55989         (struct test_ff_f_data_nexttoward): Likewise.
55990         (struct test_fi_f_data): Likewise.
55991         (struct test_fl_f_data): Likewise.
55992         (struct test_if_f_data): Likewise.
55993         (struct test_fff_f_data): Likewise.
55994         (struct test_c_f_data): Likewise.
55995         (struct test_f_f1_data): Likewise.
55996         (struct test_fF_f1_data): Likewise.
55997         (struct test_ffI_f1_data): Likewise.
55998         (struct test_c_c_data): Likewise.
55999         (struct test_cc_c_data): Likewise.
56000         (struct test_f_i_data): Likewise.
56001         (struct test_ff_i_data): Likewise.
56002         (struct test_f_l_data): Likewise.
56003         (struct test_f_L_data): Likewise.
56004         (struct test_fFF_11_data): Likewise.
56005         (RM_): New macro.
56006         (RM_FE_DOWNWARD): Likewise.
56007         (RM_FE_TONEAREST): Likewise.
56008         (RM_FE_TOWARDZERO): Likewise.
56009         (RM_FE_UPWARD): Likewise.
56010         (RUN_TEST_LOOP_f_f): Update references to expected results.
56011         (RUN_TEST_LOOP_2_f): Likewise.
56012         (RUN_TEST_LOOP_fff_f): Likewise.
56013         (RUN_TEST_LOOP_c_f): Likewise.
56014         (RUN_TEST_LOOP_f_f1): Likewise.
56015         (RUN_TEST_LOOP_fF_f1): Likewise.
56016         (RUN_TEST_LOOP_fI_f1): Likewise.
56017         (RUN_TEST_LOOP_ffI_f1): Likewise.
56018         (RUN_TEST_LOOP_c_c): Likewise.
56019         (RUN_TEST_LOOP_cc_c): Likewise.
56020         (RUN_TEST_LOOP_f_i): Likewise.
56021         (RUN_TEST_LOOP_f_i_tg): Likewise.
56022         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56023         (RUN_TEST_LOOP_f_b): Likewise.
56024         (RUN_TEST_LOOP_f_b_tg): Likewise.
56025         (RUN_TEST_LOOP_f_l): Likewise.
56026         (RUN_TEST_LOOP_f_L): Likewise.
56027         (RUN_TEST_LOOP_fFF_11): Likewise.
56028         * math/gen-libm-test.pl (parse_args): Output four copies of
56029         expected results for each test.
56031         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56032         (__ASSUME_UTIMES): Remove.
56033         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56034         (__ASSUME_UTIMES): Likewise.
56036         * math/gen-auto-libm-tests.c: Update comment on output format.
56037         (output_for_one_input_case): Generate before-rounding and
56038         after-rounding information as conditions on output flags not
56039         floating-point format.
56040         * math/auto-libm-test-out: Regenerated.
56041         * math/gen-libm-test.pl (cond_value): New function.
56042         (or_cond_value): Use cond_value.
56043         (generate_testfile): Handle conditional exceptions.
56045 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
56047         * math/libm-test.inc (max_valid_error): New variable.
56048         (init_max_error): Take new argument specifying whether function
56049         results are exactly determined.  Set max_valid_error and bound
56050         other variables for errors based on this argument.
56051         (set_max_error): Do not record results above max_valid_error.
56052         (check_float_internal): Only accept errors of up to 0.5ulps if
56053         also at most max_valid_error.
56054         (START): Take new argument EXACT and pass it to init_max_error.
56055         (acos_test): Update call to START.
56056         (acos_test_tonearest): Likewise.
56057         (acos_test_towardzero): Likewise.
56058         (acos_test_downward): Likewise.
56059         (acos_test_upward): Likewise.
56060         (acosh_test): Likewise.
56061         (asin_test): Likewise.
56062         (asin_test_tonearest): Likewise.
56063         (asin_test_towardzero): Likewise.
56064         (asin_test_downward): Likewise.
56065         (asin_test_upward): Likewise.
56066         (asinh_test): Likewise.
56067         (atan_test): Likewise.
56068         (atanh_test): Likewise.
56069         (atan2_test): Likewise.
56070         (cabs_test): Likewise.
56071         (cacos_test): Likewise.
56072         (cacosh_test): Likewise.
56073         (carg_test): Likewise.
56074         (casin_test): Likewise.
56075         (casinh_test): Likewise.
56076         (catan_test): Likewise.
56077         (catanh_test): Likewise.
56078         (cbrt_test): Likewise.
56079         (ccos_test): Likewise.
56080         (ccosh_test): Likewise.
56081         (ceil_test): Likewise.
56082         (cexp_test): Likewise.
56083         (cimag_test): Likewise.
56084         (clog_test): Likewise.
56085         (clog10_test): Likewise.
56086         (conj_test): Likewise.
56087         (copysign_test): Likewise.
56088         (cos_test): Likewise.
56089         (cos_test_tonearest): Likewise.
56090         (cos_test_towardzero): Likewise.
56091         (cos_test_downward): Likewise.
56092         (cos_test_upward): Likewise.
56093         (cosh_test): Likewise.
56094         (cosh_test_tonearest): Likewise.
56095         (cosh_test_towardzero): Likewise.
56096         (cosh_test_downward): Likewise.
56097         (cosh_test_upward): Likewise.
56098         (cpow_test): Likewise.
56099         (cproj_test): Likewise.
56100         (creal_test): Likewise.
56101         (csin_test): Likewise.
56102         (csinh_test): Likewise.
56103         (csqrt_test): Likewise.
56104         (ctan_test): Likewise.
56105         (ctan_test_tonearest): Likewise.
56106         (ctan_test_towardzero): Likewise.
56107         (ctan_test_downward): Likewise.
56108         (ctan_test_upward): Likewise.
56109         (ctanh_test): Likewise.
56110         (ctanh_test_tonearest): Likewise.
56111         (ctanh_test_towardzero): Likewise.
56112         (ctanh_test_downward): Likewise.
56113         (ctanh_test_upward): Likewise.
56114         (erf_test): Likewise.
56115         (erfc_test): Likewise.
56116         (exp_test): Likewise.
56117         (exp_test_tonearest): Likewise.
56118         (exp_test_towardzero): Likewise.
56119         (exp_test_downward): Likewise.
56120         (exp_test_upward): Likewise.
56121         (exp10_test): Likewise.
56122         (exp10_test_tonearest): Likewise.
56123         (exp10_test_towardzero): Likewise.
56124         (exp10_test_downward): Likewise.
56125         (exp10_test_upward): Likewise.
56126         (pow10_test): Likewise.
56127         (exp2_test): Likewise.
56128         (expm1_test): Likewise.
56129         (expm1_test_tonearest): Likewise.
56130         (expm1_test_towardzero): Likewise.
56131         (expm1_test_downward): Likewise.
56132         (expm1_test_upward): Likewise.
56133         (fabs_test): Likewise.
56134         (fdim_test): Likewise.
56135         (floor_test): Likewise.
56136         (fma_test): Likewise.
56137         (fma_test_towardzero): Likewise.
56138         (fma_test_downward): Likewise.
56139         (fma_test_upward): Likewise.
56140         (fmax_test): Likewise.
56141         (fmin_test): Likewise.
56142         (fmod_test): Likewise.
56143         (fpclassify_test): Likewise.
56144         (frexp_test): Likewise.
56145         (hypot_test): Likewise.
56146         (ilogb_test): Likewise.
56147         (isfinite_test): Likewise.
56148         (finite_test): Likewise.
56149         (isgreater_test): Likewise.
56150         (isgreaterequal_test): Likewise.
56151         (isinf_test): Likewise.
56152         (isless_test): Likewise.
56153         (islessequal_test): Likewise.
56154         (islessgreater_test): Likewise.
56155         (isnan_test): Likewise.
56156         (isnormal_test): Likewise.
56157         (issignaling_test): Likewise.
56158         (isunordered_test): Likewise.
56159         (j0_test): Likewise.
56160         (j1_test): Likewise.
56161         (jn_test): Likewise.
56162         (ldexp_test): Likewise.
56163         (lgamma_test): Likewise.
56164         (gamma_test): Likewise.
56165         (lrint_test): Likewise.
56166         (lrint_test_tonearest): Likewise.
56167         (lrint_test_towardzero): Likewise.
56168         (lrint_test_downward): Likewise.
56169         (lrint_test_upward): Likewise.
56170         (llrint_test): Likewise.
56171         (llrint_test_tonearest): Likewise.
56172         (llrint_test_towardzero): Likewise.
56173         (llrint_test_downward): Likewise.
56174         (llrint_test_upward): Likewise.
56175         (log_test): Likewise.
56176         (log10_test): Likewise.
56177         (log1p_test): Likewise.
56178         (log2_test): Likewise.
56179         (logb_test): Likewise.
56180         (logb_test_downward): Likewise.
56181         (lround_test): Likewise.
56182         (llround_test): Likewise.
56183         (modf_test): Likewise.
56184         (nearbyint_test): Likewise.
56185         (nextafter_test): Likewise.
56186         (nexttoward_test): Likewise.
56187         (pow_test): Likewise.
56188         (pow_test_tonearest): Likewise.
56189         (pow_test_towardzero): Likewise.
56190         (pow_test_downward): Likewise.
56191         (pow_test_upward): Likewise.
56192         (remainder_test): Likewise.
56193         (drem_test): Likewise.
56194         (remainder_test_tonearest): Likewise.
56195         (drem_test_tonearest): Likewise.
56196         (remainder_test_towardzero): Likewise.
56197         (drem_test_towardzero): Likewise.
56198         (remainder_test_downward): Likewise.
56199         (drem_test_downward): Likewise.
56200         (remainder_test_upward): Likewise.
56201         (drem_test_upward): Likewise.
56202         (remquo_test): Likewise.
56203         (rint_test): Likewise.
56204         (rint_test_tonearest): Likewise.
56205         (rint_test_towardzero): Likewise.
56206         (rint_test_downward): Likewise.
56207         (rint_test_upward): Likewise.
56208         (round_test): Likewise.
56209         (scalb_test): Likewise.
56210         (scalbn_test): Likewise.
56211         (scalbln_test): Likewise.
56212         (signbit_test): Likewise.
56213         (sin_test): Likewise.
56214         (sin_test_tonearest): Likewise.
56215         (sin_test_towardzero): Likewise.
56216         (sin_test_downward): Likewise.
56217         (sin_test_upward): Likewise.
56218         (sincos_test): Likewise.
56219         (sinh_test): Likewise.
56220         (sinh_test_tonearest): Likewise.
56221         (sinh_test_towardzero): Likewise.
56222         (sinh_test_downward): Likewise.
56223         (sinh_test_upward): Likewise.
56224         (sqrt_test): Likewise.
56225         (sqrt_test_tonearest): Likewise.
56226         (sqrt_test_towardzero): Likewise.
56227         (sqrt_test_downward): Likewise.
56228         (sqrt_test_upward): Likewise.
56229         (tan_test): Likewise.
56230         (tan_test_tonearest): Likewise.
56231         (tan_test_towardzero): Likewise.
56232         (tan_test_downward): Likewise.
56233         (tan_test_upward): Likewise.
56234         (tanh_test): Likewise.
56235         (tgamma_test): Likewise.
56236         (trunc_test): Likewise.
56237         (y0_test): Likewise.
56238         (y1_test): Likewise.
56239         (yn_test): Likewise.
56240         (significand_test): Likewise.
56242         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
56243         individual tests in comment.
56244         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
56245         (prev_max_error): New variable.
56246         (prev_real_max_error): Likewise.
56247         (prev_imag_max_error): Likewise.
56248         (compare_ulp_data): Don't refer to test names in comment.
56249         (find_test_ulps): Remove function.
56250         (find_function_ulps): Likewise.
56251         (find_complex_function_ulps): Likewise.
56252         (init_max_error): Take function name as argument.  Look up ulps
56253         for that function.
56254         (print_ulps): Remove function.
56255         (print_max_error): Use prev_max_error instead of calling
56256         find_function_ulps.
56257         (print_complex_max_error): Use prev_real_max_error and
56258         prev_imag_max_error instead of calling find_complex_function_ulps.
56259         (check_float_internal): Take max_ulp parameter instead of calling
56260         find_test_ulps.  Don't call print_ulps.
56261         (check_float): Update call to check_float_internal.
56262         (check_complex): Update calls to check_float_internal.
56263         (START): Pass argument to init_max_error.
56264         * math/gen-libm-test.pl (%results): Don't include "kind"
56265         information.
56266         (parse_ulps): Don't handle ulps of individual tests.
56267         (print_ulps_file): Likewise.
56268         (output_ulps): Likewise.
56269         * math/README.libm-test: Update.
56270         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
56271         individual tests.
56272         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
56273         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
56274         * sysdeps/arm/libm-test-ulps: Likewise.
56275         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
56276         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
56277         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
56278         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
56279         * sysdeps/microblaze/libm-test-ulps: Likewise.
56280         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
56281         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
56282         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56283         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
56284         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56285         * sysdeps/sh/libm-test-ulps: Likewise.
56286         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56287         * sysdeps/tile/libm-test-ulps: Likewise.
56288         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56290 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
56292         * math/libm-test.inc (print_complex_max_error): Check separately
56293         whether real and imaginary errors are within allowed range and
56294         pass 0 to print_complex_function_ulps instead of value within
56295         allowed range.
56297 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
56299         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
56300         formatting.
56301         (get_handles_fopen): Likewise.
56302         (do_write_test): Likewise.
56304         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
56306         * libio/fileops.c (do_ftell): Use cached offset when
56307         available.
56308         * libio/iofwide.c (do_ftell_wide): Likewise.
56309         * libio/iofdopen.c (_IO_new_fdopen): Don't use
56310         _IO_file_attach.
56311         * libio/wfileops.c (_IO_fwide): Don't cache offset.
56313         [BZ #16532]
56314         * libio/libioP.h (get_file_offset): New function.
56315         * libio/fileops.c (get_file_offset): Likewise.
56316         (do_ftell): Likewise.
56317         (_IO_new_file_seekoff): Split out ftell logic.
56318         * libio/wfileops.c (do_ftell_wide): Likewise.
56319         (_IO_wfile_seekoff): Split out ftell logic.
56320         * libio/tst-ftell-active-handler.c: New test case.
56321         * libio/Makefile (tests): Add it.
56323 2014-03-03  Roland McGrath  <roland@hack.frob.com>
56325         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
56326         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
56328 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
56330         [BZ #16639]
56331         * nscd/connections.c (nscd_init): Call do_exit.
56332         (start_threads): Call do_exit and notify_parent.
56333         (begin_drop_privileges): Call do_exit.
56334         (finish_drop_privileges): Likewise.
56335         * nscd/selinux.c (preserve_capabilities): Likewise.
56336         (install_real_capabilities): Likewise.
56337         (nscd_selinux_enabled): Likewise.
56338         (avc_create_thread): Likewise.
56339         (avc_alloc_lock): Likewise.
56340         (nscd_avc_init): Likewise.
56341         * nscd/nscd.c (parent_fd): New static variable.
56342         (main): Create a pipe between parent and child processes.
56343         Skip closing parent_fd.
56344         (monitor_child): New function.
56345         (do_exit): Likewise.
56346         (notify_parent): Likewise.
56347         * nscd/nscd.h (notify_parent): Likewise.
56348         (do_exit): Likewise.
56350 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
56352         * malloc/malloc.c (__libc_calloc): Revert last change.
56354 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56358 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
56360         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
56361         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
56362         implementation.
56363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56364         (__libc_ifunc_impl_list): Likewise.
56365         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
56366         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
56367         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
56368         * string/strrchr.c: Define STRRCHR.
56370 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
56372         * benchtest/bench-strtok.c (simple_strtok): Delete.
56373         (strtok_string): Use as benchmark.
56374         * string/strtok (STRTOK): New macro.
56376 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
56378         * manual/threads.texi: Add header and standard comments to all
56379         functions.
56381         * elf/dl-lookup.c (check_match): New function.
56382         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
56383         (do_lookup_x): Remove nested function check_match. Use non-nested
56384         function check_match.
56386 2014-02-28  Roland McGrath  <roland@hack.frob.com>
56388         * csu/Makefile (generated, before-compile): Use += rather than =.
56389         * catgets/Makefile (generated, generated-dirs): Likewise.
56390         * debug/Makefile (generated): Likewise.
56391         * dlfcn/Makefile (generated): Likewise.
56392         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
56393         * iconvdata/Makefile (before-compile, generated): Likewise.
56394         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
56395         * libio/Makefile (generated): Likewise.
56396         * malloc/Makefile (generated): Likewise.
56397         * manual/Makefile (generated, generated-dirs): Likewise.
56398         * misc/Makefile (generated): Likewise.
56399         * posix/Makefile (generated): Likewise.
56400         * resolv/Makefile (generated): Likewise.
56401         * sunrpc/Makefile (generated, generated-dirs): Likewise.
56402         * timezone/Makefile (generated, generated-dirs): Likewise.
56404         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
56406 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56408         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56409         power8 implementation.
56410         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
56411         file: POWER8 llround ifunc implementation.
56412         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
56413         (__lllround): Add POWER8 implementation.
56414         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
56415         POWER8 llround implementation.
56417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
56418         power8 implementation.
56419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
56420         file: POWER8 llrint ifunc implementation.
56421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
56422         Add POWER8 implementation.
56423         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
56424         POWER8 llrint implementation.
56426         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
56427         power8 implementation.
56428         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
56429         file: POWER8 finite ifunc implementation.
56430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
56431         Add POWER8 implementation.
56432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
56433         Likewise.
56434         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
56435         POWER8 finite implementation.
56436         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
56438         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
56439         power8 implementation.
56440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
56441         file: POWER8 isinf ifunc implementation.
56442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
56443         POWER8 implementation.
56444         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
56445         Likewise.
56446         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
56447         isinf implementation.
56448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
56450         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
56451         (INIT_ARCH): Add hwcap2 initialization.
56452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56453         power8 implementation.
56454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
56455         file: POWER8 isnan ifunc implementation.
56456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
56457         POWER8 implementation.
56458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
56459         Likewise.
56460         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
56461         isnan implementation.
56462         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
56464 2014-02-27  Joey Ye  <joey.ye@arm.com>
56466         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
56467         (_FP_NANFRAC_Q): Set to zero.
56469 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56471         [BZ #16623]
56472         * math/auto-libm-test-in: New test inputs.
56473         * math/auto-libm-test-out: Regenerate.
56474         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
56475         and DA.
56476         (__cos): Likewise.
56477         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
56479 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
56481         * scripts/evaluate-test.sh: Take new argument indicating whether
56482         failure is expected.
56483         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
56484         indicating whether failure is expected.
56485         * conform/Makefile (test-xfail-run-conformtest): New variable.
56486         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
56487         level.
56488         * posix/Makefile (test-xfail-annexc): New variable.
56489         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
56491 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
56493         * argp/Makefile: Include Makeconfig immediately after defining
56494         subdir.
56495         * assert/Makefile: Likewise.
56496         * benchtests/Makefile: Likewise.
56497         * catgets/Makefile: Likewise.
56498         * conform/Makefile: Likewise.
56499         * crypt/Makefile: Likewise.
56500         * csu/Makefile: Likewise.
56501         (all): Remove target.
56502         * ctype/Makefile: Include Makeconfig immediately after defining
56503         subdir.
56504         * debug/Makefile: Likewise.
56505         * dirent/Makefile: Likewise.
56506         * dlfcn/Makefile: Likewise.
56507         * gmon/Makefile: Likewise.
56508         * gnulib/Makefile: Likewise.
56509         * grp/Makefile: Likewise.
56510         * gshadow/Makefile: Likewise.
56511         * hesiod/Makefile: Likewise.
56512         * hurd/Makefile: Likewise.
56513         (all): Remove target.
56514         * iconvdata/Makefile: Include Makeconfig immediately after
56515         defining subdir.
56516         * inet/Makefile: Likewise.
56517         * intl/Makefile: Likewise.
56518         * io/Makefile: Likewise.
56519         * libio/Makefile: Likewise.
56520         (all): Remove target.
56521         * locale/Makefile: Include Makeconfig immediately after defining
56522         subdir.
56523         * login/Makefile: Likewise.
56524         * mach/Makefile: Likewise.
56525         (all): Remove target.
56526         * malloc/Makefile: Include Makeconfig immediately after defining
56527         subdir.
56528         (all): Remove target.
56529         * manual/Makefile: Include Makeconfig immediately after defining
56530         subdir.
56531         * math/Makefile: Likewise.
56532         * misc/Makefile: Likewise.
56533         * nis/Makefile: Likewise.
56534         * nss/Makefile: Likewise.
56535         * po/Makefile: Likewise.
56536         (all): Remove target.
56537         * posix/Makefile: Include Makeconfig immediately after defining
56538         subdir.
56539         * pwd/Makefile: Likewise.
56540         * resolv/Makefile: Likewise.
56541         * resource/Makefile: Likewise.
56542         * rt/Makefile: Likewise.
56543         * setjmp/Makefile: Likewise.
56544         * shadow/Makefile: Likewise.
56545         * signal/Makefile: Likewise.
56546         * socket/Makefile: Likewise.
56547         * soft-fp/Makefile: Likewise.
56548         * stdio-common/Makefile: Likewise.
56549         * stdlib/Makefile: Likewise.
56550         * streams/Makefile: Likewise.
56551         * string/Makefile: Likewise.
56552         * sunrpc/Makefile: Likewise.
56553         (all): Remove target.
56554         * sysvipc/Makefile: Include Makeconfig immediately after defining
56555         subdir.
56556         * termios/Makefile: Likewise.
56557         * time/Makefile: Likewise.
56558         * timezone/Makefile: Likewise.
56559         (all): Remove target.
56560         * wcsmbs/Makefile: Include Makeconfig immediately after defining
56561         subdir.
56562         * wctype/Makefile: Likewise.
56564 2014-02-26  Steve Ellcey  <sellcey@mips.com>
56566         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
56567         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
56568         (libc_feholdexcept_setround_mips): Ditto.
56569         (libc_feholdsetround): New.
56570         (libc_feholdsetroundf): New.
56571         (libc_feholdsetroundl): New.
56572         (libc_feupdateenv_test_mips): New.
56573         (libc_feupdateenv_test): New.
56574         (libc_feupdateenv_testf): New.
56575         (libc_feupdateenv_testl): New.
56576         (libc_feresetround): New.
56577         (libc_feresetroundf): New.
56578         (libc_feresetroundl): New.
56579         (libc_fetestexcept_mips): New.
56580         (libc_fetestexcept): New.
56581         (libc_fetestexceptf): New.
56582         (libc_fetestexceptl): New.
56583         (HAVE_RM_CTX): New.
56584         (libc_feholdexcept_setround_mips_ctx): New.
56585         (libc_feholdexcept_setround_ctx): New.
56586         (libc_feholdexcept_setroundf_ctx): New.
56587         (libc_feholdexcept_setroundl_ctx): New.
56588         (libc_fesetenv_mips_ctx): New.
56589         (libc_fesetenv_ctx): New.
56590         (libc_fesetenv_ctxf): New.
56591         (libc_fesetenv_ctxl): New.
56592         (libc_feupdateenv_mips_ctx): New.
56593         (libc_feupdateenv_ctx): New.
56594         (libc_feupdateenvf_ctx): New.
56595         (libc_feupdateenvl_ctx): New.
56596         (libc_feholdsetround_mips_ctx): New.
56597         (libc_feholdsetround_ctx): New.
56598         (libc_feholdsetroundf_ctx): New.
56599         (libc_feholdsetroundl_ctx): New.
56600         (libc_feresetround_mips_ctx): New.
56601         (libc_feresetround_ctx): New.
56602         (libc_feresetroundf_ctx): New.
56603         (libc_feresetroundl_ctx): New.
56605 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
56607         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
56609         * manual/ipc.texi: New file.
56610         * manual/Makefile (chapters): Add ipc.
56611         * manual/job.texi: Add "Inter-Process Communication" to next.
56612         * manual/process.texi: Add "Inter-Process Communication" to prev.
56614 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56618 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
56620         * malloc/malloc.c (__libc_calloc): Simplify implementation.
56622         * manual/arith.texi: Fix spaces after sentences.
56623         * manual/charset.texi: Likewise.
56624         * manual/errno.texi: Likewise.
56625         * manual/install.texi: Likewise.
56626         * manual/llio.texi: Likewise.
56627         * manual/locale.texi: Likewise.
56628         * manual/maint.texi: Likewise.
56629         * manual/math.texi: Likewise.
56630         * manual/memory.texi: Likewise.
56631         * manual/message.texi: Likewise.
56632         * manual/probes.texi: Likewise.
56633         * manual/resource.texi: Likewise.
56634         * manual/signal.texi: Likewise.
56635         * manual/socket.texi: Likewise.
56636         * manual/stdio.texi: Likewise.
56637         * manual/string.texi: Likewise.
56638         * manual/time.texi: Likewise.
56639         * manual/users.texi: Likewise.
56641 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
56643         [BZ #16632]
56644         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
56645         _DEFAULT_SOURCE is defined.
56647 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
56648             Carlos O'Donell  <carlos@redhat.com>
56650         [BZ #16613]
56651         * elf/dl-tls.c (_dl_count_modids): New function.
56652         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
56653         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
56654         audit library and increment generation counter.
56655         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
56656         * elf/tst-audit9.c: New file.
56657         * elf/tst-auditmod9a.c: New file.
56658         * elf/tst-auditmod9b.c: New file.
56659         * elf/Makefile: Add rules to build and run tst-audit9.
56661 2014-02-25  Florian Weimer  <fweimer@redhat.com>
56663         [BZ #15347]
56664         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
56666 2014-02-25  Will Newton  <will.newton@linaro.org>
56668         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
56669         (__longjmp): Restore sp and lr before restoring callee
56670         saved registers.  Add longjmp and longjmp_target
56671         SystemTap probe point.
56672         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
56673         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
56674         Define to zero to match jmpbuf layout.
56675         * sysdeps/arm/setjmp.S: Include stap-probe.h.
56676         (__sigsetjmp): Save sp and lr before saving callee
56677         saved registers.  Add setjmp SystemTap probe point.
56679 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
56681         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
56683 2014-02-24  Andreas Schwab  <schwab@suse.de>
56685         [BZ #15804]
56686         * elf/pldd.c (wait_for_ptrace_stop): New function.
56687         (main): Call it after attaching.
56689 2014-02-22  Roland McGrath  <roland@hack.frob.com>
56691         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
56692         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
56693         Versions files is now verboten.
56694         * hurd/Versions (libc: GLIBC_2.0):
56695         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
56696         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
56697         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
56698         * mach/Versions: Likewise.
56700         * csu/Versions: Remove unused %include.
56701         * resolv/Versions: Likewise.
56703 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
56705         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
56706         ($(objpfx)check-local-headers.out): Likewise.
56707         ($(objpfx)begin-end-check.out): Likewise.
56708         * Makerules (check-abi-%.out): Likewise.
56709         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
56710         ($(objpfx)test2.cat): Likewise.
56711         ($(objpfx)de/libc.cat): Likewise.
56712         ($(objpfx)test-gencat.out): Likewise.
56713         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
56714         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
56715         ($(objpfx)noload-mem): Likewise.
56716         ($(objpfx)tst-pathopt.out): Likewise.
56717         ($(objpfx)tst-rtld-load-self.out): Likewise.
56718         ($(objpfx)tst-array1-cmp.out): Likewise.
56719         ($(objpfx)tst-array1-static-cmp.out): Likewise.
56720         ($(objpfx)tst-array2-cmp.out): Likewise.
56721         ($(objpfx)tst-array3-cmp.out): Likewise.
56722         ($(objpfx)tst-array4-cmp.out): Likewise.
56723         ($(objpfx)tst-array5-cmp.out): Likewise.
56724         ($(objpfx)tst-array5-static-cmp.out): Likewise.
56725         ($(objpfx)check-textrel.out): Likewise.
56726         ($(objpfx)check-execstack.out): Likewise.
56727         ($(objpfx)check-localplt.out): Likewise.
56728         ($(objpfx)order2-cmp.out): Likewise.
56729         ($(objpfx)tst-leaks1-mem): Likewise.
56730         ($(objpfx)tst-leaks1-static-mem): Likewise.
56731         ($(objpfx)tst-initorder-cmp.out): Likewise.
56732         ($(objpfx)tst-initorder2-cmp.out): Likewise.
56733         ($(objpfx)tst-unused-dep.out): Likewise.
56734         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
56735         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
56736         * iconv/Makefile (test-iconvconfig): Likewise.
56737         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
56738         ($(objpfx)iconv-test.out): Likewise.
56739         ($(objpfx)tst-tables.out): Likewise.
56740         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
56741         ($(objpfx)tst-gettext.out): Likewise.
56742         ($(objpfx)tst-translit.out): Likewise.
56743         ($(objpfx)tst-gettext2.out): Likewise.
56744         ($(objpfx)tst-gettext4.out): Likewise.
56745         ($(objpfx)tst-gettext6.out): Likewise.
56746         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
56747         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
56748         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
56749         ($(objpfx)tst-fopenloc-mem.out): Likewise.
56750         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
56751         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
56752         * posix/Makefile ($(objpfx)globtest.out): Likewise.
56753         ($(objpfx)wordexp-tst.out): Likewise.
56754         ($(objpfx)annexc.out): Likewise.
56755         ($(objpfx)tst-fnmatch-mem): Likewise.
56756         ($(objpfx)bug-regex2-mem): Likewise.
56757         ($(objpfx)bug-regex14-mem): Likewise.
56758         ($(objpfx)bug-regex21-mem): Likewise.
56759         ($(objpfx)bug-regex31-mem): Likewise.
56760         ($(objpfx)tst-vfork3-mem): Likewise.
56761         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
56762         ($(objpfx)tst-pcre-mem): Likewise.
56763         ($(objpfx)tst-boost-mem): Likewise.
56764         ($(objpfx)tst-getconf.out): Likewise.
56765         ($(objpfx)bug-ga2-mem): Likewise.
56766         ($(objpfx)bug-glob2-mem): Likewise.
56767         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
56768         ($(objpfx)mtrace-tst-leaks2): Likewise.
56769         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
56770         ($(objpfx)tst-printf.out): Likewise.
56771         ($(objpfx)tst-setvbuf1.out): Likewise.
56772         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
56773         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
56774         ($(objpfx)tst-fmtmsg.out): Likewise.
56775         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
56776         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
56778         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
56779         * bits/sigaction.h [__USE_MISC]: Likewise.
56780         * bits/waitstatus.h: Update #endif comments.
56781         * ctype/ctype.h: Likewise.
56782         * dirent/dirent.h: Likewise.
56783         [__USE_MISC]: Remove redundant conditionals.
56784         * grp/grp.h: Update #endif comments.
56785         [__USE_GNU]: Remove redundant conditionals.
56786         [__USE_MISC]: Likewise.
56787         * inet/netinet/in.h [__USE_GNU]: Likewise.
56788         * io/sys/stat.h [__USE_MISC]: Likewise.
56789         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
56790         * libio/bits/stdio.h: Update #endif comments.
56791         [__USE_MISC]: Remove redundant conditionals.
56792         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
56793         * libio/stdio.h: Update #endif comments.
56794         [__USE_MISC]: Remove redundant conditionals.
56795         * math/bits/math-finite.h [__USE_MISC]: Likewise.
56796         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
56797         * math/math.h: Update #else and #endif comments.
56798         [__USE_MISC]: Remove redundant conditionals.
56799         * misc/sys/uio.h: Update #endif comments.
56800         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
56801         * posix/glob.h [__USE_MISC]: Likewise.
56802         * posix/sys/types.h: Update #endif comments.
56803         [__USE_MISC]: Remove redundant conditionals.
56804         * posix/sys/wait.h: Update #endif comments.
56805         [__USE_MISC]: Remove redundant conditionals.
56806         * posix/unistd.h: Update #endif comments.
56807         [__USE_MISC]: Remove redundant conditionals.
56808         * pwd/pwd.h [__USE_GNU]: Likewise.
56809         [__USE_MISC]: Likewise.
56810         * resolv/netdb.h [__USE_GNU]: Likewise.
56811         * signal/signal.h: Update #endif comments.
56812         [__USE_MISC]: Remove redundant conditionals.
56813         * stdlib/stdlib.h: Update #else and #endif comments.
56814         [__USE_MISC]: Remove redundant conditionals.
56815         [__USE_GNU]: Likewise.
56816         * string/bits/string2.h [__USE_MISC]: Likewise.
56817         * string/string.h: Update #endif comments.
56818         [__USE_MISC]: Remove redundant conditionals.
56819         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
56820         Likewise.
56821         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
56822         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
56823         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
56824         Likewise.
56825         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
56826         Likewise.
56827         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
56828         comments.
56829         [__USE_MISC]: Remove redundant conditionals.
56830         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
56831         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
56832         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
56833         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
56834         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
56835         Likewise.
56836         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
56837         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
56838         Likewise.
56839         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
56840         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
56841         Likewise.
56842         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
56843         Likewise.
56844         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
56845         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
56846         Likewise.
56847         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
56848         Likewise.
56849         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
56850         * sysdeps/x86/bits/string.h: Update #endif comments.
56851         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
56852         conditionals.
56853         * time/sys/time.h: Update #endif comments.
56854         * time/time.h: Likewise.
56855         [__USE_MISC]: Remove redundant conditionals.
56857 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56859         [BZ #16600]
56860         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56862 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56864         * Versions.def (librt): Add GLIBC_2.17.
56866 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56868         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56869         synonym for _SYS_AUXV_H to allow direct inclusion.
56870         * sysdeps/sparc/bits/hwcap.h: Likewise.
56871         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56872         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56873         * sysdeps/sparc/sysdep.h: Likewise.
56875 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56877         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56879 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56881         * benchtests/bench-strrchr.c: Print length instead of position.
56883 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56885         [BZ #16611]
56886         * sysdeps/unix/sysv/linux/kernel-features.h
56887         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56888         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56889         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56890         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56891         Likewise.
56892         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56893         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56894         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56895         (__ASSUME_SENDMMSG): Define instead of using previous
56896         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56897         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56898         (__ASSUME_SENDMMSG_SYSCALL): Define.
56899         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56900         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56901         Likewise.
56902         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56903         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56904         Likewise.
56905         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56906         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56907         Likewise.
56908         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56909         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56910         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56911         [__ASSUME_SENDMMSG]: Change conditionals to
56912         [__ASSUME_SENDMMSG_SOCKETCALL].
56913         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56914         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56915         Define.
56916         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56917         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56918         Likewise.
56919         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56920         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56921         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56922         [!__ASSUME_SENDMMSG]: Change conditional to
56923         [!__ASSUME_SENDMMSG_SOCKETCALL].
56924         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56925         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56926         Define.
56928         [BZ #16610]
56929         * sysdeps/unix/sysv/linux/kernel-features.h
56930         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56931         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56932         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56933         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56934         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56935         [__i386__ || __sparc__]
56936         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56937         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56938         (__ASSUME_RECVMMSG): Define instead of using previous
56939         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56940         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56941         (__ASSUME_RECVMMSG_SYSCALL): Define.
56942         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56943         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56944         Likewise.
56945         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56946         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56947         Likewise.
56948         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56949         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56950         Likewise.
56951         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56952         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56953         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56954         [__ASSUME_RECVMMSG]: Change condition to
56955         [__ASSUME_RECVMMSG_SOCKETCALL].
56956         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56957         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56958         Define.
56959         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56960         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56962         Likewise.
56963         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56964         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56965         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56966         [!__ASSUME_RECVMMSG]: Change condition to
56967         [!__ASSUME_RECVMMSG_SOCKETCALL].
56968         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56969         (__ASSUME_RECVMMSG_SYSCALL): Define.
56971         [BZ #16609]
56972         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56973         __powerpc__ || __s390__ || __sh__ || __sparc__]
56974         (__ASSUME_SOCKETCALL): Define.
56975         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56976         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56977         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56978         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56979         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56980         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56981         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56982         (__ASSUME_ACCEPT4): Define instead of using previous
56983         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56984         __powerpc__ || __sparc__ || __s390__)] condition.
56985         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56986         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56987         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56988         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56989         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56990         [!__ASSUME_ACCEPT4]: Change condition to
56991         [!__ASSUME_ACCEPT4_SOCKETCALL].
56992         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56993         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56994         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56995         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56996         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56997         __ASSUME_ACCEPT4_SYSCALL.
56998         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56999         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
57000         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
57001         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
57002         __ASSUME_ACCEPT4_SYSCALL.
57003         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
57004         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
57005         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
57006         [__ASSUME_ACCEPT4]: Change condition to
57007         [__ASSUME_ACCEPT4_SOCKETCALL].
57008         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
57009         (__ASSUME_SOCKETCALL): Define.
57010         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
57011         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
57012         (__ASSUME_SOCKETCALL): Define.
57013         (__ASSUME_ACCEPT4): Remove.
57014         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
57015         Define.
57016         * sysdeps/unix/sysv/linux/mips/kernel-features.h
57017         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
57018         Likewise.
57019         * sysdeps/unix/sysv/linux/tile/kernel-features.h
57020         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
57022         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
57023         macro.
57024         (HWCAP_ARM_LPAE): Likewise.
57025         (HWCAP_ARM_EVTSTRM): Likewise.
57026         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
57027         Add vpfd32, lpae and evtstrm.
57028         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
57029         Increase to 22.
57031 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
57033         * math/auto-libm-test-in: Add tests of clog10.
57034         * math/auto-libm-test-out: Regenerated.
57035         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
57036         * sysdeps/i386/fpu/libm-test-ulps: Update.
57037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57039 2014-02-18  Andreas Schwab  <schwab@suse.de>
57041         [BZ #16574]
57042         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
57043         Store non-zero if the second buffer was newly allocated.
57044         (send_dg): Likewise.
57045         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
57046         to send_vc and send_dg.
57047         (res_nsend): Pass NULL for ansp2_malloced.
57048         * resolv/res_query.c (__libc_res_nquery): Add parameter
57049         answerp2_malloced and pass it down to __libc_res_nsend.
57050         (res_nquery): Pass additional NULL to __libc_res_nquery.
57051         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
57052         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
57053         second answer buffer if answerp2_malloced was set.
57054         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
57055         (__libc_res_nquerydomain): Add parameter
57056         answerp2_malloced and pass it down to __libc_res_nquery.
57057         (res_nquerydomain): Pass additional NULL to
57058         __libc_res_nquerydomain.
57059         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
57060         additional NULL to __libc_res_nsend and __libc_res_nquery.
57061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
57062         additional NULL to __libc_res_nsearch.
57063         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
57064         parameter of __libc_res_nsearch to check for separately allocated
57065         second buffer.
57066         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
57067         __libc_res_nquery.
57068         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
57069         additional NULL to __libc_res_nquery.
57070         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
57071         __libc_res_nsearch.
57072         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
57073         * include/resolv.h: Update prototypes of __libc_res_nquery,
57074         __libc_res_nsearch, __libc_res_nsend.
57076 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
57078         * math/auto-libm-test-in: Add tests of fma.
57079         * math/auto-libm-test-out: Regenerated.
57080         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
57081         (fma_towardzero_test_data): Likewise.
57082         (fma_downward_test_data): Likewise.
57083         (fma_upward_test_data): Likewise.
57084         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
57085         mpc_mode.
57086         (rounding_modes): Add values for new field.
57087         (func_calc_method): Add value mpfr_fff_f.
57088         (func_calc_desc): Add mpfr_fff_f union field.
57089         (test_function): Add field exact_args.
57090         (FUNC): Add macro argument EXACT_ARGS.
57091         (FUNC_mpfr_f_f): Update call to FUNC.
57092         (FUNC_mpfr_f_f): Likewise.
57093         (FUNC_mpfr_ff_f): Likewise.
57094         (FUNC_mpfr_if_f): Likewise.
57095         (FUNC_mpc_c_f): Likewise.
57096         (FUNC_mpc_c_c): Likewise.
57097         (test_functions): Add fma.  Update calls to FUNC.
57098         (handle_input_arg): Add argument exact_args.
57099         (add_test): Update call to handle_input_arg.
57100         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
57101         (output_for_one_input_case): Update call to calc_generic_results.
57102         Recalculate exact zero results in each rounding mode.
57104         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
57105         non-negative before setting low bit.
57106         * math/auto-libm-test-in: Mark one asin test possibly having
57107         spurious underflow.
57108         * math/auto-libm-test-out: Regenerated.
57109         * sysdeps/i386/fpu/libm-test-ulps: Update.
57110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57112 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
57114         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
57115         * sysdeps/unix/sysv/linux/microblaze: Move directory from
57116         ports/sysdeps/unix/sysv/linux/microblaze.
57117         * README: Add missing listing for microblaze*-*-linux-gnu.
57119 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
57121         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
57122         duplicate code
57124 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
57126         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
57127         * sysdeps/unix/sysv/linux/ia64: Move directory from
57128         ports/sysdeps/unix/sysv/linux/ia64.
57129         * README: Update listing for ia64-*-linux-gnu.
57131 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
57132             Joseph Myers  <joseph@codesourcery.com>
57134         * Makeconfig (test-name): New variable.
57135         (evaluate-test): Likewise.
57136         * Makerules (do-test-clean): Remove .test-result files.
57137         (common-mostlyclean): Likewise.
57138         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
57139         * scripts/evaluate-test.sh: New file.
57141 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
57143         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
57144         separate $(objpfx)tst-fopenloc-cmp.out and
57145         $(objpfx)tst-fopenloc-mem.out targets.
57146         (tests): Update dependencies.
57147         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
57148         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
57149         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
57150         (tst-rxspencer-no-utf8-ARGS): New variable.
57151         (tst-rxspencer-no-utf8-ENV): Likewise.
57152         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
57153         instead of $(objpfx)tst-rxspencer-mem.
57154         ($(objpfx)tst-rxspencer-mem): Change target to
57155         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
57156         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
57157         * posix/tst-rxspencer-no-utf8.c: New file.
57159         * elf/Makefile ($(objpfx)order.out): Remove rule.
57160         [$(run-built-tests) = yes] (tests): Depend on
57161         $(objpfx)order-cmp.out.
57162         ($(objpfx)order-cmp.out): New rule.
57163         [$(run-built-tests) = yes] (tests): Depend on
57164         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
57165         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
57166         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
57167         $(objpfx)tst-array5-static-cmp.out.
57168         ($(objpfx)tst-array1.out): Remove rule.
57169         ($(objpfx)tst-array1-cmp.out): New rule.
57170         ($(objpfx)tst-array1-static.out): Remove rule.
57171         ($(objpfx)tst-array1-static-cmp.out): New rule.
57172         ($(objpfx)tst-array2.out): Remove rule.
57173         ($(objpfx)tst-array2-cmp.out): New rule.
57174         ($(objpfx)tst-array3.out): Remove rule.
57175         ($(objpfx)tst-array3-cmp.out): New rule.
57176         ($(objpfx)tst-array4.out): Remove rule.
57177         ($(objpfx)tst-array4-cmp.out): New rule.
57178         ($(objpfx)tst-array5.out): Remove rule.
57179         ($(objpfx)tst-array5-cmp.out): New rule.
57180         ($(objpfx)tst-array5-static.out): Remove rule.
57181         ($(objpfx)tst-array5-static-cmp.out): New rule.
57182         [$(run-built-tests) = yes] (tests): Depend on
57183         $(objpfx)order2-cmp.out.
57184         ($(objpfx)order2.out): Remove rule.
57185         ($(objpfx)order2-cmp.out): New rule.
57186         ($(objpfx)tst-initorder.out): Remove rule.
57187         [$(run-built-tests) = yes] (tests): Depend on
57188         $(objpfx)tst-initorder-cmp.out.
57189         ($(objpfx)tst-initorder-cmp.out): New rule.
57190         ($(objpfx)tst-initorder2.out): Remove rule.
57191         [$(run-built-tests) = yes] (tests): Depend on
57192         $(objpfx)tst-initorder2-cmp.out.
57193         ($(objpfx)tst-initorder2-cmp.out): New rule.
57194         [$(run-built-tests) = yes] (tests): Depend on
57195         $(objpfx)tst-unused-dep-cmp.out.
57196         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
57197         ($(objpfx)tst-unused-dep-cmp.out): New rule.
57198         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
57199         on $(objpfx)tst-setvbuf1-cmp.out.
57200         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
57201         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
57202         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
57203         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
57204         ($(objpfx)tst-svc.out): Remove rule.
57205         ($(objpfx)tst-svc-cmp.out): New rule.
57207 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
57209         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
57210         * ctype/ctype.h [__USE_MISC]: Likewise.
57211         * dirent/dirent.h [__USE_MISC]: Likewise.
57212         * grp/grp.h [__USE_MISC]: Likewise.
57213         * io/fcntl.h [__USE_MISC]: Likewise.
57214         * io/sys/stat.h [__USE_MISC]: Likewise.
57215         * libio/stdio.h [__USE_MISC]: Likewise.
57216         * posix/unistd.h [__USE_MISC]: Likewise.
57217         * pwd/pwd.h [__USE_MISC]: Likewise.
57218         * stdlib.h [__USE_MISC]: Likewise.
57219         * string/bits/string2.h [__USE_MISC]: Likewise.
57220         * string/string.h [__USE_MISC]: Likewise.
57221         * time/time.h [__USE_MISC]: Likewise.
57223 2014-02-13  Andreas Schwab  <schwab@suse.de>
57225         [BZ #16574]
57226         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
57227         second answer buffer if it was separately allocated.
57229 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
57231         * sysdeps/mips/math-tests.h: Include <features.h>.
57232         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57233         (ROUNDING_TESTS_long_double): Do not define.
57234         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
57235         (EXCEPTION_TESTS_long_double): Likewise.
57236         * sysdeps/mips/mips64/libm-test-ulps: Update.
57238         * include/features.h (__USE_BSD): Remove macro definitions.
57239         (__USE_SVID): Likewise.
57240         (_BSD_SOURCE): Likewise.
57241         (_SVID_SOURCE): Likewise.
57242         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
57243         from definition of _DEFAULT_SOURCE.
57244         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
57245         [_DEFAULT_SOURCE].
57246         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
57247         * bits/mman.h [__USE_BSD]: Likewise.
57248         * bits/termios.h [__USE_BSD]: Likewise.
57249         * bits/waitstatus.h [__USE_BSD]: Likewise.
57250         * ctype/ctype.h [__USE_SVID]: Likewise.
57251         * dirent/dirent.h [__USE_BSD]: Likewise.
57252         * grp/grp.h [__USE_SVID]: Likewise.
57253         [__USE_BSD]: Likewise.
57254         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
57255         * io/fcntl.h [__USE_BSD]: Likewise.
57256         * io/ftw.h [__USE_BSD]: Likewise.
57257         * io/sys/stat.h [__USE_BSD]: Likewise.
57258         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
57259         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
57260         * libio/stdio.h [__USE_SVID]: Likewise.
57261         [__USE_BSD]: Likewise.
57262         * math/math.h [__USE_SVID]: Likewise.
57263         [__USE_BSD]: Likewise.
57264         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
57265         * misc/bits/syslog.h [__USE_BSD]: Likewise.
57266         * misc/search.h [__USE_SVID]: Likewise.
57267         * misc/sys/mman.h [__USE_BSD]: Likewise.
57268         * misc/sys/syslog.h [__USE_BSD]: Likewise.
57269         * misc/sys/uio.h [__USE_BSD]: Likewise.
57270         * posix/bits/unistd.h [__USE_BSD]: Likewise.
57271         * posix/glob.h [__USE_BSD]: Likewise.
57272         * posix/regex.h [__USE_BSD]: Likewise.
57273         * posix/sys/types.h [__USE_BSD]: Likewise.
57274         [__USE_SVID]: Likewise.
57275         * posix/sys/utsname.h [__USE_SVID]: Likewise.
57276         * posix/sys/wait.h [__USE_BSD]: Likewise.
57277         [__USE_SVID]: Likewise.
57278         * posix/unistd.h [__USE_BSD]: Likewise.
57279         [__USE_SVID]: Likewise.
57280         * pwd/pwd.h [__USE_SVID]: Likewise.
57281         * resolv/netdb.h [__USE_BSD]: Likewise.
57282         * setjmp/setjmp.h [__USE_BSD]: Likewise.
57283         * signal/signal.h [__USE_BSD]: Likewise.
57284         [__USE_SVID]: Likewise.
57285         * socket/sys/socket.h [__USE_BSD]: Likewise.
57286         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
57287         * stdlib/stdlib.h [__USE_BSD]: Likewise.
57288         [__USE_SVID]: Likewise.
57289         * string/bits/string2.h [__USE_BSD]: Likewise.
57290         [__USE_SVID]: Likewise.
57291         * string/bits/string3.h [__USE_BSD]: Likewise.
57292         * string/endian.h [__USE_BSD]: Likewise.
57293         * string/string.h [__USE_SVID]: Likewise.
57294         [__USE_BSD]: Likewise.
57295         * string/strings.h [__USE_BSD]: Likewise.
57296         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
57297         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
57298         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
57299         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
57300         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
57301         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
57302         Likewise.
57303         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
57304         Likewise.
57305         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
57306         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
57307         Likewise.
57308         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
57309         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
57310         Likewise.
57311         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
57312         Likewise.
57313         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
57314         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
57315         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
57316         Likewise.
57317         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
57318         Likewise.
57319         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
57320         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
57321         * termios/termios.h [__USE_BSD]: Likewise.
57322         * time/sys/time.h [__USE_BSD]: Likewise.
57323         * time/time.h [__USE_BSD]: Likewise.
57324         [__USE_SVID]: Likewise.
57326         * Makefile (subdir_targets): Remove subdir_lint.out.
57328         * stdio-common/Makefile (do-tst-unbputc): Remove target.
57329         (do-tst-printf): Likewise.
57330         (tests): Depend directly on $(objpfx)tst-unbputc.out and
57331         $(objpfx)tst-printf.out.
57333         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
57335         * Makerules (check-abi-%): Change target to
57336         $(objpfx)check-abi-%.out.
57337         (check-abi target): Update dependencies.
57338         (check-abi-pattern variable): Redirect output of diff to $@.
57339         (check-abi variable): Likewise.
57340         * elf/Makefile (check-abi): Update dependencies.
57342         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
57343         unused.
57344         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
57345         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
57346         subnormal range.
57347         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
57348         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
57349         value has largest subnormal exponent.
57350         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
57351         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
57352         * sysdeps/aarch64/soft-fp/sfp-machine.h
57353         (_FP_TININESS_AFTER_ROUNDING): New macro.
57354         * sysdeps/alpha/soft-fp/sfp-machine.h
57355         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57356         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57357         Likewise.
57358         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
57359         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57360         * sysdeps/mips/soft-fp/sfp-machine.h
57361         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57362         * sysdeps/powerpc/soft-fp/sfp-machine.h
57363         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57364         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57365         Likewise.
57366         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
57367         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57368         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
57369         (_FP_TININESS_AFTER_ROUNDING): Likewise.
57370         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
57371         Likewise.
57373 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
57375         [BZ #16545]
57376         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
57377         model 1.
57379 2014-02-12  Richard Henderson  <rth@redhat.com>
57381         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
57382         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
57383         * sysdeps/unix/sysv/linux/alpha: Move directory from
57384         ports/sysdeps/unix/sysv/linux/alpha.
57385         * README: Update listing for alpha-*-linux-gnu.
57387 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
57389         * include/features.h: Update comment documenting feature test
57390         macros.
57391         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
57392         _DEFAULT_SOURCE.
57393         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
57394         (_SVID_SOURCE): Likewise.
57395         (_DEFAULT_SOURCE): Update description of default features.
57396         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
57397         with _GNU_SOURCE.
57398         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
57399         (S_ISVTX): Likewise.
57400         * manual/math.texi (Mathematical Constants): Likewise.
57401         * manual/signal.texi (Interrupted Primitives): Likewise.
57402         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
57403         * math/test-matherr.c (_SVID_SOURCE): Do not define.
57404         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
57405         Don't refer to _SVID_SOURCE in warning text.
57407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57409         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
57410         already defined.
57411         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
57412         * sysdeps/mips/dl-lookup.c: Remove.
57413         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
57415 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
57417         [BZ #16447]
57418         * math/auto-libm-test-in: Add testcase for expl.
57419         * math/auto-libm-test-out: Regenerate.
57420         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
57421         calculation of unsafe.
57422         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
57424 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
57426         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
57427         * sysdeps/unix/sysv/linux/aarch64: Move directory from
57428         ports/sysdeps/unix/sysv/linux/aarch64.
57429         * README: Update listing for aarch64*-*-linux-gnu.
57431 2014-02-11  Will Newton  <will.newton@linaro.org>
57433         * manual/probes.texi (Mathematical Function Probes): Use
57434         "triggered" instead of "hit".
57436         * manual/probes.texi (Internal Probes): Add documentation
57437         of setjmp, longjmp and longjmp_target probes.
57439         * include/stap-probe.h: Add comment about probe argument
57440         format.
57442         * malloc/mtrace.c (attribute_hidden): Remove unused macro
57443         definition.  (tr_where, tr_freehook, tr_mallochook,
57444         tr_reallochook, tr_memalignhook): Use ANSI protoype.
57446 2014-02-11  David S. Miller  <davem@davemloft.net>
57448         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
57449         processing int_tests.
57451 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
57453         * sysdeps/mips: Move directory from ports/sysdeps/mips.
57454         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
57455         * sysdeps/unix/sysv/linux/mips: Move directory from
57456         ports/sysdeps/unix/sysv/linux/mips.
57457         * README: Update listing for mips-*-linux-gnu and
57458         mips64-*-linux-gnu.
57460 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
57462         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
57463         * sysdeps/unix/sysv/linux/m68k: Move directory from
57464         ports/sysdeps/unix/sysv/linux/m68k.
57465         * README: Update listing for m68k-*-linux-gnu.
57467 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
57469         * sysdeps/tile: Move directory from ports/sysdeps/tile.
57470         * sysdeps/unix/sysv/linux/generic: Move directory from
57471         ports/sysdeps/unix/sysv/linux/generic.
57472         * sysdeps/unix/sysv/linux/tile: Move directory from
57473         ports/sysdeps/unix/sysv/linux/tile.
57474         * README: Update listing for tile*-*-linux-gnu.
57476 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
57478         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
57479         __builtin_expect.
57480         * benchtests/bench-memmem.c (simple_memmem): Likewise.
57481         * catgets/open_catalog.c (__open_catalog): Likewise.
57482         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
57483         * debug/confstr_chk.c: Likewise.
57484         * debug/fread_chk.c (__fread_chk): Likewise.
57485         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
57486         * debug/getgroups_chk.c: Likewise.
57487         * debug/mbsnrtowcs_chk.c: Likewise.
57488         * debug/mbsrtowcs_chk.c: Likewise.
57489         * debug/mbstowcs_chk.c: Likewise.
57490         * debug/memcpy_chk.c: Likewise.
57491         * debug/memmove_chk.c: Likewise.
57492         * debug/mempcpy_chk.c: Likewise.
57493         * debug/memset_chk.c: Likewise.
57494         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
57495         * debug/strcat_chk.c (__strcat_chk): Likewise.
57496         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
57497         * debug/strncat_chk.c (__strncat_chk): Likewise.
57498         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
57499         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
57500         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
57501         * debug/wcpncpy_chk.c: Likewise.
57502         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
57503         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
57504         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
57505         * debug/wcsncpy_chk.c: Likewise.
57506         * debug/wcsnrtombs_chk.c: Likewise.
57507         * debug/wcsrtombs_chk.c: Likewise.
57508         * debug/wcstombs_chk.c: Likewise.
57509         * debug/wmemcpy_chk.c: Likewise.
57510         * debug/wmemmove_chk.c: Likewise.
57511         * debug/wmempcpy_chk.c: Likewise.
57512         * debug/wmemset_chk.c: Likewise.
57513         * dirent/scandirat.c (SCANDIRAT): Likewise.
57514         * dlfcn/dladdr1.c (dladdr1): Likewise.
57515         * dlfcn/dladdr.c (dladdr): Likewise.
57516         * dlfcn/dlclose.c (dlclose_doit): Likewise.
57517         * dlfcn/dlerror.c (__dlerror): Likewise.
57518         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
57519         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
57520         * dlfcn/dlopen.c (dlopen_doit): Likewise.
57521         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
57522         * dlfcn/dlsym.c (dlsym_doit): Likewise.
57523         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
57524         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
57525         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
57526         Likewise.
57527         * elf/dl-conflict.c: Likewise.
57528         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
57529         * elf/dl-dst.h: Likewise.
57530         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
57531         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
57532         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
57533         * elf/dl-init.c (call_init, _dl_init): Likewise.
57534         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57535         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
57536         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
57537         Likewise.
57538         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
57539         Likewise.
57540         * elf/dl-minimal.c (__libc_memalign): Likewise.
57541         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
57542         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
57543         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
57544         * elf/dl-sym.c (do_sym): Likewise.
57545         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
57546         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
57547         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
57548         * elf/dl-writev.h (_dl_writev): Likewise.
57549         * elf/ldconfig.c (search_dir): Likewise.
57550         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
57551         (dl_main): Likewise.
57552         * elf/setup-vdso.h (setup_vdso): Likewise.
57553         * grp/compat-initgroups.c (compat_call): Likewise.
57554         * grp/fgetgrent.c (fgetgrent): Likewise.
57555         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
57556         * grp/putgrent.c (putgrent): Likewise.
57557         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
57558         Likewise.
57559         * hurd/hurdinit.c: Likewise.
57560         * iconvdata/8bit-gap.c (struct): Likewise.
57561         * iconvdata/ansi_x3.110.c : Likewise.
57562         * iconvdata/big5.c : Likewise.
57563         * iconvdata/big5hkscs.c : Likewise.
57564         * iconvdata/cp1255.c: Likewise.
57565         * iconvdata/cp1258.c : Likewise.
57566         * iconvdata/cp932.c : Likewise.
57567         * iconvdata/euc-cn.c: Likewise.
57568         * iconvdata/euc-jisx0213.c : Likewise.
57569         * iconvdata/euc-jp.c: Likewise.
57570         * iconvdata/euc-jp-ms.c : Likewise.
57571         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
57572         * iconvdata/gb18030.c : Likewise.
57573         * iconvdata/gbbig5.c (const): Likewise.
57574         * iconvdata/gbgbk.c: Likewise.
57575         * iconvdata/gbk.c : Likewise.
57576         * iconvdata/ibm1364.c : Likewise.
57577         * iconvdata/ibm930.c : Likewise.
57578         * iconvdata/ibm932.c: Likewise.
57579         * iconvdata/ibm933.c : Likewise.
57580         * iconvdata/ibm935.c : Likewise.
57581         * iconvdata/ibm937.c : Likewise.
57582         * iconvdata/ibm939.c : Likewise.
57583         * iconvdata/ibm943.c: Likewise.
57584         * iconvdata/iso_11548-1.c: Likewise.
57585         * iconvdata/iso-2022-cn.c : Likewise.
57586         * iconvdata/iso-2022-cn-ext.c : Likewise.
57587         * iconvdata/iso-2022-jp-3.c: Likewise.
57588         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
57589         * iconvdata/iso-2022-kr.c : Likewise.
57590         * iconvdata/iso646.c (gconv_end): Likewise.
57591         * iconvdata/iso_6937-2.c : Likewise.
57592         * iconvdata/iso_6937.c : Likewise.
57593         * iconvdata/iso8859-1.c: Likewise.
57594         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
57595         * iconvdata/shift_jisx0213.c : Likewise.
57596         * iconvdata/sjis.c : Likewise.
57597         * iconvdata/t.61.c : Likewise.
57598         * iconvdata/tcvn5712-1.c : Likewise.
57599         * iconvdata/tscii.c: Likewise.
57600         * iconvdata/uhc.c : Likewise.
57601         * iconvdata/unicode.c (gconv_end): Likewise.
57602         * iconvdata/utf-16.c (gconv_end): Likewise.
57603         * iconvdata/utf-32.c (gconv_end): Likewise.
57604         * iconvdata/utf-7.c (base64): Likewise.
57605         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
57606         * iconv/gconv_close.c (__gconv_close): Likewise.
57607         * iconv/gconv_open.c (__gconv_open): Likewise.
57608         * iconv/gconv_simple.c (internal_ucs4_loop_single)
57609         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
57610         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
57611         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
57612         (ucs4le_internal_loop_single): Likewise.
57613         * iconv/iconv.c (iconv): Likewise.
57614         * iconv/iconv_close.c: Likewise.
57615         * iconv/loop.c (SINGLE): Likewise.
57616         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
57617         * include/atomic.h: Likewise.
57618         * inet/inet6_option.c (option_alloc): Likewise.
57619         * intl/bindtextdom.c (set_binding_values): Likewise.
57620         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
57621         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
57622         * intl/localealias.c (read_alias_file): Likewise.
57623         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57624         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
57625         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
57626         * libio/fmemopen.c (fmemopen): Likewise.
57627         * libio/iofgets.c (_IO_fgets): Likewise.
57628         * libio/iofgets_u.c (fgets_unlocked): Likewise.
57629         * libio/iofgetws.c (fgetws): Likewise.
57630         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
57631         * libio/iogetdelim.c (_IO_getdelim): Likewise.
57632         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
57633         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
57634         * locale/findlocale.c (_nl_find_locale): Likewise.
57635         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
57636         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
57637         Likewise.
57638         * locale/setlocale.c (setlocale): Likewise.
57639         * login/programs/pt_chown.c (main): Likewise.
57640         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
57641         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57642         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
57643         (mmap, mmap64, mremap, munmap): Likewise.
57644         * math/e_exp2l.c: Likewise.
57645         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
57646         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
57647         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
57648         * math/s_catan.c (__catan): Likewise.
57649         * math/s_catanf.c (__catanf): Likewise.
57650         * math/s_catanh.c (__catanh): Likewise.
57651         * math/s_catanhf.c (__catanhf): Likewise.
57652         * math/s_catanhl.c (__catanhl): Likewise.
57653         * math/s_catanl.c (__catanl): Likewise.
57654         * math/s_ccosh.c (__ccosh): Likewise.
57655         * math/s_ccoshf.c (__ccoshf): Likewise.
57656         * math/s_ccoshl.c (__ccoshl): Likewise.
57657         * math/s_cexp.c (__cexp): Likewise.
57658         * math/s_cexpf.c (__cexpf): Likewise.
57659         * math/s_cexpl.c (__cexpl): Likewise.
57660         * math/s_clog10.c (__clog10): Likewise.
57661         * math/s_clog10f.c (__clog10f): Likewise.
57662         * math/s_clog10l.c (__clog10l): Likewise.
57663         * math/s_clog.c (__clog): Likewise.
57664         * math/s_clogf.c (__clogf): Likewise.
57665         * math/s_clogl.c (__clogl): Likewise.
57666         * math/s_csin.c (__csin): Likewise.
57667         * math/s_csinf.c (__csinf): Likewise.
57668         * math/s_csinh.c (__csinh): Likewise.
57669         * math/s_csinhf.c (__csinhf): Likewise.
57670         * math/s_csinhl.c (__csinhl): Likewise.
57671         * math/s_csinl.c (__csinl): Likewise.
57672         * math/s_csqrt.c (__csqrt): Likewise.
57673         * math/s_csqrtf.c (__csqrtf): Likewise.
57674         * math/s_csqrtl.c (__csqrtl): Likewise.
57675         * math/s_ctan.c (__ctan): Likewise.
57676         * math/s_ctanf.c (__ctanf): Likewise.
57677         * math/s_ctanh.c (__ctanh): Likewise.
57678         * math/s_ctanhf.c (__ctanhf): Likewise.
57679         * math/s_ctanhl.c (__ctanhl): Likewise.
57680         * math/s_ctanl.c (__ctanl): Likewise.
57681         * math/w_pow.c: Likewise.
57682         * math/w_powf.c: Likewise.
57683         * math/w_powl.c: Likewise.
57684         * math/w_scalb.c (sysv_scalb): Likewise.
57685         * math/w_scalbf.c (sysv_scalbf): Likewise.
57686         * math/w_scalbl.c (sysv_scalbl): Likewise.
57687         * misc/error.c (error_tail): Likewise.
57688         * misc/pselect.c (__pselect): Likewise.
57689         * nis/nis_callback.c (__nis_create_callback): Likewise.
57690         * nis/nis_call.c (__nisfind_server): Likewise.
57691         * nis/nis_creategroup.c (nis_creategroup): Likewise.
57692         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
57693         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
57694         * nis/nis_getservlist.c (nis_getservlist): Likewise.
57695         * nis/nis_lookup.c (nis_lookup): Likewise.
57696         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57697         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
57698         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
57699         * nis/nis_xdr.c (xdr_endpoint): Likewise.
57700         * nis/nss_compat/compat-grp.c (getgrent_next_file)
57701         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
57702         * nis/nss_compat/compat-initgroups.c (add_group)
57703         (internal_getgrent_r): Likewise.
57704         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
57705         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
57706         * nis/nss_compat/compat-spwd.c (getspent_next_file)
57707         (internal_getspnam_r): Likewise.
57708         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
57709         (_nss_nis_getaliasbyname_r): Likewise.
57710         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
57711         (_nss_nis_getntohost_r): Likewise.
57712         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
57713         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
57714         (_nss_nis_getgrgid_r): Likewise.
57715         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
57716         (internal_nis_gethostent_r, internal_gethostbyname2_r)
57717         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
57718         (_nss_nis_gethostbyname4_r): Likewise.
57719         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
57720         (initgroups_netid): Likewise.
57721         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57722         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
57723         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
57724         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
57725         (_nss_nis_getprotobynumber_r): Likewise.
57726         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
57727         (_nss_nis_getsecretkey): Likewise.
57728         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
57729         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
57730         (_nss_nis_getpwuid_r): Likewise.
57731         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
57732         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
57733         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
57734         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
57735         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
57736         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
57737         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
57738         Likewise.
57739         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
57740         (_nss_nisplus_getntohost_r): Likewise.
57741         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
57742         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
57743         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
57744         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
57745         Likewise.
57746         * nis/nss_nisplus/nisplus-initgroups.c
57747         (_nss_nisplus_initgroups_dyn): Likewise.
57748         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
57749         (_nss_nisplus_getnetbyaddr_r): Likewise.
57750         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
57751         (_nss_nisplus_getprotobynumber_r): Likewise.
57752         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
57753         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
57754         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
57755         Likewise.
57756         * nis/nss_nisplus/nisplus-service.c
57757         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
57758         (_nss_nisplus_getservbyport_r): Likewise.
57759         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
57760         (_nss_nisplus_getspnam_r): Likewise.
57761         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
57762         Likewise.
57763         * nscd/aicache.c (addhstaiX): Likewise.
57764         * nscd/cache.c (cache_search, prune_cache): Likewise.
57765         * nscd/connections.c (register_traced_file, send_ro_fd)
57766         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
57767         (main_loop_epoll): Likewise.
57768         * nscd/grpcache.c (addgrbyX): Likewise.
57769         * nscd/hstcache.c (addhstbyX): Likewise.
57770         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57771         * nscd/mem.c (gc, mempool_alloc): Likewise.
57772         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
57773         (addinnetgrX): Likewise.
57774         * nscd/nscd-client.h (__nscd_acquire_maplock)
57775         (__nscd_drop_map_ref): Likewise.
57776         * nscd/nscd_getai.c (__nscd_getai): Likewise.
57777         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
57778         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
57779         Likewise.
57780         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
57781         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57782         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
57783         (__nscd_get_map_ref): Likewise.
57784         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57785         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
57786         Likewise.
57787         * nscd/pwdcache.c (addpwbyX): Likewise.
57788         * nscd/selinux.c (preserve_capabilities): Likewise.
57789         * nscd/servicescache.c (addservbyX): Likewise.
57790         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
57791         * posix/fnmatch.c (fnmatch): Likewise.
57792         * posix/getopt.c (_getopt_internal_r): Likewise.
57793         * posix/glob.c (glob, glob_in_dir): Likewise.
57794         * posix/wordexp.c (exec_comm_child): Likewise.
57795         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
57796         (getanswer_r, gaih_getanswer_slice): Likewise.
57797         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
57798         * resolv/res_init.c: Likewise.
57799         * resolv/res_mkquery.c (res_nmkquery): Likewise.
57800         * resolv/res_query.c (__libc_res_nquery): Likewise.
57801         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
57802         Likewise.
57803         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
57804         * stdio-common/perror.c (perror): Likewise.
57805         * stdio-common/printf_fp.c (___printf_fp): Likewise.
57806         * stdio-common/tmpnam.c (tmpnam): Likewise.
57807         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
57808         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57809         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
57810         Likewise.
57811         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
57812         * stdlib/putenv.c (putenv): Likewise.
57813         * stdlib/setenv.c (__add_to_environ): Likewise.
57814         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
57815         * stdlib/strtol_l.c (INTERNAL): Likewise.
57816         * string/memmem.c (memmem): Likewise.
57817         * string/strerror.c (strerror): Likewise.
57818         * string/strnlen.c (__strnlen): Likewise.
57819         * string/test-memmem.c (simple_memmem): Likewise.
57820         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
57821         * sunrpc/pm_getport.c (__get_socket): Likewise.
57822         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
57823         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57824         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
57825         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
57826         Likewise.
57827         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
57828         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
57829         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
57830         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
57831         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57832         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
57833         Likewise.
57834         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
57835         Likewise.
57836         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
57837         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
57838         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
57839         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
57840         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
57841         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
57842         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
57843         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
57844         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
57845         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
57846         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
57847         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
57848         Likewise.
57849         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
57850         Likewise.
57851         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
57852         Likewise.
57853         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
57854         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
57855         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
57856         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
57857         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57858         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57859         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57860         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57861         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57862         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57863         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57865         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57866         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57867         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57868         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57869         Likewise.
57870         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57871         Likewise.
57872         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57873         Likewise.
57874         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57875         Likewise.
57876         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57877         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57878         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57879         Likewise.
57880         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57881         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57882         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57883         * sysdeps/posix/sleep.c: Likewise.
57884         * sysdeps/posix/tempname.c: Likewise.
57885         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57886         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57887         Likewise.
57888         * sysdeps/powerpc/powerpc32/dl-machine.h
57889         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57890         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57891         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57892         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57893         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57894         Likewise.
57895         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57896         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57897         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57898         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57899         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57900         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57901         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57902         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57903         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57904         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57905         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57906         (elf_machine_lazy_rel): Likewise.
57907         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57908         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57909         (elf_machine_lazy_rel): Likewise.
57910         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57911         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57912         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57913         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57914         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57915         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57916         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57917         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57918         Likewise.
57919         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57920         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57921         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57922         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57923         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57924         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57925         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57926         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57927         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57928         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57929         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57930         Likewise.
57931         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57932         (__posix_fallocate64_l64): Likewise.
57933         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57934         (posix_fallocate): Likewise.
57935         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57936         Likewise.
57937         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57938         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57939         (getifaddrs_internal): Likewise.
57940         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57941         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57942         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57943         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57944         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57945         (__posix_fallocate64_l64): Likewise.
57946         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57947         Likewise.
57948         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57949         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57950         (__get_clockfreq): Likewise.
57951         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57952         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57953         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57954         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57955         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57956         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57957         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57958         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57959         Likewise.
57960         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57961         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57962         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57963         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57964         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57965         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57966         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57967         Likewise.
57968         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57969         (posix_fallocate): Likewise.
57970         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57971         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57972         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57973         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57974         (elf_machine_rela, elf_machine_rela_relative)
57975         (elf_machine_lazy_rel): Likewise.
57976         * time/asctime.c (asctime_internal): Likewise.
57977         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57978         * time/tzset.c (__tzset_parse_tz): Likewise.
57979         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57980         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57981         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57982         * wcsmbs/wcsmbsload.h: Likewise.
57984         [BZ #15894]
57985         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57987         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57988         (arena_get2): Remove THREAD_STATS conditionals.
57989         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57990         (__malloc_stats, int): Likewise.
57992 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57994         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57995         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57997         * manual/setjmp.texi: Fix typos/grammar errors.
57999         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
58000         Only return early when n is <= 0.  Delete unused return statement.
58002         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
58003         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
58004         * debug/tst-longjmp_chk3.c: New file.
58006         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
58007         (test_main): Replace code with set_fortify_handler call.
58008         * debug/test-strcpy_chk.c: Likewise.
58009         * debug/tst-chk1.c: Likewise.
58010         * debug/tst-longjmp_chk.c: Likewise.
58011         * test-skeleton.c: Include fcntl.h & paths.h
58012         (set_fortify_handler): Define.
58014         * debug/tst-longjmp_chk.c: Add header comment and include
58015         ../test-skeleton.c.
58016         (do_test): Mark static.
58017         (TEST_FUNCTION): Define.
58019         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
58020         (IP_PMTUDISC_INTERFACE): Likewise.
58021         (IP_MULTICAST_IF): Likewise.
58022         (IP_MULTICAST_TTL): Likewise.
58023         (IP_MULTICAST_LOOP): Likewise.
58024         (IP_ADD_MEMBERSHIP): Likewise.
58025         (IP_DROP_MEMBERSHIP): Likewise.
58026         (IP_UNBLOCK_SOURCE): Likewise.
58027         (IP_BLOCK_SOURCE): Likewise.
58028         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
58029         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
58030         (IP_MSFILTER): Likewise.
58031         (MCAST_JOIN_GROUP): Likewise.
58032         (MCAST_BLOCK_SOURCE): Likewise.
58033         (MCAST_UNBLOCK_SOURCE): Likewise.
58034         (MCAST_LEAVE_GROUP): Likewise.
58035         (MCAST_JOIN_SOURCE_GROUP): Likewise.
58036         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
58037         (MCAST_MSFILTER): Likewise.
58038         (IP_MULTICAST_ALL): Likewise.
58039         (IP_UNICAST_IF): Likewise.
58041         * timezone/Makefile: Delete $(have-ksh) check.
58042         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
58043         * timezone/tzselect.ksh: Add +x mode bits.
58045         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
58046         (ANON_INODE_FS_MAGIC): Likewise.
58047         (BDEVFS_MAGIC): Likewise.
58048         (BINFMTFS_MAGIC): Likewise.
58049         (BTRFS_TEST_MAGIC): Likewise.
58050         (CRAMFS_MAGIC_WEND): Likewise.
58051         (DEBUGFS_MAGIC): Likewise.
58052         (ECRYPTFS_SUPER_MAGIC): Likewise.
58053         (EXT3_SUPER_MAGIC): Likewise.
58054         (EXT4_SUPER_MAGIC): Likewise.
58055         (FUTEXFS_SUPER_MAGIC): Likewise.
58056         (HOSTFS_SUPER_MAGIC): Likewise.
58057         (HUGETLBFS_MAGIC): Likewise.
58058         (MINIX3_SUPER_MAGIC): Likewise.
58059         (MTD_INODE_FS_MAGIC): Likewise.
58060         (NILFS_SUPER_MAGIC): Likewise.
58061         (OPENPROM_SUPER_MAGIC): Likewise.
58062         (PIPEFS_MAGIC): Likewise.
58063         (PSTOREFS_MAGIC): Likewise.
58064         (QNX6_SUPER_MAGIC): Likewise.
58065         (RAMFS_MAGIC): Likewise.
58066         (REISERFS_SUPER_MAGIC_STRING): Likewise.
58067         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
58068         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
58069         (SECURITYFS_MAGIC): Likewise.
58070         (SELINUX_MAGIC): Likewise.
58071         (SMACK_MAGIC): Likewise.
58072         (SOCKFS_MAGIC): Likewise.
58073         (SQUASHFS_MAGIC): Likewise.
58074         (STACK_END_MAGIC): Likewise.
58075         (TMPFS_MAGIC): Likewise.
58076         (USBDEVICE_SUPER_MAGIC): Likewise.
58077         (V9FS_MAGIC): Likewise.
58078         (XENFS_SUPER_MAGIC): Likewise.
58079         (CRAMFS_MAGIC): Fix typo in comment.
58080         (EXT2_SUPER_MAGIC): Update comment.
58081         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
58083 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
58085         * sysdeps/arm: Move directory from ports/sysdeps/arm.
58086         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
58087         * sysdeps/unix/sysv/linux/arm: Move directory from
58088         ports/sysdeps/unix/sysv/linux/arm.
58089         * README: Update listing for arm-*-linux-gnueabi.
58091         * README: Remove mention of am33.
58093 2014-02-07  Roland McGrath  <roland@hack.frob.com>
58095         * bits/sigset.h (__sigemptyset): Use a statement expression rather
58096         than the comma operator, to avoid "rhs of comma has no effect"
58097         compiler warnings.
58098         (__sigfillset, __sigandset, __sigorset): Likewise.
58099         * include/signal.h (__sigemptyset): Likewise.
58100         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
58102 2014-02-07  Allan McRae  <allan@archlinux.org>
58104         * version.h (RELEASE): Set to "development".
58105         (VERSION): Set to "2.19.90"
58106         * NEWS: Add 2.20 section.
58108 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
58110         [BZ #16529]
58111         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
58113 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58115         * manual/contrib.texi: Update entry for Carlos O'Donell,
58116         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
58118 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
58120         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
58122         * sysdeps/unix/sysv/linux/kernel-features.h
58123         [__LINUX_KERNEL_VERSION >= 0x020621]
58124         (__ASSUME_PROC_PID_TASK_COMM): Define.
58126 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
58128         [BZ #16398]
58129         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
58130         conversion when destination buffer does not have enough space.
58131         * libio/tst-ftell-partial-wide.c: New test case.
58132         * libio/Makefile (tests): Add tst-ftell-partial-wide.
58134         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
58135         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
58136         Leonard and Allan McRae.
58138 2014-02-04  David S. Miller  <davem@davemloft.net>
58140         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
58141         32-bit.
58143 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
58146         New file
58147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
58148         New file
58149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
58150         New file.
58151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
58152         New file.
58153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
58154         New file.
58155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
58156         New file.
58157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
58158         New file.
58159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
58160         New file.
58161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
58162         New file.
58163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
58164         New file.
58165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
58166         New file.
58167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
58168         New file.
58169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
58170         New file.
58172 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58174         * nptl/shlib-versions: Change powerpc*le start to 2.17.
58175         * shlib-versions: Likewise.
58177 2014-02-04  Roland McGrath  <roland@hack.frob.com>
58178             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58180         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
58181         (abilist-pattern): New variable, set to %-le.abilist.
58183         * Makerules (abilist-pattern): New variable.
58184         (vpath): Use $(abilist-pattern) in place of %.abilist.
58185         (check-abi-% pattern rule): Likewise.
58186         (check-abi, update-abi): Likewise.
58188 2014-02-04  Eric Wong  <normalperson@yhbt.net>
58190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58192 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
58194         * manual/startup.texi: Add next, previous, and top entries for
58195         the `Program Arguments' and `Environment Variables' nodes.
58197 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
58199         * manual/macros.texi: Add comments before MTASC-safety macros.
58201         * manual/users.texi: Document MTASC-safety properties.
58203         * manual/threads.texi (pthread_key_create, pthread_key_delete)
58204         (pthread_getspecific, pthread_setspecific): Format with
58205         @deftypefun, and add @safety note.
58206         * manual/signal.texi: Move comments that analyze the above
58207         functions to their home place.
58209 2014-02-03  Allan McRae  <allan@archlinux.org>
58211         * po/sl.po: Update Slovenian translation from translation project.
58213 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
58215         * manual/time.texi (timegm): Add missing blank after @c.
58216         Reported by Joseph Myers <joseph@codesourcery.com>.
58218 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
58220         * manual/check-safety.sh: New.
58221         * manual/Makefile ($(objpfx)stamp-summary): Run it.
58223         * manual/terminal.texi: Document MTASC-safety properties.
58225         * manual/filesys.texi: Document MTASC-safety properties.
58227         * manual/errno.texi: Document MTASC-safety properties.
58229         * manual/intro.texi: Document safety identifiers and
58230         conditionals.
58232         * manual/string.texi (wcstok): Fix prototype.
58233         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
58235         * manual/time.texi: Document MTASC-safety properties.
58237         * manual/string.texi: Document MTASC-safety properties.
58239         * manual/threads.texi: Document MTASC-safety properties.
58241         * manual/stdio.texi: Document MTASC-safety properties.
58243         * manual/syslog.texi: Document MTASC-safety properties.
58245         * manual/sysinfo.texi: Document MTASC-safety properties.
58247         * manual/startup.texi: Document MTASC-safety properties.
58249         * manual/socket.texi: Document MTASC-safety properties.
58251         * manual/signal.texi: Document MTASC-safety properties.
58253 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
58255         * manual/setjmp.texi: Document MTASC-safety properties.
58257         * manual/search.texi: Document MTASC-safety properties.
58259         * manual/resource.texi: Document MTASC-safety properties.
58261         * manual/process.texi: Document MTASC-safety properties.
58263         * manual/platform.texi: Document MTASC-safety properties.
58265         * manual/pipe.texi: Document MTASC-safety properties.
58267         * manual/pattern.texi: Document MTASC-safety properties.
58269         * manual/message.texi: Document MTASC-safety properties.
58271         [BZ #12751]
58272         * manual/memory.texi: Document MTASC-safety properties.
58274         * manual/math.texi: Document MTASC-safety properties.
58276         * manual/locale.texi: Document MTASC-safety properties.
58278         * manual/llio.texi: Document MTASC-safety properties.
58280         * manual/libdl.texi: New.
58282         * manual/lang.texi: Document MTASC-safety properties.
58284         * manual/job.texi: Document MTASC-safety properties.
58286         * manual/getopt.texi: Document MTASC-safety properties.
58288         * manual/ctype.texi: Document MTASC-safety properties.
58290 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
58292         [BZ #16046]
58293         * csu/libc-tls.c (static_map): Remove variable.
58294         (__libc_setup_tls): Use main executable's link map for TLS data.
58295         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
58296         casing for LM_ID_BASE and GL(dl_nns).
58297         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
58298         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
58299         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
58300         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
58301         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
58302         member.
58303         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
58304         l_phnum members.
58306 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
58308         * manual/debug.texi: Document MTASC-safety properties.
58310 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
58312         [BZ #16510]
58313         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
58314         of __x86_64__ when disabling x87 inline functions.
58316 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
58318         * manual/charset.texi: Document MTASC-safety properties.
58320         * manual/crypt.texi: Document MTASC-safety properties.
58322         * manual/conf.texi: Document MTASC-safety properties.
58324         * manual/arith.texi: Document MTASC-safety properties.
58326         * manual/argp.texi: Document MTASC-safety properties.
58328         * manual/macros.texi: Introduce macros to document multi
58329         thread, asynchronous signal and asynchronous cancellation
58330         safety properties.
58331         * manual/intro.texi: Introduce the properties themselves.
58333 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58335         * sysdeps/sh/sh4/Makefile: New file.
58337 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
58339         * math/gen-libm-test.pl ($srcdir): New variable.
58340         ($auto_input): Use it.
58342 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58344         [BZ #16506]
58345         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
58346         access beyond array bounds when parsing netgroups file.
58348         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
58349         the old buffer before realloc.
58351 2014-01-27  Allan McRae  <allan@archlinux.org>
58353         * po/fr.po: Update French translation from translation project.
58355 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58357         * sysdeps/sh/libm-test-ulps: Regenerate.
58359 2014-01-24  David S. Miller  <davem@davemloft.net>
58361         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
58363 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58365         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
58366         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
58368 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58370         [BZ #16474]
58371         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
58372         string pointers after reallocation.
58374 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58376         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
58377         __SH4A__ instead of __SH_FPU_ANY__.
58379 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58381         * sysdeps/sh/fpu_control.h: New file.
58382         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
58383         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
58384         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
58385         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
58386         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
58387         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
58388         * sysdeps/sh/sys/ucontext.h: Remove.
58389         * sysdeps/sh/sys: Remove directory.
58391 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58393         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
58394         s390/sys/ucontext.h.
58395         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
58396         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
58398 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
58400         [BZ #15605]
58401         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
58403 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58405         [BZ #16431]
58406         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
58407         Adjust the vDSO correctly for internal calls.
58408         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
58410 2014-01-20  Allan McRae  <allan@archlinux.org>
58412         * po/ca.po: Update Catalan translation from translation project.
58414 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
58416         * sysdeps/s390/sotruss-lib.c: New file.
58418 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58420         [BZ #16430]
58421         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
58422         (__GI___gettimeofday): Alias for a different internal symbol to avoid
58423         local calls issues by not having a PLT stub required for IFUNC calls.
58424         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
58426 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
58428         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
58429         * math/test-fpucw-static.c: Likewise.
58431 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58433         [BZ #16453]
58434         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
58436 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58438         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
58439         implementation for powerpc.
58441 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
58443         [BZ #14782]
58444         * sysdeps/posix/system.c (__libc_system): Do not enable
58445         asynchronous cancellation.
58447 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58449         [BZ #16427]
58450         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
58451         handling only for numbers special also in the IEEE case.
58453 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58455         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
58457 2014-01-11  Allan McRae  <allan@archlinux.org>
58459         * po/bg.po: Update Bulgarian translation from translation project.
58461         * po/de.po: Update German translation from translation project.
58463 2014-01-10  Roland McGrath  <roland@hack.frob.com>
58465         * sysdeps/generic/gcc-compat.h: New file.
58467 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58469         * benchtests/asin-inputs: Correct slow inputs.
58470         * benchtests/acos-inputs: Likewise.
58472 2014-01-10  Allan McRae  <allan@archlinux.org>
58474         * po:sv.po: Update Swedish translation from translation project.
58476         * po/vi.po: Update Vietnamese translation from translation project.
58478         * po/eo.po: Update Esperanto translation from translation project.
58480         * po/cs.po: Update Czech translation from translation project.
58482         * po/nl.po: Update Dutch translation from translation project.
58484         * po/pl.po: Update Polish translation from translation project.
58486         * po/ru.po: Update Russian translation from translation project.
58488         * po/uk.po: Update Ukrainian translation from translation project.
58490 2014-01-08  Brooks Moses  <bmoses@google.com>
58492         * elf/dl-load.c: Fix comment typo.
58494 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
58496         * po/header.pot: Rename to...
58497         * po/pot.header: ... this.
58498         * po/Makefile: Use pot.header.
58500 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
58501             Maxim Kuvyrkov  <maxim@kugelworks.com>
58503         [BZ #16394]
58504         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
58505         SRC and DEST against LEN.
58507 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58509         [BZ #16414]
58510         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
58511         implementation.
58512         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
58514 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58516         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58518 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
58520         [BZ #16408]
58521         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
58522         for large positive arguments.
58524 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
58526         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58528         * math/auto-libm-test-in: Mark various tests with
58529         xfail-rounding:ldbl-128ibm.
58530         * math/auto-libm-test-out: Regenerated.
58532         [BZ #16407]
58533         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
58534         Increase overflow threshold.
58536 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
58538         [BZ #14286]
58539         * stdio-common/vfprintf.c: Check for integer overflow.
58541 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58543         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
58544         the first argument and return value of __tls_get_addr_internal.
58546 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58548         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
58549         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
58551 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58553         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
58554         * sysdeps/s390/rtld-global-offsets.sym: New file.
58555         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
58556         GLIBC_2.19 symbol.
58557         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
58558         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
58559         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
58560         ... this.
58561         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
58562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
58563         ... this.
58564         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58565         Regenerate.
58566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58567         Regenerate.
58568         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
58569         halfs of GPRs for high_gprs contexts.
58570         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
58571         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
58572         field.
58573         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
58574         uc_flags field.
58575         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
58576         64 bit versions:
58577         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
58578         for high GPRs (uc_high_gprs) and for future extensions
58579         (__reserved).
58580         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
58581         for future extensions (__reserved).
58582         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
58583         64 bit versions:
58584         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
58585         SC_HIGHGPRS offset definition.
58586         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
58587         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
58589         * Versions.def: Add GLIBC_2.19 for libpthread.
58590         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
58591         siglongjmp for libpthread with GLIBC_2.19 symver.
58592         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
58593         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
58594         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
58595         * sysdeps/s390/__longjmp.c: New file.
58596         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
58597         * sysdeps/s390/longjmp.c: New file.
58598         * sysdeps/s390/setjmp.S: New file.
58599         * sysdeps/s390/sigjmp.S: New file.
58600         * sysdeps/s390/v1-longjmp.c: New file.
58601         * sysdeps/s390/v1-setjmp.h: New file.
58602         * sysdeps/s390/v1-sigjmp.c: New file.
58603         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
58604         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
58605         GLIBC_2.19 version.
58606         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
58607         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
58608         versioned symbols for ____longjmp_chk.
58609         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
58610         Likewise.
58611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
58612         Regenerate.
58613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
58614         Regenerate.
58615         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
58616         Regenerate.
58617         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
58618         Regenerate.
58619         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
58620         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
58621         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
58622         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
58623         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
58624         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
58625         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
58626         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
58627         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
58628         * sysdeps/s390/rtld-__longjmp.c: New file.
58629         * sysdeps/s390/rtld-setjmp.S: New file.
58631 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
58633         [BZ #16400]
58634         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58635         Return -__logl (x) for small positive arguments without evaluating
58636         a polynomial.
58638 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
58640         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
58641         Rename to ...
58642         (__ptrace_peeksiginfo_args): ... this.
58643         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
58644         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
58645         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
58647 2014-01-06  Allan McRae  <allan@archlinux.org>
58649         * inet/netinet/in.h: Fix typo in comment.
58651 2014-01-05  Andreas Jaeger  <aj@suse.de>
58653         * sysdeps/i386/fpu/libm-test-ulps: Update.
58655 2014-01-05  Allan McRae  <allan@archlinux.org>
58657         * po/libc.pot: Regenerated.
58659         * malloc/memusagestat.c: Fix gettext call formatting.
58661 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
58663         * nscd/nscd.c: Improve usage() output.
58665 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
58667         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
58668         * sysdeps/unix/sysv/linux/configure: Regenerated.
58669         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
58670         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
58672 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58674         [BZ #16390]
58675         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
58676         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
58678 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58680         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
58681         extra tokens at end of #undef directive.
58682         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
58683         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
58684         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
58686 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
58688         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
58690         * math/auto-libm-test-in: Mark various tests with
58691         xfail-rounding:ldbl-128ibm.
58692         * math/auto-libm-test-out: Regenerated.
58694 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
58696         [BZ #16386]
58697         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
58698         numbers with subnormal high part when calculating exponent.
58700         [BZ #16385]
58701         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
58702         fabs.
58704         [BZ #16384]
58705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
58706         M_LN2l.
58707         (__ieee754_acoshl): Use __log1pl not __log1p.
58709 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
58711         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
58712         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
58713         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
58714         (grow_heap, heap_trim, _int_new_arena, get_free_list)
58715         (reused_arena, arena_get2): Convert to GNU style.
58716         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
58717         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
58718         (memalign_check, __malloc_set_state): Likewise.
58719         * malloc/mallocbug.c (main): Likewise.
58720         * malloc/malloc.c (__malloc_assert, malloc_init_state)
58721         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
58722         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
58723         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
58724         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
58725         (__posix_memalign, malloc_info): Likewise.
58726         * malloc/malloc.h: Likewise.
58727         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
58728         (mallochook, memalignhook, reallochook, mabort): Likewise.
58729         * malloc/mcheck.h: Likewise.
58730         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
58731         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
58732         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
58733         * malloc/morecore.c (__default_morecore): Likewise.
58734         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
58735         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
58736         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
58737         (print_and_abort): Likewise.
58738         * malloc/obstack.h: Likewise.
58739         * malloc/set-freeres.c (__libc_freeres): Likewise.
58740         * malloc/tst-mallocstate.c (main): Likewise.
58741         * malloc/tst-mtrace.c (main): Likewise.
58742         * malloc/tst-realloc.c (do_test): Likewise.
58744 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58746         [BZ #16366]
58747         * nscd/netgroupcache.c (do_notfound): New function.
58748         (addgetnetgrentX): Use it.
58750         [BZ # 16365]
58751         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
58752         NSS_STATUS_NOTFOUND.
58754 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
58756         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
58757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58759 2014-01-01  Allan McRae  <allan@archlinux.org>
58761         * scripts/update-copyrights: Update configure input file suffix.
58763         * NEWS: Update copyright year.
58764         * catgets/gencat.c: Likewise.
58765         * csu/version.c: Likewise.
58766         * debug/catchsegv.sh: Likewise.
58767         * debug/pcprofiledump.c: Likewise.
58768         * debug/xtrace.sh: Likewise.
58769         * elf/ldconfig.c: Likewise.
58770         * elf/ldd.bash.in: Likewise.
58771         * elf/pldd.c: Likewise.
58772         * elf/sotruss.ksh: Likewise.
58773         * elf/sprof.c: Likewise.
58774         * iconv/iconv_prog.c: Likewise.
58775         * iconv/iconvconfig.c: Likewise.
58776         * locale/programs/locale.c: Likewise.
58777         * locale/programs/localedef.c: Likewise.
58778         * login/programs/pt_chown.c: Likewise.
58779         * malloc/memusage.sh: Likewise.
58780         * malloc/memusagestat.c: Likewise.
58781         * malloc/mtrace.pl: Likewise.
58782         * manual/libc.texinfo: Likewise.
58783         * nscd/nscd.c: Likewise.
58784         * nss/getent.c: Likewise.
58785         * nss/makedb.c: Likewise.
58786         * posix/getconf.c: Likewise.
58787         * scripts/test-installation.pl: Likewise.
58789         * All files with FSF copyright notices: Update copyright dates
58790         using scripts/update-copyrights.
58791         * intl/plural.c: Regenerated.
58792         * locale/programs/charmap-kw.h: Likewise.
58793         * locale/programs/locfile-kw.h: Likewise.
58795 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
58797         * sysdeps/unix/sysv/linux/configure: Regenerated.
58798         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
58799         the linux/fanotify.h header.
58800         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
58801         HAVE_LINUX_FANOTIFY_H is defined.
58803 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58805         * benchtests/cos-inputs: New inputs.
58806         * benchtests/sin-inputs: Likewise.
58808         * benchtests/atan-inputs: New inputs. Fix name of multiple
58809         precision fallback inputs.
58811         * benchtests/atanh-inputs: New inputs.
58812         * benchtests/tanh-inputs: Likewise.
58814         * benchtests/acosh-inputs: New inputs.
58815         * benchtests/asinh-inputs: Likewise.
58817         * benchtests/cosh-inputs: New inputs.
58818         * benchtests/sinh-inputs: Likewise.
58820         * benchtests/acos-inputs: Add more inputs.
58821         * benchtests/asin-inputs: Likewise.
58823 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
58825         [BZ #16375]
58826         * manual/arith.texi: Fix spelling.
58827         * manual/charset.texi: Likewise.
58828         * manual/errno.texi: Likewise.
58829         * manual/filesys.texi: Likewise.
58830         * manual/lang.texi: Likewise.
58831         * manual/llio.texi: Likewise.
58832         * manual/locale.texi: Likewise.
58833         * manual/message.texi: Likewise.
58834         * manual/resource.texi: Likewise.
58835         * manual/search.texi: Likewise.
58836         * manual/setjmp.texi: Likewise.
58837         * manual/stdio.texi: Likewise.
58838         * manual/string.texi: Likewise.
58839         * manual/sysinfo.texi: Likewise.
58840         * manual/time.texi: Likewise.
58842 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
58844         * po/sl.po: New file.
58846 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
58848         * .gitignore: Add core/.gdbinit/.gdb_history.
58850 2013-12-27  Allan McRae  <allan@archlinux.org>
58852         [BZ #16369]
58853         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
58854         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
58856 2013-12-24  Brooks Moses  <bmoses@google.com>
58858         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58859         all compilers that claim C++98 compliance, not just GCC.
58860         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58861         Likewise.
58863 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58865         * NEWS: Restore accidentally deleted bug-fix entries.
58867 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58868             Ondřej Bílka  <neleai@seznam.cz>
58870         [BZ #15073]
58871         * malloc/malloc.c (_int_free): Perform sanity check only if we
58872         have_lock.
58874 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
58876         [BZ #12986]
58877         * manual/stdio.texi (String Input Conversions): Clarify that character
58878         classes are not supported.
58880 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58882         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58884 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58886         [BZ #16337]
58887         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58888         Calculate results for small negative arguments directly rather
58889         than using reflection formula with special underflow handling.
58891         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58892         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58893         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58894         (fchflags): Likewise.
58895         (revoke): Likewise.
58896         (setlogin): Likewise.
58897         (sigaltstack): Likewise.
58898         (wait4): Likewise.
58899         (sigblock): Remove.
58900         (sigsetmask): Likewise.
58901         (wait3): Likewise.
58902         (waitpid): Likewise.
58903         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58904         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58905         file.
58906         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58907         * sysdeps/unix/bsd/Makefile: ... here.
58908         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58909         * sysdeps/unix/bsd/Versions: ... here.
58910         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58911         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58912         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58913         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58914         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58915         * sysdeps/unix/bsd/sigblock.c: ... here.
58916         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58917         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58918         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58919         * sysdeps/unix/bsd/sigvec.c: ... here.
58920         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58921         * sysdeps/unix/bsd/tcdrain.c: ... here.
58922         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58923         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58924         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58925         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58926         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58927         * sysdeps/unix/bsd/wait.c: ... here.
58928         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58929         * sysdeps/unix/bsd/wait3.c: ... here.
58930         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58931         * sysdeps/unix/bsd/waitpid.c: ... here.
58933 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58935         [BZ #16356]
58936         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58937         round-to-nearest for [!USE_AS_EXPM1L].
58938         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58939         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58940         more tests of exp and exp10.  Expect some exp10 tests to miss
58941         exceptions or fail in directed rounding modes.
58942         * math/auto-libm-test-out: Regenerated.
58943         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58944         (exp10_test_tonearest): New function.
58945         (exp10_towardzero_test_data): New array.
58946         (exp10_test_towardzero): New function.
58947         (exp10_downward_test_data): New array.
58948         (exp10_test_downward): New function.
58949         (exp10_upward_test_data): New array.
58950         (exp10_test_upward): New function.
58951         (main): Call the new functions.
58952         * sysdeps/i386/fpu/libm-test-ulps: Update.
58953         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58955 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58957         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58958         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58959         * math/auto-libm-test-out: Regenerated.
58960         * math/libm-test.inc (acosh_test_data): Add more tests.
58961         (atanh_test_data): Likewise.
58962         (ceil_test_data): Likewise.
58963         (copysign_test_data): Likewise.
58964         * sysdeps/i386/fpu/libm-test-ulps: Update.
58965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58967         * timezone/checktab.awk: Update from tzcode 2013i.
58968         * timezone/private.h: Likewise.
58969         * timezone/scheck.c: Likewise.
58970         * timezone/tzfile.h: Likewise.
58971         * timezone/tzselect.ksh: Likewise.
58972         * timezone/zdump.c: Likewise.
58973         * timezone/zic.c: Likewise.
58975         * math/auto-libm-test-in: Add tests of cpow.
58976         * math/auto-libm-test-out: Regenerated.
58977         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58978         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58979         mpc_cc_c.
58980         (func_calc_desc): Add mpc_cc_c union field.
58981         (test_functions): Add cpow.
58982         (special_fill_2pi): New function.
58983         (special_real_inputs): Add 2pi.
58984         (calc_generic_results): Handle mpc_cc_c.
58985         * sysdeps/i386/fpu/libm-test-ulps: Update.
58986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58988         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58989         csqrt, ctan and ctanh.
58990         * math/auto-libm-test-out: Regenerated.
58991         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58992         (TEST_COND_x86): Likewise.
58993         (ccos_test_data): Use AUTO_TESTS_c_c.
58994         (ccosh_test_data): Likewise.
58995         (cexp_test_data): Likewise.
58996         (clog_test_data): Likewise.
58997         (csqrt_test_data): Likewise.
58998         (ctan_test_data): Likewise.
58999         (ctan_tonearest_test_data): Likewise.
59000         (ctan_towardzero_test_data): Likewise.
59001         (ctan_downward_test_data): Likewise.
59002         (ctan_upward_test_data): Likewise.
59003         (ctanh_test_data): Likewise.
59004         (ctanh_tonearest_test_data): Likewise.
59005         (ctanh_towardzero_test_data): Likewise.
59006         (ctanh_downward_test_data): Likewise.
59007         (ctanh_upward_test_data): Likewise.
59008         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59009         mpc_c_c.
59010         (func_calc_desc): Add mpc_c_c union field.
59011         (FUNC_mpc_c_c): New macro.
59012         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
59013         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
59014         ctanh.
59015         (special_fill_min_subnorm_p120): New function.
59016         (special_real_inputs): Add min_subnorm_p120.
59017         (calc_generic_results): Handle mpc_c_c.
59018         * sysdeps/i386/fpu/libm-test-ulps: Update.
59019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59021 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59023         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
59024         (do_sin_slow): New functions.
59025         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
59026         (cslow2, csloww1, csloww2): Use the new functions.
59028         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
59029         Use M to change sign of result instead of X.  Assume X is
59030         positive.
59031         (csloww1): Likewise.
59032         (__sin): Adjust.
59033         (__cos): Adjust.
59035         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
59036         arguments A and DA.
59037         (__sin): Adjust.
59038         (__cos): Likewise.
59040         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
59041         (__cos): Likewise.
59042         (sloww1): Don't adjust sign of DX.
59043         (csloww1): Likewise.
59044         (sloww2): Use X directly and don't adjust sign of DX.
59045         (csloww2): Likewise.
59047 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59049         * math/auto-libm-test-in: Add tests of cabs and carg.
59050         * math/auto-libm-test-out: Regenerated.
59051         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
59052         (carg_test_data): Likewise.
59053         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59054         mpc_c_f.
59055         (func_calc_desc): Add mpc_c_f union field.
59056         (test_functions): Add cabs and carg.
59057         (calc_generic_results): Handle mpc_c_f.
59059         * sysdeps/powerpc/powerpc32/libgcc-compat.S
59060         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
59061         as a macro and a compat symbol.
59062         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
59063         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
59064         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
59065         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
59066         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
59067         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
59068         not use .hidden.
59069         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
59070         Likewise.
59071         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
59072         Likewise.
59073         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
59074         Likewise.
59075         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
59076         Likewise.
59077         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
59078         Likewise.
59079         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
59080         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
59081         from GLIBC_2.3.2.
59083 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59087 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59089         * manual/texinfo.tex: Update to version 2013-11-26.10 with
59090         trailing whitespace removed.
59091         * scripts/config.guess: Update to version 2013-11-29.
59092         * scripts/config.sub: Update to version 2013-10-01.
59094         * math/auto-libm-test-in: Add tests of sincos.
59095         * math/auto-libm-test-out: Regenerated.
59096         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
59097         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59098         mpfr_f_11.
59099         (func_calc_desc): Add mpfr_f_11 union field.
59100         (test_functions): Add sincos.
59101         (calc_generic_results): Handle mpfr_f_11.
59102         * sysdeps/i386/fpu/libm-test-ulps: Update.
59103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59105 2013-12-19  Andreas Schwab  <schwab@suse.de>
59107         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
59108         CALL_MCOUNT.
59109         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
59110         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
59111         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
59113 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
59115         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
59116         * sysdeps/i386/fpu/libm-test-ulps: Update.
59117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59119         [BZ #16293]
59120         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
59121         round-to-nearest mode when using frndint.
59122         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
59123         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
59124         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
59125         Likewise.
59126         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
59127         sinh test to fail.
59128         * math/auto-libm-test-out: Regenerated.
59129         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
59130         (TEST_COND_x86): Likewise.
59131         (expm1_tonearest_test_data): New array.
59132         (expm1_test_tonearest): New function.
59133         (expm1_towardzero_test_data): New array.
59134         (expm1_test_towardzero): New function.
59135         (expm1_downward_test_data): New array.
59136         (expm1_test_downward): New function.
59137         (expm1_upward_test_data): New array.
59138         (expm1_test_upward): New function.
59139         (main): Run the new test functions.
59140         * sysdeps/i386/fpu/libm-test-ulps: Update.
59141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59143         * include/features.h: Update comment documenting feature test
59144         macros.  Mention _DEFAULT_SOURCE in comment.
59145         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
59146         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
59147         _BSD_SOURCE and _SVID_SOURCE.
59148         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
59149         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
59150         !_SVID_SOURCE]: Likewise.
59151         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59152         (__USE_POSIX_IMPLICITLY): Define.
59153         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59154         (_POSIX_SOURCE): Undefine and redefine.
59155         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
59156         (_POSIX_C_SOURCE): Likewise.
59157         * manual/creature.texi (_DEFAULT_SOURCE): Document.
59158         (Feature Test Macros): Update documentation of default features.
59160 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
59162         * benchtests/Makefile: Add bench-strtok.
59163         * benchtests/bench-strtok.c: New file: strtok benchtest.
59165 2013-12-19  Allan McRae  <allan@archlinux.org>
59167         * manual/install.texi: Suppress menu for plain text output.
59168         * INSTALL: Regenerated.
59170 2013-12-18  Brooks Moses  <bmoses@google.com>
59172         [BZ #15846]
59173         * misc/getauxval.c: Include errno.h.
59174         (__getauxval): Set errno to ENOENT if the requested type is not
59175         found.
59176         * misc/sys/auxv.h (getauxval): Document that it may set errno;
59177         don't declare with __attribute_const__.
59178         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
59179         * manual/startup.texi: Document that getauxval sets errno.
59181 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59183         * math/auto-libm-test-in: Add tests of jn and yn.
59184         * math/auto-libm-test-out: Regenerated.
59185         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
59186         (yn_test_data): Likewise.
59187         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59188         mpfr_if_f.
59189         (func_calc_desc): Add mpfr_if_f union field.
59190         (FUNC_mpfr_if_f): New macro.
59191         (test_functions): Add jn and yn.
59192         (calc_generic_results): Assert type of second input for
59193         mpfr_ff_f.  Handle mpfr_if_f.
59194         (output_for_one_input_case): Disable all checking for arguments
59195         fitting floating-point types in case of an integer argument.
59196         * sysdeps/i386/fpu/libm-test-ulps: Update.
59197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
59200         Don't expect fegetround reference in libm.so.
59202 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59204         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
59205         $(config-cflags-nofma).
59207 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
59209         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
59210         * math/auto-libm-test-out: Regenerated.
59212         [BZ #16338]
59213         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
59214         to determine exponent and adjust argument to have exponent of -1.
59215         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
59216         log2.
59217         * math/auto-libm-test-out: Regenerated.
59218         * sysdeps/i386/fpu/libm-test-ulps: Update.
59219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59221 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
59223         * manual/probes.texi: Remove cases when per-thread arenas are
59224         disabled.
59226 2013-12-18  Andreas Schwab  <schwab@suse.de>
59228         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
59229         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
59230         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
59231         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
59232         * sysdeps/i386/i686/multiarch/Makefile: Update.
59233         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
59235 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59237         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
59238         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
59240 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
59242         [BZ #15968]
59243         Support TZ transition times < 00:00:00.
59244         This is needed for version-3 tz-format files; it supports time
59245         stamps past 2037 for America/Godthab (the only entry in the tz
59246         database for which this change is relevant).
59247         * manual/time.texi (TZ Variable): Document transition times
59248         from -167:59:59 through -00:00:01.
59249         * time/tzset.c (tz_rule): Time of day is now signed.
59250         (__tzset_parse_tz): Parse negative time of day.
59252         Document TZ transition times >= 25:00:00.
59253         * manual/time.texi (TZ Variable): Document transition times from
59254         25:00:00 through 167:59:59.  These are already supported, and this
59255         support will help with version-3 tz-format files.
59257         * manual/time.texi (TZ Variable): Modernize North America example
59258         to reflect current (i.e., 2007-and-later) daylight saving rules.
59260         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
59262 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59264         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
59265         * sysdeps/unix/bsd/bits/stat.h: Likewise.
59266         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
59267         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
59268         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
59269         * sysdeps/unix/bsd/bsdstat.h: Likewise.
59270         * sysdeps/unix/bsd/clock.c: Likewise.
59271         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
59272         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
59273         * sysdeps/unix/bsd/init-posix.c: Likewise.
59274         * sysdeps/unix/bsd/poll.c: Likewise.
59275         * sysdeps/unix/bsd/ptsname.c: Likewise.
59276         * sysdeps/unix/bsd/seekdir.c: Likewise.
59277         * sysdeps/unix/bsd/setegid.c: Likewise.
59278         * sysdeps/unix/bsd/seteuid.c: Likewise.
59279         * sysdeps/unix/bsd/setgid.c: Likewise.
59280         * sysdeps/unix/bsd/setrgid.c: Likewise.
59281         * sysdeps/unix/bsd/setruid.c: Likewise.
59282         * sysdeps/unix/bsd/setsid.c: Likewise.
59283         * sysdeps/unix/bsd/setuid.c: Likewise.
59284         * sysdeps/unix/bsd/sigaction.c: Likewise.
59285         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
59286         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
59287         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
59288         * sysdeps/unix/bsd/telldir.c: Likewise.
59289         * sysdeps/unix/bsd/times.c: Likewise.
59290         * sysdeps/unix/bsd/usleep.c: Likewise.
59292         * misc/Makefile (install-lib): Remove libbsd-compat.a.
59293         ($(objpfx)libbsd-compat.a): Remove rule.
59295         * include/features.h (__FAVOR_BSD): Do not define.
59296         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
59297         features conflicting with POSIX.
59298         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
59299         (_BSD_SOURCE): Remove description of not being a subset of other
59300         feature test macros.
59301         * manual/job.texi (getpgrp): Do not document BSD version.
59302         (getpgid): Do not document by reference to BSD getpgrp.
59303         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
59304         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
59305         * signal/signal.h [__FAVOR_BSD]: Likewise.
59306         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
59307         instead of making contents conditional on [__FAVOR_BSD].
59308         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
59310 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59312         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59314 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
59316         [BZ #16314]
59317         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
59318         values below 2**-450, not 2**-500.
59319         * math/auto-libm-test-in: Don't allow spurious underflow from
59320         hypot.
59321         * math/auto-libm-test-out: Regenerated.
59323         [BZ #16316]
59324         [BZ #16330]
59325         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
59326         values of ha and hb and sort them after adjusting subnormal
59327         arguments.
59328         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
59329         Likewise.
59330         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
59331         values of ea and eb and sort them after adjusting subnormal
59332         arguments.
59333         * math/auto-libm-test-in: Do not expect some hypot tests of
59334         subnormals to fail.  Add more hypot tests.
59335         * math/auto-libm-test-out: Regenerated.
59337 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59339         [BZ #13304]
59340         * sysdeps/sh/s_fma.c: New file.
59341         * sysdeps/sh/s_fmaf.c: New file.
59342         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
59343         version.
59344         * sysdeps/sh/Implies: Add sh/soft-fp.
59346 2013-12-16  Roland McGrath  <roland@hack.frob.com>
59348         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
59349         level of indirection to members `objname', `errstring', `malloced'.
59350         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
59351         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
59352         it as the __longjmp argument (just pass 1 instead).
59353         (_dl_catch_error): Initialize C with argument pointers and address of
59354         volatile local ERRCODE rather than copying values out of C at return.
59356 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
59358         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
59359         * math/auto-libm-test-out: Regenerated.
59360         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
59361         (hypot_test_data): Likewise.
59362         (pow_test_data): Likewise.
59363         (pow_tonearest_test_data): Likewise.
59364         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59365         mpfr_ff_f.
59366         (func_calc_desc): Add mpfr_ff_f union field.
59367         (FUNC_mpfr_ff_f): New macro.
59368         (test_functions): Add atan2, hypot and pow.
59369         (special_fill_min): New function.
59370         (special_fill_minus_min): Likewise.
59371         (special_fill_min_subnorm): Likewise.
59372         (special_fill_minus_min_subnorm): Likewise.
59373         (special_real_inputs): Add min, -min, min_subnorm and
59374         -min_subnorm.
59375         (calc_generic_results): Handle mpfr_ff_f.
59376         * sysdeps/i386/fpu/libm-test-ulps: Update.
59377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59379 2013-12-16  Will Newton  <will.newton@linaro.org>
59381         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
59382         (Aligned Memory Blocks): Add documentation for aligned_alloc
59383         and suggest it as an alternative to posix_memalign.
59384         (Hooks for Malloc): Document __memalign_hook is also called
59385         for aligned_alloc.  (Summary of Malloc): Add summary for
59386         aligned alloc.  Document __memalign_hook is also called
59387         for aligned_alloc.
59389 2013-12-16  Will Newton  <will.newton@linaro.org>
59391         * manual/memory.texi (Malloc Examples): Clarify default
59392         alignment documentation.  Suggest posix_memalign rather
59393         than memalign or valloc.
59394         (Aligned Memory Blocks): Remove suggestion to use memalign
59395         or valloc.  Remove obsolete comment about BSD.
59396         Document memalign errno values and mark the function obsolete.
59397         Document posix_memalign returned error codes.  Mark valloc
59398         as obsolete.  (Hooks for Malloc): __memalign_hook is also
59399         called for posix_memalign and valloc.
59400         (Summary of Malloc): Add posix_memalign to function summary.
59401         __memalign_hook is also called for posix_memalign and valloc.
59403 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59405         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
59406         TAYLOR_SIN.
59407         (__sin): Adjust.
59408         (__cos): Likewise.
59409         (sloww): Use mynumber union.  Expand ternary operator into
59410         if-else statements.
59411         (cslow): use mynumber union.
59413 2013-12-16  Allan McRae  <allan@archlinux.org>
59415         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
59416         * configure: Regenerated.
59418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
59420         [BZ #14120]
59421         * configure.ac: Added --enable-maintainer-mode. Check for
59422         autoconf when enabled.
59423         * configure: Regenerated.
59425         * nscd/nscd.service: New file.
59426         * nscd/nscd.tmpfiles: New file.
59428 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
59430         [BZ #12100]
59431         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
59432         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
59433         * sysdeps/x86_64/multiarch/strstr.c: ... here.
59434         (strstr): Add __strstr_sse2_unaligned ifunc.
59435         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
59436         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
59437         (strcasestr): Remove __strcasestr_sse42 ifunc.
59438         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
59439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59440         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
59442 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59444         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
59445         * sysdeps/sh/bits/fenv.h: ... here.
59446         * sysdeps/sh/sh4/fpu/bits: Remove directory.
59448 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59450         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
59452         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
59453         hypotf multiarch implementations.
59454         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
59455         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
59456         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
59457         multiarch hypot for PPC64.
59458         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
59459         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
59460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
59461         multiarch hypotf for PPC64.
59463         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
59464         modff multiarch implementations.
59465         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
59466         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
59467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
59468         multiarch modf for PPC64.
59469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
59470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
59471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
59472         multiarch modff for PPC64.
59474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
59475         and logl multiarch implementations.
59476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
59477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
59478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
59479         multiarch logb for PPC64.
59480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
59481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
59482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
59483         multiarch logb for PPC64.
59484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
59485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
59486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
59487         multiarch logb for PPC64.
59489         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
59490         isinff multiarch implementation.
59491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
59492         file.
59493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
59494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
59495         multiarch isinf for PPC64.
59496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
59497         file.
59498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
59499         multiarch isinff for PPC64.
59501         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
59502         finitef multiarch implementation.
59503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
59504         file.
59505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
59506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
59507         multiarch finite for PPC64.
59508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
59509         file.
59510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
59511         multiarch finitef for PPC64.
59513         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
59514         lrint multiarch implementation.
59515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
59516         file.
59517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
59518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
59519         multiarch llrint for PPC64.
59520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
59521         multiarch lrint for PPC64.
59523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
59524         copysignf multiarch implementation.
59525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
59526         file.
59527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
59528         file.
59529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
59530         multiarch copysign for PPC64.
59531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
59532         multiarch copysignf for PPC64.
59534         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
59535         multiarch implementation.
59536         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
59537         file.
59538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
59539         file.
59540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
59541         file.
59542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
59543         file.
59544         multiarch llround for PPC64.
59545         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
59546         multiarch trunc for PPC64.
59547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
59548         multiarch truncf for PPC64.
59550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
59551         multiarch implementation.
59552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
59553         file.
59554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
59555         file.
59556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
59557         file.
59558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
59559         file.
59560         multiarch llround for PPC64.
59561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
59562         multiarch round for PPC64.
59563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
59564         multiarch roundf for PPC64.
59566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
59567         multiarch implementation.
59568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
59569         file.
59570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
59571         file.
59572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
59573         file.
59574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
59575         file.
59576         multiarch llround for PPC64.
59577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
59578         multiarch floor for PPC64.
59579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
59580         multiarch floorf for PPC64.
59582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
59583         multiarch implementation.
59584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
59585         file.
59586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
59587         file.
59588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
59589         file.
59590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
59591         file.
59592         multiarch llround for PPC64.
59593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
59594         multiarch ceil for PPC64.
59595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
59596         multiarch ceilf for PPC64.
59598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
59599         multiarch implementation.
59600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
59601         file.
59602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
59603         file.
59604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
59605         file.
59606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
59607         multiarch llround for PPC64.
59608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
59609         multiarch lround for PPC64.
59611         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
59612         multiarch implementation.
59613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
59614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
59615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
59616         file.
59617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
59618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
59619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
59620         multiarch isnan for PPC64.
59621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
59622         multiarch isnanf for PPC64.
59624         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
59625         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
59626         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
59627         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
59628         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
59629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
59631         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
59632         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59633         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59634         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59636         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
59637         multiarch implementations.
59638         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59639         (__libc_ifunc_impl_list): Likewise.
59640         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
59641         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
59642         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
59643         multiarch stpcpy for PPC64.
59645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
59646         multiarch implementations.
59647         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59648         (__libc_ifunc_impl_list): Likewise.
59649         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
59650         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
59651         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
59652         multiarch strcpy for PPC64.
59654         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
59655         redefine function name.
59656         (_wordcopy_fwd_dest_aligned): Likewise.
59657         (_wordcopy_bwd_aligned): Likewise.
59658         (_wordcopy_bwd_dest_aligned): Likewise.
59659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
59660         multiarch implementations.
59661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59662         (__libc_ifunc_impl_list): Likewise.
59663         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
59664         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
59665         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
59666         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
59667         multiarch wcscpy for PPC64.
59669         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
59670         multiarch implementations.
59671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59672         (__libc_ifunc_impl_list): Likewise.
59673         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
59674         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
59675         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
59676         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
59677         multiarch wcscpy for PPC64.
59679         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
59680         multiarch implementations.
59681         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59682         (__libc_ifunc_impl_list): Likewise.
59683         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
59684         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
59685         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
59686         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
59687         multiarch wcsrchr for PPC64.
59689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
59690         multiarch implementations.
59691         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59692         (__libc_ifunc_impl_list): Likewise.
59693         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
59694         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
59695         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
59696         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
59697         multiarch wcschr for PPC64.
59699         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
59700         multiarch implementations.
59701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59702         (__libc_ifunc_impl_list): Likewise.
59703         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
59704         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
59705         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
59706         multiarch strchrnul for PPC64.
59708         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
59709         implementations.
59710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59711         (__libc_ifunc_impl_list): Likewise.
59712         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
59713         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
59714         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
59715         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
59716         strchr for PPC64.
59718         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
59719         implementations.
59720         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59721         (__libc_ifunc_impl_list): Likewise.
59722         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
59723         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
59724         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
59725         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
59726         strncmp for PPC64.
59728         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
59729         multiarch implementations.
59730         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59731         (__libc_ifunc_impl_list): Likewise.
59732         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
59733         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
59734         strncasecmp for PPC64.
59735         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
59736         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
59737         multiarch strncasecmp_l for PPC64.
59739         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
59740         multiarch implementations.
59741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
59742         (__libc_ifunc_impl_list): Likewise.
59743         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
59744         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
59745         multiarch strcasecmp for PPC64.
59746         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
59747         file.
59748         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
59749         multiarch strcasecmp_l for PPC64.
59751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
59752         implementations.
59753         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59754         (__libc_ifunc_impl_list): Likewise.
59755         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
59756         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
59757         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
59758         strnlen for PPC64.
59760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
59761         implementations.
59762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59763         (__libc_ifunc_impl_list): Likewise.
59764         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
59765         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
59766         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
59767         strlen for PPC64.
59769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
59770         implementations.
59771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59772         (__libc_ifunc_impl_list): Likewise.
59773         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
59774         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
59775         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
59776         rawmemrchr for PPC64.
59778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
59779         implementation.
59780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59781         (__libc_ifunc_impl_list): Likewise.
59782         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
59783         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
59784         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
59785         memrchr for PPC64.
59787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
59788         implementation.
59789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59790         (__libc_ifunc_impl_list): Likewise.
59791         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
59792         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
59793         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
59794         memchr for PPC64.
59796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
59797         implementation.
59798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59799         (__libc_ifunc_impl_list): Likewise.
59800         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
59801         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
59802         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
59803         mempcpy for PPC64.
59805         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
59806         avoid cretion of __bzero symbol.
59807         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
59808         Likewise.
59809         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
59810         Likewise.
59811         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
59812         Likewise.
59813         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
59814         multiarch implementations.
59815         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59816         (__libc_ifunc_impl_list): Likewise.
59817         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
59818         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
59819         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
59820         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
59821         bzero for PPC32.
59822         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
59823         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
59824         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
59825         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
59826         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
59827         memset for PPC64.
59828         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
59830         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
59831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
59832         implementations.
59833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
59834         (__libc_ifunc_impl_list): Likewise.
59835         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
59836         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
59837         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
59838         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
59839         memcmp for PPC64.
59841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
59842         multiarch for POWER/PPC64.
59843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
59844         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
59845         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
59846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
59847         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
59848         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
59849         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
59850         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
59851         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
59852         memcpy for PPC64.
59854         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59855         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
59856         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
59857         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59858         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59859         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59860         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59861         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59862         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59863         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59864         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59865         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59866         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59867         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59868         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59877 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59879         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59881 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59883         * benchtests/Makefile (bench): Add exp2 and log2.
59884         (LDLIBS-bench-exp2): Add -lm.
59885         (LDLIBS-bench-log2): Likewise.
59886         * benchtests/exp2-inputs: New inputs file.
59887         * benchtests/log2-inputs: New inputs file.
59888         * benchtests/log-inputs: Add new inputs.
59889         * benchtests/tan-inputs: Likewise.
59891 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59893         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59894         definition...
59895         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59896         (csloww2): ... from here.
59898         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59899         instead of structures.
59900         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59901         (POLYNOMIAL): Likewise.
59902         (TAYLOR_SLOW): Likewise.
59903         (__sin): Likewise.
59904         (__cos): Likewise.
59905         (slow1): Likewise.
59906         (slow2): Likewise.
59907         (sloww): Likewise.
59908         (sloww1); Likewise.
59909         (sloww2): Likewise.
59910         (bsloww1): Likewise.
59911         (bsloww2): Likewise.
59912         (cslow2): Likewise.
59913         (csloww): Likewise.
59914         (csloww1): Likewise.
59915         (csloww2): Likewise.
59917 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
59919         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59920         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59921         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59922         * malloc/hooks.c (realloc_check): Likewise.
59924         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59925         * malloc/arena.c: Remove PER_THREAD conditional.
59926         [!PER_THREAD]: Remove code.
59927         (ptmalloc_unlock_all2): Likewise.
59928         (ptmalloc_init): Likewise.
59929         (_int_new_arena): Likewise.
59930         (arena_get2): Likewise.
59931         * malloc/hooks.c (__malloc_get_state): Likewise.
59932         (__malloc_set_state): Likewise.
59933         * malloc/malloc.c: Likewise.
59934         (struct malloc_state): Likewise.
59935         (struct malloc_par): Likewise.
59936         (__libc_realloc): Likewise.
59937         (__libc_mallopt): Likewise.
59939 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59941         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59943 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
59945         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59946         macro to a function.  Check for zero perturb_byte.
59947         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59949         * malloc/malloc.c: (force_reg): Remove.
59950         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59951         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59952         force_reg by atomic_forced_read.
59953         * malloc/arena.c (ptmalloc_init): Likewise.
59954         * malloc/hooks.c (top_check): Likewise.
59956 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59960 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59962         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59964 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59966         * math/auto-libm-test-in: Add tests of lgamma.
59967         * math/auto-libm-test-out: Regenerated.
59968         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59969         (M_LOG_2_SQRT_PIl): Likewise.
59970         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59971         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59972         mpfr_f_f1.
59973         (func_calc_desc): Add mpfr_f_f1 union field.
59974         (ARGS1): New macro.
59975         (ARGS2): Likewise.
59976         (ARGS3): Likewise.
59977         (ARGS4): Likewise.
59978         (RET1): Likewise.
59979         (RET2): Likewise.
59980         (CALC): Likewise.
59981         (FUNC): Likewise.
59982         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59983         (test_functions): Add lgamma.
59984         (calc_generic_results): Handle mpfr_f_f1.
59985         * sysdeps/i386/fpu/libm-test-ulps: Update.
59986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59988 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59990         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59991         __mpn_add_n for PowerPC64/POWER7.
59992         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59993         __mpn_sub_n for PowerPC64/POWER7.
59995         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59996         __mpn_addmul_1 for PowerPC64.
59997         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59998         __mpn_submul_1 for PowerPC64.
59999         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
60000         for PowerPC64.
60001         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
60002         for PowerPC64.
60004 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
60006         [BZ #15089]
60007         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
60009 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60011         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
60013         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
60014         add multiarch folders.
60015         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
60016         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
60017         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
60018         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
60019         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
60020         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
60021         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
60022         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
60023         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
60024         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
60025         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
60026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
60027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
60028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
60029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
60030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
60031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
60033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60034         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
60035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
60036         New file.
60037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
60038         New file.
60039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
60040         multiarch __ieee754_hypot for PowerPC32.
60041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
60042         New file.
60043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
60044         New file.
60045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
60046         multiarch __ieee754_hypotf for PowerPC32.
60048         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
60049         long_double_symbol only if __logbl is defined.
60050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
60051         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
60052         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
60053         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
60054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
60055         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
60056         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
60057         path for implementation.
60058         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
60059         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
60060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
60061         logb, and logbl multiarch implementations for PowerPC32.
60062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
60063         file.
60064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
60065         file.
60066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
60067         multiarch logb for PowerPC32.
60068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
60069         file.
60070         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
60071         file.
60072         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
60073         multiarch logbf for PowerPC32.
60074         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
60075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
60076         file.
60077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
60078         multiarch logbl implementation for PowerPC32.
60080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
60081         and modff multiarch implementations.
60082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
60083         New file.
60084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
60085         New file.
60086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
60087         multiarch modf for PowerPC32.
60088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
60089         New file.
60090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
60091         New file.
60092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
60093         multiarch modff for PowerPC32.
60095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
60096         and lrintf multiarch implementations.
60097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
60098         New file.
60099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
60100         New file.
60101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
60102         multiarch lrint for PowerPC32.
60103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
60104         file: multiarch lrintf for PowerPC32.
60106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
60107         and lroundf multiarch implementations.
60108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
60109         New file.
60110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
60111         New file.
60112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
60113         New file.
60114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
60115         multiarch lround for PowerPC32.
60116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
60117         file: multiarch lroundf for PowerPC32.
60119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
60120         copysign and copysignf multiarch implementations.
60121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
60122         New file.
60123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
60124         New file.
60125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
60126         file: multiarch copysign for PowerPC32.
60127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
60128         file: multiarch copysignf for PowerPC32.
60130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
60131         and truncf multiarch implementations.
60132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
60133         New file.
60134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
60135         file.
60136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
60137         multiarch trunc for PowerPC32.
60138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
60139         New file.
60140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
60141         New file.
60142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
60143         multiarch truncf for PowerPC32.
60145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
60146         and roundf multiarch implementations.
60147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
60148         New file.
60149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
60150         file.
60151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
60152         multiarch round for PowerPC32.
60153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
60154         New file.
60155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
60156         New file.
60157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
60158         multiarch roundf for PowerPC32.
60160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
60161         and floorf multiarch implementations.
60162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
60163         New file.
60164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
60165         file.
60166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
60167         multiarch floor for PowerPC32.
60168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
60169         New file.
60170         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
60171         New file.
60172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
60173         multiarch floorf for PowerPC32.
60175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
60176         and ceilf multiarch implementations.
60177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
60178         New file.
60179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
60180         file.
60181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
60182         multiarch ceil for PowerPC32.
60183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
60184         New file.
60185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
60186         file.
60187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
60188         multiarch ceilf for PowerPC32.
60190         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
60191         is defined.
60192         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
60193         FINITEF is defined.
60194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
60195         and finitef multiarch implementations.
60196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
60197         New file.
60198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
60199         file.
60200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
60201         multiarch finite for PowerPC32.
60202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
60203         New file.
60204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
60205         file: multiarch finitef for PowerPC32.
60207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
60208         and isinff multiarch implementations.
60209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
60210         file.
60211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
60212         file.
60213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
60214         multiarch isinf for PowerPC32.
60215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
60216         New file.
60217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
60218         multiarch isinff for PowerPC32.
60220         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
60221         alias when __isnan is defined.
60222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
60223         and isnanf multiarch implementations.
60224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
60225         file.
60226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
60227         file.
60228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
60229         file.
60230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
60231         file.
60232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
60233         multiarch isnan for PowerPC32.
60234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
60235         New file.
60236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
60237         New file.
60238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
60239         multiarch isnanf for PowerPC32.
60241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
60242         and sqrtf multiarch implementations.
60243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
60244         file.
60245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
60246         file.
60247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
60248         multiarch sqrt for PowerPC32.
60249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
60250         file.
60251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
60252         file.
60253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
60254         multiarch sqrtf for PowerPC32.
60256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
60257         and llroundf multiarch implementations.
60258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
60259         New file.
60260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
60261         New file.
60262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
60263         New file.
60264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
60265         file: multiarch llround for PowerPC32.
60266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
60267         file: multiarch llroundf for PowerPC32.
60269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
60270         multiarch PowerPC32 fpu implementations.
60271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
60272         New file.
60273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
60274         New file.
60275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
60276         multiarch llrint for PowerPC32.
60277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
60278         New file.
60279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
60280         New file.
60281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
60282         file.
60284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
60286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
60287         file.
60288         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
60289         file.
60290         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
60291         file.
60292         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
60293         multiarch wordcopy for PPC32.
60294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60295         wordcopy objects.
60296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60297         (__libc_ifunc_impl_list): Likewise.
60298         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
60299         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
60300         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
60301         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
60302         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
60303         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
60305         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
60306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
60307         file.
60308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
60309         file.
60310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
60311         file.
60312         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
60313         multiarch wcscpy for PPC32.
60314         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
60315         multiarch objects.
60316         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60317         (__libc_ifunc_impl_list): Likewise.
60318         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60319         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60320         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
60321         sysdeps/powerpc/power6/wcscpy.c.
60323         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
60324         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
60325         file.
60326         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
60327         file.
60328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
60329         file.
60330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
60331         multiarch wcsrchr for PPC32.
60332         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60333         multiarch objects.
60334         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60335         (__libc_ifunc_impl_list): Likewise.
60336         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
60337         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
60338         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
60339         sysdeps/powerpc/power6/wcsrchr.c.
60341         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
60342         file.
60343         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
60344         file.
60345         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
60346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
60347         multiarch wcschr for PPc32.
60348         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
60349         multiarch objects.
60350         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60351         (__libc_ifunc_impl_list): Likewise.
60352         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
60353         * sysdeps/powerpc/power6/wcschr.c: ... to here.
60354         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
60355         sysdeps/powerpc/power6/wcschr.c.
60357         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
60358         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
60359         file.
60360         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
60361         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
60362         file: multiarch strchr for PPC32.
60363         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
60364         multiarch objects.
60365         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60366         (__libc_ifunc_impl_list): Likewise.
60368         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
60369         name.
60370         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
60371         file.
60372         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
60373         file.
60374         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
60375         multiarch strchrnul for PPC32.
60376         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
60377         multiarch objects.
60378         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60379         (__libc_ifunc_impl_list): Likewise.
60381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
60382         file.
60383         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
60384         multiarch strncasecmp for PPC32.
60385         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
60386         file.
60387         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
60388         multiarch strncasecmp_l for PPC32.
60389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
60390         strncasecmp multiarch objects.
60391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60392         (__libc_ifunc_impl_list): Likewise.
60394         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
60395         file.
60396         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
60397         multiarch strncasecmp for PPC32.
60398         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
60399         New file.
60400         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
60401         multiarch strcasecmp_l for PPC32.
60402         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
60403         multiarch objects.
60404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60405         (__libc_ifunc_impl_list): Likewise.
60407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
60408         file.
60409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
60410         file.
60411         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
60412         multiarch strncmp for PPC32.
60413         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
60414         multiarch objects.
60415         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60416         (__libc_ifunc_impl_list): Likewise.
60418         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
60419         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
60420         file.
60421         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
60422         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
60423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
60424         multiarch objects.
60425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60426         (__libc_ifunc_impl_list): Likewise.
60428         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
60429         file.
60430         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
60431         file.
60432         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
60433         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
60434         multiarch objects.
60435         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60436         (__libc_ifunc_impl_list): Likewise.
60438         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
60439         file.
60440         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
60441         file.
60442         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
60443         multiarch rawmemchr for PPC32.
60444         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
60445         multiarch objects.
60446         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60447         (__libc_ifunc_impl_list): Likewise.
60449         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
60450         file.
60451         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
60452         file.
60453         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
60454         file: memrchr multiarch for PPC32.
60455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60456         multiarch objects.
60457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
60458         (__libc_ifunc_impl_list): Likewise.
60460         * string/memchr.c (__memchr): Using macro to redefine symbol name.
60461         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
60462         file.
60463         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
60464         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
60465         multiarch memchr for PPC32.
60466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
60467         multiarch objects.
60468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60469         (__libc_ifunc_impl_list): Likewise.
60471         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
60472         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
60473         file.
60474         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
60475         file.
60476         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
60477         file: multiarch mempcpy for PPC32.
60478         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
60479         multiarch objects.
60480         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60481         (__libc_ifunc_impl_list): Likewise.
60483         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
60484         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
60485         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
60486         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60487         multiarch bzero for PPC32.
60488         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
60489         file.
60490         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
60491         file.
60492         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
60493         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
60494         file: multiarch memset for PPC32.
60495         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
60496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
60497         memset multiarch objects.
60498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60499         (__libc_ifunc_impl_list): Likewise.
60501         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
60502         file.
60503         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
60504         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
60505         memcmp for PPC32.
60506         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
60507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
60508         multiarch objects.
60509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60510         (__libc_ifunc_impl_list): Likewise.
60512         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
60513         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
60514         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
60515         file.
60516         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
60517         file.
60518         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
60519         file.
60520         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
60521         multiarch memcpy for PPC32.
60522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
60523         multiarch objects.
60524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
60525         (__libc_ifunc_impl_list): Likewise.
60527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
60528         support multiarch for POWER/PPC32.
60529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
60530         Likewise.
60531         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
60532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
60533         Implies file to make multiarch folder appers before the fpu and
60534         default folder for power4 configuration.
60536 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
60538         * scripts/bench.pl: Append volatile keyword to type.
60540 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60542         * sysdeps/sh/sotruss-lib.c: New file.
60543         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
60545 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60549 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
60551         [BZ #6810]
60552         * math/w_tgamma.c: Include <errno.h>.
60553         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
60554         * math/w_tgammaf.c: Include <errno.h>.
60555         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
60556         * math/w_tgammal.c: Include <errno.h>.
60557         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
60558         * math/auto-libm-test-in: Do not allow missing errno on tgamma
60559         underflow.  Add more tgamma tests.
60560         * math/auto-libm-test-out: Regenerated.
60561         * sysdeps/i386/fpu/libm-test-ulps: Update.
60562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60564         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
60565         sin, sinh, tan, tanh, tgamma, y0 and y1.
60566         * math/auto-libm-test-out: Regenerated.
60567         * math/libm-test.inc (TEST_COND_x86_64): New macro.
60568         (TEST_COND_x86): Likewise.
60569         (M_E2l): Remove macro.
60570         (M_E3l): Likewise.
60571         (M_2_SQRT_PIl): Likewise.
60572         (M_SQRT_PIl): Likewise.
60573         (M_1_DIV_El): Likewise.
60574         (log_test_data): Use AUTO_TESTS_f_f.
60575         (log10_test_data): Likewise.
60576         (log1p_test_data): Likewise.
60577         (log2_test_data): Likewise.
60578         (sin_test_data): Likewise.
60579         (sin_tonearest_test_data): Likewise.
60580         (sin_towardzero_test_data): Likewise.
60581         (sin_downward_test_data): Likewise.
60582         (sin_upward_test_data): Likewise.
60583         (sinh_test_data): Likewise.
60584         (sinh_tonearest_test_data): Likewise.
60585         (sinh_towardzero_test_data): Likewise.
60586         (sinh_downward_test_data): Likewise.
60587         (sinh_upward_test_data): Likewise.
60588         (tan_test_data): Likewise.
60589         (tan_tonearest_test_data): Likewise.
60590         (tan_towardzero_test_data): Likewise.
60591         (tan_downward_test_data): Likewise.
60592         (tan_upward_test_data): Likewise.
60593         (tanh_test_data): Likewise.
60594         (tgamma_test_data): Likewise.
60595         (y0_test_data): Likewise.
60596         (y1_test_data): Likewise.
60597         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
60598         (special_real_inputs): Add pi/4.
60599         * sysdeps/i386/fpu/libm-test-ulps: Update.
60600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60602 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60604         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
60605         "longjmp_target" static probes.
60606         (__longjmp): Rename to __longjmp_symbol.
60607         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60608         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
60609         on which longjmp to generate.
60610         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
60611         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
60612         probe.
60613         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60614         (__sigjmp_save): Rename to __sigjmp_save_symbol.
60615         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
60616         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
60617         and __sigjmp_save_symbol based on which sigsetjmp to generated.
60618         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
60619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
60620         __longjmp_symbol based on which __longjmp to generate.
60621         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
60622         probe.
60623         (setjmp): Rename to setjmp_symbol.
60624         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60625         (_setjmp): Rename to _setjmp_symbol.
60626         (__sigsetjmp): Rename to __sigsetjmp_symbol.
60627         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
60628         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
60629         which setjmp to generate.
60630         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
60631         "longjmp_target" static probes.
60633 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60635         * benchtests/README: Add note about output arguments.
60636         * benchtests/bench-sincos.c: Remove file.
60637         * benchtests/sincos-inputs: New file.
60638         * scripts/bench.pl: Identify output arguments and define
60639         static variables for them.
60641         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
60643         [BZ #15941]
60644         * Makefile (INSTALL): Add install-plain.texi as the primary
60645         dependency.
60646         * manual/install-plain.texi: New file.
60647         * manual/install.texi: Include node directive only for
60648         non-plaintext output.
60650 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
60652         * stdlib/longlong.h: Update from GCC.
60654         [BZ #6807]
60655         [BZ #15901]
60656         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
60657         * math/w_j0f.c (y0f): Likewise.
60658         * math/w_j0l.c (__y0l): Likewise.
60659         * math/w_j1.c (y1): Likewise.
60660         * math/w_j1f.c (y1f): Likewise.
60661         * math/w_j1l.c (__y1l): Likewise.
60662         * math/w_jn.c (yn): Likewise.
60663         * math/w_jnf.c (ynf): Likewise.
60664         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
60665         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
60666         value for Bessel function domain errors outside _SVID_ mode.
60667         Adjust sign of return value for yn (negative integer, 0).
60668         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
60669         by zero in return for negative x and set sign appropriately for
60670         negative n.
60671         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
60672         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
60673         * math/libm-test.inc (y0_test_data): Add more tests and adjust
60674         expectations in error cases.
60675         (y1_test_data): Likewise.
60676         (yn_test_data): Likewise.
60677         * sysdeps/i386/fpu/libm-test-ulps: Update.
60678         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60680 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60682         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
60683         "64" to "64-v1".  Add "64-v2".
60684         (abi-64-options): Rename to ...
60685         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
60686         (abi-64-condition): Rename to ...
60687         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
60688         (abi-64-ld-soname): Rename to ...
60689         (abi-64-v1-ld-soname): ... this.
60690         (abi-64-v2-options): Define.
60691         (abi-64-v2-condition): Likewise.
60692         (abi-64-v2-ld-soname): Likewise.
60693         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
60694         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
60695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
60696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
60697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
60699 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60700             Alan Modra  <amodra@gmail.com>
60702         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
60703         New versions for use with the ELFv2 ABI.
60704         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
60705         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
60706         declaration.
60707         (struct La_ppc64v2_retval): Likewise.
60708         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
60709         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
60710         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
60711         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
60712         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
60713         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60714         Do not save or restore CR.
60715         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
60716         (_dl_profile_resolve): Do no save or restore CR.  Support extended
60717         return values for ELFv2 ABI.  Fix location of FPR return registers.
60718         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
60719         updated values for _CALL_ELF == 2.
60720         (La_regs, La_retval, int_retval): Likewise.
60722 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60724         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
60725         (FRAME_MIN_SIZE_PARM): Likewise.
60726         (FRAME_BACKCHAIN): Likewise.
60727         (FRAME_CR_SAVE): Likewise.
60728         (FRAME_LR_SAVE): Likewise.
60729         (FRAME_TOC_SAVE): Likewise.
60730         (FRAME_PARM_SAVE): Likewise.
60731         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
60732         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
60733         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60734         (call_mcount_parm_offset): New macro.
60735         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
60736         (PROF): Use symbolic stack frame offsets.
60737         (TAIL_CALL_SYSCALL_ERROR): Likewise.
60738         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
60739         Redefine in terms of FRAME_MIN_SIZE.
60740         (_dl_runtime_resolve): Use symbolic stack frame offsets.
60741         (_dl_profile_resolve): Likewise.  Update comment.
60742         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
60743         symbols stack frame offsets.
60744         (__sigsetjmp): Likewise.
60745         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
60746         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
60747         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
60748         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
60750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
60751         (FRAME_BACKCHAIN): Remove.
60752         (FRAME_CR_SAVE): Likewise.
60753         (FRAME_LR_SAVE): Likewise.
60754         (FRAME_COMPILER_DW): Likewise.
60755         (FRAME_LINKER_DW): Likewise.
60756         (FRAME_TOC_SAVE): Likewise.
60757         (FRAME_PARM_SAVE): Likewise.
60758         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
60759         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
60760         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
60761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
60762         (CHECK_SP): Use symbolic stack frame offsets.
60763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
60764         zone" instead of caller's parameter save area for temp storage.
60765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60766         Likewise.  Also, use symbolic stack frame offsets.
60767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
60768         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
60769         our own stack frame instead of the caller's.
60770         (__socket): Use symbolic stack frame offsets.
60772 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60773             Alan Modra  <amodra@gmail.com>
60775         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
60776         Define.
60777         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
60778         (PPC64_LOCAL_ENTRY_OFFSET): Define.
60779         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
60780         New function.
60781         (elf_machine_fixup_plt): Call it.
60782         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
60783         reloc arguments.
60784         (elf_machine_rela): Update call to elf_machine_plt_conflict.
60785         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60786         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
60787         r2 before calling target.
60789 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60790             Alan Modra  <amodra@gmail.com>
60792         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
60793         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
60794         versions of macros to support ELFv2 ABI.
60795         (LOCALENTRY): New macro.
60796         (ENTRY, EALIGN): Use it.
60797         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
60798         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
60799         fall through into ENTRY entry point.
60800         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
60801         Only define if _CALL_ELF != 2.
60803         (elf_machine_matches_host): Verify ABI version matches.
60804         (RTLD_START): Use LOCALENTRY.
60805         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
60806         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
60807         (PLT_ENTRY_WORDS): New macro.
60808         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
60809         (elf_machine_runtime_setup): Support ELFv2 ABI.
60810         (elf_machine_fixup_plt): Likewise.
60811         (elf_machine_plt_conflict): Likewise.
60812         (resolve_ifunc): Likewise.
60813         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
60814         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60815         Likewise.
60816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
60817         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
60818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60819         (makecontext): Support ELFv2 ABI.
60820         * elf/elf.h (EF_PPC64_ABI): Define.
60822 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60824         * sysdeps/powerpc/powerpc64/sysdep.h
60825         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
60826         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
60827         (ENTRY) [ASSEMBLER]: ... but instead here ...
60828         (EALIGN) [ASSEMBLER]: ... and here.
60829         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
60830         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
60831         (ENTRY_2) [!ASSEMBLER]: Use it.
60832         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
60833         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
60834         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
60835         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
60836         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
60837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
60838         Use PPC64_LOAD_FUNCPTR.
60840         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
60842 2013-12-04  Alan Modra  <amodra@gmail.com>
60844         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
60845         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
60846         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
60847         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
60849         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
60850         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
60851         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
60852         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
60853         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
60854         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
60856 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60859         (__makecontext): Fix incorrect CFI when backtracing out of
60860         context created via makecontext.
60861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60862         (__setcontext): Fix incorrect CFI during switch to new context.
60863         (__novec_setcontext): Likewise.
60865 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60867         [BZ #4772]
60868         * time/strptime_l.c (__strptime_internal): Allow modifiers
60869         in strptime.
60870         * time/tst-strptime.c (day_tests): Add testcase.
60872 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60874         * scripts/bench.pl: Skip over blank lines.
60876 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60878         [BZ #926]
60879         * manual/time.texi (Calendar Time): Clarify what timezone functions
60880         use.
60882 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60884         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60886 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60888         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60889         implementation.
60890         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60891         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60892         * debug/memset_chk.c (__memset_chk): Likewise.
60893         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60894         * debug/strncpy_chk.c: Likewise.
60896 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60898         [BZ #15268]
60899         [BZ #15425]
60900         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60901         (__ieee754_exp): For possibly underflowing results, check size of
60902         result and force underflow exception if required.
60903         * math/auto-libm-test-in: Add more tests of exp.
60904         * math/auto-libm-test-out: Regenerated.
60905         * sysdeps/i386/fpu/libm-test-ulps: Update.
60906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60908         [BZ #16283]
60909         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60910         * math/w_exp2f.c (__exp2f): Likewise.
60911         * math/w_exp2l.c (__exp2l): Likewise.
60912         * math/auto-libm-test-in: Do not allow missing errno on exp2
60913         underflow.
60914         * math/auto-libm-test-out: Regenerated.
60916 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
60918         [BZ #16274]
60919         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60920         handle filename validation.
60921         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60922         (do_open): Delete.
60924 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60926         [BZ #6786]
60927         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60928         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60929         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60930         <float.h>.
60931         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60932         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60933         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60934         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60935         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60936         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60937         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60938         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60939         Add more erfc tests.
60940         * math/auto-libm-test-out: Regenerated.
60941         * sysdeps/i386/fpu/libm-test-ulps: Update.
60942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60944         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60945         exp2, expm1, j0 and j1.
60946         * math/auto-libm-test-out: Regenerated.
60947         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60948         (erfc_test_data): Likewise.
60949         (exp_test_data): Likewise.
60950         (exp_tonearest_test_data): Likewise.
60951         (exp_towardzero_test_data): Likewise.
60952         (exp_downward_test_data): Likewise.
60953         (exp_upward_test_data): Likewise.
60954         (exp10_test_data): Likewise.
60955         (exp2_test_data): Likewise.
60956         (expm1_test_data): Likewise.
60957         (j0_test_data): Likewise.
60958         (j1_test_data): Likewise.
60959         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60960         (input_flag_type): Add flag_xfail_rounding.
60961         (input_flags): Add xfail-rounding.
60962         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60963         (output_for_one_input_case): Handle flag_xfail_rounding.
60964         * sysdeps/i386/fpu/libm-test-ulps: Update.
60965         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60967 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60969         [BZ #16289]
60970         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60971         division by 0.
60973 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60975         [BZ #16195]
60976         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60977         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60978         (STAP_PROBE0): New macro.
60979         (STAP_PROBE1): Likewise.
60980         (STAP_PROBE2): Likewise.
60981         (STAP_PROBE3): Likewise.
60982         (STAP_PROBE4): Likewise.
60984 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
60986         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60988 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60990         * benchtests/Makefile (bench): Add sqrt.
60991         (LDLIBS-bench-sqrt): New.
60992         * benchtests/sqrt-input: New.
60994 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60996         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60997         (GAIH_EAI): Likewise.
60998         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60999         (gaih_inet): Likewise.
61000         (getaddrinfo): Don't use GAIH_EAI.
61002         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
61003         (struct gaih): Remove definition.
61005 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
61007         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
61008         Use HERRNOP directly.
61010 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61014 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
61016         * math/gen-auto-libm-tests.c (test_functions): Add more
61017         single-argument functions.
61018         (special_fill_pi_2): New function.
61019         (special_fill_minus_pi_2): Likewise.
61020         (special_fill_pi_6): Likewise.
61021         (special_fill_minus_pi_6): Likewise.
61022         (special_fill_pi_3): Likewise.
61023         (special_fill_2pi_3): Likewise.
61024         (special_fill_e): Likewise.
61025         (special_fill_1_e): Likewise.
61026         (special_fill_e_minus_1): Likewise.
61027         (special_real_inputs): Add more special inputs.
61028         (output_for_one_input_case): Do not require ERANGE on underflow to
61029         zero if round-to-nearest result does not underflow to zero, unless
61030         exact results required.
61031         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
61032         atan, atanh, cbrt, cos and cosh.
61033         * math/auto-libm-test-out: Regenerated.
61034         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
61035         (acos_tonearest_test_data): Likewise.
61036         (acos_towardzero_test_data): Likewise.
61037         (acos_downward_test_data): Likewise.
61038         (acos_upward_test_data): Likewise.
61039         (acosh_test_data): Likewise.
61040         (asin_test_data): Likewise.
61041         (asin_tonearest_test_data): Likewise.
61042         (asin_towardzero_test_data): Likewise.
61043         (asin_upward_test_data): Likewise.
61044         (asinh_test_data): Likewise.
61045         (atan_test_data): Likewise.
61046         (atanh_test_data): Likewise.
61047         (cbrt_test_data): Likewise.
61048         (cos_test_data): Likewise.
61049         (cos_tonearest_test_data): Likewise.
61050         (cos_towardzero_test_data): Likewise.
61051         (cos_downward_test_data): Likewise.
61052         (cos_upward_test_data): Likewise.
61053         (cosh_test_data): Likewise.
61054         (cosh_tonearest_test_data): Likewise.
61055         (cosh_towardzero_test_data): Likewise.
61056         (cosh_downward_test_data): Likewise.
61057         (cosh_upward_test_data): Likewise.
61058         * sysdeps/i386/fpu/libm-test-ulps: Update.
61059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61061 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
61063         [BZ #6787]
61064         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
61065         * math/w_exp10f.c (__exp10f): Likewise.
61066         * math/w_exp10l.c (__exp10l): Likewise.
61067         * math/libm-test.inc (exp10_test_data): Add more tests and expect
61068         errno settings in existing tests.
61070         [BZ #14032]
61071         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
61072         precision control set to double precision.
61073         * sysdeps/i386/fpu/w_sqrt.c: New file.
61074         * math/auto-libm-test-in: Add more tests.
61075         * math/auto-libm-test-out: Update.
61077         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
61078         (sqrt_test_tonearest): New function.
61079         (sqrt_towardzero_test_data): New variable.
61080         (sqrt_test_towardzero): New function.
61081         (sqrt_downward_test_data): New variable.
61082         (sqrt_test_downward): New function.
61083         (sqrt_upward_test_data): New variable.
61084         (sqrt_test_upward): New function.
61085         (main): Call the new functions.
61087         * math/gen-auto-libm-tests.c: New file.
61088         * math/auto-libm-test-in: Likewise.
61089         * math/auto-libm-test-out: New generated file.
61090         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
61091         variables.
61092         (%beautify): Add generated representations of zero.
61093         (top level): Set $auto_input and call parse_auto_input.
61094         (beautify): Remove trailing "f" from hex float constants.
61095         (parse_args): Handle XFAIL_TEST.
61096         (convert_condition): New function.
61097         (or_value): Likewise.
61098         (or_cond_value): Likewise.
61099         (generate_testfile): Handle AUTO_TESTS_* lines.
61100         (parse_auto_input): New function.
61101         * math/libm-test.inc (XFAIL_TEST): New macro.
61102         (ERRNO_UNCHANGED): Update value.
61103         (ERRNO_EDOM): Likewise.
61104         (ERRNO_ERANGE): Likewise.
61105         (IGNORE_RESULT): Likewise.
61106         (TEST_COND_flt_32): New macro.
61107         (TEST_COND_dbl_64): Likewise.
61108         (TEST_COND_ldbl_96_intel): Likewise.
61109         (TEST_COND_ldbl_96_m68k): Likewise.
61110         (TEST_COND_ldbl_128): Likewise.
61111         (TEST_COND_ldbl_128ibm): Likewise.
61112         (TEST_COND_long32): Likewise.
61113         (TEST_COND_long64): Likewise.
61114         (TEST_COND_before_rounding): Likewise.
61115         (TEST_COND_after_rounding): Likewise.
61116         (enable_test): Handle XFAIL_TEST flag.
61117         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
61118         with finite results.
61119         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
61120         auto-libm-test-out.
61122 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
61123             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61125         [BZ #16214]
61126         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
61127         __tls_get_addr_internal instead of __tls_get_offset in order to
61128         avoid GOT pointer dependency.  Make rtld export
61129         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
61130         __tls_get_addr since we are a __tls_get_offset platform.
61131         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
61132         GOT pointer being set up before.
61133         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
61135 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
61137         * manual/math.texi (Errors in Math Functions): Document accuracy
61138         goals.
61140         [BZ #15004]
61141         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
61142         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
61143         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
61144         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
61145         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
61146         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
61147         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
61148         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
61149         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
61150         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
61151         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
61152         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
61153         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
61154         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
61155         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
61156         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
61158         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
61159         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
61160         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
61161         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
61162         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
61163         Likewise.
61164         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
61165         Likewise.
61166         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
61167         Likewise.
61168         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
61169         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
61170         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
61171         atomic-feupdateenv and flt-rounds.
61172         * sysdeps/powerpc/nofpu/Versions (libc): Add
61173         __atomic_feholdexcept, __atomic_feclearexcept,
61174         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
61175         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
61176         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
61177         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
61178         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
61179         here.
61180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
61181         Update.
61183         * manual/arith.texi (FP Exceptions): Document that exceptions may
61184         not be raised when matherr is used.
61185         (Math Error Reporting): Document overflow in directed rounding
61186         modes.  Document that errno may not be set when finite values are
61187         returned on overflow.  Document intent to set errno on underflow
61188         only for underflow to zero.
61190         [BZ #16271]
61191         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
61192         round-to-nearest then adjust result for other rounding modes.
61193         * include/fenv.h (fegetround): Use libm_hidden_proto.
61194         * math/fegetround.c (fegetround): Use libm_hidden_def.
61195         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
61196         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
61197         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61198         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
61199         Likewise.
61200         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
61201         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
61202         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
61203         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
61205 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61207         [BZ #16077]
61208         * nss/Versions (libnss_files): Add
61209         _nss_files_gethostbyname3_r.
61210         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
61211         New function.
61212         (HOST_DB_LOOKUP): Remove macro.
61213         (_nss_files_gethostbyname_r): Implement function without the
61214         HOST_DB_LOOKUP macro.
61215         (_nss_files_gethostbyname2_r): Likewise.
61217 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
61219         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
61221 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
61223         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
61224         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
61225         warning.
61227 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61229         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
61230         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
61231         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
61232         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
61233         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
61234         __fe_nomask_env_priv and attribute_hidden.
61235         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
61236         (libc_feupdateenv_test_ppc): Likewise.
61237         (libc_feresetround_ppc): Likewise.
61238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61239         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
61240         compat_symbol macro.
61241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61242         (__fe_nomask_env): Likewise.
61243         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
61245 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61247         * string/Makefile: Remove ifunc tests.
61248         * string/test-string.h: Define TEST_IFUNC.
61249         * string/test-bcopy-ifunc.c: Remove.
61250         * string/test-bzero-ifunc.c: Likewise.
61251         * string/test-memccpy-ifunc.c: Likewise.
61252         * string/test-memchr-ifunc.c: Likewise.
61253         * string/test-memcmp-ifunc.c: Likewise.
61254         * string/test-memcpy-ifunc.c: Likewise.
61255         * string/test-memmem-ifunc.c: Likewise.
61256         * string/test-memmove-ifunc.c: Likewise.
61257         * string/test-mempcpy-ifunc.c: Likewise.
61258         * string/test-memrchr-ifunc.c: Likewise.
61259         * string/test-memset-ifunc.c: Likewise.
61260         * string/test-rawmemchr-ifunc.c: Likewise.
61261         * string/test-stpcpy-ifunc.c: Likewise.
61262         * string/test-stpncpy-ifunc.c: Likewise.
61263         * string/test-strcasecmp-ifunc.c: Likewise.
61264         * string/test-strcasestr-ifunc.c: Likewise.
61265         * string/test-strcat-ifunc.c: Likewise.
61266         * string/test-strchr-ifunc.c: Likewise.
61267         * string/test-strchrnul-ifunc.c: Likewise.
61268         * string/test-strcmp-ifunc.c: Likewise.
61269         * string/test-strcpy-ifunc.c: Likewise.
61270         * string/test-strcspn-ifunc.c: Likewise.
61271         * string/test-strlen-ifunc.c: Likewise.
61272         * string/test-strncasecmp-ifunc.c: Likewise.
61273         * string/test-strncat-ifunc.c: Likewise.
61274         * string/test-strncmp-ifunc.c: Likewise.
61275         * string/test-strncpy-ifunc.c: Likewise.
61276         * string/test-strnlen-ifunc.c: Likewise.
61277         * string/test-strpbrk-ifunc.c: Likewise.
61278         * string/test-strrchr-ifunc.c: Likewise.
61279         * string/test-strspn-ifunc.c: Likewise.
61280         * string/test-strstr-ifunc.c: Likewise.
61282 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61284         * benchtests/Makefile: Remove ifunc tests.
61285         * benchtests/bench-string.h: Define TEST_IFUNC.
61286         * benchtests/bench-bcopy-ifunc.c: Remove.
61287         * benchtests/bench-bzero-ifunc.c: Likewise.
61288         * benchtests/bench-memccpy-ifunc.c: Likewise.
61289         * benchtests/bench-memchr-ifunc.c: Likewise.
61290         * benchtests/bench-memcmp-ifunc.c: Likewise.
61291         * benchtests/bench-memcpy-ifunc.c: Likewise.
61292         * benchtests/bench-memmem-ifunc.c: Likewise.
61293         * benchtests/bench-memmove-ifunc.c: Likewise.
61294         * benchtests/bench-mempcpy-ifunc.c: Likewise.
61295         * benchtests/bench-memrchr-ifunc.c: Likewise.
61296         * benchtests/bench-memset-ifunc.c: Likewise.
61297         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
61298         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
61299         * benchtests/bench-stpcpy-ifunc.c: Likewise.
61300         * benchtests/bench-stpncpy-ifunc.c: Likewise.
61301         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
61302         * benchtests/bench-strcasestr-ifunc.c: Likewise.
61303         * benchtests/bench-strcat-ifunc.c: Likewise.
61304         * benchtests/bench-strchr-ifunc.c: Likewise.
61305         * benchtests/bench-strchrnul-ifunc.c: Likewise.
61306         * benchtests/bench-strcmp-ifunc.c: Likewise.
61307         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
61308         * benchtests/bench-strcpy-ifunc.c: Likewise.
61309         * benchtests/bench-strcspn-ifunc.c: Likewise.
61310         * benchtests/bench-strlen-ifunc.c: Likewise.
61311         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
61312         * benchtests/bench-strncat-ifunc.c: Likewise.
61313         * benchtests/bench-strncmp-ifunc.c: Likewise.
61314         * benchtests/bench-strncpy-ifunc.c: Likewise.
61315         * benchtests/bench-strnlen-ifunc.c: Likewise.
61316         * benchtests/bench-strpbrk-ifunc.c: Likewise.
61317         * benchtests/bench-strrchr-ifunc.c: Likewise.
61318         * benchtests/bench-strsep-ifunc.c: Likewise.
61319         * benchtests/bench-strspn-ifunc.c: Likewise.
61320         * benchtests/bench-strstr-ifunc.c: Likewise.
61322 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61324         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
61326 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
61328         * resolv/netdb.h: Use __glibc_reserved instead __unused.
61329         * rt/aio.h: Likewise.
61330         * sysdeps/gnu/bits/utmp.h: Likewise.
61331         * sysdeps/gnu/bits/utmpx.h: Likewise.
61332         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
61333         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
61334         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
61335         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
61336         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
61337         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
61338         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
61339         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
61340         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
61341         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
61342         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
61343         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
61344         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
61345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
61346         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
61347         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
61348         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
61349         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
61350         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
61351         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
61352         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
61353         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
61354         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
61355         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
61356         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
61357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61358         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
61359         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
61360         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
61361         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
61362         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
61363         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
61364         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
61365         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
61366         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
61367         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
61368         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
61369         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
61370         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
61371         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
61372         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
61373         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61375 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
61377         [BZ #16245]
61378         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
61379         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
61381 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
61383         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
61384         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
61385         Likewise.
61387 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61389         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
61390         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
61391         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
61392         (__fesetround): Remove define.
61393         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
61394         rounding and exceptions handling.
61395         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
61396         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
61397         (__fe_nomask_env): Likewise.
61398         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
61399         __fegetround instead of fegetround.
61400         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
61401         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
61403 2013-11-21  Roland McGrath  <roland@hack.frob.com>
61405         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
61406         it's there.
61408         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
61410 2013-11-21  Meador Inge  <meadori@codesourcery.com>
61412         [BZ #11157]
61413         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
61414         (encrypt_r): Likewise.
61415         * malloc/obstack.h (obstack_free): Likewise.
61416         * posix/unistd.h (encrypt): Likewise.
61418 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
61420         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
61421         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
61422         DL_CALL_DT_FINI() that call the functions directly.
61423         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
61424         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
61425         * elf/dl-fini.c: Likewise.
61427 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
61429         * malloc/hooks.c (memalign_check): Add alignment rounding.
61430         * malloc/malloc.c (_mid_memalign): New function.
61431         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
61432         Implement by calling _mid_memalign.
61433         * manual/probes.texi (Memory Allocation Probes): Remove
61434         memory_valloc_retry and memory_pvalloc_retry.
61436 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61438         * locale/programs/locarchive.c (open_archive): Add const
61439         qualifier to ARCHIVEFNAME and copy default fname to
61440         DEFAULT_FNAME.
61442         [BZ #15601]
61443         * libio/tst-widetext.input: Rename Oriya to Odia.
61444         * locale/iso-639.def: Likewise.
61446         * manual/probes.texi (Mathematical Function Probes): Add
61447         documentation for sin, cos, asin and acos probes.
61448         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
61449         (__sin32): Add slowasin probe.
61450         (__cos32): Add slowacos probe.
61451         (__mpsin): Add slowsin probe.
61452         (__mpcos): Add slowcos probe.
61454 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
61456         [BZ #15483]
61457         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
61458         thread-local __sim_exceptions_thread and global
61459         __sim_exceptions_global.
61460         (__sim_disabled_exceptions): Change to thread-local
61461         __sim_disabled_exceptions_thread and global
61462         __sim_disabled_exceptions_global.
61463         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61464         and global __sim_round_mode_global.
61465         (__simulate_exceptions): Use thread-local floating-point state and
61466         set global state from it as needed.
61467         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
61468         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
61469         __sim_round_mode_thread.
61470         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
61471         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
61472         and global __sim_exceptions_global.
61473         (__sim_disabled_exceptions): Change to thread-local
61474         __sim_disabled_exceptions_thread and global
61475         __sim_disabled_exceptions_global.
61476         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
61477         and global __sim_round_mode_global.
61478         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
61479         (SIM_SET_GLOBAL): Likewise.
61480         * sysdeps/powerpc/soft-fp/sfp-machine.h
61481         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
61482         __sim_round_mode_thread.
61483         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
61484         __sim_disabled_exceptions_thread.
61485         (__sim_exceptions): Change to __sim_exceptions_thread.
61486         (__sim_disabled_exceptions): Change to
61487         __sim_disabled_exceptions_thread.
61488         (__sim_round_mode): Change to __sim_round_mode_thread.
61489         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
61490         thread-local floating-point state and set global state from it as
61491         needed.
61492         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
61493         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
61494         (__sim_disabled_exceptions): Remove extern declaration.
61495         (feenableexcept): Use thread-local floating-point state and set
61496         global state from it as needed.
61497         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
61498         extern declaration.
61499         (__sim_disabled_exceptions): Likewise.
61500         (__sim_round_mode): Likewise.
61501         (__fegetenv): Use thread-local floating-point state.
61502         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
61503         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
61504         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
61505         floating-point state and set global state from it as needed.
61506         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
61507         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
61508         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
61509         Likewise.
61510         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61511         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
61512         Likewise.
61513         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
61514         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
61515         Use __sim_round_mode_thread.
61516         * math/test-fenv-tls.c: New file.
61517         * math/Makefile (tests): Add test-fenv-tls.
61518         ($(objpfx)test-fenv-tls): Depend on
61519         $(common-objpfx)nptl/libpthread.so.
61521 2013-11-19  Andreas Schwab  <schwab@suse.de>
61523         * locale/programs/locale.c (show_info): Decode wordarray elements.
61524         * locale/categories.def (LC_MONETARY): Add element for
61525         _NL_MONETARY_CRNCYSTR.
61526         * locale/C-monetary.c (conversion_rate): New variable.
61527         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
61528         element.
61530 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
61532         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
61533         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
61535 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
61537         * elf/Makefile (tst-auxv): New test.
61538         * elf/tst-auxv.c: New
61539         * elf/rtld.c (dl_main): Adjust AT_EXECFN
61541 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
61543         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
61544         (hidden_proto): Caller changed.
61545         (hidden_tls_proto): New macro.
61546         (libc_hidden_tls_proto): Likewise.
61547         (rtld_hidden_tls_proto): Likewise.
61548         (libm_hidden_tls_proto): Likewise.
61549         (libresolv_hidden_tls_proto): Likewise.
61550         (librt_hidden_tls_proto): Likewise.
61551         (libdl_hidden_tls_proto): Likewise.
61552         (libnss_files_hidden_tls_proto): Likewise.
61553         (libnsl_hidden_tls_proto): Likewise.
61554         (libnss_nisplus_hidden_tls_proto): Likewise.
61555         (libutil_hidden_tls_proto): Likewise.
61557 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
61559         [BZ #10253]
61560         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
61561         (decompose_rpath): Defer expansion to fillin_rpath.
61562         (_dl_init_paths): Pass linkmap to fillin_rpath.
61564 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
61566         * benchtests/Makefile: Add strsep.
61567         * benchtests/bench-strsep.c: New file: strsep benchtest.
61568         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
61570 2013-11-18  Andreas Schwab  <schwab@suse.de>
61572         * locale/programs/locale.c (show_info) [case byte]: Check for
61573         '\377' instead of '\177'.
61574         * locale/C-monetary.c (not_available): Always use "\377".
61575         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
61576         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
61577         detect unavailable sign_posn locale elements.
61578         * locale/localeconv.c (__localeconv): For grouping and
61579         mon_grouping handle "\177" and "\377" like no grouping.
61580         (INT_ELEM): New macro.  Use it to set all numeric members.
61581         * locale/programs/ld-monetary.c (monetary_read)
61582         <tok_mon_grouping>: Normalize single -1 to the empty string.
61583         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
61584         Likewise.
61586 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61588         [BZ #16055]
61589         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
61590         when we match (nil).
61591         * stdio-common/tst-sscanf.c (struct test): Add testcase.
61593 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
61595         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
61596         (NO_TEST_INLINE): Update value.
61597         (ERRNO_UNCHANGED): Likewise.
61598         (ERRNO_EDOM): Likewise.
61599         (ERRNO_ERANGE): Likewise.
61600         (IGNORE_RESULT): Likewise.
61601         (check_float_internal): Check signs of NaN results if
61602         TEST_NAN_SIGN used.
61603         (check_complex): Pass TEST_NAN_SIGN flag through to second
61604         check_float_internal call.
61605         (copysign_test_data): Add tests with quiet NaNs as second
61606         argument.  Use TEST_NAN_SIGN.
61607         (fabs_test_data): Add test of negative quiet NaN argument.  Use
61608         TEST_NAN_SIGN.
61609         (signbit_test_data): Add tests of quiet NaN argument.
61610         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
61612         * math/gen-libm-test.pl (show_exceptions): Take extra argument
61613         $ignore_result.
61614         (parse_args): Handle function results specified as IGNORE.
61615         * math/libm-test.inc (IGNORE_RESULT): New macro.
61616         (check_float_internal): Do not check numerical result if flag
61617         IGNORE_RESULT set.
61618         (check_complex): Pass through IGNORE_RESULT to second
61619         check_float_internal call.
61620         (check_int): Do not check numerical result if flag IGNORE_RESULT
61621         set.
61622         (check_long): Likewise.
61623         (check_bool): Likewise.
61624         (check_longlong): Likewise.
61625         (lrint_test_data): Add tests of infinite and NaN arguments.
61626         (lrint_tonearest_test_data): Likewise.
61627         (lrint_towardzero_test_data): Likewise.
61628         (lrint_downward_test_data): Likewise.
61629         (lrint_upward_test_data): Likewise.
61630         (llrint_test_data): Likewise.
61631         (llrint_tonearest_test_data): Likewise.
61632         (llrint_towardzero_test_data): Likewise.
61633         (llrint_downward_test_data): Likewise.
61634         (llrint_upward_test_data): Likewise.
61635         (lround_test_data): Likewise.
61636         (llround_test_data): Likewise.
61638         * math/libm-test.inc (NO_TEST_INLINE): New macro.
61639         (ERRNO_UNCHANGED): Update value.
61640         (ERRNO_EDOM): Likewise.
61641         (ERRNO_ERANGE): Likewise.
61642         (NO_TEST_INLINE_FLOAT): New macro.
61643         (NO_TEST_INLINE_DOUBLE): Likewise.
61644         (enable_test): New function.
61645         (RUN_TEST_f_f): Check enable_test before running test.
61646         (RUN_TEST_2_f): Likewise.
61647         (RUN_TEST_fff_f): Likewise.
61648         (RUN_TEST_c_f): Likewise.
61649         (RUN_TEST_f_f1): Likewise.
61650         (RUN_TEST_fF_f1): Likewise.
61651         (RUN_TEST_fI_f1): Likewise.
61652         (RUN_TEST_ffI_f1): Likewise.
61653         (RUN_TEST_c_c): Likewise.
61654         (RUN_TEST_cc_c): Likewise.
61655         (RUN_TEST_f_i): Likewise.
61656         (RUN_TEST_f_i_tg): Likewise.
61657         (RUN_TEST_ff_i_tg): Likewise.
61658         (RUN_TEST_f_b): Likewise.
61659         (RUN_TEST_f_b_tg): Likewise.
61660         (RUN_TEST_f_l): Likewise.
61661         (RUN_TEST_f_L): Likewise.
61662         (RUN_TEST_fFF_11): Likewise.
61663         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
61664         conditionals.
61665         (cosh_test_data): Likewise.
61666         (exp_test_data): Likewise.
61667         (expm1_test_data): Likewise.
61668         (hypot_test_data): Likewise.
61669         (pow_test_data): Likewise.
61670         (sinh_test_data): Likewise.
61671         (tanh_test_data): Likewise.
61672         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
61673         flags argument.
61675         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
61676         tests with quiet NaN input and output.
61677         (acosh_test_data): Likewise.
61678         (asin_test_data): Likewise.
61679         (asinh_test_data): Likewise.
61680         (atan_test_data): Likewise.
61681         (atanh_test_data): Likewise.
61682         (atan2_test_data): Likewise.
61683         (cbrt_test_data): Likewise.
61684         (cos_test_data): Likewise.
61685         (cosh_test_data): Likewise.
61686         (erf_test_data): Likewise.
61687         (erfc_test_data): Likewise.
61688         (exp_test_data): Likewise.
61689         (exp10_test_data): Likewise.
61690         (exp2_test_data): Likewise.
61691         (expm1_test_data): Likewise.
61692         (hypot_test_data): Likewise.
61693         (j0_test_data): Likewise.
61694         (j1_test_data): Likewise.
61695         (jn_test_data): Likewise.
61696         (lgamma_test_data): Likewise.
61697         (log_test_data): Likewise.
61698         (log10_test_data): Likewise.
61699         (log1p_test_data): Likewise.
61700         (log2_test_data): Likewise.
61701         (pow_test_data): Likewise.
61702         (scalb_test_data): Likewise.
61703         (sin_test_data): Likewise.
61704         (sincos_test_data): Likewise.
61705         (sinh_test_data): Likewise.
61706         (tan_test_data): Likewise.
61707         (tanh_test_data): Likewise.
61708         (tgamma_test_data): Likewise.
61709         (y0_test_data): Likewise.
61710         (y1_test_data): Likewise.
61711         (yn_test_data): Likewise.
61713         [BZ #16167]
61714         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
61715         argument being NaN and avoid computations with second argument in
61716         that case.
61717         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
61718         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
61719         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
61721 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
61723         * locale/iso-639.def: Add Chitwani Tharu (the).
61725 2013-11-14  Andreas Schwab  <schwab@suse.de>
61727         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
61728         word instead of empty string.
61730 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61733         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
61734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61735         (__fe_nomask_env): Likewise.
61737 2013-11-13  Steve Ellcey  <sellcey@mips.com>
61739         * benchtests/bench-timing.h: Include time.h.
61741 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
61743         [BZ #15997]
61744         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
61745         to 3.4.0 for x32.
61746         * sysdeps/unix/sysv/linux/configure: Regenerated.
61748 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
61750         [BZ #16151]
61751         * stdlib/strtod_l.c (round_and_return): Do not consider
61752         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
61753         exponent one less than half the least subnormal exponent.
61754         * stdlib/test-strtod-round-data: Add more tests.
61755         * stdlib/tst-strtod-round.c (tests): Regenerated.
61757 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61759         [BZ #14143]
61760         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
61761         (__fe_mask_env): Likewise.
61762         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
61763         libm_hidden_proto and add function prototype.
61764         (__fe_mask_env): Add function prototype.
61765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
61766         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
61767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
61768         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
61769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
61770         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
61772 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61774         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
61775         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
61777 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
61779         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
61780         of htab_find_slot().
61782 2013-11-11  David S. Miller  <davem@davemloft.net>
61784         [BZ #16150]
61785         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
61786         symbol in the non-vis3 case in static builds.
61787         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
61788         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
61789         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
61790         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
61792 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
61794         [BZ #387]
61795         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
61796         it is empty.
61798 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61800         * benchtests/Makefile: Add bench-strtod.
61801         * benchtests/bench-strtod.c: New file: strtod benchtest
61803 2013-11-11  Andreas Schwab  <schwab@suse.de>
61805         [BZ #16153]
61806         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
61807         terminating NUL in key length.
61809 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61811         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
61812         Add artificial ODP entry for vDSO symbol for PPC64.
61813         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
61814         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
61816 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
61818         [BZ #15374]
61819         * nss/getent.c (services_keys): Recognize services starting with digit.
61821 2013-11-06  David S. Miller  <davem@davemloft.net>
61823         [BZ #15985]
61824         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
61825         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
61827 2013-11-06  Will Newton  <will.newton@linaro.org>
61829         * manual/memory.texi (Malloc Examples): Remove register
61830         keyword from examples.
61832 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
61834         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
61836 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
61838         [BZ #6981]
61839         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
61840         depending on [__GCC_IEC_559 > 0].
61841         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
61842         depending on [__GCC_IEC_559_COMPLEX > 0].
61844 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
61846         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
61847         to iso-639.def.
61849 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
61851         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
61853 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
61855         [BZ #16112]
61856         * malloc/malloc (malloc_info): Do not handle first bin as
61857         special case.
61859 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61861         * locale/iso-639.def: Add Central Nahuatl (nhn).
61863 2013-11-01  Bruno Haible  <bruno@clisp.org>
61865         [BZ #7003]
61866         * manual/math.texi (BSD Random): Specify range upper bound as
61867         in POSIX.
61869 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61871         * locale/iso-639.def: Add Meadow Mari (mhr).
61873 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
61875         [BZ #14752], [BZ #15763]
61876         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61877         Validate name.
61878         * rt/tst_shm.c: Add test for escaping directory.
61880 2013-10-31  Andreas Schwab  <schwab@suse.de>
61882         [BZ #15917]
61883         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61884         followed by 'x' as part of digit sequence.
61885         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61887 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61889         [BZ #16037]
61890         * configure.ac: allow GNU Make 4.0 and greater.
61891         * configure: Regenerated.
61893 2013-10-30  Will Newton  <will.newton@linaro.org>
61895         [BZ #16038]
61896         * malloc/hooks.c (memalign_check): Limit alignment to the
61897         maximum representable power of two.
61898         * malloc/malloc.c (__libc_memalign): Likewise.
61899         * malloc/tst-memalign.c (do_test): Add test for very
61900         large alignment values.
61901         * malloc/tst-posix_memalign.c (do_test): Likewise.
61903 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61905         [BZ #11087]
61906         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61907         (munmap_chunk): Likewise.
61908         (mremap_chunk): Likewise.
61910 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61912         [BZ #15799]
61913         * stdlib/div.c (div): Remove obsolete code.
61914         * stdlib/ldiv.c (ldiv): Likewise.
61915         * stdlib/lldiv.c (lldiv): Likewise.
61917 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61919         [BZ #16071]
61920         * nss/nss_files/files-XXX.c (get_contents_ret): New
61921         enumerator.
61922         (get_contents): New function.
61923         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61925 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61927         * configure.in: Moved to ...
61928         * configure.ac: ... here. Change reference to configure.in
61929         to configure.ac.
61930         * sysdeps/arm/preconfigure.ac: ... here.
61931         configure.in to configure.ac.
61932         * sysdeps/gnu/configure.in: Moved to ...
61933         * sysdeps/gnu/configure.ac: ... here.
61934         * sysdeps/i386/configure.in: Moved to ...
61935         * sysdeps/i386/configure.ac: ... here.
61936         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61937         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61938         * sysdeps/mach/configure.in: Moved to ...
61939         * sysdeps/mach/configure.ac: ... here.
61940         * sysdeps/mach/hurd/configure.in: Moved to ...
61941         * sysdeps/mach/hurd/configure.ac: ... here.
61942         * sysdeps/powerpc/configure.in: Moved to ...
61943         * sysdeps/powerpc/configure.ac: ... here.
61944         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61945         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61946         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61947         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61948         * sysdeps/s390/s390-32/configure.in: Moved to ...
61949         * sysdeps/s390/s390-32/configure.ac: ... here.
61950         * sysdeps/s390/s390-64/configure.in: Moved to ...
61951         * sysdeps/s390/s390-64/configure.ac: ... here.
61952         * sysdeps/sh/configure.in: Moved to ...
61953         * sysdeps/sh/configure.ac: ... here.
61954         * sysdeps/sparc/configure.in: Moved to ...
61955         * sysdeps/sparc/configure.ac: ... here.
61956         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61957         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61958         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61959         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61960         * sysdeps/x86_64/configure.in: Moved to ...
61961         * sysdeps/x86_64/configure.ac: ... here.
61962         * sysdeps/x86_64/preconfigure.in: Moved to ...
61963         * sysdeps/x86_64/preconfigure.ac: ... here.
61964         * aclocal.m4: Change reference to configure.in to configure.ac.
61965         * config.h.in: Likewise.
61966         * manual/install.texi: Likewise.
61967         * manual/maint.texi: Likewise.
61968         * Makefile: Likewise.
61969         * malloc/Makefile: Likewise.
61970         * nscd/Makefile: Likewise.
61971         * Makeconfig: Change reference to configure.in and
61972         preconfigure.in to configure.ac and preconfigure.ac
61973         respectively.
61974         * INSTALL: Regenerated.
61975         * configure: Likewise.
61976         * sysdeps/gnu/configure: Likewise.
61977         * sysdeps/i386/configure: Likewise.
61978         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61979         * sysdeps/mach/configure: Likewise.
61980         * sysdeps/mach/hurd/configure: Likewise.
61981         * sysdeps/powerpc/configure: Likewise.
61982         * sysdeps/powerpc/powerpc32/configure: Likewise.
61983         * sysdeps/powerpc/powerpc64/configure: Likewise.
61984         * sysdeps/s390/s390-32/configure: Likewise.
61985         * sysdeps/s390/s390-64/configure: Likewise.
61986         * sysdeps/sh/configure: Likewise.
61987         * sysdeps/sparc/configure: Likewise.
61988         * sysdeps/unix/sysv/linux/configure: Likewise.
61989         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61990         * sysdeps/x86_64/configure: Likewise.
61991         * sysdeps/x86_64/preconfigure: Likewise.
61993 2013-10-29  Andreas Schwab  <schwab@suse.de>
61995         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61997 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61999         * benchtests/pow-inputs: Add new inputs.
62001         * benchtests/exp-inputs: Add new inputs.
62003         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
62004         conditional check for return value.
62005         (__cos32): Likewise.
62007 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62009         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
62010         to provide a boost for large inputs with word alignment.
62011         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
62012         implementation based on optimized PPC64 strcpy.
62013         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
62014         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
62015         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
62016         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
62018 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
62020         [BZ #2801]
62021         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
62023 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
62025         [BZ #14876]
62026         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
62027         * time/tst-strptime.c (day_tests): Add testcase.
62029 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
62031         [BZ #14029]
62032         * manual/pattern.texi: Acknowledge that fnmatch can fail.
62034 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
62036         [BZ #16074]
62037         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
62038         MAP_FAILED on error.
62040 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62042         [BZ #16072]
62043         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
62044         heap for large requests.
62046 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
62048         [BZ #9954]
62049         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
62050         result if the result has no associated interface.
62051         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
62052         interface for all 127.X.Y.Z addresses.
62054 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
62056         * locale/iso-639.def: Add Ligurian (lij)
62058 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
62060         [BZ #15825]
62061         * sunrpc/rpc_main.c: Document rpcgen -5.
62063 2013-10-19  Michael Stahl  <mstahl@redhat.com>
62065         * elf/rtld.c (do_preload): Print the reason why preloading failed.
62067 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
62069         [BZ #10278]
62070         * posix/glob.c: Match only directories when trailing slash is present.
62071         * posix/tst-gnuglob.c (my_opendir): Do not open files.
62072         (main): Add testcase.
62074 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
62076         [BZ #15670]
62077         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
62079 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
62081         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
62082         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
62083         AUTH_DES and cindex for FIPS 140-2.
62084         (DES Encryption): Add cindex FIPS 46-3.
62086         * locale/locarchive.h (struct locarhandle): Add fname.
62087         * locale/programs/localedef.c (main): Pass ARGV[remaining]
62088         if an optional argument was specified to --list-archive,
62089         otherwise NULL.
62090         * locale/programs/locarchive.c (show_archive_content): Take new
62091         argument fname and pass it via ah.fname to open_archive.
62092         * locale/programs/localedef.h: Update decl.
62093         (open_archive): If AH->fname is non-null, open that file
62094         rather than the default file name, and don't ignore ENOENT.
62095         (create_archive): Set AH.fname to NULL.
62096         (delete_locales_from_archive): Likewise.
62097         (add_locales_to_archive): Likewise.
62098         * locale/programs/locfile.c (write_all_categories): Likewise.
62100 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
62101             Aldy Hernandez  <aldyh@redhat.com>
62103         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
62104         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
62105         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
62106         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
62107         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
62108         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
62109         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
62110         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
62111         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
62112         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
62113         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
62114         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
62115         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
62116         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
62117         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
62118         Likewise.
62119         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
62120         Likewise.
62121         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
62122         Likewise.
62123         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
62124         Likewise.
62125         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
62126         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
62127         Likewise.
62128         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
62129         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
62130         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
62131         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
62132         Likewise.
62133         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
62134         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
62135         * sysdeps/powerpc/preconfigure: Likewise.
62136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
62137         Likewise.
62138         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
62139         Replace contents of file by #include of <fenv_libc.h>.
62140         * sysdeps/powerpc/soft-fp/sfp-machine.h
62141         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
62142         and <sys/prctl.h>.
62143         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
62144         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
62145         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
62146         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
62147         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
62148         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
62149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
62150         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
62151         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
62152         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
62153         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
62154         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
62155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
62156         Allow copysignl PLT reference to be missing.
62158 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
62159             Joseph Myers  <joseph@codesourcery.com>
62161         [BZ #15948]
62162         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
62163         single character.
62164         (add_to_tablewc): Assert sequence of wide characters is nonempty.
62166 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62168         * elf/tst-tls-dlinfo.c: Don't include tls.h.
62169         * elf/tst-tls1.c: Likewise.
62170         * elf/tst-tls10.h: Likewise.
62171         * elf/tst-tls14.c: Likewise.
62172         * elf/tst-tls2.c: Likewise.
62173         * elf/tst-tls3.c: Likewise.
62174         * elf/tst-tls4.c: Likewise.
62175         * elf/tst-tls5.c: Likewise.
62176         * elf/tst-tls6.c: Likewise.
62177         * elf/tst-tls7.c: Likewise.
62178         * elf/tst-tls8.c: Likewise.
62179         * elf/tst-tls9.c: Likewise.
62180         * elf/tst-tlsmod1.c: Likewise.
62181         * elf/tst-tlsmod13.c: Likewise.
62182         * elf/tst-tlsmod13a.c: Likewise.
62183         * elf/tst-tlsmod14a.c: Likewise.
62184         * elf/tst-tlsmod16a.c: Likewise.
62185         * elf/tst-tlsmod16b.c: Likewise.
62186         * elf/tst-tlsmod2.c: Likewise.
62187         * elf/tst-tlsmod3.c: Likewise.
62188         * elf/tst-tlsmod4.c: Likewise.
62189         * elf/tst-tlsmod5.c: Likewise.
62190         * elf/tst-tlsmod6.c: Likewise.
62192 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
62194         [BZ #12486]
62195         * malloc/malloc.c: remove checks for statistics.
62197 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
62199         [BZ #15277]
62200         * inet/inet_net.c (inet_network): Detect additional invalid strings.
62201         * inet/tst-network.c: Add testcase.
62203 2013-10-17  Andreas Schwab  <schwab@suse.de>
62205         [BZ #15218]
62206         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
62207         to determine canonical name.
62209 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
62211         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
62212         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
62213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62214         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
62215         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62216         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
62217         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
62218         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
62219         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
62220         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
62221         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
62222         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
62223         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
62224         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
62225         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
62226         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
62227         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62228         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62229         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
62230         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
62231         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62232         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62233         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62234         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
62235         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
62236         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62237         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62238         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
62239         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62240         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
62241         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
62242         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62243         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
62244         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
62245         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
62246         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
62247         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
62248         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
62249         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
62250         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
62251         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
62252         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
62253         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
62254         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
62255         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
62256         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
62257         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
62258         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
62259         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
62260         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
62261         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
62262         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
62263         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
62264         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
62265         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62266         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
62267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62268         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
62270 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
62272         [BZ #16041]
62273         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
62274         make result into a quiet NaN.
62276 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
62278         * soft-fp/adddf3.c: Fix horizontal whitespace.
62279         * soft-fp/addsf3.c: Likewise.
62280         * soft-fp/addtf3.c: Likewise.
62281         * soft-fp/divdf3.c: Likewise.
62282         * soft-fp/divsf3.c: Likewise.
62283         * soft-fp/divtf3.c: Likewise.
62284         * soft-fp/double.h: Likewise.
62285         * soft-fp/eqdf2.c: Likewise.
62286         * soft-fp/eqsf2.c: Likewise.
62287         * soft-fp/eqtf2.c: Likewise.
62288         * soft-fp/extenddftf2.c: Likewise.
62289         * soft-fp/extended.h: Likewise.
62290         * soft-fp/extendsfdf2.c: Likewise.
62291         * soft-fp/extendsftf2.c: Likewise.
62292         * soft-fp/extendxftf2.c: Likewise.
62293         * soft-fp/fixdfdi.c: Likewise.
62294         * soft-fp/fixdfsi.c: Likewise.
62295         * soft-fp/fixdfti.c: Likewise.
62296         * soft-fp/fixsfdi.c: Likewise.
62297         * soft-fp/fixsfsi.c: Likewise.
62298         * soft-fp/fixsfti.c: Likewise.
62299         * soft-fp/fixtfdi.c: Likewise.
62300         * soft-fp/fixtfsi.c: Likewise.
62301         * soft-fp/fixtfti.c: Likewise.
62302         * soft-fp/fixunsdfdi.c: Likewise.
62303         * soft-fp/fixunsdfsi.c: Likewise.
62304         * soft-fp/fixunsdfti.c: Likewise.
62305         * soft-fp/fixunssfdi.c: Likewise.
62306         * soft-fp/fixunssfsi.c: Likewise.
62307         * soft-fp/fixunssfti.c: Likewise.
62308         * soft-fp/fixunstfdi.c: Likewise.
62309         * soft-fp/fixunstfsi.c: Likewise.
62310         * soft-fp/fixunstfti.c: Likewise.
62311         * soft-fp/floatdidf.c: Likewise.
62312         * soft-fp/floatdisf.c: Likewise.
62313         * soft-fp/floatditf.c: Likewise.
62314         * soft-fp/floatsidf.c: Likewise.
62315         * soft-fp/floatsisf.c: Likewise.
62316         * soft-fp/floatsitf.c: Likewise.
62317         * soft-fp/floattidf.c: Likewise.
62318         * soft-fp/floattisf.c: Likewise.
62319         * soft-fp/floattitf.c: Likewise.
62320         * soft-fp/floatundidf.c: Likewise.
62321         * soft-fp/floatundisf.c: Likewise.
62322         * soft-fp/floatunditf.c: Likewise.
62323         * soft-fp/floatunsidf.c: Likewise.
62324         * soft-fp/floatunsisf.c: Likewise.
62325         * soft-fp/floatunsitf.c: Likewise.
62326         * soft-fp/floatuntidf.c: Likewise.
62327         * soft-fp/floatuntisf.c: Likewise.
62328         * soft-fp/floatuntitf.c: Likewise.
62329         * soft-fp/fmadf4.c: Likewise.
62330         * soft-fp/fmasf4.c: Likewise.
62331         * soft-fp/fmatf4.c: Likewise.
62332         * soft-fp/gedf2.c: Likewise.
62333         * soft-fp/gesf2.c: Likewise.
62334         * soft-fp/getf2.c: Likewise.
62335         * soft-fp/ledf2.c: Likewise.
62336         * soft-fp/lesf2.c: Likewise.
62337         * soft-fp/letf2.c: Likewise.
62338         * soft-fp/muldf3.c: Likewise.
62339         * soft-fp/mulsf3.c: Likewise.
62340         * soft-fp/multf3.c: Likewise.
62341         * soft-fp/negdf2.c: Likewise.
62342         * soft-fp/negsf2.c: Likewise.
62343         * soft-fp/negtf2.c: Likewise.
62344         * soft-fp/op-1.h: Likewise.
62345         * soft-fp/op-2.h: Likewise.
62346         * soft-fp/op-4.h: Likewise.
62347         * soft-fp/op-8.h: Likewise.
62348         * soft-fp/op-common.h: Likewise.
62349         * soft-fp/quad.h: Likewise.
62350         * soft-fp/single.h: Likewise.
62351         * soft-fp/soft-fp.h: Likewise.
62352         * soft-fp/sqrtdf2.c: Likewise.
62353         * soft-fp/sqrtsf2.c: Likewise.
62354         * soft-fp/sqrttf2.c: Likewise.
62355         * soft-fp/subdf3.c: Likewise.
62356         * soft-fp/subsf3.c: Likewise.
62357         * soft-fp/subtf3.c: Likewise.
62358         * soft-fp/truncdfsf2.c: Likewise.
62359         * soft-fp/trunctfdf2.c: Likewise.
62360         * soft-fp/trunctfsf2.c: Likewise.
62361         * soft-fp/trunctfxf2.c: Likewise.
62362         * soft-fp/unorddf2.c: Likewise.
62363         * soft-fp/unordsf2.c: Likewise.
62364         * soft-fp/unordtf2.c: Likewise.
62366 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
62368         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
62369         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
62371 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
62373         * elf/dl-libc.c: Clear initfini list after freeing.
62375 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
62377         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
62378         * soft-fp/addsf3.c: Likewise.
62379         * soft-fp/addtf3.c: Likewise.
62380         * soft-fp/divdf3.c: Likewise.
62381         * soft-fp/divsf3.c: Likewise.
62382         * soft-fp/divtf3.c: Likewise.
62383         * soft-fp/double.h: Likewise.
62384         * soft-fp/eqdf2.c: Likewise.
62385         * soft-fp/eqsf2.c: Likewise.
62386         * soft-fp/eqtf2.c: Likewise.
62387         * soft-fp/extenddftf2.c: Likewise.
62388         * soft-fp/extended.h: Likewise.
62389         * soft-fp/extendsfdf2.c: Likewise.
62390         * soft-fp/extendsftf2.c: Likewise.
62391         * soft-fp/extendxftf2.c: Likewise.
62392         * soft-fp/fixdfdi.c: Likewise.
62393         * soft-fp/fixdfsi.c: Likewise.
62394         * soft-fp/fixdfti.c: Likewise.
62395         * soft-fp/fixsfdi.c: Likewise.
62396         * soft-fp/fixsfsi.c: Likewise.
62397         * soft-fp/fixsfti.c: Likewise.
62398         * soft-fp/fixtfdi.c: Likewise.
62399         * soft-fp/fixtfsi.c: Likewise.
62400         * soft-fp/fixtfti.c: Likewise.
62401         * soft-fp/fixunsdfdi.c: Likewise.
62402         * soft-fp/fixunsdfsi.c: Likewise.
62403         * soft-fp/fixunsdfti.c: Likewise.
62404         * soft-fp/fixunssfdi.c: Likewise.
62405         * soft-fp/fixunssfsi.c: Likewise.
62406         * soft-fp/fixunssfti.c: Likewise.
62407         * soft-fp/fixunstfdi.c: Likewise.
62408         * soft-fp/fixunstfsi.c: Likewise.
62409         * soft-fp/fixunstfti.c: Likewise.
62410         * soft-fp/floatdidf.c: Likewise.
62411         * soft-fp/floatdisf.c: Likewise.
62412         * soft-fp/floatditf.c: Likewise.
62413         * soft-fp/floatsidf.c: Likewise.
62414         * soft-fp/floatsisf.c: Likewise.
62415         * soft-fp/floatsitf.c: Likewise.
62416         * soft-fp/floattidf.c: Likewise.
62417         * soft-fp/floattisf.c: Likewise.
62418         * soft-fp/floattitf.c: Likewise.
62419         * soft-fp/floatundidf.c: Likewise.
62420         * soft-fp/floatundisf.c: Likewise.
62421         * soft-fp/floatunsidf.c: Likewise.
62422         * soft-fp/floatunsisf.c: Likewise.
62423         * soft-fp/floatuntidf.c: Likewise.
62424         * soft-fp/floatuntisf.c: Likewise.
62425         * soft-fp/floatuntitf.c: Likewise.
62426         * soft-fp/fmadf4.c: Likewise.
62427         * soft-fp/fmasf4.c: Likewise.
62428         * soft-fp/fmatf4.c: Likewise.
62429         * soft-fp/gedf2.c: Likewise.
62430         * soft-fp/gesf2.c: Likewise.
62431         * soft-fp/getf2.c: Likewise.
62432         * soft-fp/ledf2.c: Likewise.
62433         * soft-fp/lesf2.c: Likewise.
62434         * soft-fp/letf2.c: Likewise.
62435         * soft-fp/muldf3.c: Likewise.
62436         * soft-fp/mulsf3.c: Likewise.
62437         * soft-fp/multf3.c: Likewise.
62438         * soft-fp/negdf2.c: Likewise.
62439         * soft-fp/negsf2.c: Likewise.
62440         * soft-fp/negtf2.c: Likewise.
62441         * soft-fp/op-1.h: Likewise.
62442         * soft-fp/op-2.h: Likewise.
62443         * soft-fp/op-4.h: Likewise.
62444         * soft-fp/op-8.h: Likewise.
62445         * soft-fp/op-common.h: Likewise.
62446         * soft-fp/quad.h: Likewise.
62447         * soft-fp/single.h: Likewise.
62448         * soft-fp/soft-fp.h: Likewise.
62449         * soft-fp/sqrtdf2.c: Likewise.
62450         * soft-fp/sqrtsf2.c: Likewise.
62451         * soft-fp/sqrttf2.c: Likewise.
62452         * soft-fp/subdf3.c: Likewise.
62453         * soft-fp/subsf3.c: Likewise.
62454         * soft-fp/subtf3.c: Likewise.
62455         * soft-fp/truncdfsf2.c: Likewise.
62456         * soft-fp/trunctfdf2.c: Likewise.
62457         * soft-fp/trunctfsf2.c: Likewise.
62458         * soft-fp/trunctfxf2.c: Likewise.
62459         * soft-fp/unorddf2.c: Likewise.
62460         * soft-fp/unordsf2.c: Likewise.
62461         * soft-fp/unordtf2.c: Likewise.
62463 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
62465         [BZ #15672]
62466         * misc/error.c (error_tail): Fix possible buffer overflow.
62468 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
62470         [BZ #13028]
62471         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
62472         address.
62474 2013-10-14  P. J. McDermott  <pj@pehjota.net>
62476         [BZ #832]
62477         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
62478         testing pipefail option.
62480 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62482         * soft-fp/double.h: Indent preprocessor directives inside #if.
62483         * soft-fp/extended.h: Likewise.
62484         * soft-fp/op-2.h: Likewise.
62485         * soft-fp/op-4.h: Likewise.
62486         * soft-fp/op-common.h: Likewise.
62487         * soft-fp/quad.h: Likewise.
62488         * soft-fp/single.h: Likewise.
62489         * soft-fp/soft-fp.h: Likewise.
62491 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
62493         * iconv/iconv_prog.c: Fix typos.
62494         * stdio-common/psiginfo-data.h: Likewise.
62496 2013-10-12   Reuben Thomas <rrt@sc3d.org>
62498         [BZ #15764]
62499         * locale/setlocale.c: Fix typo.
62501 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
62503         [BZ #16036]
62504         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
62505         signaling NaN arguments.
62506         * soft-fp/unordsf2.c (__unordsf2): Likewise.
62507         * soft-fp/unordtf2.c (__unordtf2): Likewise.
62509         [BZ #14910]
62510         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
62511         unordered operands.
62512         * soft-fp/gesf2.c (__gesf2): Likewise.
62513         * soft-fp/getf2.c (__getf2): Likewise.
62514         * soft-fp/ledf2.c (__ledf2): Likewise.
62515         * soft-fp/lesf2.c (__lesf2): Likewise.
62516         * soft-fp/letf2.c (__letf2): Likewise.
62518         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
62519         * soft-fp/eqsf2.c (__eqsf2): Likewise.
62520         * soft-fp/eqtf2.c (__eqtf2): Likewise.
62521         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
62522         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
62523         * soft-fp/fixdfti.c (__fixdfti): Likewise.
62524         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
62525         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
62526         * soft-fp/fixsfti.c (__fixsfti): Likewise.
62527         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
62528         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
62529         * soft-fp/fixtfti.c (__fixtfti): Likewise.
62530         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
62531         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
62532         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
62533         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
62534         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
62535         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
62536         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
62537         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
62538         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
62539         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
62540         * soft-fp/floatdisf.c (__floatdisf): Likewise.
62541         * soft-fp/floatsisf.c (__floatsisf): Likewise.
62542         * soft-fp/floattidf.c (__floattidf): Likewise.
62543         * soft-fp/floattisf.c (__floattisf): Likewise.
62544         * soft-fp/floattitf.c (__floattitf): Likewise.
62545         * soft-fp/floatundidf.c (__floatundidf): Likewise.
62546         * soft-fp/floatundisf.c (__floatundisf): Likewise.
62547         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
62548         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
62549         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
62550         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
62551         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
62552         * soft-fp/gesf2.c (__gesf2): Likewise.
62553         * soft-fp/getf2.c (__getf2): Likewise.
62554         * soft-fp/ledf2.c (__ledf2): Likewise.
62555         * soft-fp/lesf2.c (__lesf2): Likewise.
62556         * soft-fp/letf2.c (__letf2): Likewise.
62558         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
62559         Undefine and redefine.
62560         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
62561         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
62562         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
62563         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
62564         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62565         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
62566         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62567         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
62568         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62569         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
62570         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62571         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
62572         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62573         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
62574         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
62576         [BZ #16032]
62577         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
62578         without decrementing exponent if mantissa >= that for the
62579         denominator, not >.
62580         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
62581         denominator, not >.  Decrement exponent in < case instead of
62582         incrementing in >= case.
62583         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
62584         without decrementing exponent if mantissa >= that for the
62585         denominator, not >.
62587         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
62588         computing saturated result for unsigned overflow.
62590 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62591             Jeff Law  <law@redhat.com>
62593         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
62594         (atan2Mp): Add systemtap probe marker.
62595         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
62596         (__ieee754_log): Add systemtap probe marker.
62597         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
62598         (atanMp): Add systemtap probe marker.
62599         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
62600         (tanMp): Add systemtap probe marker.
62601         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
62602         (__slowexp): Add systemtap probe marker.
62603         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
62604         (__slowpow): Add systemtap probe marker.
62605         * manual/probes.texi: Document probes.
62607 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
62609         [BZ #15362]
62610         * libio/fileops.c (_IO_new_file_write): Return count of bytes
62611         written.
62612         (_IO_new_file_xsputn): Don't return EOF if nothing has been
62613         written.
62614         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
62615         written to buffer but not flushed.
62616         * libio/iofwrite_u.c:  Likewise.
62617         * libio/iopadn.c:  Return bytes returned even if EOF was
62618         encountered.
62619         * libio/iowpadn.c:  Likewise.
62620         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
62621         if _IO_padn does not write the whole buffer.
62622         [!COMPILE_WPRINTF] (PAD): Likewise.
62624 2013-10-10  David S. Miller  <davem@davemloft.net>
62626         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
62627         directory block.
62629 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62631         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
62632         instead of FSF address.
62633         * soft-fp/fixdfti.c: Likewise.
62634         * soft-fp/fixsfti.c: Likewise.
62635         * soft-fp/fixtfti.c: Likewise.
62636         * soft-fp/fixunsdfti.c: Likewise.
62637         * soft-fp/fixunssfti.c: Likewise.
62638         * soft-fp/fixunstfti.c: Likewise.
62639         * soft-fp/floattidf.c: Likewise.
62640         * soft-fp/floattisf.c: Likewise.
62641         * soft-fp/floattitf.c: Likewise.
62642         * soft-fp/floatuntidf.c: Likewise.
62643         * soft-fp/floatuntisf.c: Likewise.
62644         * soft-fp/floatuntitf.c: Likewise.
62645         * soft-fp/trunctfxf2.c: Likewise.
62647         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
62648         * soft-fp/fixdfti.c: Likewise.
62649         * soft-fp/fixsfti.c: Likewise.
62650         * soft-fp/fixtfti.c: Likewise.
62651         * soft-fp/fixunsdfti.c: Likewise.
62652         * soft-fp/fixunssfti.c: Likewise.
62653         * soft-fp/fixunstfti.c: Likewise.
62654         * soft-fp/floattidf.c: Likewise.
62655         * soft-fp/floattisf.c: Likewise.
62656         * soft-fp/floattitf.c: Likewise.
62657         * soft-fp/floatuntidf.c: Likewise.
62658         * soft-fp/floatuntisf.c: Likewise.
62659         * soft-fp/floatuntitf.c: Likewise.
62660         * soft-fp/trunctfxf2.c: Likewise.
62662 2013-10-10  David S. Miller  <davem@davemloft.net>
62664         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62666 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
62668         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
62669         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
62670         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
62671         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
62672         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
62673         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
62674         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
62676         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
62677         for NaNs before doing comparisons on argument.
62678         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
62679         Likewise.
62681 2013-10-10  Will Newton  <will.newton@linaro.org>
62683         * malloc/hooks.c (memalign_check): Ensure the value of bytes
62684         passed to _int_memalign does not overflow.
62686 2013-10-10  Torvald Riegel  <triegel@redhat.com>
62688         * scripts/bench.pl: Add include-sources directive.
62689         * benchtests/README: Update documentation.
62691 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
62693         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
62694         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
62695         instead of FP_INIT_ROUNDMODE.
62696         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
62697         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
62699         [BZ #16034]
62700         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
62701         copy class of input value.
62702         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
62703         not handle exceptions.
62704         * soft-fp/negsf2.c (__negsf2): Likewise.
62705         * soft-fp/negtf2.c (__negtf2): Likewise.
62706         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
62708 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
62710         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
62711         semicolon.  From Linux kernel.
62713 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
62715         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
62717 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
62719         [BZ #156]
62720         * manual/socket.texi: Added statement about buffer
62721         for gethostbyname2_r.
62723 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
62725         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
62726         Use .p2align directive instead, throughout.
62727         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62728         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
62729         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
62730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62731         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62732         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
62733         * sysdeps/x86_64/strchr.S: Likewise.
62734         * sysdeps/x86_64/strrchr.S: Likewise.
62736 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62738         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
62740         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
62742         * sysdeps/generic/math_private.h (__mpsin1): Remove
62743         declaration.
62744         (__mpcos1): Likewise.
62745         (__mpsin): New argument __range_reduce.
62746         (__mpcos): Likewise.
62747         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62748         (slow): Use __mpsin and __mpcos.
62749         (slow1): Likewise.
62750         (slow2): Likewise.
62751         (sloww): Likewise.
62752         (sloww1): Likewise.
62753         (sloww2): Likewise.
62754         (bsloww): Likewise.
62755         (bsloww1): Likewise.
62756         (bsloww2): Likewise.
62757         (cslow2): Likewise.
62758         (csloww): Likewise.
62759         (csloww1): Likewise.
62760         (csloww2): Likewise.
62761         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
62762         range_reduce.  Merge in __mpsin1.
62763         (__mpcos): Likewise.
62764         (__mpsin1): Remove.
62765         (__mpcos1): Likewise.
62767 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
62769         * locale/loadlocale.c (_nl_intern_locale_data): Use
62770         LOCFILE_ALIGNED_P.
62771         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
62772         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
62773         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
62774         obstack data is appropriately aligned.
62775         (obstack_int32_grow_fast): Likewise.
62776         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
62777         * locale/programs/locfile.c (add_locale_uint32): Likewise.
62778         (add_locale_uint32_array): Likewise.
62780 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62782         * benchtests/Makefile: Remove ARGLIST and RET variables.
62783         ($(objpfx)bench-%.c): Pass only function name to the script.
62784         * benchtests/README: Update documentation.
62785         * benchtests/acos-inputs: Add new directives.
62786         * benchtests/acosh-inputs: Likewise.
62787         * benchtests/asin-inputs: Likewise.
62788         * benchtests/asinh-inputs: Likewise.
62789         * benchtests/atan-inputs: Likewise.
62790         * benchtests/atanh-inputs: Likewise.
62791         * benchtests/cos-inputs: Likewise.
62792         * benchtests/cosh-inputs: Likewise.
62793         * benchtests/exp-inputs: Likewise.
62794         * benchtests/log-inputs: Likewise.
62795         * benchtests/pow-inputs: Likewise.
62796         * benchtests/rint-inputs: Likewise.
62797         * benchtests/sin-inputs: Likewise.
62798         * benchtests/sinh-inputs: Likewise.
62799         * benchtests/tan-inputs: Likewise.
62800         * benchtests/tanh-inputs: Likewise.
62801         * scripts/bench.pl: Add support for new directives.
62803 2013-10-07  Alan Modra  <amodra@gmail.com>
62805         * README: Fix careless merge.
62807 2013-10-05  Alan Modra  <amodra@gmail.com>
62809         * NEWS: Mention powerpc64le support and bugs fixed.
62810         * README: Both big-endian and little-endian powerpc64 supported.
62812 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
62814         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
62815         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
62816         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
62817         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
62819 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
62821         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
62822         match prototype.
62824 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
62826         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
62827         Move -mhard-float appending from
62828         ports/sysdeps/powerpc/powerpc32/Makefile.
62829         [$(with-fp) = yes] (ASFLAGS): Likewise.
62830         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
62831         * sysdeps/powerpc/nofpu: Move directory from
62832         ports/sysdeps/powerpc/nofpu.
62833         * sysdeps/powerpc/soft-fp: Move directory from
62834         ports/sysdeps/powerpc/soft-fp.
62835         * sysdeps/powerpc/powerpc32/405: Move directory from
62836         ports/sysdeps/powerpc/powerpc32/405.
62837         * sysdeps/powerpc/powerpc32/440: Move directory from
62838         ports/sysdeps/powerpc/powerpc32/440.
62839         * sysdeps/powerpc/powerpc32/464: Move directory from
62840         ports/sysdeps/powerpc/powerpc32/464.
62841         * sysdeps/powerpc/powerpc32/476: Move directory from
62842         ports/sysdeps/powerpc/powerpc32/476.
62843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
62844         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
62845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
62846         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
62847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
62848         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
62849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
62850         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
62851         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
62852         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
62853         * README: Update for powerpc-*-linux-gnu software floating point
62854         support in libc.
62856         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
62857         case to powerpc/powerpc32*.
62858         * sysdeps/unix/sysv/linux/configure: Regenerated.
62860         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62861         (_FPU_MASK_OM): Define as 0x04.
62862         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62863         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62864         0x00c10080.
62865         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62866         0x0000003c.
62867         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62870         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62871         getcontext_e500.
62872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62873         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62874         setcontext_e500.
62875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62876         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62877         and setcontext_e500.
62879 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62881         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62883 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62885         * manual/threads.texi (Default Thread Attributes): Fix typo.
62887 2013-10-04  Will Newton  <will.newton@linaro.org>
62889         * malloc/Makefile: Add tst-memalign.
62890         * malloc/tst-memalign.c: New file.
62892         * malloc/tst-posix_memalign.c: Add comments.
62893         (do_test): Add comments and call free on all potentially
62894         allocated pointers. Add space after cast.
62896         * malloc/tst-pvalloc.c: Add comments.
62897         (do_test): Add comments and call free on all potentially
62898         allocated pointers. Remove duplicate check for NULL pointer.
62899         Add space after cast.
62901         * malloc/tst-valloc.c: Add comments.
62902         (do_test): Add comments and call free on all potentially
62903         allocated pointers. Remove duplicate check for NULL pointer.
62904         Add space after cast.
62906 2013-10-04  Alan Modra  <amodra@gmail.com>
62908         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62909         Use stdint types in rather than __attribute__((mode())).
62910         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62912 2013-10-04  Alan Modra  <amodra@gmail.com>
62914         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62915         Correct handling of unaligned relocs for little-endian.
62916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62918 2013-10-04  Alan Modra  <amodra@gmail.com>
62920         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62921         * configure: Regenerate.
62922         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62923         * shlib-versions: Likewise.
62925 2013-10-04  Alan Modra  <amodra@gmail.com>
62927         * string/tester.c (test_memrchr): Increment reported test cycle.
62929 2013-10-04  Alan Modra  <amodra@gmail.com>
62931         * string/test-memcpy.c (do_one_test): When reporting errors, print
62932         string address and don't overrun end of string.
62934 2013-10-04  Alan Modra  <amodra@gmail.com>
62936         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62937         insrdi.  Make better use of reg selection to speed exit slightly.
62938         Schedule entry path a little better.  Remove useless "are we done"
62939         checks on entry to main loop.  Handle wrapping around zero address.
62940         Correct main loop count.  Handle single left-over word from main
62941         loop inline rather than by using loop_small.  Remove extra word
62942         case in loop_small caused by wrong loop count.  Add little-endian
62943         support.
62944         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62945         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62946         cache hint.
62947         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62948         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62949         support.  Avoid rlwimi.
62950         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62952 2013-10-04  Alan Modra  <amodra@gmail.com>
62954         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62955         insrdi.  Formatting.
62956         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62957         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62958         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62959         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62960         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62961         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62963 2013-10-04  Alan Modra  <amodra@gmail.com>
62965         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62966         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62967         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62968         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62969         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62970         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62971         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62972         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62973         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62974         use of regs.  Use power7 mtocrf.  Tidy function tails.
62976 2013-10-04  Alan Modra  <amodra@gmail.com>
62978         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62979         Formatting.  Consistently use rXXX register defines or rN defines.
62980         Use early exit labels that avoid restoring unused non-volatile regs.
62981         Make cr field use more consistent with rWORDn compares.  Rename
62982         regs used as shift registers for unaligned loop, using rN defines
62983         for short lifetime/multiple use regs.
62984         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62985         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62986         addi 1,1,64 to pop stack frame.  Simplify return value code.
62987         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62989 2013-10-04  Alan Modra  <amodra@gmail.com>
62991         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62992         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62993         rather than rlwimi.
62994         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62995         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62996         little-endian support.  Correct typos.
62997         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62998         rather than rlwimi.
62999         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
63000         in loop and entry code to keep "and." results.
63001         (strchr): Add little-endian support.  Comment.  Move cntlzd
63002         earlier in tail.
63003         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
63005 2013-10-04  Alan Modra  <amodra@gmail.com>
63007         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
63008         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
63009         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
63010         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
63012 2013-10-04  Alan Modra  <amodra@gmail.com>
63014         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
63015         (rTMP): Define as r11.
63016         (strcmp): Add little-endian support.  Optimise tail.
63017         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
63018         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
63019         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
63020         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
63021         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
63022         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
63023         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
63025 2013-10-04  Alan Modra  <amodra@gmail.com>
63027         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
63028         little-endian support.  Remove unnecessary "are we done" tests.
63029         Handle "s" wrapping around zero and extremely large "size".
63030         Correct main loop count.  Handle single left-over word from main
63031         loop inline rather than by using small_loop.  Correct comments.
63032         Delete "zero" tail, use "end_max" instead.
63033         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
63035 2013-10-04  Alan Modra  <amodra@gmail.com>
63037         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
63038         support.  Don't branch over align.
63039         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
63040         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
63041         support.  Rearrange tmp reg use to suit.  Comment.
63042         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
63044 2013-10-04  Alan Modra  <amodra@gmail.com>
63046         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
63048 2013-10-04  Alan Modra  <amodra@gmail.com>
63050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
63051         conditional form of branch and link when obtaining pc.
63052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
63054 2013-10-04  Alan Modra  <amodra@gmail.com>
63056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
63057         HIWORD/LOWORD.
63058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
63059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
63061 2013-10-04  Alan Modra  <amodra@gmail.com>
63063         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
63064         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
63065         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
63066         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
63067         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
63068         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63069         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
63070         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63071         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
63072         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
63074 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63075             Alistair Popple <alistair@ozlabs.au.ibm.com>
63076             Alan Modra <amodra@gmail.com>
63078         [BZ #15723]
63079         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
63080         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
63081         _dl_hwcap access for little-endian.
63082         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
63083         destroy vmx regs when saving unaligned.
63084         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
63085         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
63086         destroy vmx regs when saving unaligned.
63088 2013-10-04  Alan Modra  <amodra@gmail.com>
63090         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
63091         Don't use a union to pack hi/low value.
63093 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63095         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
63096         for little-endian.
63097         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
63098         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
63099         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
63100         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
63101         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
63103 2013-10-04  Alan Modra  <amodra@gmail.com>
63105         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
63106         constants to usual value for .cst8 section, and remove redundant
63107         high address load.
63108         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
63109         constant for 0x1p52.  Load little-endian words of double from
63110         correct stack offsets.
63112 2013-10-04  Alan Modra  <amodra@gmail.com>
63114         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
63115         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
63116         words of double from correct stack offsets.
63117         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
63118         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
63119         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
63120         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
63121         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
63122         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
63123         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
63124         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
63125         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
63126         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
63127         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
63128         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
63129         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
63130         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
63131         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
63132         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
63133         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
63135 2013-10-04  Alan Modra  <amodra@gmail.com>
63137         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
63138         64-bit int/double union.
63139         (_FPU_SETCW): Likewise.
63140         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
63141         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
63143 2013-10-04  Alan Modra  <amodra@gmail.com>
63145         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
63146         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
63148 2013-10-04  Alan Modra  <amodra@gmail.com>
63150         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
63151         use vector int constants.
63152         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
63154 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63156         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
63157         array with long long.
63158         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
63159         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
63160         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
63161         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
63162         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
63163         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
63164         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
63165         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
63166         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
63167         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
63168         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
63169         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
63170         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
63172 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
63174         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
63175         (__signbit): Likewise.  Correct for little-endian.
63176         (__signbitl): Call __signbit.
63177         (lrint): Correct for little-endian.
63178         (lrintf): Call lrint.
63180 2013-10-04  Alan Modra  <amodra@gmail.com>
63182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
63183         union 32-bit int array member with 64-bit int array.
63184         (t515, tm256): Double rather than long double.
63185         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
63187 2013-10-04  Alan Modra  <amodra@gmail.com>
63189         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
63190         Delete.
63191         (IEEE854_LONG_DOUBLE_BIAS): Delete.
63192         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
63193         version of math_ldbl.h.
63195 2013-10-04  Alan Modra  <amodra@gmail.com>
63197         [BZ #15734], [BZ #15735]
63198         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
63199         all uses of ieee875 long double macros and unions.  Simplify test
63200         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
63201         ldbl_extract_mantissa value for ix,iy exponents.  Properly
63202         normalize after ldbl_extract_mantissa, and don't add hidden bit
63203         already handled.  Don't treat low word of ieee854 mantissa like
63204         low word of IBM long double and mask off bit when testing for
63205         zero.
63206         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
63207         all uses of ieee875 long double macros and unions.  Simplify tests
63208         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
63209         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
63210         two1022, instead use their values.  Recognise that tests for large
63211         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
63212         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
63213         Rewrite all uses of ieee875 long double macros and unions.  Simplify
63214         test for 0.0L and nan.  Correct negation.
63215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
63216         ieee875 long double macros and unions.  Correct output for large
63217         magnitude x.  Correct absolute value calculation.
63218         (__erfcl): Likewise.
63219         * math/libm-test.inc: Add tests for errors discovered in IBM long
63220         double versions of fmodl, remainderl, erfl and erfcl.
63222 2013-10-04  Alan Modra  <amodra@gmail.com>
63224         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
63225         all uses of ieee854 long double macros and unions.  Simplify tests
63226         for long doubles that are fully specified by the high double.
63227         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
63228         Likewise.
63229         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
63230         Remove dead code too.
63231         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
63232         (__ieee754_ynl): Likewise.
63233         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
63234         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
63235         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
63236         Remove dead code too.
63237         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
63238         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
63239         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
63240         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
63241         Simplify.
63242         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
63243         Simplify.
63244         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
63245         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
63246         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
63247         Comment on variable precision.
63248         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
63249         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
63250         Likewise.
63251         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
63252         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
63253         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
63254         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
63255         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
63257 2013-10-04  Alan Modra  <amodra@gmail.com>
63259         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
63260         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
63261         all uses of ieee854 long double macros and unions.
63262         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
63263         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
63264         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
63265         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
63266         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
63267         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63268         Likewise.
63269         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
63270         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
63271         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
63272         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
63273         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
63274         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
63275         Simplify sign and nan test too.
63276         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
63277         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
63278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
63279         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
63280         Likewise.
63281         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63282         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
63283         Likewise.
63284         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63285         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
63286         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
63287         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
63288         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
63289         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
63291 2013-10-04  Alan Modra  <amodra@gmail.com>
63293         * stdio-common/printf_size.c (__printf_size): Don't use
63294         union ieee854_long_double in fpnum union.
63295         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
63296         signbit macro to retrieve sign from long double.
63297         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
63298         retrieve sign from long double.
63299         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
63300         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
63301         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
63302         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
63303         * math/test-misc.c (main): Don't use union ieee854_long_double.
63305 2013-10-04  Alan Modra  <amodra@gmail.com>
63307         [BZ #15680]
63308         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
63309         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
63310         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
63311         calculation.  Remove unnecessary test for denormal exponent.
63312         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
63313         Correct handling of denormals.  Avoid undefined shift behaviour.
63314         Correct normalisation of low mantissa when low double is denormal.
63315         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
63316         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
63317         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
63318         Correct normalisation of low mantissa.  Test for overflow of high
63319         mantissa and normalise.
63320         (ldbl_nearbyint): Use more readable constant for two52.
63321         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
63322         (__mpn_construct_long_double): Fix test for overflow of high
63323         mantissa and correct normalisation.  Avoid undefined shift.
63325 2013-10-04  Alan Modra  <amodra@gmail.com>
63327         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63328         (union ibm_extended_long_double): Define as an array of ieee754_double.
63329         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
63330         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
63331         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
63332         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
63333         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63334         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
63335         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
63336         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
63337         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
63338         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
63339         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
63341 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
63343         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
63344         page size instead of calling getpagesize.
63346         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
63347         (LOCFILE_ALIGN_MASK): Likewise.
63348         (LOCFILE_ALIGN_UP): Likewise.
63349         (LOCFILE_ALIGNED_P): Likewise.
63350         * locale/programs/ld-collate.c (collate_output): Use the new
63351         macros instead of __alignof__ (int32_t).
63352         * locale/weight.h (findidx): Likewise.
63354 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
63356         [BZ #431]
63357         * manual/string.texi: Fix strncat and wcsncat.
63359 2013-10-03  Brooks Moses  <bmoses@google.com>
63361         [BZ #15915]
63362         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
63363         * Makerules: ...here, and adjust associated comments.
63365 2013-10-02  Will Newton  <will.newton@linaro.org>
63367         * malloc/Makefile: Add tst-pvalloc.
63368         * malloc/tst-pvalloc.c: New file.
63370 2013-10-02  Will Newton  <will.newton@linaro.org>
63372         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
63373         improve test coverage.
63375 2013-10-02  Will Newton  <will.newton@linaro.org>
63377         * malloc/Makefile: Add tst-posix_memalign.
63378         * malloc/tst-posix_memalign.c: New file.
63380 2013-10-01  Eric Blake  <eblake@redhat.com>
63382         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
63383         Use __THROWNL rather than __THROW on static functions.
63385 2013-09-30  Petr Machata  <pmachata@redhat.com>
63387         * elf/elf.h (R_AARCH64_ABS16): New macro.
63388         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
63389         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
63390         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
63391         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
63392         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
63393         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
63394         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
63395         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
63396         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
63397         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
63398         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
63399         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
63400         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
63401         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
63402         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
63403         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
63404         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
63405         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
63406         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
63407         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
63408         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
63409         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
63410         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
63411         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
63412         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
63413         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
63414         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
63415         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
63416         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
63417         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
63418         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
63419         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
63420         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
63421         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
63422         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
63423         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
63424         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
63425         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
63426         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
63427         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
63428         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
63429         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
63430         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
63431         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
63432         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
63433         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
63434         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
63435         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
63436         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
63437         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
63438         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
63439         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
63440         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
63441         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
63442         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
63443         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
63444         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
63445         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
63446         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
63447         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
63448         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
63449         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
63450         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
63451         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
63452         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
63453         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
63454         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
63455         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
63456         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
63457         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
63458         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
63459         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
63460         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
63461         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
63462         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
63463         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
63464         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
63465         (R_AARCH64_TLSDESC_LDR): Likewise.
63466         (R_AARCH64_TLSDESC_ADD): Likewise.
63467         (R_AARCH64_TLSDESC_CALL): Likewise.
63469 2013-09-30  Andreas Schwab  <schwab@suse.de>
63471         [BZ #15048]
63472         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
63473         the nss database lookup.
63474         * nscd/initgrcache.c (addinitgroupsX): Likewise.
63475         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63477 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
63479         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
63481 2013-09-28  P. J. McDermott  <pj@pehjota.net>
63483         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
63484         ${Bash-specific parameter/pattern/string} parameter expansion.
63485         * sysdeps/unix/make-syscalls.sh: Likewise.
63487 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63489         * sysdeps/sh/stackguard-macros.h: New file.
63491 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
63493         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
63494         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
63495         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
63496         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
63497         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63498         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
63500 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63502         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
63503         Fix thread ID register.
63505 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
63507         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
63508         [POSIX || UNIX98]: Require rather than permitting all symbols from
63509         <time.h>.
63510         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
63511         element of struct sched_param.
63512         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
63513         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
63514         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
63515         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
63516         constant.
63518 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
63520         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
63521         argument calculation.
63523 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63525         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
63526         Expect macro.
63527         [POSIX] (pthread_attr_t): Do not require type.
63528         [POSIX] (pthread_cond_t): Likewise.
63529         [POSIX] (pthread_condattr_t): Likewise.
63530         [POSIX] (pthread_key_t): Likewise.
63531         [POSIX] (pthread_mutex_t): Likewise.
63532         [POSIX] (pthread_mutexattr_t): Likewise.
63533         [POSIX] (pthread_once_t): Likewise.
63534         [POSIX] (pthread_t): Likewise.
63535         [POSIX-based standards] (pthread_atfork): Expect function.
63537 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
63538             Richard Sandiford  <richard@codesourcery.com>
63540         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
63541         (swap_endianness_p): New extern variable.
63542         (set_big_endian): New inline function.
63543         (maybe_swap_uint32): Likewise.
63544         (maybe_swap_uint32_array): Likewise.
63545         (maybe_swap_uint32_obstack): Likewise.
63546         * locale/programs/locfile.c: Include <stdbool.h>.
63547         (swap_endianness_p): New variable.
63548         (add_locale_uint32): Call maybe_swap_uint32.
63549         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
63550         (write_locale_data): Call maybe_swap_uint32_array.
63551         * locale/programs/ld-collate.c (obstack_int32_grow): Call
63552         maybe_swap_uint32.
63553         (obstack_int32_grow_fast): Likewise.
63554         (output_weightwc): Call maybe_swap_uint32_obstack.
63555         (collate_output): Likewise.
63556         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
63557         (OPT_LITTLE_ENDIAN): Likewise.
63558         (options): Add --little-endian and --big-endian options.
63559         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
63560         * locale/programs/locarchive.c: Include "locfile.h".
63561         (GET): New macro.
63562         (SET): Likewise.
63563         (INC): Likewise.
63564         (create_archive): Use the new macros to access fields of
63565         structures directly mapped from or written to locale archives.
63566         (oldlocrecentcmp): Likewise.
63567         (enlarge_archive): Likewise.
63568         (insert_name): Likewise.
63569         (add_alias): Likewise.
63570         (add_locale): Likewise.
63571         (delete_locales_from_archive): Likewise.
63572         (show_archive_content): Likewise.
63573         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
63574         locale data.
63576 2013-09-24  Roland McGrath  <roland@hack.frob.com>
63578         * manual/freemanuals.texi: Updated from (newly) canonical copy at
63579         http://www.gnu.org/doc/freemanuals.texi.
63580         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
63582 2013-09-24  Will Newton  <will.newton@linaro.org>
63584         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
63585         macro.
63587 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
63589         * locale/hashval.h (compute_hashval): Interpret bytes of key as
63590         unsigned char.
63592 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
63594         * manual/threads.texi (POSIX Threads): Fix a typo.
63596 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
63598         [BZ #14547]
63599         * string/tst-strcoll-overflow.c: New test case.
63600         * string/Makefile (xtests): Add tst-strcoll-overflow.
63601         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
63602         cache if string sizes may cause integer overflow.
63604         [BZ #14547]
63605         * string/strcoll_l.c (coll_seq): New members rule, idx,
63606         save_idx and back_us.
63607         (get_next_seq_nocache): New function.
63608         (do_compare_nocache): New function.
63609         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
63610         when malloc fails.
63612 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
63614         [BZ #15754]
63615         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
63616         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
63617         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
63619         [BZ #15754]
63620         * elf/Makefile (tests): Add tst-ptrguard1.
63621         (tests-static): Add tst-ptrguard1-static.
63622         (tst-ptrguard1-ARGS): Define.
63623         (tst-ptrguard1-static-ARGS): Define.
63624         * elf/tst-ptrguard1.c: New file.
63625         * elf/tst-ptrguard1-static.c: New file.
63626         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
63627         * sysdeps/i386/stackguard-macros.h: Likewise.
63628         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
63629         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
63630         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
63631         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
63632         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
63633         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
63635 2013-09-23  Hector Marco  <hecmargi@upv.es>
63636             Ismael Ripoll  <iripoll@disca.upv.es>
63637             Carlos O'Donell  <carlos@redhat.com>
63639         [BZ #15754]
63640         * sysdeps/generic/stackguard-macros.h: Define
63641         __pointer_chk_guard_local and POINTER_CHK_GUARD.
63642         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
63643         Define __pointer_chk_guard_local.
63644         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
63645         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
63647 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
63649         [BZ #15859]
63650         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
63652 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
63654         * include/string.h (__ffs): Declare as hidden.
63655         * string/ffs.c (__ffs): Define as hidden.
63656         * sysdeps/i386/ffs.c (__ffs): Likewise.
63657         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
63658         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
63659         * sysdeps/s390/ffs.c (__ffs): Likewise.
63660         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
63662 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
63664         * NEWS: Mention malloc probes.
63666         * malloc/arena.c (new_heap): New memory_heap_new probe.
63667         (grow_heap): New memory_heap_more probe.
63668         (shrink_heap): New memory_heap_less probe.
63669         (heap_trim): New memory_heap_free probe.
63670         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
63671         (systrim): New memory_sbrk_less probe.
63672         * manual/probes.texi: Document them.
63674         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
63675         * manual/probes.texi: Document it.
63677         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
63678         (__libc_realloc): Add memory_realloc_retry probe.
63679         (__libc_memalign): Add memory_memalign_retry probe.
63680         (__libc_valloc): Add memory_valloc_retry probe.
63681         (__libc_pvalloc): Add memory_pvalloc_retry probe.
63682         (__libc_calloc): Add memory_calloc_retry probe.
63683         * manual/probes.texi: Document them.
63685         * malloc/arena.c (get_free_list): Add probe
63686         memory_arena_reuse_free_list.
63687         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
63688         and memory_arena_reuse.
63689         (arena_get2) [!PER_THREAD]: Likewise.
63690         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
63691         memory_arena_reuse_realloc.
63692         * manual/probes.texi: Document them.
63694         * malloc/malloc.c (__libc_free): Add
63695         memory_mallopt_free_dyn_thresholds probe.
63696         (__libc_mallopt): Add multiple memory_mallopt probes.
63697         * manual/probes.texi: Document them.
63699         * malloc/malloc.c: Include stap-probe.h.
63700         (__libc_mallopt): Add memory_mallopt probe.
63701         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
63702         * manual/probes.texi: New.
63703         * manual/Makefile (chapters): Add probes.
63704         * manual/threads.texi: Set next node.
63706 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
63708         [BZ #15963, #13985]
63709         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
63710         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
63711         Add `Chinese' to `nan' entry name.
63713 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63715         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
63716         (POLYNOMIAL): Likewise.
63717         (TAYLOR_SINCOS): Likewise.
63718         (TAYLOR_SLOW): Likewise.
63719         (__sin): Use TAYLOR_SINCOS.
63720         (__cos): Likewise.
63721         (slow): Use TAYLOR_SLOW.
63722         (sloww): Likewise.
63723         (bsloww): Likewise.
63724         (csloww): Likewise.
63726 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63728         * stdlib/strtod_l.c: Fix buffer overrun.
63730 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63732         * benchtests/Makefile (bench): Add sincos.
63733         * benchtests/bench-sincos.c: New file.
63735         * math/libm-test.inc (cos_test_data): New test inputs.
63736         (sin_test_data): Likewise.
63738         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
63739         macro.
63740         (__sin): Use it.
63741         (__cos): Likewise.
63742         (slow1): Likewise.
63743         (slow2): Likewise.
63744         (sloww1): Likewise.
63745         (sloww2): Likewise.
63746         (bsloww1): Likewise.
63747         (bsloww2): Likewise.
63748         (cslow2): Likewise.
63749         (csloww1): Likewise.
63750         (csloww2): Likewise.
63752         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
63753         function.
63754         (__sin): Use it.
63755         (__cos): Likewise.
63757         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
63758         gotos.
63759         (__cos): Likewise.
63761 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
63763         * config.h.in (HAVE_MIPS_NAN2008): New macro.
63764         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
63765         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
63766         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
63767         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
63768         * elf/cache.c (print_entry): Handle the new cache flags.
63770 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63771             Aldy Hernandez  <aldyh@redhat.com>
63773         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
63774         Change condition to [_SOFT_FLOAT].
63775         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
63776         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
63777         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
63778         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
63779         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
63780         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
63781         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
63782         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
63783         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
63784         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
63785         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
63786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
63787         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
63788         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
63789         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
63790         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
63791         declaration.
63793 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
63795         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
63796         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63797         (__longjmp): Use LOAD_GP to load saved GPRs.
63798         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
63799         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
63800         (__sigsetjmp): Use SAVE_GP to save GPRs.
63802         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
63803         Do not append -msoft-float.
63804         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
63806 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
63808         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
63810 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
63812         [BZ #15966]
63813         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
63814         (_FPU_GETCW): Use initial "__" on variable and field names but not
63815         on macro parameter name.
63816         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
63817         parentheses around reference to macro parameter.
63819 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
63821         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
63822         prototype.
63823         (ctype_startup): Use uint32_t in cast and sizeof for
63824         ctype->charnames.
63826 2013-09-11  Jia Liu  <proljc@gmail.com>
63828         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
63829         __daddr_t_defined.
63830         [__FreeBSD__]: Likewise.
63832 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
63834         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63835         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
63836         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
63837         (strchr): Remove __strchr_sse42 ifunc selection.
63838         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
63839         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
63841 2013-09-11  Will Newton  <will.newton@linaro.org>
63843         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
63844         parameter to RES. Remove hardcoded 1000 value.
63845         * benchtests/bench-skeleton.c (main): Pass RES parameter
63846         to TIMING_INIT and multiply result by 1000.
63848 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63852 2013-09-11  Andreas Schwab  <schwab@suse.de>
63854         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
63855         if not defined.
63856         (O_TMPFILE) [__USE_GNU]: Define.
63857         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63858         Define.
63860 2013-09-11  Will Newton  <will.newton@linaro.org>
63862         [BZ #15857]
63863         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63864         does not overflow.
63866 2013-09-11  Will Newton  <will.newton@linaro.org>
63868         [BZ #15856]
63869         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63870         does not overflow.
63872 2013-09-11  Will Newton  <will.newton@linaro.org>
63874         [BZ #15855]
63875         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63876         does not overflow.
63878 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
63880         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63881         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63882         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63883         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63884         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63886 2013-09-10  Allan McRae  <allan@archlinux.org>
63888         [BZ #15748]
63889         * manual/arith.texi (Parsing of Floats): Clarify
63890         cross-reference.
63892         [BZ #15849]
63893         * manual/install.texi (Running make install): Mention
63894         --enable-pt-chown.
63895         * INSTALL: Regenerated.
63897 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63899         * csu/init-first.c (_init): Remove the !SHARED condition around
63900         FPU control word initialization.
63901         * elf/dl-support.c (_dl_fpu_control): New variable.
63902         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63903         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63904         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63905         * math/test-fpucw-static.c: New file.
63906         * math/test-fpucw-ieee.c: New file.
63907         * math/test-fpucw-ieee-static.c: New file.
63908         * math/Makefile (tests): Add `test-fpucw-ieee' and
63909         `$(tests-static)'.
63910         (tests-static): New variable.
63911         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63912         dependency to...
63913         [($(build-shared),yes)]
63914         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63915         ... this.
63916         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63917         New dependency.
63919 2013-09-09  Allan McRae  <allan@archlinux.org>
63921         [BZ #15939]
63922         * manual/string.texi (Collation Functions): Fix typo in
63923         strcoll example.
63924         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63926         [BZ #15893]
63927         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63929         [BZ #15892]
63930         * libio/memstream.c (open_memstream): Fix memory leak.
63931         * libio/wmemstream.c (open_wmemstream): Likewise.
63933         [BZ #15895]
63934         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63936 2013-09-09  Will Newton  <will.newton@linaro.org>
63938         * malloc/Makefile: Add tst-realloc to tests.
63939         * malloc/tst-realloc.c: New file.
63941 2013-09-09  Allan McRae  <allan@archlinux.org>
63943         [BZ #15844]
63944         * COPYING: Update from GNU website to fix FSF address.
63945         * COPYING.LIB: Likewise.
63947 2013-09-06  David S. Miller  <davem@davemloft.net>
63949         * po/zh_TW.po: Update Chinese (traditional) translation from
63950         translation project.
63952 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63953             Joseph Myers  <joseph@codesourcery.com>
63955         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63956         "localeinfo.h".
63957         (obstack_chunk_alloc): New macro.
63958         (obstack_chunk_free): Likewise.
63959         (record_offset): New function.
63960         (init_locale_data): Likewise.
63961         (align_locale_data): Likewise.
63962         (add_locale_empty): Likewise.
63963         (add_locale_raw_data): Likewise.
63964         (add_locale_raw_obstack): Likewise.
63965         (add_locale_string): Likewise.
63966         (add_locale_wstring): Likewise.
63967         (add_locale_uint32): Likewise.
63968         (add_locale_uint32_array): Likewise.
63969         (add_locale_char): Likewise.
63970         (start_locale_structure): Likewise.
63971         (end_locale_structure): Likewise.
63972         (start_locale_prelude): Likewise.
63973         (end_locale_prelude): Likewise.
63974         (write_locale_data): Take locale_file structure rather than an
63975         iovec.
63976         * locale/programs/locfile.h: Include "obstack.h".
63977         (struct locale_file): Change to store locale file contents instead
63978         of header.
63979         (init_locale_data): New prototype.
63980         (align_locale_data): Likewise.
63981         (add_locale_empty): Likewise.
63982         (add_locale_raw_data): Likewise.
63983         (add_locale_raw_obstack): Likewise.
63984         (add_locale_string): Likewise.
63985         (add_locale_wstring): Likewise.
63986         (add_locale_uint32): Likewise.
63987         (add_locale_uint32_array): Likewise.
63988         (add_locale_char): Likewise.
63989         (start_locale_structure): Likewise.
63990         (end_locale_structure): Likewise.
63991         (start_locale_prelude): Likewise.
63992         (end_locale_prelude): Likewise.
63993         (write_locale_data): Update prototype.
63994         * locale/programs/3level.h (struct TABLE): Remove result field.
63995         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63996         Use new locale_file interface.
63997         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63998         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63999         * locale/programs/ld-address.c (address_output): Use new
64000         locale_file interface.
64001         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
64002         NO_ADD_LOCALE.
64003         (collate_finish): Don't call collseq_table_finalize.
64004         (collate_output): Use new locale_file interface.
64005         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
64006         in file.
64007         (NO_FINALIZE): Change to NO_ADD_LOCALE.
64008         (TABLE): Move defines earlier in file.
64009         (ELEMENT): Likewise.
64010         (DEFAULT): Likewise.
64011         (wctrans_table_add): Move macro and inline function earlier in
64012         file.
64013         (struct wctype_table): Move type earlier in file.
64014         (add_locale_wctype_table): New static prototype.
64015         (struct locale_ctype_t): Use logical types instead of struct iovec
64016         pointers for members.
64017         (ctype_output): Use new locale_file interface.
64018         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
64019         new locale_file interface.
64020         (allocate_arrays): Update for use of new locale_file interface.
64021         * locale/programs/ld-identification.c (identification_output): Use
64022         new locale_file interface.
64023         * locale/programs/ld-measurement.c (measurement_output): Likewise.
64024         * locale/programs/ld-messages.c (messages_output): Likewise.
64025         * locale/programs/ld-monetary.c (monetary_output): Likewise.
64026         * locale/programs/ld-name.c (name_output): Likewise.
64027         * locale/programs/ld-numeric.c (numeric_output): Likewise.
64028         * locale/programs/ld-paper.c (paper_output): Likewise.
64029         * locale/programs/ld-telephone.c (telephone_output): Likewise.
64030         * locale/programs/ld-time.c (time_output): Likewise.
64032 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64034         * benchtests/Makefile: Add memrchr benchmark.
64035         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
64036         benchmark as memrchr.
64037         * benchtests/bench-memrchr-ifunc.c: New file.
64038         * benchtests/bench-memrchr.c: New file.
64040 2013-09-06   Will Newton  <will.newton@linaro.org>
64042         * benchtests/Makefile (string-bench): Add memcpy.
64044 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
64045             Cong Wang  <amwang@redhat.com>
64047         [BZ #15850]
64048         * sysdeps/unix/sysv/linux/bits/in.h
64049         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
64050         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
64051         before __USE_KERNEL_IPV6_DEFS uses.
64052         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
64053         IPPROTO_BEETPH.
64054         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
64055         sockaddr_in6, or ipv6_mreq.
64057 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64059         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
64060         memory access for final bytes in some large inputs.
64061         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
64063 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64065         * string/test-memrchr.c: New file.
64066         * string/test-memrchr-ifunc.c: New file.
64067         * string/Makefile: Add new memrchr testcase.
64069 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
64071         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
64072         fanotify_init returns EPERM.
64074 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
64076         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
64077         errors.
64078         (top level): Treat second token from macro or constant entries for
64079         allowed headers as allowed.
64080         * include/complex.h: Condition internal declarations on
64081         [!_ISOMAC].
64082         * include/fenv.h: Condition include of <stdbool.h> and internal
64083         declarations on [!_ISOMAC].
64085 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
64087         [BZ #15923]
64088         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
64090 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
64092         * configure.in (--enable-versioning): Remove configure option.
64093         (libc_cv_asm_symver_directive): Remove configure test.
64094         (libc_cv_ld_version_script_option): Likewise.
64095         (VERSIONING): Remove variable and AC_SUBST.
64096         (DO_VERSIONING): Remove AC_DEFINE.
64097         * configure: Regenerated.
64098         * config.h.in (DO_VERSIONING): Remove macro.
64099         * Makerules [$(versioning) = yes]: Change conditionals to
64100         [$(build-shared) = yes].
64101         * config.make.in (versioning): Remove variable.
64102         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
64103         [$(build-shared) = yes].
64104         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
64105         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
64106         * elf/Makefile [$(versioning) = yes]: Change conditionals to
64107         [$(build-shared) = yes].
64108         * extra-lib.mk [$(versioning) = yes]: Likewise.
64109         * hurd/Makefile [$(versioning) = yes]: Likewise.
64110         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
64111         [SHARED].
64112         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
64113         [SHARED].
64114         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64115         [SHARED && !NO_HIDDEN].
64116         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
64117         [SHARED].
64118         [SHARED && DO_VERSIONING]: Likewise..
64119         * libio/Makefile [$(versioning) = yes]: Change conditionals to
64120         [$(build-shared) = yes].
64121         * manual/install.texi (--disable-versioning): Remove
64122         documentation.
64123         * INSTALL: Regenerated.
64124         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
64125         to [SHARED].
64126         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
64127         [$(build-shared) = yes].
64128         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
64129         * sysdeps/i386/i686/multiarch/strstr-c.c
64130         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
64131         [SHARED && !NO_HIDDEN].
64132         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
64133         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
64134         * sysdeps/powerpc/powerpc32/dl-machine.c
64135         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
64136         * sysdeps/powerpc/powerpc32/sysdep.h
64137         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
64138         to [SHARED && PIC && !NO_HIDDEN].
64139         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
64140         conditional to [SHARED].
64142 2013-09-04   Will Newton  <will.newton@linaro.org>
64144         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
64145         * benchtests/bench-string.h: Include bench-timing.h instead
64146         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
64147         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
64148         call to HP_TIMING_DIFF_INIT.
64149         * benchtests/bench-memccpy.c: Use bench-timing.h macros
64150         instead of hp-timing.h macros.
64151         * benchtests/bench-memchr.c: Likewise.
64152         * benchtests/bench-memcmp.c: Likewise.
64153         * benchtests/bench-memcpy.c: Likewise.
64154         * benchtests/bench-memmem.c: Likewise.
64155         * benchtests/bench-memmove.c: Likewise.
64156         * benchtests/bench-memset.c: Likewise.
64157         * benchtests/bench-rawmemchr.c: Likewise.
64158         * benchtests/bench-strcasecmp.c: Likewise.
64159         * benchtests/bench-strcasestr.c: Likewise.
64160         * benchtests/bench-strcat.c: Likewise.
64161         * benchtests/bench-strchr.c: Likewise.
64162         * benchtests/bench-strcmp.c: Likewise.
64163         * benchtests/bench-strcpy.c: Likewise.
64164         * benchtests/bench-strcpy_chk.c: Likewise.
64165         * benchtests/bench-strlen.c: Likewise.
64166         * benchtests/bench-strncasecmp.c: Likewise.
64167         * benchtests/bench-strncat.c: Likewise.
64168         * benchtests/bench-strncmp.c: Likewise.
64169         * benchtests/bench-strncpy.c: Likewise.
64170         * benchtests/bench-strnlen.c: Likewise.
64171         * benchtests/bench-strpbrk.c: Likewise.
64172         * benchtests/bench-strrchr.c: Likewise.
64173         * benchtests/bench-strspn.c: Likewise.
64174         * benchtests/bench-strstr.c: Likewise.
64176 2013-09-04  Will Newton  <will.newton@linaro.org>
64178         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
64180 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
64182         [BZ #15427]
64183         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
64184         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
64185         * math/libm-test.inc (lgamma_test_data): Add more tests.
64186         * sysdeps/i386/fpu/libm-test-ulps: Update.
64187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64189 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
64191         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
64192         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
64193         Add ifunc.
64194         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
64195         Add strcmp-sse2-unaligned
64196         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
64198 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64200         * Versions.def (libc): Add GLIBC_2.19.
64202 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
64204         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
64205         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
64207 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
64209         [BZ #14155]
64210         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
64211         intermediate calculations in recurrence.
64212         (__ieee754_ynf): Likewise.
64213         * math/libm-test.inc (jn_test_data): Do not allow spurious
64214         underflow exception.  Add more tests.
64215         (yn_test_data): Add more tests.
64216         * sysdeps/i386/fpu/libm-test-ulps: Update.
64217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64219 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
64221         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
64223 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
64225         * csu/init-first.c: Fix then/than typos.
64226         * locale/programs/ld-collate.c: Likewise.
64227         * locale/programs/linereader.h: Likewise.
64228         * manual/charset.texi: Likewise.
64229         * manual/filesys.texi: Likewise.
64230         * manual/stdio.texi: Likewise.
64231         * manual/string.texi: Likewise.
64232         * stdlib/fmtmsg.c: Likewise.
64233         * sysdeps/i386/stpncpy.S: Likewise.
64234         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
64235         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
64236         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
64237         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
64239 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
64241         * elf/dl-open.c: Fix typos.
64242         * iconvdata/gbbig5.c: Likewise.
64243         * iconvdata/iso-2022-jp.c: Likewise.
64244         * iconv/gconv_int.h: Likewise.
64245         * iconv/loop.c: Likewise.
64246         * nis/rpcsvc/nis.h: Likewise.
64247         * resolv/ns_name.c: Likewise.
64248         * stdio-common/vfscanf.c: Likewise.
64249         * streams/stropts.h: Likewise.
64250         * sunrpc/rpc_thread.c: Likewise.
64251         * sysdeps/i386/strpbrk.S: Likewise.
64252         * sysdeps/ieee754/k_standard.c: Likewise.
64253         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64254         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64255         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
64256         * sysdeps/mach/hurd/profil.c: Likewise.
64257         * sysdeps/s390/dl-procinfo.h: Likewise.
64258         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
64259         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
64260         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
64261         * sysdeps/x86_64/dl-trampoline.S: Likewise.
64262         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
64264 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
64266         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
64267         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
64269 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
64271         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
64272         aix specific files.
64273         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
64274         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
64275         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
64276         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
64277         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
64278         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
64279         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
64280         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
64282 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64283             Roland McGrath  <roland@hack.frob.com>
64285         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
64286         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
64288 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64290         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
64291         __executable_start symbol instead of _start.
64293 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
64295         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
64296         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
64297         Move macros to...
64298         * sysdeps/gnu/ldsodefs.h: ... this new file.
64300         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
64301         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
64302         instead of ELFOSABI_LINUX.
64304         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
64305         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
64306         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
64307         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
64308         Likewise.
64309         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
64310         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
64311         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
64312         Likewise.
64313         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
64314         (ibm_extended_long_double): Add ieee_nan member.
64315         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
64316         (do_test): New function.
64318         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
64319         TEST_TRUNC.
64320         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
64321         functions, renamed from truncdfsf_test, trunctfsf_test,
64322         trunctfdf_test.
64323         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
64324         functions.
64325         (do_test): Run all these.
64327 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
64329         * argp/argp-help.c: Fix typos.
64330         * argp/argp-parse.c: Likewise.
64331         * debug/backtracesyms.c: Likewise.
64332         * elf/elf.h: Likewise.
64333         * malloc/malloc.c: Likewise.
64334         * nis/nis_print.c: Likewise.
64335         * resolv/res_comp.c: Likewise.
64336         * stdlib/stdlib.h: Likewise.
64337         * sunrpc/clnt_tcp.c: Likewise.
64338         * sunrpc/clnt_udp.c: Likewise.
64339         * sunrpc/clnt_unix.c: Likewise.
64340         * sysdeps/unix/bsd/ptsname.c: Likewise.
64341         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
64342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
64343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
64344         Likewise.
64345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
64346         Likewise.
64347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
64348         Likewise.
64349         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
64351 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
64353         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
64354         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
64356 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
64358         [BZ #15897]
64359         * dlfcn/Makefile (tests): Add bug-dl-leaf.
64360         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
64361         ($(objpfx)bug-dl-leaf): New rule.
64362         ($(objpfx)bug-dl-leaf.so): Likewise.
64363         ($(objpfx)bug-dl-leaf.out): Likewise.
64364         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
64365         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
64366         * dlfcn/bug-dl-leaf.c: New test.
64367         * dlfcn/bug-dl-leaf-lib.c: Likewise.
64368         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
64369         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
64370         (dlclose): Likewise.
64371         (dlmopen): Likewise.
64373 2013-08-27  Roland McGrath  <roland@hack.frob.com>
64375         * include/netdb.h [!_ISOMAC]:
64376         Don't include <tls.h>.
64377         (h_errno, __libc_h_errno): Move declaration and macros out of
64378         [_LIBC_REENTRANT].
64380         * include/resolv.h [_RESOLV_H_]:
64381         Don't include <tls.h>.
64382         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
64383         * resolv/res_libc.c: Don't include <tls.h>.
64384         (_res): Use __attribute__ ((nocommon)) in place of
64385         __attribute__ ((section (".bss"))).
64387         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
64388         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
64390         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
64392         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
64393         only under [SIOCGIFCONF && SIOCGIFNETMASK].
64395         * resolv/res_mkquery.c: Include <sys/time.h>.
64397         * inet/ifreq.c: Moved to ...
64398         * sysdeps/unix/ifreq.c: ... here.
64399         * inet/ifreq.c: New file, true stub version.
64401         * socket/sa_len.c: New file.
64402         * socket/Makefile (aux): Add it.
64403         * sysdeps/unix/sysv/linux/Makefile
64404         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
64405         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
64406         and #include <socket/sa_len.c>.
64407         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
64408         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
64410         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
64411         * bits/socket.h: ... here.
64413         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
64414         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
64415         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
64417 2013-08-27  Andreas Schwab  <schwab@suse.de>
64419         [BZ #15736]
64420         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
64421         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
64422         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
64423         * string/test-strcasecmp.c (test_main): Run tests in several
64424         locales.
64425         * string/test-strncasecmp.c (test_main): Likewise.
64427         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
64428         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
64429         to __strcasecmp_nonascii and __strncasecmp_nonascii.
64430         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
64431         (__strncasecmp_ssse3) [PIC]: Likewise.
64433 2013-08-26  Roland McGrath  <roland@hack.frob.com>
64435         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
64437         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
64438         instead of explicitly declaring xdecrypt.
64439         * nis/nss_nis/nis-publickey.c: Likewise.
64441 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64443         [BZ #15890]
64444         * nscd/aicache.c: Include res_hconf.h.
64445         (addhstaiX): Initialize res_hconf.
64447 2013-08-26  Andreas Schwab  <schwab@suse.de>
64449         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
64450         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
64452 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
64454         * nscd/aicache.c (addhstaiX): Fix indentation.
64456 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
64458         * configure.ac: Quote $build_pt_chown test.
64459         * configure: Regenerated.
64461 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
64463         [BZ #15532]
64464         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
64465         * math/s_cexpf.c (__cexpf): Likewise.
64466         * math/s_cexpl.c (__cexpl): Likewise.
64467         * math/libm-test.inc (cexp_test_data): Correct expected return
64468         value for NaN + i0.  Add another test.
64470 2013-08-22  David S. Miller  <davem@davemloft.net>
64472         * po/ca.po: Update Catalan translation from translation project.
64473         * po/uk.po: Add Ukrainian translations from translation project.
64475 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
64477         [BZ #15797]
64478         * math/s_fdim.c (__fdim): Check for infinite arguments if result
64479         is infinite, not alongside NaN test.
64480         * math/s_fdimf.c (__fdimf): Likewise.
64481         * math/s_fdiml.c (__fdiml): Likewise.
64482         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
64483         errno is unchanged.
64485 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
64487         * argp/argp-help.c: Fix typos.
64488         * crypt/speeds.c: Likewise.
64489         * csu/check_fds.c: Likewise.
64490         * elf/dl-load.c: Likewise.
64491         * elf/dl-open.c: Likewise.
64492         * elf/reldep3.c: Likewise.
64493         * elf/reldep.c: Likewise.
64494         * elf/sprof.c: Likewise.
64495         * iconv/iconv_charmap.c: Likewise.
64496         * iconv/skeleton.c: Likewise.
64497         * iconv/strtab.c: Likewise.
64498         * io/lockf64.c: Likewise.
64499         * libio/libioP.h: Likewise.
64500         * resolv/gai_notify.c: Likewise.
64501         * resolv/ns_name.c: Likewise.
64502         * resolv/ns_samedomain.c: Likewise.
64503         * resolv/res_send.c: Likewise.
64504         * stdlib/random.c: Likewise.
64505         * sunrpc/rpc/xdr.h: Likewise.
64506         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
64507         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
64508         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
64509         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
64510         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
64511         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
64512         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
64513         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
64514         * sysdeps/mach/hurd/check_fds.c: Likewise.
64515         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
64516         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
64517         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
64518         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
64519         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
64520         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
64521         * sysdeps/pthread/aio_notify.c: Likewise.
64522         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
64523         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
64524         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
64525         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
64526         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
64528 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64530         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
64531         version if bit_Slow_SSE4_2 is set.
64532         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
64533         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
64535 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64537         [BZ #15867]
64538         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
64539         trampoline stack frame information.
64540         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
64541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
64542         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
64543         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
64544         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
64545         * sysdeps/unix/sysv/linux/powerpc/init-first.c
64546         (_libc_vdso_platform_setup): Initialize the signal trampolines.
64547         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
64548         sa_flags value.
64549         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
64550         interrupting a syscall and set with option SA_SIGINFO.
64552 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64554         [BZ #15531]
64555         * math/s_cproj.c (__cproj): Only return an infinity if one part of
64556         argument is infinite.
64557         * math/s_cprojf.c (__cprojf): Likewise.
64558         * math/s_cprojl.c (__cprojl): Likewise.
64559         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
64560         * math/libm-test.inc (cproj_test_data): Add more tests.
64562         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
64564         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
64565         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
64566         size.  Use __ffs to determine corresponding shift.
64568 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
64569             Roland McGrath  <roland@hack.frob.com>
64571         * Makefile (INSTALL): Remove trailing blank lines from output of
64572         makeinfo.
64574 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64576         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
64577         Align 32 bit compat elf_greg to 8 bytes.
64579 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
64581         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
64583 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
64585         * string/strcoll_l.c (coll_seq): New structure.
64586         (get_next_seq_cached): New function.
64587         (get_next_seq): New function.
64588         (do_compare): New function.
64589         (STRCOLL): Use GNU style definition.  Simplify implementation
64590         by using get_next_seq, get_next_seq_cached and do_compare.
64592 2013-08-16  Florian Weimer  <fweimer@redhat.com>
64594         [BZ #14699]
64595         CVE-2013-4237
64596         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
64597         member.
64598         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
64599         member.
64600         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
64601         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
64602         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
64603         conditional.
64604         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
64605         GETDENTS_64BIT_ALIGNED.
64606         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
64607         * manual/filesys.texi (Reading/Closing Directory): Document
64608         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
64609         strongly.
64610         * manual/conf.texi (Limits for Files): Add portability note to
64611         NAME_MAX, PATH_MAX.
64612         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
64614 2013-08-13  Andreas Schwab  <schwab@suse.de>
64616         [BZ #15749]
64617         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
64618         of fabs.
64619         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
64620         LDBL_MAX_EXP >= 16384]: Add tests for it.
64622 2013-08-12  David S. Miller  <davem@davemloft.net>
64624         * version.h (RELEASE): Set to "development".
64625         (VERSION): Set to "2.18.90".
64626         * NEWS: Add 2.19 section.
64628 2013-08-03  David S. Miller  <davem@davemloft.net>
64630         * po/ko.po: Update Korean translation from translation project.
64632 2013-08-01  David S. Miller  <davem@davemloft.net>
64634         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
64635         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
64636         Bilka.
64638 2013-07-30  David S. Miller  <davem@davemloft.net>
64640         * po/fr.po: Update French translation from translation project.
64642 2013-07-28  David S. Miller  <davem@davemloft.net>
64644         * po/cs.po: Update Czech translation from translation project.
64646         * po/sv.po: Update Swedish translation from translation project.
64648 2013-07-27  David S. Miller  <davem@davemloft.net>
64650         * po/eo.po: Update Esperanto translation from translation project.
64652         * po/vi.po: Update Vietnamese translation from translation project.
64654         * po/de.po: Update German translation from translation project.
64656 2013-07-26  David S. Miller  <davem@davemloft.net>
64658         * po/bg.po: Update Bulgarian translation from translation project.
64660         * po/nl.po: Update Dutch translation from translation project.
64661         * po/pl.po: Update Polish translation from translation project.
64662         * po/ru.po: Update Russian translation from translation project.
64664 2013-07-24  David S. Miller  <davem@davemloft.net>
64666         * po/libc.pot: Update.
64668 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64670         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
64671         variable page size.
64672         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
64673         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
64674         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
64676 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64678         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
64680 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
64681             Andreas Schwab  <schwab@suse.de>
64682             Roland McGrath  <roland@hack.frob.com>
64683             Joseph Myers  <joseph@codesourcery.com>
64684             Carlos O'Donell  <carlos@redhat.com>
64686         [BZ #15755]
64687         * config.h.in: Define HAVE_PT_CHOWN.
64688         * config.make.in (build-pt-chown): New variable.
64689         * configure.in (--enable-pt_chown): New configure option.
64690         * configure: Regenerate.
64691         * login/Makefile: Include Makeconfig.  Build pt_chown only if
64692         build-pt-chown is enabled.
64693         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
64694         pt_chown to fix pty ownership.
64695         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
64696         CLOSE_ALL_FDS.
64697         * manual/install.texi (Configuring and compiling): Mention
64698         --enable-pt_chown. Add @findex for grantpt.
64699         * INSTALL: Regenerate.
64701 2013-07-20  David S. Miller  <davem@davemloft.net>
64703         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
64704         difference between 32-bit and 64-bit.
64706 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
64708         [BZ #15711]
64709         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
64710         Avoid system header dependency with -ffreestanding.
64711         ($(objpfx)bits/syscall%d): Likewise.
64713 2013-07-13  David S. Miller  <davem@davemloft.net>
64715         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
64716         underflows from atanl/atan2l due to bug 15319.
64717         (casinh_test_data): Likewise.
64719 2013-07-07  David S. Miller  <davem@davemloft.net>
64721         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
64723 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
64725         * sysdeps/i386/fpu/libm-test-ulps: Update.
64726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64728 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
64730         * configure.in (--enable-lock-elision): Fix message text.
64731         * INSTALL: Regenerate.
64732         * configure: Regenerate.
64734 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64736         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64738 2013-07-03  Andreas Jaeger  <aj@suse.de>
64740         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
64741         define.
64742         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
64743         (ptrace_peeksiginfo_args): Add.
64744         (__ptrace_peeksiginfo_flags): Add.
64745         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
64746         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
64747         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
64749 2013-07-03  Allan McRae  <allan@archlinux.org>
64751         * sysdeps/i386/fpu/libm-test-ulps: Update.
64753 2013-07-02  David S. Miller  <davem@davemloft.net>
64755         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64757 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
64759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
64761 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64763         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
64764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64766 2013-07-02  Andi Kleen <ak@linux.intel.com>
64768         * config.h.in (ENABLE_LOCK_ELISION): Add.
64769         * configure.in (--enable-lock-elision): Add option.
64770         * manual/install.texi: Document --enable lock elision.
64771         * configure: Regenerate
64772         * INSTALL: Regenerate.
64774 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
64776         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
64777         SSE4.2 strcasecmp for libc.a.
64778         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
64780 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
64782         [BZ #13304]
64783         * soft-fp/op-common.h (_FP_FMA): New macro.
64784         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
64785         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
64786         (_FP_MUL_MEAT_1_imm): ... here.
64787         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
64788         (_FP_MUL_MEAT_1_wide): ... here.
64789         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
64790         (_FP_MUL_MEAT_1_hard): ... here.
64791         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
64792         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
64793         (_FP_MUL_MEAT_2_wide): ... here.
64794         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
64795         (_FP_MUL_MEAT_2_wide_3mul): ... here.
64796         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
64797         (_FP_MUL_MEAT_2_gmp): ... here.
64798         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
64799         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
64800         (_FP_MUL_MEAT_4_wide): ... here.
64801         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
64802         (_FP_MUL_MEAT_4_gmp): ... here.
64803         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
64804         (_FP_WFRACBITS_DW_S): Likewise.
64805         (_FP_WFRACXBITS_DW_S): Likewise.
64806         (_FP_HIGHBIT_DW_S): Likewise.
64807         (FP_FMA_S): Likewise.
64808         (_FP_FRAC_HIGH_DW_S): Likewise.
64809         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
64810         (_FP_WFRACBITS_DW_D): Likewise.
64811         (_FP_WFRACXBITS_DW_D): Likewise.
64812         (_FP_HIGHBIT_DW_D): Likewise.
64813         (FP_FMA_D): Likewise.
64814         (_FP_FRAC_HIGH_DW_D): Likewise.
64815         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
64816         (_FP_WFRACBITS_DW_E): Likewise.
64817         (_FP_WFRACXBITS_DW_E): Likewise.
64818         (_FP_HIGHBIT_DW_E): Likewise.
64819         (FP_FMA_E): Likewise.
64820         (_FP_FRAC_HIGH_DW_E): Likewise.
64821         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
64822         (_FP_WFRACBITS_DW_Q): Likewise.
64823         (_FP_WFRACXBITS_DW_Q): Likewise.
64824         (_FP_HIGHBIT_DW_Q): Likewise.
64825         (FP_FMA_Q): Likewise.
64826         (_FP_FRAC_HIGH_DW_Q): Likewise.
64827         * soft-fp/fmasf4.c: New file.
64828         * soft-fp/fmadf4.c: Likewise.
64829         * soft-fp/fmatf4.c: Likewise.
64831 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
64834         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
64835         Silvermont.
64836         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
64837         macro.
64838         (index_Slow_SSE4_2): Likewise.
64839         (index_Prefer_PMINUB_for_stringop): Likewise.
64840         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
64841         bit_Slow_SSE4_2 is set.
64842         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
64843         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
64845 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64847         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
64848         rtld_global._dl_hwcap2.
64849         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
64850         POWER8.
64851         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
64852         POWER8 feature descriptions defined in _dl_hwcap2.
64853         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
64854         string handling for POWER8 feature bits.
64855         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
64856         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
64857         _dl_powerpc_cap_flags.
64858         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64859         * sysdeps/powerpc/rtld-global-offsets.sym
64860         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64861         _dl_hwcap2 in the rtld_global_ro structure.
64863 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64865         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64866         hardware capabilities in support of AT_HWCAP2.
64867         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64868         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64869         GLRO(dl_hwcap2).
64870         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64871         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64872         explicitly the unknown a_type display mechanism is used.
64873         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64874         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64875         struct member.
64876         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64877         to macro prototype for AT_HWCAP2 support.
64878         * sysdeps/i386/dl-procinfo.h: Likewise.
64879         * sysdeps/s390/dl-procinfo.h: Likewise.
64880         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64881         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64882         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64883         return -1 for unknown a_type display fallback.
64884         * sysdeps/sparc/dl-procinfo.h: Likewise.
64885         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64886         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64888 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64890         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64891         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64893 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64895         [BZ #12492]
64896         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64897         mprotect making __stack_prot writable.
64899 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64900             Joseph Myers  <joseph@codesourcery.com>
64902         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64903         as being properly aligned.
64905 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64907         * dlfcn/modstatic5.c: New file.
64908         * dlfcn/tststatic5.c: New file.
64909         * dlfcn/Makefile (tests): Add tststatic5.
64910         (tests-static): Likewise.
64911         (modules-names): Add modstatic5.
64912         (tststatic5-ENV): New variable.
64913         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64915         [BZ #15022]
64916         * elf/dl-support.c (_dl_main_map): New variable.
64917         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64918         (_dl_nns, _dl_load_adds): Set to 1.
64919         (_dl_initial_searchlist): Refer to _dl_main_map.
64920         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64921         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64922         call to _dl_get_origin.
64923         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64924         around call_map.
64925         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64926         * dlfcn/modstatic3.c: New file.
64927         * dlfcn/tststatic3.c: New file.
64928         * dlfcn/tststatic4.c: New file.
64929         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64930         (tests-static): Likewise.
64931         (modules-names): Add modstatic3.
64932         (tststatic3-ENV, tststatic4-ENV): New variables.
64933         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64934         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64936 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64938         * configure.in (CC): Require GCC version 4.4 or later.
64939         * configure: Regenerated.
64940         * manual/install.texi (Tools for Compilation): Update GCC version
64941         requirement.
64942         * INSTALL: Regenerated.
64944 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64946         [BZ #15674]
64947         * string/test-memcmp.c (check2): New.
64948         (main): Call check2.
64950         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64952 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64954         [BZ #15022]
64955         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64956         over to...
64957         (dl_open_worker) [!SHARED]: ... here.
64959 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64961         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64963 2013-06-25  Richard Henderson  <rth@redhat.com>
64965         * locale/programs/locarchive.c: Include <libc-internal.h>
64967 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64969         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64970         trailing whitespace removed.
64972 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64974         [BZ #10283]
64975         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64976         * locale/programs/locarchive.c: Include libc-mmap.h.
64977         (prepare_address_space): Take two new outputs (the mmap base and len).
64978         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64979         values.
64980         (create_archive): Declare new mmap base and len values for
64981         prepare_address_space, and store the result in ah.
64982         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64983         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64984         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64985         Declare new mmap base and len values for
64986         prepare_address_space, and store the result in new_ah.
64987         (open_archive): Declare new mmap base and len values for
64988         prepare_address_space, and store the result in ah.
64989         (close_archive): If ah->mmap_base is not NULL, use that and
64990         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64991         * sysdeps/generic/libc-mmap.h: New file.
64993 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64995         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64996         (ALIGN_UP): Likewise.
64997         (PTR_ALIGN_DOWN): Likewise.
64998         (PTR_ALIGN_UP): Likewise.
65000 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65002         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
65003         entry mapped to PPC_PLATFORM_POWER8.
65004         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
65005         POWER8.
65006         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
65007         (_dl_string_platform): Add case for exporting platform position for
65008         POWER8.
65009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
65010         search path to sysdeps/powerpc/powerpc32/power8 directory.
65011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
65012         search path to sysdeps/powerpc/powerpc64/power8 directory.
65013         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
65014         power7 directories.
65015         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
65016         power7 directories.
65018 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65020         * INSTALL: Regenerate.
65022         * nscd/connections.c (nscd_init): Fix comment.
65024 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
65026         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
65028         [BZ #15667]
65029         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
65030         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
65032 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
65034         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
65035         DL_DST_REQ_STATIC.
65036         (DL_DST_REQ_STATIC): Remove macro.
65038 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
65040         [BZ #7006]
65041         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
65042         with a shift of 0 bits.
65044 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
65046         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
65047         $(tststatic-ENV).
65049 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65051         [BZ #15655]
65052         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
65054 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65056         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
65057         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
65058         accepts -fno-tree-loop-distribute-patterns.
65059         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
65060         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
65061         recursive call.
65062         * string/memset.c (memset): Likewise.
65063         * string/test-memmove.c (simple_memmove): Disable loop transformation
65064         to library calls.
65065         * string/test-memset.c (simple_memset): Likewise.
65066         * benchtests/bench-memmove.c (simple_memmove): Likewise.
65067         * benchtests/bench-memset.c (simple_memset): Likewise.
65068         * configure: Regenerated.
65070 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
65072         * math/test-misc.c (main): Ignore fesetround failure when failures
65073         of subsequent rounding tests would be ignored.
65075         [BZ #15654]
65076         * math/fedisblxcpt.c (fedisableexcept): Return 0.
65077         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
65078         * math/fegetenv.c (__fegetenv): Return 0.
65079         * math/fegetexcept.c (fegetexcept): Return 0.
65080         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
65081         FE_TONEAREST.
65082         * math/feholdexcpt.c (feholdexcept): Return 0.
65083         * math/fesetenv.c (__fesetenv): Return 0.
65084         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
65085         argument FE_TONEAREST.
65086         * math/feupdateenv.c (__feupdateenv): Return 0.
65087         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
65089 2013-06-18  Roland McGrath  <roland@hack.frob.com>
65091         * elf/rtld-Rules (rtld-compile-command.S): New variable.
65092         (rtld-compile-command.s, rtld-compile-command.c): New variables.
65093         ($(objpfx)rtld-%.os rules): Use them.
65095 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65097         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
65098         fields.
65100 2013-06-17  Roland McGrath  <roland@hack.frob.com>
65102         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
65103         length of target pattern, then descending length of dependency pattern.
65104         * configure.in (AWK): Require gawk 3.1.2 or newer.
65105         * manual/install.texi (Tools for Compilation): Say that we do.
65106         * configure: Regenerated.
65108         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
65109         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
65110         * scripts/sysd-rules.awk: ... this new script.
65111         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
65112         than a glob-style pattern.
65114 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
65116         * math/test-misc.c (main): Do not treat incorrectly rounded
65117         conversions as failure unless ROUNDING_TESTS passes.
65119 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
65121         [BZ #15631]
65122         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
65123         restore exception state around main square root computation, then
65124         check for inexactness explicitly.
65126         * math/libm-test.inc (fma_test_data): Add another test.
65128 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65130         * manual/threads.texi (Non-POSIX Extensions): New document
65131         node.  Document pthread_getattr_default_np and
65132         pthread_setattr_default_np.
65134         * Versions.def (libpthread): Add GLIBC_2.18.
65135         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
65136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
65137         Likewise.
65138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
65139         Likewise.
65140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65141         Likewise.
65142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65143         Likewise.
65144         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
65145         Likewise.
65146         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
65147         Likewise.
65148         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
65149         Likewise.
65150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
65151         Likewise.
65152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
65153         Likewise.
65155 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
65157         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65158         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
65160 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
65161             H.J. Lu  <hjl.tools@gmail.com>
65163         [BZ #15627]
65164         * sysdeps/x86_64/rtld-memset.c: Remove file.
65165         * sysdeps/x86_64/rtld-memset.S: New file.
65167 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
65169         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
65170         (test_in_one_mode): Take arguments for whether the rounding mode
65171         is supported for each floating-point type.
65172         (do_test): Pass new arguments to test_in_one_mode using
65173         ROUNDING_TESTS.
65175 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65177         * posix/tst-waitid.c (do_test): Distinguish different instances of
65178         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
65179         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
65180         before entering the kernel for waitpid.
65182 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65184         * NEWS: Fix note on clock function precision.  Text by Roland
65185         McGrath.
65187 2013-06-13  Roland McGrath  <roland@hack.frob.com>
65189         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
65190         it into place only when and if the sanity check passes.
65192 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
65194         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
65195         output for whether conversion result is exact.  Take argument
65196         indicating whether type is IBM long double.
65197         (round_for_all): Change need_exact field to ibm_ld.
65198         * stdlib/tst-strtod-round.c (struct exactness): New type.
65199         (struct test): Change bool ld_ok field to struct exactness exact.
65200         (TEST): Update all definitions for change to field.
65201         (tests): Regenerate array contents.
65202         (test_in_one_mode): Take pointer to new field instead of old ld_ok
65203         field value.  Check for IBM long double here.
65204         (do_test): Update calls to test_in_one_mode.
65206 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
65208         [BZ #12515]
65209         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
65210         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
65212 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65214         [BZ #15605]
65215         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
65216         generated by the compiler on loop optimizations.
65217         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
65218         general definitions.
65220 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
65222         * math/bug-nextafter.c: Include <math-tests.h>.
65223         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65224         the relevant type.
65225         * math/bug-nexttoward.c: Include <math-tests.h>.
65226         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65227         the relevant type.
65228         * math/test-misc.c: Include <math-tests.h>.
65229         (main): Only test for exceptions if EXCEPTION_TESTS is true for
65230         the relevant type.
65232 2013-06-12  Andreas Jaeger  <aj@suse.de>
65234         * po/ia.po: Update Interlingua translation from translation
65235         project.
65237 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65239         * include/fenv.h: Include stdbool.h.
65240         (struct rm_ctx): New structure.
65241         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
65242         Define macro.
65243         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
65244         (SET_RESTORE_ROUNDF): Likewise.
65245         (SET_RESTORE_ROUNDL): Likewise.
65246         (SET_RESTORE_ROUND_NOEX): Likewise.
65247         (SET_RESTORE_ROUND_NOEXF): Likewise.
65248         (SET_RESTORE_ROUND_NOEXL): Likewise.
65249         (SET_RESTORE_ROUND_53BIT): Likewise.
65250         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
65251         (libc_feresetround_noexf_ctx): Likewise.
65252         (libc_feresetround_noexl_ctx): Likewise.
65253         (libc_feholdsetround_53bit_ctx): Likewise.
65254         (libc_feresetround_53bit_ctx): Likewise.
65255         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
65256         (libc_feholdexcept_setround_sse_ctx): New function.
65257         (libc_fesetenv_sse_ctx): Likewise.
65258         (libc_feupdateenv_sse_ctx): Likewise.
65259         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
65260         (libc_feholdexcept_setround_387_ctx): Likewise.
65261         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
65262         (libc_feholdsetround_387_prec_ctx): Likewise.
65263         (libc_feholdsetround_387_ctx): Likewise.
65264         (libc_feholdsetround_387_53bit_ctx): Likewise.
65265         (libc_feholdsetround_sse_ctx): Likewise.
65266         (libc_feresetround_sse_ctx): Likewise.
65267         (libc_feresetround_387_ctx): Likewise.
65268         (libc_feupdateenv_387_ctx): Likewise.
65269         (libc_feholdexcept_setroundf_ctx): Define macro.
65270         (libc_fesetenvf_ctx): Likewise.
65271         (libc_feupdateenvf_ctx): Likewise.
65272         (libc_feholdsetroundf_ctx): Likewise.
65273         (libc_feresetroundf_ctx): Likewise.
65274         (libc_feholdexcept_setround_ctx): Likewise.
65275         (libc_fesetenv_ctx): Likewise.
65276         (libc_feupdateenv_ctx): Likewise.
65277         (libc_feholdsetround_ctx): Likewise.
65278         (libc_feresetround_ctx): Likewise.
65279         (libc_feholdexcept_setroundl_ctx): Likewise.
65280         (libc_feupdateenvl_ctx): Likewise.
65281         (libc_feholdsetroundl_ctx): Likewise.
65282         (libc_feresetroundl_ctx): Likewise.
65283         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
65284         (libc_feresetround_53bit_ctx): Likewise.
65286 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65288         * locale/iso-639.def: Convert to UTF-8.
65290 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
65292         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
65293         (EXCEPTION_TESTS_double): Likewise.
65294         (EXCEPTION_TESTS_long_double): Likewise.
65295         (EXCEPTION_TESTS): Likewise.
65296         * math/libm-test.inc (test_exceptions): Only test exceptions if
65297         EXCEPTION_TESTS (FLOAT).
65299 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65301         * benchtests/Makefile (string-bench): Add strcpy_chk and
65302         stpcpy_chk.
65303         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
65304         * benchtests/bench-stpcpy_chk.c: New file.
65305         * benchtests/bench-strcpy_chk-ifunc.c: New file.
65306         * benchtests/bench-strcpy_chk.c: New file.
65307         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
65308         code.
65309         (do_test): Likewise.
65311 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65313         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
65314         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
65315         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
65316         with tabs where appropriate.
65317         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
65318         dl-procinfo.h.
65319         [PPC_PLATFORM_PPC440]: Likewise.
65320         [PPC_PLATFORM_PPC464]: Likewise.
65321         [PPC_PLATFORM_PPC476]: Likewise.
65322         (_dl_string_platform): Add support for detecting ppc405, ppc440,
65323         ppc464, and ppc476 platform strings merging from ports/
65324         dl-procinfo.h.
65326 2013-06-11  Andreas Schwab  <schwab@suse.de>
65328         [BZ #14991]
65329         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
65330         (from_ucs4_idx): Regenerate.
65331         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
65332         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
65333         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
65334         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
65335         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
65336         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
65337         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
65338         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
65339         from FROM_LOOP and TO_LOOP specific macros.
65340         (BODY): Handle combining characters.
65341         * iconvdata/BIG5HKSCS.irreversible: Update.
65342         * iconvdata/BIG5HKSCS.precomposed: New file.
65343         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
65344         characters.
65345         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
65347 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65349         * include/sys/time.h: Fix indentation and add copyright header.
65351         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
65352         (do_test): Likewise.
65353         * string/test-memchr.c (do_one_test): Likewise.
65354         (do_test): Likewise.
65355         * string/test-memcmp.c (do_one_test): Likewise.
65356         (do_test): Likewise.
65357         * string/test-memcpy.c (do_one_test): Likewise.
65358         (do_test): Likewise.
65359         * string/test-memmem.c (do_one_test): Likewise.
65360         (do_test): Likewise.
65361         (do_random_tests): Likewise.
65362         * string/test-memmove.c (do_one_test): Likewise.
65363         (do_test): Likewise.
65364         * string/test-memset.c (do_one_test): Likewise.
65365         (do_test): Likewise.
65366         * string/test-rawmemchr.c (do_one_test): Likewise.
65367         (do_test): Likewise.
65368         * string/test-strcasecmp.c (do_one_test): Likewise.
65369         (do_test): Likewise.
65370         * string/test-strcasestr.c (do_one_test): Likewise.
65371         (do_test): Likewise.
65372         * string/test-strcat.c (do_one_test): Likewise.
65373         (do_test): Likewise.
65374         * string/test-strchr.c (do_one_test): Likewise.
65375         (do_test): Likewise.
65376         * string/test-strcmp.c (do_one_test): Likewise.
65377         (do_test): Likewise.
65378         * string/test-strcpy.c (do_one_test): Likewise.
65379         (do_test): Likewise.
65380         * string/test-string.h: Likewise.
65381         (test_init): Likewise.
65382         * string/test-strlen.c (do_one_test): Likewise.
65383         (do_test): Likewise.
65384         * string/test-strncasecmp.c (do_one_test): Likewise.
65385         (do_test): Likewise.
65386         * string/test-strncat.c (do_one_test): Likewise.
65387         (do_test): Likewise.
65388         * string/test-strncmp.c (do_one_test): Likewise.
65389         (do_test_limit): Likewise.
65390         (do_test): Likewise.
65391         * string/test-strncpy.c (do_one_test): Likewise.
65392         (do_test): Likewise.
65393         * string/test-strnlen.c (do_one_test): Likewise.
65394         (do_test): Likewise.
65395         * string/test-strpbrk.c (do_one_test): Likewise.
65396         (do_test): Likewise.
65397         * string/test-strrchr.c (do_one_test): Likewise.
65398         (do_test): Likewise.
65399         * string/test-strspn.c (do_one_test): Likewise.
65400         (do_test): Likewise.
65401         * string/test-strstr.c (do_one_test): Likewise.
65402         (do_test): Likewise.
65404         * benchtests/Makefile (string-bench): Add string benchmarks.
65405         * benchtests/bench-bcopy-ifunc.c: New file.
65406         * benchtests/bench-bcopy.c: New file.
65407         * benchtests/bench-bzero-ifunc.c: New file.
65408         * benchtests/bench-bzero.c: New file.
65409         * benchtests/bench-memccpy-ifunc.c: New file.
65410         * benchtests/bench-memccpy.c: New file.
65411         * benchtests/bench-memchr-ifunc.c: New file.
65412         * benchtests/bench-memchr.c: New file.
65413         * benchtests/bench-memcmp-ifunc.c: New file.
65414         * benchtests/bench-memcmp.c: New file.
65415         * benchtests/bench-memmem-ifunc.c: New file.
65416         * benchtests/bench-memmem.c: New file.
65417         * benchtests/bench-memmove-ifunc.c: New file.
65418         * benchtests/bench-memmove.c: New file.
65419         * benchtests/bench-mempcpy-ifunc.c: New file.
65420         * benchtests/bench-mempcpy.c: New file.
65421         * benchtests/bench-memset-ifunc.c: New file.
65422         * benchtests/bench-memset.c: New file.
65423         * benchtests/bench-rawmemchr-ifunc.c: New file.
65424         * benchtests/bench-rawmemchr.c: New file.
65425         * benchtests/bench-stpcpy-ifunc.c: New file.
65426         * benchtests/bench-stpcpy.c: New file.
65427         * benchtests/bench-stpncpy-ifunc.c: New file.
65428         * benchtests/bench-stpncpy.c: New file.
65429         * benchtests/bench-strcasecmp-ifunc.c: New file.
65430         * benchtests/bench-strcasecmp.c: New file.
65431         * benchtests/bench-strcasestr-ifunc.c: New file.
65432         * benchtests/bench-strcasestr.c: New file.
65433         * benchtests/bench-strcat-ifunc.c: New file.
65434         * benchtests/bench-strcat.c: New file.
65435         * benchtests/bench-strchr-ifunc.c: New file.
65436         * benchtests/bench-strchr.c: New file.
65437         * benchtests/bench-strchrnul-ifunc.c: New file.
65438         * benchtests/bench-strchrnul.c: New file.
65439         * benchtests/bench-strcmp-ifunc.c: New file.
65440         * benchtests/bench-strcmp.c: New file.
65441         * benchtests/bench-strcpy-ifunc.c: New file.
65442         * benchtests/bench-strcpy.c: New file.
65443         * benchtests/bench-strcspn-ifunc.c: New file.
65444         * benchtests/bench-strcspn.c: New file.
65445         * benchtests/bench-strlen-ifunc.c: New file.
65446         * benchtests/bench-strlen.c: New file.
65447         * benchtests/bench-strncasecmp-ifunc.c: New file.
65448         * benchtests/bench-strncasecmp.c: New file.
65449         * benchtests/bench-strncat-ifunc.c: New file.
65450         * benchtests/bench-strncat.c: New file.
65451         * benchtests/bench-strncmp-ifunc.c: New file.
65452         * benchtests/bench-strncmp.c: New file.
65453         * benchtests/bench-strncpy-ifunc.c: New file.
65454         * benchtests/bench-strncpy.c: New file.
65455         * benchtests/bench-strnlen-ifunc.c: New file.
65456         * benchtests/bench-strnlen.c: New file.
65457         * benchtests/bench-strpbrk-ifunc.c: New file.
65458         * benchtests/bench-strpbrk.c: New file.
65459         * benchtests/bench-strrchr-ifunc.c: New file.
65460         * benchtests/bench-strrchr.c: New file.
65461         * benchtests/bench-strspn-ifunc.c: New file.
65462         * benchtests/bench-strspn.c: New file.
65463         * benchtests/bench-strstr-ifunc.c: New file.
65464         * benchtests/bench-strstr.c: New file.
65466         * benchtests/Makefile: Disable parallel execution of targets.
65467         (string-bench): Add memcpy.
65468         (benchset): New variable to store a list of benchmark sets.
65469         (bench-func): Renamed from bench.
65470         (bench-set): New target.
65471         (bench): Depend on bench-func and bench-set.
65472         * benchtests/README: Add section on benchmark sets.
65473         * benchtests/bench-memcpy-ifunc.c: New file.
65474         * benchtests/bench-memcpy.c: New file.
65475         * benchtests/bench-string.h: New file.
65477 2013-06-11  Andreas Schwab  <schwab@suse.de>
65479         [BZ #15577]
65480         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
65481         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
65482         values in the triple.
65483         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
65484         terminator in the group key.
65486 2013-06-11  Andreas Jaeger  <aj@suse.de>
65488         * po/zh_TW.po: Update Chinese (traditional) translation from
65489         translation project.
65491 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65493         * include/time.h (__clock_gettime): Add libc_hidden_proto.
65494         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
65495         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
65496         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
65497         (clock_getcpuclockid): Likewise.
65498         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
65499         Add weak_alias and libc_hidden_def.
65500         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
65501         * rt/clock_gettime.c (clock_gettime): Rename to
65502         __clock_gettime.  Add weak_alias and libc_hidden_def.
65503         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
65504         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
65505         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
65506         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
65507         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
65508         Likewise.
65509         * rt/clock_settime.c (clock_settime): Rename to
65510         __clock_settime.  Add weak_alias and libc_hidden_def.
65511         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
65513 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
65515         * mach/err_boot.sub: Remove trailing whitespace.
65516         * mach/err_ipc.sub: Likewise.
65517         * mach/err_mach.sub: Likewise.
65519         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
65520         (ROUNDING_TESTS_double): Likewise.
65521         (ROUNDING_TESTS_long_double): Likewise.
65522         (ROUNDING_TESTS): Likewise.
65523         * math/libm-test.inc: Include <math-tests.h>.
65524         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
65525         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
65526         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
65527         (IF_ROUND_INIT_FE_UPWARD): Likewise.
65529 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65531         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
65532         of assigning.
65534 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
65536         * sysdeps/gnu/errlist.awk: Do not generate space at end of
65537         otherwise empty TRANS lines.
65538         * sysdeps/gnu/errlist.c: Regenerated.
65540         * catgets/gencat.c (error_print): Use (void) in function
65541         definition.
65542         * crypt/crypt_util.c (__init_des): Likewise.
65543         * crypt/speeds.c (Stop): Likewise.
65544         (main): Likewise.
65545         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
65546         * inet/ruserpass.c (token): Likewise.
65547         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
65548         * intl/localealias.c (extend_alias_table): Likewise.
65549         * intl/plural-exp.c (init_germanic_plural): Likewise.
65550         * libio/fcloseall.c (__fcloseall): Likewise.
65551         * libio/genops.c (_IO_flush_all): Likewise.
65552         (_IO_flush_all_linebuffered): Likewise.
65553         (_IO_cleanup): Likewise.
65554         (_IO_iter_begin): Likewise.
65555         (_IO_iter_end): Likewise.
65556         (_IO_list_lock): Likewise.
65557         (_IO_list_unlock): Likewise.
65558         (_IO_list_resetlock): Likewise.
65559         * libio/getchar.c (getchar): Likewise.
65560         * libio/getchar_u.c (getchar_unlocked): Likewise.
65561         * libio/getwchar.c (getwchar): Likewise.
65562         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
65563         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
65564         * login/getpt.c (__getpt): Likewise.
65565         * login/tst-utmp.c (main): Likewise.
65566         * malloc/hooks.c (__malloc_check_init): Likewise.
65567         * malloc/malloc.c (__malloc_stats): Likewise.
65568         * malloc/mtrace.c (tr_break): Likewise.
65569         (mtrace): Likewise.
65570         (muntrace): Likewise.
65571         * misc/fstab.c (endfsent): Likewise.
65572         * misc/getclktck.c (__getclktck): Likewise.
65573         * misc/getdtsz.c (__getdtablesize): Likewise.
65574         * misc/gethostid.c (gethostid): Likewise.
65575         * misc/getpagesize.c (__getpagesize): Likewise.
65576         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
65577         (__get_nprocs): Likewise.
65578         (__get_phys_pages): Likewise.
65579         (__get_avphys_pages): Likewise.
65580         * misc/getttyent.c (getttyent): Likewise.
65581         (setttyent): Likewise.
65582         (endttyent): Likewise.
65583         * misc/getusershell.c (getusershell): Likewise.
65584         (endusershell): Likewise.
65585         (setusershell): Likewise.
65586         (initshells): Likewise.
65587         * misc/hsearch.c (__hdestroy): Likewise.
65588         * misc/sync.c (sync): Likewise.
65589         * misc/syslog.c (closelog_internal): Likewise.
65590         (closelog): Likewise.
65591         * misc/ttyslot.c (ttyslot): Likewise.
65592         * misc/vhangup.c (vhangup): Likewise.
65593         * posix/fork.c (__fork): Likewise.
65594         * posix/getegid.c (__getegid): Likewise.
65595         * posix/geteuid.c (__geteuid): Likewise.
65596         * posix/getgid.c (__getgid): Likewise.
65597         * posix/getpid.c (__getpid): Likewise.
65598         * posix/getppid.c (__getppid): Likewise.
65599         * posix/getuid.c (__getuid): Likewise.
65600         * posix/pause.c (pause): Likewise.
65601         * posix/setpgrp.c (setpgrp): Likewise.
65602         * posix/setsid.c (__setsid): Likewise.
65603         * posix/test-vfork.c (noop): Likewise.
65604         * resolv/gethnamaddr.c (_endhtent): Likewise.
65605         (_gethtent): Likewise.
65606         (ht_endhostent): Likewise.
65607         (gethostent): Likewise.
65608         (dns_service): Likewise.
65609         * stdlib/drand48.c (drand48): Likewise.
65610         * stdlib/lrand48.c (lrand48): Likewise.
65611         * stdlib/mrand48.c (mrand48): Likewise.
65612         * stdlib/rand.c (rand): Likewise.
65613         * stdlib/random.c (__random): Likewise.
65614         * stdlib/setenv.c (clearenv): Likewise.
65615         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
65616         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
65617         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
65618         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
65619         (__get_nprocs): Likewise.
65620         (__get_phys_pages): Likewise.
65621         (__get_avphys_pages): Likewise.
65622         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
65623         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
65624         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
65625         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
65626         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
65627         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
65628         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
65629         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
65630         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
65631         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
65632         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
65633         * sysdeps/mach/hurd/sync.c (sync): Likewise.
65634         * sysdeps/posix/clock.c (clock): Likewise.
65635         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
65636         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
65637         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
65638         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
65639         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
65640         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
65641         (__get_nprocs_conf): Likewise.
65642         (__get_phys_pages): Likewise.
65643         (__get_avphys_pages): Likewise.
65644         * time/clock.c (clock): Likewise.
65645         * time/tzset.c (__tzname_max): Likewise.
65647 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
65649         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
65650         (__bswap_32): Do not use "register".
65651         * crypt/crypt.c (_ufc_doit_r): Likewise.
65652         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
65653         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
65654         * gmon/gmon.c (__monstartup): Likewise.
65655         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
65656         * hurd/hurdmalloc.c (more_memory): Likewise.
65657         (malloc): Likewise.
65658         (free): Likewise.
65659         (realloc): Likewise.
65660         (malloc_fork_prepare): Likewise.
65661         (malloc_fork_parent): Likewise.
65662         (malloc_fork_child): Likewise.
65663         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
65664         (_svcauth_des): Likewise.
65665         * inet/inet_lnaof.c (inet_lnaof): Likewise.
65666         * inet/inet_net.c (inet_network): Likewise.
65667         * inet/inet_netof.c (inet_netof): Likewise.
65668         * inet/rcmd.c (__validuser2_sa): Likewise.
65669         * io/fts.c (fts_open): Likewise.
65670         (fts_load): Likewise.
65671         (fts_close): Likewise.
65672         (fts_read): Likewise.
65673         (fts_children): Likewise.
65674         (fts_build): Likewise.
65675         (fts_stat): Likewise.
65676         (fts_sort): Likewise.
65677         (fts_alloc): Likewise.
65678         (fts_lfree): Likewise.
65679         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
65680         (_IO_file_xsgetn): Likewise.
65681         (_IO_file_xsgetn_mmap): Likewise.
65682         * libio/iofopncook.c (_IO_cookie_read): Likewise.
65683         (_IO_cookie_write): Likewise.
65684         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
65685         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
65686         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
65687         * malloc/obstack.c (_obstack_begin): Likewise.
65688         (_obstack_begin_1): Likewise.
65689         (_obstack_newchunk): Likewise.
65690         (_obstack_allocated_p): Likewise.
65691         (obstack_free): Likewise.
65692         (_obstack_memory_used): Likewise.
65693         * misc/getttyent.c (getttynam): Likewise.
65694         (getttyent): Likewise.
65695         (skip): Likewise.
65696         (value): Likewise.
65697         * misc/getusershell.c (initshells): Likewise.
65698         * misc/syslog.c (__vsyslog_chk): Likewise.
65699         * misc/ttyslot.c (ttyslot): Likewise.
65700         * nis/nis_hash.c (__nis_hash): Likewise.
65701         * posix/fnmatch_loop.c (FCT): Likewise.
65702         * posix/getconf.c (print_all): Likewise.
65703         (main): Likewise.
65704         * posix/getopt.c (exchange): Likewise.
65705         * posix/glob.c (globfree): Likewise.
65706         (prefix_array): Likewise.
65707         (__glob_pattern_type): Likewise.
65708         * resolv/arpa/nameser.h (NS_GET16): Likewise.
65709         (NS_GET32): Likewise.
65710         (NS_PUT16): Likewise.
65711         (NS_PUT32): Likewise.
65712         * resolv/gethnamaddr.c (getanswer): Likewise.
65713         (gethostbyname2): Likewise.
65714         (gethostbyaddr): Likewise.
65715         (_gethtent): Likewise.
65716         (_gethtbyname2): Likewise.
65717         (_gethtbyaddr): Likewise.
65718         * resolv/ns_print.c (dst_s_get_int16): Likewise.
65719         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
65720         * resolv/res_init.c (__res_vinit): Likewise.
65721         (net_mask): Likewise.
65722         * resolv/res_mkquery.c (outchar): Likewise.
65723         (PRINT): Likewise.
65724         * stdio-common/printf_fp.c (outchar): Likewise.
65725         (PRINT): Likewise.
65726         * stdio-common/printf_fphex.c (outchar): Likewise.
65727         (PRINT): Likewise.
65728         * stdio-common/printf_size.c (outchar): Likewise.
65729         (PRINT): Likewise.
65730         * stdio-common/test_rdwr.c (main): Likewise.
65731         * stdio-common/tfformat.c (matches): Likewise.
65732         * stdio-common/vfprintf.c (outchar): Likewise.
65733         (printf_unknown): Likewise.
65734         (buffered_vfprintf): Likewise.
65735         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
65736         * stdio-common/xbug.c (AppendToBuffer): Likewise.
65737         (ReadFile): Likewise.
65738         * stdlib/qsort.c (SWAP): Likewise.
65739         (_quicksort): Likewise.
65740         * stdlib/setenv.c (__add_to_environ): Likewise.
65741         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
65742         * stdlib/strtol_l.c (__strtol_l): Likewise.
65743         * stdlib/tst-strtod.c (main): Likewise.
65744         * stdlib/tst-strtol.c (main): Likewise.
65745         * stdlib/tst-strtoll.c (main): Likewise.
65746         * string/bits/string2.h (__strcmp_cc): Likewise.
65747         (__strcmp_cg): Likewise.
65748         (__strcspn_c1): Likewise.
65749         (__strcspn_c2): Likewise.
65750         (__strcspn_c3): Likewise.
65751         (__strspn_c1): Likewise.
65752         (__strspn_c2): Likewise.
65753         (__strspn_c3): Likewise.
65754         (__strsep_1c): Likewise.
65755         (__strsep_2c): Likewise.
65756         (__strsep_3c): Likewise.
65757         * string/memccpy.c (__memccpy): Likewise.
65758         * string/stpcpy.c (__stpcpy): Likewise.
65759         * string/strcmp.c (strcmp): Likewise.
65760         * string/strrchr.c (strrchr): Likewise.
65761         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
65762         Likewise.
65763         * sysdeps/mach/hurd/getcwd.c
65764         (_hurd_canonicalize_directory_name_internal): Likewise.
65765         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
65766         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
65767         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
65768         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
65769         Likewise, in both definitions.
65770         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
65771         definitions.
65772         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
65773         64] (__bswap_64): Likewise.
65774         * time/test_time.c (main): Likewise.
65775         * time/tzfile.c (__tzfile_read): Likewise.
65776         (__tzfile_compute): Likewise.
65777         * time/tzset.c (__tzset_parse_tz): Likewise.
65778         (tzset_internal): Likewise.
65779         (compute_change): Likewise.
65780         * wcsmbs/wcscat.c (__wcscat): Likewise.
65781         * wcsmbs/wcschr.c (wcschr): Likewise.
65782         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
65783         * wcsmbs/wcscspn.c (wcscspn): Likewise.
65784         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
65785         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
65786         * wcsmbs/wcsspn.c (wcsspn): Likewise.
65787         * wcsmbs/wcsstr.c (wcsstr): Likewise.
65788         * wcsmbs/wmemchr.c (wmemchr): Likewise.
65789         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
65790         * wcsmbs/wmemset.c (wmemset): Likewise.
65792 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
65794         * scripts/config.guess: Update to version 2013-05-16.
65795         * scripts/config.sub: Update to version 2013-04-24.
65796         * scripts/install-sh: Update to version 2011-11-20.07.
65797         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
65798         * scripts/move-if-change: Update to version 2012-01-06 07:23.
65800 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
65802         * debug/fgetws_u_chk.c: Fix leading whitespaces.
65803         * elf/sln.c: Likewise.
65804         * hurd/hurd/ioctl.h: Likewise.
65805         * hurd/hurdmalloc.c: Likewise.
65806         * hurd/xattr.c: Likewise.
65807         * include/shlib-compat.h: Likewise.
65808         * inet/ruserpass.c: Likewise.
65809         * libio/iofgets_u.c: Likewise.
65810         * libio/iofgetws_u.c: Likewise.
65811         * locale/programs/ld-identification.c: Likewise.
65812         * locale/programs/ld-time.c: Likewise.
65813         * mach/msg-destroy.c: Likewise.
65814         * nss/nss_files/files-netgrp.c: Likewise.
65815         * resolv/res_data.c: Likewise.
65816         * soft-fp/op-1.h: Likewise.
65817         * soft-fp/op-2.h: Likewise.
65818         * soft-fp/op-4.h: Likewise.
65819         * soft-fp/op-common.h: Likewise.
65820         * stdio-common/printf_fphex.c: Likewise.
65821         * stdlib/strtod_l.c: Likewise.
65822         * sunrpc/rpc/clnt.h: Likewise.
65823         * sysdeps/generic/framestate.c: Likewise.
65824         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65825         * sysdeps/i386/bsd-setjmp.S: Likewise.
65826         * sysdeps/i386/__longjmp.S: Likewise.
65827         * sysdeps/i386/setjmp.S: Likewise.
65828         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
65829         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
65830         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65831         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
65832         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
65833         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
65834         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
65835         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
65836         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
65837         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
65838         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
65839         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
65840         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
65841         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
65842         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
65843         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
65844         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
65845         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
65846         * sysdeps/ieee754/support.c: Likewise.
65847         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
65848         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
65849         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
65850         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
65851         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
65852         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
65853         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
65854         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
65855         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
65856         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
65857         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65858         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65859         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65860         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65861         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65862         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65863         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65866 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
65868         * posix/transbug.c: Remove executable mode.
65870 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65872         * crypt/speeds.c: Remove trailing whitespace.
65873         * dlfcn/default.c: Likewise.
65874         * elf/ifuncdep2.c: Likewise.
65875         * elf/ifuncmain1.c: Likewise.
65876         * elf/ifuncmain1vis.c: Likewise.
65877         * elf/testobj.h: Likewise.
65878         * elf/tst-stackguard1.c: Likewise.
65879         * gmon/sys/gmon.h: Likewise.
65880         * hurd/hurdmsg.c: Likewise.
65881         * hurd/new-fd.c: Likewise.
65882         * hurd/ports-get.c: Likewise.
65883         * iconvdata/ibm1008_420.c: Likewise.
65884         * inet/tst-getni1.c: Likewise.
65885         * inet/tst-getni2.c: Likewise.
65886         * libio/ioungetc.c: Likewise.
65887         * libio/wfiledoalloc.c: Likewise.
65888         * manual/libm-err-tab.pl: Likewise.
65889         * math/w_dremf.c: Likewise.
65890         * misc/ftruncate.c: Likewise.
65891         * posix/bug-glob2.c: Likewise.
65892         * posix/tst-pcre.c: Likewise.
65893         * posix/wait4.c: Likewise.
65894         * resolv/README: Likewise.
65895         * resolv/res_debug.h: Likewise.
65896         * resolv/tst-inet_ntop.c: Likewise.
65897         * setjmp/bug269-setjmp.c: Likewise.
65898         * soft-fp/extended.h: Likewise.
65899         * soft-fp/op-1.h: Likewise.
65900         * soft-fp/op-2.h: Likewise.
65901         * soft-fp/op-4.h: Likewise.
65902         * soft-fp/op-8.h: Likewise.
65903         * soft-fp/testit.c: Likewise.
65904         * stdio-common/bug16.c: Likewise.
65905         * stdlib/random.c: Likewise.
65906         * sunrpc/rpcsvc/rquota.x: Likewise.
65907         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65908         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65909         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65910         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65911         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65912         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65913         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65914         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65915         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65916         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65917         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65918         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65919         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65920         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65921         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65922         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65923         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65924         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65925         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65926         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65927         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65928         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65929         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65930         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65931         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65932         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65933         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65935         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65936         * sysdeps/ieee754/s_lib_version.c: Likewise.
65937         * sysdeps/mach/hurd/check_fds.c: Likewise.
65938         * sysdeps/mach/hurd/getsockname.c: Likewise.
65939         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65940         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65941         * sysdeps/powerpc/bits/link.h: Likewise.
65942         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65943         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65944         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65945         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65946         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65947         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65948         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65949         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65950         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65951         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65952         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65953         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65954         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65955         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65956         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65957         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65958         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65961         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65962         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65963         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65964         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65965         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65966         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65967         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65968         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65969         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65970         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65971         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65972         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65973         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65974         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65975         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65976         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65977         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65978         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65979         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65980         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65981         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65982         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65983         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65984         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65985         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65986         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65987         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65988         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65989         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65990         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65991         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65992         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65993         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65994         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65995         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65996         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65997         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65998         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65999         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
66000         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
66001         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
66002         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
66003         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
66004         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
66005         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
66006         * sysdeps/powerpc/sysdep.h: Likewise.
66007         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
66008         * sysdeps/s390/s390-64/sub_n.S: Likewise.
66009         * sysdeps/sh/dl-trampoline.S: Likewise.
66010         * sysdeps/sh/memset.S: Likewise.
66011         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
66012         * sysdeps/sh/strlen.S: Likewise.
66013         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
66014         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
66015         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
66016         * sysdeps/sparc/sparc32/rem.S: Likewise.
66017         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
66018         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
66019         * sysdeps/sparc/sparc32/strchr.S: Likewise.
66020         * sysdeps/sparc/sparc32/udiv.S: Likewise.
66021         * sysdeps/sparc/sparc32/urem.S: Likewise.
66022         * sysdeps/sparc/sparc64/add_n.S: Likewise.
66023         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
66024         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
66025         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
66026         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
66027         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
66028         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
66029         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
66030         * sysdeps/unix/bsd/times.c: Likewise.
66031         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
66032         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
66033         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
66034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
66035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
66036         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
66037         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
66038         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
66039         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
66040         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
66041         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
66042         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66043         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
66044         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
66045         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66046         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
66047         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66048         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
66049         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
66050         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
66051         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
66052         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
66053         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
66054         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
66055         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
66056         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
66057         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
66058         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
66059         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
66060         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
66061         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
66062         * sysdeps/x86_64/strcspn.S: Likewise.
66064 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66066         * locale/C-translit.h: Revert #include <stdint.h> because this is a
66067         generated file.  Regenerate properly from gen-translit.pl.
66068         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
66069         locale/C-translit.h.
66071 2013-06-05  Andreas Schwab  <schwab@suse.de>
66073         [BZ #15100]
66074         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
66075         week as 6 instead of -1.
66076         * time/tst-strptime.c (day_tests): Add test case.
66078 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66080         * sysdeps/generic/math_private.h
66081         (libc_feholdexcept_setround_53bit): Replace with
66082         libc_feholdsetround_53bit.
66083         (libc_feupdateenv_53bit): Replace with
66084         libc_feresetround_53bit.
66085         (SET_RESTORE_ROUND_53BIT): Adjust.
66087 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
66089         * string/test-strchrnul.c: Add copyright header.
66091         * posix/tst-getaddrinfo4.c: Increase test timeout.
66093 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
66095         [BZ #15536]
66096         * math/libm-test.inc (MAX_EXP): Remove
66097         (MIN_EXP): Define.
66098         (ulp): Use MIN_EXP - MANT_DIG.
66099         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
66101 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
66103         * po/be.po: Revert last change.
66104         * po/zh_CN.po: Likewise.
66105         * po/header.pot: Likewise.
66107 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
66109         * Makefile ($(common-objpfx)linkobj/libc.so): Define
66110         link-libc-deps to empty as target-specific variable.
66111         * Makerules (link-libc-args): New variable.
66112         (libc-for-link): Likewise.
66113         (link-libc-deps): Likewise.
66114         (lib%.so): Depend on $(link-libc-deps).  Link with
66115         $(link-libc-args).
66116         (build-module): Link with $(link-libc-args).
66117         (build-module-asneeded): Likewise.
66118         (build-module-helper-objlist): Filter out $(link-libc-deps) from
66119         list of objects.
66120         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
66121         target-specific variable.
66122         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
66123         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
66124         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
66125         libc.
66126         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
66127         libc and ld.so.
66128         ($(objpfx)libpcprofile.so): Likewise.
66129         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
66130         libc_nonshared.a.
66131         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
66132         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
66133         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
66134         $(link-libc-deps).
66135         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
66136         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
66137         * login/Makefile ($(objpfx)libutil.so): Likewise.
66138         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
66139         * math/Makefile ($(objpfx)libm.so): Likewise.
66140         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
66141         $(objpfx)libnsl.so): Define libc-for-link as target-specific
66142         variable instead of depending directly on libc.
66143         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
66144         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
66145         $(link-libc-deps).
66146         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
66147         libc.
66148         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
66149         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
66150         ($(objpfx)libanl.so): Likewise.
66151         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
66152         ld.so.
66153         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
66154         $(link-libc-deps).
66155         * sysdeps/i386/fpu/Makefile: Remove file.
66156         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
66157         ($(objpfx)libm.so): Remove dependency on ld.so.
66159 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
66161         [BZ # 15553]
66162         * nis/yp_xdr.c (XDRMAXNAME): Define.
66163         (XDRMAXRECORD): Define.
66164         (xdr_domainname): Use XDRMAXNAME.
66165         (xdr_mapname): Likewise.
66166         (xdr_peername): Likewise.
66167         (xdr_keydat): Use XDRMAXRECORD.
66168         (xdr_valdat): Likewise.
66170 2013-05-30  Jeff Law  <law@redhat.com>
66172         [BZ #14256]
66173         * manual/errno.texi (ESTALE): Update to account for more than
66174         just NFS file systems.
66175         * sysdeps/gnu/errlist.c: Regenerated.
66177 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
66179         [BZ #15465]
66180         * elf/Makefile (tests): Add tst-null-argv.
66181         (modules-names):  Add tst-null-argv-lib.
66182         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
66183         (tst-null-argv-ENV): Set environment for tst-null-argv.
66184         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
66185         (RTLD_PROGNAME): New macro.
66186         * elf/tst-null-argv.c: New test case.
66187         * elf/tst-null-argv-lib.c: Library for test case.
66188         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
66189         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
66190         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
66191         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
66192         * elf/dl-init.c (call_init): Likewise.
66193         (_dl_init): Likewise.
66194         * elf/dl-load.c (print_search_path): Likewise.
66195         (_dl_map_object): Likewise.
66196         * elf/dl-lookup.c (do_lookup_x): Likewise.
66197         (add_dependency): Likewise.
66198         (_dl_lookup_symbol_x): Likewise.
66199         (_dl_debug_bindings): Likewise.
66200         * elf/dl-open.c (_dl_show_scope): Likewise.
66201         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
66202         * elf/dl-version.c (match_symbol): Likewise.
66203         (_dl_check_map_versions): Likewise.
66204         * elf/rtld.c (dl_main): Likewise.
66205         (print_unresolved): Use RTLD_PROGNAME.
66206         (print_missing_version): Likewise.
66207         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
66208         (elf_machine_rela): Likewise.
66209         * sysdeps/powerpc/powerpc32/dl-machine.c
66210         (__process_machine_rela): Likewise.
66211         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66212         Likewise.
66213         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
66214         Likewise.
66215         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
66216         Likewise.
66217         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
66218         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
66219         Likewise.
66220         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
66221         Likewise.
66222         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
66224 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
66226         * po/be.po: Add descriptive title.
66227         * po/zh_CN.po: Likewise.
66228         * po/header.pot: Likewise.
66230 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
66232         * locale/programs/locarchive.c (create_archive): Inlucde fname in
66233         error message.
66234         (enlarge_archive): Likewise.
66236 2013-05-28  Ben North  <ben@redfrontdoor.org>
66238         * manual/arith.texi (frexp): It is the magnitude of the return
66239         value which lies in [0.5, 1), not the return value itself.
66241 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66243         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66245 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
66247         * stdio-common/bug26.c (main): Correct fscanf template.
66249         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
66250         declare _dl_skip_args.
66252         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
66253         Don't declare.
66255         * manual/platform.texi: Add missing @end deftypefun.
66257 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66259         [BZ #15529]
66260         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
66261         bit of mantissa of 2^16382.
66262         * math/libm-test.inc (hypot_test_data): Add more tests.
66264         * math/libm-test.inc: Add drem and pow10 to list of tested
66265         functions.
66266         (pow10_test): New function.
66267         (drem_test): Likewise.
66268         (drem_test_tonearest): Likewise.
66269         (drem_test_towardzero): Likewise.
66270         (drem_test_downward): Likewise.
66271         (drem_test_upward): Likewise.
66272         (main): Call the new functions.
66274         * math/libm-test.inc (finite_test_data): Remove.
66275         (finite_test): Run tests from isfinite_test_data.
66276         (gamma_test_data): Remove.
66277         (gamma_test): Run tests from lgamma_test_data.
66278         * sysdeps/i386/fpu/libm-test-ulps: Update.
66279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66281 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66283         * manual/platform.texi: Add PowerPC PPR function set documentation.
66284         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
66285         implementation.
66287 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
66289         * math/libm-test.inc (MAX_EXP): Define.
66290         (ULPDIFF): Define.
66291         (ulp): New function.
66292         (check_float_internal): Use ULPDIFF.
66293         (cpow_test): Disable failing test.
66294         (check_ulp): Test ulp() implementation.
66295         (main): Call check_ulp before starting tests.
66297 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
66299         * math/gen-libm-test.pl (generate_testfile): Do not handle
66300         START_DATA and END_DATA.
66301         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
66302         END_DATA.
66303         (acos_tonearest_test_data): Likewise.
66304         (acos_towardzero_test_data): Likewise.
66305         (acos_downward_test_data): Likewise.
66306         (acos_upward_test_data): Likewise.
66307         (acosh_test_data): Likewise.
66308         (asin_test_data): Likewise.
66309         (asin_tonearest_test_data): Likewise.
66310         (asin_towardzero_test_data): Likewise.
66311         (asin_downward_test_data): Likewise.
66312         (asin_upward_test_data): Likewise.
66313         (asinh_test_data): Likewise.
66314         (atan_test_data): Likewise.
66315         (atanh_test_data): Likewise.
66316         (atan2_test_data): Likewise.
66317         (cabs_test_data): Likewise.
66318         (cacos_test_data): Likewise.
66319         (cacosh_test_data): Likewise.
66320         (carg_test_data): Likewise.
66321         (casin_test_data): Likewise.
66322         (casinh_test_data): Likewise.
66323         (catan_test_data): Likewise.
66324         (catanh_test_data): Likewise.
66325         (cbrt_test_data): Likewise.
66326         (ccos_test_data): Likewise.
66327         (ccosh_test_data): Likewise.
66328         (ceil_test_data): Likewise.
66329         (cexp_test_data): Likewise.
66330         (cimag_test_data): Likewise.
66331         (clog_test_data): Likewise.
66332         (clog10_test_data): Likewise.
66333         (conj_test_data): Likewise.
66334         (copysign_test_data): Likewise.
66335         (cos_test_data): Likewise.
66336         (cos_tonearest_test_data): Likewise.
66337         (cos_towardzero_test_data): Likewise.
66338         (cos_downward_test_data): Likewise.
66339         (cos_upward_test_data): Likewise.
66340         (cosh_test_data): Likewise.
66341         (cosh_tonearest_test_data): Likewise.
66342         (cosh_towardzero_test_data): Likewise.
66343         (cosh_downward_test_data): Likewise.
66344         (cosh_upward_test_data): Likewise.
66345         (cpow_test_data): Likewise.
66346         (cproj_test_data): Likewise.
66347         (creal_test_data): Likewise.
66348         (csin_test_data): Likewise.
66349         (csinh_test_data): Likewise.
66350         (csqrt_test_data): Likewise.
66351         (ctan_test_data): Likewise.
66352         (ctan_tonearest_test_data): Likewise.
66353         (ctan_towardzero_test_data): Likewise.
66354         (ctan_downward_test_data): Likewise.
66355         (ctan_upward_test_data): Likewise.
66356         (ctanh_test_data): Likewise.
66357         (ctanh_tonearest_test_data): Likewise.
66358         (ctanh_towardzero_test_data): Likewise.
66359         (ctanh_downward_test_data): Likewise.
66360         (ctanh_upward_test_data): Likewise.
66361         (erf_test_data): Likewise.
66362         (erfc_test_data): Likewise.
66363         (exp_test_data): Likewise.
66364         (exp_tonearest_test_data): Likewise.
66365         (exp_towardzero_test_data): Likewise.
66366         (exp_downward_test_data): Likewise.
66367         (exp_upward_test_data): Likewise.
66368         (exp10_test_data): Likewise.
66369         (exp2_test_data): Likewise.
66370         (expm1_test_data): Likewise.
66371         (fabs_test_data): Likewise.
66372         (fdim_test_data): Likewise.
66373         (finite_test_data): Likewise.
66374         (floor_test_data): Likewise.
66375         (fma_test_data): Likewise.
66376         (fma_towardzero_test_data): Likewise.
66377         (fma_downward_test_data): Likewise.
66378         (fma_upward_test_data): Likewise.
66379         (fmax_test_data): Likewise.
66380         (fmin_test_data): Likewise.
66381         (fmod_test_data): Likewise.
66382         (fpclassify_test_data): Likewise.
66383         (frexp_test_data): Likewise.
66384         (gamma_test_data): Likewise.
66385         (hypot_test_data): Likewise.
66386         (ilogb_test_data): Likewise.
66387         (isfinite_test_data): Likewise.
66388         (isgreater_test_data): Likewise.
66389         (isgreaterequal_test_data): Likewise.
66390         (isinf_test_data): Likewise.
66391         (isless_test_data): Likewise.
66392         (islessequal_test_data): Likewise.
66393         (islessgreater_test_data): Likewise.
66394         (isnan_test_data): Likewise.
66395         (isnormal_test_data): Likewise.
66396         (issignaling_test_data): Likewise.
66397         (isunordered_test_data): Likewise.
66398         (j0_test_data): Likewise.
66399         (j1_test_data): Likewise.
66400         (jn_test_data): Likewise.
66401         (ldexp_test_data): Likewise.
66402         (lgamma_test_data): Likewise.
66403         (lrint_test_data): Likewise.
66404         (lrint_tonearest_test_data): Likewise.
66405         (lrint_towardzero_test_data): Likewise.
66406         (lrint_downward_test_data): Likewise.
66407         (lrint_upward_test_data): Likewise.
66408         (llrint_test_data): Likewise.
66409         (llrint_tonearest_test_data): Likewise.
66410         (llrint_towardzero_test_data): Likewise.
66411         (llrint_downward_test_data): Likewise.
66412         (llrint_upward_test_data): Likewise.
66413         (log_test_data): Likewise.
66414         (log10_test_data): Likewise.
66415         (log1p_test_data): Likewise.
66416         (log2_test_data): Likewise.
66417         (logb_test_data): Likewise.
66418         (logb_downward_test_data): Likewise.
66419         (lround_test_data): Likewise.
66420         (llround_test_data): Likewise.
66421         (modf_test_data): Likewise.
66422         (nearbyint_test_data): Likewise.
66423         (nextafter_test_data): Likewise.
66424         (nexttoward_test_data): Likewise.
66425         (pow_test_data): Likewise.
66426         (pow_tonearest_test_data): Likewise.
66427         (pow_towardzero_test_data): Likewise.
66428         (pow_downward_test_data): Likewise.
66429         (pow_upward_test_data): Likewise.
66430         (remainder_test_data): Likewise.
66431         (remainder_tonearest_test_data): Likewise.
66432         (remainder_towardzero_test_data): Likewise.
66433         (remainder_downward_test_data): Likewise.
66434         (remainder_upward_test_data): Likewise.
66435         (remquo_test_data): Likewise.
66436         (rint_test_data): Likewise.
66437         (rint_tonearest_test_data): Likewise.
66438         (rint_towardzero_test_data): Likewise.
66439         (rint_downward_test_data): Likewise.
66440         (rint_upward_test_data): Likewise.
66441         (round_test_data): Likewise.
66442         (scalb_test_data): Likewise.
66443         (scalbn_test_data): Likewise.
66444         (scalbln_test_data): Likewise.
66445         (signbit_test_data): Likewise.
66446         (sin_test_data): Likewise.
66447         (sin_tonearest_test_data): Likewise.
66448         (sin_towardzero_test_data): Likewise.
66449         (sin_downward_test_data): Likewise.
66450         (sin_upward_test_data): Likewise.
66451         (sincos_test_data): Likewise.
66452         (sinh_test_data): Likewise.
66453         (sinh_tonearest_test_data): Likewise.
66454         (sinh_towardzero_test_data): Likewise.
66455         (sinh_downward_test_data): Likewise.
66456         (sinh_upward_test_data): Likewise.
66457         (sqrt_test_data): Likewise.
66458         (tan_test_data): Likewise.
66459         (tan_tonearest_test_data): Likewise.
66460         (tan_towardzero_test_data): Likewise.
66461         (tan_downward_test_data): Likewise.
66462         (tan_upward_test_data): Likewise.
66463         (tanh_test_data): Likewise.
66464         (tgamma_test_data): Likewise.
66465         (trunc_test_data): Likewise.
66466         (y0_test_data): Likewise.
66467         (y1_test_data): Likewise.
66468         (yn_test_data): Likewise.
66469         (significand_test_data): Likewise.
66471         * math/gen-libm-test.pl (@functions): Remove variable.
66472         (generate_testfile): Don't handle START and END lines.
66473         * math/libm-test.inc (START): New macro.
66474         (END): Likewise.
66475         (END_COMPLEX): Likewise.
66476         (acos_test): Use END macro without arguments.
66477         (acos_test_tonearest): Likewise.
66478         (acos_test_towardzero): Likewise.
66479         (acos_test_downward): Likewise.
66480         (acos_test_upward): Likewise.
66481         (acosh_test): Likewise.
66482         (asin_test): Likewise.
66483         (asin_test_tonearest): Likewise.
66484         (asin_test_towardzero): Likewise.
66485         (asin_test_downward): Likewise.
66486         (asin_test_upward): Likewise.
66487         (asinh_test): Likewise.
66488         (atan_test): Likewise.
66489         (atanh_test): Likewise.
66490         (atan2_test): Likewise.
66491         (cabs_test): Likewise.
66492         (cacos_test): Use END_COMPLEX macro without arguments.
66493         (cacosh_test): Likewise.
66494         (carg_test): Use END macro without arguments.
66495         (casin_test): Use END_COMPLEX macro without arguments.
66496         (casinh_test): Likewise.
66497         (catan_test): Likewise.
66498         (catanh_test): Likewise.
66499         (cbrt_test): Use END macro without arguments.
66500         (ccos_test): Use END_COMPLEX macro without arguments.
66501         (ccosh_test): Likewise.
66502         (ceil_test): Use END macro without arguments.
66503         (cexp_test): Use END_COMPLEX macro without arguments.
66504         (cimag_test): Use END macro without arguments.
66505         (clog_test): Use END_COMPLEX macro without arguments.
66506         (clog10_test): Likewise.
66507         (conj_test): Likewise.
66508         (copysign_test): Use END macro without arguments.
66509         (cos_test): Likewise.
66510         (cos_test_tonearest): Likewise.
66511         (cos_test_towardzero): Likewise.
66512         (cos_test_downward): Likewise.
66513         (cos_test_upward): Likewise.
66514         (cosh_test): Likewise.
66515         (cosh_test_tonearest): Likewise.
66516         (cosh_test_towardzero): Likewise.
66517         (cosh_test_downward): Likewise.
66518         (cosh_test_upward): Likewise.
66519         (cpow_test): Use END_COMPLEX macro without arguments.
66520         (cproj_test): Likewise.
66521         (creal_test): Use END macro without arguments.
66522         (csin_test): Use END_COMPLEX macro without arguments.
66523         (csinh_test): Likewise.
66524         (csqrt_test): Likewise.
66525         (ctan_test): Likewise.
66526         (ctan_test_tonearest): Likewise.
66527         (ctan_test_towardzero): Likewise.
66528         (ctan_test_downward): Likewise.
66529         (ctan_test_upward): Likewise.
66530         (ctanh_test): Likewise.
66531         (ctanh_test_tonearest): Likewise.
66532         (ctanh_test_towardzero): Likewise.
66533         (ctanh_test_downward): Likewise.
66534         (ctanh_test_upward): Likewise.
66535         (erf_test): Use END macro without arguments.
66536         (erfc_test): Likewise.
66537         (exp_test): Likewise.
66538         (exp_test_tonearest): Likewise.
66539         (exp_test_towardzero): Likewise.
66540         (exp_test_downward): Likewise.
66541         (exp_test_upward): Likewise.
66542         (exp10_test): Likewise.
66543         (exp2_test): Likewise.
66544         (expm1_test): Likewise.
66545         (fabs_test): Likewise.
66546         (fdim_test): Likewise.
66547         (finite_test): Likewise.
66548         (floor_test): Likewise.
66549         (fma_test): Likewise.
66550         (fma_test_towardzero): Likewise.
66551         (fma_test_downward): Likewise.
66552         (fma_test_upward): Likewise.
66553         (fmax_test): Likewise.
66554         (fmin_test): Likewise.
66555         (fmod_test): Likewise.
66556         (fpclassify_test): Likewise.
66557         (frexp_test): Likewise.
66558         (gamma_test): Likewise.
66559         (hypot_test): Likewise.
66560         (ilogb_test): Likewise.
66561         (isfinite_test): Likewise.
66562         (isgreater_test): Likewise.
66563         (isgreaterequal_test): Likewise.
66564         (isinf_test): Likewise.
66565         (isless_test): Likewise.
66566         (islessequal_test): Likewise.
66567         (islessgreater_test): Likewise.
66568         (isnan_test): Likewise.
66569         (isnormal_test): Likewise.
66570         (issignaling_test): Likewise.
66571         (isunordered_test): Likewise.
66572         (j0_test): Likewise.
66573         (j1_test): Likewise.
66574         (jn_test): Likewise.
66575         (ldexp_test): Likewise.
66576         (lgamma_test): Likewise.
66577         (lrint_test): Likewise.
66578         (lrint_test_tonearest): Likewise.
66579         (lrint_test_towardzero): Likewise.
66580         (lrint_test_downward): Likewise.
66581         (lrint_test_upward): Likewise.
66582         (llrint_test): Likewise.
66583         (llrint_test_tonearest): Likewise.
66584         (llrint_test_towardzero): Likewise.
66585         (llrint_test_downward): Likewise.
66586         (llrint_test_upward): Likewise.
66587         (log_test): Likewise.
66588         (log10_test): Likewise.
66589         (log1p_test): Likewise.
66590         (log2_test): Likewise.
66591         (logb_test): Likewise.
66592         (logb_test_downward): Likewise.
66593         (lround_test): Likewise.
66594         (llround_test): Likewise.
66595         (modf_test): Likewise.
66596         (nearbyint_test): Likewise.
66597         (nextafter_test): Likewise.
66598         (nexttoward_test): Likewise.
66599         (pow_test): Likewise.
66600         (pow_test_tonearest): Likewise.
66601         (pow_test_towardzero): Likewise.
66602         (pow_test_downward): Likewise.
66603         (pow_test_upward): Likewise.
66604         (remainder_test): Likewise.
66605         (remainder_test_tonearest): Likewise.
66606         (remainder_test_towardzero): Likewise.
66607         (remainder_test_downward): Likewise.
66608         (remainder_test_upward): Likewise.
66609         (remquo_test): Likewise.
66610         (rint_test): Likewise.
66611         (rint_test_tonearest): Likewise.
66612         (rint_test_towardzero): Likewise.
66613         (rint_test_downward): Likewise.
66614         (rint_test_upward): Likewise.
66615         (round_test): Likewise.
66616         (scalb_test): Likewise.
66617         (scalbn_test): Likewise.
66618         (scalbln_test): Likewise.
66619         (signbit_test): Likewise.
66620         (sin_test): Likewise.
66621         (sin_test_tonearest): Likewise.
66622         (sin_test_towardzero): Likewise.
66623         (sin_test_downward): Likewise.
66624         (sin_test_upward): Likewise.
66625         (sincos_test): Likewise.
66626         (sinh_test): Likewise.
66627         (sinh_test_tonearest): Likewise.
66628         (sinh_test_towardzero): Likewise.
66629         (sinh_test_downward): Likewise.
66630         (sinh_test_upward): Likewise.
66631         (sqrt_test): Likewise.
66632         (tan_test): Likewise.
66633         (tan_test_tonearest): Likewise.
66634         (tan_test_towardzero): Likewise.
66635         (tan_test_downward): Likewise.
66636         (tan_test_upward): Likewise.
66637         (tanh_test): Likewise.
66638         (tgamma_test): Likewise.
66639         (trunc_test): Likewise.
66640         (y0_test): Likewise.
66641         (y1_test): Likewise.
66642         (yn_test): Likewise.
66643         (significand_test): Likewise.
66645 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
66647         [BZ #15381]
66648         * libio/genops.c (_IO_no_init): Initialize wide struct info.
66650 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66652         [BZ #14894]
66653         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
66654         __ppc_mdoio and __ppc_mdoom.
66655         * manual/platform.texi: Document new functions __ppc_yield,
66656         __ppc_mdoio and __ppc_mdoom.
66658 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
66660         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
66661         (main): Mention "tls" pseudo-hwcap is legacy.
66662         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
66664 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66666         * math/gen-libm-test.pl (parse_args): Output only string of
66667         arguments as text for test name, not full call or descriptions of
66668         tests for extra outputs.
66669         (generate_testfile): Do not pass function name to parse_args.
66670         Generate this_func variable from START.
66671         * math/libm-test.inc (struct test_f_f_data): Rename test_name
66672         field to arg_str.
66673         (struct test_ff_f_data): Likewise.
66674         (test_ff_f_data_nexttoward): Likewise.
66675         (struct test_fi_f_data): Likewise.
66676         (struct test_fl_f_data): Likewise.
66677         (struct test_if_f_data): Likewise.
66678         (struct test_fff_f_data): Likewise.
66679         (struct test_c_f_data): Likewise.
66680         (struct test_f_f1_data): Likewise.  Remove field extra_name.
66681         (struct test_fF_f1_data): Likewise.
66682         (struct test_ffI_f1_data): Likewise.
66683         (struct test_c_c_data): Rename test_name field to arg_str.
66684         (struct test_cc_c_data): Likewise.
66685         (struct test_f_i_data): Likewise.
66686         (struct test_ff_i_data): Likewise.
66687         (struct test_f_l_data): Likewise.
66688         (struct test_f_L_data): Likewise.
66689         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
66690         and extra2_name.
66691         (COMMON_TEST_SETUP): New macro.
66692         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
66693         (COMMON_TEST_CLEANUP): Likewise.
66694         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
66695         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
66696         macros.
66697         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
66698         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
66699         macros.
66700         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
66701         (RUN_TEST_fff_f): Take argument string.  Call new setup and
66702         cleanup macros.
66703         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
66704         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
66705         macros.
66706         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
66707         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
66708         macros.
66709         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66710         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
66711         cleanup macros.
66712         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66713         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
66714         cleanup macros.
66715         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66716         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
66717         cleanup macros.
66718         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66719         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
66720         macros.
66721         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
66722         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
66723         macros.
66724         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
66725         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
66726         macros.
66727         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
66728         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
66729         cleanup macros.
66730         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
66731         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
66732         cleanup macros.
66733         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
66734         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
66735         macros.
66736         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
66737         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
66738         cleanup macros.
66739         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
66740         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
66741         macros.
66742         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
66743         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
66744         macros.
66745         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
66746         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
66747         cleanup macros.
66748         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
66750 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
66752         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
66753         to _sifields.sigfault.
66754         (si_addr_lsb): Define new macro.
66755         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66756         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
66757         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
66759 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
66761         [BZ #15441]
66762         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
66763         returns -1.
66764         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
66765         null return -1.
66766         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
66767         loading the domain.
66769 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
66771         * math/gen-libm-test.pl (parse_args): Do not include expected
66772         result in test name.
66773         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
66774         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66775         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66776         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66777         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66780 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
66782         * benchtests/Makefile: Sort function entries.
66784         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
66785         tanh, asinh, acosh, atanh.
66786         * benchtests/acos-inputs: New file.
66787         * benchtests/acosh-inputs: New file.
66788         * benchtests/asin-inputs: New file.
66789         * benchtests/asinh-inputs: New file.
66790         * benchtests/atanh-inputs: New file.
66791         * benchtests/cosh-inputs: New file.
66792         * benchtests/log-inputs: New file.
66793         * benchtests/sinh-inputs: New file.
66794         * benchtests/tanh-inputs: New file.
66796 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
66798         [BZ #15339]
66799         * posix/tst-getaddrinfo4.c: New test.
66800         * posix/Makefile (tests): Add it.
66802 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66804         [BZ #15339]
66805         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
66806         when no services were used.
66807         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
66808         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
66810 2013-05-21  Andreas Schwab  <schwab@suse.de>
66812         [BZ #15014]
66813         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
66814         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
66815         successful.
66816         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
66817         redundant variable declarations and reallocation of buffer when
66818         parsing as IPv6 address.  Always set NSS status when called from
66819         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
66820         buffer too small.  Correct computation of needed size.
66821         * nss/Makefile (tests): Add test-digits-dots.
66822         * nss/test-digits-dots.c: New test.
66824 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66826         * benchtests/Makefile: Remove instructions for adding
66827         benchmark tests.
66828         * benchtests/README: New file to explain how to execute and
66829         enhance the benchmark tests.
66831 2013-05-21  Andreas Schwab  <schwab@suse.de>
66833         [BZ #15493]
66834         * setjmp/Makefile (tests): Add tst-sigsetjmp.
66835         * setjmp/tst-sigsetjmp.c: New test.
66837 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66839         * sysdeps/x86_64/memset.S (memset): New implementation.
66840         (__bzero): Likewise.
66841         (__memset_tail): New function.
66843 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
66845         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
66846         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
66847         __memcpy_sse2_unaligned ifunc selection.
66848         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66849         Add memcpy-sse2-unaligned.S.
66850         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66851         Add: __memcpy_sse2_unaligned.
66853 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
66855         [BZ #15490]
66856         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
66857         math_force_eval before restoring floating-point envrionment.
66858         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66859         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66860         Likewise.
66861         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66862         <math_private.h>.
66863         (__nearbyintl): Use math_force_eval before restoring
66864         floating-point environment.
66865         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66867         * math/gen-libm-test.pl (special_functions): Remove.
66868         (parse_args): Don't handle TEST_extra.  Handle functions with no
66869         return value.
66870         * math/libm-test.inc (struct test_sincos_data): Replace with
66871         struct test_fFF_11_data.
66872         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66873         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66874         (sincos_test_data): Change element type to struct
66875         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66876         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66877         RUN_TEST_LOOP_sincos.
66878         * math/README.libm-test: Don't mention special handling of
66879         individual functions.
66880         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66881         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66882         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66883         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66884         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66887         * math/gen-libm-test.pl (get_variable): Remove function.
66888         (parse_args): Don't show pointer parameters to call in test
66889         names.  Use "extra output N" in test names for extra outputs
66890         rather than naming variables.
66892 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66894         [BZ #15488]
66895         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66896         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66897         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66898         double tests.
66899         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66900         disable.
66901         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66902         check_long_double.
66904         * math/gen-libm-test.pl (@tests): Remove variable.
66905         ($count): Likewise.
66906         (new_test): Remove function.
66907         (show_exceptions): New function.
66908         (special_functions): Use show_exceptions instead of new_test.
66909         (parse_args): Likewise.
66910         (generate_testfile): Pass only function name in generated call to
66911         print_max_error or print_complex_max_error.
66912         (get_ulps): Do not handle complex tests specially.
66913         (output_test): Rename to ...
66914         (get_all_ulps_for_test): ... this.  Return a string rather than
66915         printing to a file.  Require ulps to be present.
66916         (output_ulps): Generate arrays rather than #defines.
66917         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66918         (struct ulp_data): New type.
66919         (BUILD_COMPLEX_ULP): Remove macro.
66920         (compare_ulp_data): New function.
66921         (find_ulps): Likewise.
66922         (find_test_ulps): Likewise.
66923         (find_function_ulps): Likewise.
66924         (find_complex_function_ulps): Likewise.
66925         (print_max_error): Determine allowed ulps using
66926         find_function_ulps.
66927         (print_complex_max_error): Determine allowed ulps using
66928         find_complex_function_ulps.
66929         (check_float_internal): Determine max ulps using find_test_ulps.
66930         (check_float): Do not take max_ulp parameter.  Update call to
66931         check_float_internal.
66932         (check_complex): Likewise.
66933         (check_int): Do not take max_ulp parameter.
66934         (check_long): Likewise.
66935         (check_bool): Likewise.
66936         (check_longlong): Likewise.
66937         (struct test_f_f_data): Remove max_ulp field.
66938         (struct test_ff_f_data): Likewise.
66939         (struct test_ff_f_data_nexttoward): Likewise.
66940         (struct test_fi_f_data): Likewise.
66941         (struct test_fl_f_data): Likewise.
66942         (struct test_if_f_data): Likewise.
66943         (struct test_fff_f_data): Likewise.
66944         (struct test_c_f_data): Likewise.
66945         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66946         (struct test_fF_f1_data): Likewise.
66947         (struct test_ffI_f1_data): Likewise.
66948         (struct test_c_c_data): Remove max_ulp field.
66949         (struct test_cc_c_data): Likewise.
66950         (struct test_f_i_data): Likewise.
66951         (struct test_ff_i_data): Likewise.
66952         (struct test_f_l_data): Likewise.
66953         (struct test_f_L_data): Likewise.
66954         (struct test_sincos_data): Likewise.
66955         (RUN_TEST_f_f): Do not handle ulps.
66956         (RUN_TEST_LOOP_f_f): Likewise.
66957         (RUN_TEST_2_f): Likewise.
66958         (RUN_TEST_LOOP_2_f): Likewise.
66959         (RUN_TEST_fff_f): Likewise.
66960         (RUN_TEST_LOOP_fff_f): Likewise.
66961         (RUN_TEST_c_f): Likewise.
66962         (RUN_TEST_LOOP_c_f): Likewise.
66963         (RUN_TEST_f_f1): Likewise.
66964         (RUN_TEST_LOOP_f_f1): Likewise.
66965         (RUN_TEST_fF_f1): Likewise.
66966         (RUN_TEST_LOOP_fF_f1): Likewise.
66967         (RUN_TEST_fI_f1): Likewise.
66968         (RUN_TEST_LOOP_fI_f1): Likewise.
66969         (RUN_TEST_ffI_f1): Likewise.
66970         (RUN_TEST_LOOP_ffI_f1): Likewise.
66971         (RUN_TEST_c_c): Likewise.
66972         (RUN_TEST_LOOP_c_c): Likewise.
66973         (RUN_TEST_cc_c): Likewise.
66974         (RUN_TEST_LOOP_cc_c): Likewise.
66975         (RUN_TEST_f_i): Likewise.
66976         (RUN_TEST_LOOP_f_i): Likewise.
66977         (RUN_TEST_f_i_tg): Likewise.
66978         (RUN_TEST_LOOP_f_i_tg): Likewise.
66979         (RUN_TEST_ff_i_tg): Likewise.
66980         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66981         (RUN_TEST_f_b): Likewise.
66982         (RUN_TEST_LOOP_f_b): Likewise.
66983         (RUN_TEST_f_b_tg): Likewise.
66984         (RUN_TEST_LOOP_f_b_tg): Likewise.
66985         (RUN_TEST_f_l): Likewise.
66986         (RUN_TEST_LOOP_f_l): Likewise.
66987         (RUN_TEST_f_L): Likewise.
66988         (RUN_TEST_LOOP_f_L): Likewise.
66989         (RUN_TEST_sincos): Likewise.
66990         (RUN_TEST_LOOP_sincos): Likewise.
66992 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66994         [BZ #15480]
66995         [BZ #15485]
66996         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66997         main case of finite arguments, set rounding mode to FE_TONEAREST
66998         and discard exceptions.
66999         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
67000         exceptions.
67001         (remainder_tonearest_test_data): New variable.
67002         (remainder_test_tonearest): New function.
67003         (remainder_towardzero_test_data): New variable.
67004         (remainder_test_towardzero): New function.
67005         (remainder_downward_test_data): New variable.
67006         (remainder_test_downward): New function.
67007         (remainder_upward_test_data): New variable.
67008         (remainder_test_upward): New function.
67009         (main): Call the new test functions.
67011         * math/libm-test.inc (struct test_f_f1_data): Remove field
67012         extra_init.
67013         (struct test_fF_f1_data): Likewise.
67014         (struct test_ffI_f1_data): Likewise.
67015         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
67016         based on value of EXTRA_EXPECTED.
67017         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
67018         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
67019         EXTRA_VAR based on value of EXTRA_EXPECTED.
67020         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
67021         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
67022         EXTRA_VAR based on value of EXTRA_EXPECTED.
67023         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
67024         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
67025         EXTRA_VAR based on value of EXTRA_EXPECTED.
67026         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
67027         * math/gen-libm-test.pl (parse_args): Don't output initializers
67028         for extra output values.
67030         * math/libm-test.inc (check_int): Expect result to be exactly
67031         equal to expected value and do not handle ulps.
67032         (check_long): Likewise.
67033         (check_longlong): Likewise.
67035         * math/libm-test.inc (ceil_test_data): Test for "inexact"
67036         exceptions.
67037         (cimag_test_data): Likewise.
67038         (conj_test_data): Likewise.
67039         (copysign_test_data): Likewise.
67040         (cproj_test_data): Likewise.
67041         (creal_test_data): Likewise.
67042         (fabs_test_data): Likewise.
67043         (fdim_test_data): Likewise.
67044         (finite_test_data): Likewise.
67045         (floor_test_data): Likewise.
67046         (fmax_test_data): Likewise.
67047         (fmin_test_data): Likewise.
67048         (fmod_test_data): Likewise.
67049         (fpclassify_test_data): Likewise.
67050         (frexp_test_data): Likewise.
67051         (ilogb_test_data): Likewise.
67052         (isfinite_test_data): Likewise.
67053         (isgreater_test_data): Likewise.
67054         (isgreaterequal_test_data): Likewise.
67055         (isinf_test_data): Likewise.
67056         (isless_test_data): Likewise.
67057         (islessequal_test_data): Likewise.
67058         (islessgreater_test_data): Likewise.
67059         (isnan_test_data): Likewise.
67060         (isnormal_test_data): Likewise.
67061         (issignaling_test_data): Likewise.
67062         (isunordered_test_data): Likewise.
67063         (ldexp_test_data): Likewise.
67064         (lrint_test_data): Likewise.
67065         (lrint_test_data) [TEST_FLOAT]: Disable one test.
67066         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
67067         (lrint_tonearest_test_data): Test for "inexact" exceptions.
67068         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67069         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
67070         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67071         test input.
67072         (lrint_towardzero_test_data): Test for "inexact" exceptions.
67073         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67074         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
67075         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
67076         that test input.
67077         (lrint_downward_test_data): Test for "inexact" exceptions.
67078         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67079         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
67080         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
67081         test input.
67082         (lrint_upward_test_data): Test for "inexact" exceptions.
67083         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
67084         test input.
67085         (llrint_test_data): Test for "inexact" exceptions.
67086         (llrint_test_data) [TEST_FLOAT]: Disable one test.
67087         (llrint_tonearest_test_data): Test for "inexact" exceptions.
67088         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
67089         (llrint_towardzero_test_data): Test for "inexact" exceptions.
67090         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
67091         (llrint_downward_test_data): Test for "inexact" exceptions.
67092         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
67093         (llrint_upward_test_data): Test for "inexact" exceptions.
67094         (logb_test_data): Likewise.
67095         (logb_downward_test_data): Likewise.
67096         (nextafter_test_data): Likewise.
67097         (nexttoward_test_data): Likewise.
67098         (remainder_test_data): Likewise.
67099         (remquo_test_data): Likewise.
67100         (scalbn_test_data): Likewise.
67101         (scalbln_test_data): Likewise.
67102         (signbit_test_data): Likewise.
67103         (sqrt_test_data): Likewise.
67104         (significand_test_data): Likewise.
67106 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
67108         [BZ #15424]
67109         * benchtests/bench-modf.c (struct args): Mark arg0 as
67110         volatile.
67111         * scripts/bench.pl: Mark members of struct args as volatile.
67113 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67115         [BZ # 15497]
67116         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
67117         negative infinity on POWER6 or lower.
67118         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
67120 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
67122         [BZ #15442]
67123         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
67124         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
67125         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
67126         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
67127         (_FP_SETQNAN): New macro.
67128         (_FP_SETQNAN_SEMIRAW): Likewise.
67129         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
67130         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
67131         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
67132         (FP_EXTEND): Use _FP_FRAC_SNANP.
67133         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
67134         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
67135         into account.
67136         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67137         New macro.
67138         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
67139         Likewise.
67141 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67143         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
67144         with DIVIDE_BY_ZERO_EXCEPTION.
67145         (gamma_test_data): Likewise.
67146         (lgamma_test_data): Likewise.
67147         (log_test_data): Likewise.
67148         (log10_test_data): Likewise.
67149         (log2_test_data): Likewise.
67150         (tgamma_test_data): Likewise.
67152         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
67153         (acos_test_tonearest): Likewise.
67154         (acos_test_towardzero): Likewise.
67155         (acos_test_downward): Likewise.
67156         (acos_test_upward): Likewise.
67157         (acosh_test): Likewise.
67158         (asin_test): Likewise.
67159         (asin_test_tonearest): Likewise.
67160         (asin_test_towardzero): Likewise.
67161         (asin_test_downward): Likewise.
67162         (asin_test_upward): Likewise.
67163         (asinh_test): Likewise.
67164         (atan_test): Likewise.
67165         (atanh_test): Likewise.
67166         (atan2_test): Likewise.
67167         (cabs_test): Likewise.
67168         (cacos_test): Likewise.
67169         (cacosh_test): Likewise.
67170         (casin_test): Likewise.
67171         (casinh_test): Likewise.
67172         (catan_test): Likewise.
67173         (catanh_test): Likewise.
67174         (cbrt_test): Likewise.
67175         (ccos_test): Likewise.
67176         (ccosh_test): Likewise.
67177         (cexp_test): Likewise.
67178         (clog_test): Likewise.
67179         (clog10_test): Likewise.
67180         (cos_test): Likewise.
67181         (cos_test_tonearest): Likewise.
67182         (cos_test_towardzero): Likewise.
67183         (cos_test_downward): Likewise.
67184         (cos_test_upward): Likewise.
67185         (cosh_test): Likewise.
67186         (cosh_test_tonearest): Likewise.
67187         (cosh_test_towardzero): Likewise.
67188         (cosh_test_downward): Likewise.
67189         (cosh_test_upward): Likewise.
67190         (cpow_test): Likewise.
67191         (csin_test): Likewise.
67192         (csinh_test): Likewise.
67193         (csqrt_test): Likewise.
67194         (ctan_test): Likewise.
67195         (ctan_test_tonearest): Likewise.
67196         (ctan_test_towardzero): Likewise.
67197         (ctan_test_downward): Likewise.
67198         (ctan_test_upward): Likewise.
67199         (ctanh_test): Likewise.
67200         (ctanh_test_tonearest): Likewise.
67201         (ctanh_test_towardzero): Likewise.
67202         (ctanh_test_downward): Likewise.
67203         (ctanh_test_upward): Likewise.
67204         (erf_test): Likewise.
67205         (erfc_test): Likewise.
67206         (exp_test): Likewise.
67207         (exp_test_tonearest): Likewise.
67208         (exp_test_towardzero): Likewise.
67209         (exp_test_downward): Likewise.
67210         (exp_test_upward): Likewise.
67211         (exp10_test): Likewise.
67212         (exp2_test): Likewise.
67213         (expm1_test): Likewise.
67214         (fmod_test): Likewise.
67215         (gamma_test): Likewise.
67216         (hypot_test): Likewise.
67217         (j0_test): Likewise.
67218         (j1_test): Likewise.
67219         (jn_test): Likewise.
67220         (lgamma_test): Likewise.
67221         (log_test): Likewise.
67222         (log10_test): Likewise.
67223         (log1p_test): Likewise.
67224         (log2_test): Likewise.
67225         (logb_test_downward): Likewise.
67226         (pow_test): Likewise.
67227         (pow_test_tonearest): Likewise.
67228         (pow_test_towardzero): Likewise.
67229         (pow_test_downward): Likewise.
67230         (pow_test_upward): Likewise.
67231         (remainder_test): Likewise.
67232         (remquo_test): Likewise.
67233         (sin_test): Likewise.
67234         (sin_test_tonearest): Likewise.
67235         (sin_test_towardzero): Likewise.
67236         (sin_test_downward): Likewise.
67237         (sin_test_upward): Likewise.
67238         (sincos_test): Likewise.
67239         (sinh_test): Likewise.
67240         (sinh_test_tonearest): Likewise.
67241         (sinh_test_towardzero): Likewise.
67242         (sinh_test_downward): Likewise.
67243         (sinh_test_upward): Likewise.
67244         (sqrt_test): Likewise.
67245         (tan_test): Likewise.
67246         (tan_test_tonearest): Likewise.
67247         (tan_test_towardzero): Likewise.
67248         (tan_test_downward): Likewise.
67249         (tan_test_upward): Likewise.
67250         (tanh_test): Likewise.
67251         (tgamma_test): Likewise.
67252         (y0_test): Likewise.
67253         (y1_test): Likewise.
67254         (yn_test): Likewise.
67256         * math/gen-libm-test.pl (adjust_arg): Remove function.
67257         (special_function): Remove argument $in_func.  Only handle
67258         generating output for tables of tests, not inside functions.
67259         (parse_args): Likewise.
67260         (generate_testfile): Remove variable $in_func.  Update call to
67261         parse_args.
67262         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
67263         (MINUS_ZERO_INIT): Rename macro to minus_zero.
67264         (PLUS_INFTY_INIT): Rename macro to plus_infty.
67265         (MINUS_INFTY_INIT): Rename macro to minus_infty.
67266         (QNAN_VALUE_INIT): Rename macro to qnan_value.
67267         (MAX_VALUE_INIT): Rename macro to max_value.
67268         (MIN_VALUE_INIT): Rename macro to min_value.
67269         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
67270         (plus_zero): Remove variable.
67271         (minus_zero): Likewise.
67272         (plus_infty): Likewise.
67273         (minus_infty): Likewise.
67274         (qnan_value): Likewise.
67275         (max_value): Likewise.
67276         (min_value): Likewise.
67277         (min_subnorm_value): Likewise.
67279 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67281         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
67282         uint64_t or uint32_t usage.
67283         * crypt/sha256-block.c: Likewise.
67284         * crypt/sha256-crypt.c: Likewise.
67285         * crypt/sha256.c: Likewise.
67286         * crypt/sha512-block.c: Likewise.
67287         * crypt/sha512-crypt.c: Likewise.
67288         * crypt/sha512.c: Likewise.
67289         * debug/backtrace-tst.c: Likewise.
67290         * debug/pcprofiledump.c: Likewise.
67291         * elf/cache.c: Likewise.
67292         * elf/dl-cache.c: Likewise.
67293         * elf/dl-misc.c: Likewise.
67294         * elf/dl-profile.c: Likewise.
67295         * elf/dl-support.c: Likewise.
67296         * elf/ldconfig.c: Likewise.
67297         * elf/sprof.c: Likewise.
67298         * iconv/dummy-repertoire.c: Likewise.
67299         * iconv/iconv_charmap.c: Likewise.
67300         * iconv/skeleton.c: Likewise.
67301         * iconvdata/8bit-generic.c: Likewise.
67302         * iconvdata/cp737.h: Likewise.
67303         * iconvdata/cp775.h: Likewise.
67304         * iconvdata/ibm1008.h: Likewise.
67305         * iconvdata/ibm1025.h: Likewise.
67306         * iconvdata/ibm1046.h: Likewise.
67307         * iconvdata/ibm1097.h: Likewise.
67308         * iconvdata/ibm1112.h: Likewise.
67309         * iconvdata/ibm1122.h: Likewise.
67310         * iconvdata/ibm1123.h: Likewise.
67311         * iconvdata/ibm1124.h: Likewise.
67312         * iconvdata/ibm1129.h: Likewise.
67313         * iconvdata/ibm1130.h: Likewise.
67314         * iconvdata/ibm1132.h: Likewise.
67315         * iconvdata/ibm1133.h: Likewise.
67316         * iconvdata/ibm1137.h: Likewise.
67317         * iconvdata/ibm1140.h: Likewise.
67318         * iconvdata/ibm1141.h: Likewise.
67319         * iconvdata/ibm1142.h: Likewise.
67320         * iconvdata/ibm1143.h: Likewise.
67321         * iconvdata/ibm1144.h: Likewise.
67322         * iconvdata/ibm1145.h: Likewise.
67323         * iconvdata/ibm1146.h: Likewise.
67324         * iconvdata/ibm1147.h: Likewise.
67325         * iconvdata/ibm1148.h: Likewise.
67326         * iconvdata/ibm1149.h: Likewise.
67327         * iconvdata/ibm1153.h: Likewise.
67328         * iconvdata/ibm1154.h: Likewise.
67329         * iconvdata/ibm1155.h: Likewise.
67330         * iconvdata/ibm1156.h: Likewise.
67331         * iconvdata/ibm1157.h: Likewise.
67332         * iconvdata/ibm1158.h: Likewise.
67333         * iconvdata/ibm1160.h: Likewise.
67334         * iconvdata/ibm1161.h: Likewise.
67335         * iconvdata/ibm1162.h: Likewise.
67336         * iconvdata/ibm1163.h: Likewise.
67337         * iconvdata/ibm1164.h: Likewise.
67338         * iconvdata/ibm1166.h: Likewise.
67339         * iconvdata/ibm1167.h: Likewise.
67340         * iconvdata/ibm12712.h: Likewise.
67341         * iconvdata/ibm1390.h: Likewise.
67342         * iconvdata/ibm1399.h: Likewise.
67343         * iconvdata/ibm16804.h: Likewise.
67344         * iconvdata/ibm4517.h: Likewise.
67345         * iconvdata/ibm4899.h: Likewise.
67346         * iconvdata/ibm4909.h: Likewise.
67347         * iconvdata/ibm4971.h: Likewise.
67348         * iconvdata/ibm5347.h: Likewise.
67349         * iconvdata/ibm803.h: Likewise.
67350         * iconvdata/ibm856.h: Likewise.
67351         * iconvdata/ibm901.h: Likewise.
67352         * iconvdata/ibm902.h: Likewise.
67353         * iconvdata/ibm9030.h: Likewise.
67354         * iconvdata/ibm9066.h: Likewise.
67355         * iconvdata/ibm921.h: Likewise.
67356         * iconvdata/ibm922.h: Likewise.
67357         * iconvdata/ibm9448.h: Likewise.
67358         * iconvdata/isiri-3342.h: Likewise.
67359         * iconvdata/jis0201.h: Likewise.
67360         * include/link.h: Likewise.
67361         * include/netdb.h: Likewise.
67362         * inet/check_native.c: Likewise.
67363         * inet/check_pf.c: Likewise.
67364         * inet/getipv4sourcefilter.c: Likewise.
67365         * inet/getnameinfo.c: Likewise.
67366         * inet/getsourcefilter.c: Likewise.
67367         * inet/htonl.c: Likewise.
67368         * inet/setipv4sourcefilter.c: Likewise.
67369         * inet/setsourcefilter.c: Likewise.
67370         * inet/test-inet6_opt.c: Likewise.
67371         * inet/tst-network.c: Likewise.
67372         * locale/C-collate.c: Likewise.
67373         * locale/C-ctype.c: Likewise.
67374         * locale/C-time.c: Likewise.
67375         * locale/C-translit.h: Likewise.
67376         * locale/loadarchive.c: Likewise.
67377         * locale/programs/3level.h: Likewise.
67378         * locale/programs/charmap.c: Likewise.
67379         * locale/programs/charmap.h: Likewise.
67380         * locale/programs/ld-address.c: Likewise.
67381         * locale/programs/ld-collate.c: Likewise.
67382         * locale/programs/ld-ctype.c: Likewise.
67383         * locale/programs/ld-identification.c: Likewise.
67384         * locale/programs/ld-measurement.c: Likewise.
67385         * locale/programs/ld-messages.c: Likewise.
67386         * locale/programs/ld-monetary.c: Likewise.
67387         * locale/programs/ld-name.c: Likewise.
67388         * locale/programs/ld-numeric.c: Likewise.
67389         * locale/programs/ld-paper.c: Likewise.
67390         * locale/programs/ld-telephone.c: Likewise.
67391         * locale/programs/ld-time.c: Likewise.
67392         * locale/programs/linereader.c: Likewise.
67393         * locale/programs/locale.c: Likewise.
67394         * locale/programs/locarchive.c: Likewise.
67395         * locale/programs/locfile.h: Likewise.
67396         * locale/programs/repertoire.c: Likewise.
67397         * locale/programs/simple-hash.c: Likewise.
67398         * locale/programs/simple-hash.h: Likewise.
67399         * malloc/memusage.c: Likewise.
67400         * malloc/memusagestat.c: Likewise.
67401         * nis/nis_defaults.c: Likewise.
67402         * nis/nis_hash.c: Likewise.
67403         * nis/nis_print.c: Likewise.
67404         * nis/nis_xdr.c: Likewise.
67405         * nscd/connections.c: Likewise.
67406         * nscd/hstcache.c: Likewise.
67407         * nscd/nscd_gethst_r.c: Likewise.
67408         * nscd/nscd_getserv_r.c: Likewise.
67409         * nscd/nscd_helper.c: Likewise.
67410         * nscd/servicescache.c: Likewise.
67411         * nss/makedb.c: Likewise.
67412         * nss/nss_db/db-XXX.c: Likewise.
67413         * nss/nss_db/db-initgroups.c: Likewise.
67414         * nss/nss_db/db-netgrp.c: Likewise.
67415         * nss/nss_files/files-network.c: Likewise.
67416         * nss/nss_files/files-parse.c: Likewise.
67417         * posix/bug-regex5.c: Likewise.
67418         * posix/fnmatch_loop.c: Likewise.
67419         * posix/regcomp.c: Likewise.
67420         * posix/regexec.c: Likewise.
67421         * posix/tst-rfc3484-2.c: Likewise.
67422         * posix/tst-rfc3484-3.c: Likewise.
67423         * posix/tst-rfc3484.c: Likewise.
67424         * resolv/nss_dns/dns-canon.c: Likewise.
67425         * resolv/nss_dns/dns-network.c: Likewise.
67426         * resolv/res_init.c: Likewise.
67427         * resolv/res_mkquery.c: Likewise.
67428         * resolv/tst-aton.c: Likewise.
67429         * stdlib/cxa_atexit.c: Likewise.
67430         * stdlib/cxa_finalize.c: Likewise.
67431         * stdlib/gen-fpioconst.c: Likewise.
67432         * stdlib/strtol_l.c: Likewise.
67433         * string/tst-endian.c: Likewise.
67434         * sunrpc/auth_des.c: Likewise.
67435         * sunrpc/clnt_udp.c: Likewise.
67436         * sunrpc/rtime.c: Likewise.
67437         * sunrpc/svcauth_des.c: Likewise.
67438         * sunrpc/xdr.c: Likewise.
67439         * sunrpc/xdr_intXX_t.c: Likewise.
67440         * sunrpc/xdr_rec.c: Likewise.
67441         * sysdeps/generic/ldconfig.h: Likewise.
67442         * sysdeps/generic/ldsodefs.h: Likewise.
67443         * sysdeps/generic/memusage.h: Likewise.
67444         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
67445         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
67446         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
67447         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
67448         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
67449         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
67450         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
67451         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
67452         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
67453         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
67454         * sysdeps/posix/getaddrinfo.c: Likewise.
67455         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
67456         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67457         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
67458         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
67459         * sysdeps/powerpc/test-gettimebase.c: Likewise.
67460         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
67461         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
67462         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
67463         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
67464         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
67465         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
67466         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
67467         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
67468         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
67469         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
67470         * sysdeps/x86_64/dl-tls.h: Likewise.
67471         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
67472         * time/alt_digit.c: Likewise.
67473         * time/era.c: Likewise.
67474         * wcsmbs/tst-c16c32-1.c: Likewise.
67476 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67478         * math/libm-test.inc (struct test_sincos_data): New type.
67479         (RUN_TEST_LOOP_sincos): New macro.
67480         (sincos_test_data): New variable.
67481         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
67483 2013-05-16  Richard Henderson  <rth@redhat.com>
67485         * math/atest-exp2.c (LIMB64): New macro.
67486         (CONSTSZ): New macro.
67487         (mp_exp1, mp_exp_m1, mp_log2): New variables.
67488         (hexdig): Move ...
67489         (print_mpn_fp): ... to function scope.
67490         (read_mpn_hex): Remove.
67491         (get_log2): Remove.
67492         (exp2_mpn): Use mp_log2.
67493         (main): Use mp_exp1.
67495 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
67497         * math/libm-test.inc: Remove comment about not testing "inexact"
67498         exceptions.
67499         (INEXACT_EXCEPTION): New macro.
67500         (NO_INEXACT_EXCEPTION): Likewise.
67501         (INVALID_EXCEPTION_OK): Update value.
67502         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
67503         (OVERFLOW_EXCEPTION_OK): Likewise.
67504         (UNDERFLOW_EXCEPTION_OK): Likewise.
67505         (IGNORE_ZERO_INF_SIGN): Likewise.
67506         (ERRNO_UNCHANGED): Likewise.
67507         (ERRNO_EDOM): Likewise.
67508         (ERRNO_ERANGE): Likewise.
67509         (test_exceptions): Handle testing "inexact" exceptions.
67510         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
67511         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
67512         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
67513         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
67514         INEXACT_EXCEPTION.
67515         (rint_towardzero_test_data): Likewise.
67516         (rint_downward_test_data): Likewise.
67517         (rint_upward_test_data): Likewise.
67519         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
67520         with OVERFLOW_EXCEPTION.
67521         (exp10_test_data): Likewise.
67522         (exp2_test_data): Likewise.
67523         (expm1_test_data): Likewise.
67524         (lgamma_test_data): Likewise.
67525         (pow_test_data): Likewise.
67526         (tgamma_test_data): Likewise.
67527         (yn_test_data): Remove duplicate test of overflow.
67529         * math/libm-test.inc (struct test_cc_c_data): New type.
67530         (RUN_TEST_LOOP_cc_c): New macro.
67531         (cpow_test_data): New variable.
67532         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
67534         * math/libm-test.inc (struct test_f_L_data): New type.
67535         (RUN_TEST_LOOP_f_L): New macro.
67536         (llrint_test_data): New variable.
67537         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
67538         (llrint_tonearest_test_data): New variable.
67539         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
67540         (llrint_towardzero_test_data): New variable.
67541         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
67542         (llrint_downward_test_data): New variable.
67543         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
67544         (llrint_upward_test_data): New variable.
67545         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
67546         (llround_test_data): New variable.
67547         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
67549 2013-05-13  Peter Collingbourne  <pcc@google.com>
67551         * math/atest-exp2.c (get_log2): Remove const attribute.
67553 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67555         * math/libm-test.inc (struct test_f_l_data): New type.
67556         (RUN_TEST_LOOP_f_l): New macro.
67557         (lrint_test_data): New variable.
67558         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
67559         (lrint_tonearest_test_data): New variable.
67560         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
67561         (lrint_towardzero_test_data): New variable.
67562         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
67563         (lrint_downward_test_data): New variable.
67564         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
67565         (lrint_upward_test_data): New variable.
67566         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
67567         (lround_test_data): New variable.
67568         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
67570 2013-05-15  Peter Collingbourne  <pcc@google.com>
67572         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
67573         (EXTRACT_WORDS64) Use where appropriate.
67574         (INSERT_WORDS64) Likewise.
67576         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
67577         constraints with x constraints.
67578         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
67580         * malloc/obstack.c (_obstack_compat): Add initializer.
67582 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
67584         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
67585         si_trapno and add si_addr_lsb to _sifields.sigfault.
67586         (si_trapno): Remove macro.
67587         (si_addr_lsb): Define new macro.
67588         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
67590 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
67592         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
67593         instead of TEST_f_l.
67594         (llrint_test_tonearest): Likewise.
67595         (llrint_test_towardzero): Likewise.
67596         (llrint_test_downward): Likewise.
67597         (llrint_test_upward): Likewise.
67598         (llround_test): Likewise.
67600         * math/libm-test.inc (struct test_f_i_data): Add comment.
67601         (RUN_TEST_LOOP_f_b): New macro.
67602         (RUN_TEST_LOOP_f_b_tg): Likewise.
67603         (finite_test_data): New variable.
67604         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
67605         (isfinite_test_data): New variable.
67606         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67607         (isinf_test_data): New variable.
67608         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67609         (isnan_test_data): New variable.
67610         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67611         (isnormal_test_data): New variable.
67612         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67613         (issignaling_test_data): New variable.
67614         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67615         (signbit_test_data): New variable.
67616         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
67618         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
67619         with INVALID_EXCEPTION.
67620         (acosh_test_data): Likewise.
67621         (asin_test_data): Likewise.
67622         (atanh_test_data): Likewise.
67623         (fmod_test_data): Likewise.
67624         (log_test_data): Likewise.
67625         (log10_test_data): Likewise.
67626         (log2_test_data): Likewise.
67627         (pow_test_data): Likewise.
67628         (sqrt_test_data): Likewise.
67629         (y0_test_data): Likewise.
67630         (y1_test_data): Likewise.
67631         (yn_test_data): Likewise.
67633         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
67634         function contents.
67636         * math/libm-test.inc (struct test_ff_i_data): New type.
67637         (RUN_TEST_LOOP_ff_i_tg): New macro.
67638         (isgreater_test_data): New variable.
67639         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67640         (isgreaterequal_test_data): New variable.
67641         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67642         (isless_test_data): New variable.
67643         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67644         (islessequal_test_data): New variable.
67645         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67646         (islessgreater_test_data): New variable.
67647         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67648         (isunordered_test_data): New variable.
67649         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
67651 2013-05-14  David S. Miller  <davem@davemloft.net>
67653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67655 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
67657         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
67659         * math/libm-test.inc (struct test_fF_f1_data): Change type of
67660         extra_test to int.
67661         (struct test_f_i_data): Change type of max_ulp to int.
67663         * math/libm-test.inc (test_ffI_f1_data): New type.
67664         (RUN_TEST_LOOP_ffI_f1): New macro.
67665         (remquo_test_data): New variable.
67666         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
67668         * setjmp/tst-setjmp-fp.c: New file.
67669         * setjmp/Makefile (tests): Add tst-setjmp-fp.
67670         (link-libm): New variable.
67671         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
67673         * math/libm-test.inc (struct test_f_i_data): New type.
67674         (RUN_TEST_LOOP_f_i): New macro.
67675         (RUN_TEST_LOOP_f_i_tg): Likewise.
67676         (fpclassify_test_data): New variable.
67677         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
67678         (ilogb_test_data): New variable.
67679         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
67681         * math/libm-test.inc (scalbln_test): Correct function name in END
67682         call.
67684         * math/libm-test.inc (struct test_f_f1_data): Add comment.
67685         (RUN_TEST_LOOP_fI_f1): New macro.
67686         (frexp_test_data): New variable.
67687         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
67689         * math/libm-test.inc (struct test_fF_f1_data): New type.
67690         (RUN_TEST_LOOP_fF_f1): New macro.
67691         (modf_test_data): New variable.
67692         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
67694         * math/libm-test.inc (struct test_f_f1_data): New type.
67695         (RUN_TEST_LOOP_f_f1): New macro.
67696         (gamma_test_data): New variable.
67697         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67698         (lgamma_test_data): New variable.
67699         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
67701 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
67703         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
67704         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
67705         (main): Comment "tls" pseudo-hwcap.
67707 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
67709         * math/libm-test.inc (struct test_fl_f_data): New type.
67710         (RUN_TEST_LOOP_fl_f): New variable.
67711         (scalbln_test_data): New variable.
67712         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
67714         * math/libm-test.inc (struct test_fi_f_data): New type.
67715         (RUN_TEST_LOOP_fi_f): New macro.
67716         (ldexp_test_data): New variable.
67717         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
67718         (scalbn_test_data): New variable.
67719         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
67721         * math/libm-test.inc (struct test_c_f_data): New type.
67722         (RUN_TEST_LOOP_c_f): New macro.
67723         (cabs_test_data): New variable.
67724         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
67725         (carg_test_data): New variable.
67726         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
67727         (cimag_test_data): New variable.
67728         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
67729         (creal_test_data): New variable.
67730         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
67732         * math/libm-test.inc (struct test_if_f_data): New type.
67733         (RUN_TEST_LOOP_if_f): New macro.
67734         (jn_test_data): New variable.
67735         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
67736         (yn_test_data): New variable.
67737         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
67739         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
67741 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67743         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
67744         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
67746 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
67748         * benchtests/Makefile (CPPFLAGS-nonlib): Add
67749         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
67750         (bench-deps): Add bench-timing.h.
67751         * benchtests-bench-skeleton.c: Include bench-timing.h.
67752         (main): Use TIMING_* macros instead of clock_gettime.
67753         * benchtests/bench-timing.h: New file.
67755         [BZ #14582]
67756         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
67757         Renamed from _LIB_VERSION.
67758         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
67760 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
67762         * math/libm-test.inc (struct test_fff_f_data): New type.
67763         (RUN_TEST_LOOP_fff_f): New macro.
67764         (fma_test_data): New variable.
67765         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
67766         (fma_towardzero_test_data): New variable.
67767         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
67768         (fma_downward_test_data): New variable.
67769         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
67770         (fma_upward_test_data): New variable.
67771         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
67773         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
67774         (struct test_c_c_data): New type.
67775         (RUN_TEST_LOOP_c_c): New macro.
67776         (cacos_test_data): New variable.
67777         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
67778         (cacosh_test_data): New variable.
67779         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
67780         (casin_test_data): New variable.
67781         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
67782         (casinh_test_data): New variable.
67783         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
67784         (catan_test_data): New variable.
67785         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
67786         (catanh_test_data): New variable.
67787         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
67788         (ccos_test_data): New variable.
67789         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
67790         (ccosh_test_data): New variable.
67791         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
67792         (cexp_test_data): New variable.
67793         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
67794         (clog_test_data): New variable.
67795         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
67796         (clog10_test_data): New variable.
67797         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
67798         (conj_test_data): New variable.
67799         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
67800         (cproj_test_data): New variable.
67801         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
67802         (csin_test_data): New variable.
67803         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
67804         (csinh_test_data): New variable.
67805         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
67806         (csqrt_test_data): New variable.
67807         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
67808         (ctan_test_data): New variable.
67809         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
67810         (ctan_tonearest_test_data): New variable.
67811         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67812         (ctan_towardzero_test_data): New variable.
67813         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67814         (ctan_downward_test_data): New variable.
67815         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67816         (ctan_upward_test_data): New variable.
67817         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67818         (ctanh_test_data): New variable.
67819         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
67820         (ctanh_tonearest_test_data): New variable.
67821         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
67822         (ctanh_towardzero_test_data): New variable.
67823         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
67824         (ctanh_downward_test_data): New variable.
67825         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
67826         (ctanh_upward_test_data): New variable.
67827         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
67828         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
67829         of BUILD_COMPLEX.
67831         * math/libm-test.inc (struct test_ff_f_data): New type.
67832         (struct test_ff_f_data_nexttoward): Likewise.
67833         (RUN_TEST_LOOP_2_f): New macro.
67834         (RUN_TEST_LOOP_ff_f): Likewise.
67835         (atan2_test_data): New variable.
67836         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
67837         (copysign_test_data): New variable.
67838         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
67839         (fdim_test_data): New variable.
67840         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
67841         (fmax_test_data): New variable.
67842         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
67843         (fmin_test_data): New variable.
67844         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
67845         (fmod_test_data): New variable.
67846         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
67847         (hypot_test_data): New variable.
67848         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
67849         (nextafter_test_data): New variable.
67850         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
67851         (nexttoward_test_data): New variable.
67852         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
67853         (pow_test_data): New variable.
67854         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
67855         (pow_tonearest_test_data): New variable.
67856         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
67857         (pow_towardzero_test_data): New variable.
67858         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67859         (pow_downward_test_data): New variable.
67860         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67861         (pow_upward_test_data): New variable.
67862         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67863         (remainder_test_data): New variable.
67864         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67865         (scalb_test_data): New variable.
67866         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67867         * sysdeps/i386/fpu/libm-test-ulps: Update.
67869 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67871         * math/libm-test.inc (fma_test): Use max_value instead of local
67872         variable fltmax.
67873         (nextafter_test): Likewise.
67875         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67876         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67877         (acos_downward_test_data): New variable.
67878         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67879         (acos_upward_test_data): New variable.
67880         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67881         (acosh_test_data): New variable.
67882         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67883         (asin_test_data): New variable.
67884         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67885         (asin_tonearest_test_data): New variable.
67886         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67887         (asin_towardzero_test_data): New variable.
67888         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67889         (asin_downward_test_data): New variable.
67890         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67891         (asin_upward_test_data): New variable.
67892         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67893         (asinh_test_data): New variable.
67894         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67895         (atan_test_data): New variable.
67896         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67897         (atanh_test_data): New variable.
67898         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67899         (cbrt_test_data): New variable.
67900         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67901         (ceil_test_data): New variable.
67902         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67903         (cos_test_data): New variable.
67904         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67905         (cos_tonearest_test_data): New variable.
67906         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67907         (cos_towardzero_test_data): New variable.
67908         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67909         (cos_downward_test_data): New variable.
67910         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67911         (cos_upward_test_data): New variable.
67912         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67913         (cosh_test_data): New variable.
67914         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67915         (cosh_tonearest_test_data): New variable.
67916         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67917         (cosh_towardzero_test_data): New variable.
67918         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67919         (cosh_downward_test_data): New variable.
67920         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67921         (cosh_upward_test_data): New variable.
67922         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67923         (erf_test_data): New variable.
67924         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67925         (erfc_test_data): New variable.
67926         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67927         (exp_test_data): New variable.
67928         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67929         (exp_tonearest_test_data): New variable.
67930         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67931         (exp_towardzero_test_data): New variable.
67932         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67933         (exp_downward_test_data): New variable.
67934         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67935         (exp_upward_test_data): New variable.
67936         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67937         (exp10_test_data): New variable.
67938         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67939         (exp2_test_data): New variable.
67940         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67941         (expm1_test_data): New variable.
67942         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67943         (fabs_test_data): New variable.
67944         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67945         (floor_test_data): New variable.
67946         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67947         (j0_test_data): New variable.
67948         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67949         (j1_test_data): New variable.
67950         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67951         (log_test_data): New variable.
67952         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67953         (log10_test_data): New variable.
67954         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67955         (log1p_test_data): New variable.
67956         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67957         (log2_test_data): New variable.
67958         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67959         (logb_test_data): New variable.
67960         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67961         (logb_downward_test_data): New variable.
67962         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67963         (nearbyint_test_data): New variable.
67964         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67965         (rint_test_data): New variable.
67966         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67967         (rint_tonearest_test_data): New variable.
67968         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67969         (rint_towardzero_test_data): New variable.
67970         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67971         (rint_downward_test_data): New variable.
67972         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67973         (rint_upward_test_data): New variable.
67974         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67975         (round_test_data): New variable.
67976         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67977         (sin_test_data): New variable.
67978         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67979         (sin_tonearest_test_data): New variable.
67980         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67981         (sin_towardzero_test_data): New variable.
67982         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67983         (sin_downward_test_data): New variable.
67984         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67985         (sin_upward_test_data): New variable.
67986         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67987         (sinh_test_data): New variable.
67988         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67989         (sinh_tonearest_test_data): New variable.
67990         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67991         (sinh_towardzero_test_data): New variable.
67992         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67993         (sinh_downward_test_data): New variable.
67994         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67995         (sinh_upward_test_data): New variable.
67996         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67997         (sqrt_test_data): New variable.
67998         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67999         (tan_test_data): New variable.
68000         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
68001         (tan_tonearest_test_data): New variable.
68002         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68003         (tan_towardzero_test_data): New variable.
68004         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
68005         (tan_downward_test_data): New variable.
68006         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
68007         (tan_upward_test_data): New variable.
68008         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
68009         (tanh_test_data): New variable.
68010         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
68011         (tgamma_test_data): New variable.
68012         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
68013         (trunc_test_data): New variable.
68014         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
68015         (y0_test_data): New variable.
68016         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
68017         (y1_test_data): New variable.
68018         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
68019         (significand_test_data): New variable.
68020         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
68022 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
68024         [BZ #12387]
68025         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
68027 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68029         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
68031 2013-05-10  Andreas Jaeger  <aj@suse.de>
68033         [BZ #15448]
68034         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
68035         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
68037 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
68039         * math/gen-libm-test.pl (adjust_arg): New function.
68040         (special_functions): Handle generating output in both functions
68041         and arrays.
68042         (parse_args): Likewise.
68043         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
68044         $in_func argument to parse_args.
68045         * math/libm-test.inc (struct test_f_f_data): New type.
68046         (IF_ROUND_INIT_): New macro.
68047         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
68048         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
68049         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
68050         (IF_ROUND_INIT_FE_UPWARD): Likewise.
68051         (ROUND_RESTORE_): Likewise.
68052         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
68053         (ROUND_RESTORE_FE_TONEAREST): Likewise.
68054         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
68055         (ROUND_RESTORE_FE_UPWARD): Likewise.
68056         (RUN_TEST_LOOP_f_f): New macro.
68057         (acos_test_data): New variable.
68058         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
68059         (acos_tonearest_test_data): New variable.
68060         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
68062 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68064         * benchtests/bench-skeleton.c (startup): Fix coding style.
68066 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
68068         [BZ #6809]
68069         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
68070         negative infinity argument.
68071         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
68072         negative infinity argument.
68073         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
68074         negative infinity argument.
68075         * math/libm-test.inc (tgamma_test): Expect errno to be set for
68076         domain errors.
68078 2013-05-10  Florian Weimer  <fweimer@redhat.com>
68080         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
68081         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
68082         * iconv/iconv_prog.c (main): Likewise.
68083         * locale/programs/charmap-dir.c (charmap_readdir)
68084         (fopen_uncompressed): Likewise.
68085         * locale/programs/locfile.c (siblings_uncached)
68086         (write_locale_data): Use lstat64 instead of lstat.
68087         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
68088         stat.
68090 2013-05-10  Andreas Jaeger  <aj@suse.de>
68092         [BZ #15395]
68093         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
68094         localization.
68095         Include <locale.h>.
68097 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
68099         * elf/dl-close.c (_dl_close_worker): Add comments.
68101 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
68103         [BZ #15359]
68104         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
68105         high part of pi/2.
68106         (__ieee754_rem_pio2l): Update comments.
68108         [BZ #15429]
68109         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
68110         high part of pi/2.
68111         (__ieee754_rem_pio2l): Update comments.
68113         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
68114         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
68116         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
68117         M_PI_4l.
68119         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
68120         (M_PI_34_LOG10El): Likewise.
68121         (M_PI2_LOG10El): Likewise.
68122         (M_PI4_LOG10El): Likewise.
68123         (M_PI_LOG10El): Likewise.
68125 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68129 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
68131         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
68132         (MINUS_ZERO_INIT): Likewise.
68133         (PLUS_INFTY_INIT): Likewise.
68134         (MINUS_INFTY_INIT): Likewise.
68135         (QNAN_VALUE_INIT): Likewise.
68136         (MAX_VALUE_INIT): Likewise.
68137         (MIN_VALUE_INIT): Likewise.
68138         (MIN_SUBNORM_VALUE_INIT): Likewise.
68139         (plus_zero): Initialize with PLUS_ZERO_INIT.
68140         (minus_zero): Initialize with MINUS_ZERO_INIT.
68141         (plus_infty): Initialize with PLUS_INFTY_INIT.
68142         (minus_infty): Initialize with MINUS_INFTY_INIT.
68143         (qnan_value): Initialize with QNAN_VALUE_INIT.
68144         (max_value): Initialize with MAX_VALUE_INIT.
68145         (min_value): Initialize with MIN_VALUE_INIT.
68146         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
68148         * math/libm-test.inc (RUN_TEST_if_f): New macro.
68149         (jn_test): Use TEST_if_f instead of TEST_ff_f.
68150         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
68151         (yn_test): Use TEST_if_f instead of TEST_ff_f.
68153         * math/libm-test.inc (RUN_TEST_f_f): New macro.
68154         (RUN_TEST_2_f): Likewise.
68155         (RUN_TEST_ff_f): Likewise.
68156         (RUN_TEST_fi_f): Likewise.
68157         (RUN_TEST_fl_f): Likewise.
68158         (RUN_TEST_fff_f): Likewise.
68159         (RUN_TEST_c_f): Likewise.
68160         (RUN_TEST_f_f1): Likewise.
68161         (RUN_TEST_fF_f1): Likewise.
68162         (RUN_TEST_fI_f1): Likewise.
68163         (RUN_TEST_ffI_f1): Likewise.
68164         (RUN_TEST_c_c): Likewise.
68165         (RUN_TEST_cc_c): Likewise.
68166         (RUN_TEST_f_i): Likewise.
68167         (RUN_TEST_f_i_tg): Likewise.
68168         (RUN_TEST_ff_i_tg): Likewise.
68169         (RUN_TEST_f_b): Likewise.
68170         (RUN_TEST_f_b_tg): Likewise.
68171         (RUN_TEST_f_l): Likewise.
68172         (RUN_TEST_f_L): Likewise.
68173         (RUN_TEST_sincos): Likewise.
68174         * math/gen-libm-test.pl (new_test): Take new argument to indicate
68175         whether to show exceptions.  Do not include ");\n" in return
68176         value.
68177         (special_functions): Output call to RUN_TEST_sincos instead of
68178         check_float calls.  Update calls to new_test.
68179         (parse_args): Output call to single RUN_TEST_* macro instead of
68180         check_* calls and other assignments.  Update calls to new_test.
68182         [BZ #2546]
68183         [BZ #2560]
68184         [BZ #5159]
68185         [BZ #15426]
68186         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
68187         input to result for tgamma overflow.
68188         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
68189         (gamma_coeff): New variable.
68190         (NCOEFF): New macro.
68191         (gamma_positive): New function.
68192         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
68193         underflow here.  Use gamma_positive instead of exp (lgamma) for
68194         other arguments.
68195         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
68196         (gamma_coeff): New variable.
68197         (NCOEFF): New macro.
68198         (gammaf_positive): New function.
68199         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
68200         underflow here.  Use gamma_positive instead of exp (lgamma) for
68201         other arguments.
68202         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
68203         (gamma_coeff): New variable.
68204         (NCOEFF): New macro.
68205         (gammal_positive): New function.
68206         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
68207         underflow here.  Use gamma_positive instead of exp (lgamma) for
68208         other arguments.
68209         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
68210         (gamma_coeff): New variable.
68211         (NCOEFF): New macro.
68212         (gammal_positive): New function.
68213         (__ieee754_gammal_r): Handle positive infinity, overflow and
68214         underflow here.  Handle NaN the same as positive infinity.  Remove
68215         check x < 0xffffffff for negative integers.  Use gamma_positive
68216         instead of exp (lgamma) for other arguments.
68217         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
68218         (gamma_coeff): New variable.
68219         (NCOEFF): New macro.
68220         (gammal_positive): New function.
68221         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
68222         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
68223         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
68224         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
68225         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
68226         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
68227         * sysdeps/generic/math_private.h (__gamma_productf): New
68228         prototype.
68229         (__gamma_product): Likewise.
68230         (__gamma_productl): Likewise.
68231         * math/Makefile (libm-calls): Add gamma_product.
68232         * math/libm-test.inc (tgamma_test): Add more tests.
68233         * sysdeps/i386/fpu/libm-test-ulps: Update.
68234         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68236 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
68238         * benchtests/bench-skeleton.c (main): Preheat CPU.
68240 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
68242         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
68244 2013-05-07  Roland McGrath  <roland@hack.frob.com>
68246         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
68247         and _dl_skip_args_internal.
68249 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
68251         * manual/message.texi (Message Translation): Talk about users.
68252         Message to key mapping impacts design.
68254 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68256         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
68258         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
68260         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
68261         * sysdeps/wordsize-64/glob64.c: ... here.
68263         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
68264         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
68265         New macros.
68267         * debug/getlogin_r_chk.c: Moved to ...
68268         * login/getlogin_r_chk.c: ... here.
68269         * debug/Makefile (routines): Move getlogin_r_chk to ...
68270         * login/Makefile (routines): ... here.
68271         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
68272         * login/Versions (libc: GLIBC_2.4): ... here.
68274         * io/poll.c (__poll): Renamed from poll.
68275         Add libc_hidden_def.
68276         (poll): Define as weak alias.
68278         * debug/ptsname_r_chk.c: Moved to ...
68279         * login/ptsname_r_chk.c: ... here.
68280         * debug/Makefile (routines): Move ptsname_r_chk to ...
68281         * login/Makefile (routines): ... here.
68282         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
68283         * login/Versions (libc: GLIBC_2.4): ... here.
68285         * posix/getlogin.c: Moved to ...
68286         * login/getlogin.c: ... here.
68287         * posix/getlogin_r.c: Moved to ...
68288         * login/getlogin_r.c: ... here.
68289         * posix/getlogin_r.c: Moved to ...
68290         * login/getlogin_r.c: ... here.
68291         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
68292         * login/Makefile (routines): ... here.
68293         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
68294         * login/Versions (libc: GLIBC_2.0): ... here.
68296         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
68297         (setrlimit): Define as weak alias.
68299         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
68300         Call __ names for open, ftruncate, and close.
68301         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
68302         (truncate): Define as weak alias.
68304 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
68306         * math/gen-libm-test.pl (parse_args): Initialize x before each
68307         test of frexp, modf and remquo.
68309         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
68310         test signgam value.
68312 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68314         [BZ #15418]
68315         [BZ #15419]
68316         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
68317         internal tests.
68318         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
68320 2013-05-06  Roland McGrath  <roland@hack.frob.com>
68322         * elf/dl-writev.h: New file.
68323         * elf/dl-misc.c: Include it.
68324         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
68325         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
68327 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
68329         * math/libm-test.inc (noXFails): Remove variable.
68330         (noXPasses): Likewise.
68331         (BUILD_COMPLEX_INT): Remove macro.
68332         (print_screen): Remove xfail argument.
68333         (print_screen_max_error): Likewise.
68334         (update_stats): Likewise.
68335         (print_max_error): Likewise.  Update calls to other affected
68336         functions.
68337         (print_complex_max_error): Likewise.
68338         (test_single_exception): Update calls to print_screen.
68339         (test_single_errno): Likewise.
68340         (check_float_internal): Remove xfail argument.  Update calls to
68341         other affected functions.
68342         (check_float): Likewise.
68343         (check_complex): Likewise.
68344         (check_int): Likewise.
68345         (check_long): Likewise.
68346         (check_bool): Likewise.
68347         (check_longlong): Likewise.
68348         (main): Don't print noXFails and noXPasses.
68349         * math/gen-libm-test.pl (top level): Don't mention expected
68350         failure handling in comment.
68351         (new_test): Don't handle expected failures.
68352         (parse_args): Don't mention expected failure handling in comment.
68353         (generate_testfile): Don't handle expected failures.
68354         (parse_ulps): Likewise.
68355         (print_ulps_file): Likewise.
68356         (get_failure): Remove function.
68357         (output_test): Don't handle expected failures.
68358         * make/README.libm-test: Don't mention expected failure handling.
68360         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
68361         (minus_zero): Likewise.
68362         (plus_infty): Likewise.
68363         (minus_infty): Likewise.
68364         (qnan_value): Likewise.
68365         (max_value): Likewise.
68366         (min_value): Likewise.
68367         (min_subnorm_value): Likewise.
68368         (initialize): Do not initialize those variables dynamically.
68370 2013-05-03  Roland McGrath  <roland@hack.frob.com>
68372         * io/open.c (__open_2): Moved to ...
68373         * io/open_2.c: ... this new file.
68374         * io/open64.c (__open64_2): Moved to ...
68375         * io/open64_2.c: ... this new file.
68376         * io/openat.c (__openat_2): Moved to ...
68377         * io/openat_2.c: ... this new file.
68378         * io/openat64.c (__openat64_2): Moved to ...
68379         * io/openat64_2.c: ... this new file.
68380         * io/Makefile (routines): Add them.
68381         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
68382         * sysdeps/unix/sysv/linux/open_2.c: File removed.
68383         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
68384         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
68385         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
68386         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
68387         (__openat64): Add hidden_ver.
68388         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
68389         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
68391         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
68392         Separately conditionalize setting of GLRO(dl_sysinfo) so
68393         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
68394         as well, but the actual setting is only under [NEED_DL_SYSINFO].
68396 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68398         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
68399         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
68400         definition.
68401         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
68402         * sysdeps/unix/sysv/linux/powerpc/init-first.c
68403         (_libc_vdso_platform_setup): Add __vdso_time initialization.
68404         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
68405         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
68407 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
68409         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
68410         test signgam value.
68412         * math/libm-test.inc (hypot_test): Do not use
68413         IGNORE_ZERO_INF_SIGN.
68415 2013-05-03  Andreas Jaeger  <aj@suse.de>
68417         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
68418         Linux 3.9.
68419         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
68420         (PF_MAX): Adjust for VSOCK change.
68422 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68426 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
68428         [BZ #15264]
68429         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
68430         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
68431         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
68433 2013-05-02  David S. Miller  <davem@davemloft.net>
68435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68437 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
68439         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
68441 2013-05-01  Roland McGrath  <roland@hack.frob.com>
68443         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
68445 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
68447         [BZ #14952]
68448         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
68449         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68450         Use __attribute__ ((__gnu_inline__)).
68451         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
68452         Don't use __attribute__ ((__gnu_inline__)).
68454 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
68456         [BZ #15423]
68457         * math/s_catan.c (__catan): Handle small real or imaginary part of
68458         input specially to avoid spurious underflow.
68459         * math/s_catanf.c (__catanf): Likewise.
68460         * math/s_catanh.c (__catanh): Likewise.
68461         * math/s_catanhf.c (__catanhf): Likewise.
68462         * math/s_catanhl.c (__catanhl): Likewise.
68463         * math/s_catanl.c (__catanl): Likewise.
68464         * math/libm-test.inc (catan_test): Add more tests.
68465         (catanh_test): Likewise.
68466         * sysdeps/i386/fpu/libm-test-ulps: Update.
68467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68469 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68473 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
68475         [BZ #15416]
68476         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
68477         accurately for denominator in atan2.
68478         * math/s_catanf.c (__catanf): Likewise.
68479         * math/s_catanh.c (__catanh): Likewise.
68480         * math/s_catanhf.c (__catanhf): Likewise.
68481         * math/s_catanhl.c (__catanhl): Likewise.
68482         * math/s_catanl.c (__catanl): Likewise.
68483         * math/libm-test.inc (catan_test): Add more tests.
68484         (catanh_test): Likewise.
68485         * sysdeps/i386/fpu/libm-test-ulps: Update.
68486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68488 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68490         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
68492         * benchtests/Makefile (bench): Remove slow benchmarks.
68493         * benchtests/atan-inputs: Add slow benchmark inputs.
68494         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
68495         (BENCH_FUNC): Accept variant offset.
68496         (VARIANT): Define.
68497         * benchtests/bench-skeleton.c (main): Run benchmark for each
68498         variant.
68499         * benchtests/cos-inputs: Add slow benchmark inputs.
68500         * benchtests/exp-inputs: Likewise.
68501         * benchtests/pow-inputs: Likewise.
68502         * benchtests/sin-inputs: Likewise.
68503         * benchtests/slowatan-inputs: Remove.
68504         * benchtests/slowatan.c: Remove.
68505         * benchtests/slowcos-inputs: Remove.
68506         * benchtests/slowcos.c: Remove.
68507         * benchtests/slowexp-inputs: Remove.
68508         * benchtests/slowexp.c: Remove.
68509         * benchtests/slowpow-inputs: Remove.
68510         * benchtests/slowpow.c: Remove.
68511         * benchtests/slowsin-inputs: Remove.
68512         * benchtests/slowsin.c: Remove.
68513         * benchtests/slowtan-inputs: Remove.
68514         * benchtests/slowtan.c: Remove.
68515         * benchtests/tan-inputs: Add slow benchmark inputs.
68516         * scripts/bench.pl: Parse comments and directives.
68518         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
68519         in CPPFLAGS.
68520         ($(objpfx)bench-%.c): Remove *-ITER.
68521         * benchtests/bench-modf.c: Remove definition of ITER.
68522         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
68523         (main): Loop for DURATION seconds instead of fixed number of
68524         iterations.
68525         * scripts/bench.pl: Don't expect iterations in parameters.
68527 2013-04-29  Roland McGrath  <roland@hack.frob.com>
68529         * io/fchdir.c (__fchdir): Renamed from fchdir.
68530         (fchdir): Define as weak alias.
68532 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68534         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
68535         (ERRNO_EDOM): Likewise.
68536         (ERRNO_ERANGE): Likewise.
68537         (noErrnoTests): New variable.
68538         (init_max_error): Set errno to 0.
68539         (test_single_errno): New function.
68540         (test_errno): Likewise.
68541         (check_float_internal): Call test_errno.  Set errno to 0.
68542         (check_complex): Refer to errno tests in comment.
68543         (check_int): Call test_errno.  Set errno to 0.
68544         (check_long): Likewise.
68545         (check_bool): Likewise.
68546         (check_longlong): Likewise.
68547         (cos_test): Use ERRNO_* flags for errno tests instead of
68548         check_int.
68549         (expm1_test): Likewise.
68550         (fmod_test): Likewise.
68551         (ilogb_test): Likewise.
68552         (lgamma_test): Likewise.
68553         (pow_test): Likewise.
68554         (remainder_test): Likewise.
68555         (sin_test): Likewise.
68556         (tan_test): Likewise.
68557         (yn_test): Likewise.
68558         (initialize): Set errno to 0.
68559         (main): Print number of errno tests.
68560         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
68562 2013-04-29  Andreas Jaeger  <aj@suse.de>
68564         [BZ #15084]
68565         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
68566         and RES_USEVC.
68568         [BZ #15085]
68569         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
68570         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
68571         unimplemented.
68573         [BZ #15380]
68574         * stdlib/random.c (__initstate): Return NULL if
68575         __initstate fails.
68577         [BZ #15086]
68578         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
68579         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
68580         RES_SNGLKUPREOP.
68582 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68584         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68586 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
68588         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
68589         of individual tests.
68590         (casin_test): Likewise.
68591         (casinh_test): Likewise.
68593 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
68595         [BZ #15409]
68596         * math/s_catan.c (__catan): Handle arguments with large real or
68597         imaginary part separately without squaring.
68598         * math/s_catanf.c (__catanf): Likewise.
68599         * math/s_catanh.c (__catanh): Likewise.
68600         * math/s_catanhf.c (__catanhf): Likewise.
68601         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68602         and redefine.
68603         (__catanhl): Handle arguments with large real or imaginary part
68604         separately without squaring.
68605         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
68606         and redefine.
68607         (__catanl): Handle arguments with large real or imaginary part
68608         separately without squaring.
68609         * math/libm-test.inc (catan_test): Add more tests.
68610         (catanh_test): Likewise.
68611         * sysdeps/i386/fpu/libm-test-ulps: Update.
68612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68614 2013-04-27  Andreas Jaeger  <aj@suse.de>
68616         [BZ #15007]
68617         * stdlib/stdlib.h: Update guards for qecvt.
68618         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
68619         <stdlib.h>.
68621 2013-04-27  Allan McRae  <allan@archlinux.org>
68623         * sysdeps/i386/fpu/libm-test-ulps: Update.
68625 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
68627         [BZ #15406]
68628         * math/s_catan.c: Include <float.h>.
68629         (__catan): Ensure underflow exception occurs for underflowed
68630         result.
68631         * math/s_catanf.c: Include <float.h>.
68632         (__catanf): Ensure underflow exception occurs for underflowed
68633         result.
68634         * math/s_catanh.c: Include <float.h>.
68635         (__catanh): Ensure underflow exception occurs for underflowed
68636         result.
68637         * math/s_catanhf.c: Include <float.h>.
68638         (__catanhf): Ensure underflow exception occurs for underflowed
68639         result.
68640         * math/s_catanhl.c: Include <float.h>.
68641         (__catanhl): Ensure underflow exception occurs for underflowed
68642         result.
68643         * math/s_catanl.c: Include <float.h>.
68644         (__catanl): Ensure underflow exception occurs for underflowed
68645         result.
68646         * math/libm-test.inc (catan_test): Add more tests.
68647         (catanh_test): Likewise.
68649         [BZ #15405]
68650         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
68651         underflowed result.
68652         * math/s_ccoshf.c (__ccoshf): Likewise.
68653         * math/s_ccoshl.c (__ccoshl): Likewise.
68654         * math/s_csin.c (__csin): Likewise.
68655         * math/s_csinf.c (__csinf): Likewise.
68656         * math/s_csinh.c (__csinh): Likewise.
68657         * math/s_csinhf.c (__csinhf): Likewise.
68658         * math/s_csinhl.c (__csinhl): Likewise.
68659         * math/s_csinl.c (__csinl): Likewise.
68660         * math/libm-test.inc (ccos_test): Add more tests.
68661         (ccosh_test): Likewise.
68662         (csin_test): Likewise.
68663         (csinh_test): Likewise.
68665 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68667         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
68668         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
68669         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
68670         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
68671         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
68672         powerpc/power5+/fpu folders.
68673         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
68676 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
68678         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68680 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
68682         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
68683         additions to variable.
68684         [$(config-machine) = x86_64] (modules-names): Likewise.
68685         ($(objpfx)tst-audit3): Remove dependency.
68686         ($(objpfx)tst-audit3.out): Likewise.
68687         ($(objpfx)tst-audit4): Likewise.
68688         ($(objpfx)tst-audit4.out): Likewise.
68689         ($(objpfx)tst-audit5): Likewise.
68690         ($(objpfx)tst-audit5.out): Likewise.
68691         ($(objpfx)tst-audit6): Likewise.
68692         ($(objpfx)tst-audit6.out): Likewise.
68693         ($(objpfx)tst-audit7): Likewise.
68694         ($(objpfx)tst-audit7.out): Likewise.
68695         (tst-audit3-ENV): Remove variable.
68696         (tst-audit4-ENV): Likewise.
68697         (tst-audit5-ENV): Likewise.
68698         (tst-audit6-ENV): Likewise.
68699         (tst-audit7-ENV): Likewise.
68700         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
68701         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
68702         addition to variable.
68703         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
68704         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
68705         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
68706         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
68707         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
68708         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
68709         tst-audit3, tst-audit4 and tst-audit5.
68710         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
68711         tst-audit6 and tst-audit7.
68712         [$(subdir) = elf] (modules-names): Add audit modules for those
68713         tests.
68714         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
68715         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
68716         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
68717         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
68718         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
68719         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
68720         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
68721         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
68722         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
68723         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
68724         [$(subdir) = elf] (tst-audit3-ENV): New variable.
68725         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
68726         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
68727         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
68728         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
68729         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
68730         Likewise.
68731         [$(subdir) = elf && $(config-cflags-avx) = yes]
68732         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
68733         [$(subdir) = elf && $(config-cflags-avx) = yes]
68734         (CFLAGS-tst-auditmod4a.c): Likewise.
68735         [$(subdir) = elf && $(config-cflags-avx) = yes]
68736         (CFLAGS-tst-auditmod4b.c): Likewise.
68737         [$(subdir) = elf && $(config-cflags-avx) = yes]
68738         (CFLAGS-tst-auditmod6b.c): Likewise.
68739         [$(subdir) = elf && $(config-cflags-avx) = yes]
68740         (CFLAGS-tst-auditmod6c.c): Likewise.
68741         [$(subdir) = elf && $(config-cflags-avx) = yes]
68742         (CFLAGS-tst-auditmod7b.c): Likewise.
68743         * elf/tst-audit3.c: Move to ...
68744         * sysdeps/x86_64/tst-audit3.c: ... here.
68745         * elf/tst-audit4.c: Move to ...
68746         * sysdeps/x86_64/tst-audit4.c: ... here.
68747         * elf/tst-audit5.c: Move to ...
68748         * sysdeps/x86_64/tst-audit5.c: ... here.
68749         * elf/tst-audit6.c: Move to ...
68750         * sysdeps/x86_64/tst-audit6.c: ... here.
68751         * elf/tst-audit7.c: Move to ...
68752         * sysdeps/x86_64/tst-audit7.c: ... here.
68753         * elf/tst-auditmod3a.c: Move to ...
68754         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
68755         * elf/tst-auditmod3b.c: Move to ...
68756         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
68757         * elf/tst-auditmod4a.c: Move to ...
68758         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
68759         * elf/tst-auditmod4b.c: Move to ...
68760         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
68761         * elf/tst-auditmod5a.c: Move to ...
68762         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
68763         * elf/tst-auditmod5b.c: Move to ...
68764         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
68765         * elf/tst-auditmod6a.c: Move to ...
68766         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
68767         * elf/tst-auditmod6b.c: Move to ...
68768         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
68769         * elf/tst-auditmod6c.c: Move to ...
68770         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
68771         * elf/tst-auditmod7a.c: Move to ...
68772         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
68773         * elf/tst-auditmod7b.c: Move to ...
68774         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
68776 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
68778         [BZ #15366]
68779         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
68780         define unconditionally.
68781         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
68782         define unconditionally.
68783         (INT8_C, INT16_C, etc.): Likewise.
68785 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
68787         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
68788         __ehdr_start with hidden visibility.
68790         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
68792 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
68794         * math/libm-test.inc (cos_test): Use accurate hex constants.
68795         (sincost_test): Likewise.
68797 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
68799         * math/libm-test.inc (catan_test): Add more tests.
68800         (catanh_test): Likewise.
68802         * math/s_catanf.c (__catanf): Use suffixed floating-point
68803         constants.
68804         * math/s_catanhf.c (__catanhf): Likewise.
68805         * math/s_catanhl.c (__catanhl): Likewise.
68806         * math/s_catanl.c (__catanl): Likewise.
68808         [BZ #15394]
68809         * math/s_catan.c (__catan): Calculate imaginary part of result
68810         with log1p not log unless computing log of number close to 0.
68811         * math/s_catanf.c (__catanf): Likewise.
68812         * math/s_catanl.c (__catanl): Likewise.
68813         * math/s_catanh.c (__catanh): Calculate real part of result with
68814         log1p not log unless computing log of number close to 0.
68815         * math/s_catanhf.c (__catanhf): Likewise.
68816         * math/s_catanhl.c (__catanhl): Likewise.
68817         * math/libm-test.inc (catan_test): Add more tests.
68818         (catanh_test): Likewise.
68819         * sysdeps/i386/fpu/libm-test-ulps: Update.
68820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68822 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
68824         * benchtests/Makefile: Mention files in which fast and slow
68825         paths of math functions are implemented.
68827 2013-04-23  Roland McGrath  <roland@hack.frob.com>
68829         * sysdeps/posix/timespec_get.c: New file.
68831 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68833         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
68834         POWER.
68835         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
68836         for POWER.
68837         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
68838         powerpc/power5/fpu folders.
68839         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
68840         * benchtests/Makefile: Add modf testcase.
68841         * benchtests/bench-modf.c: New file: Benchmark test for mo
68843 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
68845         [BZ #14888]
68846         * time/Makefile (tests): Add tst-strptime-whitespace.
68847         * time/strptime_l.c (get_number): Use ISSPACE.
68848         (__strptime_internal): Likewise.
68849         * time/tst-strptime-whitespace.c: New test case.
68851 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
68853         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
68854         member.
68855         (_nss_files_init): Set it here.
68857 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68859         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68860         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68861         unsigned.
68863 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68865         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68867 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68869         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68870         size just once.
68872 2013-04-21  David S. Miller  <davem@davemloft.net>
68874         * po/ru.po: Update Russion translation from translation project.
68876 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68878         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68879         and setfsgid.
68881 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68883         * configure.in: Remove i386 configure warning. Remove i386 case.
68884         * configure: Regenerate.
68885         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68886         Add example to error message.
68887         * sysdeps/i386/configure: Regenerate.
68889 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68891         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68892         slowtan.
68893         * benchtests/cos-inputs: New file.
68894         * benchtests/slowcos-inputs: New file.
68895         * benchtests/slowcos.c: New file.
68896         * benchtests/slowtan-inputs: New file.
68897         * benchtests/slowtan.c: New file.
68898         * benchtests/tan-inputs: New file.
68900 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68902         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68903         considered kosher.
68905 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68907         * benchtests/Makefile: Include cppflags-iterator.mk to add
68908         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68910         * Makefile.in (bench-clean): New target.
68911         * benchtests/Makefile (bench-clean): Likewise.
68913 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68915         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68917 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68919         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68921 2013-04-15  Andreas Schwab  <schwab@suse.de>
68923         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68924         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68925         * nscd/pwdcache.c (cache_addpw): Likewise.
68926         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68927         more than recsize.
68929 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68931         * benchtests/Makefile (bench): Write all output to
68932         bench-out.tmp together.
68934 2013-04-15  Andreas Schwab  <schwab@suse.de>
68936         * nscd/nscd.c (main): Don't fork again after closing files.
68938 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68940         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68942         * benchtests/Rules (bench-deps): Collect dependencies into a
68943         single variable.  Add Makefile to dependencies.
68944         ($(objpfx)bench-%.c): Depend on bench-deps.
68946 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68947             Xavier Roche  <roche+kml2@exalead.com>
68949         [BZ #15361]
68950         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68951         just that it's a file descriptor.
68952         * manual/llio.texi (Synchronizing AIO Operations): Update description
68953         for EBADF error from aio_fsync.
68955 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68957         * Rules (bench): Move target definition...
68958         * benchtests/Makefile: ... here.
68960 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68962         * math/libm-test.inc (cos_test): Fix PI/2 test.
68963         (sincos_test): Likewise.
68964         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68965         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68967 2013-04-11  Andreas Schwab  <schwab@suse.de>
68969         [BZ #13988]
68970         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68971         accept exponent character only when digits were seen.
68972         * stdio-common/Makefile (tests): Add bug26.
68973         * stdio-common/bug26.c: New file.
68975         [BZ #14293]
68976         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68977         non-freeable.
68979 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68981         * Makeconfig (rtld-prefix): Define built linker prefix.
68982         * Rules (run-bench): Use it.
68983         * math/Makefile (run-regen-ulps): Likewise.
68985         * Rules (bench): Remove eval.
68987 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68988             Roland McGrath  <roland@hack.frob.com>
68989             Ondrej Bilka  <neleai@seznam.cz>
68991         [BZ #15346]
68992         * time/getdate.c: Include ctype.h and alloca.h.
68993         (__getdate_r): Trim leading and trailing spaces of input.
68994         * time/tst-getdate.c (tests): Add tests with leading and
68995         trailing spaces.
68997 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68999         [BZ #14280]
69000         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
69001         when computing value.
69003 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69005         * math/README.libm-test (How can I generate "libm-test-ulps"?):
69006         Use testrun.sh to run libm tests.
69008         [BZ #15309]
69009         * elf/dl-open.c (dl_open_worker): memset all of seen array.
69011 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
69013         [BZ #15264]
69014         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
69016 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69018         * Makefile.in (regen-ulps): New target.
69019         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
69020         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
69021         [ifneq (no,$(PERL)] (regen-ulps): New target.
69022         [ifeq (no,$(PERL)] (regen-ulps): New target.
69023         * math/libm-test.inc (ulps_file_name): Define.
69024         (output_dir): New variable.
69025         (options): Add "output-dir" option.
69026         (parse_opt): Handle 'o' case.
69027         (main): If output_dir is non-NULL use it as a prefix
69028         otherwise use "".
69029         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
69031 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69033         [BZ #10060, #10062]
69034         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
69035         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
69036         fail configure if __sync_val_compare_and_swap is not inlined.
69037         * sysdeps/i386/configure: Regenerate.
69038         * configure.in: Build for i686 when configured for i386.
69039         * configure: Regenerate.
69040         * README: Remove i386 reference.
69042 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
69044         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
69045         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69047 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
69049         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
69050         (lmsnanval): New variables.
69051         (F): Add conversion tests.
69052         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
69053         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
69055         * stdio-common/tstdiomisc.c (F): Properly collect individual
69056         tests' results.
69058         [BZ #14686, #15336]
69059         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
69060         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
69061         Instead, use input NaN values or generate a qNaN by arithmetic
69062         operation.  Also fix bugs to comply with the standard.
69063         * math/libm-test.inc (remainder_test): Add more tests.
69065         [BZ #15335, #15342]
69066         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
69067         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
69068         input NaN values or generate a qNaN by arithmetic operation.
69070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
69071         unreachable code.
69073         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
69074         definitions.
69076 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
69078         [BZ #14478]
69079         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
69080         underflowed result.
69081         * math/s_cexpf.c (__cexpf): Likewise.
69082         * math/s_cexpl.c (__cexpl): Likewise.
69083         * math/libm-test.inc (cexp_test): Add more tests.
69085 2013-04-03  Andreas Schwab  <schwab@suse.de>
69087         [BZ #15330]
69088         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
69089         order arrays from heap if bigger than alloca cutoff.
69091 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
69093         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
69094         (SNAN_TESTS_double): Refer to GCC PR56831.
69095         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
69096         GCC PR56828.
69098 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
69100         * Rules (bench): Move bench.out after the run is complete.
69102         * Rules (bench): Echo currently running benchmark.
69104         * benchtests/Makefile (bench): Add atan and slowatan.
69105         * benchtests/atan-inputs: New file.
69106         * benchtests/slowatan-inputs: New file.
69107         * benchtests/slowatan.c: New file.
69109         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
69110         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
69111         its value.
69113         [BZ #15305]
69114         * sysdeps/unix/sysv/linux/kernel-features.h
69115         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
69116         __ASSUME_XFS_RESTRICTED_CHOWN.
69117         * sysdeps/unix/sysv/linux/pathconf.c
69118         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
69119         Save and restore errno.
69121 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
69123         [BZ #15327]
69124         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
69125         arguments using __kernel_casinh.
69126         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
69127         arguments using __kernel_casinhf.
69128         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
69129         arguments using __kernel_casinhl.
69130         * math/libm-test.inc (cacosh_test): Add more tests.
69131         * sysdeps/i386/fpu/libm-test-ulps: Update.
69132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69134 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69136         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
69137         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
69139         * bench/Makefile (bench): Add sin and slowsin.
69140         * benchtests/sin-inputs: New file.
69141         * benchtests/slowsin-inputs: New file.
69142         * benchtests/slowsin.c: New file.
69144         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
69145         (bench): Add slowexp and slowpow.
69146         (exp-ITER): Increase iterations.
69147         (pow-ITER): Likewise.
69148         * benchtests/exp-inputs: Change input.
69149         * benchtests/pow-inputs: Likewise.
69150         * benchtests/slowexp-inputs: New file.
69151         * benchtests/slowexp.c: New file.
69152         * benchtests/slowpow-inputs: New file.
69153         * benchtests/slowpow.c: New file.
69155 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69157         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
69158         instructions.
69159         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
69160         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
69161         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
69162         * benchtests/Makefile: Add rint benchtest.
69163         * benchtests/rint-inputs: Input for rint benchtest.
69165 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
69167         * Versions.def (libm): Add GLIBC_2.18.
69168         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
69169         hidden libm prototypes.
69170         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
69171         * math/Makefile (libm-calls): Add s_issignaling.
69172         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
69173         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
69174         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
69175         declaration.
69176         * math/math.h [__USE_GNU] (issignaling): New macro.
69177         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
69178         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
69179         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
69180         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
69181         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
69182         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
69183         * manual/arith.texi (issignaling): New section.
69184         * manual/libm-err-tab.pl (@all_functions): Update comment.
69185         * math/gen-libm-test.pl (parse_args): Apply special handling for
69186         issignaling.
69187         * math/libm-test.inc (print_float, issignaling_test): New
69188         functions.
69189         (check_float_internal): Add issignaling checks.
69190         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
69191         default definition.
69192         * sysdeps/powerpc/math-tests.h: New file.
69193         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
69194         tests.
69195         * math/test-snan.c (TEST_FUNC): Likewise.
69197 2013-03-30  David S. Miller  <davem@davemloft.net>
69199         * po/de.po: Update from translation team.
69201 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
69203         [BZ #10357]
69204         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69205         imaginary part less than 1.0 and real part less than 0.5
69206         specially.
69207         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69208         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69209         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
69210         (cacos_test): Add more tests.
69211         (casin_test): Likewise.
69212         (casinh_test): Likewise.
69213         * sysdeps/i386/fpu/libm-test-ulps: Update.
69214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69216 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
69218         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
69219         ONE with its value.
69221         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
69222         (__pow_mp): Replace ONE and MONE with their values.
69223         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69224         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
69225         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69226         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
69227         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69228         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69230         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
69232         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
69233         (__pow_mp): Replace ZERO and MZERO with their values.
69234         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69235         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69236         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
69237         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
69238         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69239         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
69240         (__sqr): Likewise.
69242         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
69244         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
69246 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69248         * include/stdlib.h [!SHARED] (__call_tls_dtors):
69249         Declare with __attribute__ ((weak)).
69250         * stdlib/exit.c (__libc_atexit) [!SHARED]:
69251         Call __call_tls_dtors only if it's not NULL.
69253 2013-03-28  Roland McGrath  <roland@hack.frob.com>
69255         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
69256         didn't do it already, then set _dl_phdr and _dl_phnum based on the
69257         magic __ehdr_start linker symbol if it's defined.
69258         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
69259         them up here if it was already done.
69261         * elf/dl-support.c (_dl_phdr): Make pointer to const.
69262         (_dl_aux_init): Use const in cast when setting it.
69263         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
69264         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
69265         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
69267         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
69268         Declare them here.
69269         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
69270         * csu/libc-tls.c: Nor here.
69271         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
69273         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
69274         (__libc_message): Never call vsyslog.
69276 2013-03-28  Alan Modra  <amodra@gmail.com>
69278         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
69279         Define as empty.
69280         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
69281         Likewise.
69283 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69285         [BZ #15214]
69286         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
69287         underflow.
69288         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69290 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69292         [BZ #15304]
69293         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
69294         Don't add gid passed as argument.
69296         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
69298 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
69300         [BZ #15307]
69301         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69302         imaginary part between 1.0 and 1.5 and real part less than 0.5
69303         specially.
69304         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69305         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69306         * math/libm-test.inc (cacos_test): Add more tests.
69307         (casin_test): Likewise.
69308         (casinh_test): Likewise.
69309         * sysdeps/i386/fpu/libm-test-ulps: Update.
69310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69312 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69314         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
69315         constants.
69316         (norm): Likewise.
69317         (denorm): Likewise.
69318         (__dbl_mp): Likewise.
69319         (add_magnitudes): Likewise.
69320         (sub_magnitudes): Likewise.
69321         (__add): Likewise.
69322         (__sub): Likewise.
69323         (__mul): Likewise.
69324         (__sqr): Likewise.
69325         (__inv): Likewise.
69326         (__dvd): Likewise.
69328         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
69329         commented code.
69330         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
69331         (__dubcos): Likewise.
69332         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
69333         (__ieee754_acos): Likewise.
69334         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
69335         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
69336         (__exp1): Likewise.
69337         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
69338         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69339         (log1): Likewise.
69340         (my_log2): Likewise.
69341         (checkint): Likewise.
69342         * sysdeps/ieee754/dbl-64/e_remainder.c
69343         (__ieee754_remainder): Likewise.
69344         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
69345         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
69346         (bsloww): Likewise.
69347         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
69349         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69350         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
69351         MANTISSA_STORE_T to store computations on mantissa.  Use
69352         macros for rounding and division.
69353         (denorm): Likewise.
69354         (__dbl_mp): Likewise.
69355         (add_magnitudes): Likewise.
69356         (sub_magnitudes): Likewise.
69357         (__mul): Likewise.
69358         (__sqr): Likewise.
69359         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69360         powers of two in terms of TWOPOW macro.
69361         (mp_no): Make type of mantissa as MANTISSA_T.
69362         [!RADIXI]: Define RADIXI.
69363         [!TWO52]: Define TWO52.
69364         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69366 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69368         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
69369         llroundl symbol when building for PPC32.
69371 2013-03-24  Mark H Weaver  <mhw@netris.org>
69373         * manual/arith.texi (Normalization Functions): Fix prototypes for
69374         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
69376 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69378         [BZ #13889]
69379         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
69380         high value to check if expl overflow.
69381         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
69382         to check for underflow and overflow.
69383         * math/libm-test.inc: Add exp test.
69385 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
69387         [BZ #11120]
69388         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
69389         with NOT_IN_libc.
69391 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69393         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
69394         symbol.
69396 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
69398         * math/gen-libm-test.pl (parse_args, special_functions): Properly
69399         wrap blocks consisting of several statements.
69401         * sysdeps/generic/math-tests.h: New file.
69402         * sysdeps/i386/fpu/math-tests.h: Likewise.
69403         * math/test-snan.c: Include it.
69404         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
69406 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69408         [BZ #15285]
69409         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
69410         (__ieee754_j0l): Do not improve calculations using cos of twice
69411         input for inputs above LDBL_MAX / 2.0L.
69412         (__ieee754_y0l): Likewise.
69413         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
69414         (__ieee754_j1l): Do not improve calculations using cos of twice
69415         input for inputs above LDBL_MAX / 2.0L.
69416         (__ieee754_y1l): Likewise.
69417         * math/libm-test.inc (j0_test): Add another test.
69418         (j1_test): Likewise.
69419         (y0_test): Likewise.
69420         (y1_test): Likewise.
69421         * sysdeps/i386/fpu/libm-test-ulps: Update.
69423 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69425         * Rules ($(objpfx)bench-%.c): Include code from a C source
69426         file.
69428 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
69430         [BZ #15287]
69431         * math/k_casinh.c (__kernel_casinh): Handle arguments with
69432         imaginary part 1.0 and real part less than 0.5 specially.
69433         * math/k_casinhf.c (__kernel_casinhf): Likewise.
69434         * math/k_casinhl.c (__kernel_casinhl): Likewise.
69435         * math/libm-test.inc (cacos_test): Add more tests.
69436         (casin_test): Likewise.
69437         (casinh_test): Likewise.
69438         * sysdeps/i386/fpu/libm-test-ulps: Update.
69439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69441 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
69443         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
69444         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
69446 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
69448         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
69449         * config.make.in (config-cflags-sse4): Remove variable.
69450         (config-cflags-avx): Likewise.
69451         (config-cflags-sse2avx): Likewise.
69452         (config-cflags-novzeroupper): Likewise.
69453         (config-asflags-i686): Likewise.
69454         (have-mfma4): Likewise.
69455         (have-as-vis3): Likewise.
69456         (MIG): Likewise.
69457         * configure.in (MIG): Do not AC_SUBST.
69458         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
69459         (libc_cv_cc_sse4): Do not AC_SUBST.
69460         (libc_cv_cc_avx): Likewise.
69461         (libc_cv_cc_sse2avx): Likewise.
69462         (libc_cv_cc_novzeroupper): Likewise.
69463         (libc_cv_cc_fma4): Likewise.
69464         (libc_cv_as_i686): Likewise.
69465         (libc_cv_sparc_as_vis3): Likewise.
69466         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
69467         LIBC_CONFIG_VAR.
69468         (config-asflags-i686): Likewise.
69469         (config-cflags-avx): Likewise.
69470         (config-cflags-sse2avx): Likewise.
69471         (have-mfma4): Likewise.
69472         (config-cflags-novzeroupper): Likewise.
69473         * sysdeps/mach/configure.in (MIG): Likewise.
69474         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
69475         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
69476         LIBC_CONFIG_VAR.
69477         (config-cflags-avx): Likewise.
69478         (config-cflags-sse2avx): Likewise.
69479         (have-mfma4): Likewise.
69480         (config-cflags-novzeroupper): Likewise.
69481         * configure: Regenerated.
69482         * sysdeps/i386/configure: Likewise.
69483         * sysdeps/mach/configure: Likewise.
69484         * sysdeps/sparc/configure: Likewise.
69485         * sysdeps/x86_64/configure: Likewise.
69487 2013-03-20  Roland McGrath  <roland@hack.frob.com>
69489         [BZ #14812]
69490         * locale/programs/localedef.c (options): Put N_ translation marker
69491         on argument names, not just descriptions.
69493 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
69495         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
69497 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
69499         [BZ #14176]
69500         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
69502 2013-03-19  Roland McGrath  <roland@hack.frob.com>
69504         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
69505         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
69506         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
69507         [!BEFORE_ABORT] (before_abort): New function.
69508         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
69509         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
69510         (writev_for_fatal): New function.
69511         (WRITEV_FOR_FATAL): New macro; call that.
69512         (backtrace_and_maps): New function.
69513         (BEFORE_ABORT): New macro; call that.
69514         (struct str_list): Type removed.
69515         (__libc_message, __libc_fatal): Functions removed.
69516         Include <sysdeps/posix/libc_fatal.c> instead.
69518 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
69520         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
69521         constants.
69522         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
69523         double constants.
69525 2013-03-19  Andreas Schwab  <schwab@suse.de>
69527         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
69528         * sysdeps/gnu/configure: Regenerate.
69530         * configure.in: Substitute libc_cv_rtlddir.
69531         * configure: Regenerate.
69532         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
69533         * Makeconfig (rtlddir, inst_rtlddir): New variables.
69534         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
69535         * elf/Makefile (install-others, CFLAGS-interp.c)
69536         (ldso_install, common-ldd-rewrite): Likewise.
69537         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
69538         $(inst_slibdir)/$(rtld-installed-name).
69539         * scripts/rellns-sh: Add -p option.
69540         * Makerules (make-shlib-link): Use rellns-sh to get relative name
69541         for source.
69543 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
69545         * manual/nptl.texi: Renamed to ...
69546         * manual/threads.texi: ... this.
69547         * manual/Makefile (chapters): Update.
69549 2013-03-18  Roland McGrath  <roland@hack.frob.com>
69551         [BZ #14812]
69552         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
69553         on argument names, not just descriptions.
69554         * malloc/memusagestat.c (options): Likewise.
69555         * nss/getent.c (options): Likewise.
69557 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
69559         [BZ #14812]
69560         * iconv/iconv_prog.c (options): Put N_ translation marker
69561         on argument names, not just descriptions.
69562         * iconv/iconvconfig.c (options): Likewise.
69564 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
69566         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
69567         implementation which is faster on all x86_64 architectures.
69568         Tested on AMD, Intel Nehalem, SNB, IVB.
69569         * sysdeps/x86_64/strnlen.S: Likewise.
69571         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
69572         Remove all multiarch strlen and strnlen versions.
69573         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
69574         Remove strlen and strnlen related parts.
69576         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
69577         Inline strlen part.
69578         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
69580         * sysdeps/x86_64/multiarch/strlen.S: Remove.
69581         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
69582         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
69583         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
69584         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
69585         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
69587 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
69589         * manual/memory.texi (Malloc Tunable Parameters):
69590         Sort parameters alphabetically. Add comments for missing entries.
69592 2013-03-17  David S. Miller  <davem@davemloft.net>
69594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69596 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
69598         [BZ #15283]
69599         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
69600         for arguments at most half maximum finite value.
69601         * math/libm-test.inc (j0_test): Add more tests.
69602         (j1_test): Likewise.
69603         (y0_test): Likewise.
69604         (y1_test): Likewise.
69605         * sysdeps/i386/fpu/libm-test-ulps: Update.
69606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69608         [BZ #14155]
69609         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
69610         1 / x and functions P and Q for arguments above 0x1p256L.
69611         (__ieee754_y0l): Likewise.
69612         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
69613         (__ieee754_y1l): Likewise.
69614         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
69615         (j1_test): Likewise.
69616         (y0_test): Likewise.
69617         (y1_test): Likewise.
69619 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
69621         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
69622         variable.
69624 2013-03-15  Roland McGrath  <roland@hack.frob.com>
69626         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
69627         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
69628         zero since it's initialized to EXEC_PAGESIZE.
69630         * sysdeps/unix/sysv/linux/ldsodefs.h
69631         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
69632         * sysdeps/generic/ldsodefs.h: ... here.
69634 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
69636         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
69638         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
69639         math/test-snan.c.
69640         * math/test-snan.c: Renamed from
69641         sysdeps/powerpc/fpu/test-powerpc-snan.c.
69642         * math/Makefile (tests): Add test-snan.
69643         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
69644         test-powerpc-snan.
69646         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
69647         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
69648         functions.
69649         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
69650         __builtin_nan family of functions.
69651         * math/libm-test.inc (initialize): Initialize qnan_value with
69652         __builtin_nan family of functions.
69653         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
69654         Remove variables.
69655         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
69656         Remove functions.
69657         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
69658         storage class.  Initialize qNaN_var and sNaN_var with
69659         __builtin_nan and __builtin_nans families of functions,
69660         respectively.
69662         * math/libm-test.inc (acosh_test): Also test with qNaN input.
69663         (sqrt_test): Remove duplicate test with qNaN input.
69664         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
69665         (round_test, signbit_test, significand_test): Note missing +/-Inf
69666         as well as qNaN tests.
69668         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
69669         qNaN_var.  Fix a few strings, too.
69670         * math/libm-test.inc (nan_value): Rename to qnan_value.
69671         * math/gen-libm-test.pl (%beautify): Adjust to that.
69672         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
69673         * math/test-misc.c (main): Likewise.
69674         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
69675         to __qnan_bytes, and __qnan_union, respectively.
69676         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
69677         Likewise.
69678         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
69679         and lqnanval, respectively.
69680         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
69681         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
69682         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
69683         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
69685         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
69686         * math/test-misc.c (main) [__x86_64__]: Enable test for long
69687         doubles.
69689         * math/test-misc.c (main): Fix copy'n'pastos.
69690         * misc/tst-efgcvt.c (special): Likewise.
69692         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
69693         Remove declarations.
69695 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69697         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
69698         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
69699         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
69700         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
69702 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69704         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
69705         macro to return vdso values correctly in IFUNC implementations.
69706         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
69707         Optimization by using IFUNC.
69709 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69710             Richard Henderson  <rth@redhat.com>
69711             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69713         * Makefile.in (bench): New target.
69714         * NEWS: Mention the benchmark framework.
69715         * Rules (bench): Likewise.
69716         (binaries-bench): Generate binaries for functions to
69717         benchmark.
69718         * benchtests/Makefile: New makefile for benchmark tests.
69719         * benchtests/bench-skeleton.c: New skeleton file for benchmark
69720         programs.
69721         * benchtests/exp-inputs: New input file for EXP function.
69722         * benchtests/pow-inputs: New input file for POW function.
69723         * scripts/bench.pl: New script to generate source files for
69724         benchmark programs.
69726 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
69728         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
69729         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
69730         computations on mantissa.  Use macros for rounding and
69731         division.
69732         (denorm): Likewise.
69733         (__dbl_mp): Likewise.
69734         (add_magnitudes): Likewise.
69735         (sub_magnitudes): Likewise.
69736         (__mul): Likewise.
69737         (__sqr): Likewise.
69738         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
69739         powers of two in terms of TWOPOW macro.
69740         (mp_no): Make type of mantissa as MANTISSA_T.
69741         [!RADIXI]: Define RADIXI.
69742         [!TWO52]: Define TWO52.
69743         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
69745         * manual/nptl.texi (cindex): Modify threads to pthreads.
69747 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
69749         * sysdeps/x86_64/preconfigure: Regenerated.
69751 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
69753         [BZ #14155]
69754         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
69755         0x1p28 and above.
69756         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
69757         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
69758         0x1p28 and above.
69759         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
69760         * math/libm-test.inc (j0_test): Do not allow one spurious
69761         underflow exception.
69762         (y1_test): Likewise.
69764 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69766         * manual/Makefile (chapters): Add nptl.
69767         * manual/debug.texi (Debugging Support): Add link to Threads
69768         chapter.
69769         * manual/nptl.texi: New file.
69771         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
69773 2013-03-14  Petr Baudis  <pasky@ucw.cz>
69775         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
69776         for non-NULL pointer before the memory validity test. Pointed
69777         out by Holger Brunck <holger.brunck@keymile.com>.
69779 2013-03-13  Andreas Schwab  <schwab@suse.de>
69781         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
69782         instead of .os.
69784 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
69786         * timezone/zic.c: Update from tzcode 2013b.
69788 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
69790         * manual/install.texi (Configuring and compiling):
69791         Mention i686 and i586.
69792         * INSTALL: Regenerate.
69794 2013-03-12  Roland McGrath  <roland@hack.frob.com>
69796         * sysdeps/init_array/elf-init.c: New file.
69797         * csu/elf-init.c
69798         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
69799         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
69801         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
69802         __gmon_start__ as global, but as static with a .preinit_array pointer.
69803         * sysdeps/init_array/gmon-start.c: New file.  Use that.
69804         * sysdeps/init_array/crti.S: New file, empty except for comments.
69805         * sysdeps/init_array/crtn.S: Likewise.
69807 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
69809         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
69810         definining bcopy.
69811         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69812         Remove Prefer_SSE_for_memop.
69813         * sysdeps/x86_64/multiarch/init-arch.h: Remove
69814         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
69815         HAS_PREFER_SSE_FOR_MEMOP.
69816         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
69817         memset-x86-64.
69818         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
69819         Remove bzero, memset ifunc support.
69820         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
69821         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
69822         * sysdeps/x86_64/multiarch/memset.S: Likewise.
69823         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
69825 2013-03-11  Andreas Schwab  <schwab@suse.de>
69827         [BZ #15234]
69828         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
69829         by SHLIB_COMPAT.
69830         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
69831         (GLIBC_2.16): Remove pthread_atfork.
69833 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
69835         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
69836         (ptestcases.h): Likewise.
69838 2013-03-08  Roland McGrath  <roland@hack.frob.com>
69840         * Makeconfig ($(common-objpfx)config.status): Depend on
69841         sysdeps/*/preconfigure{,.in} too.
69843 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
69845         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
69846         (__free_hook): Use void * instead of __malloc_ptr_t.
69847         (__malloc_hook): Likewise.
69848         (__realloc_hook): Likewise.
69849         (__memalign_hook): Likewise.
69850         (__after_morecore_hook): Likewise.
69851         * malloc/arena.c (save_malloc_hook): Likewise.
69852         (save_free_hook): Likewise.
69853         * malloc/hooks.c (malloc_hook_ini): Likewise.
69854         (realloc_hook_ini): Likewise.
69855         (memalign_hook_ini): Likewise.
69856         * malloc/malloc.c (malloc_hook_ini): Likewise.
69857         (realloc_hook_ini): Likewise.
69858         (memalign_hook_ini): Likewise.
69859         (__free_hook): Likewise.
69860         (__malloc_hook): Likewise.
69861         (__realloc_hook): Likewise.
69862         (__memalign_hook): Likewise.
69863         (__libc_malloc): Likewise.
69864         (__libc_free): Likewise.
69865         (__libc_realloc): Likewise.
69866         (__libc_memalign): Likewise.
69867         (__libc_valloc): Likewise.
69868         (__libc_pvalloc): Likewise.
69869         (__libc_calloc): Likewise.
69870         (__posix_memalign): Likewise.
69871         * malloc/morecore.c (__sbrk): Likewise.
69872         (__default_morecore): Likewise.
69874         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69876         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69877         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69878         __malloc_ptrdiff_t.
69880         * malloc/malloc.h (__malloc_size_t): Remove macro.
69881         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69882         __malloc_size_t.
69883         (old_memalign_hook): Likewise.
69884         (old_realloc_hook): Likewise.
69885         (struct hdr): Likewise.
69886         (flood): Likewise.
69887         (mallochook): Likewise.
69888         (memalignhook): Likewise.
69889         (reallochook): Likewise.
69890         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69891         (tr_old_realloc_hook): Likewise.
69892         (tr_old_memalign_hook): Likewise.
69893         (tr_mallochook): Likewise.
69894         (tr_reallochook): Likewise.
69895         (tr_memalignhook): Likewise.
69897 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69899         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69900         default_ldbl_pack and using as default implementation.
69901         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69902         implementation.
69903         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69904         redundant definition.
69905         (ldbl_insert_mantissa): Likewise.
69906         (ldbl_canonicalize): Likewise.
69907         (ldbl_nearbyint): Likewise.
69908         (ldbl_pack): Rename to ldbl_pack_ppc.
69909         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69910         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69911         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69913 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69915         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69916         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69917         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69918         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69920         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69921         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69922         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69924 2013-03-07  Andreas Jaeger  <aj@suse.de>
69926         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69927         bits/mman-linux.h.
69929 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69931         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69932         Include mpa.h and declare __MPEXP.
69933         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69934         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69935         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69936         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69937         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69938         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69939         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69941         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69942         (__slowpow): Use long double EXPL and LOGL functions to
69943         compute POW.
69944         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69945         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69946         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69947         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69948         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69949         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69952         intermediate variable to calculate exponent.
69953         (__sqr): Likewise.
69954         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69955         Likewise.
69956         (__sqr): Likewise.
69958         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69959         [!NO__SQR]: Define __sqr.
69960         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69961         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69962         sysdeps/ieee754/dbl-64/mpa.c.
69963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69965         [BZ #12723]
69966         * posix/Makefile (tests): Add tst-pathconf.
69967         * posix/tst-pathconf.c: New test case.
69968         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69969         _PC_PIPE_BUF.
69970         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69972 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69974         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69976 2013-03-06  Andreas Jaeger  <aj@suse.de>
69978         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69979         definition via __MAP_ANONYMOUS.
69981         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69982         it's not part of Linux headers.
69984         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69985         (MAP_HUGE_MASK): Define.
69987         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69988         Define.
69989         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69990         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69991         Define.
69992         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69993         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69994         Define.
69995         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69996         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69997         Define.
69998         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
70000         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
70001         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
70002         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
70003         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
70004         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
70005         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
70007         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
70008         Handle f2fs.
70010         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
70011         Handle f2fs and efivarfs.
70013         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
70014         f2fs.
70016         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
70017         (EFIVARFS_MAGIC): Add.
70018         (F2FS_LINK_MAX): Add.
70020 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70022         * stdio-common/vfprintf.c: Replace __builtin_expect with
70023         __glibc_unlikely.
70025 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
70027         [BZ #13550]
70028         * sysdeps/generic/bp-sym.h: Remove file.
70029         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
70030         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
70031         <bp-sym.h> and <bp-asm.h>.
70032         (__longjmp): Don't use BP_SYM.
70033         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
70034         and <bp-asm.h>.
70035         (memcpy): Don't use BP_SYM.
70036         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
70037         <bp-sym.h> and <bp-asm.h>.
70038         (memcpy): Don't use BP_SYM.
70039         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
70040         <bp-asm.h>.
70041         (memcpy): Don't use BP_SYM.
70042         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
70043         <bp-asm.h>.
70044         (memset): Don't use BP_SYM.
70045         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70046         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70047         (__bzero): Don't use BP_SYM.
70048         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70049         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70050         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
70051         <bp-sym.h> and <bp-asm.h>.
70052         (memcmp): Don't use BP_SYM.  Remove comment about bounded
70053         pointers.
70054         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
70055         <bp-sym.h> and <bp-asm.h>.
70056         (memcpy): Don't use BP_SYM.
70057         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
70058         <bp-sym.h> and <bp-asm.h>.
70059         (memset): Don't use BP_SYM.
70060         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70061         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70062         (__bzero): Don't use BP_SYM.
70063         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70064         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70065         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
70066         <bp-sym.h> and <bp-asm.h>.
70067         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70068         pointers.
70069         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
70070         <bp-sym.h> and <bp-asm.h>.
70071         (memcpy): Don't use BP_SYM.
70072         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
70073         <bp-sym.h> and <bp-asm.h>.
70074         (memset): Don't use BP_SYM.
70075         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70076         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70077         (__bzero): Don't use BP_SYM.
70078         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70079         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70080         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
70081         <bp-sym.h> and <bp-asm.h>.
70082         (__memchr): Don't use BP_SYM.
70083         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
70084         <bp-sym.h> and <bp-asm.h>.
70085         (memcmp): Don't use BP_SYM.  Remove comment about bounded
70086         pointers.
70087         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
70088         <bp-sym.h> and <bp-asm.h>.
70089         (memcpy): Don't use BP_SYM.
70090         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
70091         <bp-sym.h> and <bp-asm.h>.
70092         (__mempcpy): Don't use BP_SYM.
70093         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
70094         <bp-sym.h> and <bp-asm.h>.
70095         (__memrchr): Don't use BP_SYM.
70096         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
70097         <bp-sym.h> and <bp-asm.h>.
70098         (memset): Don't use BP_SYM.
70099         (__bzero): Likewise.
70100         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
70101         <bp-sym.h> and <bp-asm.h>.
70102         (__rawmemchr): Don't use BP_SYM.
70103         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
70104         <bp-sym.h> and <bp-asm.h>.
70105         (__STRCMP): Don't use BP_SYM.
70106         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
70107         <bp-sym.h> and <bp-asm.h>.
70108         (strchr): Don't use BP_SYM.
70109         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
70110         <bp-sym.h> and <bp-asm.h>.
70111         (__strchrnul): Don't use BP_SYM.
70112         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
70113         <bp-sym.h> and <bp-asm.h>.
70114         (strlen): Don't use BP_SYM.
70115         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
70116         <bp-sym.h> and <bp-asm.h>.
70117         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70118         pointers.
70119         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
70120         <bp-sym.h> and <bp-asm.h>.
70121         (__strnlen): Don't use BP_SYM.
70122         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
70123         <bp-sym.h> and <bp-asm.h>.
70124         (__GI__setjmp): Don't use BP_SYM.
70125         (_setjmp): Likewise.
70126         (__sigsetjmp): Likewise.
70127         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
70128         (L(start_addresses)): Don't use BP_SYM.
70129         (_start): Likewise.
70130         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
70131         <bp-asm.h>.
70132         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
70133         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
70134         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70135         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70136         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
70137         <bp-asm.h>.
70138         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
70139         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
70140         about bounded pointers.
70141         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70142         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70143         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
70144         <bp-asm.h>.
70145         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
70146         about bounded pointers.  Remove GKM FIXME comments.
70147         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70148         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
70149         <bp-asm.h>.
70150         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
70151         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
70152         Remove GKM FIXME comments.
70153         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70154         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70155         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
70156         <bp-asm.h>.
70157         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
70158         about bounded pointers.  Remove GKM FIXME comment.
70159         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
70160         and <bp-asm.h>.
70161         (strncmp): Don't use BP_SYM.  Remove comment about bounded
70162         pointers.
70163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
70164         <bp-sym.h> and <bp-asm.h>.
70165         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
70167         <bp-sym.h> and <bp-asm.h>.
70168         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70169         comment.
70171 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
70173         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
70174         call free(NULL).
70176 2013-03-05  David S. Miller  <davem@davemloft.net>
70178         * po/es.po: Update from translation team.
70180 2013-03-05  Andreas Jaeger  <aj@suse.de>
70182         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
70183         <bits/mman-linux.h>.
70184         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70185         is fine.
70186         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
70187         <bits/mman-linux.h> to end of file.
70188         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70189         is fine.
70190         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
70191         <bits/mman-linux.h> to end of file.
70192         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
70193         is fine.
70194         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
70195         <bits/mman-linux.h> to end of file.
70197         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
70198         (MCL_CURRENT, MCL_FUTURE): Define here.
70200 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70202         [BZ #15232]
70203         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
70204         attribute_hidden.
70205         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
70207 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70209         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
70210         fourth parameter needed for rt_sigprocmask syscall.
70211         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
70212         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
70213         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
70214         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
70215         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
70216         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
70218 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
70220         [BZ #13550]
70221         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
70222         comment about bounded pointers.
70223         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
70224         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
70226 2013-03-04  Andreas Jaeger  <aj@suse.de>
70228         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
70229         common definitions.
70231         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
70232         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
70233         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
70234         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70235         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
70236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70238 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70240         [BZ #15055]
70241         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
70242         __ieee754_sqrl instead of __sqrl.
70244 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
70246         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
70247         * sysdeps/powerpc/fpu_control.h: ... here.
70248         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
70249         * sysdeps/powerpc/bits/fenvinline.h: ... here.
70250         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
70251         * sysdeps/powerpc/bits/mathinline.h: ... here.
70253 2013-03-01  Roland McGrath  <roland@hack.frob.com>
70255         * elf/dl-hwcaps.c (_dl_important_hwcaps):
70256         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
70257         to just [NEED_DL_SYSINFO_DSO].
70258         * elf/dl-support.c: Likewise.
70259         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
70260         * elf/rtld.c (dl_main): Likewise.
70261         * elf/setup-vdso.h (setup_vdso): Likewise.
70262         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
70263         * sysdeps/unix/sysv/linux/dl-sysdep.c
70264         (_dl_discover_osversion): Likewise.
70266 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
70268         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
70269         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70271 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
70273         * NEWS: Mention libm performance improvements and non-x86 PI
70274         futex support.
70276         * csu/libc-start.c (__pthread_initialize_minimal): Change
70277         function arguments.
70278         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
70280 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
70282         [BZ #13550]
70283         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
70284         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
70285         <bp-sym.h> and <bp-asm.h>.
70286         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70287         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
70288         and <bp-asm.h>.
70289         (memcpy): Don't use BP_SYM.
70290         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
70291         <bp-asm.h>.
70292         (__mpn_add_n): Don't use BP_SYM.
70293         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
70294         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
70295         and <bp-asm.h>.
70296         (__mpn_addmul_1): Don't use BP_SYM.
70297         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70298         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
70299         <bp-sym.h>.
70300         (_setjmp): Don't use BP_SYM.
70301         (__novmx_setjmp): Likewise.
70302         (__GI__setjmp): Likewise.
70303         (__vmx_setjmp): Likewise.
70304         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
70305         <bp-sym.h>.
70306         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
70307         (__bzero): Don't use BP_SYM.
70308         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
70309         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
70310         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
70311         <bp-sym.h> and <bp-asm.h>.
70312         (memcpy): Don't use BP_SYM.
70313         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
70314         <bp-sym.h> and <bp-asm.h>.
70315         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
70317         <bp-sym.h> and <bp-asm.h>.
70318         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
70319         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
70320         <bp-asm.h>.
70321         (__mpn_lshift): Don't use BP_SYM.
70322         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70323         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
70324         <bp-asm.h>.
70325         (memset): Don't use BP_SYM.
70326         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
70327         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
70328         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
70329         <bp-asm.h>.
70330         (__mpn_mul_1): Don't use BP_SYM.
70331         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70332         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
70333         <bp-sym.h> and <bp-asm.h>.
70334         (memcmp): Don't use BP_SYM.
70335         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
70336         <bp-sym.h> and <bp-asm.h>.
70337         (memcpy): Don't use BP_SYM.
70338         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
70339         <bp-sym.h> and <bp-asm.h>.
70340         (memset): Don't use BP_SYM.
70341         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
70342         <bp-sym.h> and <bp-asm.h>.
70343         (strncmp): Don't use BP_SYM.
70344         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
70345         <bp-sym.h> and <bp-asm.h>.
70346         (memcpy): Don't use BP_SYM.
70347         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
70348         <bp-sym.h> and <bp-asm.h>.
70349         (memset): Don't use BP_SYM.
70350         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
70351         <bp-sym.h> and <bp-asm.h>.
70352         (__memchr): Don't use BP_SYM.
70353         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
70354         <bp-sym.h> and <bp-asm.h>.
70355         (memcmp): Don't use BP_SYM.
70356         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
70357         <bp-sym.h> and <bp-asm.h>.
70358         (memcpy): Don't use BP_SYM.
70359         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
70360         <bp-sym.h> and <bp-asm.h>.
70361         (__mempcpy): Don't use BP_SYM.
70362         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
70363         <bp-sym.h> and <bp-asm.h>.
70364         (__memrchr): Don't use BP_SYM.
70365         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
70366         <bp-sym.h> and <bp-asm.h>.
70367         (memset): Don't use BP_SYM.
70368         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
70369         <bp-sym.h> and <bp-asm.h>.
70370         (__rawmemchr): Don't use BP_SYM.
70371         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
70372         <bp-sym.h> and <bp-asm.h>.
70373         (__STRCMP): Don't use BP_SYM.
70374         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
70375         <bp-sym.h> and <bp-asm.h>.
70376         (strchr): Don't use BP_SYM.
70377         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
70378         <bp-sym.h> and <bp-asm.h>.
70379         (__strchrnul): Don't use BP_SYM.
70380         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
70381         <bp-sym.h> and <bp-asm.h>.
70382         (strlen): Don't use BP_SYM.
70383         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
70384         <bp-sym.h> and <bp-asm.h>.
70385         (strncmp): Don't use BP_SYM.
70386         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
70387         <bp-sym.h> and <bp-asm.h>.
70388         (__strnlen): Don't use BP_SYM.
70389         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
70390         <bp-asm.h>.
70391         (__mpn_rshift): Don't use BP_SYM.
70392         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70393         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
70394         <bp-sym.h> and <bp-asm.h>.
70395         (__sigsetjmp): Don't use BP_SYM.
70396         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
70397         (L(start_addresses)): Don't use BP_SYM.
70398         (_start): Likewise.
70399         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
70400         <bp-asm.h>.
70401         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
70402         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70403         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70404         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
70405         <bp-asm.h>.
70406         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
70407         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70408         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70409         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
70410         <bp-asm.h>.
70411         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70412         comments.
70413         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70414         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
70415         <bp-asm.h>.
70416         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
70417         FIXME comments.
70418         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70419         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
70420         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
70421         <bp-asm.h>.
70422         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
70423         comment.
70424         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
70425         and <bp-asm.h>.
70426         (strncmp): Don't use BP_SYM,
70427         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
70428         <bp-asm.h>.
70429         (__mpn_sub_n): Don't use BP_SYM.
70430         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70431         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
70432         and <bp-asm.h>.
70433         (__mpn_submul_1): Don't use BP_SYM.
70434         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
70436         <bp-sym.h> and <bp-asm.h>.
70437         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
70438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
70439         <bp-sym.h> and <bp-asm.h>.
70440         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
70441         comment.
70443 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70445         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
70446         Use ZK to minimize writes to Z.
70447         (sub_magnitudes): Simplify code a bit.
70448         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
70449         Use ZK to minimize writes to Z.
70450         (sub_magnitudes): Simplify code a bit.
70452 2013-02-27  Roland McGrath  <roland@hack.frob.com>
70454         * csu/gmon-start.c: Add special exception to license text.
70456 2013-02-27  Richard Henderson  <rth@redhat.com>
70458         * scripts/config.guess: Update from config.git.
70459         * scripts/config.sub: Likewise.
70461 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70463         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
70465         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
70467         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
70469         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
70471         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
70473 2013-02-26  Roland McGrath  <roland@hack.frob.com>
70475         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
70476         [$(build-shared = yes].
70478 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70480         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
70481         (__mul): Reduce iterations for calculating mantissa.
70483         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
70484         MPTWO.
70485         (__mpranred): Likewise.
70487         [BZ #15160]
70488         * malloc/memusagestat.c (main): Draw graphs for heap and stack
70489         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
70491 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
70493         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
70494         Define __attribute__.
70496 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70498         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
70499         unused.
70500         * posix/regex_internal.h (__attribute): Remove.
70501         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
70502         (re_string_context_at): Likewise.
70503         (bitset_not): Use __attribute__ and mark function as possibly
70504         unused.
70505         (bitset_merge): Likewise.
70506         (bitset_mask): Likewise.
70507         (re_string_char_size_at): Likewise.
70508         (re_string_wchar_at): Likewise.
70509         (re_string_elem_size_at): Likewise.
70511 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
70513         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
70514         code.
70515         (cc32): Likewise.
70517         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
70518         (__acr): Likewise.
70519         (__cpy): Likewise.
70520         (norm): Likewise.
70521         (denorm): Likewise.
70522         (__dbl_mp): Likewise.
70523         (add_magnitudes): Likewise.
70524         (sub_magnitudes): Likewise.
70525         (__mul): Likewise.
70526         (__inv): Likewise.
70528         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
70529         style.
70531         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
70532         style.
70534         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
70535         code.
70537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
70538         up changes with default code.
70539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
70540         Likewise.
70542 2013-02-24  Allan McRae  <allan@archlinux.org>
70544         * manual/socket.texi (The Internet Namespace): Order menu items
70545         to match that in the file.
70547         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
70548         node listing of the info page menu.
70550 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
70552         [BZ #13550]
70553         * sysdeps/i386/bp-asm.h: Remove file.
70554         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70555         (PARMS): Do not use macros from bp-asm.h.
70556         (S1): Likewise.
70557         (S2): Likewise.
70558         (SIZE): Likewise.
70559         (__mpn_add_n): Do not use BP_SYM
70560         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
70561         "bp-asm.h".
70562         (PARMS): Do not use macros from bp-asm.h.
70563         (S1): Likewise.
70564         (SIZE): Likewise.
70565         (__mpn_addmul_1): Do not use BP_SYM
70566         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
70567         "bp-asm.h".
70568         (PARMS): Do not use macros from bp-asm.h.
70569         (SIGMSK): Likewise.
70570         (_setjmp): Likewise.  Do not use BP_SYM.
70571         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
70572         "bp-asm.h".
70573         (PARMS): Do not use macros from bp-asm.h.
70574         (SIGMSK): Likewise.
70575         (setjmp): Likewise.  Do not use BP_SYM.
70576         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
70577         "bp-asm.h".
70578         (PARMS): Do not use macros from bp-asm.h.
70579         (__frexp): Do not use BP_SYM.
70580         (frexp): Likewise.
70581         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
70582         "bp-asm.h".
70583         (PARMS): Do not use macros from bp-asm.h.
70584         (__frexpf): Do not use BP_SYM.
70585         (frexpf): Likewise.
70586         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
70587         "bp-asm.h".
70588         (PARMS): Do not use macros from bp-asm.h.
70589         (__frexpl): Do not use BP_SYM.
70590         (frexpl): Likewise.
70591         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
70592         "bp-asm.h".
70593         (PARMS): Do not use macros from bp-asm.h.
70594         (__remquo): Do not use BP_SYM.
70595         (remquo): Likewise.
70596         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
70597         "bp-asm.h".
70598         (PARMS): Do not use macros from bp-asm.h.
70599         (__remquof): Do not use BP_SYM.
70600         (remquof): Likewise.
70601         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
70602         "bp-asm.h".
70603         (PARMS): Do not use macros from bp-asm.h.
70604         (__remquol): Do not use BP_SYM.
70605         (remquol): Likewise.
70606         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
70607         "bp-asm.h".
70608         (PARMS): Do not use macros from bp-asm.h.
70609         (DEST): Likewise.
70610         (SRC): Likewise.
70611         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
70612         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
70613         "bp-asm.h".
70614         (PARMS): Do not use macros from bp-asm.h.
70615         (strlen): Do not use BP_SYM.
70616         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
70617         "bp-asm.h".
70618         (PARMS): Do not use macros from bp-asm.h.
70619         (S1): Likewise.
70620         (S2): Likewise.
70621         (SIZE): Likewise.
70622         (__mpn_add_n): Do not use BP_SYM.
70623         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
70624         "bp-asm.h".
70625         (PARMS): Do not use macros from bp-asm.h.
70626         (S1): Likewise.
70627         (SIZE): Likewise.
70628         (__mpn_addmul_1): Do not use BP_SYM.
70629         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
70630         weak_alias.
70631         (bzero): Likewise.
70632         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
70633         "bp-asm.h".
70634         (PARMS): Do not use macros from bp-asm.h.
70635         (S): Likewise.
70636         (SIZE): Likewise.
70637         (__mpn_lshift): Do not use BP_SYM.
70638         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
70639         "bp-asm.h".
70640         (PARMS): Do not use macros from bp-asm.h.
70641         (DEST): Likewise.
70642         (SRC): Likewise.
70643         (LEN): Likewise.
70644         (memcpy): Likewise.  Do not use BP_SYM.
70645         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
70646         libc_hidden_def and weak_alias.
70647         (mempcpy): Do not use BP_SYM in weak_alias.
70648         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
70649         "bp-asm.h".
70650         (PARMS): Do not use macros from bp-asm.h.
70651         (DEST): Likewise.
70652         (LEN): Likewise.
70653         [!BZERO_P] (CHR): Likewise.
70654         (memset): Likewise.  Do not use BP_SYM.
70655         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
70656         "bp-asm.h".
70657         (PARMS): Do not use macros from bp-asm.h.
70658         (S1): Likewise.
70659         (SIZE): Likewise.
70660         (__mpn_mul_1): Do not use BP_SYM.
70661         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
70662         "bp-asm.h".
70663         (PARMS): Do not use macros from bp-asm.h.
70664         (S): Likewise.
70665         (SIZE): Likewise.
70666         (__mpn_rshift): Do not use BP_SYM.
70667         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
70668         "bp-asm.h".
70669         (PARMS): Do not use macros from bp-asm.h.
70670         (STR): Likewise.
70671         (CHR): Likewise.
70672         (strchr): Likewise.  Do not use BP_SYM.
70673         (index): Do not use BP_SYM in weak_alias.
70674         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
70675         "bp-asm.h".
70676         (PARMS): Do not use macros from bp-asm.h.
70677         (DEST): Likewise.
70678         (SRC): Likewise.
70679         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
70680         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
70681         "bp-asm.h".
70682         (PARMS): Do not use macros from bp-asm.h.
70683         (strlen): Do not use BP_SYM.
70684         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
70685         "bp-asm.h".
70686         (PARMS): Do not use macros from bp-asm.h.
70687         (S1): Likewise.
70688         (S2): Likewise.
70689         (SIZE): Likewise.
70690         (__mpn_sub_n): Do not use BP_SYM.
70691         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
70692         "bp-asm.h".
70693         (PARMS): Do not use macros from bp-asm.h.
70694         (S1): Likewise.
70695         (SIZE): Likewise.
70696         (__mpn_submul_1): Do not use BP_SYM.
70697         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
70698         "bp-asm.h".
70699         (PARMS): Do not use macros from bp-asm.h.
70700         (S1): Likewise.
70701         (S2): Likewise.
70702         (SIZE): Likewise.
70703         (__mpn_add_n): Do not use BP_SYM.
70704         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
70705         weak_alias.
70706         (bzero): Likewise.
70707         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
70708         "bp-asm.h".
70709         (PARMS): Do not use macros from bp-asm.h.
70710         (BLK2): Likewise.
70711         (LEN): Likewise.
70712         (memcmp): Do not use BP_SYM.
70713         (bcmp): Do not use BP_SYM in weak_alias.
70714         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
70715         "bp-asm.h".
70716         (PARMS): Do not use macros from bp-asm.h.
70717         (DEST): Likewise.
70718         (SRC): Likewise.
70719         (LEN): Likewise.
70720         (memcpy): Likewise.  Do not use BP_SYM.
70721         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
70722         "bp-asm.h".
70723         (PARMS): Do not use macros from bp-asm.h.
70724         (DEST): Likewise.
70725         (SRC): Likewise.
70726         (LEN): Likewise.
70727         (memmove): Likewise.  Do not use BP_SYM.
70728         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
70729         "bp-asm.h".
70730         (PARMS): Do not use macros from bp-asm.h.
70731         (DEST): Likewise.
70732         (SRC): Likewise.
70733         (LEN): Likewise.
70734         (__mempcpy): Likewise.  Do not use BP_SYM.
70735         (mempcpy): Do not use BP_SYM in weak_alias.
70736         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
70737         "bp-asm.h".
70738         (PARMS): Do not use macros from bp-asm.h.
70739         (DEST): Likewise.
70740         (LEN): Likewise.
70741         [!BZERO_P] (CHR): Likewise.
70742         (memset): Likewise.  Do not use BP_SYM.
70743         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
70744         "bp-asm.h".
70745         (PARMS): Do not use macros from bp-asm.h.
70746         (STR2): Likewise.
70747         (strcmp): Do not use BP_SYM.
70748         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
70749         "bp-asm.h".
70750         (PARMS): Do not use macros from bp-asm.h.
70751         (STR): Likewise.
70752         (DELIM): Likewise.
70753         [USE_AS_STRTOK_R] (SAVE): Likewise.
70754         (FUNCTION): Likewise.  Do not use BP_SYM.
70755         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
70756         aliases.
70757         (strtok_r): Likewise.
70758         (__GI___strtok_r): Likewise.
70759         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70760         (PARMS): Do not use macros from bp-asm.h.
70761         (S): Likewise.
70762         (SIZE): Likewise.
70763         (__mpn_lshift): Do not use BP_SYM.
70764         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70765         (PARMS): Do not use macros from bp-asm.h.
70766         (STR): Likewise.
70767         (CHR): Likewise.
70768         (__memchr): Do not use BP_SYM.
70769         (memchr): Do not use BP_SYM in weak_alias.
70770         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70771         (PARMS): Do not use macros from bp-asm.h.
70772         (BLK2): Likewise.
70773         (LEN): Likewise.
70774         (memcmp): Do not use BP_SYM.
70775         (bcmp): Do not use BP_SYM in weak_alias.
70776         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
70777         (PARMS): Do not use macros from bp-asm.h.
70778         (S1): Likewise.
70779         (SIZE): Likewise.
70780         (__mpn_mul_1): Do not use BP_SYM.
70781         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
70782         "bp-asm.h".
70783         (PARMS): Do not use macros from bp-asm.h.
70784         (STR): Likewise.
70785         (CHR): Likewise.
70786         (__rawmemchr): Do not use BP_SYM.
70787         (rawmemchr): Do not use BP_SYM in weak_alias.
70788         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
70789         (PARMS): Do not use macros from bp-asm.h.
70790         (S): Likewise.
70791         (SIZE): Likewise.
70792         (__mpn_rshift): Do not use BP_SYM.
70793         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
70794         (PARMS): Do not use macros from bp-asm.h.
70795         (SIGMSK): Likewise.
70796         (__sigsetjmp): Likewise.  Do not use BP_SYM.
70797         * sysdeps/i386/start.S: Do not include "bp-sym.h".
70798         (_start): Do not use BP_SYM.
70799         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
70800         (PARMS): Do not use macros from bp-asm.h.
70801         (DEST): Likewise.
70802         (SRC): Likewise.
70803         (__stpcpy): Likewise.  Do not use BP_SYM.
70804         (stpcpy): Do not use BP_SYM in weak_alias.
70805         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
70806         "bp-asm.h".
70807         (PARMS): Do not use macros from bp-asm.h.
70808         (DEST): Likewise.
70809         (SRC): Likewise.
70810         (LEN): Likewise.
70811         (__stpncpy): Likewise.  Do not use BP_SYM.
70812         (stpncpy): Do not use BP_SYM in weak_alias.
70813         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
70814         (PARMS): Do not use macros from bp-asm.h.
70815         (STR): Likewise.
70816         (CHR): Likewise.
70817         (strchr): Likewise.  Do not use BP_SYM.
70818         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
70819         "bp-asm.h".
70820         (PARMS): Do not use macros from bp-asm.h.
70821         (STR): Likewise.
70822         (CHR): Likewise.
70823         (__strchrnul): Likewise.  Do not use BP_SYM.
70824         (strchrnul): Do not use BP_SYM in weak_alias.
70825         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
70826         "bp-asm.h".
70827         (PARMS): Do not use macros from bp-asm.h.
70828         (STOP): Likewise.
70829         (strcspn): Do not use BP_SYM.
70830         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
70831         "bp-asm.h".
70832         (PARMS): Do not use macros from bp-asm.h.
70833         (STR): Likewise.
70834         (STOP): Likewise.
70835         (strpbrk): Likewise.  Do not use BP_SYM.
70836         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
70837         "bp-asm.h".
70838         (PARMS): Do not use macros from bp-asm.h.
70839         (STR): Likewise.
70840         (CHR): Likewise.
70841         (strrchr): Likewise.  Do not use BP_SYM.
70842         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
70843         (PARMS): Do not use macros from bp-asm.h.
70844         (SKIP): Likewise.
70845         (strspn): Do not use BP_SYM.
70846         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
70847         (PARMS): Do not use macros from bp-asm.h.
70848         (STR): Likewise.
70849         (DELIM): Likewise.
70850         (SAVE): Likewise.
70851         (FUNCTION): Likewise.  Do not use BP_SYM.
70852         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
70853         aliases.
70854         (strtok_r): Likewise.
70855         (__GI___strtok_r): Likewise.
70856         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
70857         (PARMS): Do not use macros from bp-asm.h.
70858         (S1): Likewise.
70859         (S2): Likewise.
70860         (SIZE): Likewise.
70861         (__mpn_sub_n): Do not use BP_SYM.
70862         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70863         "bp-asm.h".
70864         (PARMS): Do not use macros from bp-asm.h.
70865         (S1): Likewise.
70866         (SIZE): Likewise.
70867         (__mpn_submul_1): Do not use BP_SYM.
70868         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70869         <bp-sym.h>.
70870         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70871         and <bp-asm.h>.
70872         (PARMS): Do not use macros from bp-asm.h.
70873         (FLAGS): Likewise.
70874         (PTID): Likewise.
70875         (TLS): Likewise.
70876         (CTID): Likewise.
70877         (__clone): Do not use BP_SYM.
70878         (clone): Do not use BP_SYM in weak_alias.
70879         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70880         and <bp-asm.h>.
70881         (PARMS): Do not use macros from bp-asm.h.
70882         (LEN): Likewise.
70883         (__mmap64): Do not use BP_SYM.
70884         (mmap64): Do not use BP_SYM in weak_alias.
70885         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70886         <bp-sym.h> and <bp-asm.h>.
70887         (PARMS): Do not use macros from bp-asm.h.
70888         (__posix_fadvise64_l64): Do not use BP_SYM.
70889         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70890         (PARMS): Do not use macros from bp-asm.h.
70891         (NSOPS): Likewise.
70892         (semtimedop): Do not use BP_SYM.
70893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70894         and <bp-asm.h>.
70896 2013-02-21  Allan McRae  <allan@archlinux.org>
70898         * manual/message.texi (Charset conversion in gettext):
70899         Move @end statement to beginning of line.
70901 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70904         static.
70905         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70906         Likewise.
70908         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70909         (denorm): Likewise.
70910         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70913 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70915         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70916         tail-call to the resolved function if pltexit isn't needed.
70918 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70920         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70921         or Y being zero as being unlikely.
70922         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70923         Likewise.
70925 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70927         * manual/nss.texi (System Databases and Name Service Switch):
70928         Remove frobnicate @pxref.
70930 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70932         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70933         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70935 2013-02-20  Petr Machata  <pmachata@redhat.com>
70937         * elf/elf.h (R_ARM_TARGET1): New macro.
70938         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70939         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70940         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70941         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70942         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70943         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70944         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70945         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70946         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70947         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70948         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70949         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70950         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70951         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70952         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70953         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70954         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70955         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70956         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70957         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70958         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70959         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70960         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70961         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70962         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70963         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70964         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70965         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70966         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70967         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70968         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70969         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70970         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70971         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70972         (R_ARM_THM_GOT_BREL12): Likewise.
70973         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70974         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70975         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70976         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70977         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70978         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70979         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70980         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70981         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70983 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70985         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70986         __attribute_used__ to __attribute__ ((unused)).
70988 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70991         powerpc mpa.c.
70992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70993         comment formatting.
70994         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70996 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70998         [BZ #13550]
70999         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
71000         Remove macro.
71001         (ENTER): Remove both macro definitions.
71002         (LEAVE): Likewise.
71003         (CHECK_BOUNDS_LOW): Likewise.
71004         (CHECK_BOUNDS_HIGH): Likewise.
71005         (CHECK_BOUNDS_BOTH): Likewise.
71006         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
71007         (RETURN_BOUNDED_POINTER): Likewise.
71008         (RETURN_NULL_BOUNDED_POINTER): Likewise.
71009         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
71010         (POP_ERRNO_LOCATION_RETURN): Likewise.
71011         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
71012         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71013         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
71014         macros.
71015         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71016         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
71017         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
71018         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
71019         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
71020         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
71021         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
71022         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
71023         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
71024         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
71025         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
71026         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
71027         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71028         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
71029         removed macros.
71030         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71031         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
71032         macros.
71033         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71034         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
71035         * sysdeps/i386/i586/memset.S (memset): Likewise.
71036         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
71037         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71038         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
71039         macros.
71040         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71041         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
71042         Change uses of L(2) to L(out).
71043         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
71044         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
71045         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
71046         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71047         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
71048         removed macros.
71049         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71050         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
71051         macros.
71052         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71053         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
71054         (RETURN): Do not use macro LEAVE.
71055         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
71056         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
71057         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
71058         * sysdeps/i386/i686/memset.S (memset): Likewise.
71059         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
71060         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
71061         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
71062         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
71063         Likewise.
71064         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71065         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
71066         L(1_2) and L(1_3) into L(1).
71067         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71068         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
71069         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71070         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
71071         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
71072         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
71073         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
71074         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71075         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
71076         macros.
71077         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
71078         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
71079         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
71080         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
71081         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
71082         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
71083         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
71084         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
71085         * sysdeps/i386/strcspn.S (strcspn): Likewise.
71086         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
71087         * sysdeps/i386/strrchr.S (strrchr): Likewise.
71088         * sysdeps/i386/strspn.S (strspn): Likewise.
71089         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
71090         conditional code.
71091         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
71092         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
71093         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
71094         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
71095         L(1_3) into L(1_1).
71096         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
71097         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
71098         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
71099         macros.
71100         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
71102 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
71104         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
71105         macro.
71107 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
71109         * math/atest-exp.c (exp_mpn): Remove ROUND.
71110         * math/atest-exp2.c (exp_mpn): Likewise.
71111         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
71113         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
71114         * stdlib/tst-tls-atexit-lib.c: Likewise.
71115         * stdlib/tst-tls-atexit.c: Likewise.
71117 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71119         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
71120         and __attribute_alloc_size__.
71122 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71124         * include/programs/xmalloc.h: Change __attribute_alloc_size to
71125         __attribute_alloc_size__.
71126         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
71127         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
71129 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
71131         * include/programs/xmalloc.h: New file.
71132         * catgets/gencat.c: Include it.
71133         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
71134         * elf/pldd.c: Likewise.
71135         * iconv/iconv_charmap.c: Likewise.
71136         * iconv/iconvconfig.c: Likewise.
71137         * iconv/strtab.c: Likewise.
71138         * locale/programs/locale.c: Likewise.
71139         * locale/programs/localedef.h: Likewise.
71140         * locale/programs/simple-hash.c: Likewise.
71141         * nscd/nscd.h: Likewise.
71142         * nss/makedb.c: Likewise.
71143         * sysdeps/generic/ldconfig.h: Likewise.
71145 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71147         * Versions.def: Add GLIBC_2.18.
71148         * include/link.h (struct link_map): New member l_tls_dtor_count.
71149         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
71150         (__call_tls_dtors): Likewise.
71151         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
71152         __cxa_thread_atexit_impl.
71153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71154         Likewise.
71155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
71156         Likewise.
71157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
71158         Likewise.
71159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
71160         Likewise.
71161         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
71162         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
71163         Likewise.
71164         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
71165         Likewise.
71166         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
71167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71168         Likewise.
71169         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
71170         (tests): Add test case tst-tls-atexit.
71171         (modules-names): Add shared library for tst-tls-atexit.
71172         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
71173         (GLIBC_PRIVATE): Add __call_tls_dtors.
71174         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
71175         for libstdc++.
71176         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
71177         * stdlib/tst-tls-atexit.c: New test case.
71178         * stdlib/tst-tls-atexit-lib.c: New test case.
71180         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
71182         * elf/Versions (ld): Add _dl_find_dso_for_object.
71183         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
71184         * elf/dl-open.c (_dl_find_dso_for_object): New function.
71185         (dl_open_worker): Use _dl_find_dso_for_object.
71186         * elf/dl-sym.c (do_sym): Likewise.
71187         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
71189 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71191         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
71192         Syntactic changes only.
71193         (_dl_runtime_profile): Do a tail-call to the resolved function.
71195 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
71197         [BZ #13550]
71198         * sysdeps/x86_64/bp-asm.h: Remove file.
71199         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
71200         <bp-sym.h> and <bp-asm.h>.
71201         (__clone): Do not use BP_SYM.
71202         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
71203         <bp-sym.h> and <bp-asm.h>.
71204         * sysdeps/unix/x86_64/sysdep.S: Likewise.
71205         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
71206         "bp-asm.h".
71207         (_setjmp): Do not use BP_SYM.
71208         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
71209         "bp-asm.h".
71210         (setjmp): Do not use BP_SYM.
71211         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
71212         libc_hidden_def.
71213         (mempcpy): Do not use BP_SYM in weak_alias.
71214         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
71215         "bp-asm.h".
71216         (strchr): Do not use BP_SYM.
71217         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
71218         "bp-asm.h".
71219         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
71220         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
71221         (_start): Do not use BP_SYM.
71222         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
71223         "bp-asm.h".
71224         (strcat): Do not use BP_SYM.
71225         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
71226         "bp-asm.h".
71227         (STRCMP): Do not use BP_SYM.
71228         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
71229         "bp-asm.h".
71230         (STRCPY): Do not use BP_SYM.
71231         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
71232         "bp-asm.h".
71233         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
71234         "bp-asm.h".
71235         (FUNCTION): Do not use BP_SYM.
71236         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
71237         weak_alias.
71238         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
71240 2013-02-17  Andreas Jaeger  <aj@suse.de>
71242         * time/Versions: Sort entries.
71243         * string/Versions: Likewise.
71244         * resolv/Versions: Likewise.
71245         * posix/Versions: Likewise.
71246         * iconv/Versions: Likewise.
71247         * elf/Versions: Likewise.
71248         * wcsmbs/Versions: Likewise.
71250 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
71252         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
71253         loop termination condition.
71255         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
71256         variable to calculate EZ.
71257         (__sqr): Likewise.
71259         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
71260         the lower precision input.
71262 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
71264         [BZ #13550]
71265         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
71266         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
71267         (run-via-rtld-prefix): Do not handle %-bp tests.
71268         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
71269         (all-object-suffixes): Remove .ob.
71270         (bppfx): Remove variable.
71271         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
71272         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
71273         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
71274         [$(build-bounded) = yes] (libtype.ob): Likewise.
71275         * Makerules (elide-routines.ob): Remove variable.
71276         (do-tests-clean): Do not handle *-bp.out.
71277         (common-mostlyclean): Do not handle *-bp and *-bp.out.
71278         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
71279         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
71280         (tests): Do not include $(tests-bp.out).
71281         (xtests): Do not include $(xtests-bp.out).
71282         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
71283         [$(build-bounded) = yes] ($(addprefix
71284         $(objpfx),$(binaries-bounded))): Remove rule.
71285         ($(objpfx)%-bp.out): Remove rule.
71286         * config.make.in (build-bounded): Remove variable.
71287         * crypt/Makefile [$(build-bounded) = yes]
71288         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
71289         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
71290         append to variable.
71291         [$(build-bounded) = yes] (install-lib): Likewise.
71292         [$(build-bounded) = yes] (generated): Likewise.
71293         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
71294         Remove rule.
71295         * intl/Makefile [$(build-bounded) = yes]
71296         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
71297         * math/Makefile [$(build-bounded) = yes]
71298         ($(tests:%=$(objpfx)%-bp): Likewise.
71299         * misc/Makefile [$(build-bounded) = yes]
71300         ($(objpfx)tst-tsearch-bp): Likewise.
71301         * nptl/Makeconfig (bounded-thread-library): Remove variable.
71302         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
71303         Remove dependency.
71304         * string/Makefile (o-objects.ob): Remove variable.
71305         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
71306         (CFLAGS-.ob): Remove variable.
71307         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
71308         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
71309         both definitions of variable.
71310         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
71311         (ASFLAGS-.ob): Remove variable.
71313 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
71315         [BZ #13550]
71316         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
71317         Remove __BOUNDED_POINTERS__ from condition.
71318         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
71319         * string/bits/string2.h [!__NO_STRING_INLINES &&
71320         !__BOUNDED_POINTERS__]: Likewise.
71321         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
71322         Likewise.
71323         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
71324         Remove conditional code.
71325         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
71326         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
71327         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
71328         condition.
71330         [BZ #13550]
71331         * csu/libc-start.c: Do not include <bp-sym.h>.
71332         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
71333         * elf/dl-open.c: Do not include <bp-sym.h>.
71334         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
71335         * math/fegetenv.c: Do not include <bp-sym.h>.
71336         (fegetenv): Do not use BP_SYM in versioned symbols.
71337         * nptl/sysdeps/pthread/bits/libc-lockP.h
71338         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
71339         <bp-sym.h>.
71340         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71341         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
71342         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71343         (__pthread_mutex_destroy): Likewise.
71344         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71345         (__pthread_mutex_lock): Likewise.
71346         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71347         (__pthread_mutex_trylock): Likewise.
71348         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71349         (__pthread_mutex_unlock): Likewise.
71350         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71351         (__pthread_mutexattr_init): Likewise.
71352         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71353         (__pthread_mutexattr_destroy): Likewise.
71354         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71355         (__pthread_mutexattr_settype): Likewise.
71356         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71357         (__pthread_rwlock_init): Likewise.
71358         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71359         (__pthread_rwlock_destroy): Likewise.
71360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71361         (__pthread_rwlock_rdlock): Likewise.
71362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71363         (__pthread_rwlock_tryrdlock): Likewise.
71364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71365         (__pthread_rwlock_wrlock): Likewise.
71366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71367         (__pthread_rwlock_trywrlock): Likewise.
71368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71369         (__pthread_rwlock_unlock): Likewise.
71370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71371         (__pthread_key_create): Likewise.
71372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71373         (__pthread_setspecific): Likewise.
71374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71375         (__pthread_getspecific): Likewise.
71376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
71377         Likewise.
71378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71379         (_pthread_cleanup_push_defer): Likewise.
71380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71381         (_pthread_cleanup_pop_restore): Likewise.
71382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
71383         (pthread_setcancelstate): Likewise.
71384         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
71385         <bp-sym.h>.
71386         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
71387         (memchr): Do not use BP_SYM in weak_alias.
71388         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
71389         (fegetenv): Do not use BP_SYM in versioned symbols.
71390         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
71391         (fesetenv): Do not use BP_SYM in versioned symbols.
71392         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71393         (feupdateenv): Do not use BP_SYM in versioned symbols.
71394         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71395         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71396         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
71397         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
71398         (open64): Do not use BP_SYM in weak_alias.
71399         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
71400         (fegetenv): Do not use BP_SYM in versioned symbols.
71401         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
71402         (fesetenv): Do not use BP_SYM in versioned symbols.
71403         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
71404         (feupdateenv): Do not use BP_SYM in versioned symbols.
71405         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
71406         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
71407         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
71408         (feraiseexcept): Do not use BP_SYM in versioned symbols.
71409         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
71410         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
71411         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
71412         <bp-sym.h>.
71413         (__libc_start_main): Do not use BP_SYM.
71415 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71417         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
71418         redundant return line.
71419         (norm): Likewise.
71420         (denorm): Likewise.
71421         (dbl_mp): Likewise.
71422         (sub_magnitudes): Likewise.
71423         (__add): Likewise.
71424         (__sub): Likewise.
71425         (__mul): Likewise.
71426         (__inv): Likewise.
71427         (__dvd): Likewise.
71428         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
71429         (norm): Likewise.
71430         (denorm): Likewise.
71431         (dbl_mp): Likewise.
71432         (sub_magnitudes): Likewise.
71433         (__add): Likewise.
71434         (__sub): Likewise.
71435         (__mul): Likewise.
71436         (__inv): Likewise.
71437         (__dvd): Likewise.
71439         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
71440         instead of __mul.
71441         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
71442         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
71443         (cc32): Likewise.
71445         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
71446         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
71447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
71448         of __mul for squares.
71449         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
71450         function
71451         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
71452         Likewise.
71453         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
71454         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
71456 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
71458         [BZ #13550]
71459         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
71460         code.
71461         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
71462         prototype or function definition.  Rename ubp_* variables and
71463         parameters.  Remove argv definitions conditional on
71464         [__BOUNDED_POINTERS__].
71465         * debug/backtrace.c (__backtrace): Do not use __unbounded.
71466         * elf/dl-runtime.c (_dl_fixup): Likewise.
71467         * include/set-hooks.h (RUN_HOOK): Likewise.
71468         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
71469         definition.
71470         * string/strcpy.c (strcpy): Do not use __unbounded.
71471         * sysdeps/generic/frame.h (struct layout): Likewise.
71472         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
71473         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
71474         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
71475         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
71476         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
71477         (__backtrace): Likewise.
71478         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
71479         use __ptrvalue.
71480         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
71481         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
71482         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
71483         Likewise.
71484         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
71485         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
71486         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
71487         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71488         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
71489         Do not use __unbounded.
71490         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
71491         Rename __unboundedrlimits parameter to rlimits in prototype.
71492         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
71493         Do not use __unbounded.
71494         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
71495         not use __ptrvalue.
71496         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71497         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
71498         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71499         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
71500         __ptrvalue or __unbounded.
71501         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
71502         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
71503         use __unbounded.
71504         (__new_msgctl): Do not use __ptrvalue.
71505         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
71506         __unbounded.
71507         (__libc_msgrcv): Do not use __ptrvalue.
71508         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
71509         startup_info): Do not use __unbounded.
71510         (__libc_start_main): Likewise.  Rename ubp_* variables and
71511         parameters.  Remove argv definitions conditional on
71512         [__BOUNDED_POINTERS__].
71513         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
71514         __ptrvalue.
71515         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
71516         use __unbounded.
71517         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
71518         or __ptrvalue.
71519         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
71520         use __unbounded.
71521         (__new_shmctl): Do not use __ptrvalue.
71522         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
71523         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
71524         Likewise.
71525         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
71526         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
71527         (__libc_sigaction): Likewise.
71528         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
71529         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
71530         Likewise.
71531         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71533 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
71535         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
71537         * string/mempcpy.c: Implement by calling memcpy.
71539 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
71541         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
71543         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
71544         evaluation.
71546         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
71547         values in the mantissa.
71549         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
71550         minimize writes to Z.
71551         (sub_magnitudes): Simplify code a bit.
71553 2013-02-12  Roland McGrath  <roland@hack.frob.com>
71555         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
71556         from the message.  The linker prefixes all warnings with that already.
71558 2013-02-12  Andreas Schwab  <schwab@suse.de>
71560         [BZ #15078]
71561         * posix/regexec.c (extend_buffers): Add parameter min_len.
71562         (check_matching): Pass minimum needed length.
71563         (clean_state_log_if_needed): Likewise.
71564         (get_subexp): Likewise.
71565         * posix/Makefile (tests): Add bug-regex34.
71566         (bug-regex34-ENV): Define.
71567         * posix/bug-regex34.c: New file.
71569         [BZ #11561]
71570         * posix/regcomp.c (parse_bracket_exp): When looking up collating
71571         elements compare against the byte sequence of it, not its name.
71572         * posix/Makefile (tests): Add bug-regex35.
71573         (bug-regex35-ENV): Define.
71574         * posix/bug-regex35.c: New file.
71576 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71578         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
71579         comment.
71580         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
71581         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
71582         (CHECK_EOL): Add undef.
71584 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
71586         * bits/stdlib-bsearch.h: New file.
71587         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
71588         * stdlib/stdlib.h: Likewise.
71590 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71592         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
71593         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
71594         declaration.
71595         * manual/search.texi (Array Search Function): Add missing const in
71596         lfind prototype.
71597         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
71598         declaration to use rlim_t.
71599         (Basic Scheduling Functions): Remove erroneous const from
71600         sched_getparam prototype.  Remove erroneous * from
71601         sched_get_priority_max and sched_get_priority_min prototypes.
71602         (Resource Usage): Fix summary @comment on vtimes to refer to
71603         sys/vtimes.h rather than vtimes.h.
71604         Add missing *s in vtimes prototype.
71605         (Limits on Resources): Fix ulimit prototype to return long int.
71606         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
71607         prototypes to use long int rather than double.
71608         (BSD Random): Fix initstate and setstate to use char *, not void *.
71609         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
71610         prototype to make second argument 'struct aiocb64 *const[]'.
71611         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
71612         (Status of AIO Operations): Remove erroneous const in aio_return and
71613         aio_return64 prototypes.
71614         (Synchronizing I/O): Fix sync prototype to return void.
71615         * manual/startup.texi (Suboptions): Remove an erroneous const in
71616         getsubopt prototype.
71617         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
71618         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
71619         use size_t rather than int.
71620         (Scanning All Users): Likewise for getpwent_r.
71621         (Setting Groups): Add missing const to setgroups prototype.
71622         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
71623         * manual/socket.texi (Host Names): Fix gethostbyaddr and
71624         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
71625         'const void *' rather than 'const char *'.
71626         (Host Address Functions): Likewise for inet_ntop.
71627         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
71628         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
71629         ssize_t for return value.
71630         (Sending Data): Likewise for send, sendto, sendmsg.
71631         (Socket Option Functions): Add a missing const in setsockopt prototype.
71632         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
71633         use wchar_t for the argument.
71634         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
71635         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
71636         take no arguments.
71637         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
71638         double/float/long double for second argument.
71639         Fix return types of significand, significandf, significandl.
71640         * manual/filesys.texi (Setting Permissions): Use mode_t for second
71641         argument in fchmod prototype.
71642         (File Owner): Use uid_t and gid_t in fchown prototype.
71643         (File Times): Add const to utimes, futimes, and lutimes prototypes.
71644         (Making Special Files): Use mode_t and dev_t in mknod prototype.
71645         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
71646         use 'const struct dirent **' as argument types to CMP function pointer
71647         argument.
71648         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
71649         (File Times): Fix summary magic @comment for struct utimbuf and utime
71650         to refer to utime.h, not time.h.
71651         * manual/string.texi (Argz Functions): Add missing const in
71652         argz_extract and argz_next prototypes.
71653         (Finding Tokens in a String): Likewise for basename.
71654         (String/Array Comparison): Fix typo in wcscasecmp prototype.
71655         (Copying and Concatenation): Fix typo in wmemmove prototype.
71656         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
71657         (Signal Stack): Remove erroneous const in sigstack prototype.
71658         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
71659         prototype.
71660         (Simple Calendar Time): Likewise for stime.
71661         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
71662         prototype.
71663         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
71664         say sys/sysctl.h instead.
71665         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
71666         and vsyslog prototypes.
71668 2013-02-11  Tom de Vries  <tom@codesourcery.com>
71670         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
71671         Remove.
71673 2013-02-11  Roland McGrath  <roland@hack.frob.com>
71675         * misc/sys/mman.h: Fix typo in mremap comment.
71677 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71679         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
71680         the '\0' terminator.
71682 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71684         [BZ #13550]
71685         * debug/segfault.c: Don't include <bp-checks.h>.
71686         * sysdeps/generic/bp-checks.h: Remove file.
71687         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
71688         (__GETDENTS): Don't use CHECK_N.
71689         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
71690         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
71691         (__getgroups): Don't use CHECK_N.
71692         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
71693         (setgroups): Don't use CHECK_N.
71694         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
71695         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
71696         (__libc_msgrcv): Don't use CHECK_N.
71697         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
71698         (__libc_msgsnd): Don't use CHECK_N.
71699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
71700         <bp-checks.h>.
71701         (__libc_pread): Don't use CHECK_N.
71702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
71703         include <bp-checks.h>.
71704         (__libc_pread64): Don't use CHECK_N.
71705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
71706         include <bp-checks.h>.
71707         (__libc_pwrite): Don't use CHECK_N.
71708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
71709         include <bp-checks.h>.
71710         (__libc_pwrite64): Don't use CHECK_N.
71711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
71712         <bp-checks.h>.
71713         (__libc_pread): Don't use CHECK_N.
71714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
71715         include <bp-checks.h>.
71716         (__libc_pread64): Don't use CHECK_N.
71717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
71718         include <bp-checks.h>.
71719         (__libc_pwrite): Don't use CHECK_N.
71720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
71721         include <bp-checks.h>.
71722         (__libc_pwrite64): Don't use CHECK_N.
71723         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
71724         (do_pread): Don't use CHECK_N.
71725         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
71726         (do_pread64): Don't use CHECK_N.
71727         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
71728         (do_pwrite): Don't use CHECK_N.
71729         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
71730         (do_pwrite64): Don't use CHECK_N.
71731         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
71732         (__libc_readv): Don't use CHECK_N.
71733         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
71734         (semop): Don't use CHECK_N.
71735         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
71736         <bp-checks.h>.
71737         (semtimedop): Don't use CHECK_N.
71738         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
71739         (__libc_pread): Don't use CHECK_N.
71740         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
71741         <bp-checks.h>.
71742         (__libc_pread64): Don't use CHECK_N.
71743         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
71744         <bp-checks.h>.
71745         (__libc_pwrite): Don't use CHECK_N.
71746         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
71747         <bp-checks.h>.
71748         (__libc_pwrite64): Don't use CHECK_N.
71749         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
71750         <bp-checks.h>.
71751         (__libc_msgrcv): Don't use CHECK_N.
71752         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
71753         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
71754         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
71755         (__libc_writev): Don't use CHECK_N.
71757 2013-02-08  Roland McGrath  <roland@hack.frob.com>
71759         * string/strcpy.c: Removed unused variable.
71761         * Makeconfig (+sysdep-includes): Define with := rather than =.
71762         Use an existing include/ subdir of each sysdeps dir before it.
71764 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71766         * nscd/connection.c (register_traced_file): Comment function.
71767         [HAVE_INOTIFY] (union __inev): Define.
71768         [HAVE_INOTIFY] (inotify_check_files): New function.
71769         [HAVE_INOTIFY] (clear_db_cache): Likewise.
71770         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
71771         clear_db_cache.
71772         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
71774 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71776         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
71777         loaded if not already and that a failure is permanent.
71779 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
71781         [BZ #15006]
71782         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
71783         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
71785 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
71787         [BZ #13550]
71788         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
71789         (CHECK_1_NULL_OK): Likewise.
71790         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
71791         (__fxstat): Do not use CHECK_1.
71792         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
71793         <bp-checks.h>.
71794         (___fxstat64): Do not use CHECK_1.
71795         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
71796         <bp-checks.h>.
71797         (__fxstatat): Do not use CHECK_1.
71798         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
71799         <bp-checks.h>.
71800         (__fxstatat64): Do not use CHECK_1.
71801         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
71802         <bp-checks.h>.
71803         (__fxstat): Do not use CHECK_1.
71804         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
71805         <bp-checks.h>.
71806         (__fxstatat): Do not use CHECK_1.
71807         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
71808         <bp-checks.h>.
71809         (__getresgid): Do not use CHECK_1.
71810         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
71811         <bp-checks.h>.
71812         (__getresuid): Do not use CHECK_1.
71813         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
71814         <bp-checks.h>.
71815         (__lxstat): Do not use CHECK_1.
71816         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
71817         <bp-checks.h>.
71818         (__old_msgctl): Do not use CHECK_1.
71819         (__new_msgctl): Likewise.
71820         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
71821         <bp-checks.h>.
71822         (__new_setrlimit): Do not use CHECK_1.
71823         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
71824         <bp-checks.h>.
71825         (__old_shmctl): Do not use CHECK_1.
71826         (__new_shmctl): Likewise.
71827         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
71828         <bp-checks.h>.
71829         (__xstat): Do not use CHECK_1.
71830         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
71831         (__lxstat): Do not use CHECK_1.
71832         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
71833         <bp-checks.h>.
71834         (___lxstat64): Do not use CHECK_1.
71835         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
71836         (__old_msgctl): Do not use CHECK_1.
71837         (__new_msgctl): Likewise.
71838         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
71839         <bp-checks.h>.
71840         (__gettimeofday): Do not use CHECK_1.
71841         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
71842         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
71843         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
71844         <bp-checks.h>.
71845         (__gettimeofday): Do not use CHECK_1.
71846         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
71847         (__old_shmctl): Do not use CHECK_1_NULL_OK.
71848         (__new_shmctl): Do not use CHECK_1.
71849         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
71850         <bp-checks.h>.
71851         (do_sigtimedwait): Do not use CHECK_1.
71852         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
71853         <bp-checks.h>.
71854         (do_sigwaitinfo): Do not use CHECK_1.
71855         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
71856         <bp-checks.h>.
71857         (msgctl): Do not use CHECK_1.
71858         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71859         <bp-checks.h>.
71860         (shmctl): Do not use CHECK_1.
71861         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71862         (ustat): Do not use CHECK_1.
71863         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71864         <bp-checks.h>.
71865         (__fxstat): Do not use CHECK_1.
71866         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71867         <bp-checks.h>.
71868         (__fxstatat): Do not use CHECK_1.
71869         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71870         <bp-checks.h>.
71871         (__lxstat): Do not use CHECK_1.
71872         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71873         <bp-checks.h>.
71874         (__xstat): Do not use CHECK_1.
71875         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71876         (__xstat): Do not use CHECK_1.
71877         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71878         (___xstat64): Do not use CHECK_1.
71880         [BZ #13550]
71881         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71882         definitions.
71883         (CHECK_BOUNDS_HIGH): Likewise.
71884         * string/strcpy.c: Do not include <bp-checks.h>.
71885         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71887 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71889         * nscd/nscd-client.h (__nscd_drop_map_ref):
71890         Add __attribute__ ((unused)).
71891         * nis/nss-nisplus.h (niserr2nss): Likewise.
71893         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71894         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71896         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71897         Remove inline keyword.
71898         * include/rounding-mode.h (round_away): Likewise.
71899         * libio/wfileops.c (adjust_wide_data): Likewise.
71900         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71901         (__m128i_strloadu_tolower): Likewise.
71902         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71903         (__m128i_strloadu_tolower): Likewise.
71904         * time/mktime.c (ydhms_diff): Likewise.
71905         * locale/elem-hash.h (elem_hash): Likewise.
71906         * locale/setlocale.c (setdata): Likewise.
71907         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71908         (re_string_wchar_at): Likewise.
71909         (bitset_not, bitset_merge, bitset_mask): Likewise.
71910         [!(__GNUC__ > 3)] (inline): Remove macro.
71911         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71912         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71913         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71914         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71915         * string/memcmp.c (memcmp_bytes): Likewise.
71916         * locale/programs/locarchive.c (compute_hashval): Likewise.
71917         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71918         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71919         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71920         * nss/getent.c (print_rpc, print_protocols): Likewise.
71921         (print_passwd, print_group, print_aliases): Likewise.
71922         * nis/nss-nisplus.h (niserr2nss): Likewise.
71923         * nscd/connections.c (restart_p): Likewise.
71924         Change return type to bool.
71926 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71928         * Makeconfig (all-Depend-files): Add existing
71929         $(sorted-subdirs:=/Depend) files.
71930         (all-subdirs): Remove nss.
71931         * sysdeps/unix/inet/Subdirs: Add it here instead.
71932         * hesiod/Depend: New file.
71934         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71935         instead of calling alloca.
71937         * io/lseek.c (__lseek): Rename to __libc_lseek.
71938         Define __lseek as an alias.
71940         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71942 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71944         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71945         else clause and remove check for non-standard endianness.
71947 2013-02-04  David S. Miller  <davem@davemloft.net>
71949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71951 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71953         [BZ #13550]
71954         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71955         (__ubp_memchr): Remove prototype.
71956         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71957         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71958         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71959         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71960         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71961         Remove alias.
71962         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71963         (__ubp_memchr): Likewise.
71964         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71965         (__ubp_memchr): Likewise.
71966         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71967         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71968         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71969         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71970         CHECK_STRING.
71971         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71972         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71973         (__getcwd): Do not use CHECK_STRING.
71974         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71975         <bp-checks.h>.
71976         (__real_chown): Do not use CHECK_STRING.
71977         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71978         <bp-checks.h>.
71979         (fchownat): Do not use CHECK_STRING.
71980         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71981         CHECK_STRING.
71982         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71983         <bp-checks.h>.
71984         (__lchown): Do not use CHECK_STRING.
71985         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71986         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71987         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71988         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71990         include <bp-checks.h>.
71991         (truncate64): Do not use CHECK_STRING.
71992         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71993         <bp-checks.h>.
71994         (__real_chown): Do not use CHECK_STRING.
71995         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71996         <bp-checks.h>.
71997         (__lchown): Do not use CHECK_STRING.
71998         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71999         <bp-checks.h>.
72000         (__chown): Do not use CHECK_STRING.
72001         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
72002         <bp-checks.h>.
72003         (truncate64): Do not use CHECK_STRING.
72004         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
72005         Likewise.
72006         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
72007         (__xmknod): Do not use CHECK_STRING.
72008         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
72009         <bp-checks.h>.
72010         (__xmknodat): Do not use CHECK_STRING.
72011         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
72012         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
72014 2013-02-04  Andreas Schwab  <schwab@suse.de>
72016         [BZ #14142]
72017         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
72018         * include/netdb.h: Likewise for h_errno.
72019         * elf/tst-stackguard1.c: Include <tls.h>.
72021 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
72023         * elf/link.h (struct link_map): Extend the l_addr comment.
72024         * include/link.h (struct link_map): Likewise.
72026 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
72028         [BZ #13550]
72029         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
72030         (BOUNDED_1): Remove macro.
72031         * debug/backtrace.c: Don't include <bp-checks.h>.
72032         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
72033         (__backtrace): Likewise.
72034         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
72035         <bp-checks.h>.
72036         (__backtrace): Don't use BOUNDED_1.
72037         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
72038         <bp-checks.h>.
72039         (__backtrace): Don't use BOUNDED_1.
72040         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
72041         (__backtrace): Don't use BOUNDED_1.
72042         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
72043         (shmat): Don't use BOUNDED_N.
72045 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
72047         [BZ #13550]
72048         * sysdeps/generic/bp-start.h: Remove file.
72049         * csu/libc-start.c: Don't include <bp-start.h>.
72050         (LIBC_START_MAIN): Set up __environ directly instead of using
72051         INIT_ARGV_and_ENVIRON.
72052         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
72053         <bp-start.h>.
72055         [BZ #13550]
72056         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
72057         definitions.
72058         (CHECK_FCNTL): Likewise.
72059         (CHECK_N_PAGES): Likewise.
72061         [BZ #13550]
72062         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
72063         definitions.
72064         (CHECK_SIGSET_NULL_OK): Likewise.
72065         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
72066         <bp-checks.h>.
72067         (sigpending): Don't use CHECK_SIGSET.
72068         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
72069         <bp-checks.h>.
72070         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72071         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
72072         <bp-checks.h>.
72073         (do_sigsuspend): Don't use CHECK_SIGSET.
72074         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
72075         use CHECK_SIGSET.
72076         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
72077         (do_sigwait): Don't use CHECK_SIGSET.
72078         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
72079         use CHECK_SIGSET.
72080         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
72081         include <bp-checks.h>.
72082         (sigpending): Don't use CHECK_SIGSET.
72083         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
72084         include <bp-checks.h>.
72085         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72086         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
72087         <bp-checks.h>.
72088         (sigpending): Don't use CHECK_SIGSET.
72089         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
72090         <bp-checks.h>.
72091         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
72093         [BZ #13550]
72094         * sysdeps/generic/bp-semctl.h: Remove file.
72095         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
72096         <bp-checks.h> and <bp-semctl.h>.
72097         (__old_semctl): Don't use CHECK_SEMCTL.
72098         (__new_semctl): Likewise.
72099         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
72100         and <bp-semctl.h>.
72101         (__old_semctl): Don't use CHECK_SEMCTL.
72102         (__new_semctl): Likewise.
72103         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
72104         <bp-checks.h> and <bp-semctl.h>.
72105         (__old_semctl): Don't use CHECK_SEMCTL.
72106         (__new_semctl): Likewise.
72107         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
72108         <bp-checks.h> and <bp-semctl.h>.
72109         (semctl): Don't use CHECK_SEMCTL.
72111         [BZ #13550]
72112         * Makerules (elide-bp-thunks): Remove variable.
72113         (elide-routines.oS): Don't use $(elide-bp-thunks).
72114         (elide-routines.os): Likewise.
72115         (elide-routines.o): Likewise.
72116         (elide-routines.op): Likewise.
72117         (elide-routines.og): Likewise.
72118         (objects): Don't use $(bp-thunks).
72119         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
72120         include.
72121         (common-generated): Do not add s-proto-bp.d.
72122         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
72123         (int): Likewise.
72124         (typ): Likewise.
72125         Do not generate makefile rules for bounded-pointer thunks.
72126         * sysdeps/generic/bp-thunks.h: Remove file.
72127         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
72128         * sysdeps/unix/s-proto-bp.S: Likewise.
72130         [BZ #15062]
72131         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
72132         parts of result separately when argument is not close to line from
72133         -i to i and one part of argument is small.
72134         * math/k_casinhf.c (__kernel_casinhf): Likewise.
72135         * math/k_casinhl.c (__kernel_casinhl): Likewise.
72136         * math/libm-test.inc (cacos_test): Add more tests.
72137         (casin_test): Likewise.
72138         (casinh_test): Likewise.
72139         * sysdeps/i386/fpu/libm-test-ulps: Update.
72140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72142 2013-01-31  David S. Miller  <davem@davemloft.net>
72144         * po/de.po: Update from translation team.
72146 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
72148         * time/tzfile.c: Include stdint.h for SIZE_MAX.
72150 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
72152         * configure.in (_AC_PROG_CC_C89): New definition.
72153         * configure: Regenerate.
72155         * configure.in (AC_PROG_CPP): New definition.
72156         * configure: Regenerate.
72158 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72160         * debug/tst-backtrace.h: New file.
72161         * debug/tst-backtrace2.c: Include tst-backtrace.h.
72162         (ret): Remove variable.
72163         (x): Likewise.
72164         (FAIL): Remove macro.
72165         (NO_INLINE): Likewise.
72166         (fn1): Use match function instead of strstr.
72167         * debug/tst-backtrace3.c: Include tst-backtrace.h.
72168         (ret): Remove variable.
72169         (x): Likewise.
72170         (FAIL): Remove macro.
72171         (NO_INLINE): Likewise.
72172         (fn): Use match function instead of strstr.
72173         * debug/tst-backtrace4.c: Include tst-backtrace.h.
72174         (ret): Remove variable.
72175         (x): Likewise.
72176         (FAIL): Remove macro.
72177         (NO_INLINE): Likewise.
72178         (handle_signal): Use match function instead of strstr.
72179         * debug/tst-backtrace5.c: Include tst-backtrace.h.
72180         (ret): Remove variable.
72181         (x): Likewise.
72182         (FAIL): Remove macro.
72183         (NO_INLINE): Likewise.
72184         (handle_signal): Use match function instead of strstr.
72186 2013-01-23  Roland McGrath  <roland@hack.frob.com>
72188         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
72190 2013-01-23  David S. Miller  <davem@davemloft.net>
72192         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
72193         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
72194         argument of CAS if possible.
72195         * sysdeps/sparc/sparc64/bits/atomic.h
72196         (__arch_compare_and_exchange_val_32_acq): Likewise.
72197         (__arch_compare_and_exchange_val_64_acq): Likewise.
72199 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
72201         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
72202         * sysdeps/posix/ulimit.c: ... this.
72203         Include <limits.h>.
72204         * sysdeps/unix/bsd/ulimit.c: Remove file.
72206 2013-01-23  Adam Conrad  <adconrad@0c3.net>
72208         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
72209         (LDFLAGS-tst-array5): Likewise.
72211 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
72213         [BZ #15036]
72214         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
72215         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
72216         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
72217         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
72219 2013-01-21  David S. Miller  <davem@davemloft.net>
72221         * sysdeps/sparc/backtrace.c: New file.
72222         * sysdeps/sparc/sparc32/backtrace.h: New file.
72223         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
72224         * sysdeps/sparc/sparc64/backtrace.h: New file.
72225         * sysdeps/sparc/sparc64/backtrace.c: Delete.
72226         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
72227         -funwind-tables.
72229 2013-01-21  Andreas Schwab  <schwab@suse.de>
72231         [BZ #15020]
72232         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
72233         closed its stdout.
72235 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
72237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
72238         "mpa2.h".
72239         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72241 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
72242             Mark Mitchell  <mark@codesourcery.com>
72243             Tom de Vries  <tom@codesourcery.com>
72244             Paul Pluzhnikov  <ppluzhnikov@google.com>
72246         * debug/tst-backtrace2.c: New file.
72247         * debug/tst-backtrace3.c: Likewise.
72248         * debug/tst-backtrace4.c: Likewise.
72249         * debug/tst-backtrace5.c: Likewise.
72250         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
72251         (CFLAGS-tst-backtrace3.c): Likewise.
72252         (CFLAGS-tst-backtrace4.c): Likewise.
72253         (CFLAGS-tst-backtrace5.c): Likewise.
72254         (LDFLAGS-tst-backtrace2): Likewise.
72255         (LDFLAGS-tst-backtrace3): Likewise.
72256         (LDFLAGS-tst-backtrace4): Likewise.
72257         (LDFLAGS-tst-backtrace5): Likewise.
72258         (tests): Add new tests tst-backtrace2, tst-backtrace3,
72259         tst-backtrace4 and tst-backtrace5.
72261 2013-01-18  Anton Blanchard  <anton@samba.org>
72262             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
72264         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
72265         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
72266         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
72267         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
72268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72269         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
72270         "+r" and remove output regs list as redundant.  Add explicit inline
72271         asm to specify register of return val to work around compiler codegen
72272         bug.  Remove (int) cast on return value.  Add return type parameter to
72273         use in macro so that this macro does not truncate return value for
72274         64-bit values.
72275         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
72276         pass to INTERNAL_VSYSCALL_NCS.
72277         (INLINE_VSYSCALL): Add 'long int' as return type to
72278         INTERNAL_VSYSCALL_NCS macro invocation.
72279         (INTERNAL_VSYSCALL): Add 'long int' as return type to
72280         INTERNAL_VSYSCALL_NCS macro invocation.
72281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72283 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
72285         [BZ #14496]
72286         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
72287         Fix application of SIMD FP exception mask.
72289         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
72290         mp_no from a power of two.
72291         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
72292         __mpexp_twomm1.  Use __pow_mp.
72294         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
72295         multiplication.
72297 2013-01-17  David S. Miller  <davem@davemloft.net>
72299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72301 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72303         [BZ #15023]
72304         * include/complex.h: Condition contents on [!_COMPLEX_H].
72305         (__kernel_casinhf): New prototype.
72306         (__kernel_casinh): Likewise.
72307         (__kernel_casinhl): Likewise.
72308         * math/Makefile (libm_calls): Add k_casinh.
72309         * math/k_casinh.c: New file.
72310         * math/k_casinhf.c: Likewise.
72311         * math/k_casinhl.c: Likewise.
72312         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
72313         finite nonzero arguments.
72314         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
72315         finite nonzero arguments.
72316         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
72317         finite nonzero arguments.
72318         * math/s_casinh.c: Do not include <float.h>.
72319         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
72320         * math/s_casinhf.c: Do not include <float.h>.
72321         (__casinhf): Move code for finite nonzero arguments to
72322         k_casinhf.c.
72323         * math/s_casinhl.c: Do not include <float.h>.
72324         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
72325         redefine.
72326         (__casinhl): Move code for finite nonzero arguments to
72327         k_casinhl.c.
72328         * math/libm-test.inc (cacos_test): Add more tests.
72329         * sysdeps/i386/fpu/libm-test-ulps: Update.
72330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72332 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
72334         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
72335         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
72336         [!HAVE_MREMAP]: Remove [defined linux] case.
72337         * malloc/arena.c: Do not include <malloc-sysdep.h>.
72339 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
72341         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
72343 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
72345         * elf/elf.h (R_386_SIZE32): New relocation.
72346         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
72347         R_386_SIZE32.
72348         (elf_machine_rela): Likewise.
72349         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72350         R_X86_64_SIZE64 and R_X86_64_SIZE32.
72352 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
72354         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
72355         (FP_FAST_FMA): Do not define.
72356         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
72357         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
72358         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
72359         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
72360         !_SOFT_FLOAT]: Likewise.
72361         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
72362         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
72363         value.
72364         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
72365         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
72366         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
72367         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
72368         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
72369         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
72370         file.
72372 2013-01-16  Andreas Schwab  <schwab@suse.de>
72374         [BZ #14327]
72375         * include/stdlib.h (__mktemp): Add declaration.
72376         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
72377         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
72379 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
72381         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
72382         definitions.
72383         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72384         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
72385         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
72386         definitions here.
72387         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
72388         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
72389         definitions.
72390         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
72391         and ONE.
72392         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
72393         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
72394         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
72395         definitions.
72396         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
72397         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
72398         definitions.
72399         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72401         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
72403 2013-01-15  David S. Miller  <davem@davemloft.net>
72405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72406         trunc{,f} to libm-sysdep_routes.
72407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
72409         file.
72410         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
72411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
72412         file.
72413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
72414         file.
72415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
72416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
72417         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
72418         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
72419         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
72420         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
72421         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
72422         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
72424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72425         nearbyint{,f} to libm-sysdep_routes.
72426         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
72428         New file.
72429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
72430         file.
72431         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
72432         New file.
72433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
72434         file.
72435         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
72436         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
72437         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
72438         file.
72439         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
72440         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
72441         file.
72442         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
72443         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
72444         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
72446         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
72447         libc_feholdexcept and libc_fesetenv.
72449 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
72451         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
72453 2013-01-14  David S. Miller  <davem@davemloft.net>
72455         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
72456         (SPARC_ASM_VIS2_IFUNC): Likewise.
72457         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
72458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
72459         use of 'siam' instruction.
72460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
72461         Likewise.
72462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
72463         Likewise.
72464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
72465         Likewise.
72466         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
72467         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
72468         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
72469         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
72470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
72471         file.
72472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
72473         file.
72474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
72475         file.
72476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
72477         file.
72478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
72479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
72480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
72481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
72482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
72483         new VIS2 routines.
72484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
72485         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
72486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
72487         Likewise.
72488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
72489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
72490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
72491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
72492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
72493         routines to libm-sysdep_routines.
72494         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
72496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
72497         fdim/fdimf to libm-sysdep_routines.
72498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
72499         file.
72500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
72501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
72502         file.
72503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
72504         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
72505         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
72506         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
72507         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
72508         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
72509         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
72511 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
72513         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
72514         to optimize copies.
72516         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
72517         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72518         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72520         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
72521         local variable MPTWO.
72522         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
72523         Likewise.
72525 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72527         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
72528         GLOB_NOESCAPE.
72530 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72532         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
72534 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
72536         * manual/pattern.texi (glob_t): Document gl_flags.
72537         (glob64_t): Likewise.
72539 2013-01-11  David S. Miller  <davem@davemloft.net>
72541         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
72542         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
72543         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
72544         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
72545         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
72546         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
72547         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
72548         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
72549         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
72550         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
72551         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
72552         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
72553         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
72555         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72556         sparc V9 rather than using V8 code.
72557         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72558         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72560         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
72561         Move to...
72562         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
72563         Here.
72565 2013-01-11  Roland McGrath  <roland@hack.frob.com>
72567         [BZ #14941]
72568         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
72569         not in the main loop.
72570         * configure: Regenerated.
72572 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
72574         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
72575         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
72576         to just #else.
72577         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
72578         [!__GLIBC_HAVE_LONG_LONG] case.
72579         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
72580         condition to just #else.
72581         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
72582         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
72583         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
72584         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
72585         unconditional.
72586         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
72587         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72588         #elif condition to just #else.
72589         * sysdeps/unix/sysv/linux/sys/sysmacros.h
72590         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
72591         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
72592         #elif condition to just #else.
72594 2013-01-11  Steve Ellcey  <sellcey@mips.com>
72596         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
72597         (EF_MIPS_ARCH_64): Fix value.
72598         (EF_MIPS_ARCH_32R2): New.
72599         (EF_MIPS_ARCH_64R2): New.
72601 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
72603         * Makeconfig (+link-pie-before-libc): New.
72604         (+link-pie-after-libc): Likewise.
72605         (+link-pie-tests): Likewise.
72606         (+link-pie): Rewritten.
72607         (link-before-libc): Remove $(config-LDFLAGS).
72608         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
72609         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
72610         (config-LDFLAGS): Renamed to ...
72611         (rtld-LDFLAGS): This.
72612         (rtld-tests-LDFLAGS): New macro.
72613         (link-libc-rpath-link): Likewise.
72614         (link-libc-tests-rpath-link): Likewise.
72615         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
72616         (link-libc): Prepand $(link-libc-rpath-link).
72617         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
72618         (test-program-prefix): New macro.
72619         (test-via-rtld-prefix): Likewise.
72620         (test-program-cmd): Likewise.
72621         (host-test-program-cmd): Likewise.
72622         * Makefile ($(common-objpfx)testrun.sh): Replace
72623         $(run-program-prefix) with $(test-program-prefix).
72624         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
72625         $(rtld-LDFLAGS).
72626         ($(common-objpfx)shlib.lds): Likewise.
72627         (build-module-helper): Likewise.
72628         ($(common-objpfx)format.lds): Likewise.
72629         * Rules (binaries-pie-tests): New.
72630         (binaries-pie-notests): Likewise.
72631         (binaries-pie): Rewritten.
72632         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
72633         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
72634         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
72635         (make-test-out): Replace $(host-built-program-cmd) with
72636         $(host-test-program-cmd).
72637         * config.make.in (build-hardcoded-path-in-tests): New variable.
72638         * configure.in (--enable-hardcoded-path-in-tests): New configure
72639         option.
72640         (hardcoded_path_in_tests): New AC_SUBST.
72641         * configure: Regenerated.
72642         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
72643         $(built-program-cmd) with $(test-program-cmd).
72644         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
72645         (test_program_cmd): This.
72646         * elf/Makefile ($(objpfx)order.out): Run test with
72647         $(test-program-prefix).
72648         ($(objpfx)order2.out): Likewise.
72649         ($(objpfx)tst-initorder.out): Likewise.
72650         ($(objpfx)tst-initorder2.out): Likewise.
72651         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
72652         $(test-program-cmd).
72653         ($(objpfx)tst-array1-static.out): Likewise.
72654         ($(objpfx)tst-array2.out): Likewise.
72655         ($(objpfx)tst-array3.out): Likewise.
72656         ($(objpfx)tst-array4.out): Likewise.
72657         ($(objpfx)tst-array5.out): Likewise.
72658         ($(objpfx)tst-array5-static.out): Likewise.
72659         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
72660         $(test-program-cmd).
72661         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
72662         $(run-program-prefix) with $(test-program-prefix).
72663         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
72664         (test_program_prefix): This.
72665         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
72666         $(run-program-prefix) with $(test-program-prefix).
72667         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
72668         (test_program_prefix): This.
72669         * iconvdata/tst-tables.sh: Likewise.
72670         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
72671         $(run-program-prefix) with $(test-program-prefix).
72672         ($(objpfx)tst-translit.out): Likewise.
72673         ($(objpfx)tst-gettext2.out): Likewise.
72674         ($(objpfx)tst-gettext4.out): Likewise.
72675         ($(objpfx)tst-gettext6.out): Likewise.
72676         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
72677         (test_program_prefix): This.
72678         * intl/tst-gettext2.sh: Likewise.
72679         * intl/tst-gettext4.sh  Likewise.
72680         * intl/tst-gettext6.sh: Likewise.
72681         * intl/tst-translit.sh: Likewise.
72682         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
72683         with $(test-program-cmd).
72684         * libio/Makefile ($(objpfx)test-freopen.out): Replace
72685         $(run-program-prefix) with $(test-program-prefix).
72686         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
72687         (test_program_prefix): This.
72688         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
72689         $(run-program-prefix) with $(test-program-prefix).
72690         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
72691         (test_program_prefix): This.
72692         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
72693         * posix/Makefile ($(objpfx)globtest.out): Replace
72694         $(run-via-rtld-prefix) and $(test-wrapper) with
72695         $(test-program-prefix) and $(test-via-rtld-prefix).
72696         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
72697         $(test-program-prefix).
72698         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
72699         $(host-test-program-cmd).
72700         (tst-spawn-ARGS): Likewise.
72701         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
72702         $(test-program-prefix).
72703         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
72704         (test_via_rtld_prefix): This.
72705         (test_wrapper): Renamed to ...
72706         (test_program_prefix): This.
72707         (run_program_prefix): Replaced by test_program_prefix.
72708         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
72709         (test_program_prefix): This.
72710         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
72711         with $(host-test-program-cmd).
72712         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
72713         $(run-program-prefix) with $(test-program-prefix).
72714         ($(objpfx)tst-printf.out): Likewise.
72715         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
72716         $(test-program-cmd).
72717         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
72718         (test_program_prefix): This.
72719         * stdio-common/tst-unbputc.sh: Likewise.
72720         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
72721         $(run-program-prefix) with $(test-program-prefix).
72722         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
72723         (test_program_prefix): This.
72724         * string/Makefile ($(objpfx)tst-svc.out):  Replace
72725         $(built-program-cmd) with $(test-program-cmd).
72727 2013-01-11  Andreas Jaeger  <aj@suse.de>
72729         [BZ #15003]
72730         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
72731         value. Sync with Linux 3.7.
72733 2013-01-10  David S. Miller  <davem@davemloft.net>
72735         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
72736         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72737         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72739 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72741         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
72742         never set.
72743         * configure: Regenerated.
72745 2013-01-10  David S. Miller  <davem@davemloft.net>
72747         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
72748         sparc V9 rather than using V8 code.
72749         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
72750         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
72752 2013-01-10  Roland McGrath  <roland@hack.frob.com>
72754         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
72755         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
72756         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
72757         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
72758         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
72759         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
72760         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
72761         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
72762         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
72763         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
72764         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
72765         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
72766         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
72767         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
72768         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
72769         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
72770         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
72771         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
72772         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
72773         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
72774         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
72775         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
72776         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
72777         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
72778         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
72779         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
72780         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
72782 2013-01-10  David S. Miller  <davem@davemloft.net>
72784         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72786 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72788         * posix/Makefile (tests-static): New variable.
72789         (tests): Add $(tests-static).
72790         (tst-exec-static-ARGS): New variable.
72791         (tst-spawn-static-ARGS): Likewise.
72792         * posix/tst-exec-static.c: New file.
72793         * posix/tst-spawn-static.c: Likewise.
72794         * posix/tst-exec.c: Support run directly.
72795         * posix/tst-spawn.c: Likewise.
72797 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
72799         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
72800         long.
72801         * math/bits/mathcalls.h (llrint): Likewise.
72802         (llround): Likewise.
72803         * stdlib/stdlib.h (struct drand48_data): Likewise.
72804         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
72805         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
72806         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
72807         Likewise.
72808         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
72809         Likewise.
72810         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
72811         (elf_greg_t): Likewise.
72812         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
72813         (__jmp_buf): Likewise.
72814         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
72815         definitions.
72816         (llrint): Likewise, for all definitions.
72817         (llrintl): Likewise.
72819         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
72820         Remove [__GNUC__] condition.
72821         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
72822         condition to just [__USE_ISOC99].
72823         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
72825 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
72827         [BZ #14200]
72828         * sysdeps/unix/sysv/linux/x86/bits/environments.h
72829         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
72830         defined.
72831         (_POSIX_V6_ILP32_OFF32): Likewise.
72832         (_XBS5_ILP32_OFF32): Likewise.
72833         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
72834         (__ILP32_OFFBIG_LDFLAGS): Likewise.
72836 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
72838         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
72840         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
72841         doubles __mpexp_twomm1.  Adjust usage.
72842         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
72843         Remove.
72845 2013-01-10  Andreas Schwab  <schwab@suse.de>
72847         [BZ #14964]
72848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
72849         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
72851 2013-01-09  David S. Miller  <davem@davemloft.net>
72853         [BZ #15003]
72854         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
72855         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
72856         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
72857         (TCP_FASTOPEN): Define.
72858         (tcp_repair_opt): New structure.
72859         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72860         enum values.
72861         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72862         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72863         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72864         (tcp_cookie_transactions): New structure.
72866 2013-01-09  Anton Blanchard  <anton@samba.org>
72868         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72869         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72870         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72871         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72873 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72875         * include/features.h (__USE_ANSI): Remove.
72877 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72879         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72881         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72883 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72885         * sysdeps/s390/fpu/libm-test-ulps: Update.
72887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72889         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72890         (__acr): Likewise.
72891         (__cpy): Likewise.
72892         (norm): Likewise.
72893         (denorm): Likewise.
72894         (__mp_dbl): Likewise.
72895         (__dbl_mp): Likewise.
72896         (add_magnitudes): Likewise.
72897         (sub_magnitudes): Likewise.
72898         (__add): Likewise.
72899         (__sub): Likewise.
72900         (__mul): Likewise.
72901         (__inv): Likewise.
72902         (__dvd): Likewise.
72903         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72904         (__acr): Likewise.
72905         (__cpy): Likewise.
72906         (norm): Likewise.
72907         (denorm): Likewise.
72908         (__mp_dbl): Likewise.
72909         (__dbl_mp): Likewise.
72910         (add_magnitudes): Likewise.
72911         (sub_magnitudes): Likewise.
72912         (__add): Likewise.
72913         (__sub): Likewise.
72914         (__mul): Likewise.
72915         (__inv): Likewise.
72916         (__dvd): Likewise.
72917         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72918         (__acr): Likewise.
72919         (__cpy): Likewise.
72920         (norm): Likewise.
72921         (denorm): Likewise.
72922         (__mp_dbl): Likewise.
72923         (__dbl_mp): Likewise.
72924         (add_magnitudes): Likewise.
72925         (sub_magnitudes): Likewise.
72926         (__add): Likewise.
72927         (__sub): Likewise.
72928         (__mul): Likewise.
72929         (__inv): Likewise.
72930         (__dvd): Likewise.
72932 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72934         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72935         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72936         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72937         2 && __USE_EXTERN_INLINES]: Likewise.
72939 2013-01-08  Andreas Jaeger  <aj@suse.de>
72941         [BZ #14985]
72942         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72943         Remove.
72944         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72945         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72947 2013-01-07  Anton Blanchard  <anton@samba.org>
72949         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72950         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72951         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72952         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72953         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72954         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72955         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72956         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72958         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72959         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72960         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72961         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72962         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72963         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72964         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72965         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72966         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72967         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72968         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72969         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72970         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72971         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72972         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72973         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72974         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72975         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72976         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72977         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72978         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72979         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72980         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72981         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72982         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72983         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72984         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72985         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72986         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72987         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72988         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72989         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72990         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72991         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72993 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72995         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72996         (__MALLOC_PMT): Likewise.
72997         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72998         [__GNUC__], only on [_LIBC].
72999         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
73000         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
73001         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
73002         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
73003         forward declaration.
73004         (realloc_hook_ini): Likewise.
73005         (memalign_hook_ini): Likewise.
73006         (__libc_memalign): Do not use __MALLOC_PMT in variable
73007         declaration.
73008         (__libc_valloc): Likewise.
73009         (__libc_pvalloc): Likewise.
73010         (__libc_calloc): Likewise.
73011         (__posix_memalign): Likewise.
73013         [BZ #14996]
73014         * math/s_casinh.c: Include <float.h>.
73015         (__casinh): Do not do computation with squaring and square root
73016         for large arguments.
73017         * math/s_casinhf.c: Include <float.h>.
73018         (__casinhf): Do not do computation with squaring and square root
73019         for large arguments.
73020         * math/s_casinhl.c: Include <float.h>.
73021         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
73022         (__casinhl): Do not do computation with squaring and square root
73023         for large arguments.
73024         * math/libm-test.inc (casin_test): Add more tests.
73025         (casinh_test): Likewise.
73026         * sysdeps/i386/fpu/libm-test-ulps: Update.
73027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73029 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
73031         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
73032         (__x86_64_raw_data_cache_size): Likewise.
73033         (__x86_64_data_cache_size_half): Likewise.
73034         (__x86_64_raw_data_cache_size_half): Likewise.
73035         (__x86_64_shared_cache_size): Likewise.
73036         (__x86_64_raw_shared_cache_size): Likewise.
73037         (__x86_64_shared_cache_size_half): Likewise.
73038         (__x86_64_raw_shared_cache_size_half): Likewise.
73039         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
73040         to ...
73041         (__x86_data_cache_size): This.
73042         (__x86_64_raw_data_cache_size): Renamed to ...
73043         (__x86_raw_data_cache_size): This.
73044         (__x86_64_data_cache_size_half): Renamed to ...
73045         (__x86_data_cache_size_half): This.
73046         (__x86_64_raw_data_cache_size_half): Renamed to ...
73047         (__x86_raw_data_cache_size_half): This.
73048         (__x86_64_shared_cache_size): Renamed to ...
73049         (__x86_shared_cache_size): This.
73050         (__x86_64_raw_shared_cache_size): Renamed to ...
73051         (__x86_raw_shared_cache_size): This.
73052         (__x86_64_shared_cache_size_half): Renamed to ...
73053         (__x86_shared_cache_size_half): This.
73054         (__x86_64_raw_shared_cache_size_half): Renamed to ...
73055         (__x86_raw_shared_cache_size_half): This.
73056         * sysdeps/x86_64/memcpy.S: Updated.
73057         * sysdeps/x86_64/memset.S: Likewise.
73058         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
73059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
73060         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
73062 2013-01-04  David S. Miller  <davem@davemloft.net>
73064         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73066 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
73068         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
73069         1 to avoid redefinition warning.
73070         (__USE_GNU): Don't define.
73071         (init_signaling_nan): Protoize.
73073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73075 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73077         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
73078         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
73079         (__cpymn): Likewise.
73080         (norm): Remove commented code.
73081         (denorm): Likewise.
73082         (__mp_dbl): Likewise.
73083         (__inv): Likewise.
73084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
73085         (__cpymn): Likewise.
73086         (norm): Remove commented code.
73087         (denorm): Likewise.
73088         (__mp_dbl): Likewise.
73089         (__inv): Likewise.
73091         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
73092         mp_no value for 1.0 and 2.0.
73093         (norm): Use RADIXI instead of radixi.d.
73094         (denorm): Likewise.
73095         (__mul): Use 0.0 instead of zero.d.
73096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
73097         mp_no value for 1.0 and 2.0.
73098         (norm): Use RADIXI instead of radixi.d.
73099         (denorm): Likewise.
73100         (__mul): Use 0.0 instead of zero.d.
73102 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
73104         [BZ #14994]
73105         * math/s_casinh.c (__casinh): Reduce finite argument to first
73106         quadrant then set signs of results at the end.
73107         * math/s_casinhf.c (__casinhf): Likewise.
73108         * math/s_casinhl.c (__casinhl): Likewise.
73109         * math/libm-test.inc (casin_test): Add more tests.
73110         (casinh_test): Likewise.
73111         * sysdeps/i386/fpu/libm-test-ulps: Update.
73112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73114 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
73116         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
73118         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
73120         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
73121         declarations.
73122         (denorm): Likewise.
73123         (__mp_dbl): Likewise.
73124         (__inv): Likewise.
73126         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
73127         and adjust the header comment.
73129         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
73130         variable name from declaration.
73132 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
73134         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73135         Initialize COMMON_CPUID_INDEX_7 element.
73136         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
73137         (CPUID_RTM): Likewise.
73138         (HAS_RTM): Likewise.
73139         (COMMON_CPUID_INDEX_7): New enum.
73141 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
73143         [BZ #14981]
73144         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
73145         size is zero, record memory as freed.
73147 2013-01-03  Andreas Jaeger  <aj@suse.de>
73149         * po/ia.po: Add new Interlingua translation.
73151 2012-01-03  Allan McRae  <allan@archlinux.org>
73153         * locale/programs/localedef.c: Fix description of '--posix' flag.
73155 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
73157         * NEWS: Update dates in second copyright notice.
73158         * README: Update copyright dates in example.
73159         * manual/libc.texinfo: Update copyright dates.
73160         * scripts/test-installation.pl: Update copyright date in --version
73161         output.
73163         * hurd/ctty-input.c: Fix copyright notice formatting.
73164         * hurd/ctty-output.c: Likewise.
73165         * hurd/dtable.c: Likewise.
73166         * hurd/hurd-raise.c: Likewise.
73167         * hurd/hurdprio.c: Likewise.
73168         * hurd/msgportdemux.c: Likewise.
73169         * misc/sys/file.h: Likewise.
73170         * misc/sys/ioctl.h: Likewise.
73171         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
73172         * sysdeps/mach/hurd/chdir.c: Likewise.
73173         * sysdeps/mach/hurd/fchdir.c: Likewise.
73174         * sysdeps/mach/hurd/rename.c: Likewise.
73175         * sysdeps/mach/hurd/rmdir.c: Likewise.
73176         * sysdeps/mach/hurd/seekdir.c: Likewise.
73177         * sysdeps/mach/hurd/setsid.c: Likewise.
73178         * sysdeps/posix/wait3.c: Likewise.
73180         * All files with FSF copyright notices: Update copyright dates
73181         using scripts/update-copyrights.
73182         * intl/plural.c: Regenerated.
73183         * locale/programs/charmap-kw.h: Likewise.
73184         * locale/programs/locfile-kw.h: Likewise.
73186 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
73188         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
73189         four values.
73191         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
73192         calculation loop and add branch prediction.
73194         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
73195         check access beyond bounds of m1np.
73197         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73198         MPTWO.
73199         (__inv): Remove local variable MPTWO to use the global
73200         constant.
73201         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
73202         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73203         variable MPTWO.
73204         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
73205         MP3HALFS static const.
73207 2013-01-01  David S. Miller  <davem@davemloft.net>
73209         * po/ca.po: Update from translation team.
73211 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
73213         * scripts/update-copyrights: New file.
73214         * Makeconfig: Reformat copyright notice.
73215         * ctype/ctype.h: Likewise.
73216         * debug/swprintf_chk.c: Likewise.
73217         * elf/dl-cache.c: Likewise.
73218         * elf/dl-debug.c: Likewise.
73219         * elf/dl-object.c: Likewise.
73220         * grp/initgroups.c: Likewise.
73221         * hurd/Makefile: Likewise.
73222         * hurd/hurd/signal.h: Likewise.
73223         * hurd/hurdfault.c: Likewise.
73224         * hurd/hurdioctl.c: Likewise.
73225         * hurd/hurdlookup.c: Likewise.
73226         * hurd/intr-msg.c: Likewise.
73227         * iconv/gconv_open.c: Likewise.
73228         * libio/swprintf.c: Likewise.
73229         * locale/lc-ctype.c: Likewise.
73230         * locale/nl_langinfo.c: Likewise.
73231         * mach/Machrules: Likewise.
73232         * mach/Makefile: Likewise.
73233         * malloc/obstack.h: Likewise.
73234         * manual/Makefile: Likewise.
73235         * manual/tsort.awk: Likewise.
73236         * misc/bits/stab.def: Likewise.
73237         * nis/nis_print_group_entry.c: Likewise.
73238         * nis/nis_table.c: Likewise.
73239         * nis/nss_compat/compat-pwd.c: Likewise.
73240         * nis/nss_compat/compat-spwd.c: Likewise.
73241         * po/Makefile: Likewise.
73242         * posix/fnmatch.c: Likewise.
73243         * posix/regex.h: Likewise.
73244         * resolv/Makefile: Likewise.
73245         * resolv/nss_dns/dns-network.c: Likewise.
73246         * resolv/res_hconf.c: Likewise.
73247         * scripts/gen-sorted.awk: Likewise.
73248         * soft-fp/soft-fp.h: Likewise.
73249         * stdio-common/printf.h: Likewise.
73250         * stdlib/monetary.h: Likewise.
73251         * stdlib/random.c: Likewise.
73252         * stdlib/random_r.c: Likewise.
73253         * sysdeps/generic/Makefile: Likewise.
73254         * sysdeps/gnu/Makefile: Likewise.
73255         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73256         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73257         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73259         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73260         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73261         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73262         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
73263         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
73264         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73265         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73266         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73267         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73268         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73269         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
73270         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73271         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73272         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73273         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73274         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73275         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73276         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73277         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73278         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
73279         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
73280         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
73281         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
73282         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
73283         * sysdeps/mach/hurd/errnos.awk: Likewise.
73284         * sysdeps/mach/hurd/fork.c: Likewise.
73285         * sysdeps/mach/hurd/getcwd.c: Likewise.
73286         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
73287         * sysdeps/mach/hurd/mmap.c: Likewise.
73288         * sysdeps/mach/hurd/utimes.c: Likewise.
73289         * sysdeps/mach/hurd/xmknod.c: Likewise.
73290         * sysdeps/posix/profil.c: Likewise.
73291         * sysdeps/posix/readdir_r.c: Likewise.
73292         * sysdeps/powerpc/bits/mathdef.h: Likewise.
73293         * sysdeps/powerpc/bits/setjmp.h: Likewise.
73294         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
73295         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
73296         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
73297         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
73298         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
73299         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73300         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
73301         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
73302         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
73303         * sysdeps/pthread/lio_listio.c: Likewise.
73304         * sysdeps/sparc/dl-procinfo.h: Likewise.
73305         * sysdeps/unix/i386/sysdep.S: Likewise.
73306         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
73307         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
73308         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
73309         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
73310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
73311         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
73312         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
73313         * sysdeps/unix/sysv/linux/speed.c: Likewise.
73314         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
73315         * sysdeps/wordsize-32/divdi3.c: Likewise.
73316         * time/sys/time.h: Likewise.
73317         * wcsmbs/Makefile: Likewise.
73319 2013-01-01  David S. Miller  <davem@davemloft.net>
73321         * po/fr.po: Update from translation team.
73323         * catgets/gencat.c: Update copyright year.
73324         * csu/version.c: Likewise.
73325         * debug/catchsegv.sh: Likewise.
73326         * debug/pcprofiledump.c: Likewise.
73327         * debug/xtrace.sh: Likewise.
73328         * elf/ldconfig.c: Likewise.
73329         * elf/ldd.bash.in: Likewise.
73330         * elf/pldd.c: Likewise.
73331         * elf/sotruss.ksh: Likewise.
73332         * elf/sprof.c: Likewise.
73333         * iconv/iconv_prog.c: Likewise.
73334         * iconv/iconvconfig.c: Likewise.
73335         * locale/programs/locale.c: Likewise.
73336         * locale/programs/localedef.c: Likewise.
73337         * login/programs/pt_chown.c: Likewise.
73338         * malloc/memusage.sh: Likewise.
73339         * malloc/memusagestat.c: Likewise.
73340         * malloc/mtrace.pl: Likewise.
73341         * nscd/nscd.c: Likewise.
73342         * nss/getent.c: Likewise.
73343         * nss/makedb.c: Likewise.
73344         * posix/getconf.c: Likewise.
73346 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
73348         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
73349         numbers.
73351 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
73353         * math/bits/mathcalls.h (modf): Use __nonnull.
73355 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
73357         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
73358         (split): Use macro CN instead of the bare value.
73359         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
73360         could be used.
73361         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
73362         instead of the bare value.
73363         (power1): Likewise.
73365 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73367         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
73368         __ATAN_TWOM.
73369         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73371         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
73372         their values.
73373         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
73374         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
73375         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
73376         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
73378 2012-12-28  Andreas Jaeger  <aj@suse.de>
73380         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
73381         values are from Linux 3.7.
73383         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
73384         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
73386 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73388         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
73389         TRUE case.
73391         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
73392         (norm): Likewise.
73393         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
73394         variables with preprocessor constants.
73395         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73396         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73397         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73399 2012-12-27  Bruno Haible  <bruno@clisp.org>
73401         [BZ #14317]
73402         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
73403         only if needed.
73405 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73407         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
73408         and use variable directly.
73409         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
73411         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
73412         MPONE.
73413         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
73414         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
73415         variable MPONE.
73416         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
73417         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
73418         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
73419         include directive.  Remove local variable MPONE.
73420         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
73421         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
73422         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73424 2012-12-25  David S. Miller  <davem@davemloft.net>
73426         * version.h (RELEASE): Set to "development".
73427         (VERSION): Set to "2.17.90".
73428         * NEWS: Add 2.18 section.
73430 2012-12-21  David S. Miller  <davem@davemloft.net>
73432         * po/hr.po: Update from translation team.
73434 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73436         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
73438 2012-12-19  Steve Ellcey  <sellcey@mips.com>
73440         * NEWS:  Mention new memcpy for MIPS.
73442 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73444         * manual/contrib.texi (Contributors): Spelling correction.
73446 2012-12-15  David S. Miller  <davem@davemloft.net>
73448         * po/ru.po: Update from translation team.
73450 2012-12-13  David S. Miller  <davem@davemloft.net>
73452         * NEWS: Mention IFUNC testsuite enhancements.
73454         * po/pl.po: Update from translation team.
73455         * po/bg.po: Likewise.
73457         * manual/contrib.texi (Contributors): Update entries for Hongjiu
73458         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
73460 2012-12-11  David S. Miller  <davem@davemloft.net>
73462         * po/sv.po: Update from translation team.
73464         * po/vi.po: Update from translation team.
73466         * po/cs.po: Update from translation team.
73468         * po/de.po: Update from translation team.
73469         * po/eo.po: Likewise.
73470         * po/nl.po: Likewise.
73472 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
73474         [BZ #14246]
73475         * manual/argp.texi (Argp Helper Functions): Move node to follow
73476         Argp Parsing State.
73478         [BZ #14872]
73479         * manual/conf.texi (Limits on File System Capacity): Mention if
73480         terminating null is included in the max size.
73482 2012-12-10  Andreas Jaeger  <aj@suse.de>
73484         * po/cs.po: Update from translation team.
73486 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
73488         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
73489         void pointer and cast to uintptr_t.
73490         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
73491         path.
73492         * sysdeps/s390/s390-64/memcpy.S: Likewise.
73493         * sysdeps/s390/s390-64/memset.S: Likewise.
73495 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
73497         [BZ #14833]
73498         * menual/message.texi (Message Translation): Fix typos.
73499         (Helper programs for gettext): Likewise.
73501 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
73503         [BZ #14898]
73504         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
73505         Change to -1.
73507 2012-12-07  David S. Miller  <davem@davemloft.net>
73509         * po/libc.pot: Update.
73511 2012-12-07  Richard Henderson  <rth@redhat.com>
73513         [BZ #10114]
73514         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
73515         normal/normal case to before the switch.
73516         (_FP_DIV): Likewise.
73518 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
73519             Mike Frysinger  <vapier@gentoo.org>
73521         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
73522         check for __NR_fadvise64_64.
73524 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
73526         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
73527         0, not just to plain "0" as a statement.
73528         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
73529         with cw.
73531 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
73533         * NEWS: Use sourceware.org in Bugzilla URL.
73535 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
73537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
73538         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73540         * stdio-common/tst-put-error.c (do_test): Add newline to the
73541         padded test to ensure flush.
73543 2012-12-05  Jeff Law  <law@redhat.com>
73545         * sunrpc/etc.rpc (fedfs_admin): Add entry.
73547 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
73549         * README: Don't refer to ports add-on as distributed separately.
73550         Mention AArch64 in list of systems supported in the ports add-on.
73552         * LICENSES: Add more non-FSF copyright and license notices.
73554         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
73555         ((unused)).
73557         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
73559         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
73560         10000 as width of padded output.
73562 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73564         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
73566         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
73567         variable LX with __attribute__ ((unused)).
73568         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
73569         Likewise.
73570         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
73571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
73572         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
73573         with __attribute__ ((unused)).
73575 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
73577         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
73579 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
73581         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
73582         (CFLAGS-nldbl-acos.c): New variable.
73583         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
73584         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
73585         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
73586         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
73587         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
73588         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
73589         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
73590         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
73591         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
73592         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
73593         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
73594         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
73595         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
73596         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
73597         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
73598         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
73599         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
73600         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
73601         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
73602         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
73603         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
73604         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
73605         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
73606         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
73607         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
73608         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
73609         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
73610         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
73611         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
73612         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
73613         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
73614         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
73615         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
73616         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
73617         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
73618         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
73619         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
73620         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
73621         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
73622         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
73623         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
73624         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
73625         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
73626         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
73627         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
73628         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
73629         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
73630         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
73631         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
73632         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
73633         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
73634         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
73635         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
73636         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
73637         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
73638         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
73639         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
73640         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
73641         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
73642         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
73643         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
73644         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
73645         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
73646         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
73647         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
73648         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
73649         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
73650         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
73651         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
73652         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
73653         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
73654         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
73655         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
73656         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
73657         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
73658         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
73659         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
73660         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
73661         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
73662         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
73663         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
73664         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
73665         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
73666         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
73667         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
73668         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
73669         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
73670         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
73671         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
73672         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
73673         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
73674         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
73675         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
73676         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
73677         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
73678         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
73679         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
73681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
73682         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
73684         [BZ #14914]
73685         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
73686         whole low double instead of just low 47 bits when splitting values
73687         into two parts.
73689 2012-12-03  Allan McRae  <allan@archlinux.org>
73691         * manual/stdio.texi (Predefined Printf Handlers): Remove
73692         @hsep and @vsep usage.
73694 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
73696         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
73697         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
73699 2012-12-03  Jeff Law  <law@redhat.com>
73701         * time/sys/time.h (settimeofday): Do not mark TV argument
73702         as __nonnull.
73704 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
73706         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
73707         when currently writing and seek to current position when not.
73708         * libio/Makefile (tests): Remove bug-fclose1.
73709         * libio/bug-fclose1.c: Delete.
73711 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
73713         * manual/arith.texi (feenableexcept): Fix typo.
73714         (fedisableexcept): Likewise.
73716 2012-11-30  Roland McGrath  <roland@hack.frob.com>
73718         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
73719         second, differently-typed declaration, rather than a cast.
73721 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
73723         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
73724         * include/rpc/svc.h: ... here.
73726 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
73728         [BZ #13013]
73729         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
73730         depending n and resplen2 to catch cases where answer
73731         equals answerp2.
73733 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
73735         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
73736         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
73738 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
73740         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
73742 2012-11-29  Roland McGrath  <roland@hack.frob.com>
73744         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
73746 2012-11-28  Jeff Law  <law@redhat.com>
73748         [BZ #13761]
73749         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
73750         dataset_temporary.  Track alloca usage into alloca_used.
73751         If dataset is large allocate and release it via malloc/free.
73753 2012-06-04  Florian Weimer  <fweimer@redhat.com>
73755         [BZ #14197]
73756         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
73758 2012-11-28  David S. Miller  <davem@davemloft.net>
73760         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73762 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73764         [BZ #14803]
73765         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
73766         of pi/2 rounded to nearest to 64 bits.
73767         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
73768         nearest to 64 bits.
73769         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
73770         bits.
73772 2012-11-28  Jeff Law <law@redhat.com>
73773             Martin Osvald <mosvald@redhat.com>
73775         [BZ #14889]
73776         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
73777         * sunrpc/svc.c: Include time.h.
73778         (__svc_accept_failed): New function.
73779         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
73780         any reason other than EINTR, call __svc_accept_failed.
73781         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
73782         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
73784 2012-11-28  Andreas Schwab  <schwab@suse.de>
73786         * scripts/abilist.awk: Also handle indirect functions in .opd
73787         section.
73789 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
73791         [BZ #13881]
73792         * sysdeps/x86/fpu/powl_helper.c: New file.
73793         * sysdeps/x86/fpu/Makefile: Likewise.
73794         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
73795         (p3): New object.
73796         (__ieee754_powl): Use __powl_helper for finite arguments except
73797         integer exponents below 8.
73798         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
73799         (p3): New object.
73800         (__ieee754_powl): Use __powl_helper for finite arguments except
73801         integer exponents below 8.
73802         * math/libm-test.inc (pow_test): Add more tests and enable some
73803         previously disabled tests.
73804         * sysdeps/i386/fpu/libm-test-ulps: Update.
73805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73807 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73808             Carlos O'Donell  <carlos_odonell@mentor.com>
73810         * nss/makedb.c (is_prime): Assert that input is odd and greater
73811         than 4.  Note that fact in a comment too.
73812         (next_prime): Add 4 to input.
73814 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
73816         [BZ #11741]
73817         * libio/Makefile (tests): Add test case tst-fwrite-error.
73818         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
73819         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
73820         * libio/tst-fwrite-error.c: New test case.
73822 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
73824         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
73825         before casting to void *.
73826         * include/libc-internal.h (__pointer_type): New macro.
73827         (__integer_if_pointer_type_sub): Likewise.
73828         (__integer_if_pointer_type): Likewise.
73829         (cast_to_integer): Likewise.
73830         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
73831         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
73832         before casting to atomic64_t.
73833         (atomic_exchange_acq): Likewise.
73834         (__arch_exchange_and_add_body): Likewise.
73835         (__arch_add_body): Likewise.
73836         (atomic_add_negative): Likewise.
73837         (atomic_add_zero): Likewise.
73839 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
73841         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
73842         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
73843         (add_fdes): Likewise.
73844         (linear_search_fdes): Likewise.
73845         (binary_search_unencoded_fdes): Likewise.
73847 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
73849         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
73851 2012-11-24  Adam Conrad  <adconrad@0c3.net>
73853         * configure.in: Autodetect C++ header directories.
73854         * configure: Regenerated.
73856 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73858         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73860 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73862         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73864 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73866         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73867         LDBL_MANT_DIG == 106]: Disable some tests.
73868         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73869         Likewise.
73870         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73871         Likewise.
73873         [BZ #14871]
73874         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73875         input for small inputs.  Return +/- pi/2 for large inputs.
73876         * math/libm-test.inc (atan_test): Add more tests.
73878         * sysdeps/generic/unwind-dw2-fde-glibc.c
73879         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73880         __attribute__ ((unused)).
73882         [BZ #14645]
73883         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73884         x * y if x and y are nonzero and z is zero.
73886         [BZ #14811]
73887         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73888         nonzero exponents with absolute value below 0x1p-117 to +/-
73889         0x1p-117.
73891         [BZ #14869]
73892         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73893         up arguments below 2**-450, not just those below 2**-500.
73894         * math/libm-test.inc (hypot_test): Add another test.
73896         [BZ #14868]
73897         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73898         Return a+b for ratio over 2**120, not 2**60.
73899         * math/libm-test.inc (hypot_test): Add another test.
73901         * math/libm-test.inc (clog_test): Use
73902         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73903         (clog10_test): Likewise.
73905         [BZ #6778]
73906         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73908 2012-11-22  Andreas Schwab  <schwab@suse.de>
73910         * sysdeps/i386/fpu/libm-test-ulps: Update.
73912 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73914         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73915         printf output with newline.
73917 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73919         [BZ #14865]
73920         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73921         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73922         -z nodlopen, -z initfirst and -z execstack support.
73923         * configure: Regenerated.
73925         * elf/elf.h (DF_1_NODIRECT): New macro.
73926         (DF_1_IGNMULDEF): Likewise.
73927         (DF_1_NOKSYMS): Likewise.
73928         (DF_1_NOHDR): Likewise.
73929         (DF_1_EDITED): Likewise.
73930         (DF_1_NORELOC): Likewise.
73931         (DF_1_SYMINTPOSE): Likewise.
73932         (DF_1_GLOBAUDIT): Likewise.
73933         (DF_1_SINGLETON): Likewise.
73934         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73935         DT_1_SUPPORTED_MASK bits.
73936         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73938 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73940         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73942 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73944         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73945         macro.
73947         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73948         (sendmmsg): Move declarations...
73949         * socket/sys/socket.h: ... here.
73950         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73951         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73952         include it from...
73953         * socket/recvmmsg.c: ... this new file.
73954         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73955         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73956         definition of __sendmmsg hidden.
73957         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73958         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73959         Move ENOSYS stub into and include it from...
73960         * socket/sendmmsg.c: ... this new file.
73961         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73962         (sysdep_routines): Move recvmmsg and sendmmsg...
73963         * socket/Makefile (routines): ... here.
73964         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73965         (GLIBC_PRIVATE): Add __sendmmsg.
73966         * include/sys/socket.h (__sendmmsg): Add declarations.
73967         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73968         sendmmsg.
73970 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73972         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73973         variable I1 with __attribute__ ((unused)).
73974         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73976 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73978         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73979         DUMMY variables with __attribute__ ((unused)).
73981         * bits/byteswap.h: Include <bits/types.h>.
73982         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73984 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73986         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73987         string_t.  Do not manually set errno.
73988         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73989         length with __strnlen.  Make sure to both set errno and return it on
73990         failure.
73992 2012-11-19  David S. Miller  <davem@davemloft.net>
73994         With help from Joseph Myers.
73995         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73996         very large arguments properly.
73997         * math/libm-test.inc (atan_test): New tests.
73998         (atan2_test): New tests.
73999         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74000         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74002 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
74004         [BZ #14856]
74005         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
74006         Define to 3.
74008         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
74009         [POSIX] (EADDRNOTAVAIL): Likewise.
74010         [POSIX] (EAFNOSUPPORT): Likewise.
74011         [POSIX] (EALREADY): Likewise.
74012         [POSIX] (ECONNABORTED): Likewise.
74013         [POSIX] (ECONNREFUSED): Likewise.
74014         [POSIX] (ECONNRESET): Likewise.
74015         [POSIX] (EDESTADDRREQ): Likewise.
74016         [POSIX] (EDQUOT): Likewise.
74017         [POSIX] (EHOSTUNREACH): Likewise.
74018         [POSIX] (EIDRM): Likewise.
74019         [POSIX] (EISCONN): Likewise.
74020         [POSIX] (ELOOP): Likewise.
74021         [POSIX] (EMULTIHOP): Likewise.
74022         [POSIX] (ENETDOWN): Likewise.
74023         [POSIX] (ENETUNREACH): Likewise.
74024         [POSIX] (ENOBUFS): Likewise.
74025         [POSIX] (ENODATA): Likewise.
74026         [POSIX] (ENOLINK): Likewise.
74027         [POSIX] (ENOMSG): Likewise.
74028         [POSIX] (ENOPROTOOPT): Likewise.
74029         [POSIX] (ENOSR): Likewise.
74030         [POSIX] (ENOSTR): Likewise.
74031         [POSIX] (ENOTCONN): Likewise.
74032         [POSIX] (ENOTSOCK): Likewise.
74033         [POSIX] (EOPNOTSUPP): Likewise.
74034         [POSIX] (EOVERFLOW): Likewise.
74035         [POSIX] (EPROTO): Likewise.
74036         [POSIX] (EPROTONOSUPPORT): Likewise.
74037         [POSIX] (EPROTOTYPE): Likewise.
74038         [POSIX] (ESTALE): Likewise.
74039         [POSIX] (ETIME): Likewise.
74040         [POSIX] (ETXTBSY): Likewise.
74041         [POSIX] (EWOULDBLOCK): Likewise.
74042         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
74043         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
74044         [POSIX] (SEEK_CUR): Likewise.
74045         [POSIX] (SEEK_END): Likewise.
74046         [POSIX || UNIX98] (mode_t): Do not require.
74047         [POSIX] (off_t): Likewise.
74048         [POSIX] (pid_t): Likewise.
74049         [POSIX] (sys/stat.h): Do not allow header.
74050         [POSIX] (unistd.h): Likewise.
74051         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
74052         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
74053         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
74054         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
74055         require.
74056         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
74057         sigevent): Specify elements.
74058         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
74059         entry.
74060         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
74061         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
74063         * conform/data/cpio.h-data [POSIX]: Disable whole file.
74064         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
74065         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
74066         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
74067         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
74068         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
74069         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
74070         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
74071         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
74072         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
74073         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
74074         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
74075         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
74076         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
74077         Likewise.
74078         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
74079         Likewise.
74080         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
74081         Likewise.
74082         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
74083         Likewise.
74084         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
74085         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
74086         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
74087         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
74088         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
74089         Specify lower bound on value.
74090         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
74091         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
74092         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
74093         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
74094         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
74095         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
74096         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
74097         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
74098         value.
74099         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
74100         as optional.
74101         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
74102         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
74103         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
74104         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
74105         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
74106         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
74107         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
74108         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
74109         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
74110         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
74111         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
74112         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
74113         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
74114         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
74115         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
74116         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
74117         entry.
74118         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
74119         optional.
74120         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
74121         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
74122         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
74123         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
74124         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
74125         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
74126         Likewise.
74127         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
74128         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
74129         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
74130         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
74131         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
74132         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
74133         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
74134         as optional.
74135         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
74136         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
74137         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
74138         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
74139         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
74140         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
74141         specify as optional.
74142         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
74143         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
74144         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
74145         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
74146         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
74147         [XPG3] (NL_LANGMAX): Likewise.
74148         [POSIX || XPG3] (NL_MSGMAX): Likewise.
74149         [POSIX || XPG3] (NL_NMAX): Likewise.
74150         [POSIX || XPG3] (NL_SETMAX): Likewise.
74151         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
74152         [XPG3] (NZERO): Likewise.
74153         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
74154         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
74155         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
74156         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
74157         (REG_ERANGE): Expect.
74158         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
74159         optional-constant.
74160         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
74161         Use (void) in prototype.
74162         [POSIX] (*_t): Allow.
74163         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
74164         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
74165         (WRDE_BADVAL): Expect.
74167         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
74168         expect.
74169         [XPG3 || XPG4] (O_RSYNC): Likewise.
74170         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
74171         Likewise.
74172         [XPG3 || XPG4] (pthread_sigmask): Likewise.
74173         [XPG3 || XPG4] (sigqueue): Likewise.
74174         [XPG3 || XPG4] (sigtimedwait): Likewise.
74175         [XPG3 || XPG4] (sigwaitinfo): Likewise.
74176         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
74177         [XPG3 || XPG4] (vsnprintf): Likewise.
74178         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
74179         Likewise.
74180         [XPG3 || XPG4] (blksize_t): Likewise.
74181         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
74182         Likewise.
74183         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
74184         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
74185         [XPG3 || XPG4] (struct itimerspec): Likewise.
74186         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
74187         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
74188         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
74189         [XPG3 || XPG4] (clockid_t): Likewise.
74190         [XPG3 || XPG4] (timer_t): Likewise.
74191         [XPG3 || XPG4] (clock_getres): Likewise.
74192         [XPG3 || XPG4] (clock_gettime): Likewise.
74193         [XPG3 || XPG4] (clock_settime): Likewise.
74194         [XPG3 || XPG4] (nanosleep): Likewise.
74195         [XPG3 || XPG4] (timer_create): Likewise.
74196         [XPG3 || XPG4] (timer_delete): Likewise.
74197         [XPG3 || XPG4] (timer_gettime): Likewise.
74198         [XPG3 || XPG4] (timer_getoverrun): Likewise.
74199         [XPG3 || XPG4] (timer_settime): Likewise.
74200         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
74201         [XPG3 || XPG4] (getlogin_r): Likewise.
74202         [XPG3 || XPG4] (pread): Likewise.
74203         [XPG3 || XPG4] (pthread_atfork): Likewise.
74204         [XPG3 || XPG4] (pwrite): Likewise.
74206         [BZ #14835]
74207         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
74208         <bits/siginfo.h>.
74210 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
74212         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
74213         finalizing MALLSTREAM.
74215         * sysdeps/mach/hurd/syncfs.c: New file.
74217 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
74219         [BZ #14719]
74220         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
74221         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
74222         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
74223         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
74224         (_nss_dns_gethostbyname4_r): Likewise.
74225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
74226         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
74228 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
74230         [BZ #13763]
74231         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
74233 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
74235         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
74236         * elf/cache.c (print_entry): Print ",AArch64" for
74237         FLAG_AARCH64_LIB64
74239         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
74240         * elf/cache.c (print_entry): Print ",hard-float" for
74241         FLAG_ARM_LIBHF.
74243 2012-11-18  David S. Miller  <davem@davemloft.net>
74245         With help from Joseph Myers.
74246         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
74247         cutoff to 2**-13.
74248         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
74249         cutoff to 2**-25.
74250         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
74251         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
74252         small.
74253         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
74254         * math/libm-test.inc (y0_test): New tests.
74255         (y1_test): New tests.
74256         * sysdeps/i386/fpu/libm-test-ulps: Update.
74257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74258         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74260 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
74262         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
74263         64-bit targets.
74264         * configure: Regenerated.
74266 2012-11-17  David S. Miller  <davem@davemloft.net>
74268         [BZ #14811]
74269         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
74270         nonzero exponents with absolute value below 0x1p-128 to +/-
74271         0x1p-128.
74273 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
74275         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
74277         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
74279         * posix/getconf-speclist.c: New file.
74280         * posix/posix-envs.def: Likewise.
74281         * posix/confstr.c (START_ENV_GROUP): New macro.
74282         (END_ENV_GROUP): Likewise.
74283         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74284         (KNOWN_PRESENT_ENV_STRING): Likewise.
74285         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74286         (UNKNOWN_ENVIRONMENT): Likewise.
74287         (confstr): Include posix-envs.def instead of handling
74288         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
74289         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
74290         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
74291         (END_ENV_GROUP): Likewise.
74292         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
74293         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
74294         (UNKNOWN_ENVIRONMENT): Likewise.
74295         (__sysconf): Include posix-envs.def instead of handling associated
74296         cases directly here.
74297         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
74298         preprocessing getconf-speclist.c rather than running getconf or
74299         generating empty file.
74301 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
74303         * scripts/check-local-headers.sh: Ignore 'mach' headers.
74305 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
74307         [BZ #14672]
74308         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
74310 2012-11-16  David S. Miller  <davem@davemloft.net>
74312         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
74313         smaller than LDBL_EPSILON/2.0L, just return xm1.
74315 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
74317         * elf/tst-array1.c (init): Set constructor priority to 1000.
74318         (fini): Set destructor priority to 1000.
74319         * elf/tst-array2dep.c: Likewise.
74321 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74323         [BZ #11741]
74324         * libio/fileops.c (_IO_new_file_write): Correctly return error.
74325         (_IO_new_file_xsputn): Also return EOF if none of the input
74326         data was written when overflow failed.
74327         * libio/iopadn.c (_IO_padn): Likewise.
74328         * libio/iowpadn.c (_IO_wpadn): Likewise.
74329         * stdio-common/tst-put-error.c: Add copyright notice.
74330         (do_test): Add case for printing padded string.
74331         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
74332         _IO_padn returned error.
74333         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
74334         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
74335         return EOF.
74337 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
74339         * libio/libioP.h: Add comment note that the references to C++
74340         bits are now obsolete.
74342 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74344         * math/libm-test.inc (check_complex): Use asprintf.
74346 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
74348         * debug/pcprofiledump.c (print_version): Update copyright year.
74349         * malloc/memusagestat.c (print_version): Likewise.
74351 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
74353         [BZ #14831]
74354         * elf/Makefile (tests): Add tst-audit8.
74355         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
74356         ($(objpfx)tst-audit8.out): New target.
74357         (tst-audit8-ENV): New variable.
74358         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
74359         audit if l_reloc_result is NULL.
74360         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
74361         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
74362         * elf/tst-audit8.c: New file.
74364 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74366         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
74367         * misc/Makefile (CFLAGS-select.c): Define.
74368         * posix/Makefile (CFLAGS-pause.c): Define.
74370 2012-11-13  David S. Miller  <davem@davemloft.net>
74372         * crypt/Makefile: Move test targets after toplevel Rules
74373         inclusion.  Grab any necessary sysdep routines when linking.
74374         * crypt/md5.c (md5_process_block): Remove define, we will always
74375         name it __md5_process_block.
74376         (md5_finish_ctx): Update md5_process_block call.
74377         (md5_stream): Likewise.
74378         (md5_process_bytes): Likewise.
74379         (md5_process_block): Rename to __md5_process_block and move to ...
74380         * crypt/md5-block.c: ... here.
74381         * crypt/sha256.c (sha256_process_block): Move to ...
74382         * crypt/sha256-block.c: ... here.
74383         * crypt/sha512.c (sha512_process_block): Move to ...
74384         * crypt/sha512-block.c: ... here.
74385         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
74386         path.
74387         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
74388         * sysdeps/sparc/sparc64/multiarch/Makefile
74389         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
74390         crypt subdir.
74391         (localedef-aux): Add md5 crypto assembler when in locale subdir.
74392         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
74393         multiarch changes.
74394         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
74395         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
74396         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
74397         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
74398         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
74399         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
74400         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
74401         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
74402         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
74403         file.
74404         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
74405         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
74406         file.
74407         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
74409 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
74411         * timezone/tzselect.ksh: Update from tzcode git revision
74412         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
74413         * timezone/zdump.c: Likewise.
74414         * timezone/zic.c: Likewise.
74415         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
74416         in TZVERSION setting, not $(PKGVERSION).
74417         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
74418         REPORT_BUGS_TO settings.
74420         [BZ #14838]
74421         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
74422         macro.
74424 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74426         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
74427         detection to immediately after _FP_ROUND().
74428         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
74429         bits are 0.
74431 2012-11-11  David S. Miller  <davem@davemloft.net>
74433         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
74434         inttypes.h
74435         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
74436         __close rather than their public counterparts.
74438 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
74440         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
74441         file.
74442         [UNIX98] (sem_timedwait): Do not expect.
74443         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
74444         [XPG4 || UNIX98] (sockatmark): Do not expect.
74445         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
74446         (clock_getcpuclockid): Do not expect.
74447         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
74448         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
74449         Do not expect.
74450         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
74451         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
74452         [UNIX98] (vwscanf): Likewise.
74453         [UNIX98] (vswscanf): Likewise.
74455 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
74457         * timezone/version.h: Remove file.
74458         * timezone/README: Do not refer to version.h.
74459         * timezone/Makefile ($(objpfx)zic.o): New dependency on
74460         $(objpfx)version.h.
74461         ($(objpfx)zdump.o): Likewise.
74462         ($(objpfx)version.h): New target.
74464         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
74465         2012i.
74466         * timezone/README: Don't mention modification to tzselect.ksh.
74467         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
74468         work on unmodified tzselect.ksh.  Substitute version numbers in
74469         tzselect.ksh.
74471         * Makefile (format-me): Remove.
74472         (INSTALL): Adjust indentation.  Use commands directly instead of
74473         using $(format-me).
74475         * aclocal.m4 (ACX_PKGVERSION): New macro.
74476         (ACX_BUGURL): Likewise.
74477         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
74478         (PKGVERSION): New AC_DEFINE_UNQUOTED.
74479         (REPORT_BUGS_TO): Likewise.
74480         * configure: Regenerated.
74481         * config.h.in (PKGVERSION): New macro.
74482         (REPORT_BUGS_TO): Likewise.
74483         * config.make.in (PKGVERSION): New variable.
74484         (PKGVERSION_TEXI): Likewise.
74485         (REPORT_BUGS_TO): Likewise.
74486         (REPORT_BUGS_TEXI): Likewise.
74487         * Makefile (format-me): Use -I$(common-objpfx)manual.
74488         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
74489         ($(common-objpfx)manual/%): New target.
74490         (manual/%): Remove target.
74491         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
74492         (print_version): Use PKGVERSION.
74493         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
74494         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
74495         and REPORT_BUGS_TO.
74496         ($(objpfx)xtrace): Likewise.
74497         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
74498         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
74499         (print_version): Use PKGVERSION.
74500         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
74501         (do_version): Use PKGVERSION.
74502         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
74503         REPORT_BUGS_TO.
74504         (common-ldd-rewrite): Likewise.
74505         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
74506         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
74507         (print_version): Use PKGVERSION.
74508         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
74509         * elf/pldd.c (argp_program_bug_address): Remove variable.
74510         (more_help): New function.
74511         (argp): Use more_help.
74512         (print_version): Use PKGVERSION.
74513         * elf/sln.c (main): Use PKGVERSION.
74514         (usage): Use REPORT_BUGS_TO.
74515         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
74516         (top level): Use PKGVERSION.
74517         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
74518         (print_version): Use PKGVERSION.
74519         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
74520         (print_version): Use PKGVERSION.
74521         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
74522         (print_version): Use PKGVERSION.
74523         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
74524         (print_version): Use PKGVERSION.
74525         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
74526         (print_version): Use PKGVERSION.
74527         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
74528         (print_version): Use PKGVERSION.
74529         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
74530         and BUGURL.
74531         ($(objpfx)memusage): Likewise.
74532         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
74533         (do_version): Use PKGVERSION.
74534         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
74535         (print_version): Use PKGVERSION.
74536         * malloc/mtrace.pl ($PACKAGE): Remove variable.
74537         ($PKGVERSION): New variable.
74538         ($REPORT_BUGS_TO): Likewise.
74539         (usage): Use $REPORT_BUGS_TO.
74540         (top level): Use $PKGVERSION.
74541         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
74542         ($(objpfx)pkgvers.texi): New rule.
74543         ($(objpfx)stamp-pkgvers): Likewise.
74544         * manual/install.texi: Include pkgvers.texi.
74545         (--with-pkgversion): Document new configure option.
74546         (--with-bugurl): Likewise.
74547         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
74548         than necessarily for this particular distribution.  Use
74549         REPORT_BUGS_TO for where to report bugs.
74550         * INSTALL: Regenerated.
74551         * manual/libc.texinfo: Include pkgvers.texi.
74552         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
74553         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
74554         (print_version): Use PKGVERSION.
74555         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
74556         (print_version): Use PKGVERSION.
74557         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
74558         (print_version): Use PKGVERSION.
74559         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
74560         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
74561         macro.
74562         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
74563         (print_version): Use PKGVERSION.
74564         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
74565         (print_version): Use PKGVERSION.
74566         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
74567         and PKGVERSION.
74569         * timezone/checktab.awk: Update from tzcode 2012i.
74570         * timezone/ialloc.c: Likewise.
74571         * timezone/private.h: Likewise.
74572         * timezone/scheck.c: Likewise.
74573         * timezone/tzfile.h: Likewise.
74574         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
74575         (TZVERSION): Hardcode tzcode version number.
74576         * timezone/zdump.c: Update from tzcode 2012i.
74577         * timezone/zic.c: Likewise.
74578         * timezone/version.h: New file.
74579         * timezone/README: Describe version.h.  Update upstream location.
74581         [BZ #14824]
74582         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
74583         (mktemp): Enable declaration.
74584         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
74585         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
74586         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
74587         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
74588         Likewise.
74589         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
74590         Likewise.
74591         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
74592         Likewise.
74593         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
74594         Likewise.
74595         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
74596         Likewise.
74597         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
74598         Likewise.
74600         [BZ #14821]
74601         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
74602         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
74603         for copies of such integer values.
74604         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
74605         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
74607 2012-11-09  Andreas Jaeger  <aj@suse.de>
74609         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
74610         definitions and declarations that are provided by
74611         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
74613 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74615         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
74616         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
74617         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
74618         definition.
74620 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74622         * elf/elf.h: Update comment before AArch64 relocations.
74624 2012-11-07  David S. Miller  <davem@davemloft.net>
74626         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
74627         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
74628         (__start_context): Declare.
74629         (__makecontext_ret): Delete.
74630         (__makecontext): Hook up __start_context instead of
74631         __makecontext_ret.
74632         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
74633         (sysdep_routines): Add __start_context when in stdlib.
74635 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74637         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
74638         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
74639         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
74640         hardcoded "nm".
74641         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
74642         (READELF): New variable.  Use it instead of hardcoded "readelf".
74644 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
74646         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
74647         * sysdeps/x86/Makefile: Here.
74648         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
74649         * sysdeps/x86/tst-xmmymm.sh: This.
74651 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74653         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
74654         expectations.
74655         [UNIX98] (pthread_barrier_t): Do not expect.
74656         [UNIX98] (pthread_barrierattr_t): Likewise.
74657         [UNIX98] (pthread_spinlock_t): Likewise.
74658         [UNIX98] (pthread_barrier_destroy): Likewise.
74659         [UNIX98] (pthread_barrier_init): Likewise.
74660         [UNIX98] (pthread_barrier_wait): Likewise.
74661         [UNIX98] (pthread_barrierattr_destroy): Likewise.
74662         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
74663         [UNIX98] (pthread_barrierattr_init): Likewise.
74664         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
74665         [UNIX98] (pthread_getcpuclockid): Likewise.
74666         [UNIX98] (pthread_mutex_timedlock): Likewise.
74667         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
74668         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
74669         [UNIX98] (pthread_sigmask): Likewise.
74670         [UNIX98] (pthread_spin_destroy): Likewise.
74671         [UNIX98] (pthread_spin_init): Likewise.
74672         [UNIX98] (pthread_spin_lock): Likewise.
74673         [UNIX98] (pthread_spin_trylock): Likewise.
74674         [UNIX98] (pthread_spin_unlock): Likewise.
74675         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
74676         Do not expect.
74677         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
74678         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
74679         [XPG3 || XPG4] (pthread_cond_t): Likewise.
74680         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
74681         [XPG3 || XPG4] (pthread_key_t): Likewise.
74682         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
74683         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
74684         [XPG3 || XPG4] (pthread_once_t): Likewise.
74685         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
74686         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
74687         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
74688         [XPG3 || XPG4] (pthread_t): Likewise.
74690         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
74691         not expect.
74692         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
74694         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
74695         Change function return type to int.
74697         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
74698         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
74699         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
74700         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
74701         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
74702         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
74703         [!POSIX] (posix_madvise): Likewise.
74704         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
74705         && !UNIX98].
74706         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
74707         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
74708         (mode_t): Likewise.
74709         (posix_mem_offset): Likewise.
74710         (posix_typed_mem_get_info): Likewise.
74711         (posix_typed_mem_open): Likewise.
74713         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
74714         Change condition to [XOPEN2K8].
74716         * conform/conformtest.pl: Preprocess allow-header data with -x c
74717         instead of from stdin.
74718         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
74719         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
74720         [C99-based standards] (cerfc): Likewise.
74721         [C99-based standards] (cexp2): Likewise.
74722         [C99-based standards] (cexpm1): Likewise.
74723         [C99-based standards] (clog10): Likewise.
74724         [C99-based standards] (clog1p): Likewise.
74725         [C99-based standards] (clog2): Likewise.
74726         [C99-based standards] (clgamma): Likewise.
74727         [C99-based standards] (ctgamma): Likewise.
74728         [C99-based standards] (cerff): Likewise.
74729         [C99-based standards] (cerfcf): Likewise.
74730         [C99-based standards] (cexp2f): Likewise.
74731         [C99-based standards] (cexpm1f): Likewise.
74732         [C99-based standards] (clog10f): Likewise.
74733         [C99-based standards] (clog1pf): Likewise.
74734         [C99-based standards] (clog2f): Likewise.
74735         [C99-based standards] (clgammaf): Likewise.
74736         [C99-based standards] (ctgammaf): Likewise.
74737         [C99-based standards] (cerfl): Likewise.
74738         [C99-based standards] (cerfcl): Likewise.
74739         [C99-based standards] (cexp2l): Likewise.
74740         [C99-based standards] (cexpm1l): Likewise.
74741         [C99-based standards] (clog10l): Likewise.
74742         [C99-based standards] (clog1pl): Likewise.
74743         [C99-based standards] (clog2l): Likewise.
74744         [C99-based standards] (clgammal): Likewise.
74745         [C99-based standards] (ctgammal): Likewise.
74746         * conform/data/inttypes.h-data [C99-based standards]: Include
74747         stdint.h-data.  Remove all expectations for stdint.h contents.
74748         [C99-based standards] (PRI*): Do not allow.
74749         [C99-based standards] (SCN*): Likewise.
74750         [C99-based standards] (*_t): Likewise.
74751         [C99-based-standards] (PRId8): Expect macro.
74752         [C99-based-standards] (PRIi8): Likewise.
74753         [C99-based-standards] (PRIo8): Likewise.
74754         [C99-based-standards] (PRIu8): Likewise.
74755         [C99-based-standards] (PRIx8): Likewise.
74756         [C99-based-standards] (PRIX8): Likewise.
74757         [C99-based-standards] (SCNd8): Likewise.
74758         [C99-based-standards] (SCNi8): Likewise.
74759         [C99-based-standards] (SCNo8): Likewise.
74760         [C99-based-standards] (SCNu8): Likewise.
74761         [C99-based-standards] (SCNx8): Likewise.
74762         [C99-based-standards] (PRIdLEAST8): Likewise.
74763         [C99-based-standards] (PRIiLEAST8): Likewise.
74764         [C99-based-standards] (PRIoLEAST8): Likewise.
74765         [C99-based-standards] (PRIuLEAST8): Likewise.
74766         [C99-based-standards] (PRIxLEAST8): Likewise.
74767         [C99-based-standards] (PRIXLEAST8): Likewise.
74768         [C99-based-standards] (SCNdLEAST8): Likewise.
74769         [C99-based-standards] (SCNiLEAST8): Likewise.
74770         [C99-based-standards] (SCNoLEAST8): Likewise.
74771         [C99-based-standards] (SCNuLEAST8): Likewise.
74772         [C99-based-standards] (SCNxLEAST8): Likewise.
74773         [C99-based-standards] (PRIdFAST8): Likewise.
74774         [C99-based-standards] (PRIiFAST8): Likewise.
74775         [C99-based-standards] (PRIoFAST8): Likewise.
74776         [C99-based-standards] (PRIuFAST8): Likewise.
74777         [C99-based-standards] (PRIxFAST8): Likewise.
74778         [C99-based-standards] (PRIXFAST8): Likewise.
74779         [C99-based-standards] (SCNdFAST8): Likewise.
74780         [C99-based-standards] (SCNiFAST8): Likewise.
74781         [C99-based-standards] (SCNoFAST8): Likewise.
74782         [C99-based-standards] (SCNuFAST8): Likewise.
74783         [C99-based-standards] (SCNxFAST8): Likewise.
74784         [C99-based-standards] (PRId16): Likewise.
74785         [C99-based-standards] (PRIi16): Likewise.
74786         [C99-based-standards] (PRIo16): Likewise.
74787         [C99-based-standards] (PRIu16): Likewise.
74788         [C99-based-standards] (PRIx16): Likewise.
74789         [C99-based-standards] (PRIX16): Likewise.
74790         [C99-based-standards] (SCNd16): Likewise.
74791         [C99-based-standards] (SCNi16): Likewise.
74792         [C99-based-standards] (SCNo16): Likewise.
74793         [C99-based-standards] (SCNu16): Likewise.
74794         [C99-based-standards] (SCNx16): Likewise.
74795         [C99-based-standards] (PRIdLEAST16): Likewise.
74796         [C99-based-standards] (PRIiLEAST16): Likewise.
74797         [C99-based-standards] (PRIoLEAST16): Likewise.
74798         [C99-based-standards] (PRIuLEAST16): Likewise.
74799         [C99-based-standards] (PRIxLEAST16): Likewise.
74800         [C99-based-standards] (PRIXLEAST16): Likewise.
74801         [C99-based-standards] (SCNdLEAST16): Likewise.
74802         [C99-based-standards] (SCNiLEAST16): Likewise.
74803         [C99-based-standards] (SCNoLEAST16): Likewise.
74804         [C99-based-standards] (SCNuLEAST16): Likewise.
74805         [C99-based-standards] (SCNxLEAST16): Likewise.
74806         [C99-based-standards] (PRIdFAST16): Likewise.
74807         [C99-based-standards] (PRIiFAST16): Likewise.
74808         [C99-based-standards] (PRIoFAST16): Likewise.
74809         [C99-based-standards] (PRIuFAST16): Likewise.
74810         [C99-based-standards] (PRIxFAST16): Likewise.
74811         [C99-based-standards] (PRIXFAST16): Likewise.
74812         [C99-based-standards] (SCNdFAST16): Likewise.
74813         [C99-based-standards] (SCNiFAST16): Likewise.
74814         [C99-based-standards] (SCNoFAST16): Likewise.
74815         [C99-based-standards] (SCNuFAST16): Likewise.
74816         [C99-based-standards] (SCNxFAST16): Likewise.
74817         [C99-based-standards] (PRId32): Likewise.
74818         [C99-based-standards] (PRIi32): Likewise.
74819         [C99-based-standards] (PRIo32): Likewise.
74820         [C99-based-standards] (PRIu32): Likewise.
74821         [C99-based-standards] (PRIx32): Likewise.
74822         [C99-based-standards] (PRIX32): Likewise.
74823         [C99-based-standards] (SCNd32): Likewise.
74824         [C99-based-standards] (SCNi32): Likewise.
74825         [C99-based-standards] (SCNo32): Likewise.
74826         [C99-based-standards] (SCNu32): Likewise.
74827         [C99-based-standards] (SCNx32): Likewise.
74828         [C99-based-standards] (PRIdLEAST32): Likewise.
74829         [C99-based-standards] (PRIiLEAST32): Likewise.
74830         [C99-based-standards] (PRIoLEAST32): Likewise.
74831         [C99-based-standards] (PRIuLEAST32): Likewise.
74832         [C99-based-standards] (PRIxLEAST32): Likewise.
74833         [C99-based-standards] (PRIXLEAST32): Likewise.
74834         [C99-based-standards] (SCNdLEAST32): Likewise.
74835         [C99-based-standards] (SCNiLEAST32): Likewise.
74836         [C99-based-standards] (SCNoLEAST32): Likewise.
74837         [C99-based-standards] (SCNuLEAST32): Likewise.
74838         [C99-based-standards] (SCNxLEAST32): Likewise.
74839         [C99-based-standards] (PRIdFAST32): Likewise.
74840         [C99-based-standards] (PRIiFAST32): Likewise.
74841         [C99-based-standards] (PRIoFAST32): Likewise.
74842         [C99-based-standards] (PRIuFAST32): Likewise.
74843         [C99-based-standards] (PRIxFAST32): Likewise.
74844         [C99-based-standards] (PRIXFAST32): Likewise.
74845         [C99-based-standards] (SCNdFAST32): Likewise.
74846         [C99-based-standards] (SCNiFAST32): Likewise.
74847         [C99-based-standards] (SCNoFAST32): Likewise.
74848         [C99-based-standards] (SCNuFAST32): Likewise.
74849         [C99-based-standards] (SCNxFAST32): Likewise.
74850         [C99-based-standards] (PRId64): Likewise.
74851         [C99-based-standards] (PRIi64): Likewise.
74852         [C99-based-standards] (PRIo64): Likewise.
74853         [C99-based-standards] (PRIu64): Likewise.
74854         [C99-based-standards] (PRIx64): Likewise.
74855         [C99-based-standards] (PRIX64): Likewise.
74856         [C99-based-standards] (SCNd64): Likewise.
74857         [C99-based-standards] (SCNi64): Likewise.
74858         [C99-based-standards] (SCNo64): Likewise.
74859         [C99-based-standards] (SCNu64): Likewise.
74860         [C99-based-standards] (SCNx64): Likewise.
74861         [C99-based-standards] (PRIdLEAST64): Likewise.
74862         [C99-based-standards] (PRIiLEAST64): Likewise.
74863         [C99-based-standards] (PRIoLEAST64): Likewise.
74864         [C99-based-standards] (PRIuLEAST64): Likewise.
74865         [C99-based-standards] (PRIxLEAST64): Likewise.
74866         [C99-based-standards] (PRIXLEAST64): Likewise.
74867         [C99-based-standards] (SCNdLEAST64): Likewise.
74868         [C99-based-standards] (SCNiLEAST64): Likewise.
74869         [C99-based-standards] (SCNoLEAST64): Likewise.
74870         [C99-based-standards] (SCNuLEAST64): Likewise.
74871         [C99-based-standards] (SCNxLEAST64): Likewise.
74872         [C99-based-standards] (PRIdFAST64): Likewise.
74873         [C99-based-standards] (PRIiFAST64): Likewise.
74874         [C99-based-standards] (PRIoFAST64): Likewise.
74875         [C99-based-standards] (PRIuFAST64): Likewise.
74876         [C99-based-standards] (PRIxFAST64): Likewise.
74877         [C99-based-standards] (PRIXFAST64): Likewise.
74878         [C99-based-standards] (SCNdFAST64): Likewise.
74879         [C99-based-standards] (SCNiFAST64): Likewise.
74880         [C99-based-standards] (SCNoFAST64): Likewise.
74881         [C99-based-standards] (SCNuFAST64): Likewise.
74882         [C99-based-standards] (SCNxFAST64): Likewise.
74883         [C99-based-standards] (PRIdMAX): Likewise.
74884         [C99-based-standards] (PRIiMAX): Likewise.
74885         [C99-based-standards] (PRIoMAX): Likewise.
74886         [C99-based-standards] (PRIuMAX): Likewise.
74887         [C99-based-standards] (PRIxMAX): Likewise.
74888         [C99-based-standards] (PRIXMAX): Likewise.
74889         [C99-based-standards] (SCNdMAX): Likewise.
74890         [C99-based-standards] (SCNiMAX): Likewise.
74891         [C99-based-standards] (SCNoMAX): Likewise.
74892         [C99-based-standards] (SCNuMAX): Likewise.
74893         [C99-based-standards] (SCNxMAX): Likewise.
74894         [C99-based-standards] (PRIdPTR): Likewise.
74895         [C99-based-standards] (PRIiPTR): Likewise.
74896         [C99-based-standards] (PRIoPTR): Likewise.
74897         [C99-based-standards] (PRIuPTR): Likewise.
74898         [C99-based-standards] (PRIxPTR): Likewise.
74899         [C99-based-standards] (PRIXPTR): Likewise.
74900         [C99-based-standards] (SCNdPTR): Likewise.
74901         [C99-based-standards] (SCNiPTR): Likewise.
74902         [C99-based-standards] (SCNoPTR): Likewise.
74903         [C99-based-standards] (SCNuPTR): Likewise.
74904         [C99-based-standards] (SCNxPTR): Likewise.
74905         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74906         allow.
74907         * conform/data/stdint.h-data: Update comments to clarify
74908         requirements.
74909         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74910         type.
74911         [C99-based standards] (INT8_MAX): Likewise.
74912         [C99-based standards] (INT16_MIN): Likewise.
74913         [C99-based standards] (INT16_MAX): Likewise.
74914         [C99-based standards] (INT32_MIN): Likewise.
74915         [C99-based standards] (INT32_MAX): Likewise.
74916         [C99-based standards] (INT64_MIN): Likewise.
74917         [C99-based standards] (INT64_MAX): Likewise.
74918         [C99-based standards] (UINT8_MAX): Likewise.
74919         [C99-based standards] (UINT16_MAX): Likewise.
74920         [C99-based standards] (UINT32_MAX): Likewise.
74921         [C99-based standards] (UINT64_MAX): Likewise.
74922         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74923         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74924         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74925         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74926         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74927         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74928         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74929         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74930         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74931         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74932         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74933         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74934         [C99-based standards] (INT_FAST8_MIN): Likewise.
74935         [C99-based standards] (INT_FAST8_MAX): Likewise.
74936         [C99-based standards] (INT_FAST16_MIN): Likewise.
74937         [C99-based standards] (INT_FAST16_MAX): Likewise.
74938         [C99-based standards] (INT_FAST32_MIN): Likewise.
74939         [C99-based standards] (INT_FAST32_MAX): Likewise.
74940         [C99-based standards] (INT_FAST64_MIN): Likewise.
74941         [C99-based standards] (INT_FAST64_MAX): Likewise.
74942         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74943         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74944         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74945         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74946         [C99-based standards] (INTPTR_MIN): Likewise.
74947         [C99-based standards] (INTPTR_MAX): Likewise.
74948         [C99-based standards] (UINTPTR_MAX): Likewise.
74949         [C99-based standards] (INTMAX_MIN): Likewise.
74950         [C99-based standards] (INTMAX_MAX): Likewise.
74951         [C99-based standards] (UINTMAX_MAX): Likewise.
74952         [C99-based standards] (PTRDIFF_MIN): Likewise.
74953         [C99-based standards] (PTRDIFF_MAX): Likewise.
74954         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74955         [C99-based standards] (SIZE_MAX): Likewise.
74956         [C99-based standards] (WCHAR_MAX): Likewise.
74957         [C99-based standards] (WINT_MAX): Likewise.
74958         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74959         constraint on value.
74960         [C99-based standards] (WCHAR_MIN): Likewise.
74961         [C99-based standards] (WINT_MIN): Likewise.
74962         [C99-based standards] (*_t): Allow.
74963         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74964         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74965         Include math.h-data and complex.h-data.  Remove all expectations
74966         of math.h and complex.h contents.
74967         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74968         at end of line.
74969         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74970         (struct tm): Expect tag.
74971         [C99-based-standards] (wcstof): Expect function.
74972         [C99-based-standards] (wcstold): Likewise.
74973         [C99-based-standards] (wcstoll): Likewise.
74974         [C99-based-standards] (wcstoull): Likewise.
74975         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74976         macro-int-constant.  Specify type.
74977         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74978         constraint on value.
74979         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74980         Specify type.
74981         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74982         Specify value.
74983         [ISO C standards]: Do not allow headers.
74984         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74985         wcs[abcdefghijklmnopqrstuvwxyz]*.
74986         [ISO C standards] (*_t): Do not allow.
74987         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74988         Expect function.
74989         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74990         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74991         Specify type.
74992         [ISO C standards]: Do not allow headers.
74993         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74994         is[abcdefghijklmnopqrstuvwxyz]*.
74995         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74996         to[abcdefghijklmnopqrstuvwxyz]*.
74997         [ISO C standards] (*_t): Do not allow.
74998         * conform/data/stdalign.h-data: New file.
74999         * conform/data/stdbool.h-data: Likewise.
75000         * conform/data/stdnoreturn.h-data: Likewise.
75002 2012-11-07  Roland McGrath  <roland@hack.frob.com>
75004         [BZ #14815]
75005         * manual/filesys.texi (Directory Entries): Typo fix.
75006         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
75008 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
75010         * elf/elf.h (EM_AARCH64): New macro.
75011         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
75012         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
75013         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
75014         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
75015         (R_AARCH64_TLSDESC): Likewise.
75016         (NT_ARM_TLS): Likewise.
75017         (NT_ARM_HW_BREAK): Likewise.
75018         (NT_ARM_HW_WATCH): Likewise.
75020 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
75022         [BZ #14811]
75023         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
75024         (__ieee754_powl): Saturate nonzero exponents with absolute value
75025         below 0x1p-79 to +/- 0x1p-79.
75026         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
75027         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
75028         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
75029         nonzero exponents with absolute value below 0x1p-32 to +/-
75030         0x1p-32.
75031         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
75032         (__ieee754_powl): Saturate nonzero exponents with absolute value
75033         below 0x1p-79 to +/- 0x1p-79.
75034         * math/libm-test.inc (pow_test): Add more tests.
75036 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
75038         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
75039         _dl_s390_cap_flags with kernel. Increase string length.
75040         (_dl_s390_platforms): Add z196 and zEC12.
75042 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
75044         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
75045         Change XOPEN21K to XOPEN2K.
75047 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
75049         * string/memmove.c: Use memcpy when possible.
75051 2012-11-06  Andreas Jaeger  <aj@suse.de>
75053         * po/eo.po: Update from translation team.
75055 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
75057         [BZ #14793]
75058         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
75059         exponent and small x and y exponents, scale x or y up.  Increase
75060         by 2 the exponent used in scaling up.
75061         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75062         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75063         * math/libm-test.inc (fma_test): Add more tests.
75064         (fma_test_towardzero): Likewise.
75065         (fma_test_downward): Likewise.
75066         (fma_test_upward): Likewise.
75068 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
75070         [BZ #14805]
75071         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
75072         fenv_t *.
75074         [BZ #14801]
75075         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
75076         namespace for names of struct fields.
75077         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
75078         fenv_t fields.
75079         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
75080         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
75082 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75084         [BZ #3665]
75085         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
75087 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
75089         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
75090         PTR_DEMANGLE.
75092         [BZ #5246]
75093         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
75094         PTR_DEMANGLE.
75096 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
75098         [BZ #14797]
75099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
75100         definitely overflow as x * y not x * y + z.
75101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75103         * math/libm-test.inc (fma_test): Add more tests.
75104         (fma_test_towardzero): Likewise.
75105         (fma_test_downward): Likewise.
75106         (fma_test_upward): Likewise.
75108 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
75110         [BZ #157]
75112         * include/stub-tag.h: Remove file.
75113         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
75114         '#include' of it.
75115         * manual/maint.texi (Porting): Don't reference it.
75116         * Makerules ($(objpfx)stubs): Likewise.
75117         * dirent/closedir.c: Don't include <stub-tag.h>.
75118         * dirent/dirfd.c: Likewise.
75119         * dirent/fdopendir.c: Likewise.
75120         * dirent/getdents.c: Likewise.
75121         * dirent/getdents64.c: Likewise.
75122         * dirent/opendir.c: Likewise.
75123         * dirent/readdir.c: Likewise.
75124         * dirent/readdir64.c: Likewise.
75125         * dirent/readdir64_r.c: Likewise.
75126         * dirent/readdir_r.c: Likewise.
75127         * dirent/rewinddir.c: Likewise.
75128         * dirent/seekdir.c: Likewise.
75129         * dirent/telldir.c: Likewise.
75130         * gmon/profil.c: Likewise.
75131         * grp/setgroups.c: Likewise.
75132         * inet/if_index.c: Likewise.
75133         * io/access.c: Likewise.
75134         * io/chdir.c: Likewise.
75135         * io/chmod.c: Likewise.
75136         * io/chown.c: Likewise.
75137         * io/close.c: Likewise.
75138         * io/dup.c: Likewise.
75139         * io/dup2.c: Likewise.
75140         * io/dup3.c: Likewise.
75141         * io/euidaccess.c: Likewise.
75142         * io/faccessat.c: Likewise.
75143         * io/fchdir.c: Likewise.
75144         * io/fchmod.c: Likewise.
75145         * io/fchmodat.c: Likewise.
75146         * io/fchown.c: Likewise.
75147         * io/fchownat.c: Likewise.
75148         * io/fcntl.c: Likewise.
75149         * io/flock.c: Likewise.
75150         * io/fstatfs.c: Likewise.
75151         * io/fstatfs64.c: Likewise.
75152         * io/fstatvfs.c: Likewise.
75153         * io/fstatvfs64.c: Likewise.
75154         * io/futimens.c: Likewise.
75155         * io/fxstat.c: Likewise.
75156         * io/fxstat64.c: Likewise.
75157         * io/fxstatat.c: Likewise.
75158         * io/fxstatat64.c: Likewise.
75159         * io/getcwd.c: Likewise.
75160         * io/isatty.c: Likewise.
75161         * io/lchmod.c: Likewise.
75162         * io/lchown.c: Likewise.
75163         * io/link.c: Likewise.
75164         * io/linkat.c: Likewise.
75165         * io/lseek.c: Likewise.
75166         * io/lseek64.c: Likewise.
75167         * io/lxstat64.c: Likewise.
75168         * io/mkdir.c: Likewise.
75169         * io/mkdirat.c: Likewise.
75170         * io/mkfifo.c: Likewise.
75171         * io/mkfifoat.c: Likewise.
75172         * io/open.c: Likewise.
75173         * io/open64.c: Likewise.
75174         * io/openat.c: Likewise.
75175         * io/openat64.c: Likewise.
75176         * io/pipe.c: Likewise.
75177         * io/pipe2.c: Likewise.
75178         * io/poll.c: Likewise.
75179         * io/posix_fadvise.c: Likewise.
75180         * io/posix_fadvise64.c: Likewise.
75181         * io/posix_fallocate.c: Likewise.
75182         * io/posix_fallocate64.c: Likewise.
75183         * io/read.c: Likewise.
75184         * io/readlink.c: Likewise.
75185         * io/readlinkat.c: Likewise.
75186         * io/rmdir.c: Likewise.
75187         * io/sendfile.c: Likewise.
75188         * io/sendfile64.c: Likewise.
75189         * io/statfs.c: Likewise.
75190         * io/statfs64.c: Likewise.
75191         * io/statvfs.c: Likewise.
75192         * io/statvfs64.c: Likewise.
75193         * io/symlink.c: Likewise.
75194         * io/symlinkat.c: Likewise.
75195         * io/ttyname.c: Likewise.
75196         * io/ttyname_r.c: Likewise.
75197         * io/umask.c: Likewise.
75198         * io/unlink.c: Likewise.
75199         * io/unlinkat.c: Likewise.
75200         * io/utime.c: Likewise.
75201         * io/utimensat.c: Likewise.
75202         * io/write.c: Likewise.
75203         * io/xmknod.c: Likewise.
75204         * io/xmknodat.c: Likewise.
75205         * io/xstat.c: Likewise.
75206         * io/xstat64.c: Likewise.
75207         * login/getpt.c: Likewise.
75208         * login/grantpt.c: Likewise.
75209         * login/unlockpt.c: Likewise.
75210         * math/e_acoshl.c: Likewise.
75211         * math/e_acosl.c: Likewise.
75212         * math/e_asinl.c: Likewise.
75213         * math/e_atan2l.c: Likewise.
75214         * math/e_atanhl.c: Likewise.
75215         * math/e_coshl.c: Likewise.
75216         * math/e_expl.c: Likewise.
75217         * math/e_fmodl.c: Likewise.
75218         * math/e_gammal_r.c: Likewise.
75219         * math/e_hypotl.c: Likewise.
75220         * math/e_j0l.c: Likewise.
75221         * math/e_j1l.c: Likewise.
75222         * math/e_jnl.c: Likewise.
75223         * math/e_lgammal_r.c: Likewise.
75224         * math/e_log10l.c: Likewise.
75225         * math/e_log2l.c: Likewise.
75226         * math/e_logl.c: Likewise.
75227         * math/e_powl.c: Likewise.
75228         * math/e_rem_pio2l.c: Likewise.
75229         * math/e_sinhl.c: Likewise.
75230         * math/e_sqrtl.c: Likewise.
75231         * math/fclrexcpt.c: Likewise.
75232         * math/fedisblxcpt.c: Likewise.
75233         * math/feenablxcpt.c: Likewise.
75234         * math/fegetenv.c: Likewise.
75235         * math/fegetexcept.c: Likewise.
75236         * math/fegetround.c: Likewise.
75237         * math/feholdexcpt.c: Likewise.
75238         * math/fesetenv.c: Likewise.
75239         * math/fesetround.c: Likewise.
75240         * math/feupdateenv.c: Likewise.
75241         * math/fgetexcptflg.c: Likewise.
75242         * math/fraiseexcpt.c: Likewise.
75243         * math/fsetexcptflg.c: Likewise.
75244         * math/ftestexcept.c: Likewise.
75245         * math/k_cosl.c: Likewise.
75246         * math/k_rem_pio2l.c: Likewise.
75247         * math/k_sinl.c: Likewise.
75248         * math/k_tanl.c: Likewise.
75249         * math/s_asinhl.c: Likewise.
75250         * math/s_atanl.c: Likewise.
75251         * math/s_cbrtl.c: Likewise.
75252         * math/s_erfl.c: Likewise.
75253         * math/s_expm1l.c: Likewise.
75254         * math/s_log1pl.c: Likewise.
75255         * math/s_tanhl.c: Likewise.
75256         * misc/acct.c: Likewise.
75257         * misc/brk.c: Likewise.
75258         * misc/chflags.c: Likewise.
75259         * misc/chroot.c: Likewise.
75260         * misc/fchflags.c: Likewise.
75261         * misc/fgetxattr.c: Likewise.
75262         * misc/flistxattr.c: Likewise.
75263         * misc/fremovexattr.c: Likewise.
75264         * misc/fsetxattr.c: Likewise.
75265         * misc/fsync.c: Likewise.
75266         * misc/ftruncate.c: Likewise.
75267         * misc/futimes.c: Likewise.
75268         * misc/futimesat.c: Likewise.
75269         * misc/getdomain.c: Likewise.
75270         * misc/getdtsz.c: Likewise.
75271         * misc/gethostid.c: Likewise.
75272         * misc/gethostname.c: Likewise.
75273         * misc/getloadavg.c: Likewise.
75274         * misc/getpagesize.c: Likewise.
75275         * misc/getsysstats.c: Likewise.
75276         * misc/getxattr.c: Likewise.
75277         * misc/gtty.c: Likewise.
75278         * misc/ioctl.c: Likewise.
75279         * misc/lgetxattr.c: Likewise.
75280         * misc/listxattr.c: Likewise.
75281         * misc/llistxattr.c: Likewise.
75282         * misc/lremovexattr.c: Likewise.
75283         * misc/lsetxattr.c: Likewise.
75284         * misc/lutimes.c: Likewise.
75285         * misc/madvise.c: Likewise.
75286         * misc/mincore.c: Likewise.
75287         * misc/mlock.c: Likewise.
75288         * misc/mlockall.c: Likewise.
75289         * misc/mmap.c: Likewise.
75290         * misc/mprotect.c: Likewise.
75291         * misc/msync.c: Likewise.
75292         * misc/munlock.c: Likewise.
75293         * misc/munlockall.c: Likewise.
75294         * misc/munmap.c: Likewise.
75295         * misc/preadv.c: Likewise.
75296         * misc/preadv64.c: Likewise.
75297         * misc/ptrace.c: Likewise.
75298         * misc/pwritev.c: Likewise.
75299         * misc/pwritev64.c: Likewise.
75300         * misc/readv.c: Likewise.
75301         * misc/reboot.c: Likewise.
75302         * misc/remap_file_pages.c: Likewise.
75303         * misc/removexattr.c: Likewise.
75304         * misc/revoke.c: Likewise.
75305         * misc/select.c: Likewise.
75306         * misc/setdomain.c: Likewise.
75307         * misc/setegid.c: Likewise.
75308         * misc/seteuid.c: Likewise.
75309         * misc/sethostid.c: Likewise.
75310         * misc/sethostname.c: Likewise.
75311         * misc/setregid.c: Likewise.
75312         * misc/setreuid.c: Likewise.
75313         * misc/setxattr.c: Likewise.
75314         * misc/sstk.c: Likewise.
75315         * misc/stty.c: Likewise.
75316         * misc/swapoff.c: Likewise.
75317         * misc/swapon.c: Likewise.
75318         * misc/sync.c: Likewise.
75319         * misc/syncfs.c: Likewise.
75320         * misc/syscall.c: Likewise.
75321         * misc/truncate.c: Likewise.
75322         * misc/ualarm.c: Likewise.
75323         * misc/usleep.c: Likewise.
75324         * misc/ustat.c: Likewise.
75325         * misc/utimes.c: Likewise.
75326         * misc/vhangup.c: Likewise.
75327         * misc/writev.c: Likewise.
75328         * posix/_exit.c: Likewise.
75329         * posix/alarm.c: Likewise.
75330         * posix/execve.c: Likewise.
75331         * posix/fexecve.c: Likewise.
75332         * posix/fork.c: Likewise.
75333         * posix/fpathconf.c: Likewise.
75334         * posix/getaddrinfo.c: Likewise.
75335         * posix/getegid.c: Likewise.
75336         * posix/geteuid.c: Likewise.
75337         * posix/getgid.c: Likewise.
75338         * posix/getgroups.c: Likewise.
75339         * posix/getlogin.c: Likewise.
75340         * posix/getlogin_r.c: Likewise.
75341         * posix/getpgid.c: Likewise.
75342         * posix/getpid.c: Likewise.
75343         * posix/getppid.c: Likewise.
75344         * posix/getresgid.c: Likewise.
75345         * posix/getresuid.c: Likewise.
75346         * posix/getsid.c: Likewise.
75347         * posix/getuid.c: Likewise.
75348         * posix/glob64.c: Likewise.
75349         * posix/nanosleep.c: Likewise.
75350         * posix/pathconf.c: Likewise.
75351         * posix/pause.c: Likewise.
75352         * posix/posix_madvise.c: Likewise.
75353         * posix/pread.c: Likewise.
75354         * posix/pread64.c: Likewise.
75355         * posix/pwrite.c: Likewise.
75356         * posix/pwrite64.c: Likewise.
75357         * posix/sched_getaffinity.c: Likewise.
75358         * posix/sched_getp.c: Likewise.
75359         * posix/sched_gets.c: Likewise.
75360         * posix/sched_primax.c: Likewise.
75361         * posix/sched_primin.c: Likewise.
75362         * posix/sched_rr_gi.c: Likewise.
75363         * posix/sched_setaffinity.c: Likewise.
75364         * posix/sched_setp.c: Likewise.
75365         * posix/sched_sets.c: Likewise.
75366         * posix/sched_yield.c: Likewise.
75367         * posix/setgid.c: Likewise.
75368         * posix/setlogin.c: Likewise.
75369         * posix/setpgid.c: Likewise.
75370         * posix/setresgid.c: Likewise.
75371         * posix/setresuid.c: Likewise.
75372         * posix/setsid.c: Likewise.
75373         * posix/setuid.c: Likewise.
75374         * posix/sleep.c: Likewise.
75375         * posix/spawni.c: Likewise.
75376         * posix/sysconf.c: Likewise.
75377         * posix/times.c: Likewise.
75378         * posix/wait.c: Likewise.
75379         * posix/wait3.c: Likewise.
75380         * posix/wait4.c: Likewise.
75381         * posix/waitpid.c: Likewise.
75382         * resolv/gai_sigqueue.c: Likewise.
75383         * resource/getpriority.c: Likewise.
75384         * resource/getrlimit.c: Likewise.
75385         * resource/getrusage.c: Likewise.
75386         * resource/nice.c: Likewise.
75387         * resource/setpriority.c: Likewise.
75388         * resource/setrlimit.c: Likewise.
75389         * resource/ulimit.c: Likewise.
75390         * rt/aio_cancel.c: Likewise.
75391         * rt/aio_fsync.c: Likewise.
75392         * rt/aio_read.c: Likewise.
75393         * rt/aio_sigqueue.c: Likewise.
75394         * rt/aio_suspend.c: Likewise.
75395         * rt/aio_write.c: Likewise.
75396         * rt/clock_getres.c: Likewise.
75397         * rt/clock_gettime.c: Likewise.
75398         * rt/clock_nanosleep.c: Likewise.
75399         * rt/clock_settime.c: Likewise.
75400         * rt/lio_listio.c: Likewise.
75401         * rt/mq_close.c: Likewise.
75402         * rt/mq_getattr.c: Likewise.
75403         * rt/mq_notify.c: Likewise.
75404         * rt/mq_open.c: Likewise.
75405         * rt/mq_receive.c: Likewise.
75406         * rt/mq_send.c: Likewise.
75407         * rt/mq_setattr.c: Likewise.
75408         * rt/mq_timedreceive.c: Likewise.
75409         * rt/mq_timedsend.c: Likewise.
75410         * rt/mq_unlink.c: Likewise.
75411         * rt/shm_open.c: Likewise.
75412         * rt/shm_unlink.c: Likewise.
75413         * rt/timer_create.c: Likewise.
75414         * rt/timer_delete.c: Likewise.
75415         * rt/timer_getoverr.c: Likewise.
75416         * rt/timer_gettime.c: Likewise.
75417         * rt/timer_settime.c: Likewise.
75418         * setjmp/__longjmp.c: Likewise.
75419         * setjmp/setjmp.c: Likewise.
75420         * signal/kill.c: Likewise.
75421         * signal/killpg.c: Likewise.
75422         * signal/raise.c: Likewise.
75423         * signal/sigaction.c: Likewise.
75424         * signal/sigaltstack.c: Likewise.
75425         * signal/sigblock.c: Likewise.
75426         * signal/sigignore.c: Likewise.
75427         * signal/sigintr.c: Likewise.
75428         * signal/signal.c: Likewise.
75429         * signal/sigpause.c: Likewise.
75430         * signal/sigpending.c: Likewise.
75431         * signal/sigqueue.c: Likewise.
75432         * signal/sigreturn.c: Likewise.
75433         * signal/sigset.c: Likewise.
75434         * signal/sigsetmask.c: Likewise.
75435         * signal/sigstack.c: Likewise.
75436         * signal/sigsuspend.c: Likewise.
75437         * signal/sigtimedwait.c: Likewise.
75438         * signal/sigvec.c: Likewise.
75439         * signal/sigwait.c: Likewise.
75440         * signal/sigwaitinfo.c: Likewise.
75441         * signal/sysv_signal.c: Likewise.
75442         * socket/accept.c: Likewise.
75443         * socket/accept4.c: Likewise.
75444         * socket/bind.c: Likewise.
75445         * socket/connect.c: Likewise.
75446         * socket/getpeername.c: Likewise.
75447         * socket/getsockname.c: Likewise.
75448         * socket/getsockopt.c: Likewise.
75449         * socket/isfdtype.c: Likewise.
75450         * socket/listen.c: Likewise.
75451         * socket/recv.c: Likewise.
75452         * socket/recvfrom.c: Likewise.
75453         * socket/recvmsg.c: Likewise.
75454         * socket/send.c: Likewise.
75455         * socket/sendmsg.c: Likewise.
75456         * socket/sendto.c: Likewise.
75457         * socket/setsockopt.c: Likewise.
75458         * socket/shutdown.c: Likewise.
75459         * socket/sockatmark.c: Likewise.
75460         * socket/socket.c: Likewise.
75461         * socket/socketpair.c: Likewise.
75462         * stdio-common/ctermid.c: Likewise.
75463         * stdio-common/cuserid.c: Likewise.
75464         * stdio-common/remove.c: Likewise.
75465         * stdio-common/rename.c: Likewise.
75466         * stdio-common/renameat.c: Likewise.
75467         * stdio-common/tempname.c: Likewise.
75468         * stdlib/getcontext.c: Likewise.
75469         * stdlib/makecontext.c: Likewise.
75470         * stdlib/setcontext.c: Likewise.
75471         * stdlib/swapcontext.c: Likewise.
75472         * stdlib/system.c: Likewise.
75473         * streams/fattach.c: Likewise.
75474         * streams/fdetach.c: Likewise.
75475         * streams/getmsg.c: Likewise.
75476         * streams/getpmsg.c: Likewise.
75477         * streams/putmsg.c: Likewise.
75478         * streams/putpmsg.c: Likewise.
75479         * sysdeps/unix/bsd/getpt.c: Likewise.
75480         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
75481         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
75482         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
75483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
75484         Likewise.
75485         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
75486         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
75487         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
75488         * sysvipc/msgctl.c: Likewise.
75489         * sysvipc/msgget.c: Likewise.
75490         * sysvipc/msgrcv.c: Likewise.
75491         * sysvipc/msgsnd.c: Likewise.
75492         * sysvipc/semctl.c: Likewise.
75493         * sysvipc/semget.c: Likewise.
75494         * sysvipc/semop.c: Likewise.
75495         * sysvipc/semtimedop.c: Likewise.
75496         * sysvipc/shmat.c: Likewise.
75497         * sysvipc/shmctl.c: Likewise.
75498         * sysvipc/shmdt.c: Likewise.
75499         * sysvipc/shmget.c: Likewise.
75500         * termios/tcdrain.c: Likewise.
75501         * termios/tcflow.c: Likewise.
75502         * termios/tcflush.c: Likewise.
75503         * termios/tcgetattr.c: Likewise.
75504         * termios/tcgetpgrp.c: Likewise.
75505         * termios/tcsendbrk.c: Likewise.
75506         * termios/tcsetattr.c: Likewise.
75507         * termios/tcsetpgrp.c: Likewise.
75508         * time/adjtime.c: Likewise.
75509         * time/clock.c: Likewise.
75510         * time/getitimer.c: Likewise.
75511         * time/gettimeofday.c: Likewise.
75512         * time/setitimer.c: Likewise.
75513         * time/settimeofday.c: Likewise.
75514         * time/stime.c: Likewise.
75515         * time/time.c: Likewise.
75517 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
75519         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
75520         /usr/old/bin.
75522         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
75523         instead of spaces.
75524         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
75526 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
75528         [BZ #14796]
75529         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
75530         FE_TONEAREST before applying Dekker multiplication and Knuth
75531         addition.  Clear inexact exceptions and check for exact zero
75532         results afterwards.
75533         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75534         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
75535         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75536         * math/libm-test.inc (fma_test): Add more tests.
75537         (fma_test_towardzero): Likewise.
75538         (fma_test_downward): Likewise.
75539         (fma_test_upward): Likewise.
75540         * sysdeps/generic/math_private.h (default_libc_fesetround): New
75541         function.
75542         (libc_fesetround): New macro.
75543         (libc_fesetroundf): Likewise.
75544         (libc_fesetroundl): Likewise.
75545         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
75546         function.
75547         (libc_fesetround_387): Likewise.
75548         (libc_fesetroundf): New macro.
75549         (libc_fesetround): Likewise.
75550         (libc_fesetroundl): Likewise.
75551         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
75552         function.
75553         (libc_fesetroundf): New macro.
75554         (libc_fesetround): Likewise.
75555         (libc_fesetroundl): Likewise.
75556         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
75557         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
75558         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
75559         libm_hidden_ver.
75560         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
75561         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
75562         libm_hidden_def.
75563         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
75564         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
75565         libm_hidden_ver.
75566         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
75567         libm_hidden_def.
75569         [BZ #3439]
75570         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
75571         integer constant usable in #if and use that to give value to enum
75572         constant.
75573         (FE_DIVBYZERO): Likewise.
75574         (FE_UNDERFLOW): Likewise.
75575         (FE_OVERFLOW): Likewise.
75576         (FE_INVALID): Likewise.
75577         (FE_INVALID_SNAN): Likewise.
75578         (FE_INVALID_ISI): Likewise.
75579         (FE_INVALID_IDI): Likewise.
75580         (FE_INVALID_ZDZ): Likewise.
75581         (FE_INVALID_IMZ): Likewise.
75582         (FE_INVALID_COMPARE): Likewise.
75583         (FE_INVALID_SOFTWARE): Likewise.
75584         (FE_INVALID_SQRT): Likewise.
75585         (FE_INVALID_INTEGER_CONVERSION): Likewise.
75586         (FE_TONEAREST): Likewise.
75587         (FE_TOWARDZERO): Likewise.
75588         (FE_UPWARD): Likewise.
75589         (FE_DOWNWARD): Likewise.
75590         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
75591         (FE_DIVBYZERO): Likewise.
75592         (FE_OVERFLOW): Likewise.
75593         (FE_UNDERFLOW): Likewise.
75594         (FE_INEXACT): Likewise.
75595         (FE_TONEAREST): Likewise.
75596         (FE_DOWNWARD): Likewise.
75597         (FE_UPWARD): Likewise.
75598         (FE_TOWARDZERO): Likewise.
75599         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
75600         (FE_UNDERFLOW): Likewise.
75601         (FE_OVERFLOW): Likewise.
75602         (FE_DIVBYZERO): Likewise.
75603         (FE_INVALID): Likewise.
75604         (FE_TONEAREST): Likewise.
75605         (FE_TOWARDZERO): Likewise.
75606         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
75607         (FE_OVERFLOW): Likewise.
75608         (FE_UNDERFLOW): Likewise.
75609         (FE_DIVBYZERO): Likewise.
75610         (FE_INEXACT): Likewise.
75611         (FE_TONEAREST): Likewise.
75612         (FE_TOWARDZERO): Likewise.
75613         (FE_UPWARD): Likewise.
75614         (FE_DOWNWARD): Likewise.
75615         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
75616         (FE_DIVBYZERO): Likewise.
75617         (FE_OVERFLOW): Likewise.
75618         (FE_UNDERFLOW): Likewise.
75619         (FE_INEXACT): Likewise.
75620         (FE_TONEAREST): Likewise.
75621         (FE_DOWNWARD): Likewise.
75622         (FE_UPWARD): Likewise.
75623         (FE_TOWARDZERO): Likewise.
75625 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
75627         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
75629 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
75631         * scripts/cross-test-ssh.sh (command): Use newlines to separate
75632         commands.  Quote $PWD.
75633         (blacklist_exports): Don't use remove_newlines.  Replace "declare
75634         -x" by "export".
75635         (remove_newlines): Remove.
75637 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
75639         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
75640         * stdlib/stdlib.h (atof): Moved to ...
75641         * include/bits/stdlib-float.h: Here.  New file.
75642         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
75643         * stdlib/bits/stdlib-float.h: New file.
75644         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
75645         -mno-sse -mno-mmx.
75646         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
75647         <xmmintrin.h>.
75649 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75651         * conform/conformtest.pl (@headers): Add fenv.h.
75652         * conform/data/fenv.h-data: New file.
75653         * include/fenv.h [_ISOMAC]: Disable all contents of file except
75654         include of <math/fenv.h>.
75656         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
75657         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
75658         && !UNIX98].  Enables tests for XOPEN2K8.
75659         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
75660         POSIX2008]: Likewise.
75662         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
75663         (struct rusage): Do not expect type or its members.
75665         [BZ #3439]
75666         * math/math.h (FP_NAN): Define macro to integer constant usable in
75667         #if and use that to give value to enum constant.
75668         (FP_INFINITE): Likewise.
75669         (FP_ZERO): Likewise.
75670         (FP_SUBNORMAL): Likewise.
75671         (FP_NORMAL): Likewise.
75673 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
75675         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
75676         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
75677         arguments.
75679 2012-11-02  Roland McGrath  <roland@hack.frob.com>
75681         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
75682         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
75683         autoconf-time if not.
75684         * configure.in: Remove AC_PREREQ.
75686 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75688         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
75689         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
75690         of the internal implementation.
75692 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
75694         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
75695         except include of <misc/sys/syslog.h>.
75697 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
75700         function returns with a NULL context exit with zero.
75702 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75704         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
75706 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
75708         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
75709         (run_program_cmd): This.
75710         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
75711         (tst_langinfo): New variable.  Use it.
75713 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
75715         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
75716         floating point opcodes.
75718 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75720         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
75721         variable.
75723         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
75725         * sysdeps/mach/hurd/powerpc: Remove directory.
75726         * sysdeps/mach/powerpc: Likewise.
75728 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75730         * scripts/check-local-headers.sh: Ignore c++ headers.
75732 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75734         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
75735         __libc_cleanup_region_start argument.
75737 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
75739         [BZ #14784]
75740         [BZ #14785]
75741         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
75742         x * y using scaling, not as x * y + z.
75743         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75744         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75745         * math/libm-test.inc (fma_test): Add more tests.
75746         (fma_test_towardzero): Likewise.
75747         (fma_test_downward): Likewise.
75748         (fma_test_upward): Likewise.
75750 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
75752         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
75754 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75756         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
75757         New variable.
75759 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
75761         * rt/tst-shm.c (worker): Correct checking for mmap failure.
75763 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75766         Fix sort order.
75767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75768         Likewise.
75770 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75773         Fix the order of the list for glibc 2.17.
75774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75775         Likewise.
75777 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
75779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75781 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
75783         [BZ #14610]
75784         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
75785         for low part of x being zero before using __atanl (y).
75786         * math/libm-test.inc (atan2_test): Add another test.
75788         * manual/install.texi (Configuring and compiling): Document
75789         general use of test-wrapper and test-wrapper-env.
75790         * INSTALL: Regenerated.
75792         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
75793         (__fma): Do not extract and scale down low bits on after-rounding
75794         systems when result rounded to normal precision would have normal
75795         exponent.
75796         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
75797         (__fmal): Do not extract and scale down low bits on after-rounding
75798         systems when result rounded to normal precision would have normal
75799         exponent.
75800         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
75801         (__fmal): Do not extract and scale down low bits on after-rounding
75802         systems when result rounded to normal precision would have normal
75803         exponent.
75804         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
75805         macro.
75806         (fma_test): Add more tests.
75807         (fma_test_towardzero): Likewise.
75808         (fma_test_downward): Likewise.
75809         (fma_test_upward): Likewise.
75811 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
75813         * sysdeps/i386/tininess.h: Renamed to ...
75814         * sysdeps/x86/tininess.h: This.
75815         * sysdeps/x86_64/tininess.h: Removed.
75817 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75819         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
75820         input.  Use $(build-program-cmd).
75821         ($(objpfx)tst-array1-static.out): Likewise.
75822         ($(objpfx)tst-array2.out): Likewise.
75823         ($(objpfx)tst-array3.out): Likewise.
75824         ($(objpfx)tst-array4.out): Likewise.
75825         ($(objpfx)tst-array5.out): Likewise.
75826         ($(objpfx)tst-array5-static.out): Likewise.
75828 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
75830         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
75831         if defined.
75833         * nss/nsswitch.h (nss_interface_function): Provide new
75834         macro for use with NSS functions.
75835         * grp/initgroups.c: Use new macro.
75836         * nss/getXXbyYY.c: Likewise.
75837         * nss/getXXbyYY_r.c: Likewise.
75838         * nss/getXXent.c: Likewise.
75839         * nss/getXXent_r.c: Likewise.
75840         * sysdeps/posix/getaddrinfo.c: Likewise.
75842 2012-10-30  Andreas Jaeger  <aj@suse.de>
75844         * po/ru.po: Update Russion translation from translation project.
75846 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
75848         [BZ #14152]
75849         [BZ #14783]
75850         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
75851         result and shift together with sticky bit instead of replicating
75852         round-to-nearest rounding.
75853         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
75854         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
75855         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
75856         missing underflow exceptions.
75857         (fma_test_towardzero): Add more tests.
75858         (fma_test_downward): Likewise.
75859         (fma_test_upward): Likewise.
75861         [BZ #14047]
75862         * sysdeps/generic/tininess.h: New file.
75863         * sysdeps/i386/tininess.h: Likewise.
75864         * sysdeps/sh/tininess.h: Likewise.
75865         * sysdeps/x86_64/tininess.h: Likewise.
75866         * stdlib/tst-strtod-underflow.c: Likewise.
75867         * stdlib/tst-tininess.c: Likewise.
75868         * stdlib/strtod_l.c: Include <tininess.h>.
75869         (round_and_return): Do not set errno for exact underflow cases.
75870         Force an underflow exception when setting errno for underflow.
75871         Determine underflow based on rounding to normal precision if
75872         TININESS_AFTER_ROUNDING.
75873         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75874         ERANGE for exact underflow cases.
75875         * stdlib/Makefile (tests): Add tst-tininess and
75876         tst-strtod-underflow.
75877         ($(objpfx)tst-tininess): Use $(link-libm).
75878         ($(objpfx)tst-strtod-underflow): Likewise.
75880 2012-10-30  Andreas Jaeger  <aj@suse.de>
75882         [BZ #14767]
75883         * elf/Makefile (tests): Remove conditional for have-initfini-array
75884         since this is now always required and the variable does not exist
75885         anymore.
75886         (tests-static): Likewise.
75887         (modules-names): Likewise.
75889         * po/eo.po: Add Esperanto translation from translation project.
75891         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75892         merged with constructor/destructor.
75893         (init_array): Likewise.
75894         * elf/tst-array2dep.c (fini_array): Likewise.
75895         (init_array): Likewise.
75897 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75899         * manual/message.texi: Delete @cartouche tags.
75901 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75903         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75904         EOPNOTSUPP.
75905         * sysdeps/mach/hurd/fsync.c: Likewise.
75907         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75908         [_POSIX_REALTIME_SIGNALS]: Change condition to
75909         [_POSIX_REALTIME_SIGNALS > 0].
75911 2012-10-27  Andreas Jaeger  <aj@suse.de>
75913         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75914         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75915         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75916         [__WORDSIZE != 64]: Likewise.
75918 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75920         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75921         *  iconvdata/tst-tables.sh: Likewise.
75923 2012-10-25  David S. Miller  <davem@davemloft.net>
75925         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75926         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75927         of strtoull.
75929         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75930         ifunc-impl-list.c
75931         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75932         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75933         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75934         file.
75936 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75938         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75939         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75940         __getdirentries.
75942 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75943             Jim Blandy  <jimb@codesourcery.com>
75945         * scripts/cross-test-ssh.sh: New file.
75946         * manual/install.texi (Configuring and compiling): Document use of
75947         cross-test-ssh.sh.
75948         * INSTALL: Regenerated.
75950 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75952         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75953         EOPNOTSUPP.
75955 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75957         * Makeconfig (run-program-prefix): Fix comment.
75959 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75960             Jim Blandy  <jimb@codesourcery.com>
75962         * Makeconfig (test-wrapper): New variable,
75963         (test-wrapper-env): Likewise.
75964         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75965         (run-built-tests): Define to yes.
75966         (run-program-prefix): Use $(test-wrapper).
75967         (built-program-cmd): Likewise.
75968         * Rules (make-test-out): Use $(test-wrapper-env) and
75969         $(host-built-program-cmd).
75970         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75971         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75972         tst-pathopt.sh.
75973         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75974         $(test-wrapper-env) to tst-rtld-load-self.sh.
75975         ($(objpfx)order2.out): Use $(test-wrapper).
75976         ($(objpfx)tst-initorder.out): Likewise.
75977         ($(objpfx)tst-initorder2.out): Likewise.
75978         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75979         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75980         (test_wrapper_env): New variable.  Use it to run ld.so.
75981         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75982         Use it to run ld.so.
75983         (test_wrapper_env): Likewise.
75984         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75985         $(test-wrapper) to run-iconv-test.sh.
75986         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75987         (ICONV): Use $test_wrapper.
75988         * posix/Makefile ($(objpfx)globtest.out): Pass
75989         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75990         globtest.sh, not $(run-program-prefix).
75991         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75992         (test_wrapper): Likewise.
75993         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75994         set together with run_via_rtld_prefix.
75995         (run_program_prefix): Define in terms of test_wrapper and
75996         run_via_rtld_prefix.
75998 2012-10-24  Roland McGrath  <roland@hack.frob.com>
76000         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
76001         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
76002         Targets removed.
76004         [BZ #14743]
76005         * include/time.h: Remove librt_hidden_proto (clock_gettime).
76006         Declare __clock_getres, __clock_gettime, __clock_settime,
76007         __clock_nanosleep, and __clock_getcpuclockid.
76008         * rt/clock_gettime.c: Define __clock_gettime as an alias.
76009         Remove librt_hidden_def (clock_gettime).
76010         * sysdeps/unix/clock_gettime.c: Likewise.
76011         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
76012         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
76013         * rt/clock_getres.c: Define __clock_getres as an alias.
76014         * sysdeps/posix/clock_getres.c: Likewise.
76015         * rt/clock_settime.c: Define __clock_settime as an alias.
76016         * sysdeps/unix/clock_settime.c: Likewise.
76017         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
76018         * sysdeps/unix/clock_nanosleep.c: Likewise.
76019         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
76020         * rt/clock-compat.c: New file.
76021         * rt/Makefile (librt-routines): Add clock-compat and move
76022         $(clock-routines) to ...
76023         (routines): ... here, new variable.
76024         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
76025         Don't add get_clockfreq here.
76026         * rt/Versions (libc: GLIBC_2.17): New version set.
76027         Add clock_* symbols here.
76028         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
76029         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
76030         (GLIBC_2.17): Add clock_* symbols.
76031         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76035         Likewise.
76036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76037         Likewise.
76038         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76040         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76041         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76042         * NEWS: Mention the move.
76044         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
76045         Use __open, __read, __close rather than their public counterparts.
76046         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76047         (__get_clockfreq_via_cpuinfo): Likewise.
76048         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
76049         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
76051         * config.h.in (HAVE_IFUNC): New #undef.
76052         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
76053         was successful.
76054         * configure: Regenerated.
76056 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
76058         * configure.in: Move READELF check to start of file.
76059         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
76060         libc_cv_asm_gnu_indirect_function in the process.
76061         * configure: Regenerated.
76063 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
76065         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
76066         send the output to /dev/null.
76067         (libc_cv_cc_with_libunwind): Likewise.
76068         (libc_cv_as_noexecstack): Likewise.
76069         * configure: Regenerate.
76071 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
76073         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
76075         * posix/globtest.sh (TMPDIR): Do not set.
76076         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
76077         (testout): Likewise.
76079 2012-10-24  Andreas Jaeger  <aj@suse.de>
76081         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
76082         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
76083         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
76084         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
76085         posix_fadvise64, posix_fallocate64.
76087         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
76088         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
76089         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
76090         Likewise.
76091         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
76092         Likewise.
76093         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
76095         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
76096         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
76097         <bits/fcntl-linux.h>.
76098         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
76100         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
76101         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
76102         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
76103         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
76104         [__WORDSIZE != 64]: Likewise.
76106 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
76108         * Makeconfig (run-built-tests): New variable.
76109         * Rules [$(cross-compiling) = yes]: Change condition to
76110         [$(run-built-tests) = no].
76111         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
76112         to [$(run-built-tests) = yes].
76113         * elf/Makefile [$(cross-compiling) = no]: Likewise.
76114         * grp/Makefile [$(cross-compiling) = no]: Likewise.
76115         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
76116         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
76117         * intl/Makefile [$(cross-compiling) = no]: Likewise.
76118         * io/Makefile [$(cross-compiling) = no]: Likewise.
76119         * libio/Makefile [$(cross-compiling) = no]: Likewise.
76120         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
76121         * misc/Makefile [$(cross-compiling) = no]: Likewise.
76122         * posix/Makefile [$(cross-compiling) = no]: Likewise.
76123         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
76124         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
76125         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
76126         * string/Makefile [$(cross-compiling) = no]: Likewise.
76128         * posix/Makefile ($(objpfx)globtest.out): Pass
76129         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
76130         $(rtld-installed-name).
76131         * posix/globtest.sh (elf_objpfx): Remove variable.
76132         (rtld_installed_name): Likewise.
76133         (library_path): Likewise.
76134         (run_program_prefix): New variable.  Use for running globtest
76135         binary.
76137 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
76138             Joseph Myers  <joseph@codesourcery.com>
76140         * Makeconfig (host-built-program-cmd): New variable.
76141         * elf/Makefile (tst-stackguard1-ARGS): Use
76142         $(host-built-program-cmd).
76143         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
76144         (tst-spawn-ARGS): Likewise.
76145         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
76147 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
76148             Jim Blandy  <jimb@codesourcery.com>
76150         * Makeconfig (run-via-rtld-prefix): New variable.
76151         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
76152         (built-program-cmd): Likewise.
76154 2012-10-22  Andreas Jaeger  <aj@suse.de>
76156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
76157         __O_RSYNC if it exists, otherwise to O_SYNC.
76159 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
76160             Joseph Myers  <joseph@codesourcery.com>
76162         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
76163         /dev/null.
76164         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
76165         from /dev/null
76166         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
76167         /dev/null.
76169 2012-10-22  Andreas Jaeger  <aj@suse.de>
76171         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
76172         Define always.
76173         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
76175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76176         bits/fcntl-linux.h.
76178         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
76179         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
76181         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
76182         to __O_LARGEFILE.
76183         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
76184         to __O_LARGEFILE.
76186 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
76187             Joseph Myers  <joseph@codesourcery.com>
76189         * config.make.in (NM): New variable.
76191 2012-10-21  Andreas Jaeger  <aj@suse.de>
76193         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
76194         definitions and declarations that are provided by
76195         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
76197 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76199         [BZ #14683]
76200         * elf/Makefile (tests-static): Add tst-leaks1-static.
76201         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
76202         ($(objpfx)tst-leaks1-static): New rule.
76203         ($(objpfx)tst-leaks1-static-mem): Likewise.
76204         (tst-leaks1-static-ENV): New macro.
76205         * elf/dl-open.c (dl_open_worker): Check the main application
76206         only if SHARED is defined.
76207         * elf/tst-leaks1-static.c: New file.
76209 2012-10-20  Andreas Jaeger  <aj@suse.de>
76211         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
76212         generic values for Linux.
76213         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
76214         and declarations that are provided by <bits/fcntl-linux.h> and
76215         include <bits/fcntl-linux.h>.
76216         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
76217         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
76219 2012-10-20  Roland McGrath  <roland@hack.frob.com>
76221         * io/fcntl.h: Move include of <bits/types.h> to the top and
76222         include it unconditionally.
76224 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
76226         * wcsmbs/Makefile (tests-ifunc): New variable.
76227         (tests): Add $(tests-ifunc).
76228         * wcsmbs/test-wcschr-ifunc.c: New file.
76229         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
76230         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
76231         * wcsmbs/test-wcslen-ifunc.c: Likewise.
76232         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
76233         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
76235         * string/Makefile (tests-ifunc): New variable.
76236         (tests): Add $(tests-ifunc).
76237         * string/test-memccpy.c (TEST_NAME): New macro.
76238         * string/test-memchr.c (TEST_NAME): Likewise.
76239         * string/test-memcmp.c (TEST_NAME): Likewise.
76240         * string/test-memcpy.c (TEST_NAME): Likewise.
76241         * string/test-memmem.c (TEST_NAME): Likewise.
76242         * string/test-memmove.c (TEST_NAME): Likewise.
76243         * string/test-memset.c (TEST_NAME): Likewise.
76244         * string/test-rawmemchr.c (TEST_NAME): Likewise.
76245         * string/test-stpcpy.c (TEST_NAME): Likewise.
76246         * string/test-stpncpy.c (TEST_NAME): Likewise.
76247         * string/test-strcasecmp.c (TEST_NAME): Likewise.
76248         * string/test-strcasestr.c (TEST_NAME): Likewise.
76249         * string/test-strcat.c (TEST_NAME): Likewise.
76250         * string/test-strchr.c (TEST_NAME): Likewise.
76251         * string/test-strcmp.c(TEST_NAME): Likewise.
76252         * string/test-strcpy.c (TEST_NAME): Likewise.
76253         * string/test-strcspn.c (TEST_NAME): Likewise.
76254         * string/test-strlen.c (TEST_NAME): Likewise.
76255         * string/test-strncasecmp.c (TEST_NAME): Likewise.
76256         * string/test-strncmp.c (TEST_NAME): Likewise.
76257         * string/test-strncpy.c (TEST_NAME): Likewise.
76258         * string/test-strnlen.c (TEST_NAME): Likewise.
76259         * string/test-strpbrk.c (TEST_NAME): Likewise.
76260         * string/test-strrchr.c (TEST_NAME): Likewise.
76261         * string/test-strspn.c (TEST_NAME): Likewise.
76262         * string/test-strstr.c (TEST_NAME): Likewise.
76263         * string/test-bcopy-ifunc.c: New file.
76264         * string/test-bzero-ifunc.c: Likewise.
76265         * string/test-memccpy-ifunc.c: Likewise.
76266         * string/test-memchr-ifunc.c: Likewise.
76267         * string/test-memcmp-ifunc.c: Likewise.
76268         * string/test-memcpy-ifunc.c: Likewise.
76269         * string/test-memmem-ifunc.c: Likewise.
76270         * string/test-memmove-ifunc.c: Likewise.
76271         * string/test-mempcpy-ifunc.c: Likewise.
76272         * string/test-memset-ifunc.c: Likewise.
76273         * string/test-rawmemchr-ifunc.c: Likewise.
76274         * string/test-stpcpy-ifunc.c: Likewise.
76275         * string/test-stpncpy-ifunc.c: Likewise.
76276         * string/test-strcasecmp-ifunc.c: Likewise.
76277         * string/test-strcasestr-ifunc.c: Likewise.
76278         * string/test-strcat-ifunc.c: Likewise.
76279         * string/test-strchr-ifunc.c: Likewise.
76280         * string/test-strchrnul-ifunc.c: Likewise.
76281         * string/test-strcmp-ifunc.c: Likewise.
76282         * string/test-strcpy-ifunc.c: Likewise.
76283         * string/test-strcspn-ifunc.c: Likewise.
76284         * string/test-strlen-ifunc.c: Likewise.
76285         * string/test-strncasecmp-ifunc.c: Likewise.
76286         * string/test-strncat-ifunc.c: Likewise.
76287         * string/test-strncmp-ifunc.c: Likewise.
76288         * string/test-strncpy-ifunc.c: Likewise.
76289         * string/test-strnlen-ifunc.c: Likewise.
76290         * string/test-strpbrk-ifunc.c: Likewise.
76291         * string/test-strrchr-ifunc.c: Likewise.
76292         * string/test-strspn-ifunc.c: Likewise.
76293         * string/test-strstr-ifunc.c: Likewise.
76295         * debug/Makefile (tests-ifunc): New variable.
76296         (tests): Add $(tests-ifunc).
76297         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
76298         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
76299         * debug/test-stpcpy_chk-ifunc.c: New file.
76300         * debug/test-strcpy_chk-ifunc.c: Likewise.
76302 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
76304         [BZ #13601]
76305         * elf/dl-load.c (open_verify): Retry read if the entire ELF
76306         header is not read in.
76308 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
76310         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
76311         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
76312         directly.  Pass built executable to script as
76313         $(built-program-cmd).
76314         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
76315         $testprogram without using LD_LIBRARY_PATH and $ldso.
76317         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
76318         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
76319         $(rtld-installed-name).
76320         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
76321         (rtld_installed_name): Likewise.
76322         (library_path): Likewise.
76323         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
76324         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
76325         $(run-program-prefix) to tst-tables.sh.
76326         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
76327         it to run tst-table-from and tst-table-to.
76328         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
76329         Pass it to tst-table.sh.
76330         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
76331         $(run-program-prefix) to tst-gettext.sh.
76332         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
76333         tst-translit.sh.
76334         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
76335         tst-gettext2.sh.
76336         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
76337         to run tst-gettext.
76338         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
76339         to run tst-gettext2.
76340         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
76341         to run tst-translit.
76342         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
76343         $(run-program-prefix) to tst-mtrace.sh.
76344         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
76345         to run tst-mtrace.
76346         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
76347         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
76348         $(rtld-installed-name).
76349         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
76350         (rtld_installed_name): Likewise.
76351         (run_program_prefix): New variable.  Use it to run wordexp-test.
76353         * Makeconfig (ARCH): Remove all definitions.
76354         (machine): Likewise.
76355         [ARCH]: Remove conditional code.
76356         [!objdir]: Give error.
76357         [!objdir] (objpfx): Remove.
76358         [!objdir] (common-objpfx): Likewise.
76359         [!objdir] (common-objdir): Likewise.
76360         * configure.in (config_makefile): Remove.  Hardcode Makefile in
76361         AC_CONFIG_FILES call.
76362         * configure: Regenerated.
76364         [BZ #13888]
76365         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
76366         or TMPDIR.
76367         (testout): Likewise.
76369         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
76370         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
76371         $(rtld-installed-name).
76372         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
76373         (rtld_installed_name): Likewise.
76374         (runit): Remove function.
76375         (run_getconf): New variable,  Use it for running getconf binary.
76377 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
76379         [BZ #14716]
76380         * string/test-memmem.c (check_result): New function.
76381         (do_one_test): Use it.
76382         (check1): New function.
76383         (test_main): Use it.
76385 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
76387         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
76389 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
76391         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
76392         (_G_LSEEK64): Likewise.
76393         (_G_MMAP64): Likewise.
76394         (_G_FSTAT64): Likewise.
76395         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
76396         (_G_LSEEK64): Likewise.
76397         (_G_MMAP64): Likewise.
76398         (_G_FSTAT64): Likewise.
76399         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
76400         unconditional.  Call __mmap64 directly.
76401         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
76402         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
76403         __lseek64 directly.
76404         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
76405         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
76406         __mmap64 directly.
76407         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
76408         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76409         __lseek64 directly.
76410         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
76411         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
76412         __lseek64 directly.
76413         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
76414         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
76415         __lseek64 directly.
76416         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
76417         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
76418         __fxstat64 directly.
76419         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
76420         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
76421         unconditional.
76422         (freopen64) [!_G_OPEN64]: Remove conditional code.
76423         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
76424         unconditional.
76425         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
76426         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
76427         unconditional.
76428         (ftello64) [!_G_LSEEK64]: Remove conditional code.
76429         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
76430         unconditional.
76431         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76432         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
76433         unconditional.
76434         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
76435         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
76436         unconditional.
76437         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76438         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
76439         unconditional.
76440         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
76441         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
76442         unconditional.
76443         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
76445 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
76447         [BZ #12140]
76448         * manual/memory.texi (Malloc Tunable Parameters): Add note
76449         about free list pointers overwriting some perturb bytes.
76450         Wording suggested by Roland McGrath.
76452 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
76454         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
76455         (lgamma_test): Likewise.
76456         (tgamma_test): Likewise.
76458 2012-10-16  Florian Weimer  <fweimer@redhat.com>
76460         [BZ #14700]
76461         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
76462         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
76464 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
76466         * NEWS: Mention BZ #14716.
76467         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
76468         when removing AVAILABLE1_USES_J macro.
76470 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
76472         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
76473         (__bswap_64): __uint64_t for unsigned 64-bit int.
76475 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
76477         * include/string.h (memmem): Declare libc hidden alias.
76478         * string/memmem.c (memmem): Define libc hidden alias.
76479         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
76480         __read, __close instead of open, read, close.
76482 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
76484         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
76485         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
76486         global and hidden.
76487         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
76488         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
76489         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
76490         Likewise.
76491         (__rawmemchr_sse2): Likewise.
76492         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
76493         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
76494         (__strchr_sse2): Likewise.
76495         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
76496         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
76497         (__strcasecmp_sse2): Likewise.
76498         (__strncasecmp_sse2): Likewise.
76499         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
76500         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
76501         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
76502         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
76503         (__strrchr_sse2): Likewise.
76504         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
76505         ifunc-impl-list.c.
76506         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
76507         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
76508         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
76509         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
76510         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
76511         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
76512         * sysdeps/x86_64/multiarch/memset.S: Likewise.
76513         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
76514         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
76515         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
76516         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
76517         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
76518         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
76519         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
76520         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
76521         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
76522         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
76523         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
76524         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
76525         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
76526         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
76527         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
76528         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
76529         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
76530         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
76531         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
76532         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
76533         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
76534         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
76535         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
76537         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
76538         global and hidden.
76539         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
76540         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
76541         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
76542         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
76543         Likewise.
76544         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
76545         Likewise.
76546         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
76547         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
76548         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
76549         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
76550         ifunc-impl-list.c.
76551         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
76552         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
76553         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
76554         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
76555         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
76556         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
76557         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
76558         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
76559         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
76560         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
76561         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
76562         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
76563         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
76564         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
76565         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
76566         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
76567         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
76568         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
76569         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
76570         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
76571         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
76572         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
76573         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
76574         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
76575         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
76576         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
76577         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
76578         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
76579         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
76580         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
76581         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
76582         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
76583         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
76584         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
76585         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
76586         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
76587         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
76588         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
76589         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
76590         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
76591         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
76593         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
76594         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
76595         * include/ifunc-impl-list.h: New file.
76596         * misc/ifunc-impl-list.c: Likewise.
76597         * misc/Makefile (routines): Add ifunc-impl-list.
76598         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
76599         * string/test-string.h: Include <ifunc-impl-list.h>.
76600         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
76601         TEST_NAME]: New variables.
76602         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
76603         are defined.
76604         (test_init): Call __libc_ifunc_impl_list to initialize
76605         func_list if TEST_IFUNC and TEST_NAME are defined.
76607         * string/Makefile (strop-tests): Add bcopy and bzero.
76608         * string/test-bcopy.c: New file.
76609         * string/test-bzero.c: Likewise.
76610         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
76611         defined.
76612         * string/test-memset.c: Support bzero test if TEST_BZERO is
76613         defined.
76614         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
76615         __libc_memmove.
76616         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
76617         __libc_memset.
76618         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
76619         of memset.
76621 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
76623         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
76624         * configure: Regenerated.
76626         * Makeconfig (+link-static-before-libc): Don't include
76627         $(link-static-libc).
76629         * libio/libio.h (_IO_pos_t): Remove.
76631 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76633         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
76634         McGrath.
76636 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76638         * crypt/crypt-entry.c: Include fips-private.h.
76639         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
76640         * crypt/md5c-test.c (main): Tolerate disabled MD5.
76641         * sysdeps/unix/sysv/linux/fips-private.h: New file.
76642         * sysdeps/generic/fips-private.h: New file, dummy fallback.
76644 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
76646         * crypt/crypt-private.h: Include stdbool.h.
76647         (_ufc_setup_salt_r): Return bool.
76648         * crypt/crypt-entry.c: Include errno.h.
76649         (__crypt_r): Return NULL with EINVAL for bad salt.
76650         * crypt/crypt_util.c (bad_for_salt): New.
76651         (_ufc_setup_salt_r): Check that salt is long enough and within
76652         the specified alphabet.
76653         * crypt/badsalttest.c: New file.
76654         * crypt/Makefile (tests): Add it.
76655         ($(objpfx)badsalttest): New.
76657 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
76659         * NEWS: Add entry for BZ #14602.
76661 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76663         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
76664         type-generic.
76665         * math/libm-test.inc: Update comment listing what functions and
76666         macros are tested.
76667         (isgreater_test): New function.
76668         (isgreaterequal_test): Likewise.
76669         (isless_test): Likewise.
76670         (islessequal_test): Likewise.
76671         (islessgreater_test): Likewise.
76672         (isunordered_test): Likewise.
76673         (main): Call the new functions.
76675 2012-10-09  Roland McGrath  <roland@hack.frob.com>
76677         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
76678         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
76679         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
76680         * sysdeps/i386/configure: Regenerated.
76681         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
76682         * sysdeps/mach/configure: Regenerated.
76683         * sysdeps/mach/hurd/configure: Regenerated.
76684         * sysdeps/powerpc/configure: Regenerated.
76685         * sysdeps/powerpc/powerpc32/configure: Regenerated.
76686         * sysdeps/powerpc/powerpc64/configure: Regenerated.
76687         * sysdeps/s390/s390-32/configure: Regenerated.
76688         * sysdeps/s390/s390-64/configure: Regenerated.
76689         * sysdeps/sh/configure: Regenerated.
76690         * sysdeps/sparc/configure: Regenerated.
76691         * sysdeps/unix/sysv/linux/configure: Regenerated.
76692         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
76693         * sysdeps/x86_64/configure: Regenerated.
76695         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
76696         defined.  Don't check if MAP is NULL.
76698 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
76700         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
76701         (_G_stat64): Likewise.
76702         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
76703         (_G_stat64): Likewise.
76704         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
76705         instead of struct _G_stat64.
76706         * libio/fileops.c (mmap_remap_check): Likewise.
76707         (decide_maybe_mmap): Likewise.
76708         (_IO_new_file_seekoff): Likewise.
76709         (_IO_file_stat): Likewise.
76710         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
76711         _G_off64_t.
76712         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
76713         instead of struct _G_stat64.
76714         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76716 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
76718         [BZ #14602]
76719         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76720         Replace with ...
76721         (CHECK_EOL): New macro.
76722         (two_way_short_needle): Check beginning of haystack for EOL.  Use
76723         CHECK_EOL.
76724         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76725         Replace with CHECK_EOL.
76726         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
76727         Replace with CHECK_EOL.
76729 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
76731         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
76732         type-generic.
76733         * math/libm-test.inc: Update comment listing what functions and
76734         macros are tested.
76735         (finite_test): New function.
76736         (isinf_test): Likewise.
76737         (isnan_test): Likewise.
76738         (fpclassify_test): Test subnormal input.
76739         (isfinite_test): Likewise.
76740         (isnormal_test): Likewise.
76741         (main): Call the new functions.
76743 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
76745         [BZ #14660]
76746         * Makerules (%.dynsym): Force C locale when running
76747         $(OBJDUMP) --dynamic-syms.
76749 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
76751         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
76752         <stdint.h>.
76754 2012-10-06  David S. Miller  <davem@davemloft.net>
76756         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
76757         upper 32-bits of the length value in %o2 since we use branch-on-register
76758         tests which consider the entire 64-bit register.
76760 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
76762         * string/test-strstr.c (check2): Add a test for page boundary.
76764 2012-10-05  David S. Miller  <davem@davemloft.net>
76766         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
76767         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
76768         file.
76769         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76770         sysdep_routines.
76771         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76772         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
76773         and bzero when HWCAP_SPARC_CRYPTO is present.
76775 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
76777         [BZ #14602]
76778         * string/test-strstr.c (check2): New function.
76779         (test_main): Call check2.
76781         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
76782         and bug-strchr1.
76783         * string/bug-strcasestr1.c (do_test): Moved to ...
76784         * string/test-strcasestr.c (check1): Here.  New function.
76785         (do_one_test): Break out result checking code into ...
76786         (check_result): This.  New function.
76787         (do_one_test): Call check_result.
76788         (test_main): Call check1.
76789         * string/bug-strchr1.c (do_test): Moved to ...
76790         * string/test-strchr.c (check1): Here.  New function.
76791         (do_one_test): Break out result checking code into ...
76792         (check_result): This.  New function.
76793         (do_one_test): Call check_result.
76794         (test_main): Call check1.
76795         * string/bug-strstr1.c (main): Moved to ...
76796         * string/test-strstr.c (check1): Here.  New function.
76797         (do_one_test): Break out result checking code into ...
76798         (check_result): This.  New function.
76799         (do_one_test): Call check_result.
76800         (test_main): Call check1.
76801         * string/bug-strcasestr1.c: Removed.
76802         * string/bug-strchr1.c: Likewise.
76803         * string/bug-strstr1.c: Likewise.
76805         * elf/Makefile (dl-routines): Add hwcaps.
76806         * elf/dl-support.c (_dl_important_hwcaps): Removed.
76807         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
76808         (_dl_important_hwcaps): Moved to ...
76809         * elf/dl-hwcaps.c: Here.  New file.
76810         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
76812         [BZ #14557]
76813         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
76814         if IS_IN_rtld isn't defined.
76816         * elf/dl-support.c (_dl_sysinfo_map): New.
76817         Include "get-dynamic-info.h" and "setup-vdso.h".
76818         (_dl_non_dynamic_init): Call setup_vdso.
76819         * elf/dynamic-link.h: Don't include <assert.h>.
76820         (elf_get_dynamic_info): Moved to ...
76821         * elf/get-dynamic-info.h: Here.  New file.
76822         * elf/dynamic-link.h: Include "get-dynamic-info.h".
76823         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
76824         * elf/setup-vdso.h: Here.  New file.
76825         * elf/rtld.c: Include "setup-vdso.h".
76826         (dl_main): Call setup_vdso.
76828 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
76830         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
76831         creal in comment listing functions tested.  List finite, isinf,
76832         isnan, isless, islessequal, isgreater, isgreaterequal,
76833         islessgreater, isunordered, lgamma_r and pow10 as functions and
76834         macros not tested.  Mention which functions not tested are aliases
76835         for other functions.  Fix typo.  Note that signs of NaNs are not
76836         tested.
76838         * scripts/config.guess: Update from config.git.
76839         * scripts/config.sub: Likewise.
76841 2012-10-04  Roland McGrath  <roland@hack.frob.com>
76843         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
76844         * misc/madvise.c (madvise): Renamed to __madvise.
76845         Make madvise a weak alias.
76846         * include/sys/mman.h: Declare __madvise.
76847         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
76848         * sysdeps/unix/syscalls.list
76849         (madvise): Make __madvise the strong name, and madvise a weak alias.
76850         * sysdeps/unix/sysv/linux/syscalls.list
76851         (madvise, mmap): Remove redundant entries.
76852         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
76853         * malloc/malloc.c (mtrim): Likewise.
76854         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
76856 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76858         * sysdeps/mach/hurd/dl-cache.c: File removed.
76859         * config.h.in (USE_LDCONFIG): New #undef.
76860         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76861         * configure: Regenerated.
76862         * elf/Makefile (dl-routines): Add dl-cache only under
76863         [$(use-ldconfig) = yes].
76864         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76865         cache on [USE_LDCONFIG].
76866         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76867         [USE_LDCONFIG].
76868         * elf/rtld.c (dl_main): Likewise.
76870 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76872         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76873         _SC_LEVEL4_CACHE_LINESIZE.
76875 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76877         * sysdeps/unix/bsd/confstr.h: File removed.
76879 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76881         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76882         sys/sdt-config.h.
76884 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76886         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76887         Make 'mapoff' field ElfW(Off) rather than off_t.
76889 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76891         * nscd/Makefile: Remove nscd-cflags and all its users.
76892         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76893         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76895         [BZ #10631]
76896         * malloc.c (malloc_printerr): Clarify error message.
76898 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76900         [BZ #14648]
76901         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76902         Set bit_FMA_Usable if FMA is supported.
76903         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76904         macro.
76905         (bit_FMA4_Usable): Updated.
76906         (index_FMA_Usable): New macro.
76907         (CPUID_FMA): Likewise.
76908         (HAS_FMA): Defined with bit_FMA_Usable.
76910 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76912         * bits/types.h (__swblk_t): Type removed.
76913         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76914         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76915         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76916         (__SWBLK_T_TYPE): Likewise.
76917         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76918         (__SWBLK_T_TYPE): Likewise.
76919         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76920         (__SWBLK_T_TYPE): Likewise.
76921         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76922         (__SWBLK_T_TYPE): Likewise.
76924 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76925             Honza Horak <hhorak@redhat.com>
76927         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76928         (xdr_mapname): Use YPMAXMAP as maxsize.
76929         (xdr_peername): Use YPMAXPEER as maxsize.
76930         (xdr_keydat): Use YPAXRECORD as maxsize.
76931         (xdr_valdat): Use YPMAXRECORD as maxsize.
76933 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76935         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76937         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76938         * csu/init-first.c: ... here.
76939         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76940         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76941         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76942         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76943         * sysdeps/i386/init-first.c: File removed.
76944         * sysdeps/sh/init-first.c: File removed.
76946 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76948         [BZ #14645]
76949         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76950         if x * y might underflow to zero and z is zero.
76951         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76952         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76953         * math/libm-test.inc (min_subnorm_value): New variable.
76954         (fma_test): Add more tests.
76955         (fma_test_towardzero): Likewise.
76956         (fma_test_downward): Likewise.
76957         (fma_test_upward): Likewise.
76958         (initialize): Set min_subnorm_value.
76960 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76962         [BZ #14638]
76963         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76964         0 + 0.
76965         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76966         mode for addition resulting in exact zero.
76967         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76968         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76969         exact 0 + 0.
76970         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76971         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76972         * math/libm-test.inc (fma_test): Add more tests.
76973         (fma_test_towardzero): New function.
76974         (fma_test_downward): Likewise.
76975         (fma_test_upward): Likewise.
76976         (main): Call the new functions.
76978 2012-09-28  David S. Miller  <davem@davemloft.net>
76980         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76982 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76984         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76985         instead of SIGALRM.
76987         * sysdeps/gnu/_G_config.h: Moved to ...
76988         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76989         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76990         * sysdeps/generic/_G_config.h: ... here.
76992         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76994         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76996         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76997         Conditionalize target on [libnss_test1.so-version].
76999         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
77001         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
77002         (elfobjdir): Move out of conditionals.
77004         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
77005         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
77006         (__nss_lookup_function): Conditionalize label remove_from_tree on
77007         [!DO_STATIC_NSS || SHARED], matching its only use.
77009 2012-09-28  David S. Miller  <davem@davemloft.net>
77011         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
77012         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
77013         file.
77014         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
77015         sysdep_routines.
77016         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
77017         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
77018         when HWCAP_SPARC_CRYPTO is present.
77020 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
77022         * io/tst-mknodat.c: Create a FIFO instead of a socket.
77024 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
77026         [BZ #6530]
77027         * stdio-common/vfprintf.c (process_string_arg): Revert
77028         2000-07-22 change.
77030 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
77032         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
77033         for testcase.
77034         * stdio-common/tst-sprintf.c: Include <locale.h>
77035         (main): Test sprintf's handling of incomplete multibyte
77036         characters.
77038 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
77040         * elf/dl-runtime.c (VERSYMIDX): Removed.
77041         * elf/dl-version.c (VERSYMIDX): Likewise.
77042         * elf/do-rel.h (VERSYMIDX): Likewise.
77043         (VALIDX): Likewise.
77044         * elf/dynamic-link.h (VERSYMIDX): Likewise.
77045         * elf/rtld.c (VALIDX): Likewise.
77046         (ADDRIDX): Likewise.
77047         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
77048         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
77049         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
77050         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
77051         (VALIDX): Likewise.
77052         (ADDRIDX): Likewise.
77054 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
77056         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
77058 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
77060         [BZ #11438]
77061         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
77062         to global scope.
77063         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
77064         addresses are in the same scope as 192.0.2/24.
77065         * posix/gai.conf: Document new scope table defaults.
77067 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77069         [BZ #5298]
77070         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
77071         for ftell.  Compute offsets from write pointers instead.
77072         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
77074 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
77076         [BZ #14543]
77077         * libio/Makefile (tests): New test case tst-fseek.
77078         * libio/tst-fseek.c: New test case to verify that fseek/ftell
77079         combination works in wide mode.
77080         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
77081         state when the external buffer state changes.
77083 2012-09-27  David S. Miller  <davem@davemloft.net>
77085         [BZ #14376]
77086         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
77087         pass reloc->r_addend in as the 'high' argument to
77088         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
77090         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77092 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
77094         * rt/tst-aio2.c: Include <pthread.h>.
77095         * rt/tst-aio3.c: Likewise.
77097 2012-09-27  Steve Ellcey  <sellcey@mips.com>
77099         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
77101 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
77103         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
77104         contents on [SHARED].
77106 2012-09-26  Marek Polacek  <polacek@redhat.com>
77108         [BZ #14530]
77109         [BZ #13741]
77110         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
77111         for C++ and GCC <4.3 as well as for non GCC compilers.
77113 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
77115         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77117 2012-09-25  Roland McGrath  <roland@hack.frob.com>
77119         * Makefile.in (all, install): Declare with .PHONY.
77120         Reported by Michael Hope <michael.hope@linaro.org>.
77122 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77124         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
77125         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
77126         system header.
77127         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
77128         Likewise.
77129         (sydep_routines): Add the new and the internal functions.
77130         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
77131         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
77132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
77133         (GLIBC_2.17): Add the new function.
77134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77135         (GLIBC_2.17): Likewise.
77136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
77137         (GLIBC_2.17): Likewise.
77138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
77139         (GLIBC_2.17): Likewise.
77140         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
77142 2012-09-25  Alan Modra  <amodra@gmail.com>
77144         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
77145         Add release barrier before setting once_control to say
77146         initialisation is done.  Add hints on lwarx.  Use macro in
77147         place of isync.
77148         (clear_once_control): Add release barrier.
77150 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77152         [BZ #13629]
77153         * math/s_clog.c (__clog): Handle more values close to |z| = 1
77154         specially.
77155         * math/s_clog10.c (__clog10): Likewise.
77156         * math/s_clog10f.c (__clog10f): Likewise.
77157         * math/s_clog10l.c (__clog10l): Likewise.
77158         * math/s_clogf.c (__clogf): Likewise.
77159         * math/s_clogl.c (__clogl): Likewise.
77160         * math/Makefile (libm-calls): Add x2y2m1.
77161         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
77162         (__x2y2m1): Likewise.
77163         (__x2y2m1l): Likewise.
77164         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
77165         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
77166         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
77167         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
77168         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
77169         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
77170         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
77171         * sysdeps/i386/fpu/libm-test-ulps: Update.
77172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77174         [BZ #14621]
77175         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
77176         int as type of variable DEPTH.
77177         (glob): Use size_t instead of int as type of variables NEWCOUNT
77178         and OLD_PATHC.
77180 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77182         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77183         Add s_sincosf-sse2.
77184         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
77185         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
77186         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
77187         macros for using routine as __sincosf_ia32.
77188         Use macro for function declaration and weak_alias.
77189         * sysdeps/i386/fpu/libm-test-ulps: Update.
77191         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
77192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77194         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
77195         subnormal argument.
77196         * math/s_cexpf.c (__cexpf): Likewise.
77197         * math/s_csinf.c (__csinf): Likewise.
77198         * math/s_csinhf.c (__csinhf): Likewise.
77199         * math/s_ctanf.c (__ctanf): Likewise.
77200         * math/s_ctanhf.c (__ctanhf): Likewise.
77201         * math/s_ccosh.c (__ccoshf): Likewise.
77202         * math/s_cexp.c (__cexpl): Likewise.
77203         * math/s_csin.c (__csin): Likewise.
77204         * math/s_csinh.c (__csinh): Likewise.
77205         * math/s_ctan.c (__ctan): Likewise.
77206         * math/s_ctanh.c (ctanh): Likewise.
77207         * math/s_ccoshl.c (__ccoshl): Likewise.
77208         * math/s_cexpl.c (__cexpl): Likewise.
77209         * math/s_csinl.c (__csinl): Likewise.
77210         * math/s_csinhl.c (__csinhl): Likewise.
77211         * math/s_ctanl.c (__ctanl): Likewise.
77212         * math/s_ctanhl.c (__ctanhl): Likewise.
77214 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
77216         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
77217         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
77218         (_IO_off_t): Define to __off_t, not _G_off_t.
77219         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
77220         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
77221         (_IO_wint_t): Define to wint_t, not _G_wint_t.
77222         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
77223         type of __dummy and __dummy2 fields.
77224         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
77225         (_G_ssize_t): Likewise.
77226         (_G_off_t): Likewise.
77227         (_G_pid_t): Likewise.
77228         (_G_uid_t): Likewise.
77229         (_G_wchar_t): Likewise.
77230         (_G_wint_t): Likewise.
77231         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
77232         (_G_ssize_t): Likewise.
77233         (_G_off_t): Likewise.
77234         (_G_pid_t): Likewise.
77235         (_G_uid_t): Likewise.
77236         (_G_wchar_t): Likewise.
77237         (_G_wint_t): Likewise.
77238         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
77239         (_G_ssize_t): Likewise.
77240         (_G_off_t): Likewise.
77241         (_G_pid_t): Likewise.
77242         (_G_uid_t): Likewise.
77243         (_G_wchar_t): Likewise.
77244         (_G_wint_t): Likewise.
77246 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77248         * malloc/arena.c: Include malloc-sysdep.h.
77249         (shrink_heap): Use check_may_shrink_heap to decide if madvise
77250         is sufficient to shrink the heap or an unmap is needed.
77251         * sysdeps/generic/malloc-sysdep.h: New file.  Define
77252         new function check_may_shrink_heap.
77253         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
77254         new function check_may_shrink_heap.
77256 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
77258         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
77259         comments.
77261 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
77263         * catgets/test-gencat.sh: Add "set -e".
77264         * elf/tst-pathopt.sh: Likewise.
77265         * grp/tst_fgetgrent.sh: Likewise.
77266         * iconvdata/run-iconv-test.sh: Likewise.
77267         * intl/tst-gettext.sh: Likewise.
77268         * intl/tst-gettext2.sh: Likewise.
77269         * intl/tst-gettext4.sh: Likewise.
77270         * intl/tst-gettext6.sh: Likewise.
77271         * intl/tst-translit.sh: Likewise.
77272         * io/ftwtest-sh: Likewise.
77273         * libio/test-freopen.sh: Likewise.
77274         * malloc/tst-mtrace.sh: Likewise.
77275         * posix/globtest.sh: Likewise.
77276         * posix/tst-getconf.sh: Likewise.
77277         * posix/wordexp-tst.sh: Likewise.
77278         * stdio-common/tst-printf.sh: Likewise.
77279         * stdio-common/tst-unbputc.sh: Likewise.
77280         * stdlib/tst-fmtmsg.sh: Likewise.
77281         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77282         * catgets/Makefile: Do not specify -e option when running
77283         testsuite shell scripts.
77284         * elf/Makefile: Likewise.
77285         * grp/Makefile: Likewise.
77286         * iconvdata/Makefile: Likewise.
77287         * intl/Makefile: Likewise.
77288         * io/Makefile: Likewise.
77289         * libio/Makefile: Likewise.
77290         * malloc/Makefile: Likewise.
77291         * posix/Makefile: Likewise.
77292         * stdio-common/Makefile: Likewise.
77293         * stdlib/Makefile: Likewise.
77294         * sysdeps/x86_64/Makefile: Likewise.
77296         * io/ftwtest-sh: Add copyright header.
77297         * posix/globtest.sh: Likewise.
77298         * posix/tst-getconf.sh: Likewise.
77299         * posix/wordexp-tst.sh: Likewise.
77300         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
77302 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
77304         [BZ #13679]
77305         * Makeconfig (+link): Defined as $(+link-static) if
77306         $(build-shared) isn't yes.
77307         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
77308         isn't yes.
77309         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
77311         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
77313         [BZ #14562]
77314         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
77315         new chunk size with MALLOC_ALIGN_MASK.
77317 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
77319         [BZ #5044]
77320         * stdio-common/printf_fphex.c: Include <stdbool.h> and
77321         <rounding-mode.h>.
77322         (__printf_fphex): Determine rounding using get_rounding_mode and
77323         round_away.
77324         * stdio-common/tst-printf-round.c (struct hex_test): New
77325         structure.
77326         (hex_tests): New variable.
77327         (test_hex_in_one_mode): New function.
77328         (do_test): Also run tests for hex float output.
77330 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
77332         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77333         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77334         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
77335         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
77336         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
77337         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
77338         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77339         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
77341 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
77343         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
77344         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
77345         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
77346         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
77348 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
77350         [BZ #14579]
77351         * elf/rtld.c (dl_main): Limit the check for self loading to normal
77352         mode only.
77353         * elf/tst-rtld-load-self.sh: New test.
77354         * elf/Makefile: Run it.
77356 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
77358         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
77359         (tst-writev-ENV): Remove.
77360         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
77362 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
77364         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
77366 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
77368         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
77369         unconditional.
77370         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
77371         Likewise.
77372         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
77373         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
77374         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
77375         Likewise.
77377 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
77379         [BZ #14587]
77380         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
77381         * config.make.in (have-cpp-asm-debuginfo): Removed.
77382         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
77383         * configure: Regenerated.
77385 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
77387         [BZ #5044]
77388         * stdio-common/printf_fp.c: Include <stdbool.h> and
77389         <rounding-mode.h>.
77390         (___printf_fp): Determine rounding using get_rounding_mode and
77391         round_away.
77392         * stdio-common/tst-printf-round.c: New file.
77393         * stdio-common/Makefile (tests): Add tst-printf-round.
77394         (link-libm): New variable.
77395         ($(objpfx)tst-printf-round): Depend in $(link-libm).
77397 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
77399         [BZ #14576]
77400         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
77401         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
77402         Likewise.
77403         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
77404         Likewise.
77406 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
77408         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
77409         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77410         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77411         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
77413 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
77415         [BZ #14518]
77416         * include/rounding-mode.h: New file.
77417         * sysdeps/generic/get-rounding-mode.h: Likewise.
77418         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
77419         * stdlib/strtod_l.c: Include <rounding-mode.h>.
77420         (MAX_VALUE): New macro.
77421         (MIN_VALUE): Likewise.
77422         (overflow_value): New function.
77423         (underflow_value): Likewise.
77424         (round_and_return): Use overflow_value and underflow_value to
77425         determine return values in overflow and underflow cases.  Use
77426         round_away to determine rounding depending on rounding mode.
77427         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
77428         determine return values in overflow and underflow cases.
77429         * stdlib/tst-strtod-round.c: Include <fenv.h>.
77430         (struct test_results): New structure.
77431         (struct test): Use struct test_results to store expected results
77432         for all rounding modes.
77433         (TEST): Include expected results for all rounding modes.
77434         (test_in_one_mode): New function.
77435         (do_test): Use test_in_one_mode to compute and check results.
77436         Check results for all rounding modes.
77437         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
77438         $(link-libm).
77440 2012-12-09  Allan McRae  <allan@archlinux.org>
77442         * sysdeps/i386/fpu/libm-test-ulps: Update
77444 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
77446         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
77447         (_G_int32_t): Likewise.
77448         (_G_uint16_t): Likewise.
77449         (_G_uint32_t): Likewise.
77450         (_G_HAVE_BOOL): Likewise.
77451         (_G_HAVE_ATEXIT): Likewise.
77452         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77453         (_G_HAVE_IO_FILE_OPEN): Likewise.
77454         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
77455         (_G_int32_t): Likewise.
77456         (_G_uint16_t): Likewise.
77457         (_G_uint32_t): Likewise.
77458         (_G_HAVE_BOOL): Likewise.
77459         (_G_HAVE_ATEXIT): Likewise.
77460         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77461         (_G_HAVE_IO_FILE_OPEN): Likewise.
77462         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
77463         (_G_int32_t): Likewise.
77464         (_G_uint16_t): Likewise.
77465         (_G_uint32_t): Likewise.
77466         (_G_HAVE_BOOL): Likewise.
77467         (_G_HAVE_ATEXIT): Likewise.
77468         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
77469         (_G_HAVE_IO_FILE_OPEN): Likewise.
77471 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
77473         * csu/libc-tls.c: Update copyright years.
77475 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
77477         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
77478         [!_G_USING_THUNKS]: Remove conditional code.
77479         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
77480         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
77482         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
77483         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
77484         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77485         (_G_VTABLE_LABEL_PREFIX): Likewise.
77486         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77487         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77488         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77489         (_G_VTABLE_LABEL_PREFIX): Likewise.
77490         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77491         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
77492         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
77493         (_G_VTABLE_LABEL_PREFIX): Likewise.
77494         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
77496 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
77498         * libio/Makefile: Include ../Makeconfig before tests.
77499         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
77500         only if $(build-shared) is yes.
77502         * iconv/gconv_db.c: Update copyright years.
77504 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77506         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
77507         unwind info if defined PIC. Fix special cases description.
77508         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
77510         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
77511         DP_HI_MASK entry.
77512         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
77514 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
77516         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
77518         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
77519         is NULL.
77521         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
77522         (LDLIBS-tst-chk4): This.
77523         (LDFLAGS-tst-chk5): Renamed to ...
77524         (LDLIBS-tst-chk5): This.
77525         (LDFLAGS-tst-chk6): Renamed to ...
77526         (LDLIBS-tst-chk6): This.
77527         (LDFLAGS-tst-lfschk4): Renamed to ...
77528         (LDLIBS-tst-lfschk4): This.
77529         (LDFLAGS-tst-lfschk5): Renamed to ...
77530         (LDLIBS-tst-lfschk5): This.
77531         (LDFLAGS-tst-lfschk6): Renamed to ...
77532         (LDLIBS-tst-lfschk6): This.
77534         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
77535         on $(common-objpfx)soversions.mk.
77537 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
77539         [BZ #10014]
77540         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
77541         example host name.
77543 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
77545         * malloc/arena.c (arena_get_retry): New function that gets
77546         another arena for the caller to try its request on.
77547         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
77548         current arena cannot fulfill the request.
77549         (__libc_memalign): Likewise.
77550         (__libc_memalign): Likewise.
77551         (__libc_pvalloc): Likewise.
77552         (__libc_calloc): Likewise.
77554 2012-09-05  John Tobey  <john.tobey@gmail.com>
77556         [BZ #13542]
77557         * manual/arith.texi (Operations on Complex): Fix description
77558         of carg branch cut.
77560 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77562         [BZ #10014]
77563         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
77564         host name.
77566         [BZ #10038]
77567         * manual/memory.texi (Memory): Make order of menu items match
77568         order of sections.
77570 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77572         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
77573         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
77574         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
77576 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77578         * csu/libc-tls.c (static_dtv): Renamed to ...
77579         (_dl_static_dtv): This.  Make it global.
77580         (_dl_initial_dtv): Removed.
77581         (__libc_setup_tls): Updated.
77582         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
77583         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
77584         DL_INITIAL_DTV.
77586 2012-09-06  Petr Machata  <pmachata@redhat.com>
77588         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
77589         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
77590         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
77591         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
77593 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77595         [BZ #14545]
77596         * csu/libc-tls.c (_dl_initial_dtv): New variable.
77597         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
77598         freeing dtv[-1].
77600 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
77602         [BZ #14544]
77603         * Makeconfig (link-static-before-libc): Replace $(+prector)
77604         with $(+prectorT).
77605         (link-static-after-libc): Replace $(+postctor) with
77606         $(+postctorT).
77607         (link-bounded): Replace $(+prector)/$(+postctor) with
77608         $(+prectorT)/$(+postctorT).
77609         (+prectorT): New macro.
77610         (+postctorT): Likewise.
77612 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
77614         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
77615         (round_str): Handle values above the maximum for IBM long double
77616         as inexact.
77617         * stdlib/tst-strtod-round.c (tests): Regenerated.
77619 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77621         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
77622         assembler flag.
77623         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
77624         zarch_nohighgprs around the zarch optimized routines.
77625         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
77626         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
77627         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
77628         for zarch.
77630 2012-09-05  David S. Miller  <davem@davemloft.net>
77632         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77634         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
77635         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
77636         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
77637         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77638         entries.
77640 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77642         * malloc/arena.c: Fold copyright years.
77643         * malloc/mcheck.c, malloc/memusage.c: Likewise.
77645 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77647         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
77649 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77651         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
77653 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77655         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
77656         change internal state upon failure.
77658 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
77660         * malloc/mcheck.c (mcheck_check_all): Fix typo.
77661         * malloc/memusage.c (mmap): Likewise.
77662         (mmap64, mremap): Likewise.  Adjust name in comment.
77664 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77666         * libio/fileops.c: Fix typos in comments.
77667         * libio/oldfileops.c: Likewise.
77668         * libio/wfileops.c: Likewise.
77670 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
77672         [BZ #1349]
77673         * malloc/Makefile (tests): Add tst-malloc-usable test case.
77674         (tst-malloc-usable-ENV): Set environment for test case.
77675         * malloc/hooks.c (malloc_check_get_size): New function to get
77676         requested size.
77677         * malloc/malloc.c (musable): Use malloc_check_get_size.
77678         * malloc/tst-malloc-usable.c: New test case.
77680 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77682         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
77684 2012-09-05  Allan McRae  <allan@archlinux.org>
77686         [BZ #13966]
77687         * configure.in (CXX_SYSINCLUDES): Use compiler output to
77688         determine header location.
77689         * configure: Regenerated.
77691 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
77693         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
77694         float format.
77695         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
77696         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
77697         format.
77698         (test): Regenerate.
77700 2012-09-04  David S. Miller  <davem@davemloft.net>
77702         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
77703         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
77704         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
77706 2012-09-04  Florian Weimer  <fweimer@redhat.com>
77708         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
77709         failures.
77711         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
77713 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
77715         [BZ #9914]
77716         * libio/iogetdelim.c: Include <limits.h>.
77717         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
77718         + len + 1 would overflow.
77720 2012-09-03  Andreas Jaeger  <aj@suse.de>
77722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77723         * sysdeps/i386/fpu/libm-test-ulps: Update.
77725 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77727         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
77728         Add s_sinf-sse2, s_conf-sse2.
77730         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
77731         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
77732         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
77733         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
77735         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
77736         for using routine as __sinf_ia32.
77737         Use macro for function declaration and weak_alias.
77738         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
77739         for using routine as __cosf_ia32.
77740         Use macro for function declaration and weak_alias.
77742         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
77743         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
77745         * sysdeps/x86_64/fpu/s_sinf.S: New file.
77746         * sysdeps/x86_64/fpu/s_cosf.S: New file.
77747         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77749         * math/libm-test.inc (cos_test): Add more test cases.
77750         (sin_test): Likewise.
77751         (sincos_test): Likewise.
77753 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77755         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
77756         (IFUNC_RESOLVE): Make pointers to the specialized implementations
77757         hidden.
77758         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
77760 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
77762         [BZ #14538]
77763         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
77764         first element of the GOT.
77765         (elf_machine_load_address): Return the difference between
77766         the runtime address of _DYNAMIC and elf_machine_dynamic ().
77768 2012-09-01  Allan McRae  <allan@archlinux.org>
77770         [BZ #13412]
77771         * configure.in (AWK): Require gawk version 3.0 or later.
77772         * configure: Regenerated.
77774 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
77776         * sysdeps/unix/sysv/linux/kernel-features.h
77777         (__ASSUME_POSIX_CPU_TIMERS): Remove.
77778         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77779         [__NR_clock_getres]: Make code unconditional.
77780         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
77781         (clock_getcpuclockid): Remove code left unreachable by removal of
77782         conditionals.
77783         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
77784         code unconditional.
77785         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77786         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77787         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
77788         Make code unconditional.
77789         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
77790         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77791         * sysdeps/unix/sysv/linux/clock_settime.c
77792         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
77793         conditional code.
77794         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
77795         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
77797 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
77799         [BZ #14476]
77800         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
77801         scripts/test-installation.pl.
77803         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
77804         and $ld_so_version if it is set.
77806 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
77808         [BZ #14516]
77809         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
77810         failure if reading from procfs failed.
77811         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
77813 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77815         * sysdeps/unix/sysv/linux/kernel-features.h
77816         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
77817         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77818         Remove conditional code.
77819         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77820         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
77821         Remove conditional code.
77822         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77823         * sysdeps/unix/sysv/linux/i386/fxstat.c
77824         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77825         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77826         * sysdeps/unix/sysv/linux/i386/fxstatat.c
77827         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77828         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77829         * sysdeps/unix/sysv/linux/i386/lxstat.c
77830         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
77831         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77832         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
77833         Remove conditional code.
77834         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77835         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
77836         Remove conditional code.
77837         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77838         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
77839         <kernel-features.h>.
77840         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
77841         Remove.
77842         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
77843         Remove conditional code.
77844         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
77845         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
77846         Remove conditional.
77848 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
77850         [BZ #5400]
77851         * NEWS: Add fixed bug number.
77853 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
77855         [BZ #14519]
77856         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
77857         underflowing exponent in case of negative sign.
77858         * stdlib/tst-strtod-round-data: Add more tests.
77859         * stdlib/tst-strtod-round.c (tests): Regenerated.
77861         [BZ #3479]
77862         * stdlib/strtod_l.c (NDIG): Remove.
77863         (HEXNDIG): Likewise.
77864         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77865         smallest representable value.
77866         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77867         lie within an exact representation of 1/2 ulp of the result.
77868         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77869         unconditionally.
77870         (TENS_P9_IDX): Define unconditionally.
77871         (TENS_P9_SIZE): Likewise.
77872         (TENS_P10_IDX): Likewise.
77873         (TENS_P10_SIZE): Likewise.
77874         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77875         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77876         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77877         entries for 10^2^13 and 10^2^14.
77878         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77879         (TENS_P13_IDX): Define.
77880         (TENS_P13_SIZE): Likewise.
77881         (TENS_P14_IDX): Likewise.
77882         (TENS_P14_SIZE): Likewise.
77883         (_fpioconst_pow10): Change array size to
77884         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77885         unconditional.
77886         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77887         1024]: Add entries for 10^2^13 and 10^2^14.
77888         [LAST_POW10 > _LAST_POW10]: Remove #error.
77889         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77890         (_fpioconst_pow10): Change array size to
77891         FPIOCONST_POW10_ARRAY_SIZE.
77892         * stdlib/gen-fpioconst.c: New file.
77893         * stdlib/gen-tst-strtod-round.c: Likewise.
77894         * stdlib/tst-strtod-round-data: Likewise.
77895         * stdlib/tst-strtod-round.c: Likewise.
77896         * stdlib/Makefile (tests): Add tst-strtod-round.
77898         [BZ #14459]
77899         * stdlib/strtod_l.c: Include <stdint.h>.
77900         (NDEBUG): Do not define.
77901         (round_and_return): Change EXPONENT parameter to type intmax_t.
77902         Rearrange calculations to avoid internal overflow possibilities.
77903         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77904         Rearrange calculations to avoid internal overflow possibilities.
77905         Assert that number fits inside MPNSIZE limbs.
77906         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77907         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77908         calculations and add assertions to avoid internal overflow
77909         possibilities.  Add casts to avoid signed/unsigned operations.
77910         * stdlib/tst-strtod-overflow.c: New file.
77911         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77913 2012-08-25  Marek Polacek  <polacek@redhat.com>
77915         * time/time.h: Fix some typos in comments.
77917 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77919         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77920         * posix/tst-rfc3484-2.c: Likewise.
77921         * posix/tst-rfc3484-3.c: Likewise.
77923 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77925         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77926         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77928 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77930         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77931         #include of fxstatat64.c.
77933 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77935         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77936         * shadow/getspent_r.c: Likewise.
77937         * shadow/getspnam.c: Likewise.
77938         * shadow/getspnam_r.c: Likewise.
77939         * gshadow/getsgent.c: Likewise.
77940         * gshadow/getsgent_r.c: Likewise.
77941         * gshadow/getsgnam.c: Likewise.
77942         * gshadow/getsgnam_r.c: Likewise.
77943         * inet/getnetbyad.c: Likewise.
77944         * inet/getnetbyad_r.c: Likewise.
77945         * inet/getnetbynm.c: Likewise.
77946         * inet/getnetbynm_r.c: Likewise.
77947         * inet/getnetent.c: Likewise.
77948         * inet/getnetent_r.c: Likewise.
77949         * inet/getproto.c: Likewise.
77950         * inet/getproto_r.c: Likewise.
77951         * inet/getprtent.c: Likewise.
77952         * inet/getprtent_r.c: Likewise.
77953         * inet/getprtname.c: Likewise.
77954         * inet/getprtname_r.c: Likewise.
77955         * inet/getrpcbyname.c: Likewise.
77956         * inet/getrpcbyname_r.c: Likewise.
77957         * inet/getrpcbynumber.c: Likewise.
77958         * inet/getrpcbynumber_r.c: Likewise.
77959         * inet/getrpcent.c: Likewise.
77960         * inet/getrpcent_r.c: Likewise.
77961         * inet/getaliasent.c: Likewise.
77962         * inet/getaliasent_r.c: Likewise.
77963         * inet/getaliasname.c: Likewise.
77964         * inet/getaliasname_r.c: Likewise.
77965         * nscd/getgrgid_r.c: Likewise.
77966         * nscd/getgrnam_r.c: Likewise.
77967         * nscd/gethstbyad_r.c: Likewise.
77968         * nscd/gethstbynm3_r.c: Likewise.
77969         * nscd/getpwnam_r.c: Likewise.
77970         * nscd/getpwuid_r.c: Likewise.
77971         * nscd/getsrvbynm_r.c: Likewise.
77972         * nscd/getsrvbypt_r.c: Likewise.
77973         * nscd/gai.c: Likewise.
77975         * configure.in (build_nscd): New substituted variable, set
77976         by --disable-build-nscd and defaults to $use_nscd.
77977         * configure: Regenerated.
77978         * config.make.in (build-nscd): New substituted variable.
77979         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77980         Change conditional to require [$(build-nscd) = yes] as well.
77981         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77983         [BZ #13696]
77984         * configure.in (use_nscd): New substituted variable, set by
77985         --disable-nscd.  If enabled, define USE_NSCD.
77986         * configure: Regenerated.
77987         * config.h.in: Add USE_NSCD.
77988         * config.make.in (use-nscd): New substituted variable.
77989         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77990         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77991         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77992         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77993         (CFLAGS-getgrnam_r.c): Likewise.
77994         (CFLAGS-initgroups.c): Likewise.
77995         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77996         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77997         Variables removed.
77998         * inet/getnetgrent_r.c
77999         (nscd_setnetgrent): New function, broken out of ...
78000         (setnetgrent): ... here.  Call it.
78001         (innetgr): Conditionalize nscd bits on [USE_NSCD].
78002         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
78003         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
78004         * nscd/Makefile (routines, aux): Move definitions after include of
78005         Makeconfig.  Conditionalize on [$(use-nscd) != no].
78006         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
78007         Conditionalize on [USE_NSCD].
78008         (is_nscd, nscd_init_cb): Likewise.
78009         (nss_load_library): Conditionalize init callback on [USE_NSCD].
78010         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
78011         * nss/nss_db/db-init.c: Likewise.
78012         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
78013         [USE_NSCD].
78014         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
78015         (make_request): Use it.
78016         (cache_valid_p): New function.
78017         (__check_pf): Use it.
78018         * NEWS: Add item for --disable-nscd.
78020 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
78022         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
78023         to support sed >= 4.2.1-20-ga9bf076.
78024         * configure: Regenerated.
78026 2012-08-22  Roland McGrath  <roland@hack.frob.com>
78028         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
78029         Conditionalize whole body on [IREL].
78031 2012-08-22  Jeff Law <law@redhat.com>
78033         [BZ #14505]
78034         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
78035         if the family is PF_UNSPEC.
78037 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
78039         * Makerules (lib-version): Rename from V.
78040         (install-lib-nosubdir): Change V to lib-version.
78042 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
78044         [BZ #14252]
78045         * powerpc32/power6/wcschr.c: New file.
78046         * powerpc32/power6/wcscpy.c: New file.
78047         * powerpc32/power6/wcsrchr.c: New file.
78048         * powerpc64/power6/wcschr.c: New file.
78049         * powerpc64/power6/wcscpy.c: New file.
78050         * powerpc64/power6/wcsrchr.c: New file.
78052 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
78054         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
78055         (two_way_short_needle): Use it.
78056         * string/strstr.c (AVAILABLE1_USES_J): Define.
78057         * string/strcasestr.c: Likewise.
78059         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
78060         array references.
78061         * string/strcasestr.c (TOLOWER): Make side-effect safe.
78063         [BZ #11607]
78064         * NEWS: Add an entry.
78065         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
78066         define their defaults.
78067         (two_way_short_needle): Detect end-of-string on-the-fly.
78068         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
78069         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
78070         * string/bug-strcasestr1.c: New test.
78071         * string/Makefile: Run it.
78073 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
78075         [BZ #11607]
78076         * string/str-two-way.h (two_way_short_needle): Optimize matching of
78077         the first character.
78079 2012-08-21  Roland McGrath  <roland@hack.frob.com>
78081         * csu/elf-init.c (__libc_csu_irel): Function removed.
78082         * csu/libc-start.c (apply_irel): New function.
78083         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
78085 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
78087         * sysdeps/unix/sysv/linux/kernel-features.h
78088         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
78089         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
78090         <kernel-features.h>.
78091         [__NR_fadvise64_64]: Make code unconditional.
78092         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
78093         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78094         !__NR_fadvise64_64)]: Likewise.
78095         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
78096         !__NR_fadvise64_64))]: Likewise.
78097         [__NR_fadvise64]: Make code unconditional.
78098         [!__NR_fadvise64]: Remove conditional code.
78099         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
78100         <kernel-features.h>.
78101         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78102         unconditional.
78103         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78104         conditional code.
78105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
78106         not include <kernel-features.h>.
78107         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78108         unconditional.
78109         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78110         conditional code.
78111         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
78112         include <kernel-features.h>.
78113         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
78114         unconditional.
78115         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
78116         conditional code.
78118 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
78120         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
78121         slight instruction rearrangements per scrollpipe analysis.
78122         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
78124 2012-08-20  Roland McGrath  <roland@hack.frob.com>
78126         * manual/syslog.texi (syslog; vsyslog, closelog):
78127         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
78128         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
78130         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
78131         DSOCAPS to match condition on defining it.
78133 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
78135         * sysdeps/unix/sysv/linux/kernel-features.h
78136         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
78137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
78138         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78139         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
78141         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78142         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
78144         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
78145         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
78147         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
78148         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
78150         * sysdeps/unix/sysv/linux/kernel-features.h
78151         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
78152         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
78153         unconditional.
78154         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78155         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
78156         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78157         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78158         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
78159         Make code unconditional.
78160         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78161         (__mmap64) [!__NR_mmap2]: Likewise.
78162         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
78163         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
78164         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78165         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
78166         [__NR_mmap2]: Make code unconditional.
78167         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
78168         (__mmap64) [!__NR_mmap2]: Likewise.
78170 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78172         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
78174 2012-08-18  Andreas Jaeger  <aj@suse.de>
78176         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
78178 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78180         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
78181         * include/unistd.h (__have_sock_cloexec): Likewise.
78182         (__have_pipe2): Likewise.
78183         (__have_dup3): Likewise.
78185 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
78187         [BZ #9685]
78188         * include/unistd.h (__have_pipe2): Change define into an extern int.
78189         (__have_dup3): Likewise.
78190         * socket/have_sock_cloexec.c: Include fcntl.h.
78191         (__have_pipe2): New variable.
78192         (__have_dup3): Likewise.
78194 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
78196         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
78198 2012-08-17  Marek Polacek  <polacek@redhat.com>
78200         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
78201         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
78203 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78205         * configure.in: Add AC_SUBST for sysheaders.
78206         * configure: Regenerated.
78207         * config.make.in (sysheaders): New substituted variable.
78209         * sysdeps/unix/mkfifo.c: Moved ...
78210         * sysdeps/posix/mkfifo.c: ... here.
78211         * sysdeps/unix/mkfifoat.c: Moved ...
78212         * sysdeps/posix/mkfifoat.c: ... here.
78214         * sysdeps/unix/utime.c: Moved ...
78215         * sysdeps/posix/utime.c: ... here.
78217         * sysdeps/unix/time.c: Moved ...
78218         * sysdeps/posix/time.c: ... here.
78219         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
78220         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
78222         * sysdeps/unix/nice.c: Moved ...
78223         * sysdeps/posix/nice.c: ... here.
78225         * sysdeps/unix/alarm.c: Moved ...
78226         * sysdeps/posix/alarm.c: ... here.
78228         * intl/Makefile ($(codeset_mo)): Depend on the input file.
78230 2012-08-17  Jeff Law <law@redhat.com>
78232         * intl/Makefile (codeset_mo): New variable.
78233         ($(codeset_mo)): New target.
78234         (tst-codeset.out): Depend on that.  Remove explicit rule.
78235         (tst-gettext3.out, tst-gettext5.out): Likewise.
78236         (LOCPATH-ENV, tst-codeset-ENV): New variables.
78237         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
78238         * intl/tst-codeset.sh: Remove.
78239         * intl/tst-gettext3.sh: Likewise.
78240         * intl/tst-gettext5.sh: Likewise.
78242 2012-08-17  Roland McGrath  <roland@hack.frob.com>
78244         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
78245         * sysdeps/unix/syscalls.list: ... here.
78247         * sysdeps/posix/getaddrinfo.c
78248         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
78249         (gaiconf_init, gaiconf_reload): Use them.
78250         [!_STATBUF_ST_NSEC]
78251         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
78252         Define using time_t rather than struct timespec.
78254         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
78255         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
78256         Macros removed.
78257         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
78258         [!NO_THREADS].
78259         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
78260         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
78261         Likewise.
78263         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
78264         __libc_cleanup_push argument.
78266         * bits/param.h: New file.
78267         * misc/sys/param.h: New file.
78268         * include/sys/param.h: New file.
78269         * misc/Makefile (headers): Add bits/param.h.
78270         * sysdeps/generic/sys/param.h: File removed.
78271         * sysdeps/unix/sysv/linux/bits/param.h: New file.
78272         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
78273         * sysdeps/mach/hurd/bits/param.h: New file.
78274         * sysdeps/mach/hurd/sys/param.h: File removed.
78276         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
78277         last change.
78279         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
78280         [_IO_MTSAFE_IO].
78281         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
78282         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
78283         New macros.
78285         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
78286         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
78287         rather than -D_IO_MTSAFE_IO conditionally.
78288         * stdio-common/Makefile (CPPFLAGS): Likewise.
78289         * wcsmbs/Makefile (CPPFLAGS): Likewise.
78290         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
78291         Use $(libio-mtsafe).
78292         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
78293         of -D_IO_MTSAFE_IO.
78294         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
78295         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
78296         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
78297         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
78298         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
78299         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
78300         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
78301         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
78302         (CFLAGS-fread_u_chk.c): Likewise.
78303         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
78304         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
78305         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
78306         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
78307         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
78308         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
78309         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
78310         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
78311         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
78313         * libio/Makefile: Test [$(libc-reentrant) = yes]
78314         instead of [$(filter %REENTRANT, $(defines)) nonempty].
78316         * Makeconfig
78317         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
78318         * sysdeps/pthread/configure: File removed.
78319         * sysdeps/pthread/Makeconfig: New file.
78320         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
78321         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
78323 2012-08-16  Gary Benson  <gbenson@redhat.com>
78325         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
78326         unmapping the first object in a namespace.
78328 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78330         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
78331         (__internal_setnetgrent): ... this.  Add internal_function to
78332         definition.  Add libc_hidden_def.
78333         (setnetgrent): Update caller.
78334         (internal_endnetgrent): Renamed to ...
78335         (__internal_endnetgrent): ... this.  Add internal_function to
78336         definition.  Add libc_hidden_def.
78337         (endnetgrent): Update caller.
78338         (internal_getnetgrent_r): Renamed to ...
78339         (__internal_getnetgrent_r): ... this.  Add internal_function to
78340         definition.  Add libc_hidden_def.
78341         (__getnetgrent_r): Update caller.
78342         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
78344 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78346         * stdlib/longlong.h: Update from GCC.
78348 2012-08-16  Roland McGrath  <roland@hack.frob.com>
78350         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
78351         on _QL, which is set by umul_ppmm but never used.
78352         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
78353         variables, which are set by GMP macros but never used.
78354         * stdio-common/_itowa.c (_itowa): Likewise.
78355         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
78356         * stdlib/mod_1.c (mpn_mod_1): Likewise.
78358 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
78360         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
78361         struct La_sh_regs is not constant.
78362         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
78363         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
78364         and struct La_sparc64_regs are not constant.
78366 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
78368         * sysdeps/unix/sysv/linux/kernel-features.h
78369         (__ASSUME_POSIX_TIMERS): Remove.
78370         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
78371         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78372         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
78373         Make code unconditional.
78374         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78375         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
78376         Make code unconditional.
78377         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78378         * sysdeps/unix/sysv/linux/clock_nanosleep.c
78379         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
78380         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78381         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
78382         Make code unconditional.
78383         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
78384         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
78385         (__libc_missing_posix_timers): Remove.
78387 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78389         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
78390         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
78392         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
78394         * elf/dl-sym.c: Include <stdlib.h>.
78396         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
78397         constants, which avoids warnings in 32-bit builds.
78399         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
78400         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
78402         * misc/lseek.c: File moved to ...
78403         * io/lseek.c: ... here.
78405         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
78407         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
78408         shifting LEN more than 31 bits at once.
78410 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78412         [BZ #14195]
78413         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
78414         segmentation fault for a case of two empty input strings.
78415         * string/test-strncasecmp.c (check1): Renamed to...
78416         (bz12205): ...this.
78417         (bz14195): Add new testcase for two empty input strings and N > 0.
78418         (test_main): Call new testcase, adapt for renamed function.
78420 2012-08-15  Andreas Jaeger  <aj@suse.de>
78422         [BZ #14090]
78423         * crypt/md5test2.c: New test, based on test supplied by Serge
78424         Belyshev <belyshev@depni.sinp.msu.ru>.
78425         * crypt/Makefile (xtests): Add md5test-giant..
78426         * crypt/Makefile ($(objpfx)md5test-giant): Add.
78428 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
78430         [BZ #14090]
78431         * crypt/md5.c (md5_process_block): Don't assume the buffer
78432         length is less than 2**32.
78433         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
78434         length is less than 2**64.
78436 2012-08-15  Roland McGrath  <roland@hack.frob.com>
78438         * string/str-two-way.h: Include <sys/param.h>.
78439         (MAX): Macro removed.
78441         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
78442         Move #define and #undef of memmove to just before and after
78443         including <string.h>.
78445         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
78446         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
78447         and after including <string.h>.  Move declarations of
78448         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
78449         to before #include "string/memmove.c".
78451         * include/dirent.h: Declare __getdirentries.
78453         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
78454         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
78456 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
78458         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
78459         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
78460         * sysdeps/i386/configure: Regenerated.
78461         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
78462         STABS_CURRENT_FILE, and STABS_FUN.
78463         (END): Remove call to STABS_FUN_END.
78464         (STABS_CURRENT_FILE1): Delete.
78465         (STABS_CURRENT_FILE): Likewise.
78466         (STABS_FUN): Likewise.
78467         (STABS_FUN_END): Likewise.
78468         (STABS_FUN2): Likewise.
78469         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
78470         * sysdeps/x86_64/configure: Regenerated.
78472 2012-08-14  Roland McGrath  <roland@hack.frob.com>
78474         * elf/dl-open.c: Include <atomic.h>.
78475         * elf/dl-lookup.c: Likewise.
78477 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
78479         * sysdeps/unix/sysv/linux/kernel-features.h
78480         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
78481         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
78482         unconditionally.
78483         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
78484         unconditionally.
78485         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
78486         condition on __ASSUME_CLONE_THREAD_FLAGS.
78488 2012-08-14  Andreas Jaeger  <aj@suse.de>
78490         * sysdeps/i386/fpu/libm-test-ulps: Update.
78492 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
78494         * include/atomic.h (atomic_exchange_and_add): Split into ...
78495         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
78496         New atomic macros.
78498 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
78500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
78502 2012-08-13  Jeff Law <law@redhat.com>
78504         * manual/stdio.texi (snprintf): Clarify handling of the trailing
78505         null byte in the output string.
78507 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
78509         * sysdeps/unix/sysv/linux/kernel-features.h
78510         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
78511         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
78512         (__ASSUME_ARG_MAX_STACK_BASED): Define.
78513         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
78514         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
78515         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
78516         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
78518 2012-08-09  Jeff Law <law@redhat.com>
78520         [BZ #13939]
78521         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
78522         When avoid_arena is set, don't retry in the that arena.  Pick the
78523         next one, whatever it might be.
78524         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
78525         (arena_lock): Pass in new parameter to arena_get2.
78526         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
78527         arena_get2.
78528         (__libc_malloc): Unify retrying after main arena failure with
78529         __libc_memalign version.
78530         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
78532 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
78534         [BZ #14166]
78535         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
78536         to __redirect_strstr.
78537         (__strstr_sse42): Use typeof __redirect_strstr.
78538         (__strstr_ia32): Likewise.
78539         (__libc_strstr): New prototype.
78540         (strstr): Renamed to ...
78541         (__libc_strstr): This.
78542         (strstr): New strong alias of __libc_strstr.
78543         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
78544         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
78545         __redirect_time.
78546         Include <time.h>.
78547         (__libc_time): New prototype.
78548         (time_ifunc): Replace time with __libc_time.
78549         (time): New strong alias and hidden definition of __libc_time.
78550         (__GI_time): Remove strong alias.
78551         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
78552         Include <stddef.h>.
78553         (memmove): Redefined to __redirect_memmove.
78554         (__memmove_sse2): Use typeof __redirect_memmove.
78555         (__memmove_ssse3): Likewise.
78556         (__memmove_ssse3_back): Likewise.
78557         (__libc_memmove): New prototype.
78558         (memmove): Renamed to ...
78559         (__libc_memmove): This.
78560         (memmove): New strong alias of __libc_memmove.
78562 2012-08-08  Mark Salter  <msalter@redhat.com>
78564         * elf/elf.h
78565         (R_MN10300_TLS_GD): Define.
78566         (R_MN10300_TLS_LD): Likewise.
78567         (R_MN10300_TLS_LDO): Likewise.
78568         (R_MN10300_TLS_GOTIE): Likewise.
78569         (R_MN10300_TLS_IE): Likewise.
78570         (R_MN10300_TLS_LE): Likewise.
78571         (R_MN10300_TLS_DTPMOD): Likewise.
78572         (R_MN10300_TLS_DTPOFF): Likewise.
78573         (R_MN10300_TLS_TPOFF): Likewise.
78574         (R_MN10300_SYM_DIFF): Likewise.
78575         (R_MN10300_ALIGN): Likewise.
78576         (R_MN10300_NUM): Update.
78578 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
78580         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
78581         Remove.
78583 2012-08-08  Roland McGrath  <roland@hack.frob.com>
78585         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
78587         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
78588         sysdeps/unix -> sysdeps/posix move.
78589         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
78591 2012-08-07      Allan McRae     <allan@archlinux.org>
78593         [BZ #14303]
78594         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
78595         (SUNOS_CPP): Likewise.
78596         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
78597         not found.
78598         (open_input): Call CPP using execvp.
78600 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78602         * sysdeps/unix/sysv/linux/kernel-features.h
78603         (__ASSUME_PROT_GROWSUPDOWN): Remove.
78604         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78605         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78606         (__ASSUME_WAITID_SYSCALL): Likewise.
78607         * sysdeps/unix/sysv/linux/dl-execstack.c
78608         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
78609         code unconditional.
78610         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
78611         conditional code.
78612         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
78613         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
78614         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
78615         code.
78616         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
78617         unconditional.
78618         [__ASSUME_WAITID_SYSCALL]: Likewise.
78619         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
78621 2012-08-07  Roland McGrath  <roland@hack.frob.com>
78623         * sysdeps/unix/closedir.c: Renamed to ...
78624         * sysdeps/posix/closedir.c: ... here.
78625         * sysdeps/unix/dirfd.c: Renamed to ...
78626         * sysdeps/posix/dirfd.c: ... here.
78627         * sysdeps/unix/dirstream.h: Renamed to ...
78628         * sysdeps/posix/dirstream.h: ... here.
78629         * sysdeps/unix/fdopendir.c: Renamed to ...
78630         * sysdeps/posix/fdopendir.c: ... here.
78631         * sysdeps/unix/opendir.c: Renamed to ...
78632         * sysdeps/posix/opendir.c: ... here.
78633         * sysdeps/unix/readdir.c: Renamed to ...
78634         * sysdeps/posix/readdir.c: ... here.
78635         * sysdeps/unix/readdir_r.c: Renamed to ...
78636         * sysdeps/posix/readdir_r.c: ... here.
78637         * sysdeps/unix/rewinddir.c: Renamed to ...
78638         * sysdeps/posix/rewinddir.c: ... here.
78639         * sysdeps/unix/seekdir.c: Renamed to ...
78640         * sysdeps/posix/seekdir.c: ... here.
78641         * sysdeps/unix/telldir.c: Renamed to ...
78642         * sysdeps/posix/telldir.c: ... here.
78643         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
78644         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
78645         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
78646         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
78648         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
78649         * bits/fcntl.h: ... here.
78651         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
78652         not 0.
78653         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
78654         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
78655         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
78656         (struct flock): Move l_start, l_len to the beginning.
78657         Use __pid_t for l_pid.
78658         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
78659         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
78660         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
78661         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
78662         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
78663         [__USE_LARGEFILE64] (struct flock64): New type.
78664         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
78666         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
78667         * bits/dirent.h: ... here.
78669         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
78670         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
78672 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
78674         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78675         Change from 2.6.0 to 2.6.16.
78676         * sysdeps/unix/sysv/linux/configure: Regenerated.
78677         * sysdeps/unix/sysv/linux/kernel-features.h
78678         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
78679         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
78680         version.
78681         (__ASSUME_UTIMES): Likewise.
78682         (__ASSUME_CLONE_STOPPED): Remove.
78683         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
78684         architectures, not kernel version.
78685         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
78686         (__ASSUME_NO_CLONE_DETACHED): Likewise.
78687         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
78688         (__ASSUME_WAITID_SYSCALL): Likewise.
78689         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
78690         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
78691         * README: State 2.6.16 as minimum Linux kernel version.  Do not
78692         refer to older versions.
78694 2012-08-06  Roland McGrath  <roland@hack.frob.com>
78696         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
78697         Define alphasort64 as an alias.
78698         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
78699         Define versionsort64 as an alias.
78700         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
78701         Define scandir64 as an alias.
78702         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
78703         Define scandirat64 as an alias.
78704         * dirent/alphasort64.c (alphasort64):
78705         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
78706         * dirent/versionsort64.c: Likewise.
78707         * dirent/scandir64.c: Likewise.
78708         * dirent/scandirat64.c: Likewise.
78709         * sysdeps/wordsize-64/alphasort.c: File removed.
78710         * sysdeps/wordsize-64/alphasort64.c: File removed.
78711         * sysdeps/wordsize-64/scandir.c: File removed.
78712         * sysdeps/wordsize-64/scandir64.c: File removed.
78713         * sysdeps/wordsize-64/scandirat.c: File removed.
78714         * sysdeps/wordsize-64/scandirat64.c: File removed.
78715         * sysdeps/wordsize-64/versionsort.c: File removed.
78716         * sysdeps/wordsize-64/versionsort64.c: File removed.
78717         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
78718         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
78719         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
78720         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
78721         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
78722         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
78723         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
78724         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
78726         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
78727         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78728         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
78729         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78730         [defined __arch64__ || defined __sparcv9]
78731         (__INO_T_MATCHES_INO64_T): New macro.
78732         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78733         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
78734         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
78735         * sysdeps/unix/sysv/linux/bits/dirent.h
78736         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
78737         (_DIRENT_MATCHES_DIRENT64): New macro.
78739         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
78740         Define lockf64 as an alias.
78741         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
78742         Define fseeko64 as an alias.
78743         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
78744         Define ftello64 as an alias.
78745         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
78746         Define _IO_fgetpos64 and fgetpos64 as aliases.
78747         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
78748         Define _IO_fsetpos64 and fsetpos64 as aliases.
78749         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
78750         Conditionalize body on this.
78751         * libio/fseeko64.c: Likewise.
78752         * libio/ftello64.c: Likewise.
78753         * libio/iofgetpos64.c: Likewise.
78754         * libio/iofsetpos64.c: Likewise.
78755         * sysdeps/wordsize-64/lockf.c: File removed.
78756         * sysdeps/wordsize-64/lockf64.c: File removed.
78757         * sysdeps/wordsize-64/fseeko.c: File removed.
78758         * sysdeps/wordsize-64/fseeko64.c: File removed.
78759         * sysdeps/wordsize-64/ftello.c: File removed.
78760         * sysdeps/wordsize-64/ftello64.c: File removed.
78761         * sysdeps/wordsize-64/iofgetpos.c: File removed.
78762         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
78763         * sysdeps/wordsize-64/iofsetpos.c: File removed.
78764         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
78765         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
78766         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
78767         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
78768         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
78769         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
78770         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
78771         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
78772         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
78773         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
78774         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
78776         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78777         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
78778         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
78779         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78780         [defined __arch64__ || defined __sparcv9]
78781         (__OFF_T_MATCHES_OFF64_T): New macro.
78782         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
78783         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
78784         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78785         (__OFF_T_MATCHES_OFF64_T): New macro.
78787 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78789         * stdlib/secure-getenv.c (__secure_getenv): Replace
78790         GLIBC_2_16 with GLIBC_2_17.
78792 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
78794         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
78795         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
78797 2012-08-03  David S. Miller  <davem@davemloft.net>
78799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78801 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
78804         Remove.
78805         (__ASSUME_CORRECT_SI_PID): Likewise.
78806         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
78807         (__ASSUME_TMPFS_NAME): Likewise.
78808         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
78809         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
78810         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
78811         (HAVE_AUX_SECURE): Make definition unconditional.
78812         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
78813         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
78815 2012-08-03  Roland McGrath  <roland@hack.frob.com>
78817         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
78818         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
78819         * sysdeps/mach/hurd/eloop-threshold.h: New file.
78820         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
78821         __eloop_threshold instead of SYMLOOP_MAX.
78823         * sysdeps/generic/eloop-threshold.h: New file.
78824         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
78825         of MAXSYMLINKS.
78826         * elf/chroot_canon.c (chroot_canon): Likewise.
78828 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
78830         [BZ #13717]
78831         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78832         Change to 2.6.0 everywhere.
78833         * sysdeps/unix/sysv/linux/configure: Regenerated.
78834         * sysdeps/unix/sysv/linux/kernel-features.h
78835         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
78836         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
78837         kernel versions.
78838         (__ASSUME_POSIX_TIMERS): Define unconditionally.
78839         (__ASSUME_FUTEX_REQUEUE): Remove.
78840         (__ASSUME_STATFS64): Define unconditionally.
78841         (__ASSUME_AT_SECURE): Likewise.
78842         (__ASSUME_CORRECT_SI_PID): Likewise.
78843         (__ASSUME_TGKILL): Define without depending on kernel version for
78844         i386.
78845         (__ASSUME_UTIMES): Likewise.
78846         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
78847         kernel version.
78848         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
78849         (__ASSUME_TMPFS_NAME): Likewise.
78850         * README: Update reference to Linux kernel versions.
78852 2012-08-02  Marek Polacek  <polacek@redhat.com>
78854         [BZ #14150]
78855         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
78856         libc_cv_asm_type_prefix with %.
78857         * configure: Regenerated.
78858         * include/libc-symbols.h: Remove comment about
78859         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78860         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78861         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78862         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78863         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78864         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78865         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78866         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78867         * elf/tst-unique2mod1.c: Likewise.
78868         * elf/tst-unique1mod2.c: Likewise.
78869         * elf/tst-unique1mod1.c: Likewise.
78870         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78871         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78872         Replace ASM_TYPE_DIRECTIVE with .type.
78873         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78874         * sysdeps/i386/sysdep.h: Likewise.
78875         * sysdeps/x86_64/sysdep.h: Likewise.
78876         * sysdeps/sh/sysdep.h: Likewise.
78877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78878         Do not define ASM_TYPE_DIRECTIVE.
78879         * sysdeps/powerpc/sysdep.h: Likewise.
78880         * sysdeps/powerpc/powerpc32/sysdep.h:
78881         Replace ASM_TYPE_DIRECTIVE with .type.
78882         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78883         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78884         * sysdeps/i386/fpu/e_powf.S: Likewise.
78885         * sysdeps/i386/fpu/e_expl.S: Likewise.
78886         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78887         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78888         * sysdeps/i386/fpu/e_pow.S: Likewise.
78889         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78890         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78891         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78892         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78893         * sysdeps/i386/fpu/e_log2.S: Likewise.
78894         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78895         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78896         * sysdeps/i386/fpu/e_powl.S: Likewise.
78897         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78898         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78899         * sysdeps/i386/fpu/e_logl.S: Likewise.
78900         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78901         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78902         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78903         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78904         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78905         * sysdeps/i386/fpu/e_log.S: Likewise.
78906         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78907         * sysdeps/i386/fpu/e_logf.S: Likewise.
78908         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78909         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78910         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78911         * sysdeps/i386/fpu/e_log10.S: Likewise.
78912         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78913         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78914         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78915         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78916         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78917         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78918         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78919         * sysdeps/i386/i686/strtok.S: Likewise.
78920         * sysdeps/i386/i386-mcount.S: Likewise.
78921         * sysdeps/i386/strtok.S: Likewise.
78922         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78923         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78924         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78925         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78926         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78927         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78928         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78929         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78930         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78931         * sysdeps/x86_64/_mcount.S: Likewise.
78932         * sysdeps/x86_64/strtok.S: Likewise.
78933         * sysdeps/sh/_mcount.S: Likewise.
78935 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78937         * libio/iofopen.c: Include <fcntl.h>.
78938         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78939         (_IO_fopen64, fopen64): Define as aliases.
78940         * libio/iofopen64.c: Include <fcntl.h>.
78941         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78942         Conditionalize body on this.
78943         * sysdeps/wordsize-64/iofopen.c: File removed.
78944         * sysdeps/wordsize-64/iofopen64.c: File removed.
78946 2012-08-01  Marek Polacek  <polacek@redhat.com>
78948         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78949         Use dlfcn directly instead of a variable.
78950         (binfmt-subdir): Do not define.
78951         (dlfcn): Likewise.
78953 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78955         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78956         Remove all definitions.
78957         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78958         <kernel-features.h>.
78959         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78960         (miss_F_GETOWN_EX): Remove all definitions.
78961         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78962         macro definition.
78963         [!__ASSUME_FCNTL64]: Remove conditional code.
78964         [__ASSUME_FCNTL64]: Make code unconditional.
78965         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78966         <kernel-features.h>.
78967         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78968         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78969         (lockf64) [__NR_fcntl64]: Make code unconditional.
78970         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78972         * sysdeps/unix/sysv/linux/kernel-features.h
78973         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78974         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78975         Make code unconditional.
78976         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78977         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78979         [__NR_vfork]: Make code unconditional.
78980         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78981         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78983         [__NR_vfork]: Make code unconditional.
78984         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78985         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78987 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78989         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78990         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78992         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78993         Define mkstemp64 as an alias.
78994         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78995         Define mkstemps64 as an alias.
78996         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78997         Define mkostemp64 as an alias.
78998         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78999         Define mkostemps64 as an alias.
79000         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
79001         Conditionalize body on this.
79002         * misc/mkostemp64.c: Likewise.
79003         * misc/mkostemps64.c: Likewise.
79004         * misc/mkstemps64.c: Likewise.
79005         * sysdeps/wordsize-64/mkstemp64.c: File removed.
79006         * sysdeps/wordsize-64/mkostemp64.c: File removed.
79007         * sysdeps/wordsize-64/mkostemp.c: File removed.
79008         * sysdeps/wordsize-64/mkstemp.c: File removed.
79009         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
79010         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
79011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
79012         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
79014         [BZ #14138]
79015         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
79016         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
79017         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
79018         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
79020         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
79021         compat_symbol macros from <shlib-compat.h> rather than the underlying
79022         default_symbol_version and symbol_version macros, so that DEFAULT
79023         lines in shlib-versions are respected.
79024         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
79026 2012-08-01  Florian Weimer  <fweimer@redhat.com>
79028         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
79029         Declare with warn_unused_result.
79030         (setgid, setregid, setegid, setresgid): Likewise.
79031         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
79032         Likewise.
79033         * WUR-REPORT: Remove set*id functions.
79035 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
79037         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
79039 2012-07-31  Roland McGrath  <roland@hack.frob.com>
79041         [BZ #10191]
79042         * include/sys/socket.h (__libc_accept, __libc_accept4):
79043         Add attribute_hidden.
79044         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
79046         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
79047         use of PTR_MANGLE.
79048         * inet/getnetgrent_r.c (setup): Likewise.
79050         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
79052 2012-07-31  David S. Miller  <davem@davemloft.net>
79054         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79056 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
79058         [BZ #13629]
79059         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
79060         value between 1.0 and 2.0 and smaller part has absolute value less
79061         than 1.0.
79062         * math/s_clog10.c (__clog10): Likewise.
79063         * math/s_clog10f.c (__clog10f): Likewise.
79064         * math/s_clog10l.c (__clog10l): Likewise.
79065         * math/s_clogf.c (__clogf): Likewise.
79066         * math/s_clogl.c (__clogl): Likewise.
79067         * math/libm-test.inc (clog_test): Add more tests.
79068         (clog10_test): Likewise.
79069         * sysdeps/i386/fpu/libm-test-ulps: Update.
79070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79072 2012-07-31  Florian Weimer  <fweimer@redhat.com>
79074         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
79075         Exit with zero in case no suitable GID is found, and write a
79076         message to standard error.
79078 2012-07-30  Roland McGrath  <roland@hack.frob.com>
79080         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
79081         rather than to 1.
79082         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
79083         (MAXPATHLEN): Removed.
79084         (NOGROUP, NODEV): New macros.
79085         (setbit, clrbit, isset, isclr): New macros.
79086         (howmany, roundup, powerof2): New macros.
79087         (DEV_BSIZE): New macro.
79089         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
79090         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
79092         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
79093         definition on [!__NO_LONG_DOUBLE_MATH].
79095         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
79096         PTR_MANGLE and PTR_DEMANGLE.
79098         * socket/accept4.c (accept4): Rename to __libc_accept4.
79099         Define accept4 as a weak alias.
79101         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
79102         on [_DIRENT_HAVE_D_TYPE].
79103         * io/ftw.c (ftw_dir): Likewise.
79105         * io/xmknod.c (__xmknod): Don't check PATH for being null.
79107         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
79109         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
79110         Use the BSD numbers rather than the arbitrary ones we had.
79111         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
79112         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
79113         (SIGXCPU, SIGXFSZ): New macros.
79114         (_NSIG): Now 32.
79116         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
79117         initializer on [_LIBC_REENTRANT].
79119         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
79120         definitions inside [_POSIX_MAPPED_FILES].
79122         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
79124         * dirent/opendir.c: Include <fcntl.h>.
79126         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
79127         (__libc_getspecific): Likewise.
79128         (__libc_key_create): Likewise.
79130         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
79131         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
79132         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
79133         (tmpfile64): Define as alias.
79134         * sysdeps/wordsize-64/tmpfile.c: File removed.
79135         * sysdeps/wordsize-64/tmpfile64.c: File removed.
79136         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
79137         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
79139         * stdio-common/vfscanf.c: Include <stdbool.h>.
79140         * nss/makedb.c: Likewise.
79141         * stdio-common/_i18n_number.h: Likewise.
79142         * argp/argp-help.c: Likewise.
79143         * posix/wordexp.c: Likewise.
79144         * sysdeps/posix/spawni.c: Likewise.
79145         * nss/nss_files/files-initgroups.c: Likewise.
79146         * stdio-common/reg-modifier.c: Include <stdlib.h>.
79147         * nss/nss_files/files-initgroups.c: Likewise.
79148         * nss/nss_db/db-netgrp.c: Likewise.
79149         * nss/nss_db/db-initgroups.c: Likewise.
79150         * io/fchmodat.c: Include <sys/stat.h>.
79152         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
79153         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
79155         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
79156         [HAVE_MMAP].
79158         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
79159         Add multiple inclusion protection.
79161 2012-07-27  David S. Miller  <davem@davemloft.net>
79163         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79165 2012-07-27  Gary Benson  <gbenson@redhat.com>
79167         [BZ #14298]
79168         * elf/rtld.c: Include <stap-probe.h>.
79169         (dl_main): Added static probes "init_start" and "init_complete".
79170         * elf/dl-load.c: Include <stap-probe.h>.
79171         (lose): Take new parameter "nsid".
79172         Added static probe "map_failed".
79173         (_dl_map_object_from_fd): Pass namespace id to lose.
79174         Added static probe "map_start".
79175         (open_verify): Pass namespace id to lose.
79176         * elf/dl-open.c: Include <stap-probe.h>.
79177         (dl_open_worker) Added static probes "map_complete", "reloc_start"
79178         and "reloc_complete".
79179         * elf/dl-close.c: Include <stap-probe.h>.
79180         (_dl_close_worker): Added static probes "unmap_start" and
79181         "unmap_complete".
79182         * elf/rtld-debugger-interface.txt: New file documenting the above.
79184 2012-07-26  Roland McGrath  <roland@hack.frob.com>
79186         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
79187         rather than a string variable.
79188         * sunrpc/rpc_main.c (h_output): Likewise.
79189         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
79191 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
79193         * inet/check_native.c: New file.
79195 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
79197         [BZ #13629]
79198         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
79199         if larger part has absolute value 1.0.
79200         * math/s_clog10.c (__clog10): Likewise.
79201         * math/s_clog10f.c (__clog10f): Likewise.
79202         * math/s_clog10l.c (__clog10l): Likewise.
79203         * math/s_clogf.c (__clogf): Likewise.
79204         * math/s_clogl.c (__clogl): Likewise.
79205         * math/libm-test.inc (clog_test): Add more tests.
79206         (clog10_test): Likewise.
79207         * sysdeps/i386/fpu/libm-test-ulps: Update.
79208         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79210         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
79211         (pltexit): Likewise.
79212         (La_regs): Likewise.
79213         (La_retval): Likewise.
79214         (int_retval): Likewise.
79215         Update #error for removed macros to refer only to definitions in
79216         tst-audit.h.
79217         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
79218         macro.
79219         (pltexit): Likewise.
79220         (La_regs): Likewise.
79221         (La_retval): Likewise.
79222         (int_retval): Likewise.
79223         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
79224         macro.
79225         (pltexit): Likewise.
79226         (La_regs): Likewise.
79227         (La_retval): Likewise.
79228         (int_retval): Likewise.
79229         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
79230         macro.
79231         (pltexit): Likewise.
79232         (La_regs): Likewise.
79233         (La_retval): Likewise.
79234         (int_retval): Likewise.
79235         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
79236         macro.
79237         (pltexit): Likewise.
79238         (La_regs): Likewise.
79239         (La_retval): Likewise.
79240         (int_retval): Likewise.
79241         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
79242         macro.
79243         (pltexit): Likewise.
79244         (La_regs): Likewise.
79245         (La_retval): Likewise.
79246         (int_retval): Likewise.
79247         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
79248         macro.
79249         (pltexit): Likewise.
79250         (La_regs): Likewise.
79251         (La_retval): Likewise.
79252         (int_retval): Likewise.
79253         * sysdeps/generic/tst-audit.h: Update comment to refer only to
79254         macro definitions in tst-audit.h.
79255         * sysdeps/i386/tst-audit.h: New file.
79256         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
79257         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
79258         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
79259         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
79260         * sysdeps/sh/tst-audit.h: Likewise.
79261         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
79262         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
79263         * sysdeps/x86_64/tst-audit.h: Likewise.
79265 2012-07-26  Andreas Jaeger  <aj@suse.de>
79267         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
79268         ptrace.
79270         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
79271         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
79272         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
79273         PTRACE_O_MASK.
79274         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
79275         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
79276         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
79278         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
79279         value.
79281         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
79282         _sigsys.
79283         (si_call_addr, si_syscall, si_arch): Define new macro.
79284         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
79285         _sigsys.
79286         (si_call_addr, si_syscall, si_arch): Define new marcro.
79287         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
79288         _sigsys.
79289         (si_call_addr, si_syscall, si_arch): Define new macro.
79290         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
79291         _sigsys.
79292         (si_call_addr, si_syscall, si_arch): Define new macro.
79294 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79296         [BZ #13717]
79297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79298         Change to 2.4.21 where previously 2.4.1.
79299         * sysdeps/unix/sysv/linux/configure: Regenerated.
79300         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
79301         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
79302         Linux kernel version.
79303         (__ASSUME_STD_AUXV): Remove.
79304         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
79305         kernel version.
79306         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
79307         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
79308         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
79309         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
79310         (__ASSUME_NETLINK_SUPPORT): Likewise.
79311         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
79312         (__no_netlink_support): Remove conditional definition.
79313         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
79314         Remove.
79315         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79316         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
79317         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
79318         (if_nameindex_ioctl): Remove.
79319         (if_nameindex_netlink): Do not handle __no_netlink_support.
79320         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79321         code.
79322         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
79323         Remove conditional code.
79324         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
79325         code.
79326         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
79327         unconditional.
79328         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
79329         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
79330         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
79331         Remove.
79332         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
79333         [!__ASSUME_STD_AUXV]: Remove conditional code.
79334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
79335         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
79336         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
79337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
79338         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
79339         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79340         code.
79341         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
79343         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
79344         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79345         conditional code.
79346         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
79347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
79348         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
79349         code.
79350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
79351         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
79352         conditional code.
79353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
79354         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79355         code unconditional.
79356         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79357         conditional code.
79358         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79359         unconditional.
79360         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79361         conditional code.
79362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79363         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79364         unconditional.
79365         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79366         conditional code.
79367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
79368         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79369         code unconditional.
79370         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79371         conditional code.
79372         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79373         unconditional.
79374         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79375         conditional code.
79376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
79377         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
79378         code unconditional.
79379         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79380         conditional code.
79381         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
79382         unconditional.
79383         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
79384         conditional code.
79386 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
79388         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
79389         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
79390         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
79391         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
79392         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
79393         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
79394         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
79395         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
79396         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
79397         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
79398         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
79399         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
79400         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
79401         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
79402         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
79403         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
79404         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
79405         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
79406         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
79407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
79408         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
79409         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
79410         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79412 2012-07-25  Florian Weimer  <fweimer@redhat.com>
79414         * Versions.def: Add GLIBC_2.17.
79415         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
79416         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
79417         Introduce __libc_secure_getenv.
79418         * stdlib/Versions (2.17): Add secure_getenv
79419         (GLIBC_PRIVATE): Add __libc_secure_getenv.
79420         * stdlib/secure-getenv.c: Rename __secure_getenv to
79421         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
79422         symbol __secure_getenv for GLIBC_2.0.
79423         * stdlib/tst-secure-getenv.c: New.
79424         * stdlib/Makefile (tests): Add testcase.
79425         * manual/startup.texi (Environment Access): Document
79426         secure_getenv.
79427         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
79428         __libc_secure_getenv.
79429         * inet/ruserpass.c (ruserpass): Likewise.
79430         * malloc/mtrace.c (mtrace): Likewise.
79431         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
79432         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
79433         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
79434         * sysdeps/posix/tempname.c: Likewise.  Evaluate
79435         HAVE_SECURE_GETENV.
79436         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
79437         __secure_getenv to __libc_secure_getenv.
79438         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
79439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
79440         Likewise.
79441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
79442         Likewise.
79443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
79444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
79445         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
79446         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
79447         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
79448         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
79449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
79451 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
79453         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
79454         (struct La_i86_retval): Likewise.
79455         (struct La_x86_64_regs): Likewise.
79456         (struct La_x86_64_retval): Likewise.
79457         (struct La_x32_regs): Likewise.
79458         (struct La_x32_retval): Likewise.
79459         (struct La_ppc32_regs): Likewise.
79460         (struct La_ppc32_retval): Likewise.
79461         (struct La_ppc64_regs): Likewise.
79462         (struct La_ppc64_retval): Likewise.
79463         (struct La_sh_regs): Likewise.
79464         (struct La_sh_retval): Likewise.
79465         (struct La_s390_32_regs): Likewise.
79466         (struct La_s390_32_retval): Likewise.
79467         (struct La_s390_64_regs): Likewise.
79468         (struct La_s390_64_retval): Likewise.
79469         (struct La_sparc32_regs): Likewise.
79470         (struct La_sparc32_retval): Likewise.
79471         (struct La_sparc64_regs): Likewise.
79472         (struct La_sparc64_retval): Likewise.
79473         (struct audit_ifaces): Remove architecture-specific pltenter and
79474         pltexit members.
79475         * sysdeps/i386/ldsodefs.h: New file.
79476         * sysdeps/powerpc/ldsodefs.h: Likewise.
79477         * sysdeps/s390/ldsodefs.h: Likewise.
79478         * sysdeps/sh/ldsodefs.h: Likewise.
79479         * sysdeps/sparc/ldsodefs.h: Likewise.
79480         * sysdeps/x86_64/ldsodefs.h: Likewise.
79482 2012-07-25  Marek Polacek  <polacek@redhat.com>
79484         [BZ #6808]
79485         * math/libm-test.inc (yn_test): Add another test.
79486         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
79487         to ERANGE when the result is +-Inf.
79488         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
79489         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
79490         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
79491         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
79493 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
79495         * conform/data/time.h-data (NULL): Use macro-constant.  Require
79496         equal to 0.
79497         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
79498         clock_t.
79499         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
79501 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
79503         * configure.in <sysdeps resolving>: Correct printing
79504         Implies_before.
79505         * configure: Regenerate.
79507 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
79509         * math/w_ilogb.c: Include <limits.h>.
79510         * math/w_ilogbl.c: Likewise.
79512 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79514         * manual/lang.texi (__va_copy): Document primarily as ISO C99
79515         va_copy.  Document allowing for unavailable va_copy only as
79516         pre-C99 compatibility.
79517         * manual/string.texi (Copying and Concatenation): Use va_copy
79518         instead of __va_copy in concat example.
79520 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
79522         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
79523         (__sendto): Use create_address_port.  Initialize APORT and deallocate
79524         it if not null.
79526         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
79527         with O_NOLINK passed to __file_name_lookup.
79529         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
79530         with O_NOLINK passed to __file_name_lookup.
79532         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
79533         negative N or less than NGIDS.
79535         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
79536         type to string_t.  Set ERANGE as errno and return it if NAME is not big
79537         enough.  Use memcpy instead of strncpy.
79539 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
79541         * elf/Makefile (check-data): Remove.
79542         (localplt.data): New vpath directive.
79543         ($(objpfx)check-localplt.out): Use localplt.data from vpath
79544         instead of $(check-data).
79545         * scripts/data/localplt-generic.data: Move to ...
79546         * sysdeps/generic/localplt.data: ... here.
79547         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
79548         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
79549         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
79550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
79551         ... here.
79552         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
79553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
79554         ... here.
79555         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
79556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
79557         ... here.
79558         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
79559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
79560         ... here.
79561         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
79562         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
79563         ... here.
79564         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
79565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
79566         ... here.
79568 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79570         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
79571         PPC32 and PPC64 files.
79572         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
79573         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
79575 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79577         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
79578         __makecontext_ret to ...
79579         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
79580         ... here and call exit if uc_link is NULL.  New file.
79581         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
79582         __makecontext_ret.S.
79583         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
79584         __makecontext_ret to ...
79585         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
79586         ... here and call exit if uc_link is NULL.  New file.
79587         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
79588         __makecontext_ret.S.
79590 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79592         * elf/elf.h (R_390_IRELATIVE): New definition.
79593         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
79594         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
79595         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
79596         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
79597         (elf_machine_lazy_rel): Likewise.
79598         * sysdeps/s390/dl-irel.h: New file.
79599         * sysdeps/s390/s390-64/memcpy.S: New asm code.
79600         * sysdeps/s390/s390-64/memset.S: New asm code.
79601         * sysdeps/s390/s390-64/memcmp.S: New asm code.
79602         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
79603         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
79604         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
79605         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
79606         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
79607         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
79608         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
79609         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
79610         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
79611         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
79612         * sysdeps/s390/s390-32/memcpy.S: New asm code.
79613         * sysdeps/s390/s390-32/memset.S: New asm code.
79614         * sysdeps/s390/s390-32/memcmp.S: New asm code.
79616 2012-07-17  Marek Polacek  <polacek@redhat.com>
79618         [BZ #14349]
79619         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
79620         * sysdeps/s390/s390-64/configure.in: Likewise.
79621         * sysdeps/sparc/configure.in: Likewise.
79622         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
79623         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
79624         * sysdeps/i386/configure.in: Likewise.
79625         * sysdeps/x86_64/configure.in: Likewise.
79626         * sysdeps/sh/configure.in: Likewise.
79627         * sysdeps/s390/s390-32/configure: Regenerated.
79628         * sysdeps/s390/s390-64/configure: Likewise.
79629         * sysdeps/x86_64/configure: Likewise.
79630         * sysdeps/sh/configure: Likewise.
79631         * sysdeps/powerpc/powerpc64/configure: Likewise.
79632         * sysdeps/powerpc/powerpc32/configure: Likewise.
79633         * sysdeps/sparc/configure: Likewise.
79634         * sysdeps/i386/configure: Likewise.
79636         * elf/dl-open.c: Comment fixes.
79638 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
79640         * Makefile [CXX] (check-data): Remove.
79641         [CXX] (c++-types.data): New vpath directive.
79642         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
79643         vpath.  Do not allow for C++ type data being missing.
79644         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
79645         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
79646         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
79647         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
79648         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
79649         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
79650         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
79651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
79652         ... here.
79653         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
79654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
79655         ... here.
79656         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
79657         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
79658         ... here.
79659         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
79660         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
79661         ... here.
79662         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
79663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
79664         ... here.
79665         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
79666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
79667         ... here.
79668         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
79669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
79670         ... here.
79671         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
79672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
79674         * elf/tls-macros.h (TLS_LE): Move architecture-specific
79675         definitions to architecture-specific files.
79676         (TLS_IE): Likewise.
79677         (TLS_LD): Likewise.
79678         (TLS_GD): Likewise.
79679         * sysdeps/i386/tls-macros.h: New file.
79680         * sysdeps/powerpc/tls-macros.h: Likewise.
79681         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
79682         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
79683         * sysdeps/sh/tls-macros.h: Likewise.
79684         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
79685         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
79686         * sysdeps/x86_64/tls-macros.h: Likewise.
79688 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79690         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
79691         zero value for regular exit case.
79693         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
79694         (__start_context): Preserve zero value for regular exit case.
79696 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
79697             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79699         * manual/setjmp.texi (setcontext): Clarify normal process
79700         termination when uc_link is the null pointer.
79701         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
79702         exit call.
79704 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
79706         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
79707         preprocessor.  Test for each exception mask separately.
79709 2012-07-16  Andreas Jaeger  <aj@suse.de>
79711         * po/ru.po: Update from translation team.
79713 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
79715         * conform/data/string.h-data (NULL): Use macro-constant.  Require
79716         equal to 0.
79717         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
79718         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
79719         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
79720         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
79721         [ISO || ISO99 || ISO11] (*_t): Do not allow.
79723 2012-07-13  Andreas Jaeger  <aj@suse.de>
79725         * po/fr.po: Update from translation team.
79727 2012-07-12  Marek Polacek  <polacek@redhat.com>
79729         [BZ #14173]
79730         * math/libm-test.inc (yn_test): Add test for BZ #14173.
79731         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
79732         loop condition.
79734 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
79736         [BZ #13717]
79737         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
79738         Change to 2.4.1 where previously 2.4.0.
79739         * sysdeps/unix/sysv/linux/configure: Regenerated.
79740         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
79741         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
79742         version.
79743         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
79744         (__ASSUME_AT_CLKTCK): Remove.
79745         (__ASSUME_AT_PAGESIZE): Likewise.
79746         (__ASSUME_AT_XID): Likewise.
79747         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
79748         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
79749         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
79750         unconditionally.
79751         (HAVE_AUX_PAGESIZE): Likewise.
79752         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
79753         [__ASSUME_AT_CLKTCK]: Make code unconditional.
79754         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
79756 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
79758         [BZ #14307]
79759         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
79760         the temporary buffer used to invoke __gethostbyname2_r,
79761         __gethostbyaddr_r and gethostbyname4_r to make room for struct
79762         host_data / struct gaih_addrtuple.
79763         * resolv/nss_dns/dns-host.c (global scope): Move definition of
79764         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
79765         header file nss/nsswitch.h.
79766         * nss/nsswitch.h (global scope): Add definition of implementation
79767         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
79768         resolv/nss_dns/dns-host.c).
79770 2012-07-11  Andreas Jaeger  <aj@suse.de>
79772         * po/fr.po: Update from translation team.
79774         * po/sv.po: Update from translation team
79775         * po/fr.po: Another update from translation team.
79777 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79779         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
79780         for subnormals or multiply small sinh result by itself.
79781         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
79782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
79784 2012-07-11  David S. Miller  <davem@davemloft.net>
79786         * sysdeps/sparc/fpu/libm-test-ulps: Update.
79788 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
79790         [BZ #14347]
79791         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
79792         (INTERNAL_MARK): Shift it here.
79794 2012-07-10  Marek Polacek  <polacek@redhat.com>
79796         [BZ #14151]
79797         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
79798         libc_cv_asm_global_directive with .globl.
79799         * configure: Regenerated.
79800         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
79801         with .globl.
79802         * sysdeps/i386/configure: Regenerated.
79803         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
79804         with .globl.
79805         * sysdeps/x86_64/configure: Regenerated.
79806         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
79807         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
79808         * elf/tst-unique2mod2.c: Likewise.
79809         * elf/tst-unique2mod1.c: Likewise.
79810         * elf/tst-unique1mod2.c: Likewise.
79811         * elf/tst-unique1mod1.c: Likewise.
79812         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79813         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
79814         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79815         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
79816         * sysdeps/mach/sysdep.h: Likewise.
79817         * sysdeps/i386/sysdep.h: Likewise.
79818         * sysdeps/i386/i386-mcount.S: Likewise.
79819         * sysdeps/x86_64/_mcount.S: Likewise.
79820         * sysdeps/x86_64/sysdep.h: Likewise.
79821         * sysdeps/sh/_mcount.S: Likewise.
79822         * sysdeps/sh/sysdep.h: Likewise.
79823         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
79824         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
79825         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
79826         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
79827         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
79828         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
79829         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
79830         * locale/localeinfo.h: Likewise.
79831         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
79832         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
79834 2012-07-09  Roland McGrath  <roland@hack.frob.com>
79836         [BZ #14336]
79837         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
79838         system".
79839         * manual/message.texi (The Uniforum approach): Likewise.
79840         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
79841         (glibc iconv Implementation): Likewise.
79843 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
79845         [BZ #14337]
79846         * math/s_clog.c (__clog): Avoid scaling a value down where that
79847         could result in underflow.
79848         * math/s_clog10.c (__clog10): Likewise.
79849         * math/s_clog10f.c (__clog10f): Likewise.
79850         * math/s_clog10l.c (__clog10l): Likewise.
79851         * math/s_clogf.c (__clogf): Likewise.
79852         * math/s_clogl.c (__clogl): Likewise.
79853         * math/libm-test.inc (clog_test): Add more tests.
79854         (clog10_test): Likewise.
79855         * sysdeps/i386/fpu/libm-test-ulps: Update.
79856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79858 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79860         [BZ #14283]
79861         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79862         by 7 not 8 to examine high bit of fractional part.
79864         [BZ #14042]
79865         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79866         for call to __mcount_internal.
79867         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79868         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79869         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79871 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79873         [BZ #14154]
79874         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79875         approximation for values within 0x1p-13f of an odd multiple of
79876         pi/4.
79877         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79878         exception.  Add more tests.
79879         * sysdeps/i386/fpu/libm-test-ulps: Update.
79881         [BZ #6778]
79882         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79883         inputs and return -1 for them.  Do not check for +Inf in case not
79884         reachable for +Inf.
79885         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79886         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79887         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79888         and return -1 for them.  Do not check for +Inf in case not
79889         reachable for +Inf.
79890         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79891         define.
79892         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79893         and return -1 for them.  Do not check for +Inf in case not
79894         reachable for +Inf.
79895         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79896         spurious underflow.
79897         * sysdeps/i386/fpu/libm-test-ulps: Update.
79898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79900 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79902         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79904 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79906         [BZ #14157]
79907         [BZ #14331]
79908         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79909         could result in spurious underflow.  Scale down values above
79910         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79911         * math/s_csqrtf.c (__csqrtf): Likewise.
79912         * math/s_csqrtl.c (__csqrtl): Likewise.
79913         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79914         spurious underflow.
79915         * sysdeps/i386/fpu/libm-test-ulps: Update.
79916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79918 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79920         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79921         xopen-msg.sed.
79922         * catgets/xopen-msg.awk: New file.
79923         * catgets/xopen-msg.sed: Removed.
79925         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79926         po2text.sed.
79927         * intl/po2test.awk: New file.
79928         * intl/po2test.sed: Removed.
79930 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79932         [BZ #14328]
79933         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79934         or multiply small sinh result by itself.
79935         * math/s_ctanf.c (__ctanf): Likewise.
79936         * math/s_ctanh.c (__ctanh): Likewise.
79937         * math/s_ctanhf.c (__ctanhf): Likewise.
79938         * math/s_ctanhl.c (__ctanhl): Likewise.
79939         * math/s_ctanl.c (__ctanl): Likewise.
79940         * math/libm-test.inc (ctan_test_tonearest): New function.
79941         (ctan_test_towardzero): Likewise.
79942         (ctan_test_downward): Likewise.
79943         (ctan_test_upward): Likewise.
79944         (ctanh_test_tonearest): Likewise.
79945         (ctanh_test_towardzero): Likewise.
79946         (ctanh_test_downward): Likewise.
79947         (ctanh_test_upward): Likewise.
79948         (main): Call these new functions.
79949         * sysdeps/i386/fpu/libm-test-ulps: Update.
79950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79952 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79954         * .gitignore: Delete /ports entry.
79956 2012-07-03  Andreas Jaeger  <aj@suse.de>
79958         * po/bg.po: Update from translation team.
79959         * po/cs.po: Likewise.
79960         * po/de.po: Likewise.
79961         * po/hr.po: Likewise.
79962         * po/nl.pl: Likewise.
79963         * po/pl.po: Likewise.
79964         * po/vi.po: Likewise.
79966 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79968         * Makeconfig [!+link] (+link-before-libc): New variable.
79969         [!+link] (+link-after-libc): Likewise.
79970         [!+link] (+link-tests): Likewise.
79971         [!+link] (+link): Define in terms of $(+link-before-libc) and
79972         $(+link-after-libc).
79973         [!+link-static] (+link-static-before-libc): New variable.
79974         [!+link-static] (+link-static-after-libc): Likewise.
79975         [!+link-static] (+link-static-tests): Likewise.
79976         [!+link-static] (+link-static): Define in terms of
79977         $(+link-static-before-libc) and $(+link-static-after-libc).
79978         [build-shared] (link-libc-before-gnulib): New variable.
79979         [build-shared] (link-libc-tests): Likewise.
79980         [build-shared] (link-libc): Define in terms of
79981         $(link-libc-before-gnulib).
79982         [!build-shared] (link-libc-tests): New variable.
79983         (link-libc-static-tests): New variable.
79984         [!gnulib] (gnulib-arch): New variable.
79985         [!gnulib] (gnulib-tests): Likewise.
79986         [!gnulib] (static-gnulib-arch): Likewise.
79987         [!gnulib] (static-gnulib-tests): Likewise.
79988         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79989         Define with "=" instead of ":=".
79990         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79991         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79992         * Rules (binaries-all-notests): New variable.
79993         (binaries-all-tests): Likewise.
79994         (binaries-static-notests): Likewise.
79995         (binaries-static-tests): Likewise.
79996         (binaries-all): Define using $(binaries-all-notests) and
79997         $(binaries-all-tests).
79998         (binaries-static): Define using $(binaries-static-notests) and
79999         $(binaries-static-tests).
80000         (binaries-shared-tests): New variable.
80001         (binaries-shared-notests): Likewise.
80002         (binaries-shared): Remove variable.
80003         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
80004         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
80005         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
80006         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
80007         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
80008         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
80009         * elf/Makefile (sln-modules): New variable.
80010         (extra-objs): Add $(sln-modules:=.o).
80011         (ldconfig-modules): Add static-stubs.
80012         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
80013         * elf/static-stubs.c: New file.
80015         [BZ #14283]
80016         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
80017         by 7 not 8 to examine high bit of fractional part.  Use volatile
80018         variables when splitting into final array of floats if
80019         __FLT_EVAL_METHOD__ != 0.
80020         * math/libm-test.inc (cos_test): Add another test.
80021         (sin_test): Likewise.
80022         * sysdeps/i386/fpu/libm-test-ulps: Update.
80024         [BZ #14273]
80025         * math/libm-test.inc (cosh_test): Add more tests.
80027         * version.h (RELEASE): Set to "development".
80028         (VERSION): Set to "2.16.90".
80030 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
80032         * NEWS: Update copyright. Remove last-updated date.
80033         Mention math library bug fixes and timezone data changes.
80034         * README: Mention GNU/Hurd, x32, and HPPA support status.
80036 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
80038         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
80040 2012-06-27  Andreas Jaeger  <aj@suse.de>
80042         * manual/contrib.texi (Contributors): Add Samuel Thibault.
80044 2012-06-25  Andreas Jaeger  <aj@suse.de>
80046         * sysdeps/s390/fpu/libm-test-ulps: Update.
80048 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
80049             Thomas Schwinge  <thomas@codesourcery.com>
80051         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
80052         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
80053         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
80054         fanotify_mark.
80056 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
80058         * sysdeps/mach/start.c: Remove file.
80059         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
80060         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
80061         * sysdeps/sh/init-first.c: Likewise.
80063         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
80064         registers for frame unwinding purposes, add CFI directives.
80065         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80066         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
80067         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
80068         Likewise.
80070         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
80071         __fortify_fail returning.
80072         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
80074         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
80075         sysdeps/sh/____longjmp_chk.S.
80076         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
80077         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
80078         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
80079         (gen-as-const-headers): Append sigaltstack-offsets.sym.
80081         * sysdeps/sh/abort-instr.h: New file.
80082         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
80083         process in case exit returns.
80085         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
80086         initialize the GOT register before use.
80088         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
80089         calculation of ARGC > 4.
80091         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
80092         meaningful names to some local labels.
80094 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80095             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80097         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
80098         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
80099         (__arch_compare_and_exchange_val_16_acq): Likewise.
80100         (__arch_compare_and_exchange_val_32_acq): Likewise.
80101         (atomic_exchange_and_add): Fix gUSA sequence.
80102         (atomic_add): Likewise.
80103         (atomic_add_negative): Likewise.
80104         (atomic_add_zero): Likewise.
80105         (atomic_bit_test_set): Likewise.
80107 2012-06-22  Andreas Schwab  <schwab@redhat.com>
80109         [BZ #13579]
80110         * include/link.h (struct link_map): Add l_free_initfini.
80111         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
80112         l_initfini.
80113         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
80114         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
80115         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
80116         set.
80118 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
80120         * configure.in: Use AC_LANG_SOURCE.
80121         * configure: Regenerate.
80123 2012-06-22  Roland McGrath  <roland@hack.frob.com>
80125         * configure.in (libc_cv_localstatedir): New substituted variable.
80126         * configure: Regenerated.
80127         * config.make.in (localstatedir): New variable, substituted from
80128         libc_cv_localstatedir.
80129         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
80130         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
80131         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
80132         * sysdeps/gnu/configure: Regenerated.
80134 2012-06-21  Jeff Law  <law@redhat.com>
80136         [BZ #14277]
80137         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
80138         free.  Simplify list management for _LIBC case.
80140 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
80142         [BZ #14273]
80143         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
80144         Clear sign bit of 64-bit integer value before comparing against
80145         overflow value.
80147         * sysdeps/mach/configure: Regenerated.
80149 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
80151         [BZ #14278]
80152         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
80154 2012-06-21  Jeff Law  <law@redhat.com>
80156         [BZ #13882]
80157         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
80158         uint16_t for elements in the "seen" array to avoid char overflows.
80159         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80160         * elf/dl-open.c (dl_open_worker): Likewise.
80162 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
80164         * scripts/list-sources.sh: Scan PORTS for translations.
80165         * po/libc.pot: Regenerated.
80167 2012-06-21  Andreas Jaeger  <aj@suse.de>
80169         [BZ #12194]
80170         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
80171         warning.
80172         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
80173         * bits/byteswap-16.h (__bswap_16): Likewise.
80174         * bits/byteswap.h (__bswap_constant_16): Likewise.
80176 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
80178         [BZ #14117]
80179         * sysdeps/i386/fpu_control.h: Removed.
80180         * sysdeps/x86_64/fpu_control.h: Moved to ...
80181         * sysdeps/x86/fpu_control.h: Here.
80183         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
80184         (_FPU_SETCW): Likewise.
80186 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
80188         [BZ #14117]
80189         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
80190         * sysdeps/x86/fpu/bits/mathinline.h: This.
80191         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
80193         [BZ #14050]
80194         [BZ #14117]
80195         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
80196         functions if __x86_64__ is defined.
80198 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
80200         * string/endian.h: Add !__ASSEMBLER__ condition for including
80201         conversion interfaces.
80203 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
80205         [BZ #14241]
80206         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
80207         of ABS(x) in calculating zero to negative powers other than odd
80208         integers.
80209         * math/libm-test.inc (pow_test): Add more tests.
80211 2012-06-15  Andreas Jaeger  <aj@suse.de>
80213         * manual/contrib.texi (Contributors): Update entry of Liubov
80214         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
80215         Machado Filho.
80217 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
80219         * string/string.h: Add __wur to GNU version of strerror_r.
80221 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
80223         [BZ #14229]
80224         * string/Makefile (tests): Add tst-strtok_r.
80225         * string/tst-strtok_r.c: New file.
80226         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
80227         RAX_LP/RDX_LP on SAVE_PTR.
80229 2012-06-14  Roland McGrath  <roland@hack.frob.com>
80231         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
80233 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
80235         * libm_test.inc (csqrt_test): Allow more spurious underflow
80236         exceptions.
80237         (j0_test): Likewise.
80238         (j1_test): Likewise.
80239         (y0_test): Likewise.
80240         (y1_test): Likewise.
80242 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
80244         * po/Makefile (libc.pot): Use UTF-8 charset.
80246 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
80248         [BZ #14210]
80249         Suppress sign-conversion warning from FD_SET.
80250         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
80251         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
80252         not unsigned long int.
80253         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
80255 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
80257         [BZ #14050]
80258         [BZ #14117]
80259         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
80260         __extern_always_inline instead of __extern_inline.
80261         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
80262         (__signbit): Likewise.
80263         (__signbitl): Support C++ namespace.
80264         (lrintf): New inline function.
80265         (lrint): Likewise.
80266         (llrintf): Likewise.
80267         (llrint): Likewise.
80268         (fmaxf): Likewise.
80269         (fmax): Likewise.
80270         (fminf): Likewise.
80271         (fmin): Likewise.
80272         (rint): Likewise.
80273         (rintf): Likewise.
80274         (ceil): Likewise.
80275         (ceilf): Likewise.
80276         (floor): Likewise.
80277         (floorf): Likewise.
80278         (nearbyint): Likewise.
80279         (nearbyintf): Likewise.
80281 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
80283         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
80284         non-default versions.
80286 2012-06-11  Roland McGrath  <roland@hack.frob.com>
80288         [BZ #14218]
80289         * manual/argp.texi (Argp): Reword argp_parse description slightly.
80291 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
80293         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
80294         (FE_UPWARD, FE_DOWNWARD): Don't define.
80295         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
80296         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80298         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
80299         reading it.
80300         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80301         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80303 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80305         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
80306         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
80307         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
80308         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
80310 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
80312         [BZ #14117]
80313         * sysdeps/i386/fpu/bits/fenv.h: Removed.
80314         * sysdeps/i386/fpu/Implies: New file.
80315         * sysdeps/x86_64/fpu/Implies: Likewise.
80316         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
80317         * sysdeps/x86/fpu/bits/fenv.h: This.
80319         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
80320         __SSE_MATH__.
80322 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
80324         [BZ #14134]
80325         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
80326         character 0xffff that matches the last element of the
80327         conversion table.
80329 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80331         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
80332         fmodl commit.
80334 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80336         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
80337         values higher than 25.6283.
80339 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80341         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
80342         subnormal exponent extraction and add some __builtin_expect.
80343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
80344         Fix for subnormal mantissa calculation.
80346 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
80348         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
80349         cpu2 is -1 and errno is not ENOSYS.
80351 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
80353         [BZ #14117]
80354         * sysdeps/i386/i486/bits/string.h: Renamed to ...
80355         * sysdeps/x86/bits/string.h: This.
80356         * sysdeps/x86_64/bits/string.h: Removed.
80358         * sysdeps/i386/i486/bits/string.h: Define inline functions only
80359         if not compiling for x86-64, but compiling for >= i486.
80361         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
80362         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
80364         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
80365         New macro from Linux kernel 3.4.0.
80366         (FP_XSTATE_MAGIC2): Likewise.
80367         (FP_XSTATE_MAGIC2_SIZE): Likewise.
80368         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
80369         (struct _fpx_sw_bytes): New struct.
80370         (struct _xsave_hdr): Likewise.
80371         (struct _ymmh_state): Likewise.
80372         (struct _xstate): Likewise.
80374         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
80375         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
80376         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
80377         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
80378         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
80379         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
80381         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
80382         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
80383         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
80384         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
80385         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
80386         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
80388 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
80390         [BZ #13743]
80391         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
80392         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
80393         (sysdep_headers): Include sys/platform/ppc.h.
80394         * sysdeps/powerpc/test-gettimebase.c: Test for
80395         __ppc_get_timebase() to catch future ISA opcode/insn changes.
80396         * manual/Makefile (appendices): Include platform.texi.
80397         * manual/contrib.texi (Contributors): Update @node pointers.
80398         * manual/maint.texi (Maintenance): Likewise.
80399         (Platform): New node.
80400         * manual/platform.texi: New file.  Document the new features.
80402 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
80403             Jakub Jelinek  <jakub@redhat.com>
80405         [BZ #14188]
80406         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
80407         where __builtin_expect is unavailable.
80409 2012-06-03  David S. Miller  <davem@davemloft.net>
80411         * stdlib/longlong.h: Updated from GCC.
80413 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
80415         [BZ #14042]
80416         * sysdeps/powerpc/powerpc32/mcount.c: New file.
80417         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
80418         __mcount_internal.
80419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
80420         (GLIBC_2.16): Likewise.
80422 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80424         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
80426 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
80429         (default-abi): New variable.
80430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
80431         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
80432         variable.
80433         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
80434         Likewise.
80435         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
80436         Likewise.
80437         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
80438         Likewise.
80440         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
80441         definition.  Document in comment.
80443 2012-06-01  David S. Miller  <davem@davemloft.net>
80445         * stdlib/longlong.h: Updated from GCC.
80447 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80449         [BZ #14117]
80450         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
80451         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
80452         sys/debugreg.h sys/io.h here.
80453         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
80454         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
80455         sys/io.h.
80456         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
80457         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
80458         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
80459         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
80460         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
80461         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
80463         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
80464         Define only if __x86_64__ is defined.
80466 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
80468         [BZ #14048]
80469         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
80470         Use int64_t for variable i.
80471         * math/libm-test.inc (fmod_test): Add more tests.
80473         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
80474         z computation is not scheduled after fetestexcept.
80475         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
80476         Use math_force_eval instead of asm to ensure calculation scheduled
80477         before exception test.
80478         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
80479         Ensure a1 + u.d computation is not scheduled after fetestexcept.
80481 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
80483         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
80484         computation is not scheduled after fetestexcept.
80486 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
80488         [BZ #14117]
80489         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
80490         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
80492 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80494         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
80495         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
80497 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80499         [BZ #14117]
80500         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
80501         <bits/wordsize.h>.
80502         (__WCHAR_MIN): Support __WORDSIZE == 64.
80503         (__WCHAR_MAX): Likewise.
80505         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
80506         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
80508         [BZ #14183]
80509         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
80510         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
80512         [BZ #14117]
80513         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
80514         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
80516         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
80517         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
80519         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
80520         Defined to 1 if __x86_64__ isn't defined.
80521         (_STAT_VER_LINUX_OLD): New.
80522         (st_atime): Remove duplicate.
80523         (st_mtime): Likewise.
80524         (st_ctime): Likewise.
80526 2012-05-31  David S. Miller  <davem@davemloft.net>
80528         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
80529         entries.
80531 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
80533         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
80534         gen-libm-test.pl.
80536         [BZ #14132]
80537         * elf/dl-reloc.c: Include <_itoa.h>.
80538         (_dl_reloc_bad_type): Remove use of INTUSE.
80539         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
80540         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
80541         * stdio-common/psiginfo.c (psiginfo): Likewise.
80542         * stdio-common/psignal.c (psignal): Likewise.
80543         * string/strsignal.c (strsignal): Likewise.
80544         * include/signal.h (_sys_siglist): Declare hidden proto.
80545         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
80546         INTVARDEF with libc_hidden_data_def.
80547         * stdio-common/itoa-udigits.c: Likewise.
80548         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
80549         (_itoa_lower_digits_internal): Remove declaration.
80550         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
80551         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
80552         (_sys_sigabbrev_internal): Remove aliases.
80553         (_sys_siglist): Define hidden alias.
80555 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
80557         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
80558         bits/sysctl.h.
80560 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
80562         [BZ #14117]
80563         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
80564         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
80566         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
80567         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
80568         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
80569         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
80570         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
80571         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
80573         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
80574         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
80575         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
80577         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
80578         with __addr.
80579         (insw): Likewise.
80580         (insl): Likewise.
80581         (outsb): Likewise.
80582         (outsw): Likewise.
80583         (outsl): Likewise.
80585         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
80586         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
80587         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
80589         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
80590         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
80591         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
80592         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
80593         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
80594         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
80596         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
80597         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
80599         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
80600         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
80602         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
80603         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
80604         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
80606         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
80607         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
80608         to ...
80609         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
80611         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
80612         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
80613         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
80615         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
80616         for x86-64.
80617         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
80619 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
80621         * math/math.h (M_El): Use two more decimal places.
80622         (M_LOG2El): Likewise.
80623         (M_LOG10El): Likewise.
80624         (M_LN2l): Likewise.
80625         (M_LN10l): Likewise.
80626         (M_PIl): Likewise.
80627         (M_PI_2l): Likewise.
80628         (M_PI_4l): Likewise.
80629         (M_1_PIl): Likewise.
80630         (M_2_PIl): Likewise.
80631         (M_2_SQRTPIl): Likewise.
80632         (M_SQRT2l): Likewise.
80633         (M_SQRT1_2l): Likewise.
80635 2012-05-31  David S. Miller  <davem@davemloft.net>
80637         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
80638         values between float registers.
80639         * sysdeps/sparc/sparc64/memset.S: Likewise.
80640         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
80642 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
80644         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
80645         -D_FORTIFY_SOURCE=1.
80646         (CPPFLAGS-tst-longjmp_chk.c): Define.
80647         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
80648         (CPPFLAGS-tst-longjmp_chk2.c): Define.
80649         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
80650         CFLAGS-tst-wchar-h.c.
80652 2012-05-31  Marek Polacek  <polacek@redhat.com>
80654         [BZ #14132]
80655         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
80656         __endmntent_internal): Remove declaration.
80657         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
80658         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
80659         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
80661 2012-05-30  David S. Miller  <davem@davemloft.net>
80663         * sysdeps/sparc/sparc32/soft-fp/q_util.c
80664         (___Q_simulate_exceptions): Use real FP ops rather than writing
80665         into the %fsr.
80666         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
80667         Likewise.
80669 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80671         [BZ #14117]
80672         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
80673         * sysdeps/x86/bits/xtitypes.h: This.
80675         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
80676         * sysdeps/x86/bits/wordsize.h: This.
80678         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
80679         * sysdeps/x86/bits/huge_vall.h: This.
80681         * sysdeps/i386/bits/select.h: Removed.
80682         * sysdeps/x86_64/bits/select.h: Renamed to ...
80683         * sysdeps/x86/bits/select.h: This.
80685         * sysdeps/i386/bits/setjmp.h: Removed.
80686         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
80687         * sysdeps/x86/bits/setjmp.h: This.
80689         * sysdeps/i386/bits/mathdef.h: Removed.
80690         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
80691         * sysdeps/x86/bits/mathdef.h: This.
80693 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
80695         [BZ #14132]
80696         * include/sys/socket.h (__connect_internal)
80697         (__libc_sa_len_internal): Remove declaration.
80698         (__connect, __libc_sa_len): Declare hidden_proto.
80699         (SA_LEN): Remove use of INTUSE.
80700         * socket/connect.c: Add libc_hidden_def.
80701         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
80702         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
80703         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
80704         alias.
80705         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
80706         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
80707         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
80708         of adding _internal alias.
80710 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80712         [BZ #14117]
80713         * sysdeps/i386/bits/link.h: Removed.
80714         * sysdeps/i386/bits/linkmap.h: Likewise.
80715         * sysdeps/x86_64/bits/link.h: Renamed to ...
80716         * sysdeps/x86/bits/link.h: This.
80717         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
80718         * sysdeps/x86/bits/linkmap.h: This.
80720         * sysdeps/i386/bits/endian.h: Removed.
80721         * sysdeps/x86_64/bits/endian.h: Renamed to ...
80722         * sysdeps/x86/bits/endian.h: This.
80724         * sysdeps/i386/bits/byteswap.h: Removed.
80725         * sysdeps/i386/bits/byteswap-16.h: Likewise.
80726         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
80727         * sysdeps/x86/bits/byteswap.h: This.
80728         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
80729         * sysdeps/x86/bits/byteswap-16.h: This.
80730         * sysdeps/i386/Implies: Add x86.
80731         * sysdeps/x86_64/Implies: Likewise.
80733 2012-05-30  David S. Miller  <davem@davemloft.net>
80735         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
80736         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
80737         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
80738         (FP_TRAPPING_EXCEPTIONS): Define.
80739         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
80740         (FP_TRAPPING_EXCEPTIONS): Define.
80741         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
80742         subnormals only when inexact has been signalled or underflow
80743         exceptions are enabled.
80744         (_FP_PACK_CANONICAL): Likewise.
80746 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80748         [BZ #14183]
80749         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
80750         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
80752 2012-05-30  Richard Henderson  <rth@twiddle.net>
80754         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
80755         with #ifndef NOT_IN_libc.
80757         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
80758         marked to avoid plt entry.
80760 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
80762         [BZ #14112]
80763         * Makeconfig (default-abi): New macro.
80764         (abi-includes): Likewise.
80765         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
80766         $(abi-$(default-abi)-lib-soname) for soname if defined.
80767         ($(common-objpfx)gnu/lib-names.stmp): Generate from
80768         abi-variants.
80769         * Makefile (installed-stubs): Likewise.
80770         * include/stubs-biarch.h: Removed.
80771         * scripts/lib-names.awk: Only handle one library at a time.
80772         * scripts/soversions.awk: Remove WORDSIZE support.
80773         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
80774         entries.
80775         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
80776         Removed.
80777         (syscall-list-default-condition): Likewise.
80778         (syscall-list-default-condition): Likewise.
80779         (syscall-list-includes): Likewise.
80780         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
80781         syscall-list-* with abi-*.  Handle undefined abi-variants.
80782         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
80783         * sysdeps/unix/sysv/linux/i386/Implies: New file.
80784         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
80785         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
80786         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
80787         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
80788         Removed.
80789         (syscall-list-32-options): Likewise.
80790         (syscall-list-32-condition): Likewise.
80791         (syscall-list-64-options): Likewise.
80792         (syscall-list-64-condition): Likewise.
80793         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
80794         macro.
80795         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
80796         Renamed to ...
80797         (abi-*): This.
80798         (abi-64-ld-soname): New macro.
80799         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
80800         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
80801         Renamed to ...
80802         (abi-*): This.
80803         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
80804         * sysdeps/x86_64/x32/shlib-versions: Likewise.
80806 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
80808         * sysdeps/unix/sysv/linux/kernel-features.h
80809         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
80810         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
80811         include <kernel-features.h>.
80812         [!__NR_ftruncate64]: Remove conditional code.
80813         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80814         [__NR_ftruncate64]: Make code unconditional.
80815         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80816         * sysdeps/unix/sysv/linux/truncate64.c: Do not
80817         include <kernel-features.h>.
80818         [!__NR_ftruncate64]: Remove conditional code.
80819         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80820         [__NR_ftruncate64]: Make code unconditional.
80821         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
80823         include <kernel-features.h>.
80824         [!__NR_ftruncate64]: Remove conditional code.
80825         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80826         [__NR_ftruncate64]: Make code unconditional.
80827         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
80829         include <kernel-features.h>.
80830         [!__NR_ftruncate64]: Remove conditional code.
80831         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80832         [__NR_ftruncate64]: Make code unconditional.
80833         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
80835         * configure.in (libc_cv_fpie): Weaken to a compile test using
80836         LIBC_TRY_CC_OPTION.
80837         * configure: Regenerated.
80839 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
80842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
80843         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
80844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
80845         Refreshed.
80846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
80847         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
80848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
80849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
80850         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
80851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
80852         Refreshed.
80854 2012-05-27  David S. Miller  <davem@davemloft.net>
80856         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
80857         (___Q_zero): New.
80858         (__Q_simulate_exceptions): Return void.  Change to simulate
80859         exceptions by writing into the %fsr.
80860         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80861         (__Qp_handle_exceptions): Likewise.
80862         (numbers): Delete.
80863         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80864         __Qp_handle_exceptions.
80865         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80866         __Qp_handle_exceptions.
80867         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80868         as unused and give dummy FP_RND_NEAREST initializer.
80869         (FP_INHIBIT_RESULTS): Define.
80870         (___Q_simulate_exceptions): Update declaration.
80871         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80872         formatting.
80873         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80874         as unused and give dummy FP_RND_NEAREST initializer.
80875         (__Qp_handle_exceptions): Update declaration.
80876         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80877         formatting.
80879 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80881         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80882         the temporary FPU control word.
80883         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80884         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80885         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80886         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80887         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80888         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80889         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80890         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80891         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80892         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80893         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80895 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80897         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80898         fields.
80900 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80902         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80903         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80904         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80905         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80906         Likewise.
80907         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80908         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80909         Likewise.
80911 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80913         * po/h.po: Update from translation team.
80915 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80917         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80919         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80920         handling of denormals.
80921         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80922         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80923         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80924         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80925         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80927         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80928         Likewise.
80930 2012-05-26  Marek Polacek  <polacek@redhat.com>
80932         [BZ #14152]
80933         * math/libm-test.inc (fma_test): Don't always expect underflow
80934         exception.
80936 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80938         [BZ #12416]
80939         * elf/tst-execstack.c: Include stackinfo.h.
80940         (do_test): Adjust test case to ensure that pthread_getattr_np
80941         behaviour remains the same after marking stack executable.
80943 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80945         * sysdeps/unix/sysv/linux/kernel-features.h
80946         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80947         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80948         kernel-features.h.
80949         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80950         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80951         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80952         kernel-features.h.
80953         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80954         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80956 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80958         * configure.in: Define the default includes to being none.
80959         * configure: Regenerated.
80961 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80963         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80964         * sysdeps/x86_64/setjmp.S: Likewise.
80965         * sysdeps/i386/bsd-setjmp.S: Likewise.
80966         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80967         * sysdeps/i386/setjmp.S: Likewise.
80968         * sysdeps/i386/__longjmp.S: Likewise.
80969         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80970         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80972         * include/stap-probe.h: New file.
80973         * configure.in: Handle --enable-systemtap.
80974         * configure: Regenerated.
80975         * config.h.in (USE_STAP_PROBE): New #undef.
80976         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80977         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80978         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80980 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80982         [BZ #13717]
80983         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80984         to 2.4.0 where earlier.
80985         * sysdeps/unix/sysv/linux/configure: Regenerated.
80986         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80987         <kernel-features.h>.
80988         [__ASSUME_32BITUIDS]: Make code unconditional.
80989         [!__ASSUME_32BITUIDS]: Remove conditional code.
80990         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80991         <kernel-features.h>.
80992         [__ASSUME_32BITUIDS]: Make code unconditional.
80993         [!__ASSUME_32BITUIDS]: Remove conditional code.
80994         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80995         [__ASSUME_32BITUIDS]: Make code unconditional.
80996         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80997         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80998         <kernel-features.h>.
80999         [__ASSUME_32BITUIDS]: Make code unconditional.
81000         [!__ASSUME_32BITUIDS]: Remove conditional code.
81001         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
81002         <kernel-features.h>.
81003         [__ASSUME_32BITUIDS]: Make code unconditional.
81004         [!__ASSUME_32BITUIDS]: Remove conditional code.
81005         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
81006         <kernel-features.h>.
81007         [__ASSUME_32BITUIDS]: Make code unconditional.
81008         [!__ASSUME_32BITUIDS]: Remove conditional code.
81009         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
81010         <kernel-features.h>.
81011         [__ASSUME_32BITUIDS]: Make code unconditional.
81012         [!__ASSUME_32BITUIDS]: Remove conditional code.
81013         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
81014         <kernel-features.h>.
81015         [__ASSUME_32BITUIDS]: Make code unconditional.
81016         [!__ASSUME_32BITUIDS]: Remove conditional code.
81017         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
81018         <kernel-features.h>.
81019         [__ASSUME_32BITUIDS]: Make code unconditional.
81020         [!__ASSUME_32BITUIDS]: Remove conditional code.
81021         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
81022         <kernel-features.h>.
81023         [__ASSUME_32BITUIDS]: Make code unconditional.
81024         [!__ASSUME_32BITUIDS]: Remove conditional code.
81025         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
81026         <kernel-features.h>.
81027         [__ASSUME_32BITUIDS]: Make code unconditional.
81028         [!__ASSUME_32BITUIDS]: Remove conditional code.
81029         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
81030         <kernel-features.h>.
81031         [__ASSUME_32BITUIDS]: Make code unconditional.
81032         [!__ASSUME_32BITUIDS]: Remove conditional code.
81033         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
81034         <kernel-features.h>.
81035         [__ASSUME_32BITUIDS]: Make code unconditional.
81036         [!__ASSUME_32BITUIDS]: Remove conditional code.
81037         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
81038         <kernel-features.h>.
81039         [__NR_setresgid] (__setresgid): Do not declare.
81040         [__ASSUME_32BITUIDS]: Make code unconditional.
81041         [!__ASSUME_32BITUIDS]: Remove conditional code.
81042         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
81043         <kernel-features.h>.
81044         [__NR_setresuid] (__setresuid): Do not declare.
81045         [__ASSUME_32BITUIDS]: Make code unconditional.
81046         [!__ASSUME_32BITUIDS]: Remove conditional code.
81047         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
81048         <kernel-features.h>.
81049         [__ASSUME_32BITUIDS]: Make code unconditional.
81050         [!__ASSUME_32BITUIDS]: Remove conditional code.
81051         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
81052         <kernel-features.h>.
81053         [__ASSUME_32BITUIDS]: Make code unconditional.
81054         [!__ASSUME_32BITUIDS]: Remove conditional code.
81055         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
81056         <kernel-features.h>.
81057         [__ASSUME_32BITUIDS]: Make code unconditional.
81058         [!__ASSUME_32BITUIDS]: Remove conditional code.
81059         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
81060         <kernel-features.h>.
81061         [__ASSUME_32BITUIDS]: Make code unconditional.
81062         [!__ASSUME_32BITUIDS]: Remove conditional code.
81063         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
81064         <kernel-features.h>.
81065         [__ASSUME_32BITUIDS]: Make code unconditional.
81066         [!__ASSUME_32BITUIDS]: Remove conditional code.
81067         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
81068         <kernel-features.h>.
81069         [__ASSUME_32BITUIDS]: Make code unconditional.
81070         [!__ASSUME_32BITUIDS]: Remove conditional code.
81071         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
81072         <kernel-features.h>.
81073         [__ASSUME_32BITUIDS]: Make code unconditional.
81074         [!__ASSUME_32BITUIDS]: Remove conditional code.
81075         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
81076         <kernel-features.h>.
81077         [__ASSUME_32BITUIDS]: Make code unconditional.
81078         [!__ASSUME_32BITUIDS]: Remove conditional code.
81079         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
81080         <kernel-features.h>.
81081         [__ASSUME_32BITUIDS]: Make code unconditional.
81082         [!__ASSUME_32BITUIDS]: Remove conditional code.
81083         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
81084         <kernel-features.h>.
81085         [__ASSUME_32BITUIDS]: Make code unconditional.
81086         [!__ASSUME_32BITUIDS]: Remove conditional code.
81087         * sysdeps/unix/sysv/linux/kernel-features.h
81088         (__ASSUME_SETRESUID_SYSCALL): Remove.
81089         (__ASSUME_SETRESGID_SYSCALL): Likewise.
81090         (__ASSUME_32BITUIDS): Likewise.
81091         (__ASSUME_LDT_WORKS): Likewise.
81092         (__ASSUME_O_DIRECTORY): Likewise.
81093         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
81094         architecture but not kernel version.
81095         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
81096         (__ASSUME_MMAP2_SYSCALL): Likewise.
81097         (__ASSUME_STAT64_SYSCALL): Likewise.
81098         (__ASSUME_IPC64): Likewise.
81099         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
81100         <kernel-features.h>.
81101         [__ASSUME_32BITUIDS]: Make code unconditional.
81102         [!__ASSUME_32BITUIDS]: Remove conditional code.
81103         * sysdeps/unix/sysv/linux/opendir.c: Do not include
81104         <kernel-features.h>.
81105         [__ASSUME_O_DIRECTORY]: Make code unconditional.
81106         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
81107         132096]: Remove conditional code.
81108         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
81109         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
81110         <kernel-features.h>.
81111         [__ASSUME_32BITUIDS]: Make code unconditional.
81112         [!__ASSUME_32BITUIDS]: Remove conditional code.
81113         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
81114         <kernel-features.h>.
81115         [__ASSUME_32BITUIDS]: Make code unconditional.
81116         [!__ASSUME_32BITUIDS]: Remove conditional code.
81117         * sysdeps/unix/sysv/linux/setegid.c: Do not include
81118         <kernel-features.h>.
81119         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
81120         unconditional.
81121         (__setresgid): Do not declare.
81122         [__ASSUME_32BITUIDS]: Make code unconditional.
81123         [!__ASSUME_32BITUIDS]: Remove conditional code.
81124         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
81125         <kernel-features.h>.
81126         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
81127         unconditional.
81128         (__setresuid): Do not declare.
81129         [__ASSUME_32BITUIDS]: Make code unconditional.
81130         [!__ASSUME_32BITUIDS]: Remove conditional code.
81131         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
81132         <kernel-features.h>.
81133         [__ASSUME_32BITUIDS]: Make code unconditional.
81134         [!__ASSUME_32BITUIDS]: Remove conditional code.
81135         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
81136         <kernel-features.h>.
81137         [__ASSUME_32BITUIDS]: Make code unconditional.
81138         [!__ASSUME_32BITUIDS]: Remove conditional code.
81140 2012-05-25  Richard Henderson  <rth@twiddle.net>
81142         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
81143         dl_hwcap to ifunc resolver.
81144         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
81145         elf_ifunc_invoke.
81146         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
81147         dl_hwcap to ifunc resolver.
81148         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
81150 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81152         [BZ #14153]
81153         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
81154         for |x| <= 2**-26, not 2**-57.
81155         * math/libm-test.inc (acos_test): Do not allow spurious underflow
81156         exception.
81158 2012-05-24  Jeff Law  <law@redhat.com>
81160         * stdio-common/Makefile (tests): Add bug25.
81161         * stdio-common/bug25.c: New test.
81163 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81165         [BZ #13576]
81166         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
81167         multiple of MALLOC_ALIGNMENT in size.
81168         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
81170 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81172         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
81173         Require >= 256.
81174         (FILENAME_MAX): Use macro-int-constant.
81175         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
81176         (_IOFBF): Use macro-int-constant.
81177         (_IOLBF): Likewise.
81178         (_IONBF): Likewise.
81179         (SEEK_CUR): Likewise.
81180         (SEEK_END): Likewise.
81181         (SEEK_SET): Likewise.
81182         (TMP_MAX): Likewise.
81183         (EOF): Use macro-int-constant.  Require < 0.
81184         (NULL): Use macro-constant.  Require == 0.
81185         (stdin): Require type to be FILE *.
81186         (stdout): Likewise.
81187         (stderr): Likewise.
81188         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
81189         macro-int-constant.
81190         (EXIT_SUCCESS): Likewise.
81191         (NULL): Use macro-constant.  Require == 0.
81192         (RAND_MAX): Use macro-int-constant.
81193         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
81194         [C99-based standards] (strtof): Require function.
81195         [C99-based standards] (strtold): Likewise.
81196         [C99-based standards] (strtoll): Likewise.
81197         [C99-based standards] (strtoull): Likewise.
81198         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
81199         [ISO || ISO99 || ISO11] (limits.h): Likewise.
81200         [ISO || ISO99 || ISO11] (math.h): Likewise.
81201         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
81202         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
81203         [ISO || ISO99 || ISO11] (*_t): Do not allow.
81205 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
81207         [BZ #14132]
81208         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
81209         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
81210         * intl/dgettext.c (DCGETTEXT): Likewise.
81211         * intl/gettext.c (DCGETTEXT): Likewise.
81212         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
81213         * posix/regex_internal.h (gettext): Likewise.
81214         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
81215         Remove declaration.
81216         * include/argz.h (__argz_count_internal)
81217         (__argz_stringify_internal): Remove declaration.
81218         (__argz_count, __argz_stringify): Declare hidden proto.
81219         * intl/dcgettext.c: Remove use of INTDEF.
81220         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
81221         * string/argz-stringify.c: Likewise.
81222         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81223         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81224         Declare hidden proto.
81225         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
81226         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
81227         Declare hidden proto.
81228         * include/stdio.h (__asprintf_internal): Don't declare.
81229         (__asprintf): Don't define as macro.  Declare hidden proto.
81230         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
81231         (__fsetlocking): Declare hidden proto.
81232         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
81233         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
81234         hidden proto.
81235         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
81236         (_IO_setlinebuf): Remove use of INTUSE.
81237         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
81238         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
81239         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
81240         Remove declaration.
81241         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
81242         (_IO_do_flush): Remove use of INTUSE.
81243         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
81244         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
81245         (_IO_adjust_column, _IO_least_wmarker)
81246         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
81247         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
81248         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
81249         (_IO_default_doallocate, _IO_wdefault_doallocate)
81250         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
81251         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
81252         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
81253         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
81254         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
81255         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
81256         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
81257         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
81258         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
81259         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
81260         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
81261         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
81262         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
81263         proto.
81264         (_IO_flush_all_internal, _IO_adjust_column_internal)
81265         (_IO_default_uflow_internal, _IO_default_finish_internal)
81266         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
81267         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
81268         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
81269         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
81270         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
81271         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
81272         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
81273         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
81274         (_IO_file_close_internal, _IO_file_close_it_internal)
81275         (_IO_file_underflow_internal, _IO_file_overflow_internal)
81276         (_IO_file_init_internal, _IO_file_attach_internal)
81277         (_IO_file_fopen_internal, _IO_file_read_internal)
81278         (_IO_file_sync_internal, _IO_file_seek_internal)
81279         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
81280         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
81281         (_IO_str_underflow_internal, _IO_str_overflow_internal)
81282         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
81283         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
81284         (_IO_list_all_internal, _IO_link_in_internal)
81285         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
81286         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
81287         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
81288         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
81289         (_IO_do_write_internal, _IO_padn_internal)
81290         (_IO_getline_info_internal, _IO_getline_internal)
81291         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
81292         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
81293         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
81294         (_IO_vfscanf_internal, _IO_vfprintf_internal)
81295         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
81296         (_IO_init_internal, _IO_un_link_internal): Don't declare.
81297         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
81298         with libc_hidden_ver, remove use of INTUSE.
81299         * libio/genops.c: Likewise.
81300         * libio/freopen.c: Likewise.
81301         * libio/freopen64.c: Likewise.
81302         * libio/iofclose.c: Likewise.
81303         * libio/iofdopen.c: Likewise.
81304         * libio/iofflush.c: Likewise.
81305         * libio/iofflush_u.c: Likewise.
81306         * libio/iofgets.c: Likewise.
81307         * libio/iofgets_u.c: Likewise.
81308         * libio/iofopen.c: Likewise.
81309         * libio/iofopncook.c: Likewise.
81310         * libio/iofread.c: Likewise.
81311         * libio/iofread_u.c: Likewise.
81312         * libio/ioftell.c: Likewise.
81313         * libio/iofwrite.c: Likewise.
81314         * libio/iogetline.c: Likewise.
81315         * libio/iogets.c: Likewise.
81316         * libio/iogetwline.c: Likewise.
81317         * libio/iopadn.c: Likewise.
81318         * libio/iopopen.c: Likewise.
81319         * libio/ioseekoff.c: Likewise.
81320         * libio/ioseekpos.c: Likewise.
81321         * libio/iosetbuffer.c: Likewise.
81322         * libio/iosetvbuf.c: Likewise.
81323         * libio/ioungetc.c: Likewise.
81324         * libio/ioungetwc.c: Likewise.
81325         * libio/iovdprintf.c: Likewise.
81326         * libio/iovsprintf.c: Likewise.
81327         * libio/iovsscanf.c: Likewise.
81328         * libio/memstream.c: Likewise.
81329         * libio/obprintf.c: Likewise.
81330         * libio/oldfileops.c: Likewise.
81331         * libio/oldiofclose.c: Likewise.
81332         * libio/oldiofdopen.c: Likewise.
81333         * libio/oldiofopen.c: Likewise.
81334         * libio/oldiopopen.c: Likewise.
81335         * libio/oldstdfiles.c: Likewise.
81336         * libio/putc.c: Likewise.
81337         * libio/setbuf.c: Likewise.
81338         * libio/setlinebuf.c: Likewise.
81339         * libio/stdfiles.c: Likewise.
81340         * libio/strops.c: Likewise.
81341         * libio/vasprintf.c: Likewise.
81342         * libio/vscanf.c: Likewise.
81343         * libio/vsnprintf.c: Likewise.
81344         * libio/vswprintf.c: Likewise.
81345         * libio/wfiledoalloc.c: Likewise.
81346         * libio/wfileops.c: Likewise.
81347         * libio/wgenops.c: Likewise.
81348         * libio/wmemstream.c: Likewise.
81349         * libio/wstrops.c: Likewise.
81350         * libio/__fpurge.c: Likewise.
81351         * libio/__fsetlocking.c: Likewise.
81352         * assert/assert.c: Likewise.
81353         * debug/fgets_chk.c: Likewise.
81354         * debug/fgets_u_chk.c: Likewise.
81355         * debug/fread_chk.c: Likewise.
81356         * debug/fread_u_chk.c: Likewise.
81357         * debug/gets_chk.c: Likewise.
81358         * debug/obprintf_chk.c: Likewise.
81359         * debug/vasprintf_chk.c: Likewise.
81360         * debug/vdprintf_chk.c: Likewise.
81361         * debug/vsnprintf_chk.c: Likewise.
81362         * debug/vsprintf_chk.c: Likewise.
81363         * malloc/mtrace.c: Likewise.
81364         * misc/error.c: Likewise.
81365         * misc/syslog.c: Likewise.
81366         * stdio-common/asprintf.c: Likewise.
81367         * stdio-common/fxprintf.c: Likewise.
81368         * stdio-common/getw.c: Likewise.
81369         * stdio-common/isoc99_fscanf.c: Likewise.
81370         * stdio-common/isoc99_scanf.c: Likewise.
81371         * stdio-common/isoc99_vfscanf.c: Likewise.
81372         * stdio-common/isoc99_vscanf.c: Likewise.
81373         * stdio-common/isoc99_vsscanf.c: Likewise.
81374         * stdio-common/printf-prs.c: Likewise.
81375         * stdio-common/printf_fp.c: Likewise.
81376         * stdio-common/printf_fphex.c: Likewise.
81377         * stdio-common/printf_size.c: Likewise.
81378         * stdio-common/putw.c: Likewise.
81379         * stdio-common/scanf.c: Likewise.
81380         * stdio-common/sprintf.c: Likewise.
81381         * stdio-common/tmpfile.c: Likewise.
81382         * stdio-common/vfprintf.c: Likewise.
81383         * stdio-common/vfscanf.c: Likewise.
81384         * stdlib/strfmon_l.c: Likewise.
81385         * sunrpc/openchild.c: Likewise.
81386         * sunrpc/xdr_stdio.c: Likewise.
81387         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
81388         * sysdeps/mach/hurd/tmpfile.c: Likewise.
81390 2012-05-24  Roland McGrath  <roland@hack.frob.com>
81392         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81394         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
81395         in the third column, to generate for the shared library an IFUNC
81396         that uses _dl_vdso_vsym.
81397         * Makerules (COMPILE.c, compile-stdin.c): New variables.
81398         * Makeconfig (object-suffixes-noshared): New variable.
81400         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
81401         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
81402         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
81403         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
81405         [BZ #14132]
81406         * include/sys/time.h (__gettimeofday): Remove macro.
81407         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
81408         * time/gettimeofday.c (__gettimeofday): Remove #undef.
81409         Remove INTDEF.
81410         (__gettimeofday): Add libc_hidden_def.
81411         (gettimeofday): Add libc_hidden_weak.
81412         * sysdeps/mach/gettimeofday.c: Likewise.
81413         * sysdeps/posix/gettimeofday.c: Likewise.
81414         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
81415         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
81416         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
81417         (__gettimeofday_internal): Remove strong_alias.
81418         (__gettimeofday): Add libc_hidden_def.
81419         (gettimeofday): Add libc_hidden_weak.
81420         * sysdeps/unix/syscalls.list (gettimeofday):
81421         Remove __gettimeofday_internal alias.
81423 2012-05-24  Daniel Jacobowitz  <drow@false.org>
81424             H.J. Lu  <hongjiu.lu@intel.com>
81426         [BZ #12495]
81427         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
81428         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
81429         (largebin_index_32_big): New.
81430         (largebin_index): Use it for 16-byte alignment.
81431         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
81432         correction with front_misalign.
81434 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
81436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
81437         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
81438         Likewise.
81439         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
81440         Likewise.
81441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
81442         Likewise.
81443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
81444         Likewise.
81445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
81446         Likewise.
81447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
81448         Likewise.
81449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
81450         Likewise.
81451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
81452         Likewise.
81453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
81454         Likewise.
81455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
81456         Likewise.
81457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
81458         Likewise.
81459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
81460         Likewise.
81462         * scripts/data/c++-types-x32-linux-gnu.data: New file.
81463         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
81465 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
81467         [BZ #10846]
81468         [BZ #14036]
81469         * math/libm-test.inc (exp_test): Add test from bug 14036.
81470         (pow_test): Add test from bug 10846.
81472         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
81473         and other flags.
81474         (special_function): Do not include flags in test name.
81475         (parse_args): Likewise.
81476         * sysdeps/i386/fpu/libm-test-ulps: Update.
81477         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
81478         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
81479         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
81480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81482         * math/gen-libm-test.pl (%beautify): Add entries for underflow
81483         exceptions.
81484         * math/libm-test.inc ("Philosophy"): Update comment about
81485         exception testing.
81486         (UNDERFLOW_EXCEPTION): New macro.
81487         (UNDERFLOW_EXCEPTION_OK): Likewise.
81488         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
81489         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
81490         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
81491         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
81492         (INVALID_EXCEPTION_OK): Update value.
81493         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
81494         (OVERFLOW_EXCEPTION_OK): Likewise.
81495         (IGNORE_ZERO_INF_SIGN): Likewise.
81496         (test_exceptions): Handle underflow exceptions.
81497         (acos_test): Update for underflow exception expectations.
81498         (cexp_test): Likewise.
81499         (clog_test): Likewise.
81500         (clog10_test): Likewise.
81501         (csqrt_test): Likewise.
81502         (ctan_test): Likewise.
81503         (ctanh_test): Likewise.
81504         (exp_test): Likewise.
81505         (exp10_test): Likewise.
81506         (exp2_test): Likewise.
81507         (expm1_test): Likewise.
81508         (fma_test): Likewise.
81509         (j0_test): Likewise.
81510         (jn_test): Likewise.
81511         (nexttoward_test): Likewise.
81512         (pow_test): Likewise.
81513         (scalbn_test): Likewise.
81514         (scalbln_test): Likewise.
81515         (tan_test): Likewise.
81516         (y1_test): Likewise.
81517         * sysdeps/i386/fpu/libm-test-ulps: Update.
81518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81520 2012-05-23  David S. Miller  <davem@davemloft.net>
81522         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81523         (__libc_sigaction): Remove unused local variables.
81525 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81527         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
81529 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
81531         mktime: avoid signed integer overflow
81532         * time/mktime.c (__mktime_internal): Do not mishandle the case
81533         where diff == INT_MIN.
81535         mktime: simplify computation of average
81536         * time/mktime.c (ranged_convert): Use new time_t_avg function
81537         instead of rolling our own (probably-slower) code.
81539         mktime: do not assume signed right shift propagates sign bit
81540         * time/mktime.c (isdst_differ): New static function.
81541         (__mktime_internal): No need to normalize tm_isdst now.
81542         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
81543         tm_isdst values.
81545         mktime: merge another wrapv change from gnulib
81546         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
81547         from some compilers.
81549         mktime: remove incorrect attempt at unusual arithmetics
81550         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
81551         The code didn't really work on such machines anyway.
81552         (TYPE_MINIMUM): Assume two's complement.
81553         (twos_complement_arithmetic): Verify that long_int and time_t
81554         are two's complement (or unsigned, in the latter case).
81556         mktime: check signed shifts on long_int and time_t, too
81557         * time/mktime.c (SHR): Check that shifts work as desired
81558         on the types long_int and time_t too, as SHR is used on
81559         such types.
81561         mktime: do not assume 'long' is wide enough
81562         * time/mktime.c (verify): Move decl up.
81563         (long_int): New type.
81564         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
81565         to remove assumption in the code that 'long' is wide enough to
81566         store year values.  This assumption is not true on x32 and on
81567         some non-glibc platforms.
81569         mktime: merge wrapv change from gnulib
81570         * time/mktime.c (WRAPV): New macro.
81571         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
81572         (guess_time_tm, __mktime_internal): Do not assume that signed
81573         integer overflow wraps around; modern compilers generate code
81574         where this assumption is no longer valid.
81576 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81578         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81579         Replace "jmp L(pseudo_end)" with "ret".
81580         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
81581         Likewise.
81583 2012-05-23  Andreas Jaeger  <aj@suse.de>
81585         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
81586         * sysdeps/unix/sysv/linux/poll.c: Remove file.
81588 2012-05-23  Andreas Jaeger  <aj@suse.de>
81589             Maximilian Attems  <max@stro.at>
81591         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
81592         New macros.
81594 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
81596         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
81597         code so that pseudo_end is just ret and the stack pointer is
81598         correct also for static library in error case.
81600 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
81602         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
81603         move to syscalls.list.
81604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
81605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
81606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
81607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
81609         * manual/install.texi (Running make install): Do not mention Linux
81610         kernel version for which pt_chown is not needed.
81611         (Linux): Do not mention problems with nscd with 2.0 kernels.
81612         * INSTALL: Regenerated.
81614 2012-05-23  Andreas Jaeger  <aj@suse.de>
81616         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
81617         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
81618         macro.
81619         * sysdeps/unix/sysv/linux/s390/bits/mman.h
81620         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81621         * sysdeps/unix/sysv/linux/sh/bits/mman.h
81622         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81623         * sysdeps/unix/sysv/linux/i386/bits/mman.h
81624         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81625         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
81626         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81627         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
81628         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
81629         * sysdeps/unix/sysv/linux/bits/in.h
81630         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
81632 2012-05-22  Roland McGrath  <roland@hack.frob.com>
81634         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
81635         (PREPARE_VERSION): Just use assert instead, it will be elided
81636         under [NDEBUG] anyway.
81638 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81640         * sysdeps/unix/sysv/linux/Makefile: Include
81641         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
81642         (sysdep_routines): Remove sysctl.
81643         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
81644         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
81645         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
81646         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
81647         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
81649 2012-05-22  Andreas Jaeger  <aj@suse.de>
81651         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
81652         that pseudo_end is just ret and the stack pointer is correct also
81653         for static library in error case.
81655 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
81657         [BZ #14122]
81658         * nss/nsswitch.c (defconfig_entries): New variable.
81659         (__nss_database_lookup): Don't leak defconfig entries.
81660         (nss_parse_service_list): Don't leak on error paths.
81661         (free_database_entries): New function.
81662         (free_defconfig): New function.
81663         (free_mem): Move common code to free_database_entries.
81665 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81667         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
81668         Add arch_prctl.
81669         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
81671         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
81672         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
81673         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
81674         New macro.
81675         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
81676         (INTERNAL_SYSCALL_TYPES): Likewise.
81677         (LOAD_ARGS_TYPES_[1-6]): Likewise.
81678         (LOAD_REGS_TYPES_[1-6]): Likewise.
81679         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
81680         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
81682 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81684         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
81685         copysignl for GLIBC_2_0.
81686         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
81687         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
81688         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
81689         logbl for GLIBC_2_0.
81690         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
81691         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
81693 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81695         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
81696         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81698         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
81699         Use "neg %eax".
81701         * time/mktime.c: Update copyright years.
81703 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
81705         mktime: merge comment-quoting-style change from gnulib
81706         * time/mktime.c: Quote 'like this' in comments.
81707         The GNU coding standards suggest that we no longer quote `like this',
81708         as "`" and "'" are typically rendered asymmetrically nowadays.
81709         The typical gnulib style is to quote 'like this' when quoting
81710         code, and "like this" when quoting English.
81712         * time/mktime.c (compile-command): Add "-I.".
81714         mktime: merge mktime-internal.h change from gnulib
81715         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
81717         mktime: merge time_r change from gnulib
81718         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
81720         mktime: merge DEBUG change from gnulib
81721         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
81722         case system <time.h> has a #define.
81724         mktime: merge <sys/types.h> change from gnulib
81725         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
81726         since <time.t> is now guaranteed to define time_t.
81728         mktime: merge HAVE_CONFIG_H change from gnulib
81729         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
81731 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
81733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81734         Use "neg %eax".
81736         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
81737         __rlim_t cast.
81738         (struct rusage): Use anonymous union to pad each field to
81739         __syscall_slong_t.
81741 2012-05-21  David S. Miller  <davem@davemloft.net>
81743         * Makefules (o-iterator): Remove .s cases.
81744         (compile-command.s): Delete.
81745         (COMPILE.s): Delete.
81746         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
81748 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
81750         * configure.in (libc_cv_predef_stack_protector): Only consider
81751         "foobar" and "__stack_chk_fail" lines in libc_undefs.
81752         * configure: Regenerated.
81754 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81756         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
81757         New macro.  Use R*LP on int and pointer.
81758         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
81759         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
81760         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
81761         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
81763         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
81764         [__WORDSIZE_TIME64_COMPAT32] instead of
81765         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
81766         (struct utmp): Likewise.
81767         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
81768         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
81769         Renamed to ...
81770         (__WORDSIZE_TIME64_COMPAT32): This.
81771         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
81772         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
81773         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
81774         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
81775         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
81776         (__WORDSIZE_TIME64_COMPAT32): New macro.
81778 2012-05-21  Andreas Jaeger  <aj@suse.de>
81780         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
81781         only if [SHARED]. Add prototype for __wcschr_ia32.
81783 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81785         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
81786         of %rbp unmolested in the jmp_buf while mangling the low bits.
81787         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
81788         unmolested high bits of %rbp while demangling the low bits.
81789         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
81791 2012-05-21  Andreas Jaeger  <aj@suse.de>
81793         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
81794         * sunrpc/svc_simple.c: Use it for registerrpc.
81795         * sunrpc/xcrypt.c: Use it for passwd2des.
81797         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
81799 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81801         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
81802         Don't define if [__SYSCALL_WORDSIZE != 32].
81803         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
81804         New macro.
81806 2012-05-21  Bruno Haible  <bruno@clisp.org>
81807             Andreas Jaeger  <aj@suse.de>
81809         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
81810         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
81811         inptr and inend for must_buffer_ch.
81812         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
81813         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
81814         * stdio-common/Makefile (tests): Remove bug15.
81815         (bug15-ENV): Remove macro.
81816         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
81817         anymore.
81819 2012-05-19  Andreas Jaeger  <aj@suse.de>
81820             Roland McGrath  <roland@hack.frob.com>
81822         * manual/contrib.texi: Completely rewritten. It contains now an
81823         alphabetical list of contributors and their contributions.
81825 2012-05-21  Richard Henderson  <rth@twiddle.net>
81827         * misc/getauxval.c (__getauxval): Use unsigned long int.
81828         * misc/sys/auxv.h: Include <sys/cdefs.h>.
81829         (getauxval): Use unsigned long int.
81831 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
81833         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
81835 2012-05-21  Roland McGrath  <roland@hack.frob.com>
81837         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
81838         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
81839         __alignof__ (long double).
81841 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81845 2012-05-20  Richard Henderson  <rth@twiddle.net>
81847         * misc/getauxval.c: New file.
81848         * misc/sys/auxv.h: New file.
81849         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
81850         (routines): Add getauxval.
81851         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
81852         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
81853         * elf/dl-sysdep.c (_dl_auxv): Remove.
81854         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
81855         * elf/dl-support.c (_dl_auxv): New variable.
81856         (_dl_aux_init): Initialize it.
81857         * manual/startup.texi (Auxiliary Vector): New node.
81858         * sysdeps/generic/bits/hwcap.h: New file.
81859         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81860         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81861         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81862         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81863         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81864         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81866         Update.
81867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81870         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81874         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81876 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81880 2012-05-19  David S. Miller  <davem@davemloft.net>
81882         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81884 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81886         [BZ #14123]
81887         * math/s_ccosh.c: Include <float.h>
81888         (__ccosh): Avoid internal overflow calculating sinh and cosh
81889         values before multiplying by sin and cos values.
81890         * math/s_ccoshf.c: Likewise.
81891         * math/s_ccoshl.c: Likewise.
81892         * math/s_csin.c: Likewise.
81893         * math/s_csinf.c: Likewise.
81894         * math/s_csinl.c: Likewise.
81895         * math/s_csinh.c: Likewise.
81896         * math/s_csinhf.c: Likewise.
81897         * math/s_csinhl.c: Likewise.
81898         * math/libm-test.inc (ccos_test): Add more tests.
81899         (ccosh_test): Likewise.
81900         (csin_test): Likewise.
81901         (csinh_test): Likewise.
81902         * sysdeps/i386/fpu/libm-test-ulps: Update.
81903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81905 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81907         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81908         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81910         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81912 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81914         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81915         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81916         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81917         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81918         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81919         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81920         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81921         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81922         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81923         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81924         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81925         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81926         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81927         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81928         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81929         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81930         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81931         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81932         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81933         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81934         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81935         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81936         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81937         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81938         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81939         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81940         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81941         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81942         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81943         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81944         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81946 2012-05-18  Andreas Jaeger  <aj@suse.de>
81948         * csu/.gitignore: Delete.
81950 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81952         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81953         (timex): Use __syscall_slong_t.
81955 2012-05-18  Andreas Jaeger  <aj@suse.de>
81956             Carlos O'Donell  <carlos_odonell@mentor.com>
81958         * manual/install.texi (Configuring and compiling): Update
81959         description about files modified in the source directory.
81960         * INSTALL: Regenerated.
81962 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81964         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81965         value.  Use "or" to set return value to -1.
81966         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81967         negate return value.
81969 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81971         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81972         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81973         failure if the compiler has Graphite support disabled.
81974         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81975         Likewise.
81976         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81977         (CFLAGS-memmove.c): Likewise.
81978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81979         Likewise.
81981 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81983         * sysdeps/x86_64/x32/_itoa.h: New file.
81985         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81986         getdents system call only if kernel and user dirents have the
81987         same d_ino and d_off.
81989         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81990         LLONG_MAX != LONG_MAX.
81991         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81992         (_fitoa_word): Likewise.
81994         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81995         years.
81996         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81997         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81998         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
82000         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
82001         include <bits/wordsize.h>.  Check __x86_64__ instead of
82002         __WORDSIZE.
82003         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
82004         if __x86_64__ is defined.  Use anonymous union on fpstate.
82006         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
82007         anonymous union.
82009 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
82011         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
82012         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
82013         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
82014         Refer to _rtld_local_ro instead of _rtld_global_ro.
82015         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
82016         Likewise.
82017         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
82018         Likewise.
82019         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
82020         Likewise.
82021         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
82022         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
82023         of _rtld_global, and rtld_progname instead of _dl_argv[0].
82025         [BZ #10882]
82026         * sysdeps/powerpc/powerpc32/dl-machine.c
82027         (__elf_machine_runtime_setup) [PROF]: Don't reference
82028         _dl_prof_resolve.
82030 2012-05-18  Andreas Jaeger  <aj@suse.de>
82032         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
82033         function only available for GCCs before 3.4 since GCC 3.4
82034         introduced a builtin.
82035         (lrint): Likewise.
82036         (llrintf): Likewise.
82037         (llrint): Likewise.
82038         (fmaxf): Likewise.
82039         (fmax): Likewise.
82040         (fminf): Likewise.
82041         (fmin): Likewise.
82042         (rint): Likewise.
82043         (rintf): Likewise.
82044         (nearbyint): Likewise.
82045         (nearbyintf): Likewise.
82046         (ceil): Likewise.
82047         (ceilf): Likewise.
82048         (floor): Likewise.
82049         (floorf): Likewise.
82051 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82053         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
82054         on both fields and cast pointer to __syscall_ulong_t.
82056         * bits/types.h (__fsword_t): New type.
82057         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
82058         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
82059         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82060         (__FSWORD_T_TYPE): Likewise.
82061         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82062         (__FSWORD_T_TYPE): Likewise.
82063         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82064         (__FSWORD_T_TYPE): Likewise.
82065         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
82066         (__FSWORD_T_TYPE): Likewise.
82067         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
82068         __SWORD_TYPE with __fsword_t.
82069         (statfs64): Likewise.
82071 2012-05-17  David S. Miller  <davem@davemloft.net>
82073         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
82075 2012-05-17  Andreas Jaeger  <aj@suse.de>
82077         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
82078         warning.
82080 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82082         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
82084 2012-05-17  Andreas Jaeger  <aj@suse.de>
82086         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
82087         when it is used.
82089 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
82091         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
82093 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
82095         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
82096         * sysdeps/x86_64/tst-mallocalign1.c: New file.
82098 2012-05-17  Andreas Jaeger  <aj@suse.de>
82099             Carlos O'Donell  <carlos_odonell@mentor.com>
82101         [BZ #14059]
82102         * sysdeps/x86_64/multiarch/init-arch.h
82103         (bit_YMM_Usable): Rename to...
82104         (bit_AVX_Usable): ... this.
82105         (bit_FMA4_Usable): New macro.
82106         (bit_XMM_state): New macro.
82107         (bit_YMM_state): New macro.
82108         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
82109         [__ASSEMBLER__] (index_AVX_Usable): ... this.
82110         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
82111         (CPUID_OSXSAVE): New macro.
82112         (CPUID_AVX): New macro.
82113         (CPUID_FMA4): New macro.
82114         (index_YMM_Usable): Rename to...
82115         (index_AVX_Usable): ... this.
82116         (HAS_AVX): Use HAS_ARCH_FEATURE.
82117         (HAS_FMA4): Likewise.
82118         (HAS_YMM_USABLE): Remove.
82119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82120         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
82121         are present.
82122         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
82123         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
82124         * sysdeps/x86_64/multiarch/Makefile: Likewise.
82125         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
82126         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
82128 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
82130         * math/libm-test.c: Support platforms without multiple rounding modes.
82131         * math/bug-nextafter.c: Support platforms without FP exceptions.
82132         * math/bug-nexttoward.c: Likewise.
82133         * math/test-fenv.c: Likewise.
82134         * math/test-misc.c: Likewise.
82135         * stdlib/bug-getcontext.c: Likewise.
82137 2012-05-17  Andreas Jaeger  <aj@suse.de>
82139         * manual/examples/search.c (critter_cmp): Change signature to
82140         avoid warnings.
82141         * manual/string.texi (Collation Functions): Likewise.
82143 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82145         * bits/types.h: Fold copyright years.
82146         * bits/typesizes.h: Likewise.
82147         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
82148         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
82149         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
82150         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
82151         * time/time.h: Likewise.
82153 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
82155         [BZ #208]
82156         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
82157         in instead of returning them.  Return void.
82158         (__libc_mallinfo): Accumulate over all arenas.
82159         (__malloc_stats): Adjust for change in int_mallinfo interface.
82161 2012-05-16  Roland McGrath  <roland@hack.frob.com>
82163         [BZ #10375]
82164         * configure.in (NM): Add AC_CHECK_TOOL for it.
82165         (libc_extra_cflags): New substituted variable.
82166         Check for -fstack-protector being used implicitly.
82167         * configure: Regenerated.
82168         * config.make.in (config-extra-cflags): New variable,
82169         gets @libc_extra_cflags@.
82170         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
82172         [BZ #10375]
82173         * configure.in: Check for _FORTIFY_SOURCE being predefined.
82174         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
82175         * configure: Regenerated.
82176         * config.make.in (CPPUNDEFS): New substituted variable.
82177         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
82178         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
82179         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
82181 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82183         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
82184         (mq_attr): Use __syscall_slong_t.
82186 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82188         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
82189         Check __x86_64__ instead of __WORDSIZE.
82190         (_STAT_VER_LINUX): Likewise.
82191         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
82192         __syscall_ulong_t and __syscall_slong_t.
82193         (stat64): Likewise.
82195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82197         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
82199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82201         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
82203 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82205         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
82206         __syscall_ulong_t.
82208         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
82209         include <bits/wordsize.h>.  Check __x86_64__ instead of
82210         __WORDSIZE.
82211         (greg_t): Use "__extension__ long long int" if __x86_64__ is
82212         defined.
82213         (mcontext_t): Replace "unsigned long" with "unsigned long long".
82215         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
82216         include <bits/wordsize.h>.  Check __x86_64__ instead of
82217         __WORDSIZE.
82218         (user_regs_struct): Use "__extension__ unsigned long long"
82219         instead of "unsigned long" if __x86_64__ is defined.
82220         (user): Likewise.  Pad after pointer field if __ILP32__ is
82221         defined.
82223 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
82225         * configure.in (makeinfo): Require version 4.5 or later.  Allow
82226         versions 5 to 9.
82227         * configure: Regenerated.
82228         * manual/install.texi (texinfo): Increase version requirement to
82229         4.5 or later.
82230         * INSTALL: Regenerated.
82232         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
82234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
82236         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
82238         * sysdeps/x86_64/x32/ffs.c: New file.
82240         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
82241         __syscall_ulong_t.
82242         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
82243         defined.  Use __syscall_ulong_t.
82244         (shminfo): Use __syscall_ulong_t.
82245         (shm_info): Likewise.
82247         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
82248         __syscall_ulong_t.
82250         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
82251         <bits/wordsize.h>.
82252         (msgqnum_t): Use __syscall_ulong_t.
82253         (msglen_t): Likewise.
82254         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
82255         __syscall_ulong_t.
82257         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
82258         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82260         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
82262         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
82263         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
82265         * sysvipc/sys/msg.h (msgbuf): Replace long int with
82266         __syscall_slong_t.
82268         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
82269         include <bits/wordsize.h>.  Check __x86_64__ instead of
82270         __WORDSIZE.
82272         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
82273         "unsigned long long int" if __x86_64__ is defined.
82274         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
82276         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
82277         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
82278         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
82280         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
82281         <stdint.h>.
82282         (GET_PC): Cast to uintptr_t first.
82283         (GET_FRAME): Likewise.
82284         (GET_STACK): Likewise.
82286         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
82287         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
82288         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
82289         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
82290         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
82291         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
82292         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
82293         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
82294         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
82295         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
82296         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
82297         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
82298         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
82299         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
82300         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
82301         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
82302         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
82303         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
82304         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
82305         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
82306         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
82307         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
82308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
82309         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
82310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
82311         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
82312         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
82313         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
82314         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
82316 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
82318         * Makerules (+depfiles): Also collect depfiles from .oS in
82319         $(extra-objs).
82320         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
82321         .oS, $(libnldbl-routines)).
82323         * Makerules (native-compile-mkdep-flags): Define.
82324         * sunrpc/Makefile (extra-objs): Add $(addprefix
82325         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
82326         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
82327         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
82328         calling $(make-target-directory).
82330 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82332         * bits/types.h (__snseconds_t): Removed.
82333         * time/time.h (struct timespec): Replace __snseconds_t with
82334         __syscall_slong_t.
82335         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
82336         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
82337         Likewise.
82338         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82339         (__SNSECONDS_T_TYPE): Likewise.
82340         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82341         (__SNSECONDS_T_TYPE): Likewise.
82342         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82343         (__SNSECONDS_T_TYPE): Likewise.
82345 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82347         * sysdeps/mach/hurd/bits/typesizes.h
82348         (__SYSCALL_SLONG_TYPE): New macro.
82349         (__SYSCALL_ULONG_TYPE): Likewise.
82351 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82353         * bits/types.h (__syscall_slong_t): New type.
82354         (__syscall_ulong_t): Likewise.
82356         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
82357         (__SYSCALL_ULONG_TYPE): Likewise.
82358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
82359         (__SYSCALL_SLONG_TYPE): Likewise.
82360         (__SYSCALL_ULONG_TYPE): Likewise.
82361         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
82362         (__SYSCALL_SLONG_TYPE): Likewise.
82363         (__SYSCALL_ULONG_TYPE): Likewise.
82364         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
82365         (__SYSCALL_SLONG_TYPE): Likewise.
82366         (__SYSCALL_ULONG_TYPE): Likewise.
82368 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82370         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
82371         Add sigaltstack-offsets.sym.
82372         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
82373         <sigaltstack-offsets.h>.
82374         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
82375         longjmp_msg pointer.
82376         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
82377         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
82378         signal stack.
82379         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
82381 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82383         * elf/stackguard-macros.h: Remove file.
82384         * sysdeps/generic/stackguard-macros.h: New file.
82385         * sysdeps/i386/stackguard-macros.h: Likewise.
82386         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
82387         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
82388         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
82389         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
82390         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
82391         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
82392         * sysdeps/x86_64/stackguard-macros.h: Likewise.
82393         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
82394         <elf/stackguard-macros.h>.
82396         [BZ #14109]
82397         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
82398         __aligned__ in attribute.
82399         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
82400         (gregset_t): Likewise.
82402 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82404         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
82405         * sysdeps/x86_64/64/Implies-after: Here.  New file.
82406         * sysdeps/x86_64/x32/Implies-after: New file.
82408 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82410         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
82411         and access return value for _dl_profile_fixup.  Use R10_LP to
82412         load frame size.
82414 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82416         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
82418 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82420         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
82421         * sysdeps/x86_64/x32/sysdep.h: New file.
82423 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82425         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
82426         * sysdeps/x86_64/setjmp.S: Likewise.
82428 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82430         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
82431         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
82432         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
82433         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
82434         remove unused global constant.
82436 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
82438         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
82439         include of <not-cancel.h>.
82441 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82443         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
82445 2012-05-15  Jeff Law  <law@redhat.com>
82446             Andreas Jaeger  <aj@suse.de>
82448         [BZ #13594]
82449         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
82450         out from...
82451         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
82452         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
82453         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
82454         code changing __hst_map_handle.map.
82456 2012-05-15  Roland McGrath  <roland@hack.frob.com>
82458         * configure.in (sysnames): Look for Implies-before and Implies-after
82459         files.
82460         * configure: Regenerated.
82462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82464         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
82465         8-byte data alignment with LP_SIZE alignment.
82467 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82469         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
82470         into R10_LP.
82472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82474         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
82476 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82478         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
82479         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
82480         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
82481         Likewise.
82482         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
82484 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82486         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
82487         (stackinfo_sub_sp): Likewise.
82489 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82491         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
82492         RAX_LP.
82494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82496         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
82497         into R*_LP.
82499 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82501         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
82502         sizes into R*_LP.
82504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82506         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
82508 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82510         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
82511         into R11_LP and load __x86_64_shared_cache_size_half into
82512         R8_LP.
82514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
82516         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
82517         R8_LP.
82519 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
82522         logb for POWER7.
82523         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
82524         logbf for POWER7.
82525         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
82526         logbl for POWER7.
82527         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
82528         powerpc32/power7/fpu/s_logb.c via #include.
82529         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
82530         powerpc32/power7/fpu/s_logbf.c via #include.
82531         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
82532         powerpc32/power7/fpu/s_logbl.c via #include.
82534 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
82536         * README.libm: Remove file.
82538 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82540         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
82541         count for x32.  Use R*_LP and omit operand-size suffix.
82543 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82545         * shlib-versions: Move x86_64-.*-linux.* entries to ...
82546         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
82547         * sysdeps/x86_64/x32/shlib-versions: New file.
82549 2012-05-14  Roland McGrath  <roland@hack.frob.com>
82551         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
82552         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
82553         Use _dl_fatal_printf instead.
82555 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82557         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
82558         set if not set by the user.  Do not allow for being unset.
82559         * sysdeps/unix/sysv/linux/configure: Regenerated.
82561 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82563         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
82564         the `q' suffix from lea and replace .quad with ASM_ADDR.
82566 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
82569         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
82570         instead of $17.
82571         (PTR_DEMANGLE): Likewise.
82573 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82575         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
82576         (LP_OP): Likewise.
82577         (ASM_ADDR): Likewise.
82578         (RAX_LP): Likewise.
82579         (RBP_LP): Likewise.
82580         (RBX_LP): Likewise.
82581         (RCX_LP): Likewise.
82582         (RDI_LP): Likewise.
82583         (RSI_LP): Likewise.
82584         (RSP_LP): Likewise.
82585         (R8_LP): Likewise.
82586         (R9_LP): Likewise.
82587         (R10_LP): Likewise.
82588         (R10_LP): Likewise.
82589         (R11_LP): Likewise.
82590         (R12_LP): Likewise.
82591         (R13_LP): Likewise.
82592         (R14_LP): Likewise.
82593         (R15_LP): Likewise.
82595 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82597         * sysdeps/x86_64/x32/dl-machine.h: New file.
82599 2012-05-14  Andreas Jaeger  <aj@suse.de>
82601         * manual/Makefile (subdir): Remove export of subdir.
82602         (all): Remove target.
82603         (.PHONY): Remove all from list.
82604         (mkinstalldirs): Remove.
82605         (.PHONY): Remove installdirs from list.
82606         ($(inst_infodir)/libc.info): Use make-target-directory.
82607         (installdirs): Remove.
82608         (subdir_%): Remove.
82609         (glibc-targets): Remove.
82610         (lib): Remove.
82611         (stubs): Remove.
82612         ($(objpfx)stubs ../po/manual.pot): Remove.
82613         ($(objpfx)stamp%): Remove.
82614         (make-target-directory): Remove.
82615         (subdir_install): Remove.
82616         (routines): Remove.
82617         (aux): Remove.
82618         (sources): Remove.
82619         (objects): Remove.
82620         (headers): Remove.
82622         [BZ #13750]
82623         * manual/.gitignore: Remove, it's not needed anymore.
82624         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
82625         all files in it.
82626         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
82627         directory.
82628         (texis): Renamed to $(objpfx)texis.
82629         (texis-path): New, contains path to generated files.
82630         (chapters.%): Use texis-path for complete path, add extra argument
82631         libc-texinfo.sh.
82632         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
82633         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
82634         (summary,texi, stamp-summary): Use complete path of
82635         files. Generate files in build dir.
82636         (dir-add.texi): Build in build dir.
82637         (libm-err.texi,stamp-libm-err): Likewise.
82638         (version.texi, stamp-version): Likewise.
82639         (.%c.texi): Likewise.
82640         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
82641         (mostlyclean): Remove target.
82642         (realclean): Remove target.
82643         (generated): Add new variable with contents from mostlyclean and
82644         realclean, remove entries duplicated in common-mostlyclean, add
82645         stamp-libm-err and stamp-version.
82646         (generated-dirs): Add libc directory.
82647         ($(inst_infodir)/libc.info): Install files from build dir.
82649         * manual/install.texi (Configuring and compiling): Adjust since
82650         the info files are not part of the tar ball anymore.
82652 2012-05-14  Andreas Jaeger  <aj@suse.de>
82654         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
82655         variable.
82657 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
82659         [BZ #13717]
82660         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
82661         to 2.2.0 where earlier.
82662         * sysdeps/unix/sysv/linux/configure: Regenerated.
82663         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
82664         Remove conditional code.
82665         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
82666         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
82667         Remove conditional code.
82668         [!__NR_lchown]: Likewise.
82669         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82670         [__NR_lchown]: Likewise.
82671         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
82672         comment referencing __ASSUME_LCHOWN_SYSCALL.
82673         * sysdeps/unix/sysv/linux/i386/sigaction.c
82674         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82675         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82676         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
82677         Remove conditional code.
82678         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
82679         (__protocol_available): Remove #if 0 code.
82680         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
82681         conditional code.
82682         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
82683         * sysdeps/unix/sysv/linux/kernel-features.h
82684         (__ASSUME_GETCWD_SYSCALL): Don't define.
82685         (__ASSUME_REALTIME_SIGNALS): Likewise.
82686         (__ASSUME_PREAD_SYSCALL): Likewise.
82687         (__ASSUME_PWRITE_SYSCALL): Likewise.
82688         (__ASSUME_POLL_SYSCALL): Likewise.
82689         (__ASSUME_LCHOWN_SYSCALL): Likewise.
82690         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
82691         non-SPARC.
82692         (__ASSUME_SIOCGIFNAME): Don't define.
82693         (__ASSUME_MSG_NOSIGNAL): Likewise.
82694         (__ASSUME_SENDFILE): Define unconditionally.
82695         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
82696         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
82697         conditional code.
82698         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
82699         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
82700         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82701         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82702         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
82703         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
82704         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
82705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
82706         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82707         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
82709         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82710         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
82712         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82713         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
82715         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82716         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
82718         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82719         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
82721         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
82722         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
82724         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82725         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
82727         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82728         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82729         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
82730         Remove conditional code.
82731         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82732         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82733         Remove conditional code.
82734         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82735         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
82736         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
82737         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82738         Remove conditional code.
82739         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82740         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
82741         Remove conditional code.
82742         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82743         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
82744         Remove conditional code.
82745         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82746         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
82747         Remove conditional code.
82748         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
82749         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
82750         Remove conditional code.
82751         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82752         * sysdeps/unix/sysv/linux/sh/pwrite64.c
82753         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
82754         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
82755         * sysdeps/unix/sysv/linux/sigaction.c
82756         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82757         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82758         * sysdeps/unix/sysv/linux/sigpending.c
82759         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82760         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82761         * sysdeps/unix/sysv/linux/sigprocmask.c
82762         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82763         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82764         * sysdeps/unix/sysv/linux/sigsuspend.c
82765         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
82766         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
82767         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
82768         (__libc_missing_rt_sigs): Remove.
82769         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
82770         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
82771         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
82772         Remove conditional code.
82773         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
82774         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
82775         return 1.
82776         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
82777         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
82778         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
82779         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
82781 2012-05-14  Andreas Jaeger  <aj@suse.de>
82783         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
82784         it's not used in glibc.
82785         (__coshm1): Likewise.
82786         (__acosh1p): Likewise.
82787         (__sgn): Likewise.
82789         * manual/string.texi (Copying and Concatenation): Add missing
82790         variable in concat example.
82791         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
82793 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82795         [BZ #14103]
82796         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
82797         __builtin_clzl with __builtin_clzll.
82799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
82801         [BZ #14104]
82802         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
82803         libc_freeres_ptr.
82805 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82807         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
82808         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
82809         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
82810         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
82812 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
82814         * NEWS: Update ia64 info.
82816 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
82818         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
82819         used as bcopy.
82821 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
82823         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
82824         * sysdeps/unix/syscalls.list (dup3): Likewise.
82825         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
82826         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
82828 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82830         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
82831         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
82833 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
82835         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
82836         thread pointer.
82837         (TLS_IE): Use mov/add instead of movq/addq to load thread
82838         pointer.
82839         (TLS_GD_PREFIX): New.
82840         (TLS_GD): Use it.
82842 2012-05-11  David S. Miller  <davem@davemloft.net>
82844         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
82845         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
82846         (_FPU_SETCW): Likewise.
82848 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82850         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
82851         is 32-byte aligned.
82853 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
82855         [BZ #11837]
82856         * iconvdata/gb18030.c: Update tables.
82857         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82858         characters specially.
82859         (BODY for TO_LOOP): Add encoding of missing ranges.
82861 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82863         [BZ #13673]
82864         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82865         * sysdeps/mach/hurd/dup3.c: Likewise.
82866         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82867         * sysdeps/powerpc/memmove.c:: Likewise.
82869 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82871         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82872         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82874 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82876         * elf/elf.h (R_X86_64_RELATIVE64): New.
82877         (R_X86_64_NUM): Updated.
82878         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82879         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82880         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82881         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82882         tst-quad1pie tst-quad2pie
82883         (modules-names): Add tst-quadmod1 tst-quadmod2.
82884         ($(objpfx)tst-quad1): New dependency.
82885         ($(objpfx)tst-quad2): Likewise.
82886         ($(objpfx)tst-quad1pie): Likewise.
82887         ($(objpfx)tst-quad2pie): Likewise.
82888         * sysdeps/x86_64/tst-quad1.c: New file.
82889         * sysdeps/x86_64/tst-quad1pie.c: New file.
82890         * sysdeps/x86_64/tst-quad2.c: Likewise.
82891         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82892         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82893         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82894         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82895         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82897 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82899         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82900         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82901         * streams/stropts.h (t_scalar_t): Define type.
82903         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82904         (_PATH_PRESERVE): Set to "/var/lib".
82905         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82907         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82908         instead of int.
82910         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82911         if __dir_mkfile succeeded.
82913         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82914         checking for _hurd_dtablesize.  Unlock it right after having
82915         finished _hurd_dtable allocation.
82917 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82919         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82920         * sysdeps/mach/hurd/configure: Regenerated.
82921         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82922         special-casing to...
82923         * sysdeps/gnu/configure.in: ... this new file.
82924         * sysdeps/unix/sysv/linux/configure: Regenerated.
82925         * sysdeps/gnu/configure: New generated file.
82927         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82928         for Linux: use nsec instead of usec, as well as:
82929         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82930         members of type struct timespec.
82931         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82932         New macros.
82933         (struct stat64): Likewise.
82934         (_STATBUF_ST_NSEC): New macro.
82935         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82937         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82938         __strtoul_internal rather than strtoul.
82940 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82942         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82943         and reject them.
82945 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82947         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82948         which preserves existing values.
82949         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82951 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82953         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82954         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82955         greater than FD_SETSIZE.
82957 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82959         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82960         allocated, call __vm_protect to finish enabling the existing space, and
82961         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82962         allocate the remainder.
82964 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82966         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82967         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82971         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82972         sysdeps/mach/hurd/readlink.c.
82974         * posix/tst-sysconf.c (posix_options): Only use
82975         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82976         _POSIX_SYNCHRONIZED_IO when they are defined
82977         * sysdeps/mach/hurd/bits/posix_opt.h:
82978         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82979         (_XOPEN_REALTIME): Undefine macro.
82980         (_XOPEN_REALTIME_THREADS): Undefine macro.
82981         (_XOPEN_SHM): Undefine macro.
82982         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82983         macro to -1.
82984         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82985         macro to -1.
82986         (_POSIX_ASYNC_IO): Undefine macro.
82987         (_POSIX_PRIORITIZED_IO): Undefine macro.
82988         (_POSIX_SPIN_LOCKS): Define macro to -1.
82990         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82991         SA_NODEFER, SA_RESETHAND.
82992         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82993         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82994         F_DUPFD_CLOEXEC.
82996 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82998         * elf/Makefile (pldd-modules): Define unconditionally.
83000 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83002         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
83004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83006         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
83007         Return ENOENT when name is empty.
83008         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
83010 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83012         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
83014         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
83016 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83018         Fix mlock in all cases except non-readable pages.
83019         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
83020         instead of VM_PROT_ALL as parameter to __vm_wire function.
83022         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
83023         (__mkdir): When path is `/', just fail with EEXIST.
83024         * sysdeps/mach/hurd/mkdirat.c: Likewise.
83026 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83028         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
83029         <sys/uio.h> (for writev).
83030         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
83031         and <sys/param.h> (for MIN).
83033 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
83035         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
83036         REQUESTED_TIME.  Properly set the remaining time and return EINTR
83037         if interrupted.
83039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83041         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
83042         Depend on against $(link-rpcuserlibs).
83044 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83046         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
83047         (__libc_stack_end): Do not use attribute_relro.
83048         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
83049         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
83050         to libthread-provided value.
83051         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
83052         attribute_relro.
83054 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83056         [BZ #3748]
83057         * bits/libc-lock.h (__libc_once_get): New macro.
83058         * sysdeps/mach/bits/libc-lock.h: Likewise.
83059         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
83060         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
83061         instead of using implementation details.
83063         * libio/fileops.c: Unconditionally include <kernel-features.h>.
83064         * libio/freopen.c: Likewise.
83065         * libio/freopen64.c: Likewise.
83066         * misc/syslog.c: Likewise.
83067         * nscd/connections.c: Likewise.
83068         * nscd/netgroupcache.c: Likewise.
83069         * sysdeps/posix/getcwd.c: Likewise.
83071 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83073         * math/w_ilogbf.c: Add #include <limits.h>.
83075 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83077         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
83078         path instead of returning without unlocking.
83080         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
83081         immediate-write ioctls.
83082         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
83084 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83086         * sysdeps/mach/hurd/i386/init-first.c (init): Use
83087         __builtin_frame_address instead of making assumptions about the
83088         location of the return address relative to DATA.  Force early load of
83089         the return address.
83090         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
83091         __builtin_frame_address.
83093         dup3 for GNU Hurd.
83094         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
83095         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
83096         implement dup3 and do some further code clean-ups.
83097         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
83098         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
83100 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83102         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
83104         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
83105         HURD_CRITICAL_END around holding _hurd_dtable_lock.
83106         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
83107         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
83108         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
83109         d->port.lock.
83111         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
83112         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
83113         when handler == SIG_ERR, not when handler != SIG_ERR.
83115 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83117         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
83118         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
83119         definitions.
83121         accept4 for GNU Hurd.
83122         * include/sys/socket.h (__libc_accept4): New prototype.
83123         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
83124         to implement __libc_accept4.
83125         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
83126         __libc_accept4.
83127         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
83129         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
83130         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
83131         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
83132         signal-defines.sym.
83134 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83136         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
83138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
83140         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
83141         assertion on O_CLOEXEC flag.
83142         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
83143         * hurd/intern-fd.c: Likewise.
83144         * hurd/port2fd.c: Likewise.
83146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
83148         [BZ #3906]
83149         * bits/in.h (IPV6_PKTINFO): Define new macro.
83150         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
83152 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83154         [BZ #13954]
83155         [BZ #13955]
83156         [BZ #13956]
83157         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
83158         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
83159         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
83160         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
83161         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
83162         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
83163         * math/libm-test.inc (logb_test) : Additional logb tests.
83165 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
83166             Andreas Jaeger  <aj@suse.de>
83168         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
83169         * configure: Regenerated.
83170         * config.h.in (LINK_OBSOLETE_RPC): New macro.
83171         * config.make.in (link-obsolete-rpc): New substituted variable.
83172         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
83173         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
83174         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83175         (shared-only-routines): Don't set it under [link-obsolete-rpc],
83176         so that libc.a contains the symbols.
83177         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
83178         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
83179         * sunrpc/auth_none.c: Likewise.
83180         * sunrpc/auth_unix.c: Likewise.
83181         * sunrpc/authdes_prot.c: Likewise.
83182         * sunrpc/authuxprot.c: Likewise.
83183         * sunrpc/clnt_gen.c: Likewise.
83184         * sunrpc/clnt_perr.c: Likewise.
83185         * sunrpc/clnt_raw.c: Likewise.
83186         * sunrpc/clnt_simp.c: Likewise.
83187         * sunrpc/clnt_tcp.c: Likewise.
83188         * sunrpc/clnt_udp.c: Likewise.
83189         * sunrpc/clnt_unix.c: Likewise.
83190         * sunrpc/des_crypt.c: Likewise.
83191         * sunrpc/des_soft.c: Likewise.
83192         * sunrpc/get_myaddr.c: Likewise.
83193         * sunrpc/key_call.c: Likewise.
83194         * sunrpc/key_prot.c: Likewise.
83195         * sunrpc/netname.c: Likewise.
83196         * sunrpc/pm_getmaps.c: Likewise.
83197         * sunrpc/pm_getport.c: Likewise.
83198         * sunrpc/pmap_clnt.c: Likewise.
83199         * sunrpc/pmap_prot.c: Likewise.
83200         * sunrpc/pmap_prot2.c: Likewise.
83201         * sunrpc/pmap_rmt.c: Likewise.
83202         * sunrpc/publickey.c: Likewise.
83203         * sunrpc/rpc_cmsg.c: Likewise.
83204         * sunrpc/rpc_common.c: Likewise.
83205         * sunrpc/rpc_dtable.c: Likewise.
83206         * sunrpc/rpc_prot.c: Likewise.
83207         * sunrpc/rpc_thread.c: Likewise.
83208         * sunrpc/rtime.c: Likewise.
83209         * sunrpc/svc.c: Likewise.
83210         * sunrpc/svc_auth.c: Likewise.
83211         * sunrpc/svc_raw.c: Likewise.
83212         * sunrpc/svc_run.c: Likewise.
83213         * sunrpc/svc_tcp.c: Likewise.
83214         * sunrpc/svc_udp.c: Likewise.
83215         * sunrpc/svc_unix.c: Likewise.
83216         * sunrpc/svcauth_des.c: Likewise.
83217         * sunrpc/xcrypt.c: Likewise.
83218         * sunrpc/xdr.c: Likewise.
83219         * sunrpc/xdr_array.c: Likewise.
83220         * sunrpc/xdr_float.c: Likewise.
83221         * sunrpc/xdr_intXX_t.c: Likewise.
83222         * sunrpc/xdr_mem.c: Likewise.
83223         * sunrpc/xdr_rec.c: Likewise.
83224         * sunrpc/xdr_ref.c: Likewise.
83225         * sunrpc/xdr_sizeof.c: Likewise.
83226         * sunrpc/xdr_stdio.c: Likewise.
83228 2012-05-10  Roland McGrath  <roland@hack.frob.com>
83230         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
83231         change.  Update copyright years.
83233 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83235         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
83237 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
83238             Joseph Myers  <joseph@codesourcery.com>
83239             Paul Pluzhnikov  <ppluzhnikov@google.com>
83241         [BZ #14012]
83242         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
83243         requiring rpcgen.
83244         [cross-compiling] (extra-libs): Likewise.
83245         [cross-compiling] (extra-libs-others): Likewise.
83246         [cross-compiling] (librpcsvc-routines): Likewise.
83247         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
83248         [cross-compiling] (omit-deps): Likewise.
83249         (sunrpc-CPPFLAGS): New variable.
83250         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
83251         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
83252         (cross-rpcgen-objs): New variable.
83253         (extra-objs): Append $(cross-rpcgen-objs).
83254         ($(cross-rpcgen-objs)): New rule.
83255         ($(objpfx)cross-rpcgen): Likewise.
83256         (rpcgen-cmd): Define to use $(built-program-file).  Expand
83257         comment.
83258         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
83259         ($(objpfx)x%.stmp): Likewise.
83260         * sunrpc/proto.h [IS_IN_build] (_): Define.
83261         [IS_IN_build] (_libc_intl_domainname): Likewise.
83263 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
83265         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
83266         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
83267         and R_X86_64_TPOFF64.
83269 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
83271         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
83272         sysdeps/unix/sysv/syscalls.list.
83273         (stime): Likewise.
83274         (utime): Likewise.
83275         * sysdeps/unix/sysv/syscalls.list: Remove file.
83277 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
83279         [BZ #3440]
83280         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
83281         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
83282         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
83283         (__LC_IDENTIFICATION): Make these macros useful in #if
83284         expressions, as required by C99.
83286 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
83288         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
83289         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
83290         after this.
83292 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
83294         * stdlib/longlong.h: Updated from GCC.
83296 2012-05-09  Andreas Jaeger  <aj@suse.de>
83298         * nscd/nscd.c (run_modes): Make named enum, reorder so that
83299         default is first entry.
83300         (run_mode): Set type.
83301         (main): Remove informal message about syslog.
83302         (options): Fix typo.
83304         [BZ #14053]
83305         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
83306         to asm.
83307         (lrint): Likewise.
83308         (llrintf): Likewise.
83309         (llrint): Likewise.
83310         (rint): Likewise.
83311         (rintf): Likewise.
83312         (nearbyint): Likewise.
83313         (nearbyintf): Likewise.
83315 2012-05-09  Andreas Jaeger  <aj@suse.de>
83316             Pedro Alves  <palves@redhat.com>
83318         * nscd/nscd.c (run_mode): Use enum.
83319         (main): Cleanup coding style issue.
83321 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
83322             Andreas Jaeger  <aj@suse.de>
83324         * nscd/nscd.c (go_background): Replaced with...
83325         (run_mode): ... this.
83326         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
83327         (options): Add -F --foreground.
83328         (main): Implement it.
83329         (parse_opt): Parse it.
83331 2012-05-09  Andreas Jaeger  <aj@suse.de>
83333         [BZ #14083]
83334         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
83335         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
83336         -Wconversion warning.
83337         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
83338         Likewise.
83340 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
83342         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
83343         == 0.
83344         (LC_ALL): Use macro-int-constant.
83345         (LC_COLLATE): Likewise.
83346         (LC_CTYPE): Likewise.
83347         (LC_MESSAGES): Likewise.
83348         (LC_MONETARY): Likewise.
83349         (LC_NUMERIC): Likewise.
83350         (LC_TIME): Likewise.
83351         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
83352         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83354         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
83355         Specify type.
83356         [C99-based standards] (float_t): Expect type.
83357         [C99-based standards] (double_t): Expect type.
83358         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
83359         type.
83360         [C99-based standards] (HUGE_VALL): Likewise.
83361         [C99-based standards] (INFINITY): Likewise.
83362         [C99-based standards] (NAN): Likewise.
83363         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
83364         [C99-based standards] (FP_NAN): Likewise.
83365         [C99-based standards] (FP_NORMAL): Likewise.
83366         [C99-based standards] (FP_SUBNORMAL): Likewise.
83367         [C99-based standards] (FP_ZERO): Likewise.
83368         [C99-based standards] (FP_FAST_FMA): Use
83369         optional-macro-int-constant.  Specify type.  Require == 1.
83370         [C99-based standards] (FP_FAST_FMAF): Likewise.
83371         [C99-based standards] (FP_FAST_FMAL): Likewise.
83372         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
83373         [C99-based standards] (FP_ILOGBNAN): Likewise.
83374         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
83375         Specify type.
83376         [C99-based standards] (MATH_ERREXCEPT): Likewise.
83377         [C99-based standards] (math_errhandling): Specify type.
83378         [ISO99 || ISO11] (signgam): Do not allow.
83379         [non-C99-based standards] (copysignf): Do not allow.
83380         [non-C99-based standards] (exp2f): Likewise.
83381         [non-C99-based standards] (log2f): Likewise.
83382         [non-C99-based standards] (modff): Allow.
83383         [non-C99-based standards] (erff): Do not allow.
83384         [non-C99-based standards] (erfcf): Likewise.
83385         [non-C99-based standards] (gammaf): Likewise.
83386         [non-C99-based standards] (hypotf): Likewise.
83387         [non-C99-based standards] (j0f): Likewise.
83388         [non-C99-based standards] (j1f): Likewise.
83389         [non-C99-based standards] (jnf): Likewise.
83390         [non-C99-based standards] (lgammaf): Likewise.
83391         [non-C99-based standards] (tgammaf): Likewise.
83392         [non-C99-based standards] (y0f): Likewise.
83393         [non-C99-based standards] (y1f): Likewise.
83394         [non-C99-based standards] (ynf): Likewise.
83395         [non-C99-based standards] (isnanf): Likewise.
83396         [non-C99-based standards] (acoshf): Likewise.
83397         [non-C99-based standards] (asinhf): Likewise.
83398         [non-C99-based standards] (atanhf): Likewise.
83399         [non-C99-based standards] (cbrtf): Likewise.
83400         [non-C99-based standards] (expm1f): Likewise.
83401         [non-C99-based standards] (ilogbf): Likewise.
83402         [non-C99-based standards] (log1pf): Likewise.
83403         [non-C99-based standards] (logbf): Likewise.
83404         [non-C99-based standards] (nextafterf): Likewise.
83405         [non-C99-based standards] (remainderf): Likewise.
83406         [non-C99-based standards] (rintf): Likewise.
83407         [non-C99-based standards] (scalbf): Likewise.
83408         [non-C99-based standards] (copysignl): Likewise.
83409         [non-C99-based standards] (exp2l): Likewise.
83410         [non-C99-based standards] (log2l): Likewise.
83411         [non-C99-based standards] (modfl): Allow.
83412         [non-C99-based standards] (erfl): Do not allow.
83413         [non-C99-based standards] (erfcl): Likewise.
83414         [non-C99-based standards] (gammal): Likewise.
83415         [non-C99-based standards] (hypotl): Likewise.
83416         [non-C99-based standards] (j0l): Likewise.
83417         [non-C99-based standards] (j1l): Likewise.
83418         [non-C99-based standards] (jnl): Likewise.
83419         [non-C99-based standards] (lgammal): Likewise.
83420         [non-C99-based standards] (tgammal): Likewise.
83421         [non-C99-based standards] (y0l): Likewise.
83422         [non-C99-based standards] (y1l): Likewise.
83423         [non-C99-based standards] (ynl): Likewise.
83424         [non-C99-based standards] (isnanl): Likewise.
83425         [non-C99-based standards] (acoshl): Likewise.
83426         [non-C99-based standards] (asinhl): Likewise.
83427         [non-C99-based standards] (atanhl): Likewise.
83428         [non-C99-based standards] (cbrtl): Likewise.
83429         [non-C99-based standards] (expm1l): Likewise.
83430         [non-C99-based standards] (ilogbl): Likewise.
83431         [non-C99-based standards] (log1pl): Likewise.
83432         [non-C99-based standards] (logbl): Likewise.
83433         [non-C99-based standards] (nextafterl): Likewise.
83434         [non-C99-based standards] (remainderl): Likewise.
83435         [non-C99-based standards] (rintl): Likewise.
83436         [non-C99-based standards] (scalbl): Likewise.
83437         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83438         [non-C99-based standards] (FP_*): Do not allow.
83439         [C99-based standards] (FP_*): Change to
83440         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
83441         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83442         allow.
83443         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
83444         (SIG_ERR): Likewise.
83445         [X/Open-based standards] (SIG_HOLD): Likewise.
83446         (SIG_IGN): Likewise.
83447         (SIGABRT): Use macro-int-constant.  Specify type.  Require
83448         positive value.
83449         (SIGFPE): Likewise.
83450         (SIGILL): Likewise.
83451         (SIGINT): Likewise.
83452         (SIGSEGV): Likewise.
83453         (SIGTER): Likewise.
83454         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
83455         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
83456         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
83457         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
83458         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
83459         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
83460         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
83461         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
83462         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
83463         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
83464         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
83465         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
83466         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
83467         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
83468         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
83469         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
83470         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
83471         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
83472         [X/Open-based standards] (SIGTRAP): Likewise.
83473         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
83474         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
83475         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
83476         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
83477         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83478         allow.
83480 2012-05-08  Ian Wienand  <ianw@vmware.com>
83482         [BZ #14080]
83483         * time/tzset.c (__tzset_parse_tz): Update default rules for
83484         daylight time changes in the Energy Policy Act of 2005.
83486 2012-05-09  Andreas Jaeger  <aj@suse.de>
83488         [BZ #13983]
83489         * elf/ldconfig.c (parse_conf): Change string to make clear that
83490         ldconfig only issued a warning if ld.so.conf does not exist.
83492 2012-05-08  David S. Miller  <davem@davemloft.net>
83494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
83495         movxtod instead of popping the value on the stack.
83497         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83499 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
83501         * config.h.in: Add HAVE_ARM_PCS_VFP.
83503 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
83505         [BZ #13979]
83506         * include/features.h: Warn if user requests __FORTIFY_SOURCE
83507         checking but the checks are disabled for any reason.
83509 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
83511         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
83512         and ELF64_R_TYPE with ELFW(R_TYPE).
83514 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
83516         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
83517         (ulimit): Likewise.
83519         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
83520         (settimeofday): Likewise.
83522 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
83524         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
83525         a struct th_u2 inside the union, and move tu_block/tu_code into
83526         a new th_u3 union of tu_block/tu_code inside of that.  Move
83527         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
83528         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
83529         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
83530         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
83531         (th_stuff): Change to th_u1.tu_stuff.
83532         (th_data): Define.
83533         (th_msg): Change to th_u1.th_u2.tu_data.
83535 2012-05-07  David S. Miller  <davem@davemloft.net>
83537         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83539         [BZ #14074]
83540         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
83541         (SETUP_PIC_REG): Use it.
83542         (SETUP_PIC_REG_LEAF): Use it.
83544 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
83546         [BZ #13885]
83547         [BZ #13923]
83548         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83549         USE_AS_EXPM1L.
83550         (EXPL_FINITE): Likewise.
83551         (FLDLOG): Likewise.
83552         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83553         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83554         e_expl.S.
83555         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83556         USE_AS_EXPM1L.
83557         (EXPL_FINITE): Likewise.
83558         (FLDLOG): Likewise.
83559         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
83560         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
83561         e_expl.S.
83562         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
83563         test of -max_value argument for long double.
83564         * sysdeps/i386/fpu/libm-test-ulps: Update.
83565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83567 2012-05-06  David S. Miller  <davem@davemloft.net>
83569         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
83570         quad soft-float symbols whose references which are compiler
83571         generated.
83572         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
83574 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
83576         [BZ #13884]
83577         [BZ #13914]
83578         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83579         USE_AS_EXP10L.
83580         (EXPL_FINITE): Likewise.
83581         (FLDLOG): Likewise.
83582         (c0): Likewise.
83583         (c1): Likewise.
83584         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83585         Adjust comments for base varying.
83586         (__expl_finite): Change alias to EXPL_FINITE.
83587         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
83588         e_expl.S.
83589         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
83590         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
83591         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
83592         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
83593         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
83594         USE_AS_EXP10L.
83595         (EXPL_FINITE): Likewise.
83596         (FLDLOG): Likewise.
83597         (c0): Likewise.
83598         (c1): Likewise.
83599         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
83600         Adjust comments for base varying.
83601         (__expl_finite): Change alias to EXPL_FINITE.
83602         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
83603         tests for bugs.
83604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83606         [BZ #14064]
83607         * math/libm-test.inc (check_float_internal): Correct ulp
83608         calculation for subnormal expected results.
83610 2012-05-06  Andreas Jaeger  <aj@suse.de>
83612         * Makeconfig (+math-flags): New, set to -frounding-math.
83613         (+cflags): Add +math-flags so that all of glibc gets compiled with
83614         it.
83616         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
83618 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
83620         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
83621         Disable one test.
83623         [BZ #13787]
83624         [BZ #13922]
83625         [BZ #14036]
83626         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
83627         (__ieee754_expl): Allow for and saturate large arguments.
83628         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
83629         (u_threshold): Likewise.
83630         (__exp): Call __ieee754_exp before checking for overflow and
83631         underflow.
83632         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
83633         (u_threshold): Likewise.
83634         (__expf): Call __ieee754_expf before checking for overflow and
83635         underflow.
83636         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
83637         (u_threshold): Likewise.
83638         (__expl): Call __ieee754_expl before checking for overflow and
83639         underflow.
83640         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
83641         (__ieee754_expl): Allow for and saturate large arguments.
83642         * math/libm-test.inc (exp_test): Add another test.  Do not allow
83643         missing overflow exception on overflow.
83644         (expm1_test): Do not allow missing overflow exception on overflow.
83646         * sysdeps/i386/fpu/e_expl.c: Move to ...
83647         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
83648         rather than using inline asm.
83649         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
83650         * sysdeps/x86_64/fpu/e_expl.S: Copy from
83651         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
83653         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
83654         (nice): Likewise.
83655         (poll): Likewise.
83656         (signal): Likewise.
83657         (time): Likewise.
83658         (times): Likewise.
83660 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83662         * sysdeps/unix/syscalls.list (adjtime): Add entry from
83663         sysdeps/unix/common/syscalls.list.
83664         (fchmod): Likewise.
83665         (fchown): Likewise.
83666         (ftruncate): Likewise.
83667         (getrusage): Likewise.
83668         (gettimeofday): Likewise.
83669         (setpgid): Likewise.
83670         (setregid): Likewise.
83671         (setreuid): Likewise.
83672         (sigaction): Likewise.
83673         (truncate): Likewise.
83674         (vhangup): Likewise.
83675         * sysdeps/unix/common/syscalls.list: Remove file.
83676         * sysdeps/unix/bsd/Implies: Don't include unix/common.
83677         * sysdeps/unix/sysv/linux/Implies: Likewise.
83679 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
83681         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
83682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
83683         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
83684         Moved to ...
83685         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
83686         Here.
83687         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
83688         to ...
83689         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
83690         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
83691         to ...
83692         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
83693         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
83694         to ...
83695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
83696         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
83697         to ...
83698         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
83699         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
83700         to ...
83701         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
83702         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
83703         to ...
83704         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
83705         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
83706         to ...
83707         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
83708         Here.
83709         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
83710         to ...
83711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
83712         Here.
83713         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
83714         to ...
83715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
83716         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
83717         Moved to ...
83718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
83719         Here.
83720         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
83721         to ...
83722         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
83724 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83726         * sysdeps/unix/common/bits/dirent.h: Remove file.
83727         * sysdeps/unix/common/bits/fcntl.h: Likewise.
83729         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
83730         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
83731         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
83732         * sysdeps/unix/bsd/isatty.c: Likewise.
83733         * sysdeps/unix/bsd/tcdrain.c: Likewise.
83734         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
83735         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
83737 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83739         [BZ #13563]
83740         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
83741         long double comparison inaccuracies.
83742         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
83743         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83745 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
83747         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
83748         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
83750 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
83752         [BZ #14049]
83753         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
83754         nonzero digits before rounding a hex value.
83755         * stdlib/tst-strtod.c (tests): Add another test.
83757 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83759         * sysdeps/s390/fpu/libm-test-ulps: Update.
83761 2012-05-03  Andreas Jaeger  <aj@suse.de>
83763         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
83764         does not get optimized out.
83765         (malloc_opt_barrier): New.
83767 2012-05-03  Andreas Jaeger  <aj@suse.de>
83768             Roland McGrath  <roland@hack.frob.com>
83770         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
83771         intermediate file deletion.
83772         (generated): Add .symlist files.
83774 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
83776         [BZ #13775]
83777         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
83778         Redirect under this condition.
83779         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83780         [__USE_GNU] (__dprintf_chk): Not under this condition.
83781         [__USE_GNU] (__vdprintf_chk): Likewise.
83782         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
83783         under this condition.
83784         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
83785         [__USE_XOPEN2K8] (dprintf): Define under this condition.
83786         [__USE_XOPEN2K8] (vdprintf): Likewise.
83787         [__USE_GNU] (__dprintf_chk): Not under this condition.
83788         [__USE_GNU] (__vdprintf_chk): Likewise.
83789         [__USE_GNU] (dprintf): Likewise.
83790         [__USE_GNU] (vdprintf): Likewise.
83792 2012-05-03  Roland McGrath  <roland@hack.frob.com>
83794         * elf/Makefile (common-generated): Set this instead of generated for
83795         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
83796         $(all-built-dso)-derived lists.
83798 2012-05-03  Andreas Jaeger  <aj@suse.de>
83800         * sysdeps/i386/fpu/libm-test-ulps: Update.
83802         * FAQ: Removed.
83803         * FAQ.in: Likewise.
83804         * scripts/gen-FAQ.pl: Likewise.
83805         * manual/install.texi (Installation): Point to online location of
83806         FAQ.
83807         * Makefile (files-for-dist): Remove FAQ.
83808         (FAQ): Remove.
83810 2012-05-02  Allan McRae  <allan@archlinux.org>
83812         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
83813         (LDFLAGS-reldepmod5.so): Likewise.
83814         (LDFLAGS-reldep6mod1.so): Likewise.
83815         (LDFLAGS-reldep6mod4.so): Likewise.
83816         (LDFLAGS-reldep8mod3.so): Likewise.
83817         (LDFLAGS-unload4mod1.so): Likewise.
83818         (LDFLAGS-unload4mod2.so): Likewise.
83819         (LDFLAGS-tst-initorder): Likewise.
83820         (LDFLAGS-tst-initordera2.so): Likewise.
83821         (LDFLAGS-tst-initordera3.so): Likewise.
83822         (LDFLAGS-tst-initordera4.so): Likewise.
83823         (LDFLAGS-tst-initorderb2.so): Likewise.
83824         (LDFLAGS-noload): Likewise.
83825         (LDFLAGS-next): Likewise.
83826         (LDFLAGS-order2mod1.so): Likewise.
83827         (LDFLAGS-order2mod2.so): Likewise.
83828         (LDFLAGS-tst-initorder2): Likewise.
83829         (LDFLAGS-tst-initorder2a.so): Likewise.
83830         (LDFLAGS-tst-initorder2b.so): Likewise.
83831         (LDFLAGS-tst-initorder2c.so): Likewise.
83832         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
83834 2012-05-02  David S. Miller  <davem@davemloft.net>
83836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83838 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
83840         [BZ #14055]
83841         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
83843 2012-05-02  Andreas Jaeger  <aj@suse.de>
83845         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
83846         since we manipulate rounding mode.
83847         (CPPFLAGS-test-idouble.c): Likewise.
83848         (CPPFLAGS-test-ifloat.c): Likewise.
83849         (CFLAGS-test-ldouble.c): Likewise.
83850         (CFLAGS-test-double.c): Likewise.
83851         (CFLAGS-test-float.c): Likewise.
83852         (CFLAGS-test-misc.c): Likewise.
83853         (CFLAGS-test-test-fenv.c): Likewise.
83855 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83857         [BZ #2550]
83858         [BZ #2570]
83859         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83860         comparisons to determine direction to adjust input.
83862 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83864         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83865         output to the target.
83867         * scripts/localplt.awk: New file.
83868         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83869         (check-localplt-CFLAGS): Variable removed.
83870         ($(all-built-dso:=.jmprel)): New static pattern rule.
83871         (generated): Add those targets.
83872         (localplt-built-dso): New variable.
83873         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83875         * elf/check-localplt.c: File removed.
83877         * scripts/check-execstack.awk: New file.
83878         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83879         (check-execstack-CFLAGS): Variable removed.
83880         ($(objpfx)check-execstack.h): Target removed.
83881         ($(objpfx)execstack-default): New target.
83882         (generated): Add that instead of check-execstack.h.
83883         ($(all-built-dso:=.phdr)): New static pattern rule.
83884         (generated): Add those targets.
83885         * elf/check-execstack.c: File removed.
83887         * scripts/check-textrel.awk: New file.
83888         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83889         (check-textrel-CFLAGS): Variable removed.
83890         (all-built-dso): Use := to define.o
83891         ($(all-built-dso:=.dyn)): New static pattern rule.
83892         (generated): Add those targets.
83893         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83894         * config.make.in (READELF): New substituted variable.
83895         * elf/check-textrel.c: File removed.
83897 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83899         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83900         allow.
83901         * conform/data/ctype.h-data [C99-based standards] (isblank):
83902         Expect function.
83903         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83904         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83905         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83906         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83907         Specify type.  Require positive value.
83908         (EILSEQ): Likewise.
83909         (ERANGE): Likewise.
83910         [ISO || POSIX] (EILSEQ): Do not expect.
83911         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83912         Specify type.  Require positive value.
83913         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83914         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83915         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83916         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83917         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83918         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83919         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83920         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83921         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83922         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83923         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83924         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83925         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83926         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83927         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83928         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83929         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83930         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83931         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83932         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83933         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83934         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83935         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83936         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83937         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83938         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83939         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83940         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83941         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83942         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83943         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83944         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83945         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83946         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83947         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83948         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83949         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83950         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83951         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83952         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83953         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83954         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83955         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83956         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83957         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83958         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83959         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83960         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83961         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83962         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83963         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83964         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83965         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83966         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83967         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83968         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83969         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83970         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83971         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83972         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83973         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83974         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83975         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83976         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83977         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83978         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83979         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83980         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83981         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83982         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83983         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83984         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83985         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83986         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83987         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83988         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83989         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83990         Require >= 2.
83991         (FLT_ROUNDS): Expect as macro, not constant.
83992         (FLT_MANT_DIG): Use macro-int-constant.
83993         (DBL_MANT_DIG): Likewise.
83994         (LDBL_MANT_DIG): Likewise.
83995         (FLT_DIG): Likewise.
83996         (DBL_DIG): Likewise.
83997         (LDBL_DIG): Likewise.
83998         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83999         (DBL_MIN_EXP): Likewise.
84000         (LDBL_MIN_EXP): Likewise.
84001         (FLT_MAX_EXP): Use macro-int-constant.
84002         (DBL_MAX_EXP): Likewise.
84003         (LDBL_MAX_EXP): Likewise.
84004         (FLT_MAX_10_EXP): Likewise.
84005         (DBL_MAX_10_EXP): Likewise.
84006         (LDBL_MAX_10_EXP): Likewise.
84007         (FLT_MAX): Use macro-constant.
84008         (DBL_MAX): Likewise.
84009         (LDBL_MAX): Likewise.
84010         (FLT_EPSILON): Use macro-constant.  Give upper bound.
84011         (DBL_EPSILON): Likewise.
84012         (LDBL_EPSILON): Likewise.
84013         (FLT_MIN): Likewise.
84014         (DBL_MIN): Likewise.
84015         (LDBL_MIN): Likewise.
84016         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
84017         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
84018         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
84019         [ISO11] (FLT_HAS_SUBNORM): Likewise.
84020         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
84021         [ISO11] (DBL_DECIMAL_DIG): Likewise.
84022         [ISO11] (FLT_DECIMAL_DIG): Likewise.
84023         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
84024         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
84025         [ISO11] (FLT_TRUE_MIN): Likewise.
84026         [ISO11] (LDBL_TRUE_MIN): Likewise.
84027         [ISO || ISO99 || ISO11] (*_t): Do not allow.
84028         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
84029         (SCHAR_MIN): Use macro-int-constant.  Specify type.
84030         (SCHAR_MAX): Likewise.
84031         (UCHAR_MAX): Likewise.
84032         (CHAR_MIN): Likewise.
84033         (CHAR_MAX): Likewise.
84034         (MB_LEN_MAX): Use macro-int-constant.
84035         (SHRT_MIN): Use macro-int-constant.  Specify type.
84036         (SHRT_MAX): Likewise.
84037         (USHRT_MAX): Likewise.
84038         (INT_MAX): Likewise.
84039         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
84040         bound negative.
84041         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
84042         bound with "U".
84043         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
84044         bound with "L".
84045         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
84046         bound negative.  Suffix upper bound with "L".
84047         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
84048         bound with "UL".
84049         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
84050         Specify type.
84051         [C99-based standards] (LLONG_MAX): Likewise.
84052         [C99-based standards] (ULLONG_MAX): Likewise.
84053         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
84054         == 0.
84055         [ISO11] (max_align_t): Require type.
84056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
84058         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
84059         from $CFLAGS, without defining away __attribute__ calls.
84060         (checknamespace): Use $CFLAGS_namespace.
84062         * conform/conformtest.pl (@keywords): Only include C99 keywords
84063         for standards based on C99 or C11.
84065         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
84066         Disable tests.
84067         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
84068         UNIX98]: Likewise.
84070         * conform/conformtest.pl: Handle "macro-int-constant" and test for
84071         usability of symbols in #if.
84073         * conform/conformtest.pl: If macro or constant types start
84074         "promoted:", expect the symbol to be of the following type
84075         promoted by the integer promotions.
84077         * conform/conformtest.pl: Parse all "constant" and "macro" lines
84078         in one place.  Also handle "macro-constant".
84080         * conform/conformtest.pl: Only accept expected macro values with
84081         "==".  Parse all "macro" lines in one place.
84082         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
84084         * conform/conformtest.pl: Handle braced types on "constant" lines
84085         instead of handling "typed-constant".
84086         * conform/data/signal.h-data: Use "constant" instead of
84087         "typed-constant".
84089         * conform/conformtest.pl: Handle "optional-" at start of lines in
84090         one place rather than duplicating several cases.  Handle each
84091         format of "macro" line with initial "optional-".
84093         * conform/conformtest.pl: Only accept expected constant or
84094         optional-constant values with "==".  Parse all "constant" lines in
84095         one place.  Parse all "optional-constant" lines in one place.
84096         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
84097         * conform/data/fmtmsg.h-data: Likewise.
84098         * conform/data/netinet/in.h-data: Likewise.
84099         * conform/data/tar.h-data: Likewise.
84100         * conform/data/limits.h-data: Use "==" form on "constant" and
84101         "optional-constant" lines.
84103         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
84104         Use -std=c99 for XOPEN2K.
84105         (@knownproblems): Remove.
84106         (newtoken): Don't check %isknown.
84108         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
84109         Do not expect macro.
84110         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
84111         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
84112         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
84113         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
84114         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
84115         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
84116         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
84117         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
84118         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
84119         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
84120         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
84121         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
84122         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
84123         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
84124         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
84125         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
84126         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
84127         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
84128         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
84129         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
84130         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
84131         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
84132         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
84133         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
84134         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
84135         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
84136         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
84137         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
84138         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
84139         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
84140         [XPG3] (acosh): Likewise.
84141         [XPG3] (asinh): Likewise.
84142         [XPG3] (atanh): Likewise.
84143         [XPG3] (cbrt): Likewise.
84144         [XPG3] (expm1): Likewise.
84145         [XPG3] (ilogb): Likewise.
84146         [XPG3] (log1p): Likewise.
84147         [XPG3] (logb): Likewise.
84148         [XPG3] (nextafter): Likewise.
84149         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
84150         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
84151         [XPG3] (remainder): Likewise.
84152         [XPG3] (rint): Likewise.
84153         [XPG3 || XPG4 || UNIX98] (round): Likewise.
84154         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
84155         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
84156         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
84157         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
84158         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
84159         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
84160         [UNIX98 || XOPEN2K] (scalb): Expect.
84161         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
84162         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
84163         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
84164         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
84165         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
84166         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
84167         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
84168         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
84169         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
84170         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
84171         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
84172         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
84173         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
84174         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
84175         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
84176         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
84177         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
84178         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
84179         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
84180         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
84181         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
84182         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
84183         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
84184         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
84185         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
84186         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
84187         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
84188         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
84189         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
84190         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
84191         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
84192         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
84193         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
84194         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
84195         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
84196         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
84197         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
84198         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
84199         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
84200         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
84201         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
84202         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
84203         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
84204         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
84205         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
84206         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
84207         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
84208         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
84209         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
84210         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
84211         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
84212         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
84213         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
84214         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
84215         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
84216         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
84217         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
84218         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
84219         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
84220         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
84221         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
84222         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
84223         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
84224         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
84225         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
84226         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
84227         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
84228         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
84229         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
84230         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
84231         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
84232         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
84233         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
84234         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
84235         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
84236         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
84237         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
84238         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
84239         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
84240         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
84241         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
84242         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
84243         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
84244         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
84245         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
84246         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
84247         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
84248         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
84249         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
84250         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
84251         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
84252         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
84253         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
84254         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
84255         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
84256         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
84257         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
84258         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
84259         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
84260         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
84261         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
84262         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
84263         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
84264         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
84265         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
84266         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
84267         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
84268         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
84269         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
84270         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
84271         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
84272         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
84273         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
84274         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
84275         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
84276         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
84277         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
84278         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
84279         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
84280         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
84281         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
84282         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
84283         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
84284         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
84285         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
84286         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
84287         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
84288         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
84289         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
84290         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
84291         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
84292         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
84293         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
84294         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
84295         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
84296         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
84297         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
84299         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
84300         _XOPEN_SOURCE_EXTENDED for XPG4.
84302         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
84304         * Makeconfig (localtime): Remove variable.
84305         (inst_localtime-file): Likewise.
84307 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
84310         Update.
84311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
84312         Update.
84313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
84314         Update.
84315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
84316         Update.
84317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
84318         Update.
84319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
84320         Update.
84321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
84322         Update.
84323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
84324         Update.
84325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84326         Update.
84328 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
84330         [BZ #2550]
84331         [BZ #2570]
84332         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
84333         comparisons to determine direction to adjust input.
84334         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
84335         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
84336         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
84337         Likewise.
84338         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
84339         Likewise.
84340         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
84341         Likewise.
84342         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
84343         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
84344         Likewise.
84345         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
84346         Likewise.
84347         * math/libm-test.inc (nexttoward_test): Add more tests.
84349 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
84351         [BZ #14040]
84352         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
84353         in version GLIBC_2.1, not GLIBC_2.0.
84354         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
84355         Likewise.
84357 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
84359         [BZ #13942]
84360         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
84361         (1 - x) * (1 + x).
84362         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84363         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
84364         * math/libm-test.inc (acos_test): Add more tests.
84365         (asin_test): Likewise.
84366         * sysdeps/i386/fpu/libm-test-ulps: Update.
84367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84369         [BZ #14034]
84370         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
84371         of square root.
84372         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
84373         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
84374         * math/libm-test.inc (acos_test_tonearest): New function.
84375         (acos_test_towardzero): Likewise.
84376         (acos_test_downward): Likewise.
84377         (acos_test_upward): Likewise.
84378         (asin_test_tonearest): Likewise.
84379         (asin_test_towardzero): Likewise.
84380         (asin_test_downward): Likewise.
84381         (asin_test_upward): Likewise.
84382         (main): Call the new functions.
84383         * sysdeps/i386/fpu/libm-test-ulps: Update.
84384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84386         [BZ #13884]
84387         [BZ #13924]
84388         * math/e_exp10.c: Include <float.h>.
84389         (__ieee754_exp10): Handle underflow here rather than multiplying
84390         large negative argument by M_LN10.
84391         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
84392         of __ieee754_expf.
84393         * math/e_exp10l.c: Include <float.h>.
84394         (__ieee754_exp10l): Handle underflow here rather than multiplying
84395         large negative argument by M_LN10l.
84396         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
84397         spurious overflow exception on underflow.
84399 2012-04-29  Marek Polacek  <polacek@redhat.com>
84401         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
84402         (__fortify_function): New macro.
84403         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
84404         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
84405         __extern_always_inline.
84406         * libio/bits/stdio2.h: Likewise.
84407         * libio/bits/stdio.h: Likewise.
84408         * string/string.h: Likewise.
84409         * string/bits/string3.h: Likewise.
84410         * include/stdio.h: Likewise.
84411         * stdlib/bits/stdlib.h: Likewise.
84412         * stdlib/stdlib.h: Likewise.
84413         * rt/bits/mqueue2.h: Likewise.
84414         * rt/mqueue.h: Likewise.
84415         * posix/bits/unistd.h: Likewise.
84416         * posix/unistd.h: Likewise.
84417         * io/bits/poll2.h: Likewise.
84418         * io/bits/fcntl2.h: Likewise.
84419         * io/fcntl.h: Likewise.
84420         * io/sys/poll.h: Likewise.
84421         * misc/bits/syslog.h: Likewise.
84422         * misc/bits/syslog-ldbl.h: Likewise.
84423         * misc/sys/syslog.h: Likewise.
84424         * socket/bits/socket2.h: Likewise.
84425         * socket/sys/socket.h: Likewise.
84426         * debug/tst-chk1.c: Likewise.
84427         * wcsmbs/bits/wchar2.h: Likewise.
84428         * wcsmbs/bits/wchar-ldbl.h: Likewise.
84429         * wcsmbs/wchar.h: Likewise.
84431 2012-04-29  Andreas Jaeger  <aj@suse.de>
84433         * Makerules (tests): Remove enable-check-abi protection.
84434         (check-abi-warn): Remove.
84435         (check-abi-%): Remove check-abi-warn usage.
84437         * configure.in: Remove check-abi configure option.
84438         * configure: Regenerated.
84439         * config.make.in (enable-check-abi): Remove.
84441 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
84443         [BZ #14033]
84444         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
84445         double functions to double *_finite functions.
84447         [BZ #13941]
84448         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
84449         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
84450         LDBL_MIN_EXP.
84451         * stdio-common/Makefile (tests): Add tst-sprintf3.
84452         * stdio-common/tst-sprintf3.c: New file.
84454         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
84455         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
84457 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84459         * conform/conformtest.pl: Remove duplicate typed-constant
84460         handling.
84462 2012-04-28  David S. Miller  <davem@davemloft.net>
84464         * Makerules (%.abilist): Add vpath on sysdep_dirs.
84465         (check-abi-%): Remove AWK script prerequisite and explicit
84466         abilist directory.
84467         (check-abi): Rewrite to just diff the symlist with the abilist.
84468         (config-tls, config-abi-config): Delete, no longer used.
84469         (update-abi-%): Remove AWK script and explicit abilist directory.
84470         (update-abi): Rewrite to simply compare and conditionally copy the
84471         symlist and the sysdep abilist file.  Remove update-abi-config
84472         checks.
84473         * abilist/ld.abilist: Remove.
84474         * abilist/libBrokenLocale.abilist: Remove.
84475         * abilist/libanl.abilist: Remove.
84476         * abilist/libcrypt.abilist: Remove.
84477         * abilist/libdl.abilist: Remove.
84478         * abilist/librt.abilist: Remove.
84479         * abilist/libthread_db.abilist: Remove.
84480         * abilist/libutil.abilist: Remove.
84481         * scripts/extract-abilist.awk: Remove.
84482         * scripts/merge-abilist.awk: Remove.
84483         * sysdeps/generic/libcidn.abilist: New file.
84484         * sysdeps/generic/libnss_compat.abilist: New file.
84485         * sysdeps/generic/libnss_db.abilist: New file.
84486         * sysdeps/generic/libnss_dns.abilist: New file.
84487         * sysdeps/generic/libnss_files.abilist: New file.
84488         * sysdeps/generic/libnss_hesiod.abilist: New file.
84489         * sysdeps/generic/libnss_nis.abilist: New file.
84490         * sysdeps/generic/libnss_nisplus.abilist: New file.
84491         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
84492         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
84493         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
84494         file.
84495         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
84496         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
84497         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
84498         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
84499         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
84500         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
84501         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
84502         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
84503         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
84504         file.
84505         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
84506         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
84507         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
84508         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
84509         file.
84510         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
84511         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
84512         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
84513         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
84514         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
84515         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
84516         file.
84517         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
84518         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
84519         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
84520         file.
84521         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
84522         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
84523         New file.
84524         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
84525         New file.
84526         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
84527         New file.
84528         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
84529         New file.
84530         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
84531         New file.
84532         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
84533         New file.
84534         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
84535         New file.
84536         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
84537         New file.
84538         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
84539         New file.
84540         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
84541         New file.
84542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
84543         New file.
84544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
84545         New file.
84546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
84547         New file.
84548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
84549         file.
84550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
84551         New file.
84552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
84553         New file.
84554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
84555         file.
84556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
84557         New file.
84558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
84559         New file.
84560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
84561         file.
84562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
84563         New file.
84564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
84565         New file.
84566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
84567         New file.
84568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
84569         New file.
84570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
84571         New file.
84572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
84573         New file.
84574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
84575         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
84576         file.
84577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
84578         New file.
84579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
84580         file.
84581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
84582         file.
84583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
84584         file.
84585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
84586         file.
84587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
84588         file.
84589         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
84590         New file.
84591         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
84592         file.
84593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
84594         file.
84595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
84596         New file.
84597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
84598         file.
84599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
84600         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
84601         file.
84602         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
84603         New file.
84604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
84605         file.
84606         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
84607         file.
84608         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
84609         file.
84610         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
84611         file.
84612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
84613         file.
84614         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
84615         New file.
84616         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
84617         file.
84618         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
84619         file.
84620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
84621         New file.
84622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
84623         file.
84624         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
84625         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
84626         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
84627         file.
84628         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
84629         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
84630         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
84631         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
84632         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
84633         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
84634         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
84635         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
84636         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
84637         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
84638         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
84639         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
84640         file.
84641         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
84642         New file.
84643         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
84644         file.
84645         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
84646         file.
84647         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
84648         file.
84649         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
84650         file.
84651         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
84652         file.
84653         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
84654         New file.
84655         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
84656         New file.
84657         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
84658         file.
84659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
84660         New file.
84661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
84662         file.
84663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
84664         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
84665         file.
84666         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
84667         New file.
84668         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
84669         file.
84670         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
84671         file.
84672         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
84673         file.
84674         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
84675         file.
84676         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
84677         file.
84678         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
84679         New file.
84680         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
84681         New file.
84682         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
84683         file.
84684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
84685         New file.
84686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
84687         file.
84689 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
84691         * conform/conformtest.pl: Fix typo in handling typed-constant from
84692         allow-header.
84694 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84696         * README: Cut down references to pre-2.6 Linux kernels and
84697         Linuxthreads.  Update lists of configurations in libc and ports
84698         and sort alphabetically.  Say "or newer" with Linux kernel version
84699         requirements.
84701         * config.h.in [IS_IN_build]: Allow compiling without optimization.
84703 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
84705         [BZ #887]
84706         * math/libm-test.inc (logb_test_downward): New test to expose
84707         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
84708         rounding mode.
84710 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
84712         [BZ #14027]
84713         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
84714         to be done.
84715         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
84716         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
84718 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
84720         * sysdeps/unix/i386/brk.S: Remove file.
84721         * sysdeps/unix/i386/dl-brk.S: Likewise.
84722         * sysdeps/unix/i386/pipe.S: Likewise.
84723         * sysdeps/unix/i386/sigreturn.S: Likewise.
84724         * sysdeps/unix/i386/syscall.S: Likewise.
84725         * sysdeps/unix/i386/vfork.S: Likewise.
84726         * sysdeps/unix/i386/wait.S: Likewise.
84728         * sysdeps/unix/common/tcsendbrk.c: Move to ...
84729         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
84731         * configure.in (arm*-none*): Do not allow without
84732         --enable-hacker-mode.
84733         (netbsd*): Remove case setting base_os.
84734         (386bsd*): Likewise.
84735         (freebsd*): Likewise.
84736         (bsdi*): Likewise.
84737         (osf*): Likewise.
84738         (sunos*): Likewise.
84739         (ultrix*): Likewise.
84740         (newsos*): Likewise.
84741         (dynix*): Likewise.
84742         (*bsd*): Likewise.
84743         (sysv*): Likewise.
84744         (isc*): Likewise.
84745         (esix*): Likewise.
84746         (sco*): Likewise.
84747         (minix*): Likewise.
84748         (irix4*): Likewise.
84749         (irix6*): Likewise.
84750         (solaris[2-9]*): Likewise.
84751         (none): Likewise.
84752         * configure: Regenerated.
84754 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84756         [BZ #11521]
84757         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
84758         overflow or cancellation in calculating denominator.
84759         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
84760         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
84761         down expression to avoid unexpected rounding in newer GCCs.
84762         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
84764 2012-04-26  David S. Miller  <davem@davemloft.net>
84766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
84767         long-double compat symbols.
84768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
84769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
84770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
84771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
84772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
84773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
84774         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
84775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
84776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
84777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
84778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
84779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
84780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84782 2012-04-25  David S. Miller  <davem@davemloft.net>
84784         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
84785         HWCAP_* values only after the memory barriers have been defined.
84786         (atomic_full_barrier): Define.
84787         (atomic_read_barrier): Define.
84788         (atomic_write_barrier): Define.
84790 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
84792         * shlib-versions: Add libgcc_s version information.
84793         * sysdeps/generic/libgcc_s.h: Remove.
84794         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
84795         libgcc_s.h.
84796         * sysdeps/gnu/unwind-resume.c: Likewise.
84797         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
84799 2012-04-25  David S. Miller  <davem@davemloft.net>
84801         * sysdeps/unix/sparc/brk.S: Delete.
84802         * sysdeps/unix/sparc/dl-brk.S: Delete.
84803         * sysdeps/unix/sparc/pipe.S: Delete.
84804         * sysdeps/unix/sparc/sysdep.S: Delete.
84805         * sysdeps/unix/sparc/sysdep.h: Delete.
84806         * sysdeps/unix/sparc/vfork.S: Delete.
84807         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
84808         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
84809         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
84810         (ret_ERRVAL, r0, r1, MOVE): Define.
84811         (JUMPTARGET): Remove.
84812         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
84813         sysdeps/unix/sparc/sysdep.h
84814         (ENTRY, END): Remove.
84815         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84817 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
84819         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
84820         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
84821         -DIS_IN_build.
84823         * timezone/README: Update upstream location and email address for
84824         tzcode and tzdata.
84825         * timezone/zdump.c: Update from tzcode 2012b.
84826         * timezone/zic.c: Likewise.
84828         * configure.in (libc_cv_as_needed): Remove test.
84829         * configure: Regenerated.
84830         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
84831         conditional definition.
84832         [$(have-as-needed) != yes] (no-as-needed): Likewise.
84833         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
84834         * config.make.in (have-as-needed): Remove variable.
84836 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
84837             Paul Pluzhnikov  <ppluzhnikov@google.com>
84839         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
84840         strings correctly.
84842 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
84844         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
84845         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
84846         * sysdeps/sh/strlen.S: Likewise.
84848 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84850         * sysdeps/unix/fork.S: Remove file.
84851         * sysdeps/unix/i386/fork.S: Likewise.
84852         * sysdeps/unix/sparc/fork.S: Likewise.
84854         * sysdeps/unix/system.c: Remove file.
84855         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
84857         * sysdeps/unix/getegid.S: Remove file.
84858         * sysdeps/unix/geteuid.S: Likewise.
84860 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84862         * scripts/check-localplt.awk: New file.
84863         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84864         of diff.
84865         * scripts/data/localplt-generic.data: Add a comment.
84867         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84868         NODE when __dir_mkfile failed.
84869         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84870         Reported by Ludovic Courtès <ludo@gnu.org>.
84872 2012-04-24  Andreas Jaeger  <aj@suse.de>
84874         * Makerules (common-clean): Also remove gen-as-const-headers
84875         files.
84877 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84879         * Makerules (native-compile): Do not change working directory for
84880         build.  Use $(OUTPUT_OPTION) in command.
84881         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84883 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84885         [BZ #13886]
84886         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84887         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84888         * math/libm-test.inc (floor_test): Add more tests.
84889         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84891 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84893         * sysdeps/unix/getdents.c: Remove file.
84894         * sysdeps/unix/sysv/getdents.c: Likewise.
84895         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84897         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84898         sysdeps/unix/mman/syscalls.list.
84899         (mmap): Likewise.
84900         (mprotect): Likewise.
84901         (msync): Likewise.
84902         (munmap): Likewise.
84903         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84904         * sysdeps/unix/mman/syscalls.list: Remove.
84905         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84907         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84908         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84909         * configure: Regenerated.
84910         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84911         $(libgcc_s_suffix).
84912         * config.make.in (libgcc_s_suffix): Remove variable.
84914 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84916         * sysdeps/unix/sysv/gethostname.c: Move to ...
84917         * sysdeps/posix/gethostname.c: ... here.
84919         * sysdeps/unix/execve.S: Remove file.
84921         * sysdeps/unix/_exit.S: Remove file.
84923 2012-04-23  Andreas Jaeger  <aj@suse.de>
84925         [BZ #13739]
84926         * manual/Makefile: Remove make dist support, there's no
84927         need for a stand-alone documentation tar ball.
84928         (TEXI2DVI): Define always, it's not in Makeconfig.
84929         (dist): Removed.
84930         (tar-it): Removed.
84931         (edition): Removed.
84932         (glibc-doc-$(edition).tar): Removed
84933         (%.Z): Removed.
84934         (%.gz): Removed.
84935         (%.uu): Removed.
84936         (ETAGS): Remove, it's in Makeconfig.
84937         (move-if-change): Remove, it's in Makeconfig.
84939 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84941         [BZ #13970]
84942         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84943         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84944         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84945         (strtod_l, strtof_l, strtold_l): Remove __wur.
84946         It is not necessarily an error to ignore strtol's return value.
84947         One can reliably look at the stored endptr to decide whether
84948         the number had valid syntax.
84950 2012-04-21  Andreas Jaeger  <aj@suse.de>
84952         [BZ #13739]
84953         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84955 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84957         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84958         * sysdeps/unix/sysv/Versions: Remove file.
84960 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84962         [BZ #13927]
84963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84965 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84967         [BZ #7064]
84968         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84969         version from __vm86.
84971 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84973         * sysdeps/unix/common/lxstat.c: Remove file.
84974         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84976         * sysdeps/unix/sysv/Makefile: Remove file.
84978         * sysdeps/unix/sysv/direct.h: Remove file.
84980         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84981         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84982         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84983         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84984         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84985         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84986         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84988         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84990         * sysdeps/unix/xmknod.c: Remove file.
84991         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84993         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84995         * sysdeps/unix/sysv/i386/time.S: Remove file.
84997         * sysdeps/unix/fxstat.c: Remove file.
84998         * sysdeps/unix/xstat.c: Likewise.
84999         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
85001         * sysdeps/unix/sysv/sigaction.c: Remove file.
85003         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
85004         (sysdep_headers): Remove variable.
85005         [termio.h not in sysdep_headers] (generated): Likewise.
85006         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
85007         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
85008         * sysdeps/unix/sysv/tcdrain.c: Likewise.
85009         * sysdeps/unix/sysv/tcflow.c: Likewise.
85010         * sysdeps/unix/sysv/tcflush.c: Likewise.
85011         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
85012         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
85013         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
85014         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
85015         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
85017         * sysdeps/unix/siglist.c: Remove file.
85019         * sysdeps/unix/getppid.S: Remove file.
85021         * sysdeps/unix/mkdir.c: Remove file.
85022         * sysdeps/unix/rmdir.c: Likewise.
85024 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
85026         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
85027         ERR_MAX value.
85028         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
85029         errlist-compat value.
85031 2012-04-18  David S. Miller  <davem@davemloft.net>
85033         * sysdeps/generic/memcopy.h (reg_char): Delete.
85034         * debug/strcat_chk.c: Use char, not reg_char.
85035         * debug/strcpy_chk.c: Likewise.
85036         * debug/strncat_chk.c: Likewise.
85037         * debug/strncpy_chk.c: Likewise.
85038         * string/memchr.c: Likewise.
85039         * string/memrchr.c: Likewise.
85040         * string/rawmemchr.c: Likewise.
85041         * string/strcat.c: Likewise.
85042         * string/strchr.c: Likewise.
85043         * string/strchrnul.c: Likewise.
85044         * string/strcmp.c: Likewise.
85045         * string/strcpy.c: Likewise.
85046         * string/strncat.c: Likewise.
85047         * string/strncmp.c: Likewise.
85048         * string/strncpy.c: Likewise.
85050 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
85052         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
85053         __builtin_memcopy is called when src and dest ranges are known to not
85054         overlap.
85056 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
85058         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
85059         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
85060         fwd_align_merge macro call.
85061         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
85062         bwd_align_merge macro call.
85063         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85065 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
85067         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
85068         bwd_align_merge macros.
85069         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
85070         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
85071         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
85073 2012-04-18  David S. Miller  <davem@davemloft.net>
85075         * sysdeps/sparc/sparc64/memcopy.h: Delete.
85077 2012-04-18  Andreas Jaeger  <aj@suse.de>
85079         [BZ #6794]
85080         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
85081         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
85082         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85084         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
85085         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
85086         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85088         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
85089         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
85090         Adjust for changed ldbl-128 files.
85092         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
85093         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
85094         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
85096 2012-04-17  David S. Miller  <davem@davemloft.net>
85098         * sysdeps/sparc/sparc32/memcopy.h: Delete.
85100 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
85102         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
85103         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
85104         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
85105         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
85106         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
85107         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
85109 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85111         [BZ #6794]
85112         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
85113         * math/libm-test.inc: Add ilogb errno and exception tests.
85114         * math/w_ilogb.c: New file: ilogb wrapper.
85115         * math/w_ilogbf.c: New file: ilogbf wrapper.
85116         * math/w_ilogbl.c: New file: ilogbl wrapper.
85117         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
85118         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
85119         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
85120         exception being thrown with 0.0 as argument.
85121         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
85122         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
85123         exception being thrown with 0.0 as argument.
85124         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
85125         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85126         exception being thrown with 0.0 as argument.
85127         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
85128         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
85129         exception being thrown with 0.0 as argument.
85130         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
85131         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
85132         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
85133         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
85134         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
85135         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
85136         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
85137         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
85138         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
85140 2012-04-17  Petr Baudis  <pasky@ucw.cz>
85142         * include/sys/uio.h: Change __vector to __iovec to avoid clash
85143         with altivec.
85145 2012-04-16  Marek Polacek  <polacek@redhat.com>
85147         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
85149 2012-04-16  Marek Polacek  <polacek@redhat.com>
85151         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
85152         operands of fdivp instruction.
85154 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
85156         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
85157         * elf/tst-auditmod3b.c: Likewise.
85158         * elf/tst-auditmod4b.c: Likewise.
85159         * elf/tst-auditmod5b.c: Likewise.
85160         * elf/tst-auditmod6b.c: Likewise.
85161         * elf/tst-auditmod6c.c: Likewise.
85162         * elf/tst-auditmod7b.c: Likewise.
85163         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
85164         * sysdeps/x86_64/preconfigure.in: Likewise.
85165         * sysdeps/x86_64/preconfigure: Regenerated.
85167 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
85169         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
85170         __ILP32__.
85172 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
85174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
85175         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
85177 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
85179         [BZ #13973]
85180         * locale/iso-639.def: Fix gl language name. Spotted by
85181         Yaron Shahrabani.
85183 2012-04-12  Roland McGrath  <roland@hack.frob.com>
85185         [BZ #2074]
85186         * libio/libio.h (__io_write_fn): Update comment.
85188 2012-04-12  Petr Baudis  <pasky@ucw.cz>
85190         [BZ #2074]
85191         * stdio.texi (Hook Functions): The user provided writer function
85192         is not allowed to return -1.
85194 2012-04-11  David S. Miller  <davem@davemloft.net>
85196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85198 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
85200         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
85201         Add a leading slash to rtkaio.
85203 2012-04-11  Jim Meyering  <meyering@redhat.com>
85205         [BZ #11959]
85206         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
85207         It is not necessarily an error to ignore fwrite's return
85208         value.  One can reliably use ferror to test for errors after
85209         the fact.
85211 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85213         * bits/types.h (__snseconds_t): New type.
85214         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
85216         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
85217         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
85218         (__SNSECONDS_T_TYPE): Likewise.
85219         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
85220         (__SNSECONDS_T_TYPE): Likewise.
85221         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
85222         (__SNSECONDS_T_TYPE): Likewise.
85224 2012-04-10  Andreas Jaeger  <aj@suse.de>
85226         [BZ #2636]
85227         * manual/time.texi (Processor Time): Return type of times is
85228         elapsed real time since an arbitrary point in the past.
85229         (CPU Time): Move CLK_TCK from here...
85230         (Processor Time): ...to here.  Correct description.
85231         * manual/conf.texi (Constants for Sysconf): Correct description of
85232         _SC_CLK_TCK.
85234 2012-04-10  David S. Miller  <davem@davemloft.net>
85236         [BZ #13967]
85237         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
85238         where the is a gap between DT_REL(A) and DT_JMPREL.
85240 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
85242         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
85243         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85244         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85246 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
85248         * elf/dl-support.c (_dl_inhibit_cache): New variable.
85249         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
85250         (dl_main): Handle --inhibit-cache.
85251         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
85252         _dl_inhibit_cache.
85253         * elf/dl-load.c (_dl_map_object): Use it.
85254         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
85256 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85258         [BZ #13872]
85259         * sysdeps/i386/fpu/e_powl.S (p78): New object.
85260         (__ieee754_powl): Saturate large exponents rather than testing for
85261         overflow of y*log2(x).
85262         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85263         * math/libm-test.inc (pow_test): Do not permit spurious overflow
85264         exceptions.
85266         [BZ #11521]
85267         * math/s_ctan.c: Include <float.h>.
85268         (__ctan): Avoid internal overflow or cancellation in calculating
85269         denominator.
85270         * math/s_ctanf.c: Likewise.
85271         * math/s_ctanl.c: Likewise.
85272         * math/s_ctanh.c: Likewise.
85273         * math/s_ctanhf.c: Likewise.
85274         * math/s_ctanhl.c: Likewise.
85275         * math/libm-test.inc (ctan_test): Add more tests.
85276         (ctanh_test): Likewise.
85277         * sysdeps/i386/fpu/libm-test-ulps: Update.
85278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85280 2012-04-09  Andreas Jaeger  <aj@suse.de>
85282         [BZ #6894]
85283         * manual/filesys.texi (Directory Entries): Mention that d_namlen
85284         is an optional BSD extension.
85286         [BZ #10254]
85287         * manual/stdio.texi (Opening Streams): Document additional fopen
85288         parameters.
85290 2012-04-09  Roland McGrath  <roland@hack.frob.com>
85292         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
85293         %eax without telling the compiler.
85295 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
85297         [BZ # 13963]
85298         * manual/install.texi: Use sourceware.org.
85300 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
85302         [BZ #13873]
85303         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
85304         (__ieee754_pow): Generate overflow and underflow using huge*huge
85305         and tiny*tiny rather than just returning constant infinity or zero
85306         for large exponents.
85307         * math/libm-test.inc (pow_test): Require overflow exceptions for
85308         applicable cases of large exponents.
85310         [BZ #706]
85311         * sysdeps/i386/fpu/e_pow.S (p10): New object.
85312         (__ieee754_pow): Use iterative multiplication algorithm only for
85313         integer exponents with absolute value below 1024.  Check for odd
85314         integer exponents when using algorithm for real exponents.
85315         * math/libm-test.inc (pow_test): Add more tests.
85316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
85318 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
85320         [BZ #13705]
85321         * math/libm-test.inc (exp_test): Do not allow overflow exception
85322         on underflow test.
85324 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
85326         [BZ #13705]
85327         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
85328         instead of __kernel_standard_f.
85330 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
85332         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
85333         * sysdeps/x86_64/memset_chk.S: Likewise.
85335 2012-04-08  Andreas Jaeger  <aj@suse.de>
85337         [BZ #10153]
85338         * manual/startup.texi (Environment Access): Describe return value
85339         for putenv and setenv.
85341         [BZ #6895]
85342         * manual/filesys.texi (Directory Entries): Add description for
85343         DT_LNK.
85345         [BZ #6890]
85346         * manual/filesys.texi (Directory Entries): Clarify that it's file
85347         system not operating system in the description of DT_UNKNOWN.
85349         [BZ #6578]
85350         * manual/syslog.texi (closelog): Fix reference, it's openlog.
85352 2012-04-08  Stephen Compall  <s11@member.fsf.org>
85354         [BZ #6649]
85355         * manual/llio.texi (Opening and Closing Files): Add cross
85356         reference to explain mode argument.
85358 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
85360         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
85361         * sysdeps/x86_64/memset_chk.S: Likewise.
85363 2012-04-07  David S. Miller  <davem@davemloft.net>
85365         * elf/elf.h (R_SPARC_WDISP10): Define.
85366         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
85367         R_SPARC_SIZE32.
85368         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
85369         R_SPARC_SIZE64 and R_SPARC_H34.
85371 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
85373         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
85374         conditions and remove no longer applicable assertion.
85376 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85378         * bits/byteswap.h: Include <features.h>.
85379         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
85380         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
85382 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
85384         * bits/byteswap.h (__bswap_16): Removed.
85385         Include <bits/byteswap-16.h> to get __bswap_16.
85386         * sysdeps/i386/bits/byteswap.h: Likewise.
85387         * sysdeps/s390/bits/byteswap.h: Likewise.
85388         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85389         * bits/byteswap-16.h: New file.
85390         * sysdeps/i386/bits/byteswap-16.h: Likewise.
85391         * sysdeps/s390/bits/byteswap-16.h: Likewise.
85392         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
85393         * string/Makefile (headers): Add bits/byteswap-16.h.
85395 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
85397         [BZ #13895]
85398         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
85399         extra indirection.
85400         * nss/Makefile (tests-static, tests): Add tst-nss-static.
85401         * nss/tst-nss-static.c: New.
85403 2012-04-06  Robert Millan  <rmh@gnu.org>
85405         [BZ #6486]
85406         * manual/llio.texi (File Position Primitive): lseek
85407         refers to WHENCE when it really means OFFSET.
85409 2012-04-06  Andreas Jaeger  <aj@suse.de>
85411         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
85412         strncmp declarations.
85414         * abilist/libc.abilist: Add __poll and __ppoll.
85416 2012-04-05  David S. Miller  <davem@davemloft.net>
85418         * scripts/check-local-headers.sh: Accept a host triplet in the
85419         path matched by the exclude regexp.
85421         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
85422         definition.
85423         * sysdeps/powerpc/powerpc32/dl-machine.h
85424         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
85425         * sysdeps/s390/s390-32/dl-machine.h
85426         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85427         * sysdeps/sparc/sparc32/dl-machine.h
85428         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85429         * sysdeps/sparc/sparc64/dl-machine.h
85430         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
85432         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
85433         lazy binding.
85434         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
85435         undefined symbol errors.
85437         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
85438         DT_NEEDED entries.
85440 2012-04-05  Michael Matz  <matz@suse.de>
85442         [BZ #13592]
85443         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
85445 2012-04-05  Andreas Jaeger  <aj@suse.de>
85447         [BZ #13908]
85448         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
85449         comment.
85451 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85453         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
85454         which ROUND is no valid rounding mode.
85456 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85458         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
85459         read again.
85460         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
85462 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85464         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
85465         an exception using FPU order intentionally.
85467 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85469         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
85470         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
85471         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
85472         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
85474 2012-04-05  Simon Josefsson  <simon@josefsson.org>
85476         [BZ #12340]
85477         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
85478         EINVAL when BUFLEN is too smal.
85480 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
85482         [BZ #13553]
85483         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
85484         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
85486 2012-04-03  Andreas Jaeger  <aj@suse.de>
85488         [BZ #13938]
85489         * manual/setjmp.texi (System V contexts): Fix sentence.
85491         [BZ #13926]
85492         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
85493         New macro for this case.
85494         [!__GNUC__] (__bswap_64): New inline function for this case.
85495         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85496         * bits/byteswap.h: Likewise.
85497         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
85498         ull, guard with __GLIBC_HAVE_LONG_LONG.
85500         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
85501         __GLIBC_HAVE_LONG_LONG.
85503         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
85504         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
85506 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
85508         [BZ #13691]
85509         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
85510         inptr and inend, rather than using last_ch.
85512 2012-04-02  David S. Miller  <davem@davemloft.net>
85514         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
85515         * stdio-common/printf-parse.h (read_int): Change return type to
85516         'int', return -1 on INT_MAX overflow.
85517         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
85518         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
85519         overflows INT_MAX.  Check for overflow of in-format-string precision
85520         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
85521         SIZE_MAX not INT_MAX for integer overflow test.
85522         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
85523         skip the construct in the format string but do not record anything.
85524         * stdio-common/bug22.c: Adjust to test both width/prevision
85525         INT_MAX overflow as well as total length INT_MAX overflow.  Check
85526         explicitly for proper errno values.
85528 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
85530         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
85531         CHAR_MAX.
85532         * string/test-strcmp.c [! WIDE]: Likewise.
85533         * time/tst-mktime2.c: Likewise for INT_MAX.
85534         * string/test-string.h: #include <sys/param.h> for MIN.
85536         * csu/init-first.c (__libc_init_first): Call __ctype_init.
85537         * sysdeps/i386/init-first.c (init): Likewise.
85538         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
85539         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
85540         * sysdeps/sh/init-first.c (init): Likewise.
85542 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
85544         * po/ru.po: Update from translation team.
85545         * po/vi.po: Likewise.
85547 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
85549         * resolv/nss_dns/dns-host.c: Merge copyright years.
85551 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
85553         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
85554         Optimize memcpy with prefetch if
85555         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
85556         src, dst pointers have unequal 16 byte alignments.
85558 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
85560         [BZ #13928]
85561         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
85562         from a CNAME entry and return the minimum ttl for the query.
85563         (gaih_getanswer_slice): Likewise.
85565 2012-03-30  Jeff Law  <law@redhat.com>
85567         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
85568         due to long keys.
85569         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
85570         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
85572         * resolv/nss_dns/dns-host.c: Update copyright year.
85574 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
85576         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
85577         requests to save a system call.  Fix check that all bytes are sent.
85579         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
85580         comments for sendmmsg.
85582 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
85584         [BZ #13691]
85585         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
85586         with only 1 character between 0x0041 and 0x01b0.
85587         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
85588         * wcsmbs/tst-mbsnrtowcs.c: New file.
85590 2012-03-29  David S. Miller  <davem@davemloft.net>
85592         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
85593         small copies by hand.
85595 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
85597         [BZ #13761]
85598         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
85599         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
85600         group memberships.
85602 2012-03-28  David S. Miller  <davem@davemloft.net>
85604         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
85605         that branches into memcpy.
85606         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
85607         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
85608         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
85609         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
85610         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
85611         bits.
85612         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
85613         implementation too.
85614         * sysdeps/sparc/mempcpy.S: New file.
85616         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
85617         the IFUNC routine in the libc case.
85618         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85620         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
85621         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
85622         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
85623         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
85624         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
85625         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
85626         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
85627         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
85629         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
85630         loop to 256 bytes instead of 64 bytes and fix test signedness.
85632         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
85633         * sysdeps/sparc/sparc32/Makefile: rather than here...
85634         * sysdeps/sparc/sparc64/Makefile: and here.
85636 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
85638         * malloc/mallocbug.c: Avoid warnings about unused variables.
85640 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
85642         [BZ #13760]
85643         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
85644         in the right place. Discard and retry query if response is
85645         larger than input buffer size.
85647 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
85649         [BZ #369]
85650         [BZ #2678]
85651         [BZ #3866]
85652         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
85653         x for large integer exponent.
85654         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
85655         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
85656         sign of result as needed afterwards.
85657         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
85658         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
85659         result for underflowing pow the same as for overflow.
85660         (__kernel_standard_l): Handle powl overflow and underflow here
85661         rather than calling __kernel_standard.
85662         * math/libm-test.inc (pow_test): Add more tests.
85664         [BZ #3868]
85665         [BZ #13879]
85666         [BZ #13910]
85667         [BZ #13911]
85668         [BZ #13912]
85669         [BZ #13913]
85670         [BZ #13915]
85671         [BZ #13916]
85672         [BZ #13917]
85673         [BZ #13918]
85674         [BZ #13919]
85675         [BZ #13920]
85676         [BZ #13921]
85677         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
85678         * sysdeps/ieee754/k_standard.c: Include <float.h>.
85679         (__kernel_standard_l): New function.
85680         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
85681         __kernel_standard.
85682         * math/w_acosl.c (__acosl): Likewise.
85683         * math/w_asinl.c (__asinl): Likewise.
85684         * math/w_atan2l.c (__atan2l): Likewise.
85685         * math/w_atanhl.c (__atanhl): Likewise.
85686         * math/w_coshl.c (__coshl): Likewise.
85687         * math/w_exp10l.c (__exp10l): Likewise.
85688         * math/w_exp2l.c (__exp2l): Likewise.
85689         * math/w_fmodl.c (__fmodl): Likewise.
85690         * math/w_hypotl.c (__hypotl): Likewise.
85691         * math/w_j0l.c (__j0l, __y0l): Likewise.
85692         * math/w_j1l.c (__j1l, __y1l): Likewise.
85693         * math/w_jnl.c (__jnl, __ynl): Likewise.
85694         * math/w_lgammal.c (__lgammal): Likewise.
85695         * math/w_log10l.c (__log10l): Likewise.
85696         * math/w_log2l.c (__log2l): Likewise.
85697         * math/w_logl.c (__logl): Likewise.
85698         * math/w_powl.c (__powl): Likewise.
85699         * math/w_remainderl.c (__remainderl): Likewise.
85700         * math/w_scalbl.c (sysv_scalbl): Likewise.
85701         * math/w_sinhl.c (__sinhl): Likewise.
85702         * math/w_sqrtl.c (__sqrtl): Likewise.
85703         * math/w_tgammal.c (__tgammal): Likewise.
85704         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
85705         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
85706         * math/libm-test.inc (acos_test): Add more tests.
85707         (acosh_test): Likewise.
85708         (asin_test): Likewise.
85709         (atanh_test): Likewise.
85710         (exp_test): Likewise.
85711         (exp10_test): Likewise.
85712         (exp2_test): Likewise.
85713         (expm1_test): Likewise.
85714         (lgamma_test): Likewise.
85715         (log_test): Likewise.
85716         (log10_test): Likewise.
85717         (log1p_test): Likewise.
85718         (log2_test): Likewise.
85719         (pow_test): Do not allow some spurious overflow exceptions.
85720         (sqrt_test): Add more tests.
85721         (tgamma_test): Likewise.
85722         (y0_test): Likewise.
85723         (y1_test): Likewise.
85724         (yn_test): Likewise.
85726 2012-03-27  Anton Blanchard  <anton@samba.org>
85728         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
85729         MAP_HUGETLB.
85730         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
85731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
85732         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
85734 2012-03-27  David S. Miller  <davem@davemloft.net>
85736         * conform/Makefile: Run run-conformtest.sh using $(BASH).
85738         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
85739         have-as-vis3 check.
85741 2012-03-27  Andreas Jaeger  <aj@suse.de>
85743         * sysdeps/x86_64/elf/configure.in: Moved to ...
85744         * sysdeps/x86_64/configure.in: ... here.
85745         * sysdeps/x86_64/elf/start.S: Moved to ...
85746         * sysdeps/x86_64/start.S: ... here.
85747         * sysdeps/x86_64/elf/configure: Delete.
85749         * sysdeps/x86_64/configure.in: Merge contents from
85750         sysdeps/i386/configure.in (without i686 check).
85752         * sysdeps/i386/elf/Versions: Merge into ...
85753         * sysdeps/i386/Versions: ... this.
85754         * sysdeps/i386/elf/Versions: Delete file.
85755         * sysdeps/i386/elf/start.S: Moved to ...
85756         * sysdeps/i386/start.S: ...here.
85757         * sysdeps/i386/elf/configure.in: Merge into...
85758         * sysdeps/i386/configure.in: ...here.
85759         * sysdeps/i386/elf/configure.in: Delete file.
85760         * sysdeps/i386/elf/configure: Delete file.
85762         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
85763         * debug/backtracesyms.c: ... here.
85764         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
85765         * debug/backtracesymsfd.c: ... here.
85766         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
85767         * sysdeps/generic/ifunc-sel.h: ... here.
85769         * sysdeps/unix/i386/start.c: Delete file.
85770         * sysdeps/unix/sparc/start.c: Delete file.
85771         * sysdeps/unix/start.c: Delete file.
85773         * sysdeps/sh/elf/configure.in: Moved to ...
85774         * sysdeps/sh/configure.in: ... here.
85775         * sysdeps/sh/elf/start.S: Moved to ...
85776         * sysdeps/sh/start.S: ... here.
85777         * sysdeps/sh/elf/configure: Delete file.
85779         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
85780         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
85781         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
85782         * sysdeps/powerpc/powerpc64/entry.h: ... here.
85783         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
85784         * sysdeps/powerpc/powerpc64/start.S: here.
85785         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
85786         * sysdeps/powerpc/powerpc64/Makefile: ... this.
85787         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
85788         * sysdeps/powerpc/powerpc64/configure.in: ... this.
85789         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
85791         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
85792         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
85793         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
85794         * sysdeps/powerpc/powerpc32/start.S: ... here.
85795         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
85796         * sysdeps/powerpc/powerpc32/configure.in: ... this.
85797         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
85799         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
85800         * sysdeps/powerpc/ifunc-sel.h: ... here.
85801         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
85802         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
85804         * sysdeps/sparc/elf/configure.in: Moved to ...
85805         * sysdeps/sparc/configure.in: ... here.
85806         * sysdeps/sparc/elf/configure: Delete file.
85807         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
85808         * sysdeps/sparc/sparc32/start.S: ... here.
85809         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
85810         * sysdeps/sparc/sparc64/start.S: ... here.
85811         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
85812         * sysdeps/sparc/sparc32/Makefile: ... this.
85813         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
85814         * sysdeps/sparc/sparc64/Makefile: ... this.
85816         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
85817         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
85818         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
85819         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
85820         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
85821         * sysdeps/s390/s390-32/setjmp.S: ... here.
85822         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
85823         * sysdeps/s390/s390-32/configure.in: ... here.
85824         * sysdeps/s390/s390-32/elf/configure: Delete file.
85825         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
85826         * sysdeps/s390/s390-32/start.S: ... here.
85828         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
85829         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
85830         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
85831         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
85832         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
85833         * sysdeps/s390/s390-64/setjmp.S: ... here.
85834         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
85835         * sysdeps/s390/s390-64/configure.in: ... here
85836         * sysdeps/s390/s390-64/elf/configure: Delete file.
85837         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
85838         * sysdeps/s390/s390-64/start.S: ... here.
85839         * sysdeps/s390/s390-64/elf/configure: Delete.
85841         * configure.in: Remove support for elf directories in sysdeps.
85843         * configure: Regenerated.
85844         * sysdeps/i386/configure: Regenerated.
85845         * sysdeps/powerpc/powerpc32/configure: Regenerated.
85846         * sysdeps/powerpc/powerpc64/configure: Regenerated.
85847         * sysdeps/s390/s390-32/configure: Regenerated.
85848         * sysdeps/s390/s390-64/configure: Regenerated.
85849         * sysdeps/sh/configure: Regenerated.
85850         * sysdeps/sparc/configure: Regenerated.
85851         * sysdeps/x86_64/configure: Regenerated.
85853 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
85855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85857         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85858         denormal result into account.
85860 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85862         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85863         Reported by Allan McRae <allan@archlinux.org>.
85865 2012-03-23  Jeff Law  <law@redhat.com>
85867         * nss/getnssent.c (__nss_getent): Fix typo.
85869 2012-03-23  David S. Miller  <davem@davemloft.net>
85871         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85873 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85875         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85876         to pad to uint64_t for each field.
85877         (dl_tls_index): Replace unsigned long with uint64_t.
85879 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85880         Paul Pluzhnikov  <ppluzhnikov@google.com>
85882         [BZ #6528]
85883         * grp/Makefile (otherlibs): Don't set it.
85884         * inet/Makefile (otherlibs): Likewise.
85885         * login/Makefile (otherlibs): Likewise.
85886         * nscd/Makefile (otherlibs): Likewise.
85887         * posix/Makefile (otherlibs): Likewise.
85888         * pwd/Makefile (otherlibs): Likewise.
85889         * rt/Makefile (otherlibs): Likewise.
85890         * sunrpc/Makefile (otherlibs): Likewise.
85891         * nss/Makefile (otherlibs): Likewise.
85892         Add libnss_files to routines and static-only-routines.
85893         ($(objpfx)getent): Remove rule.
85894         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85895         static-only-routines.
85897 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85899         [BZ #13892]
85900         * math/s_cexp.c: Include <float.h>.
85901         (__cexp): Handle exp result overflowing not necessarily
85902         overflowing both real and imaginary parts of result.
85903         * math/s_cexpf.c: Likewise.
85904         * math/s_cexpl.c: Likewise.
85905         * math/libm-test.inc (cexp_test): Add more tests.
85906         * sysdeps/i386/fpu/libm-test-ulps: Update.
85907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85909 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85911         * include/link.h (ELFW): New macro.
85912         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85913         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85915 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85917         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85918         with uint64_t.
85920 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85922         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85923         declaration.
85924         (struct La_x32_retval): Likewise.
85926 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85928         * sysdeps/x86_64/preconfigure.in: New file.
85929         * sysdeps/x86_64/preconfigure: New generated file.
85931 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85933         [BZ #13824]
85934         * math/e_exp2l.c: Include <float.h>.
85935         (__ieee754_exp2l): Handle overflow and underflow cases
85936         separately.  Only pass fractional part of argument to
85937         __ieee754_expl.
85938         * math/libm-test.inc (exp2_test): Add more tests.
85940         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85941         negating x to take absolute value.
85942         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85943         Likewise.
85944         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85945         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85946         Likewise.
85947         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85948         computing low part if x was negated.
85949         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85951 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85953         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85954         la_x32_gnu_pltexit.
85955         (pltexit): Cast int_retval to ptrdiff_t.
85956         * elf/tst-auditmod3b.c: Likewise.
85957         * elf/tst-auditmod4b.c: Likewise.
85958         * elf/tst-auditmod5b.c: Likewise.
85959         * elf/tst-auditmod6b.c: Likewise.
85960         * elf/tst-auditmod6c.c: Likewise.
85961         * elf/tst-auditmod7b.c: Likewise.
85963         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85964         and x32_gnu_pltexit.
85966         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85967         __ELF_NATIVE_CLASS.
85968         (La_x32_regs): New macro.
85969         (La_x32_retval): Likewise.
85970         (la_x32_gnu_pltenter): New function prototype.
85971         (la_x32_gnu_pltexit): Likewise.
85973 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85976         exponent.
85978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85980         * configure.in (libc_cv_cc_nofma): Check for option to disable
85981         generation of FMA instructions.
85982         * configure: Regenerate.
85983         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85984         * sysdeps/ieee754/dbl-64/Makefile: New file.
85985         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85986         Remove brandred-fma4.
85987         (CFLAGS-brandred-fma4.c): Remove.
85988         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85989         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85990         define.
85991         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85992         define.
85994 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85996         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85997         LLONG_MAX != LONG_MAX.
85998         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85999         (_fitoa_word): Likewise.
86000         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
86001         LLONG_MAX != LONG_MAX.
86002         * stdio-common/_itowa.h: Include <_itoa.h>.
86003         (_itowa_word): Use _ITOA_WORD_TYPE on value.
86004         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
86005         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
86006         only if not defined.
86007         (_ITOA_WORD_TYPE): Likewise.
86008         (_itoa_word): Use _ITOA_WORD_TYPE on value.
86009         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
86011 2012-03-21  David S. Miller  <davem@davemloft.net>
86013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86015 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
86017         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
86018         of x86_64 when setting libc_cv_slibdir, libdir and
86019         libc_cv_localedir.
86020         * sysdeps/unix/sysv/linux/configure: Regenerated.
86022 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
86024         * manual/lang.texi (Old Varargs): Remove section.
86025         (How Variadic): Update menu.
86026         (va_start): Do not mention varargs.h.
86028 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
86029             Joseph Myers  <joseph@codesourcery.com>
86031         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
86032         link test.
86033         * configure: Regenerated.
86035 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
86037         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
86038         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
86039         conformtest.pl
86041 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
86043         * NOTES: Remove.
86044         * Makefile (files-for-dist): Remove NOTES.
86045         (NOTES): Remove rule.
86046         * README: Don't refer to NOTES.
86047         * manual/creature.texi: Don't include macros.texi.
86048         * manual/intro.texi (creature.texi): Remove comment referring to
86049         NOTES.
86051         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
86052         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
86053         * configure: Regenerated.
86054         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
86055         LIBC_TRY_CC_OPTION.
86056         (libc_cv_as_i686): Likewise.
86057         (libc_cv_cc_avx): Likewise.
86058         (libc_cv_cc_sse2avx): Likewise.
86059         (libc_cv_cc_fma4): Likewise.
86060         (libc_cv_cc_novzeroupper): Likewise.
86061         * sysdeps/i386/configure: Regenerated.
86063         [BZ #13883]
86064         * sysdeps/i386/fpu/s_cexp.S: Remove.
86065         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
86066         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
86067         * math/libm-test.inc (cexp_test): Add more tests.
86068         * sysdeps/i386/fpu/libm-test-ulps: Update.
86069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86071 2012-03-21  Allan McRae  <allan@archlinux.org>
86073         * timezone/Makefile: Do not install iso3166.tab and zone.tab
86075 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
86077         [BZ #13871]
86078         * math/w_exp2.c: Do not include <float.h>.
86079         (o_threshold, u_threshold): Remove.
86080         (__exp2): Calculate result before checking finiteness and calling
86081         __kernel_standard.
86082         * math/w_exp2f.c: Likewise.
86083         * math/w_exp2l.c: Likewise.
86084         * math/libm-test.inc (exp2_test): Require overflow exception for
86085         1e6 input.
86087         [BZ #3866]
86088         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
86089         range of signed 64-bit integers before using fistpll.  Remove
86090         checks for whether integers fit in mantissa bits.
86091         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
86092         the range of signed 32-bit integers before using fistpl.  Remove
86093         checks for whether integers fit in mantissa bits.
86094         * sysdeps/i386/fpu/e_powl.S (p64): New object.
86095         (__ieee754_powl): Test for y outside the range of signed 64-bit
86096         integers before using fistpll.  Reduce 64-bit values to 63-bit
86097         ones as needed.
86098         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
86099         divide-by-zero is raised for zero to large negative powers.
86100         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
86101         (__ieee754_powl): Test for y outside the range of signed 64-bit
86102         integers before using fistpll.  Reduce 64-bit values to 63-bit
86103         ones as needed.
86104         * math/libm-test.inc (pow_test): Add more tests.
86106 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86108         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
86109         <stdio-common/_itoa.h>.
86110         * debug/segfault.c: Likewise.
86111         * elf/dl-cache.c: Likewise.
86112         * elf/dl-minimal.c: Likewise.
86113         * elf/dl-misc.c: Likewise.
86114         * elf/dl-sysdep.c: Likewise.
86115         * elf/dl-version.c: Likewise.
86116         * elf/rtld.c: Likewise.
86117         * hurd/hurdsock.c: Likewise.
86118         * hurd/lookup-retry.c: Likewise.
86119         * malloc/malloc.c: Likewise.
86120         * malloc/mtrace.c: Likewise.
86121         * nscd/nscd_getgr_r.c: Likewise.
86122         * nscd/nscd_getpw_r.c: Likewise.
86123         * nscd/nscd_getserv_r.c: Likewise.
86124         * posix/getopt_init.c: Likewise.
86125         * posix/wordexp.c: Likewise.
86126         * stdio-common/_itoa.c: Likewise.
86127         * stdio-common/printf_fphex.c: Likewise.
86128         * stdio-common/vfprintf.c: Likewise.
86129         * string/_strerror.c: Likewise.
86130         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
86131         * sysdeps/i386/i686/hp-timing.h: Likewise.
86132         * sysdeps/mach/_strerror.c: Likewise.
86133         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
86134         * sysdeps/mach/hurd/sethostid.c: Likewise.
86135         * sysdeps/mach/hurd/xmknodat.c: Likewise.
86136         * sysdeps/mach/xpg-strerror.c: Likewise.
86137         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
86138         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
86139         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
86140         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
86141         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
86142         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
86143         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
86144         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
86145         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
86146         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
86147         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
86148         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
86149         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
86150         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
86151         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
86152         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
86153         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
86154         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
86155         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
86156         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
86157         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
86159         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
86161         * stdio-common/_itoa.h: Moved to ...
86162         * sysdeps/generic/_itoa.h: Here.
86164         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
86166         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
86167         instead of "_itoa.h" and "_itowa.h".
86168         * stdio-common/vfprintf.: Likewise.
86170 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86172         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
86173         <bits/wordsize.h>.
86174         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
86175         (__signbit): Likewise.
86176         (llrintf): Likewise.
86177         (llrint): Likewise.
86179 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
86181         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
86182         __WORDSIZE != 64.
86184 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
86186         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
86187         OVERFLOW_EXCEPTION_OK.
86188         * math/libm-test.inc ("Philosophy"): Update comment about
86189         exception testing.
86190         (OVERFLOW_EXCEPTION): Define.
86191         (OVERFLOW_EXCEPTION_OK): Likewise.
86192         (INVALID_EXCEPTION_OK): Renumber.
86193         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
86194         (IGNORE_ZERO_INF_SIGN): Likewise.
86195         (test_exceptions): Handle FE_OVERFLOW.
86196         (exp10_test): Expect overflow exceptions.
86197         (exp2_test): Likewise.
86198         (expm1_test): Likewise.
86199         (nextafter_test): Likewise.
86200         (pow_test): Likewise.
86201         (scalbn_test): Likewise.
86202         (scalbln_test): Likewise.
86204 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86206         * sysdeps/x86_64/bits/atomic.h
86207         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
86208         64bit integer.
86209         (atomic_exchange_acq): Likewise.
86210         (__arch_exchange_and_add_body): Likewise.
86211         (__arch_add_body): Likewise.
86212         (atomic_add_negative): Likewise.
86213         (atomic_add_zero): Likewise.
86215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86217         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
86218         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
86220 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86222         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
86223         Check __x86_64__ instead of __WORDSIZE.
86225 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86227         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
86229 2012-03-19  David S. Miller  <davem@davemloft.net>
86231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86233         * sysdeps/sparc/fpu/fenv_private.h: New file.
86234         * sysdeps/sparc/fpu/math_private.h: Use it.
86235         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
86236         Remove.
86237         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
86238         (libc_feholdexcept_setroundl): Remove.
86239         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
86240         Remove.
86241         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
86242         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
86244 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86246         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
86247         int64_t instead of long int.
86248         (INSERT_WORDS64): Likewise.
86250 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
86252         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
86253         _Unwind_GetCFA return to _Unwind_Ptr first.
86255 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
86257         [BZ #13629]
86258         * math/s_clog.c: Include <float.h>.
86259         (__clog): Scale large or subnormal inputs.
86260         * math/s_clogf.c: Likewise.
86261         * math/s_clogl.c: Likewise.
86262         * math/s_clog10.c: Include <float.h>.
86263         (M_LOG10_2): Define.
86264         (__clog10): Scale large or subnormal inputs.
86265         * math/s_clog10f.c: Likewise.
86266         * math/s_clog10l.c: Likewise.
86267         * math/libm-test.inc (clog_test): Add more tests.
86268         (clog10_test): Likewise.
86269         * sysdeps/i386/fpu/libm-test-ulps: Update.
86270         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86272         [BZ #11451]
86273         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
86274         x and y.
86275         * math/libm-test.inc (atan2_test): Add another test.
86277         * Makerules (common-objdir-compile): Remove.
86278         * sysdeps/unix/Makefile (config-generated): Do not add
86279         $(unix-generated) to variable.
86280         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
86281         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
86282         Remove rule.
86283         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
86284         Likewise.
86285         [generic bits/local_lim.h] (before-compile): Do not append to
86286         variable.
86287         [generic bits/local_lim.h] (common-generated): Likewise.
86288         [generic sys/param.h] (before-compile): Do not append to variable.
86289         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
86290         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
86291         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
86292         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
86293         include.
86294         [generic sys/param.h] (sys/param.h-includes): Remove variable.
86295         [generic sys/param.h] (sys/param.h-includes): Remove rule.
86296         [generic sys/param.h] ($(addprefix
86297         $(common-objpfx),$(sys/param.h-includes))): Likewise.
86298         [generic sys/param.h] (common-generated): Do not append to
86299         variable.
86300         [generic sys/param.h] (sysdep_headers): Likewise.
86301         [generic bits/errno.h] (before-compile): Do not append to
86302         variable.
86303         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
86304         rule.
86305         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
86306         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
86307         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
86308         [generic bits/errno.h] (common-generated): Do not append to
86309         variable.
86310         [generic bits/ioctls.h] (before-compile): Do not append to
86311         variable.
86312         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
86313         rule.
86314         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
86315         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
86316         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
86317         rule.
86318         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
86319         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
86320         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
86321         [generic bits/ioctls.h] (common-generated): Do not append to
86322         variable.
86323         [generic sys/syscall.h] (syscall.h): Remove variable.
86324         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
86325         rule.
86326         [generic sys/syscall.h] (before-compile): Do not append to
86327         variable.
86328         [generic sys/syscall.h] (common-generated): Likewise.
86329         * sysdeps/unix/errnos-tmpl.c: Remove file.
86330         * sysdeps/unix/errnos.awk: Likewise.
86331         * sysdeps/unix/ioctls-tmpl.c: Likewise.
86332         * sysdeps/unix/ioctls.awk: Likewise.
86333         * sysdeps/unix/mk-local_lim.c: Likewise.
86334         * sysdeps/unix/snarf-ioctls: Likewise.
86336 2012-03-19  Richard Henderson  <rth@twiddle.net>
86338         * sysdeps/i386/fpu/fenv_private.h: New file.
86339         * sysdeps/i386/fpu/math_private.h: Use it.
86340         (math_opt_barrier, math_force_eval): Remove.
86341         (libc_feholdexcept_setround_53bit): Remove.
86342         (libc_feupdateenv_53bit): Remove.
86343         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86344         (math_opt_barrier, math_force_eval): Remove.
86345         (libc_feholdexcept): Remove.
86346         (libc_feholdexcept_setround): Remove.
86347         (libc_fetestexcept, libc_fesetenv): Remove.
86348         (libc_feupdateenv_test): Remove.
86349         (libc_feupdateenv, libc_feholdsetround): Remove.
86350         (libc_feresetround): Remove.
86352         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
86353         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
86355         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
86356         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
86357         (libc_feupdateenv_testl): New.
86358         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
86359         (libc_feupdateenv_testf): New.
86360         (libc_feupdateenv): Use libc_feupdateenv_test.
86361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
86362         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
86364         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
86365         (libc_feholdsetroundf, libc_feholdsetroundl): New.
86366         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
86367         (libc_feresetround_noex): New.
86368         (libc_feresetround_noexf): New.
86369         (libc_feresetround_noexl): New.
86370         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
86371         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
86372         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
86373         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
86374         SET_RESTORE_ROUND.
86375         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
86376         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
86377         (__cos): Likewise.
86378         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
86379         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
86380         SET_RESTORE_ROUND_NOEX.
86381         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
86382         SET_RESTORE_ROUND_NOEXF.
86383         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
86384         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
86385         (libc_feholdsetroundf): New.
86386         (libc_feresetround, libc_feresetroundf): New.
86388         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
86389         (libc_feholdexcept_setround_53bit): Convert from macro to function.
86390         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
86392         * sysdeps/generic/math_private.h: Include <fenv.h>.
86393         (default_libc_feholdexcept): New.
86394         (default_libc_feholdexcept_setround): New.
86395         (default_libc_fesetenv, default_libc_feupdateenv): New.
86396         (libc_feholdexcept): Only define if undefined.
86397         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
86398         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
86399         (libc_feholdexcept_setroundl): Likewise.
86400         (libc_feholdexcept_setround_53bit): Likewise.
86401         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
86402         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
86403         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
86404         (libc_feupdateenv_53bit): Likewise.
86405         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
86406         (libc_feholdexcept): Convert from macro to inline function.
86407         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
86408         (libc_fesetenv, libc_feupdateenv): Likewise.
86410         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
86411         not previously defined.
86412         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
86413         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
86414         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
86415         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
86416         * sysdeps/ieee754/flt-32/math_private.h: New file.
86417         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
86418         math_private.h below SET_FLOAT_WORD.
86419         (__isnan, __isinf_ns, __finite): Remove.
86420         (__isnanf, __isinf_nsf, __finitef): Remove.
86422 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
86424         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86426 2012-03-17  David S. Miller  <davem@davemloft.net>
86428         [BZ #6471]
86429         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
86430         for 2.16.
86432 2012-03-16  David S. Miller  <davem@davemloft.net>
86434         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
86435         warnings.
86437         [BZ #6471]
86438         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
86439         properly.
86440         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
86441         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
86442         sysdep_routines when subdir is sysvipc.
86443         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
86444         __getshmlba helper.
86446         * sysdeps/sparc/fpu/libm-test/ulps: Update.
86448 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86450         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
86451         [__LP64__].
86453 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86455         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
86456         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
86457         (__lround): Renamed to ...
86458         (__llround): This.  Replace long int with long long int.
86459         Define lround functions as aliases of llround functions.
86460         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
86462 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86464         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
86465         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
86466         adresses to uintptr_t.  Replace "long int" and "unsigned long
86467         int" with "greg_t" on va_arg.
86469 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86471         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
86472         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
86474         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
86475         Move e_machine check before EI_CLASS check.  Handle x32
86476         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
86477         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
86478         SKIP_EM_IA_64 and include
86479         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
86481         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
86482         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
86483         (add_system_dir): New macro.
86485         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
86486         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
86488 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86490         [BZ #2551]
86491         [BZ #2552]
86492         [BZ #2553]
86493         [BZ #2554]
86494         [BZ #2562]
86495         [BZ #2563]
86496         [BZ #2565]
86497         [BZ #2566]
86498         [BZ #2576]
86499         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
86500         (y0): Likewise.
86501         * math/w_j0f.c (j0f): Likewise.
86502         (y0f): Likewise.
86503         * math/w_j0l.c (__j0l): Likewise.
86504         (__y0l): Likewise.
86505         * math/w_j1.c (j1): Likewise.
86506         (y1): Likewise.
86507         * math/w_j1f.c (j1f): Likewise.
86508         (y1f): Likewise.
86509         * math/w_j1l.c (__j1l): Likewise.
86510         (__y1l): Likewise.
86511         * math/w_jn.c (jn): Likewise.
86512         (yn): Likewise.
86513         * math/w_jnf.c (jnf): Likewise.
86514         (ynf): Likewise.
86515         * math/w_jnl.c (__jnl): Likewise.
86516         (__ynl): Likewise.
86517         * math/libm-test.inc (j0_test): Add more tests.
86518         (j1_test): Likewise.
86519         (jn_test): Likewise.  Add trailing semicolon to existing test.
86520         (y0_test): Likewise.
86521         (y1_test): Likewise.
86522         * sysdeps/i386/fpu/libm-test-ulps: Update.
86523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86525         [BZ #13851]
86526         [BZ #13854]
86527         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
86528         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
86529         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
86530         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
86531         (__tanl): Set errno for infinite argument.
86532         * sysdeps/i386/fpu/mptan.c: Remove.
86533         * sysdeps/i386/fpu/s_tan.S: Likewise.
86534         * sysdeps/i386/fpu/s_tanl.S: Likewise.
86535         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
86536         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
86537         * math/libm-test.inc (tan_test): Add more tests and enable more
86538         tests for double and long double.
86539         * sysdeps/i386/fpu/libm-test-ulps: Update.
86540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86542 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
86544         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
86545         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
86547 2012-03-16  Roland McGrath  <roland@hack.frob.com>
86549         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
86550         * configure.in: Use it for both main tree and add-ons.
86551         * configure: Regenerated.
86553 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
86555         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
86557 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
86559         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
86560         in comment.
86562         [BZ #13851]
86563         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
86564         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
86565         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
86566         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
86567         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
86568         infinite argument.
86569         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
86570         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
86571         != 0 for prec == 2.
86572         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
86573         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
86574         * sysdeps/i386/fpu/s_cosl.S: Likewise.
86575         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
86576         * sysdeps/i386/fpu/s_sinl.S: Likewise.
86577         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
86578         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
86579         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
86580         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
86581         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
86582         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
86583         * math/libm-test.inc (cos_test): Add more tests and enable more
86584         tests for long double.
86585         (sin_test): Likewise.
86586         (sincos_test): Likewise.
86587         * sysdeps/i386/fpu/libm-test-ulps: Update.
86588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86590 2012-03-16  David S. Miller  <davem@davemloft.net>
86592         * sysdeps/sparc/fpu/math_private.h: New file.
86594 2012-03-15  David S. Miller  <davem@davemloft.net>
86596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
86597         file.
86598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
86599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
86600         file.
86601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
86602         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
86603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
86604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
86605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
86606         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
86607         sysdep routines.
86608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86610         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
86611         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
86613         * sysdeps/sparc/sparc-ifunc.h: New file.
86614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
86615         sparc-ifunc.h
86616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
86617         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
86618         Likewise.
86619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
86620         Likewise.
86621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
86622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
86623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
86624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
86625         Likewise.
86626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
86627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
86628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
86629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
86630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
86631         Likewise.
86632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
86633         Likewise.
86634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
86635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
86636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
86637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
86638         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
86639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
86640         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
86641         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
86642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
86643         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
86644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
86645         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
86646         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
86647         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
86648         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
86649         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
86650         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
86651         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
86652         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
86653         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
86654         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
86655         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
86656         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
86657         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
86659 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86661         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
86662         scaling.
86663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86665 2012-03-15  Andreas Jaeger  <aj@suse.de>
86667         [BZ #13852]
86668         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
86669         ieee754/flt-32 implementation for sin, cos and sincos.
86670         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
86671         * sysdeps/i386/fpu/s_cosf.S: Likewise.
86672         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
86673         * sysdeps/i386/fpu/s_sinf.S: Likewise.
86674         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
86675         ieee754/flt-32 implementation for tan.
86677         * math/libm-test.inc (cos_test): Enable some large input tests for
86678         float as well
86679         (sin_test): Likewise.
86680         (sincos_test): Likewise.
86681         (tan_test): Add tests for large input.
86683         * sysdeps/i386/fpu/libm-test-ulps: Update.
86685 2012-03-15  Andreas Jaeger  <aj@suse.de>
86687         [BZ #13658]
86688         * math/libm-test.inc (cos_test): Add more test cases.
86689         (sin_test): Likewise.
86690         (sincos_test): Likewise.
86692 2012-03-15  Andreas Jaeger  <aj@suse.de>
86694         [BZ #13837]
86695         * math/libm-test.inc (cos_test): Add a test case for large input
86696         value.
86697         (sin_test): Likewise.
86698         (sincos_test): Likewise.
86700 2012-03-15  Andreas Jaeger  <aj@suse.de>
86701             Joseph Myers  <joseph@codesourcery.com>
86703         [BZ #13658]
86704         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
86705         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
86706         * sysdeps/i386/fpu/branred.c: Likewise.
86707         * sysdeps/i386/fpu/dosincos.c: Likewise.
86708         * sysdeps/i386/fpu/mpa.c: Likewise.
86709         * sysdeps/i386/fpu/s_cos.S: Likewise.
86710         * sysdeps/i386/fpu/s_sin.S: Likewise.
86711         * sysdeps/i386/fpu/s_sincos.S: Likewise.
86712         * sysdeps/i386/fpu/sincos32.c: Likewise.
86714         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
86715         Define.
86716         (libc_feupdateenv_53bit): Define.
86717         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
86718         Define.
86719         (libc_feupdateenv_53bit): Define.
86721         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
86722         53 bit (without extend i386 double precision).
86724         * math/libm-test.inc (sincos_test): Add tests for large input.
86725         (sin): Likewise.
86726         (cos): Likewise.
86728         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
86730 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
86732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86734 2012-03-15  David S. Miller  <davem@davemloft.net>
86736         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
86737         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
86738         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
86739         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
86740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
86741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
86742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
86743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
86744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
86745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
86746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
86747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
86748         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
86749         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
86750         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
86751         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
86752         file.
86753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
86754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
86755         file.
86756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
86757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
86758         file.
86759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
86760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
86761         file.
86762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
86763         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
86764         fmin/fmax sysdep routines.
86765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
86767 2012-03-14  David S. Miller  <davem@davemloft.net>
86769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
86770         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
86771         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
86772         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
86773         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
86774         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
86775         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
86776         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
86777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
86778         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
86779         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
86780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
86781         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
86782         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
86783         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
86784         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
86785         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
86786         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
86787         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
86788         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
86789         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
86790         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
86791         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
86792         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
86793         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
86794         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
86795         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
86796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
86797         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
86798         routines.
86799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
86800         file.
86801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
86802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
86803         file.
86804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
86805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
86806         file.
86807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
86808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
86809         file.
86810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
86811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
86812         file.
86813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
86814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
86815         file.
86816         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
86817         file.
86818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
86819         file.
86820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
86821         file.
86822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
86823         New file.
86824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
86825         file.
86826         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
86827         file.
86828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
86829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
86830         file.
86831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
86832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
86833         file.
86834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
86835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
86836         file.
86837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
86838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
86839         VIS3 routines.
86841         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
86842         New file.
86844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86846         * sysdeps/sparc/configure.in: New file.
86847         * sysdeps/sparc/configure: Generate.
86848         * configure.in (libc_cv_sparc_as_vis3): Substitute.
86849         * configure: Regenerate.
86850         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
86851         * config.make.in (have-as-vis3): New.
86852         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
86853         available use -Av9d instead of -Av9a.
86854         * sysdeps/sparc/sparc64/Makefile: Likewise.
86855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
86856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
86857         New file.
86858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86859         file.
86860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86861         New file.
86862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86863         file.
86864         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86865         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86866         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86867         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86868         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86870         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86871         fzeros/fnegs to load 0x80000000 into a float register instead of
86872         using the stack.
86873         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86875 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86877         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86878         bits/syscall.h.
86879         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86880         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86881         ($(inst_includedir)/bits/syscall.h): Remove rule.
86882         ($(objpfx)bits/syscall.d): Include instead of
86883         $(objpfx)syscall-list.d.
86884         (generated): Change syscall-list.h and syscall-list.d to
86885         bits/syscall.h and bits/syscall.d.
86887 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86889         [BZ #13846]
86890         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86892 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86894         [BZ #13841]
86895         * math/s_csqrt.c: Include <float.h>.
86896         (__csqrt): Scale large or subnormal inputs.
86897         * math/s_csqrtf.c: Likewise.
86898         * math/s_csqrtl.c: Likewise.
86899         * math/libm-test.inc (csqrt_test): Add more tests.
86900         * sysdeps/i386/fpu/libm-test-ulps: Update.
86901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86903         [BZ #13840]
86904         * math/libm-test.inc (hypot_test): Add more tests.
86906 2012-03-13  David S. Miller  <davem@davemloft.net>
86908         [BZ #13840]
86909         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86910         double-precision for the calculation instead of scaling.
86912 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86914         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86915         manipulate bits before adding and subtracting TWO52[sx].
86916         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86917         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86918         Likewise.
86919         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86921 2012-03-13  David S. Miller  <davem@davemloft.net>
86923         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86924         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86925         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86926         rtld-global-offsets.h
86927         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86929         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86930         large parameters.
86932         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86934         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86935         'err' in the ifdef scope in which it is actually used.
86937         * nss/nss_db/db-init.c: Include string.h
86939 2012-03-12  David S. Miller  <davem@davemloft.net>
86941         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86942         masking out of the most significant byte of random value used.
86943         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86944         Fix coding style in previous change.
86946         * sysdeps/unix/sysv/linux/kernel-features.h
86947         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86948         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86949         expression.
86950         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86951         later.
86953 2012-03-11  David S. Miller  <davem@davemloft.net>
86955         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86956         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86957         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86958         for 'resultvar' otherwise things get truncated on 64-bit.
86960         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86961         Fix masking out of the most significant byte of random value used.
86963         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86965 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86969 2012-03-09  David S. Miller  <davem@davemloft.net>
86971         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86972         variables with appropriate CPP guards.
86973         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86974         from the frame pointer, not the stack pointer.  Correct layout
86975         comments.  Fix test on resulting framesize and the management of
86976         the outregs buffer for pltexit.  Preserve floating point return
86977         values across _dl_call_pltexit call.
86978         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86979         framesize and the management of the outregs buffer for pltexit.
86980         Preserve floating point return values across _dl_call_pltexit
86981         call.
86982         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86983         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86984         (la_sparc64_gnu_pltexit): New functions.
86985         (print_exit): Fix format string for return register value.
86987 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86989         * sunrpc/Makefile (others): Add rpcgen.
86990         ($(objpfx)rpcgen): Remove special build rule and dependency on
86991         libc.
86992         * sunrpc/rpcgen.c: New file.
86994 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86996         [BZ #13673]
86997         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86998         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86999         * sysdeps/i386/crti.S: Likewise.
87000         * sysdeps/i386/crtn.S: Likewise.
87001         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
87002         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
87003         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
87004         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
87005         * sysdeps/sh/crti.S: Likewise.
87006         * sysdeps/sh/crtn.S: Likewise.
87007         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
87009         [BZ #13673]
87010         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
87011         with URL.
87012         * locale/programs/locfile-kw.gperf: Likewise.
87013         * locale/programs/charmap-kw.h: Regenerated.
87014         * locale/programs/locfile-kw.h: Likewise.
87016         [BZ #13673]
87017         * intl/plural.y: Replace FSF snail mail address with URL.
87018         * intl/plural.c: Regenerated.
87020 2012-03-09  Richard Henderson  <rth@twiddle.net>
87022         * include/math_private.h: Remove file.
87023         * math/math_private.h: Move file ...
87024         * sysdeps/generic/math_private.h: ... here.
87026         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
87027         * sysdeps/powerpc/fpu/math_private.h: Likewise.
87028         * sysdeps/x86_64/fpu/math_private.h: Likewise.
87030         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
87031         and <math_private.h>.
87032         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
87033         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
87034         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
87035         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
87036         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
87037         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
87038         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87039         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87040         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
87041         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87042         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87043         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87044         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
87045         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87046         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
87047         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
87048         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87049         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
87050         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
87051         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
87052         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87053         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
87054         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
87055         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87056         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
87057         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
87058         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
87059         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87060         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87061         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
87062         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
87063         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87064         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
87065         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87066         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
87067         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
87068         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87069         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
87070         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
87071         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87072         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
87073         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
87074         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
87075         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
87076         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
87077         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
87078         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
87079         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
87080         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87081         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
87082         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
87083         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
87084         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
87085         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
87086         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
87087         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
87088         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87089         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
87090         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
87091         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
87092         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87093         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
87094         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87095         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
87096         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
87097         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87098         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87099         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87100         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
87101         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
87102         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
87103         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87104         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
87105         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87106         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
87107         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
87108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
87109         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
87110         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
87111         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
87112         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
87113         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
87114         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
87115         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
87116         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87117         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
87118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
87119         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
87120         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
87121         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
87122         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
87123         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
87124         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87125         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
87126         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
87127         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
87128         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87129         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
87130         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
87131         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
87132         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
87133         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
87134         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
87135         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
87136         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
87137         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
87138         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
87139         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
87140         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
87141         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
87142         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
87143         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
87144         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
87145         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
87146         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
87147         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87148         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
87149         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
87150         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
87151         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87152         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
87153         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
87154         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87155         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
87156         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
87157         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
87158         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
87159         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
87160         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
87161         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
87162         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
87163         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87164         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
87165         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
87166         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
87167         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
87168         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87169         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
87170         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
87171         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
87172         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87173         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
87174         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
87175         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
87176         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
87177         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
87178         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
87179         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
87180         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
87181         * sysdeps/ieee754/k_standard.c: Likewise.
87182         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
87183         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
87184         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
87185         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
87186         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
87187         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
87188         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
87189         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
87190         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
87191         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
87192         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
87193         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
87194         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
87195         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
87196         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
87197         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
87198         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
87199         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
87200         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
87201         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
87202         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
87203         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
87204         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
87205         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
87206         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
87207         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
87208         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
87209         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
87210         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
87211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
87212         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
87213         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
87214         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
87215         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
87216         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
87217         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
87218         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
87219         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
87220         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
87221         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
87222         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
87223         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
87224         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
87225         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
87226         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
87227         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
87228         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
87229         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
87230         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
87231         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
87232         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
87233         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
87234         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
87235         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
87236         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
87237         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
87238         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
87239         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
87240         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
87241         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
87242         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
87243         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
87244         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
87245         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
87246         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
87247         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
87248         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
87249         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
87250         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
87251         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
87252         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
87253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
87254         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
87255         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
87256         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
87257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
87258         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
87259         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
87260         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87261         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
87262         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
87263         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
87264         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
87265         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
87266         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
87267         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
87268         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
87269         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
87270         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
87271         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
87272         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
87273         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
87274         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
87275         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
87276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
87277         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
87278         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
87279         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
87280         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
87281         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
87282         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
87283         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
87284         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
87285         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
87286         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
87287         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
87288         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
87289         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
87290         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
87291         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
87292         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
87293         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
87294         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
87295         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
87296         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
87297         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87298         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
87299         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
87300         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87301         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
87302         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
87303         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
87304         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
87305         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
87306         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
87307         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
87308         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
87309         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
87310         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
87311         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
87312         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
87313         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
87314         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
87315         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
87316         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
87317         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
87318         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
87319         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
87320         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
87321         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
87322         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
87323         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
87324         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
87325         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
87326         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
87327         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
87328         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
87329         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
87330         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
87331         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
87332         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
87333         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87334         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
87335         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
87336         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
87337         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
87338         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
87339         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
87340         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
87341         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
87342         * sysdeps/ieee754/s_lib_version.c: Likewise.
87343         * sysdeps/ieee754/s_matherr.c: Likewise.
87344         * sysdeps/ieee754/s_signgam.c: Likewise.
87345         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
87346         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
87347         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
87348         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
87349         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
87350         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
87351         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
87352         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
87353         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
87354         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
87355         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
87356         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
87357         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
87358         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
87359         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
87360         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
87361         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
87362         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
87363         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
87364         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
87365         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
87367 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87369         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
87370         * sunrpc/rpc_main.c: Likewise.
87371         * sunrpc/rpc_svcout.c: Likewise.
87373 2012-03-09  David S. Miller  <davem@davemloft.net>
87375         * include/math_private.h: New file.
87377 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
87379         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
87380         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
87381         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
87382         from <bits/socket_type.h>.
87383         (enum __socket_type): Don't define here.
87384         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
87385         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87386         bits/socket_type.h.
87388         [BZ #13566]
87389         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
87390         checking __USE_GNU.
87392         * Makerules ($(inst_includedir)/%.h): New rule.
87393         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
87394         (install-others): Remove variable setting.
87395         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
87397 2012-03-08  Richard Henderson  <rth@twiddle.net>
87399         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
87400         from macro to inline function; merge with the
87401         !__LIBC_INTERNAL_MATH_INLINES version.
87402         (__ieee754_sqrtf): Likewise.
87404         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
87405         to inline function.
87406         (__rintf, __floor, __floorf): Likewise.
87408         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
87409         macro to inline function.
87410         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
87412         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
87413         not <math/math_private.h>.
87415 2012-03-08  David S. Miller  <davem@davemloft.net>
87417         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
87418         copyright year.
87419         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
87421 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
87423         * resolv/gai_misc.c (handle_requests): Fix struct timespec
87424         normalization.
87425         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
87426         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
87428 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
87430         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
87431         be defined individually, they must be defined as a block.  Define
87432         S for printing a string instead of hidint the different by using a
87433         macro for adding the 'l'.
87434         * stdio-common/tst-fphex-wide.c: Adjust.
87436 2012-03-07  Marek Polacek  <polacek@redhat.com>
87438         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
87440 2012-03-08  Marek Polacek  <polacek@redhat.com>
87442         [BZ #13806]
87443         * stdio-common/Makefile (tests): Add tst-fphex-wide.
87444         * stdio-common/tst-fphex.c: Define a few macros to make the
87445         test reusable.  Use them.
87446         * stdio-common/tst-fphex-wide.c: New file.
87448 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
87450         [BZ #6911]
87451         * manual/macros.texi (gnusystems): New macro.
87452         (nongnusystems): Likewise.
87453         (gnulinuxhurdsystems): Likewise.
87454         (gnuhurdsystems): Likewise..
87455         (gnulinuxsystems): Likewise.
87456         * manual/charset.texi: Use new macros or @theglibc{} to refer to
87457         variants of the GNU system, not "GNU system".
87458         * manual/conf.texi: Likewise.
87459         * manual/errno.texi: Likewise.  Update example of errno macro
87460         expansion.
87461         * manual/filesys.texi: Likewise.
87462         (getumask): Document as specific to GNU/Hurd.
87463         * manual/install.texi: Likewise.  Reword some references to
87464         GNU/Linux.
87465         * manual/intro.texi: Likewise.
87466         * manual/io.texi: Likewise.
87467         (File Name Portability): Detail which constraints are inapplicable
87468         to all GNU systems and which are only inapplicable to GNU/Hurd.
87469         * manual/job.texi: Likewise.
87470         * manual/llio.texi: Likewise.
87471         (O_NOCTTY): Document as present on GNU/Linux.
87472         * manual/maint.texi: Likewise.
87473         * manual/memory.texi: Likewise.
87474         * manual/pattern.texi: Likewise.
87475         * manual/pipe.texi: Likewise.
87476         * manual/process.texi: Likewise.
87477         * manual/resource.texi: Likewise.
87478         (RUSAGE_CHILDREN): Remove statement about specifying a particular
87479         child on GNU/Hurd.
87480         * manual/setjmp.texi: Likewise.
87481         * manual/signal.texi: Likewise.
87482         * manual/startup.texi: Likewise.
87483         * manual/stdio.texi: Likewise.
87484         * manual/terminal.texi: Likewise.
87485         (ONLCR): Document as POSIX.
87486         (OXTABS): Document availability on GNU/Linux as XTABS.
87487         (ONOEOT): Document availability separately from other bits.
87488         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
87489         * manual/time.texi: Likewise.
87490         * manual/users.texi: Likewise.
87491         * INSTALL: Regenerated.
87492         * sysdeps/gnu/errlist.c: Regenerated.
87494         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
87495         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
87496         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
87497         puts.
87498         * configure: Regenerated.
87500 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
87502         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
87503         default includes instead of AC_HEADER_CHECK.
87504         * sysdeps/i386/configure: Regenerated.
87506         [BZ #10716]
87507         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
87508         * math/s_cacoshf.c (__cacoshf): Likewise.
87509         * math/s_cacoshl.c (__cacoshl): Likewise.
87510         * math/s_casinh.c (__casinh): Set signs of result from argument.
87511         * math/s_casinhf.c (__casinhf): Likewise.
87512         * math/s_casinhl.c (__casinhl): Likewise.
87513         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
87514         (casinh_test): Add more tests.
87515         * sysdeps/i386/fpu/libm-test-ulps: Update.
87516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87518 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
87520         * po/zh_TW.po: Update from translation team.
87522         * login/Makefile (distribute): Remove variable.
87523         * catgets/Makefile: Likewise.
87524         * mach/Makefile: Likewise.
87525         * malloc/Makefile: Likewise.
87526         * misc/Makefile: Likewise.
87527         * iconv/Makefile: Likewise.
87528         * nscd/Makefile: Likewise.
87529         * hurd/Makefile: Likewise.
87530         * manual/Makefile: Likewise.
87531         * locale/Makefile: Likewise.
87532         * intl/Makefile: Likewise.
87533         * conform/Makefile: Likewise.
87534         * nss/Makefile: Likewise.
87535         * time/Makefile: Likewise.
87536         * soft-fp/Makefile: Likewise.
87537         * dirent/Makefile: Likewise.
87538         * gmon/Makefile: Likewise.
87539         * po/Makefile: Likewise.
87540         * rt/Makefile: Likewise.
87541         * socket/Makefile: Likewise.
87542         * math/Makefile: Likewise.
87543         * signal/Makefile: Likewise.
87544         * debug/Makefile: Likewise.
87545         * elf/Makefile: Likewise.
87546         * timezone/Makefile: Likewise.
87547         * stdlib/Makefile: Likewise.
87548         * iconvdata/Makefile: Likewise.
87549         * sunrpc/Makefile: Likewise.
87550         * io/Makefile: Likewise.
87551         * argp/Makefile: Likewise.
87552         * inet/Makefile: Likewise.
87553         * hesiod/Makefile: Likewise.
87554         * grp/Makefile: Likewise.
87555         * csu/Makefile: Likewise.
87556         * wctype/Makefile: Likewise.
87557         * crypt/Makefile: Likewise.
87558         * libio/Makefile: Likewise.
87559         * string/Makefile: Likewise.
87560         * nis/Makefile: Likewise.
87561         * resolv/Makefile: Likewise.
87562         * stdio-common/Makefile: Likewise.
87563         * wcsmbs/Makefile: Likewise.
87564         * dlfcn/Makefile: Likewise.
87565         * posix/Makefile: Likewise.
87567         [BZ #6959]
87568         * timezone/Makefile: Don't install timezone files, just the programs
87569         and scripts.
87571 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
87573         * nss/databases.def: Add missing gshadow entry.
87575         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
87577 2012-03-06  Marek Polacek  <polacek@redhat.com>
87579         [BZ #13726]
87580         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
87581         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
87582         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
87583         * stdio-common/tst-long-dbl-fphex.c: New file.
87585 2012-03-06  David S. Miller  <davem@davemloft.net>
87587         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
87588         (set_obp_int): New function.
87589         (get_obp_int): New function.
87590         (__get_clockfreq_via_dev_openprom): Likewise.
87591         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
87592         Avoid unused variable warnings on 'val' and use builtin_expect.
87593         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
87594         __builtin_expect.
87595         (INLINE_CLONE_SYSCALL): Likewise.
87597 2012-03-05  David S. Miller  <davem@davemloft.net>
87599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87601 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
87603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87605         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
87606         only for |x| >= 40.
87607         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
87609 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
87611         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
87612         Replace gettimeofday with __vdso_gettimeofday.
87614         * sysdeps/unix/sysv/linux/x86_64/init-first.c
87615         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
87616         __vdso_clock_gettime and __vdso_getcpu.
87618         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
87619         time with __vdso_time.
87621 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87623         * manual/lang.texi (size_t): Note types to which size_t may be
87624         equivalent with the GNU C Library, but do not describe when
87625         differences between them are significant.
87627 2012-03-05  Andreas Jaeger  <aj@suse.de>
87629         * sysdeps/i386/fpu/libm-test-ulps: Update.
87631 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
87633         [BZ #3976]
87634         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
87635         (__ieee754_pow): Save and restore rounding mode and use
87636         round-to-nearest for main computations.
87637         * math/libm-test.inc (pow_test_tonearest): New function.
87638         (pow_test_towardzero): Likewise.
87639         (pow_test_downward): Likewise.
87640         (pow_test_upward): Likewise.
87641         (main): Call the new functions.
87642         * sysdeps/i386/fpu/libm-test-ulps: Update.
87643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87645         [BZ #3976]
87646         * math/libm-test.inc (cosh_test_tonearest): New function.
87647         (cosh_test_towardzero): Likewise.
87648         (cosh_test_downward): Likewise.
87649         (cosh_test_upward): Likewise.
87650         (sinh_test_tonearest): Likewise.
87651         (sinh_test_towardzero): Likewise.
87652         (sinh_test_downward): Likewise.
87653         (sinh_test_upward): Likewise.
87654         (main): Call the new functions.
87655         * sysdeps/i386/fpu/libm-test-ulps: Update.
87656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87658 2012-03-05  Tom de Vries  <tom@codesourcery.com>
87660         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
87661         default stack guard is set in last bytes.
87662         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
87664 2012-03-05  Kees Cook  <keescook@chromium.org>
87666         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
87668         [BZ #13656]
87669         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
87670         possibly allocate from heap instead of stack.
87671         * stdio-common/bug-vfprintf-nargs.c: New file.
87672         * stdio-common/Makefile (tests): Add nargs overflow test.
87674 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
87676         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
87678 2012-03-03  Marek Polacek  <polacek@redhat.com>
87680         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
87681         * math/math_private.h: Likewise.
87682         * stdlib/tst-strtod.c: Likewise.
87683         * sysdeps/i386/i486/bits/atomic.h: Likewise.
87684         * sysdeps/x86_64/bits/atomic.h: Likewise.
87686 2012-03-02  David S. Miller  <davem@davemloft.net>
87688         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
87689         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
87690         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
87691         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
87692         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
87693         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
87694         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
87695         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
87697 2012-03-02  Roland McGrath  <roland@hack.frob.com>
87699         [BZ #13792]
87700         * manual/examples/README: New file, says the example source files
87701         can be used under GPL>=2.
87702         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
87703         line containing just "*/".
87704         * manual/examples/add.c: Add copyright header (GPL>=2).
87705         * manual/examples/argp-ex1.c: Likewise.
87706         * manual/examples/argp-ex2.c: Likewise.
87707         * manual/examples/argp-ex3.c: Likewise.
87708         * manual/examples/argp-ex4.c: Likewise.
87709         * manual/examples/atexit.c: Likewise.
87710         * manual/examples/db.c: Likewise.
87711         * manual/examples/dir.c: Likewise.
87712         * manual/examples/dir2.c: Likewise.
87713         * manual/examples/execinfo.c: Likewise.
87714         * manual/examples/filecli.c: Likewise.
87715         * manual/examples/filesrv.c: Likewise.
87716         * manual/examples/fmtmsgexpl.c: Likewise.
87717         * manual/examples/genpass.c: Likewise.
87718         * manual/examples/inetcli.c: Likewise.
87719         * manual/examples/inetsrv.c: Likewise.
87720         * manual/examples/isockad.c: Likewise.
87721         * manual/examples/longopt.c: Likewise.
87722         * manual/examples/memopen.c: Likewise.
87723         * manual/examples/memstrm.c: Likewise.
87724         * manual/examples/mkfsock.c: Likewise.
87725         * manual/examples/mkisock.c: Likewise.
87726         * manual/examples/mygetpass.c: Likewise.
87727         * manual/examples/pipe.c: Likewise.
87728         * manual/examples/popen.c: Likewise.
87729         * manual/examples/rprintf.c: Likewise.
87730         * manual/examples/search.c: Likewise.
87731         * manual/examples/select.c: Likewise.
87732         * manual/examples/setjmp.c: Likewise.
87733         * manual/examples/sigh1.c: Likewise.
87734         * manual/examples/sigusr.c: Likewise.
87735         * manual/examples/stpcpy.c: Likewise.
87736         * manual/examples/strdupa.c: Likewise.
87737         * manual/examples/strftim.c: Likewise.
87738         * manual/examples/strncat.c: Likewise.
87739         * manual/examples/subopt.c: Likewise.
87740         * manual/examples/swapcontext.c: Likewise.
87741         * manual/examples/termios.c: Likewise.
87742         * manual/examples/testopt.c: Likewise.
87743         * manual/examples/testpass.c: Likewise.
87744         * manual/examples/timeval_subtract.c: Likewise.
87746         [BZ #13792]
87747         * manual/time.texi (Elapsed Time): Move timeval_subtract example
87748         function to ...
87749         * manual/timeval_subtract.c.texi: ... here, new file.
87751 2012-03-02  David S. Miller  <davem@davemloft.net>
87753         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
87755 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
87757         [BZ #3976]
87758         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
87759         (__sin): Save and restore rounding mode and use round-to-nearest
87760         for all computations.
87761         (__cos): Save and restore rounding mode and use round-to-nearest
87762         for all computations.
87763         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
87764         <fenv.h>.
87765         (tan): Save and restore rounding mode and use round-to-nearest for
87766         all computations.
87767         * math/libm-test.inc (cos_test_tonearest): New function.
87768         (cos_test_towardzero): Likewise.
87769         (cos_test_downward): Likewise.
87770         (cos_test_upward): Likewise.
87771         (sin_test_tonearest): Likewise.
87772         (sin_test_towardzero): Likewise.
87773         (sin_test_downward): Likewise.
87774         (sin_test_upward): Likewise.
87775         (tan_test_tonearest): Likewise.
87776         (tan_test_towardzero): Likewise.
87777         (tan_test_downward): Likewise.
87778         (tan_test_upward): Likewise.
87779         (main): Call the new functions.
87780         * sysdeps/i386/fpu/libm-test-ulps: Update.
87781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87783         [BZ #10135]
87784         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
87785         small n, then large n, before computing and testing k+n.
87786         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
87787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
87788         Likewise.
87789         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
87790         Likewise.
87791         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
87792         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
87793         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
87794         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
87795         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
87796         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
87797         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
87798         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
87799         * math/libm-test.inc (scalbn_test): Add more tests.
87800         (scalbln_test): Likewise.
87802         * manual/filesys.texi (mode_t): Describe constraints on size and
87803         signedness, not exact equivalence to a particular type.
87804         (ino_t): Likewise.
87805         (ino64_t): Likewise.
87806         (dev_t): Likewise.
87807         (nlink_t): Likewise.
87808         (blkcnt_t): Likewise.
87809         (blkcnt64_t): Likewise.
87810         * manual/llio.texi (off_t): Likewise.
87812         [BZ #3976]
87813         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
87814         (__ieee754_exp): Save and restore rounding mode and use
87815         round-to-nearest for all computations.
87816         * math/libm-test.inc (exp_test_tonearest): New function.
87817         (exp_test_towardzero): Likewise.
87818         (exp_test_downward): Likewise.
87819         (exp_test_upward): Likewise.
87820         (main): Call the new functions.
87821         * sysdeps/i386/fpu/libm-test-ulps: Update.
87822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87824 2012-03-01  Chris Demetriou  <cgd@google.com>
87826         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
87827         have predictable order.
87829 2012-03-01  David S. Miller  <davem@davemloft.net>
87831         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
87833         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
87834         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
87835         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
87836         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
87838         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
87839         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
87840         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
87841         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
87842         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
87843         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
87844         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
87845         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
87846         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
87848         * sysdeps/sparc/fpu/libm-test-ulps: Update.
87850         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
87851         * sysdeps/sparc/fpu/libm-test-ulps: to here.
87852         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
87854         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
87855         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
87856         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87857         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87858         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87859         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87860         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87861         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87862         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87863         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87864         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87865         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87866         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87867         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87868         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87869         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87870         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87871         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87872         * sysdeps/sparc/elf/configure: Regenerated.
87874 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87876         * configure.in (AS, LD): Require binutils 2.20 or later.
87877         * configure: Regenerated.
87878         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87879         as required minimum version.
87880         * INSTALL: Regenerated.
87882         [BZ #2541]
87883         [BZ #4108]
87884         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87885         before squaring exponent.
87886         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87887         bottom long double and 27 bits of top long double before squaring
87888         exponent.
87889         * math/libm-test.inc (erfc_test): Add more tests.
87890         * sysdeps/i386/fpu/libm-test-ulps: Update.
87891         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87894 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87896         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87897         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87898         containing bit-fields.
87899         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87900         * soft-fp/single.h (_FP_UNION_S): Likewise.
87901         * soft-fp/double.h (_FP_UNION_D): Likewise.
87903 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87905         [BZ #13786]
87906         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87907         not include ../strcmp.S.
87908         [USE_AS_STRNCASECMP_L]: Likewise.
87909         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87910         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87911         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87912         (__strncasecmp_l_ia32): Define as alias to
87913         __strncasecmp_l_nonascii.
87915         [BZ #5794]
87916         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87917         * sysdeps/i386/fpu/libm-test-ulps: Update.
87918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87920         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87923 2012-02-29  Jeff Law  <law@redhat.com>
87925         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87926         out of bounds read.
87928 2012-02-29  Marek Polacek  <polacek@redhat.com>
87930         [BZ #13706]
87931         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87932         * elf/Makefile: Add rules to run tst-unused-dep.out.
87934 2012-02-28  David S. Miller  <davem@davemloft.net>
87936         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87937         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87938         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87939         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87940         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87941         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87943 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87945         * math/libm-test.inc (llround_test): Move one test from
87946         lround_test.  Use TEST_f_L in moved test.
87947         (lround_test): Move misplaced test to llround_test.  Add testcase
87948         from bug 2561.
87950 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87952         * sysdeps/x86_64/fpu/e_expf.S: New file.
87953         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87955 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87957         [BZ #13637]
87958         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87959         of remain_len that may cause incomplete multi-byte character and
87960         false match.
87961         * posix/bug-regex33.c: New file.
87962         * posix/Makefile (tests): Add bug-regex33.
87964 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87966         * manual/macros.texi: New file.
87967         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87968         * manual/libc.texinfo: Include macros.texi.
87969         * manual/creatute.texi: Likewise.
87970         * manual/install.texi: Likewise.
87971         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87972         @glibcadj{} in references to the GNU C Library.
87973         * manual/charset.texi: Likewise.
87974         * manual/conf.texi: Likewise.
87975         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87976         when not using those macros.
87977         * manual/creature.texi: Likewise.
87978         * manual/crypt.texi: Likewise.
87979         * manual/errno.texi: Likewise.
87980         * manual/filesys.texi: Likewise.
87981         * manual/header.texi: Likewise.
87982         * manual/install.texi: Likewise.
87983         * manual/intro.texi: Likewise.
87984         * manual/io.texi: Likewise.
87985         * manual/job.texi: Likewise.
87986         * manual/lang.texi: Likewise.
87987         * manual/libc.texiinfo: Likewise.
87988         * manual/llio.texi: Likewise.
87989         * manual/locale.texi: Likewise.
87990         * manual/maint.texi: Likewise.
87991         * manual/math.texi: Likewise.
87992         * manual/memory.texi: Likewise.
87993         * manual/message.texi: Likewise.
87994         * manual/nss.texi: Likewise.
87995         * manual/pattern.texi: Likewise.
87996         * manual/process.texi: Likewise.
87997         * manual/resource.texi: Likewise.
87998         * manual/search.texi: Likewise.
87999         * manual/setjmp.texi: Likewise.
88000         * manual/signal.texi: Likewise.
88001         * manual/socket.texi: Likewise.
88002         * manual/startup.texi: Likewise.
88003         * manual/stdio.texi: Likewise.
88004         * manual/string.texi: Likewise.
88005         * manual/sysinfo.texi: Likewise.
88006         * manual/syslog.texi: Likewise.
88007         * manual/terminal.texi: Likewise.
88008         * manual/time.texi: Likewise.
88009         * manual/users.texi: Likewise.
88010         * INSTALL: Regenerated.
88011         * NOTES: Regenerated.
88012         * sysdeps/gnu/errlist.c: Regenerated.
88014 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
88016         * include/dirent.h: Include <dirstream.h> before
88017         <dirent/dirent.h>.
88019 2012-02-28  David S. Miller  <davem@davemloft.net>
88021         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
88022         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
88023         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
88024         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
88026 2012-02-27  David S. Miller  <davem@davemloft.net>
88028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
88029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
88030         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
88031         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
88033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
88034         frame pointer instead of stack pointer relative arg slot.
88035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88036         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88037         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88039 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
88041         [BZ #3992]
88042         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
88044 2012-02-27  David S. Miller  <davem@davemloft.net>
88046         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
88047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
88048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
88049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
88050         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
88051         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
88052         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
88053         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
88055 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
88057         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
88058         later.  Allow versions 5-9.
88059         * configure: Regenerated.
88060         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
88061         required minimum version and 4.6 as recommended version.  Do not
88062         mention bugs in GCC 2.7 and 2.8.
88063         * INSTALL: Regenerated.
88065 2012-02-27  David S. Miller  <davem@davemloft.net>
88067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
88068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
88069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
88070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
88071         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
88072         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
88073         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
88074         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
88076         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
88077         manipulate bits before adding and subtracting TWO112[sx].
88078         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
88080 2012-02-27  Roland McGrath  <roland@hack.frob.com>
88082         [BZ #13775]
88083         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
88084         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
88085         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
88086         being in POSIX, because they are in 1003.1-2008.
88088         * rt/tst-aio.c: Include <fcntl.h>.
88089         * rt/tst-aio7.c: Likewise.
88090         * rt/tst-aio64.c: Likewise.
88092         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
88094 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
88096         * manual/install.texi (--with-headers): Describe headers as
88097         interface headers, not private headers.
88098         (Specific advice for GNU/Linux systems): Describe use of headers
88099         from "make headers_install", not private headers from older
88100         kernels.
88101         * INSTALL: Regenerated.
88102         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
88103         Change to 2.6.19.
88104         * sysdeps/unix/sysv/linux/configure: Regenerated.
88106         * manual/llio.texi (fclean): Remove documentation.
88108         * manual/Makefile (libc-texi-generated): New variable.  Include
88109         version.texi.
88110         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
88111         $(libc-texi-generated), not duplicated list of files.
88112         (version.texi, stamp-version): New rules.
88113         (realclean): Remove $(libc-texi-generated), not individual files
88114         from that list.  Do not remove dir-add.texinfo.
88115         * manual/libc.texinfo: Comment out uses of edition numbers and
88116         references to printed manual.  Remove last-updated dates.
88117         (EDITION): Comment out.
88118         (ISBN): Likewise.
88119         (VERSION, UPDATED): Remove.
88120         (version.texi): Include.
88122 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
88124         * sysdeps/posix/spawni.c: Include <signal.h>.
88125         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
88126         * sysdeps/pthread/aio_fsync.c: Likewise.
88128 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
88130         * conform/Makefile (tests): Run only when not cross-compiling and
88131         when fast-check is not defined.
88133         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
88134         * conform/data/limits.h-data: Fixes for POSIX2008.
88135         * conform/run-conformtest.sh: Run all tests.
88136         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
88137         headers.
88138         * include/bits/dlfcn.h: Likewise.
88139         * include/langinfo.h: Likewise.
88140         * include/monetary.h: Likewise.
88141         * include/sys/poll.h: Likewise.
88143         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
88144         for __USE_GNU.
88145         * posix/spawn.h: Define __need_sigset_t.
88146         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
88147         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
88148         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
88149         to get sigevent_t only.
88150         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
88151         only for __USE_GNU.
88152         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88153         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
88154         process_vm_writev only for __USE_GNU.
88155         * termios/termios.h: Declare tcgetsid also for POSIX2008.
88157         * conform/Makefile: For now ignore errors from run-conformtest.
88158         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
88159         POSIX to avoid namespace pollution.  Don't prepend headers.
88160         * conform/data/aio.h-data: Fixes for POSIX testing.
88161         * conform/data/fcntl.h-data: Likewise.
88162         * conform/data/glob.h-data: Likewise.
88163         * conform/data/grp.h-data: Likewise.
88164         * conform/data/pthread.h-data: Likewise.
88165         * conform/data/pwd.h-data: Likewise.
88166         * conform/data/signal.h-data: Likewise.
88167         * conform/data/spawn.h-data: Likewise.
88168         * conform/data/stdio.h-data: Likewise.
88169         * conform/data/stdlib.h-data: Likewise.
88170         * conform/data/stropts.h-data: Likewise.
88171         * conform/data/sys/mman.h-data: Likewise.
88172         * conform/data/sys/stat.h-data: Likewise.
88173         * conform/data/sys/types.h-data: Likewise.
88174         * conform/data/sys/wait.h-data: Likewise.
88175         * conform/data/time.h-data: Likewise.
88176         * conform/data/unistd.h-data: Likewise.
88177         * conform/data/utime.h-data: Likewise.
88179         * io/sys/stat.h: fchmod was always in POSIX.
88180         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
88181         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
88182         * rt/aio.h: Define __need_timespec before including <time.h>.
88183         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
88184         struct.  Add forward declaration of pthread_attr_t and use it in
88185         sigevent.
88186         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
88187         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
88188         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
88189         always remove CLK_TCK definition.
88191 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
88193         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
88195 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
88197         * conform/run-conformtest.sh: New file.
88198         * conform/Makefile: Run run-conformtest for tests.
88199         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
88200         support.
88202         * conform/data/uchar.h-data: New file.
88203         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
88204         * conform/data/arpa/inet.h-data: Likewise.
88205         * conform/data/assert.h-data: Likewise.
88206         * conform/data/complex.h-data: Likewise.
88207         * conform/data/cpio.h-data: Likewise.
88208         * conform/data/ctype.h-data: Likewise.
88209         * conform/data/dirent.h-data: Likewise.
88210         * conform/data/dlfcn.h-data: Likewise.
88211         * conform/data/errno.h-data: Likewise.
88212         * conform/data/fcntl.h-data: Likewise.
88213         * conform/data/float.h-data: Likewise.
88214         * conform/data/fmtmsg.h-data: Likewise.
88215         * conform/data/fnmatch.h-data: Likewise.
88216         * conform/data/ftw.h-data: Likewise.
88217         * conform/data/glob.h-data: Likewise.
88218         * conform/data/grp.h-data: Likewise.
88219         * conform/data/iconv.h-data: Likewise.
88220         * conform/data/inttypes.h-data: Likewise.
88221         * conform/data/langinfo.h-data: Likewise.
88222         * conform/data/libgen.h-data: Likewise.
88223         * conform/data/limits.h-data: Likewise.
88224         * conform/data/locale.h-data: Likewise.
88225         * conform/data/math.h-data: Likewise.
88226         * conform/data/monetary.h-data: Likewise.
88227         * conform/data/mqueue.h-data: Likewise.
88228         * conform/data/ndbm.h-data: Likewise.
88229         * conform/data/net/if.h-data: Likewise.
88230         * conform/data/netdb.h-data: Likewise.
88231         * conform/data/netinet/in.h-data: Likewise.
88232         * conform/data/nl_types.h-data: Likewise.
88233         * conform/data/poll.h-data: Likewise.
88234         * conform/data/pthread.h-data: Likewise.
88235         * conform/data/pwd.h-data: Likewise.
88236         * conform/data/regex.h-data: Likewise.
88237         * conform/data/sched.h-data: Likewise.
88238         * conform/data/search.h-data: Likewise.
88239         * conform/data/semaphore.h-data: Likewise.
88240         * conform/data/setjmp.h-data: Likewise.
88241         * conform/data/signal.h-data: Likewise.
88242         * conform/data/spawn.h-data: Likewise.
88243         * conform/data/stdarg.h-data: Likewise.
88244         * conform/data/stdio.h-data: Likewise.
88245         * conform/data/stdlib.h-data: Likewise.
88246         * conform/data/string.h-data: Likewise.
88247         * conform/data/strings.h-data: Likewise.
88248         * conform/data/stropts.h-data: Likewise.
88249         * conform/data/sys/ipc.h-data: Likewise.
88250         * conform/data/sys/mman.h-data: Likewise.
88251         * conform/data/sys/msg.h-data: Likewise.
88252         * conform/data/sys/resource.h-data: Likewise.
88253         * conform/data/sys/select.h-data: Likewise.
88254         * conform/data/sys/sem.h-data: Likewise.
88255         * conform/data/sys/shm.h-data: Likewise.
88256         * conform/data/sys/socket.h-data: Likewise.
88257         * conform/data/sys/stat.h-data: Likewise.
88258         * conform/data/sys/statvfs.h-data: Likewise.
88259         * conform/data/sys/time.h-data: Likewise.
88260         * conform/data/sys/timeb.h-data: Likewise.
88261         * conform/data/sys/times.h-data: Likewise.
88262         * conform/data/sys/types.h-data: Likewise.
88263         * conform/data/sys/uio.h-data: Likewise.
88264         * conform/data/sys/un.h-data: Likewise.
88265         * conform/data/sys/utsname.h-data: Likewise.
88266         * conform/data/sys/wait.h-data: Likewise.
88267         * conform/data/syslog.h-data: Likewise.
88268         * conform/data/tar.h-data: Likewise.
88269         * conform/data/termios.h-data: Likewise.
88270         * conform/data/utime.h-data: Likewise.
88271         * conform/data/utmpx.h-data: Likewise.
88272         * conform/data/varargs.h-data: Likewise.
88273         * conform/data/wchar.h-data: Likewise.
88274         * conform/data/wctype.h-data: Likewise.
88275         * conform/data/wordexp.h-data: Likewise.
88277         * include/stropts.h: New file.
88278         * include/uchar.h: New file.
88279         * include/aio.h: Changes to allow conformtest.pl to use the headers.
88280         * include/assert.h: Likewise.
88281         * include/ctype.h: Likewise.
88282         * include/dirent.h: Likewise.
88283         * include/dlfcn.h: Likewise.
88284         * include/fcntl.h: Likewise.
88285         * include/fnmatch.h: Likewise.
88286         * include/glob.h: Likewise.
88287         * include/grp.h: Likewise.
88288         * include/libio.h: Likewise.
88289         * include/locale.h: Likewise.
88290         * include/math.h: Likewise.
88291         * include/net/if.h: Likewise.
88292         * include/netdb.h: Likewise.
88293         * include/netinet/in.h: Likewise.
88294         * include/pthread.h: Likewise.
88295         * include/pwd.h: Likewise.
88296         * include/regex.h: Likewise.
88297         * include/sched.h: Likewise.
88298         * include/search.h: Likewise.
88299         * include/setjmp.h: Likewise.
88300         * include/signal.h: Likewise.
88301         * include/stdio.h: Likewise.
88302         * include/stdlib.h: Likewise.
88303         * include/string.h: Likewise.
88304         * include/sys/cdefs.h: Likewise.
88305         * include/sys/mman.h: Likewise.
88306         * include/sys/msg.h: Likewise.
88307         * include/sys/resource.h: Likewise.
88308         * include/sys/select.h: Likewise.
88309         * include/sys/socket.h: Likewise.
88310         * include/sys/stat.h: Likewise.
88311         * include/sys/statvfs.h: Likewise.
88312         * include/sys/time.h: Likewise.
88313         * include/sys/times.h: Likewise.
88314         * include/sys/uio.h: Likewise.
88315         * include/sys/utsname.h: Likewise.
88316         * include/sys/wait.h: Likewise.
88317         * include/termios.h: Likewise.
88318         * include/time.h: Likewise.
88319         * include/ulimit.h: Likewise.
88320         * include/unistd.h: Likewise.
88321         * include/utime.h: Likewise.
88322         * include/wchar.h: Likewise.
88323         * include/wctype.h: Likewise.
88324         * include/wordexp.h: Likewise.
88326         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
88328         * time/time.h: TIME_UTC must be a macro.
88329         Make timespec_get available for ISO C11 only as well.
88331 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
88333         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
88334         Reported by Peng Haitao <penght@cn.fujitsu.com>.
88336 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88338         * configure.in: Use -o not -a in test for unsupported multi-arch.
88340 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88342         * manual/texinfo.tex: Update to version 2012-01-19.16.
88344 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
88346         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
88348 2012-02-24  Roland McGrath  <roland@hack.frob.com>
88350         [BZ #13738]
88351         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
88352         * manual/fdl-1.3.texi: New file.
88353         * manual/fdl-1.1.texi: File removed.
88355         [BZ #13738]
88356         * manual/libc.texinfo (FDL_VERSION): New @set.
88357         Use it for mention of FDL in cover text.
88358         (Documentation License): Use it in @include file name.
88360 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88361             Roland McGrath  <roland@hack.frob.com>
88363         [BZ #5461]
88364         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
88365         (not LONG_LONG_MAX and LONG_LONG_MIN.
88366         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
88367         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
88368         name.
88369         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
88371 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88373         [BZ #2547]
88374         [BZ #11365]
88375         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
88376         manipulate bits before adding and subtracting TWO23[sx].
88377         * math/libm-test.inc (nearbyint_test): Add more tests.
88379 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88381         [BZ #2548]
88382         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
88383         bits before adding and subtracting TWO23[sx].
88384         * math/libm-test.inc (rint_test): Add more tests.
88385         (rint_test_tonearest): Likewise.
88386         (rint_test_towardzero): Likewise.
88387         (rint_test_downward): Likewise.
88388         (rint_test_upward: Likewise.
88390 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88392         [BZ #10110]
88393         * include/stdc-predef.h: New file.  Extracted from features.h.
88394         * include/features.h: Include stdc-predef.h.
88395         * Makefile (headers): Add stdc-predef.h.
88396         * CONFORMANCE (Compiler limitations): Update.
88398 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
88400         * manual/libc.texinfo (VERSION, UPDATED): Revert.
88402 2012-02-21  David S. Miller  <davem@davemloft.net>
88404         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
88405         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88407 2012-02-20  David S. Miller  <davem@davemloft.net>
88409         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
88410         using a normal save/restore sequence, rather than allocating a
88411         dummy stack frame just to store a frame pointer and restore.
88412         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88414 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88416         * manual/install.texi: Fix stray word in line-wrapped comment.
88418 2012-02-20  David S. Miller  <davem@davemloft.net>
88420         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
88421         both binutils and gcc support GOTDATA.
88423         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
88424         "rd %pc" in the PIC register setup sequences.
88426         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
88427         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
88428         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
88429         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
88430         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
88431         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
88432         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
88433         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
88434         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
88435         (SYSCALL_ERROR_HANDLER): Likewise.
88436         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
88437         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
88438         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
88439         (SYSCALL_ERROR_HANDLER): Likewise.
88441         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
88442         (HAVE_GCC_GOTDATA): New.
88443         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
88444         relocation support in both binutils and gcc.
88445         * sysdeps/sparc/elf/configure: Regenerate.
88447         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
88448         * sysdeps/sparc/sparc32/elf/configure: Delete.
88449         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
88450         * sysdeps/sparc/sparc64/elf/configure: Delete.
88451         * sysdeps/sparc/elf/configure.in: New file.
88452         * sysdeps/sparc/elf/configure: Generate.
88454         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
88455         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
88456         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88457         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
88458         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
88460 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88462         * manual/install.texi: Do not mention specific glibc version
88463         numbers.
88464         * manual/libc.texinfo (VERSION, UPDATED): Update.
88465         (@copying): Use @copyright{} and range of years.
88467 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
88469         [BZ #13695]
88470         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
88471         [crti.S not in sysdirs] (generated): Do not append.
88472         [crti.S not in sysdirs] (omit-deps): Likewise.
88473         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
88474         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
88475         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
88476         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
88477         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
88478         Likewise.
88479         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
88480         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
88481         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
88482         * csu/defs.awk: Remove file.
88483         * sysdeps/generic/initfini.c: Likewise.
88484         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
88485         variable.
88486         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
88487         Likewise.
88489 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88491         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
88492         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
88493         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
88494         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
88495         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88496         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
88497         <bits/epoll.h>.
88498         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
88499         (__EPOLL_PACKED): Define to empty if not defined by
88500         <bits/epoll.h>.
88501         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
88502         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88503         bits/epoll.h.
88505 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88507         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
88508         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
88509         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
88510         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
88511         <bits/timerfd.h>.
88512         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
88513         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88514         bits/timerfd.h.
88516 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
88518         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
88519         in C locale.
88520         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
88521         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
88522         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
88523         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88525 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
88527         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88528         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
88530 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
88532         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
88533         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
88534         defined.
88535         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
88536         Likewise.
88537         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
88538         entry for 2.16.
88540 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
88542         * math/w_acos.c: Use non-signaling floating-point comparisons.
88543         * math/w_acosf.c: Likewise.
88544         * math/w_acosh.c: Likewise.
88545         * math/w_acoshf.c: Likewise.
88546         * math/w_acoshl.c: Likewise.
88547         * math/w_acosl.c: Likewise.
88548         * math/w_asin.c: Likewise.
88549         * math/w_asinf.c: Likewise.
88550         * math/w_asinl.c: Likewise.
88551         * math/w_atanh.c: Likewise.
88552         * math/w_atanhf.c: Likewise.
88553         * math/w_atanhl.c: Likewise.
88554         * math/w_exp2.c: Likewise.
88555         * math/w_exp2f.c: Likewise.
88556         * math/w_exp2l.c: Likewise.
88557         * math/w_j0.c: Likewise.
88558         * math/w_j0f.c: Likewise.
88559         * math/w_j0l.c: Likewise.
88560         * math/w_j1.c: Likewise.
88561         * math/w_j1f.c: Likewise.
88562         * math/w_j1l.c: Likewise.
88563         * math/w_jn.c: Likewise.
88564         * math/w_jnf.c: Likewise.
88565         * math/w_log.c: Likewise.
88566         * math/w_log10.c: Likewise.
88567         * math/w_log10f.c: Likewise.
88568         * math/w_log10l.c: Likewise.
88569         * math/w_log2.c: Likewise.
88570         * math/w_log2f.c: Likewise.
88571         * math/w_log2l.c: Likewise.
88572         * math/w_logf.c: Likewise.
88573         * math/w_logl.c: Likewise.
88574         * math/w_sqrt.c: Likewise.
88575         * math/w_sqrtf.c: Likewise.
88576         * math/w_sqrtl.c: Likewise.
88577         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88578         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
88579         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88580         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88581         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88583 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88585         [BZ #9739]
88586         * manual/string.texi (strnlen): Use correct parameter name in
88587         equivalent expression.
88589 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88591         [BZ #11174]
88592         * manual/users.texi (seteuid): Consistently use neweuid for
88593         argument name.
88595 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
88597         [BZ #13704]
88598         * manual/nss.texi (Services in the NSS configuration): Correct
88599         list of services in example configuration file.
88601 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
88603         [BZ #11322]
88604         * manual/arith.texi: Remove statements about negative zero
88605         behaving identically to zero.
88607 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88609         [BZ #5993]
88610         * manual/install.texi: Do not document upgrading from libc5.
88612 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
88614         [BZ #4596]
88615         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
88617 2012-02-18  David S. Miller  <davem@davemloft.net>
88619         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
88620         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
88621         %o7 across the call.
88622         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
88623         instead.
88624         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
88625         SETUP_PIC_REG_LEAF.
88626         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
88627         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
88628         * sysdeps/sparc/crtn.S: Likewise.
88630 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
88632         * aout/Makefile: Remove.
88634 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
88636         [BZ #13058]
88637         * manual/examples/argp-ex1.c (main): Format definition in GNU
88638         style.
88639         * manual/examples/argp-ex2.c (main): Likewise.
88640         * manual/examples/argp-ex3.c (main): Likewise.
88641         * manual/examples/argp-ex4.c (main): Likewise.
88642         * manual/examples/longopt.c (main): Use new-style prototype
88643         definition.
88644         * manual/examples/strncat.c (main): Specify return type and use
88645         (void) for arguments.
88646         * manual/examples/subopt.c (main): Use char **argv argument.
88648 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88650         [BZ #5077]
88651         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
88652         rounding modes.
88654 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
88656         [BZ #6907]
88657         * manual/string.texi (strchr): Change when strchrnul is
88658         recommended.
88660 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
88662         [BZ #174]
88663         * manual/locale.texi (setlocale): Document LOCPATH.
88665 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88667         [BZ #10210]
88668         * manual/process.texi (execle): Move @dots{} before last argument.
88670 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
88672         [BZ #12047]
88673         * manual/charset.texi (Generic Charset Conversion): Fix typo
88674         (LC_TYPE -> LC_CTYPE).
88676 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
88678         [BZ #5805]
88679         * manual/arith.texi (scalbn): Use @var{} on parameter names.
88680         (scalbnf): Likewise.
88681         (scalbnl): Likewise.
88682         (scalbln): Likewise.
88683         (scalblnf): Likewise.
88684         (scalblnl): Likewise.
88685         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
88686         (vwarnx): Likewise.
88687         (verr): Likewise.
88688         (verrx): Likewise.
88689         * manual/filesys.texi (telldir): Use braces around return type.
88690         * manual/llio.texi (mmap): Add space after comma.
88691         (mmap64): Likewise.
88692         * manual/math.texi (jn): Use @var{} on parameter names.
88693         (jnf): Likewise.
88694         (jnl): Likewise.
88695         (yn): Likewise.
88696         (ynf): Likewise.
88697         (ynl): Likewise.
88698         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
88699         line.
88700         * manual/resource.texi (ulimit): Use @dots{} instead of literal
88701         "...".
88702         (sched_get_priority_min): Remove semicolon on @deftypefun line.
88703         (sched_get_priority_max): Likewise.
88704         * manual/signal.texi (sigvec): Add space after comma.
88705         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
88706         names.
88707         (if_indextoname): Likewise.
88708         (if_freenameindex): Likewise.
88709         (sendto): Use ',' instead of '.' in prototype.
88710         * manual/startup.texi (syscall): Use @dots{} instead of literal
88711         "...".
88712         * manual/stdio.texi (__fpending): Separate initial words of
88713         paragraph from @deftypefun line.
88714         * manual/syslog.texi (syslog): Use @dots{} instead of literal
88715         "...".
88716         (vsyslog): Use @var{} on parameter names.
88717         * manual/terminal.texi (stty): Use @var{} on parameter names.
88718         * manual/users.texi (getutmp): Use @var{} on parameter names.
88719         (getutmpx): Likewise.
88721 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88723         [BZ #6884]
88724         * manual/stdio.texi (fopen): Fix typos in description of
88725         ",ccs=STRING".
88727 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
88729         [BZ #4026]
88730         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
88731         get clock_id definition.
88733 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
88735         [BZ #4822]
88736         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
88737         (madvise): Cast every argument to void on its own.
88739 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88741         [BZ #9902]
88742         * manual/startup.texi (Exit Status): Fix typo.
88744 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
88746         [BZ #10140]
88747         * manual/examples/argp-ex1.c: Include <stdlib.h>.
88748         * manual/examples/argp-ex2.c: Likewise.
88749         * manual/examples/argp-ex3.c: Likewise.
88751 2012-02-16  Richard Henderson  <rth@redhat.com>
88753         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
88754         * sysdeps/s390/s390-32/initfini.c: Remove.
88755         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
88756         * sysdeps/s390/s390-64/initfini.c: Remove.
88758 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
88760         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
88761         compiler output for sysdeps/generic/initfini.c.
88762         * sysdeps/sh/elf/initfini.c: Remove file.
88764 2012-02-16  David S. Miller  <davem@davemloft.net>
88766         [BZ #11494]
88767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
88769         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
88770         * sysdeps/sparc/crti.S: New file.
88771         * sysdeps/sparc/crtn.S: New file.
88772         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
88773         * sysdeps/sparc/sparc64/Makefile: Likewise.
88775 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
88777         [BZ #3335]
88778         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
88780 2012-02-15  Roland McGrath  <roland@hack.frob.com>
88782         [BZ #4822]
88783         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
88785         * mach/devstream.c (cookie_io_functions_t): Macro removed.
88786         (write, read, close): Likewise.
88787         Patch by Aurelien Jarno <aurelien@aurel32.net>.
88789 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
88791         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
88792         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
88793         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
88794         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
88795         <bits/signalfd.h>.
88796         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
88797         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88798         bits/signalfd.h.
88800 2012-02-14  Marek Polacek  <polacek@redhat.com>
88802         * sysdeps/x86_64/crti.S: New file.
88803         * sysdeps/x86_64/crtn.S: New file.
88804         * sysdeps/x86_64/elf/initfini.c: Remove file.
88806 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88808         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
88809         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
88810         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
88811         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
88812         <bits/inotify.h>.
88813         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
88814         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88815         bits/inotify.h.
88817 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
88819         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
88820         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
88821         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
88822         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
88823         <bits/eventfd.h>.
88824         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
88825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
88826         bits/eventfd.h.
88828 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
88830         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
88831         __feraiseexcept instead of feraiseexcept.
88833         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
88834         nanosleep invocations.
88835         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
88836         strings, and add error checking for a nanosleep invocations.
88838 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
88840         Replace FSF snail mail address with URLs, as per GNU coding standards.
88841         Most of the snail mail addresses were wrong anyway, and omitting
88842         them makes the source code easier to maintain.  Almost all of the
88843         changes are to license notices and to locale LC_IDENTIFICATION
88844         addresses, except for this one:
88845         * manual/libc.texinfo: In "Published by", give the FSF's URL,
88846         not its snail mail address.
88848 2012-02-09  Richard Henderson  <rth@twiddle.net>
88850         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
88851         of kernel-features.h.
88853         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
88855 2012-02-08  Marek Polacek  <polacek@redhat.com>
88857         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88858         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88859         * sysdeps/gnu/_G_config.h: Likewise.
88860         * sysdeps/generic/_G_config.h: Likewise.
88862 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88864         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88865         tests.
88866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88868         * sysdeps/powerpc/powerpc32/crti.S: New file.
88869         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88870         * sysdeps/powerpc/powerpc64/crti.S: New file.
88871         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88873         * Makeconfig (have-initfini): Don't set.
88874         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88875         * configure.in (nopic_initfini): Don't substitute.
88876         * config.h.in (HAVE_INITFINI): Don't #undef.
88877         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88878         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88880 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88882         Support crti.S and crtn.S provided directly by architectures.
88883         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88884         [crti.S in sysdirs] (omit-deps): Likewise.
88885         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88886         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88887         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88888         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88889         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88890         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88891         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88892         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88893         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88894         compiler output for sysdeps/generic/initfini.c.
88895         * sysdeps/i386/elf/Makefile: Remove file.
88896         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88898 2012-02-07  Marek Polacek  <polacek@redhat.com>
88900         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88901         * sysdeps/gnu/_G_config.h: Likewise.
88902         * sysdeps/mach/hurd/_G_config.h: Likewise.
88904 2012-02-07  Marek Polacek  <polacek@redhat.com>
88906         * math/Makefile (tests): Add tst-CMPLX2.
88907         * math/tst-CMPLX2.c: New file.
88909 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88911         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88913         * math/libm-test.inc (jn_test): Add missing L suffix.
88915 2012-02-06  Marek Polacek  <polacek@redhat.com>
88917         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88918         * sysdeps/i386/fpu/e_powf.S: Likewise.
88919         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88920         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88921         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88922         * sysdeps/i386/fpu/e_pow.S: Likewise.
88923         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88924         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88925         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88926         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88927         * sysdeps/i386/fpu/e_log2.S: Likewise.
88928         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88929         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88930         * sysdeps/i386/fpu/e_powl.S: Likewise.
88931         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88932         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88933         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88934         * sysdeps/i386/fpu/e_logl.S: Likewise.
88935         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88936         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88937         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88938         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88939         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88940         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88941         * sysdeps/i386/fpu/e_log.S: Likewise.
88942         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88943         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88944         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88945         * sysdeps/i386/fpu/e_logf.S: Likewise.
88946         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88947         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88948         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88949         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88950         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88951         * sysdeps/i386/fpu/e_log10.S: Likewise.
88952         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88953         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88954         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88955         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88956         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88957         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88958         * sysdeps/i386/asm-syntax.h: Likewise.
88959         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88960         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88961         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88962         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88963         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88964         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88965         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88966         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88967         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88968         * sysdeps/powerpc/sysdep.h: Likewise.
88969         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88970         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88972 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88974         [BZ #411]
88975         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88977 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88979         * sysdeps/i386/sysdep.h: Include <features.h>.
88980         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88981         version.
88983 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88985         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88986         Define.
88987         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88988         LOAD_PIC_REG_STR.
88990 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88992         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88993         (SETUP_PIC_REG): Use GET_PC_THUNK.
88994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88995         macro.
88997 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88999         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
89000         for non-PIC compilation.
89001         (SETUP_PIC_REG): Add .p2align directive.
89002         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
89003         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
89004         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
89005         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
89006         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
89007         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
89008         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
89009         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
89010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
89011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
89012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
89013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
89014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
89015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
89016         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
89017         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
89018         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
89019         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
89020         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
89021         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
89022         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
89023         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
89024         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
89025         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
89026         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
89027         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
89028         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89029         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
89030         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
89031         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
89032         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
89033         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89034         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
89035         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
89036         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
89037         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
89038         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
89039         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
89040         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
89041         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
89042         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
89044 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
89046         * math/tst-CMPLX.c: Include <stdio.h>.
89048 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
89050         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
89051         float.
89052         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89053         * sysdeps/sparc/bits/mathdef.h: Likewise.
89055 2012-01-31  Marek Polacek  <polacek@redhat.com>
89057         * libio/libio.h: Don't define _PARAMS.
89058         * locale/programs/config.h: Don't define PARAMS.
89059         * stdlib/strtol_l.c: Likewise.
89060         (__strtol_l): Remove PARAMS from the prototype.
89062 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
89064         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
89065         names.  Just use the correct names.  Remove unnecessary wrapper
89066         functions.
89067         * malloc/arena.c: Likewise.
89068         * malloc/hooks.c: Likewise.
89070         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
89071         ARENA_TEST says not to.  Simplify test for creation of a new arena.
89072         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
89074 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
89076         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
89077         into tail calls.
89078         (update_get_addr): New function.
89079         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
89080         GET_ADDR_MODULE parameter.
89082 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
89084         * crypt/cert.c: Remove __STDC__ conditionals.
89085         * crypt/crypt-entry.c: Likewise.
89086         * crypt/crypt_util.c: Likewise.
89087         * libio/filedoalloc.c: Likewise.
89088         * libio/fileops.c: Likewise.
89089         * libio/genops.c: Likewise.
89090         * libio/iofclose.c: Likewise.
89091         * libio/iofdopen.c: Likewise.
89092         * libio/iofopen.c: Likewise.
89093         * libio/iofopen64.c: Likewise.
89094         * libio/iogetdelim.c: Likewise.
89095         * libio/iopopen.c: Likewise.
89096         * libio/obprintf.c: Likewise.
89097         * libio/oldfileops.c: Likewise.
89098         * libio/oldiofclose.c: Likewise.
89099         * libio/oldiofdopen.c: Likewise.
89100         * libio/oldiofopen.c: Likewise.
89101         * libio/oldiopopen.c: Likewise.
89102         * libio/wfiledoalloc.c: Likewise.
89103         * libio/wgenops.c: Likewise.
89104         * locale/programs/xmalloc.c: Likewise.
89105         * misc/syslog.c: Likewise.
89106         * stdio-common/xbug.c: Likewise.
89107         * string/memchr.c: Likewise.
89108         * string/memcmp.c: Likewise.
89109         * string/memrchr.c: Likewise.
89110         * string/rawmemchr.c: Likewise.
89111         * sysdeps/posix/getcwd.c: Likewise.
89112         * time/strftime_l.c: Likewise.
89114 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
89116         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
89117         * config.make.in (config-cflags-sse2avx): Define.
89118         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
89119         Fix typo.
89121 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
89123         * scripts/config.guess: Update from upstream config git repository.
89124         * scripts/config.sub: Likewise.
89126 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
89128         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
89129         (EM_NUM): Update.
89130         (R_TILEPRO_*, R_TILEGX_*): New macros.
89132         * scripts/firstversions.awk: Fix bug in version range handling.
89134         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
89136         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
89138         * include/sys/epoll.h: New file.
89139         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
89140         libc_hidden_def.
89142 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
89144         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
89145         Avoid unnecessary __WORDSIZE == 64 test.
89146         (fmaxf): Use VEX format if possible.
89147         (fmax): Likewise.
89148         (fminf): Likewise.
89149         (fmin): Likewise.
89151         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
89152         * math/math_private.h: Remove libc_fegetround* and
89153         libc_fesetround*.
89154         * sysdeps/i386/configure.in: Check for -msse2avx.
89155         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
89156         also if SSE2AVX is defined.
89157         Remove libc_fegetround* and libc_fesetround*.
89158         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
89159         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
89160         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
89161         of HAS_YMM_USABLE.
89162         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89163         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89164         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89165         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89166         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89168         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
89170 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89172         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
89173         size is not set.
89174         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
89176 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
89178         [BZ #13618]
89179         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
89180         relocation.
89181         * Makeconfig (libm): Define.
89182         * elf/Makefile: Add rules to build and run tst-relsort1.
89183         * elf/tst-relsort1.c: New file.
89184         * elf/tst-relsort1mod1.c: New file.
89185         * elf/tst-relsort1mod2.c: New file.
89187 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
89189         * math/s_ldexp.c: Remove __STDC__ conditionals.
89190         * math/s_ldexpf.c: Likewise.
89191         * math/s_ldexpl.c: Likewise.
89192         * math/s_nextafter.c: Likewise.
89193         * math/s_nexttowardf.c: Likewise.
89194         * math/s_significand.c: Likewise.
89195         * math/s_significandf.c: Likewise.
89196         * math/s_significandl.c: Likewise.
89197         * math/w_jnl.c: Likewise.
89198         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
89199         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
89200         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
89201         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
89202         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
89203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
89204         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
89205         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
89206         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
89207         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
89208         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
89209         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89210         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
89211         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
89212         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
89213         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
89214         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
89215         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
89216         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
89217         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
89218         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
89219         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
89220         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
89221         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
89222         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
89223         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
89224         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
89225         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
89226         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
89227         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
89228         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
89229         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
89230         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
89231         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
89232         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
89233         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
89234         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
89235         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
89236         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
89237         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
89238         * sysdeps/ieee754/k_standard.c: Likewise.
89239         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
89240         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
89241         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
89242         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
89243         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
89244         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
89245         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
89246         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
89247         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
89248         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
89249         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
89250         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
89251         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
89252         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
89253         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
89254         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
89255         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
89256         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
89257         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
89258         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
89259         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
89260         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
89261         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
89262         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
89263         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
89264         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
89265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
89266         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
89267         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89268         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
89269         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
89270         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
89271         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
89272         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
89273         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
89274         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
89275         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
89276         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
89277         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
89278         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
89279         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
89280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
89281         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
89282         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
89283         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
89284         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
89285         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
89286         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
89287         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
89288         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
89289         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
89290         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
89291         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
89292         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
89293         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
89294         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
89295         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
89296         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
89297         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
89298         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
89299         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
89300         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
89301         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
89302         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
89303         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
89304         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
89305         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
89306         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
89307         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
89308         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
89309         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
89310         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
89311         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
89312         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
89313         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
89314         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
89315         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
89316         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
89317         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
89318         * sysdeps/ieee754/s_matherr.c: Likewise.
89319         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
89320         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
89321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
89322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
89324 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89326         * crypt/md5.h: Remove __STDC__ conditionals.
89327         * libio/libioP.h: Likewise.
89328         * locale/programs/config.h: Likewise.
89329         * sysdeps/generic/sysdep.h: Likewise.
89330         * sysdeps/i386/asm-syntax.h: Likewise.
89331         * sysdeps/s390/asm-syntax.h: Likewise.
89332         * sysdeps/unix/sysdep.h: Likewise.
89333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
89334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
89336 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
89338         * libio/libio.h: Remove __STDC__ conditionals.
89339         * malloc/obstack.h: Likewise.
89340         * math/complex.h: Likewise.
89341         * math/math.h: Likewise.
89342         * sysdeps/generic/_G_config.h: Likewise.
89343         * sysdeps/gnu/_G_config.h: Likewise.
89344         * sysdeps/mach/hurd/_G_config.h: Likewise.
89345         * sysdeps/powerpc/bits/mathdef.h: Likewise.
89346         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
89347         * sysdeps/sparc/bits/mathdef.h: Likewise.
89349 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
89351         [BZ #13583]
89352         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
89353         Clean up HAS_* macros.
89354         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
89355         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
89356         possible.
89357         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
89358         HAS_AVX.
89359         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89360         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89361         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89362         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89363         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89365 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
89367         * elf/tst-unique3.cc (gets): Remove declaration.
89368         * elf/tst-unique3lib.cc (gets): Likewise.
89369         * elf/tst-unique3lib2.cc (gets): Likewise.
89370         * elf/tst-unique4.cc (gets): Likewise.
89372 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
89374         * include/stdio.h: Add C++ protection.  Add gets declarations and
89375         definitions.
89376         * debug/tst-chk1.c: Don't declare gets here.
89377         * stdio-common/tst-gets.c: Likewise.
89379 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89381         * posix/glob: Remove directory.
89383 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
89385         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
89387 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
89389         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
89390         of the non-standard EPFNOSUPPORT.
89392 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89394         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
89395         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
89396         ANYWHERE set to 1 only on KERN_NO_SPACE error.
89398 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
89400         * wcsmbs/uchar.h: Test __STDC_VERSION__.
89402 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
89404         * nscd/aicache.c (addhstaiX): Do not cache negative results of
89405         transient errors.
89406         * nscd/grpcache.c (cache_addgr): Likewise.
89407         * nscd/hstcache.c (cache_addhst): Likewise.
89408         * nscd/initgrcache.c (addinitgroupsX): Likewise.
89409         * nscd/pwdcache.c (cache_addpw): Likewise.
89410         * nscd/servicescache.c (cache_addserv): Likewise.
89412 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
89414         * malloc/malloc.c: Various cleanups.
89415         * malloc/hooks.c: Likewise.
89417         * stdlib/Makefile (tests): Add bug-fmtmsg1.
89418         * stdlib/bug-fmtmsg1.c: New file.
89420         * stdlib/fmtmsg.c (init): Add missing unlock.
89421         Patch by Peng Haitao <penght@cn.fujitsu.com>.
89423 2012-01-12  Marek Polacek  <polacek@redhat.com>
89425         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
89426         and _GNU_SOURCE.
89428 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89430         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
89431         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
89432         macro to ensure uniqueness of label name.
89433         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89434         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89436 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
89438         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
89440         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
89441         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
89442         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
89443         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
89445 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
89447         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
89449         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
89450         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
89451         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
89453         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
89455         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
89456         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
89457         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
89458         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
89460         * math/bits/math-finite.h: Add ldexp support.
89462 2012-01-10  Marek Polacek  <polacek@redhat.com>
89464         * locale/programs/localedef.h (show_archive_content): Add noreturn
89465         attribute.
89467 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
89469         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
89471 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89473         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
89475         * io/Makefile (headers): Add bits/poll2.h.
89477 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
89479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
89480         typo #include statement.
89482 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89484         * include/sys/cdefs.h: Define __attribute_alloc_size.
89485         * catgets/gencat.c: Add alloc_size attribute and apply consistently
89486         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
89487         * elf/pldd.c: Likewise.
89488         * iconv/iconv_charmap.c: Likewise.
89489         * iconv/iconvconfig.c: Likewise.
89490         * iconv/strtab.c: Likewise.
89491         * locale/programs/locale.c: Likewise.
89492         * locale/programs/localedef.h: Likewise.
89493         * locale/programs/simple-hash.c: Likewise.
89494         * nscd/nscd.h: Likewise.
89495         * nss/makedb.c: Likewise.
89496         * sysdeps/generic/ldconfig.h: Likewise.
89497         * locale/programs/localedef.c: Remove xmalloc prototype.
89498         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
89500 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
89502         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
89503         appropriate.
89505 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
89507         * math/Makefile (tests): Add tst-CMPLX.
89508         * math/tst-CMPLX.c: New file.
89510         * math/complex.h (CMPLXL): Fix typo.
89512         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
89513         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
89514         GLIBC_2.16.
89515         * debug/tst-chk1.c: Add poll and ppoll tests.
89516         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
89517         * include/sys/poll.h: Add hidden proto for ppoll.
89518         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
89519         * sysdeps/mach/hurd/ppoll.c: Likewise.
89520         * io/ppoll.c: Likewise.
89521         * debug/poll_chk.c: New file.
89522         * debug/ppoll_chk.c: New file.
89523         * include/bits/poll2.h: New file.
89524         * io/bits/poll2.h: New file.
89526         [BZ #1350]
89527         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
89529         * configure.in: static is always set to yes.  Remove.
89530         * config.make.in: Don't set build-static.
89531         * Makeconfig: Remove use of build-static.
89532         * dlfcn/Makefile: Likewise.
89533         * elf/Makefile: Likewise.
89534         * math/Makefile: Likewise.
89535         * misc/Makefile: Likewise.
89536         * nptl/Makefile: Likewise.
89537         * sysdeps/mach/hurd/Makefile: Likewise.
89539         * configure.in: PWD_P is not used anymore.
89540         * config.make.in: Remove PWD_P entry.
89542         * configure.in: Remove last remnants of RANLIB.
89543         No need to check for signed size_t anymore.
89544         Don't set libc_commonpagesize and libc_relro_required here for Alpha
89545         and IA-64.
89546         Remove __builtin_expect test because we require at least gcc 3.4.
89547         * aclocal.m4: Likewise.
89549         * wcsmbs/mbrtoc16.c: Implement using towc function.
89550         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
89551         * wcsmbs/wcsmbsload.c: Likewise.
89552         * iconv/gconv_simple.c: Likewise.
89553         * iconv/gconv_int.h: Likewise.
89554         * iconv/gconv_builtin.h: Likewise.
89555         * iconv/iconv_prog.c: Remove CHAR16 handling.
89557         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
89559         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
89561         * configure.in: Remove --with-elf and --enable-bounded options.
89562         Dont set base_machine for ia64.  More non-ELF conditions removed.
89563         Remove testing and setting of leading underscore information.
89564         * config.make.in (build-bounded): Set to no.
89565         * config.h.in: Remove NO_UNDERSCORES entry.
89566         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
89567         them.
89568         * csu/start.c: Remove !NO_UNDERSCORE code.
89569         * locale/localeinfo.h: Likewise.
89570         * sysdeps/generic/machine-gmon.h: Likewise.
89571         * sysdeps/generic/sysdep.h: Likewise.
89572         * sysdeps/i386/sysdep.h: Likewise.
89573         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89574         * sysdeps/mach/sysdep.h: Likewise.
89575         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89576         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89577         * sysdeps/sh/sysdep.h: Likewise.
89578         * sysdeps/sparc/sparc32/alloca.S: Likewise.
89579         * sysdeps/unix/i386/sysdep.S: Likewise.
89580         * sysdeps/unix/sparc/start.c: Likewise.
89581         * sysdeps/unix/sparc/sysdep.S: Likewise.
89582         * sysdeps/unix/sparc/sysdep.h: Likewise.
89583         * sysdeps/unix/start.c: Likewise.
89584         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89585         * sysdeps/x86_64/sysdep.h: Likewise.
89587 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
89589         [BZ #13553]
89590         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
89591         for non-gcc.
89592         * argp/argp-fmtstream.h: Use const instead __const.
89593         * argp/argp.h: Likewise.
89594         * assert/assert.h: Likewise.
89595         * bits/fenv.h: Likewise.
89596         * bits/sched.h: Likewise.
89597         * bits/sigset.h: Likewise.
89598         * bits/sigthread.h: Likewise.
89599         * catgets/nl_types.h: Likewise.
89600         * conform/data/pthread.h-data: Likewise.
89601         * crypt/crypt-private.h: Likewise.
89602         * crypt/crypt.h: Likewise.
89603         * crypt/crypt_util.c: Likewise.
89604         * ctype/ctype.h: Likewise.
89605         * debug/execinfo.h: Likewise.
89606         * debug/mbsnrtowcs_chk.c: Likewise.
89607         * debug/mbsrtowcs_chk.c: Likewise.
89608         * debug/wcsnrtombs_chk.c: Likewise.
89609         * debug/wcsrtombs_chk.c: Likewise.
89610         * debug/wcstombs_chk.c: Likewise.
89611         * dirent/dirent.h: Likewise.
89612         * dlfcn/dlfcn.h: Likewise.
89613         * elf/neededtest4.c: Likewise.
89614         * grp/grp.h: Likewise.
89615         * gshadow/gshadow.h: Likewise.
89616         * iconv/gconv.h: Likewise.
89617         * iconv/gconv_int.h: Likewise.
89618         * iconv/gconv_simple.c: Likewise.
89619         * iconv/iconv.h: Likewise.
89620         * iconv/loop.c: Likewise.
89621         * iconv/skeleton.c: Likewise.
89622         * include/aio.h: Likewise.
89623         * include/aliases.h: Likewise.
89624         * include/argz.h: Likewise.
89625         * include/arpa/inet.h: Likewise.
89626         * include/assert.h: Likewise.
89627         * include/dirent.h: Likewise.
89628         * include/dlfcn.h: Likewise.
89629         * include/execinfo.h: Likewise.
89630         * include/fcntl.h: Likewise.
89631         * include/fenv.h: Likewise.
89632         * include/glob.h: Likewise.
89633         * include/grp.h: Likewise.
89634         * include/libintl.h: Likewise.
89635         * include/mntent.h: Likewise.
89636         * include/netdb.h: Likewise.
89637         * include/pwd.h: Likewise.
89638         * include/rpc/netdb.h: Likewise.
89639         * include/sched.h: Likewise.
89640         * include/search.h: Likewise.
89641         * include/shadow.h: Likewise.
89642         * include/signal.h: Likewise.
89643         * include/stdio.h: Likewise.
89644         * include/stdlib.h: Likewise.
89645         * include/string.h: Likewise.
89646         * include/sys/socket.h: Likewise.
89647         * include/sys/stat.h: Likewise.
89648         * include/sys/statfs.h: Likewise.
89649         * include/sys/statvfs.h: Likewise.
89650         * include/sys/syslog.h: Likewise.
89651         * include/sys/time.h: Likewise.
89652         * include/sys/uio.h: Likewise.
89653         * include/time.h: Likewise.
89654         * include/unistd.h: Likewise.
89655         * include/utmp.h: Likewise.
89656         * include/wchar.h: Likewise.
89657         * include/wctype.h: Likewise.
89658         * inet/aliases.h: Likewise.
89659         * inet/arpa/inet.h: Likewise.
89660         * inet/netinet/ether.h: Likewise.
89661         * inet/netinet/in.h: Likewise.
89662         * intl/libintl.h: Likewise.
89663         * io/bits/fcntl2.h: Likewise.
89664         * io/fcntl.h: Likewise.
89665         * io/ftw.h: Likewise.
89666         * io/sys/poll.h: Likewise.
89667         * io/sys/stat.h: Likewise.
89668         * io/sys/statfs.h: Likewise.
89669         * io/sys/statvfs.h: Likewise.
89670         * io/utime.h: Likewise.
89671         * libio/bits/stdio.h: Likewise.
89672         * libio/bits/stdio2.h: Likewise.
89673         * libio/libio.h: Likewise.
89674         * libio/libioP.h: Likewise.
89675         * libio/stdio.h: Likewise.
89676         * locale/lc-ctype.c: Likewise.
89677         * locale/locale.h: Likewise.
89678         * login/utmp.h: Likewise.
89679         * malloc/arena.c: Likewise.
89680         * malloc/malloc.c: Likewise.
89681         * malloc/malloc.h: Likewise.
89682         * malloc/mcheck.c: Likewise.
89683         * malloc/mtrace.c: Likewise.
89684         * math/bits/mathcalls.h: Likewise.
89685         * math/fenv.h: Likewise.
89686         * math/math_private.h: Likewise.
89687         * misc/bits/error.h: Likewise.
89688         * misc/bits/syslog.h: Likewise.
89689         * misc/err.h: Likewise.
89690         * misc/error.h: Likewise.
89691         * misc/fstab.h: Likewise.
89692         * misc/mntent.h: Likewise.
89693         * misc/regexp.h: Likewise.
89694         * misc/search.h: Likewise.
89695         * misc/sgtty.h: Likewise.
89696         * misc/sys/mman.h: Likewise.
89697         * misc/sys/syslog.h: Likewise.
89698         * misc/sys/uio.h: Likewise.
89699         * misc/sys/xattr.h: Likewise.
89700         * misc/ttyent.h: Likewise.
89701         * nis/rpcsvc/ypclnt.h: Likewise.
89702         * nss/nss.h: Likewise.
89703         * posix/bits/unistd.h: Likewise.
89704         * posix/fnmatch.h: Likewise.
89705         * posix/glob.h: Likewise.
89706         * posix/sched.h: Likewise.
89707         * posix/spawn.h: Likewise.
89708         * posix/sys/wait.h: Likewise.
89709         * posix/unistd.h: Likewise.
89710         * posix/wordexp.h: Likewise.
89711         * pwd/pwd.h: Likewise.
89712         * resolv/netdb.h: Likewise.
89713         * resource/sys/resource.h: Likewise.
89714         * rt/aio.h: Likewise.
89715         * rt/bits/mqueue2.h: Likewise.
89716         * rt/mqueue.h: Likewise.
89717         * shadow/shadow.h: Likewise.
89718         * signal/signal.h: Likewise.
89719         * socket/send.c: Likewise.
89720         * socket/sendto.c: Likewise.
89721         * socket/sys/socket.h: Likewise.
89722         * stdio-common/printf.h: Likewise.
89723         * stdlib/bits/stdlib.h: Likewise.
89724         * stdlib/fmtmsg.h: Likewise.
89725         * stdlib/monetary.h: Likewise.
89726         * stdlib/stdlib.h: Likewise.
89727         * stdlib/ucontext.h: Likewise.
89728         * streams/stropts.h: Likewise.
89729         * string/argz.h: Likewise.
89730         * string/bits/string2.h: Likewise.
89731         * string/string.h: Likewise.
89732         * string/strings.h: Likewise.
89733         * sunrpc/rpc/auth.h: Likewise.
89734         * sunrpc/rpc/auth_des.h: Likewise.
89735         * sunrpc/rpc/clnt.h: Likewise.
89736         * sunrpc/rpc/netdb.h: Likewise.
89737         * sunrpc/rpc/pmap_clnt.h: Likewise.
89738         * sunrpc/rpc/xdr.h: Likewise.
89739         * sysdeps/generic/inttypes.h: Likewise.
89740         * sysdeps/generic/net/if.h: Likewise.
89741         * sysdeps/generic/sys/swap.h: Likewise.
89742         * sysdeps/gnu/net/if.h: Likewise.
89743         * sysdeps/gnu/utmpx.h: Likewise.
89744         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
89745         * sysdeps/i386/i486/bits/string.h: Likewise.
89746         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
89747         * sysdeps/s390/bits/string.h: Likewise.
89748         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
89749         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
89750         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
89751         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
89752         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
89753         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
89754         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
89755         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
89756         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
89757         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
89758         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
89759         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
89760         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
89761         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
89762         * sysdeps/unix/sysv/linux/readv.c: Likewise.
89763         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
89764         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
89765         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89766         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
89767         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
89768         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89769         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
89770         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
89771         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
89772         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
89773         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
89774         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
89775         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89776         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
89777         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
89778         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
89779         * sysvipc/sys/ipc.h: Likewise.
89780         * sysvipc/sys/msg.h: Likewise.
89781         * sysvipc/sys/sem.h: Likewise.
89782         * sysvipc/sys/shm.h: Likewise.
89783         * termios/termios.h: Likewise.
89784         * time/sys/time.h: Likewise.
89785         * time/time.h: Likewise.
89786         * wcsmbs/bits/wchar2.h: Likewise.
89787         * wcsmbs/uchar.h: Likewise.
89788         * wcsmbs/wchar.h: Likewise.
89789         * wctype/wctype.h: Likewise.
89791         [BZ #13551]
89792         * Makeconfig: Remove all but ELF support including AIX support.
89793         * Makerules: Likewise.
89794         * config.h.in: Likewise.
89795         * config.make.in: Likewise.
89796         * configure: Likewise.
89797         * configure.in: Likewise.
89798         * csu/Makefile: Likewise.
89799         * csu/version.c: Likewise.
89800         * debug/Makefile: Likewise.
89801         * dlfcn/Makefile: Likewise.
89802         * elf/Makefile: Likewise.
89803         * extra-lib.mk: Likewise.
89804         * iconv/Makefile: Likewise.
89805         * include/libc-symbols.h: Likewise.
89806         * include/shlib-compat.h: Likewise.
89807         * resolv/Makefile: Likewise.
89808         * resolv/res_libc.c: Likewise.
89809         * rt/Makefile: Likewise.
89810         * sysdeps/i386/asm-syntax.h: Likewise.
89811         * sysdeps/i386/sysdep.h: Likewise.
89812         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
89813         * sysdeps/mach/sysdep.h: Likewise.
89814         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
89815         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
89816         * sysdeps/s390/asm-syntax.h: Likewise.
89817         * sysdeps/s390/s390-32/sysdep.h: Likewise.
89818         * sysdeps/s390/s390-64/sysdep.h: Likewise.
89819         * sysdeps/sh/sysdep.h: Likewise.
89820         * sysdeps/unix/sparc/sysdep.h: Likewise.
89821         * sysdeps/wordsize-32/divdi3.c: Likewise.
89822         * sysdeps/x86_64/sysdep.h: Likewise.
89824         * argp/Versions: Remove _argp_unlock_xxx.
89826         [BZ #13559]
89827         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
89828         * abilist/libBrokenLocale.abilist: Likewise.
89829         * abilist/libanl.abilist: Likewise.
89830         * abilist/libc.abilist: Likewise.
89831         * abilist/libcrypt.abilist: Likewise.
89832         * abilist/libdl.abilist: Likewise.
89833         * abilist/libm.abilist: Likewise.
89834         * abilist/libnsl.abilist: Likewise.
89835         * abilist/libpthread.abilist: Likewise.
89836         * abilist/libresolv.abilist: Likewise.
89837         * abilist/librt.abilist: Likewise.
89838         * abilist/libthread_db.abilist: Likewise.
89839         * abilist/libutil.abilist: Likewise.
89840         * abilist/libnss_db.abilist: New file.
89842         * scripts/abilist.awk: Add support for indirect functions.
89844         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
89846         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
89848         * shlib-versions: Remove entries for ports architectures.
89850         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
89851         files in ports.
89852         * elf/stackguard-macros.h: Remove support for IA-64.
89853         * elf/tst-auditmod1.c: Likewise.
89854         * sysdeps/generic/ldsodefs.h: Likewise.
89856         * sysdeps/unix/sysv/linux/configure.in: Ports should define
89857         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89858         configure files.
89860         [BZ #13552]
89861         * configure.in: Remove --enable-omitfp support.
89862         * FAQ.in: Adjust.
89863         * config.make.in: Likewise.
89864         * Makeconfig: Likewise.
89865         * manual/install.texi: Likewise.
89867         In case anyone cares, the IA-64 architecture could move to ports.
89868         * sysdeps/ia64/*: Removed.
89869         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89870         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89872         [BZ #13555]
89873         * configure.in: Remove entries for unsupported architectures.
89875         [BZ #13533]
89876         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89877         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89878         routines.
89879         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89880         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89881         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89882         fall back to using wcrtomb.
89883         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89884         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89885         renaming.
89886         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89887         * wcsmbs/tst-c16c32-1.c: New file.
89889         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89890         local variable.
89892         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89894         * elf/tst-unique3.cc: Add explicit declaration of gets.
89895         * elf/tst-unique3lib.cc: Likewise.
89896         * elf/tst-unique3lib2.cc: Likewise.
89897         * elf/tst-unique4.cc: Likewise.
89899         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89901 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89903         [BZ #13566]
89904         * assert/assert.h (static_assert): Don't define for C++.
89905         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89906         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89908 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89910         * iconv/loop.c (single loop): Fix assertion in storing of
89911         remaining bytes.
89913         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89915 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89917         * posix/getconf.c: Update copyright year.
89918         * nss/getent.c: Likewise.
89919         * nss/makedb.c: Likewise.
89920         * iconv/iconvconfig.c: Likewise.
89921         * iconv/iconv_prog.c: Likewise.
89922         * elf/ldconfig.c: Likewise.
89923         * elf/pldd.c: Likewise.
89924         * elf/sotruss.ksh: Likewise.
89925         * catgets/gencat.c: Likewise.
89926         * csu/version.c: Likewise.
89927         * elf/ldd.bash.in: Likewise.
89928         * elf/sprof.c (print_version): Likewise.
89929         * locale/programs/locale.c: Likewise.
89930         * locale/programs/localedef.c: Likewise.
89931         * login/programs/pt_chown.c: Likewise.
89932         * nscd/nscd.c (print_version): Likewise.
89933         * debug/xtrace.sh: Likewise.
89934         * malloc/memusage.sh: Likewise.
89935         * malloc/mtrace.pl: Likewise.
89936         * debug/catchsegv.sh: Likewise.
89938 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89940         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89941         pure attribute.
89943 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89945         [BZ #13533]
89946         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89947         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89948         transformations.
89949         * iconv/gconv_int.h: Likewise.
89950         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89951         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89952         from libc for GLIBC_2.16.
89953         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89954         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89955         * wcsmbs/uchar.h: Really define mbstate_t.
89956         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89957         * wcsmbs/c16rtomb.c: New file.
89958         * wcsmbs/mbrtoc16.c: New file.
89959         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89960         for C/POSIX locale.
89961         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89962         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89964         * wcsmbs/wchar.h: Add missing __restrict.
89966 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89968         [BZ #13532]
89969         * time/Makefile (routines): Add timespec_get.
89970         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89971         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89972         timespec for ISO C11.
89973         * time/timespec_get.c: New file.
89974         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89975         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89977         [BZ #13531]
89978         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89979         * stdlib/stdlib.h: Declare aligned_alloc.
89980         * Versions.def: Add GLIBC_2.16 for libc.
89981         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89983         [BZ 13527]
89984         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89985         ISO C11.
89987         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89988         code.
89990         [BZ #13528]
89991         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89993         [BZ #13529]
89994         * assert/assert.h (static_assert): Define.
89996         * version.h: Update for 2.16 development version.
89998         [BZ #13526]
89999         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
90000         _ISOC11_SOURCE.
90002         * version.h (RELEASE): Bump for 2.15 release.
90003         * include/features.h (__GLIBC_MINOR__): Bump to 15.
90005         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
90006         Patch by Marek Polacek <mpolacek@redhat.com>.
90008         * bits/byteswap.h: Protect long long constants with __extension__.
90009         * sysdeps/i386/bits/byteswap.h: Likewise.
90010         * sysdeps/ia64/bits/byteswap.h: Likewise.
90011         * sysdeps/s390/bits/byteswap.h: Likewise.
90012         * sysdeps/x86_64/bits/byteswap.h: Likewise.
90014 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90016         [BZ #13540]
90017         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
90018         destination buffer.
90019         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
90021 2011-12-23  Marek Polacek  <polacek@redhat.com>
90023         * elf/dl-addr.c (determine_info): Add inline keyword.
90024         * elf/tst-auditmod4b.c (check_avx): Likewise.
90025         * elf/tst-auditmod6b.c (check_avx): Likewise.
90026         * elf/tst-auditmod6c.c (check_avx): Likewise.
90027         * elf/tst-auditmod7b.c (check_avx): Likewise.
90029 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
90031         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
90032         !__SSE_MATH__.
90034 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90036         [BZ #13540]
90037         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
90038         processing for last bytes.
90040 2011-08-06  Bruno Haible  <bruno@clisp.org>
90042         [BZ #13061]
90043         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
90044         U+0385, not to U+1FEE.
90046         [BZ #13062]
90047         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
90048         entry for U+00A5 U+0301.
90050 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
90052         [BZ #13166]
90053         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
90054         buffer for the output is too small.
90056         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
90057         optimization.
90059         [BZ #13185]
90060         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
90061         SSE flags if possible.
90063 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90065         [BZ #13540]
90066         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
90067         processing for last bytes.
90069 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
90071         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
90072         (syscall-list-default-options, syscall-list-default-condition)
90073         (syscall-list-includes): Define.
90074         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
90075         list of ABIs and options and #if conditions for each ABI.  Do not
90076         handle common syscalls between ABIs specially.
90077         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
90078         Remove.
90079         (syscall-list-variants, syscall-list-32bit-options)
90080         (syscall-list-32bit-condition, syscall-list-64bit-options)
90081         (syscall-list-64bit-condition): Define.
90082         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
90083         (syscall-list-variants, syscall-list-32bit-options)
90084         (syscall-list-32bit-condition, syscall-list-64bit-options)
90085         (syscall-list-64bit-condition): Define.
90086         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
90087         Remove.
90088         (syscall-list-variants, syscall-list-32bit-options)
90089         (syscall-list-32bit-condition, syscall-list-64bit-options)
90090         (syscall-list-64bit-condition): Define.
90091         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
90092         Remove.
90093         (syscall-list-variants, syscall-list-32bit-options)
90094         (syscall-list-32bit-condition, syscall-list-64bit-options)
90095         (syscall-list-64bit-condition): Define.
90097 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
90099         * locale/iso-639.def: Add brx entry.
90101         [BZ #13328]
90102         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
90103         Proposed by Mariusz_Cukr <marcukr@op.pl>.
90105         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
90106         __feraiseexcept_renamed.
90108 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
90110         [BZ #13538]
90111         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
90112         EPOLLET with unsigned values.
90113         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
90114         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
90116         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
90117         to large cancellation.
90118         * math/s_cacoshf.c: Likewise.
90119         * math/s_cacoshl.c: Likewise.
90121 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
90123         [BZ #13305]
90124         [BZ #12786]
90125         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
90126         * math/s_cacoshf.c: Likewise.
90127         * math/s_cacoshl.c: Likewise.
90129 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
90131         [BZ #13439]
90132         * iconv/gconv.h: Define __GCONV_SWAP.
90133         * iconvdata/unicode.c: The swap bit must be stored in __flags.
90134         * iconvdata/utf-16.c: Likewise.
90135         * iconvdata/utf-32.c: Likewise.
90137 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
90139         [BZ #13524]
90140         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
90141         numerator after shifting it by one limb.
90143 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
90145         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
90146         under [__USE_EXTERN_INLINES].
90148 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
90150         [BZ #13446]
90151         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
90153 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90155         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
90156         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
90157         optimized code.
90158         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
90159         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
90160         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
90161         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
90162         for strncasecmp/strncasecmp_l compilation.
90163         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
90164         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
90166 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
90168         [BZ #13484]
90169         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
90170         of __asm__.
90172 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
90174         [BZ #13506]
90175         * time/tzfile.c (__tzfile_read): Check values from file header.
90177 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
90179         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
90180         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
90181         * powerpc/powerpc32/dl-start.S: Likewise.
90182         * powerpc/powerpc32/elf/start.S: Likewise.
90183         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
90184         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
90185         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
90186         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
90187         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
90188         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
90189         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
90190         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
90191         * powerpc/powerpc32/fpu/s_round.S: Likewise.
90192         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
90193         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
90194         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
90195         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
90196         * powerpc/powerpc32/memset.S: Likewise.
90197         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
90198         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
90199         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
90200         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
90201         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
90202         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
90203         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
90204         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
90205         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
90206         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
90207         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
90208         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
90209         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
90211 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90213         * math/libm-test.inc: Added more nearbyint tests.
90214         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
90215         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
90216         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
90217         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
90219 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
90221         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
90222         FD_CLOEXEC.
90224 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90226         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
90227         Add wcscpy-ssse3 wcscpy-c.
90228         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
90229         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
90230         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
90231         * sysdeps/x86_64/wcschr.S: New file.
90232         * sysdeps/x86_64/wcsrchr.S: New file.
90233         * string/test-strcmp.c: Remove checking of wcscmp function for
90234         wrong alignments.
90235         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
90236         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
90237         wcsrchr-sse2 wcsrchr-c.
90238         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
90239         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
90240         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
90241         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
90242         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
90243         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
90244         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
90245         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
90246         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
90247         * wcsmbc/wcschr.c (WCSCHR): New macro.
90249 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90251         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
90252         * wcsmbs/test-wcsrchr.c: New file.
90253         * string/test-strrchr.c: Add wcsrchr support.
90254         (WIDE): New macro.
90255         * wcsmbs/test-wcscpy.c: New file.
90256         * string/test-strcpy.c: Add wcscpy support.
90257         (WIDE): New macro.
90259 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
90261         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
90262         the inner loop.
90264 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
90266         [BZ #13472]
90267         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
90269 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
90271         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
90272         Minor optimizations.
90274         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
90275         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
90276         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
90278 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
90280         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
90281         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
90282         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
90283         for gcc to avoid warnings.
90284         * inet/Makefile (tests): Add tst-checks.
90285         * inet/tst-checks.c: New file.
90287         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
90288         warning.
90290         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
90291         __wmemcmp_sse2.
90293         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
90294         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
90296         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
90298 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
90300         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
90301         problem.
90303         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
90305 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
90307         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
90308         conditional on GCC version.
90309         (__arch_compare_and_exchange_val_8_acq)
90310         (__arch_compare_and_exchange_val_16_acq)
90311         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
90312         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
90313         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
90315 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
90317         * sysdeps/sh/backtrace.c: New file.
90319 2011-12-02  Andreas Schwab  <schwab@redhat.com>
90321         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
90322         parenthesis.
90324 2011-12-01  Andreas Schwab  <schwab@redhat.com>
90326         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
90327         falling back to utime.
90329 2011-11-30  Andreas Schwab  <schwab@redhat.com>
90331         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
90332         expectations for float.
90334 2011-11-29  Andreas Schwab  <schwab@redhat.com>
90336         * locale/weight.h (findidx): Add parameter len.
90337         * locale/weightwc.h (findidx): Likewise.
90338         * posix/fnmatch_loop.c (FCT): Adjust caller.
90339         * posix/regcomp.c (build_equiv_class): Likewise.
90340         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
90341         * posix/regexec.c (check_node_accept_bytes): Likewise.
90342         * string/strcoll_l.c (STRCOLL): Likewise.
90343         * string/strxfrm_l.c (STRXFRM): Likewise.
90345 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
90347         * Makefile.in: Remove CVSOPT handling.
90348         * configure.in: Remove use of AC_REVISION.
90349         * iconvdata/Makefile (distribute): No need to filter out CVS.
90350         * scripts/list-sources.sh: Remove CVS, subversion and monotone
90351         handling.
90353 2011-11-16  Andreas Schwab  <schwab@redhat.com>
90355         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
90356         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
90357         [USE_AS_STRNCASECMP_L]: Likewise.
90358         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
90359         NO_TLS_DIRECT_SEG_REFS.
90360         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
90361         Fix argument offsets for non-PIC.
90362         [USE_AS_STRNCASECMP_L]: Likewise.
90363         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
90364         NO_TLS_DIRECT_SEG_REFS.
90366 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90368         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
90369         O_CLOEXEC.
90370         * locale/loadlocale.c (_nl_load_locale): Likewise.
90372 2011-11-15  Andreas Schwab  <schwab@redhat.com>
90374         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
90375         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
90376         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
90377         (SYSCALL_GETTIME): Set errno on error.
90379         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
90380         count references to noai6ai_cached.
90382 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
90384         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
90386         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
90387         FD_CLOEXEC for /proc/self/maps.
90389         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
90390         FD_CLOEXEC for /proc/meminfo.
90392         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
90393         gai.conf.
90395         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
90396         FD_CLOEXEC for given file.
90398         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
90400         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
90401         FD_CLOEXEC for /etc/hosts.
90402         (_gethtent): Likewise.
90404         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
90406         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
90407         cancellation and set FD_CLOEXEC for /etc/netgroup.
90409         * nss/nss_files/files-key.c (search): Don't allow cancellation when
90410         reading /etc/publickey.
90412         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
90413         allow cancellation when reading /etc/group.
90415         * nss/nss_files/files-alias.c (internal_setent): Don't allow
90416         cancellation.
90417         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
90419         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
90420         when using data file.
90422         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
90424         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
90425         (write_nis_obj): Use "c" and "e" in fopen.
90427         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
90429         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
90431         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
90433         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
90435         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
90436         locale.alias.
90438         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
90440         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
90442         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
90444         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
90445         file parsing and set FD_CLOEXEC.
90447 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90449         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
90451 2011-11-14  Andreas Schwab  <schwab@redhat.com>
90453         * malloc/arena.c (arena_get2): Don't call reused_arena when
90454         _int_new_arena failed.
90456 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
90458         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
90459         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
90460         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
90461         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
90462         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
90463         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
90464         to compile strcasecmp and strncasecmp.
90465         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
90466         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
90468         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
90470 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
90472         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
90473         locale-defines.sym to gen-as-const-headers.
90474         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
90475         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
90476         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
90477         to compile strcasecmp and strncasecmp.
90478         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
90479         strcasecmp_l and strncasecmp_l.
90480         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
90481         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
90482         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
90483         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
90484         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
90485         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
90486         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
90487         * sysdeps/i386/i686/multiarch/strncase.S: New file.
90488         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
90489         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
90490         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
90492 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
90494         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
90495         result of SYSDEP_GETTIME_CPU to retval.
90496         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
90497         parameter list to macro.  Remove trailing semicolon.  Adjust users.
90499         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
90500         variable.
90502         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
90503         mantissa words.
90504         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
90506         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
90507         from unused variable.
90509         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
90510         DWARF definitions.
90511         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
90512         for assembling.
90514         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
90515         over namespaces.
90517         * sunrpc/rpc_prot.c (rejected): Fix case value.
90519         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
90520         unsigned long long int to avoid warnings in shift.
90522         * posix/regex_internal.c (re_string_reconstruct): Actually use result
90523         of use of trans.
90524         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
90525         variable tmp.
90527         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
90528         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
90529         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
90531         * nis/nis_table.c (nis_list): Use variable of correct type for
90532         result of __follow_path call.
90534 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
90536         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
90537         of math functions ceil, trunc, floor, round, and sqrt, when
90538         avaliable on the platform.
90539         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
90540         name clash.
90541         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90542         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90543         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90545 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
90547         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
90548         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
90550 2011-11-11  Roland McGrath  <roland@hack.frob.com>
90552         * include/unistd.h: Fix __readlink return type.
90553         Reported by Chris Metcalf <cmetcalf@tilera.com>.
90555 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
90557         * stdlib/ucontext.h: Undo last change for makecontext.
90559 2011-11-11  Andreas Schwab  <schwab@redhat.com>
90561         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
90563         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
90564         * setjmp/setjmp.h: Mark functions as non-leaf.
90565         * setjmp/bits/setjmp2.h: Likewise.
90566         * stdlib/ucontext.h: Likewise.
90568 2011-11-10  Andreas Schwab  <schwab@redhat.com>
90570         * malloc/arena.c (_int_new_arena): Don't increment narenas.
90571         (reused_arena): Don't check arena limit.
90572         (arena_get2): Atomically check arena limit.
90574 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
90576         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
90577         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
90579         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
90580         instructions.
90582 2011-11-07  Andreas Schwab  <schwab@redhat.com>
90584         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
90585         handler when locking.
90587         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
90588         Fix size of allocated buffer.
90590 2011-11-04  Andreas Schwab  <schwab@redhat.com>
90592         [BZ #10103]
90593         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
90594         declarations for long double functions.
90595         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
90597         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
90599 2011-11-03  Andreas Schwab  <schwab@redhat.com>
90601         * nscd/nscd.c (main): Don't start AVC thread until credentials are
90602         installed.
90604         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
90605         is disabled.
90607 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
90609         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
90611 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
90613         * include/alloca.h (stackinfo_alloca_round): Define.
90614         (extend_alloca): Use it.
90615         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
90616         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
90617         here.
90619         * scripts/check-local-headers.sh: Ignore libaudit.h.
90621         * nscd/Makefile (extra-objs): Make recursively expanded.
90623 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
90625         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
90626         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
90628         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
90629         * posix/tst-rfc3484-2.c: Likewise.
90630         * posix/tst-rfc3484-3.c: Likewise.
90632         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
90633         process_vm_writev.
90634         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
90635         process_vm_writev.
90636         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
90637         process_vm_writev from libc using GLIBC_2.15 version.
90639         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
90641 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
90643         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
90644         stack usage.
90646 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
90648         [BZ #13367]
90649         * nss/getent.c (initgroups_keys): Show error message in case no group
90650         names are given.
90652         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
90653         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
90654         __bump_nl_timestamp.
90655         * nscd/connections (nscd_init): When host database is served open
90656         netlink socket and request notification about configuration changes.
90657         (main_loop_poll): Track netlink file descriptor and bump timestamp
90658         in case data becomes available.
90659         (main_loop_epoll): Likewise.
90660         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
90661         (database_pers_head): Add extra_data fileds.
90662         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
90663         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
90664         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
90665         Adjust caller.
90666         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
90667         in6ai data, call __free_in6ai.
90668         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
90669         Add -DHAVE_NETLINK.
90670         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
90671         interface information.  Reuse previous data if netlink timestamp
90672         is not changed.
90673         (__bump_nl_timestamp): New function.
90674         (__free_in6ai): New function.
90676 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
90678         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
90679         close_not_cancel_no_status here.
90680         (__check_pf): Reorganize code a bit to not call close twice if OOM.
90682 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90684         [BZ #13276]
90685         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
90686         return value.
90688         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
90689         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
90690         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
90692 2011-07-03  Andreas Jaeger  <aj@suse.de>
90694         [BZ #10709]
90695         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
90696         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
90697         * math/libm-test.inc (sin_test): Add test case.
90699 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
90701         [BZ #13337]
90702         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
90703         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90705         * elf/chroot_canon.c (chroot_canon): Cleanups.
90707         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
90709         [BZ #13335]
90710         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
90711         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
90713         * string/test-strchr.c: Make usable for strchrnul testing.
90714         * string/test-strchrnul.c: New file.
90715         * string/Makefile (strop-tests): Add strchrnul.
90717         * po/it.po: Update from translation team.
90718         * po/es.po: Likewise.
90720 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
90722         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
90723         the three constants needed as parameters.  Drop the others.
90724         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
90725         __m128i_strloadu_tolower.
90726         Create and initialize variable zero and use it in all the places
90727         where _mm_setzero_si128 was used.
90729         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
90730         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
90731         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
90732         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
90733         anymore.
90734         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
90735         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
90736         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
90737         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
90738         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
90739         __mpranred, __mptan.
90740         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
90741         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
90742         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
90743         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
90744         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
90745         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
90746         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
90747         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
90748         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
90750 2011-10-28  Andreas Schwab  <schwab@redhat.com>
90752         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
90753         redefine if SHARED.
90754         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
90756         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
90757         wide char related routines to wcsmbs subdir.
90759 2011-10-27  Andreas Schwab  <schwab@redhat.com>
90761         [BZ #13344]
90762         * misc/sys/cdefs.h (__THROWNL): Define.
90763         * posix/unistd.h: Use __THREADNL instead of __THREAD
90764         for memory synchronization functions.
90766 2011-10-26  Roland McGrath  <roland@hack.frob.com>
90768         [BZ #13349]
90769         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
90770         doesn't exist.
90771         * manual/stdio.texi (Obstack Streams): Node removed.
90773 2011-10-26  Andreas Schwab  <schwab@redhat.com>
90775         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
90776         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90777         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90779         * math/math_private.h (math_force_eval): Allow non-addressable
90780         arguments.
90781         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
90783 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90785         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
90786         file is not needed.
90788         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
90789         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
90790         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
90791         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
90792         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
90793         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
90794         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
90795         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
90796         Add AVX variants.
90797         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
90798         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
90799         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
90800         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
90801         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
90802         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
90803         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
90804         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
90805         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
90806         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
90807         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
90808         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
90809         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
90810         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
90811         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
90812         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
90813         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
90814         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
90815         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
90817         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
90818         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
90820         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
90821         place.  Use VEX encoding when compiling for AVX.
90823 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90825         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
90826         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
90828         * string/test-strchr.c (do_test): Don't generate NUL bytes.
90830 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90832         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
90833         useless if() expression.
90834         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90835         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
90836         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
90837         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90838         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
90839         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
90840         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90842         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
90843         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90844         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90845         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90846         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
90847         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90848         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
90849         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
90850         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90851         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90852         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
90854         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
90856 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90858         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90859         condition.
90860         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90862 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90864         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90865         .text section.  Avoid duplicate constants.
90866         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90868         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90873         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90874         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90875         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90876         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90877         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90878         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90879         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90880         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90881         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90882         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90883         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90886         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90887         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90888         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90889         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90890         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90891         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90892         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90893         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90894         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90895         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90896         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90897         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90898         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90899         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90900         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90901         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90902         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90903         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90904         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90905         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90906         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90907         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90908         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90909         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90910         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90912 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90914         * sysdeps/x86_64/dla.h: Move to ...
90915         * sysdeps/x86_64/fpu/dla.h: ...here.
90916         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90917         situations.  Use __builtin_fma only for gcc 4.6 and up.
90919         * config.make.in: Add have-mfma4 entry.
90920         * configure.in: Substitute libc_cv_cc_fma4.
90921         * math/Makefile (dbl-only-routines): Add sincostab.
90922         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90923         Use __sincostab not sincos.
90924         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90925         name is a macro.
90926         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90927         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90928         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90929         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90930         using __copysign.
90931         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90932         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90933         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90934         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90935         and __inv.
90936         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90937         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90938         __copysign.
90939         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90940         define aliases when function name is a macro.
90941         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90942         sysdeps/ieee754/dbl-64/sincos.tbl.
90943         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90944         fma4-enabled routines.
90945         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90946         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90947         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90948         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90949         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90950         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90951         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90952         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90953         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90954         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90955         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90956         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90957         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90958         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90959         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90960         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90961         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90962         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90963         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90964         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90965         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90966         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90967         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90968         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90969         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90970         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90971         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90972         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90973         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90974         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90976         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90977         rename.
90978         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90979         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90980         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90981         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90982         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90983         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90984         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90985         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90987 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90989         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90991 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90993         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90995         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90996         prediction.
90997         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90999         * string/strnlen.c: Don't define STRNLEN, reverse logic.
91000         Remove unused variable magic_bits.
91001         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
91003         * string/strnlen.c: Define and use STRNLEN macro.
91004         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
91005         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
91006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
91007         * wcsmbs/wcslen.c: Define and use WCSLEN.
91008         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
91009         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
91010         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
91011         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
91012         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
91013         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
91014         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91016 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91018         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91019         strnlen-sse2-no-bsf.
91020         Rename strlen-no-bsf to strlen-sse2-no-bsf.
91021         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
91022         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
91023         Add strnlen support.
91024         (USE_AS_STRNLEN): New macro.
91025         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
91026         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
91027         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
91028         * sysdeps/x86_64/wcslen.S: New file.
91030 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
91032         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
91033         XMM-moves are used for copying on small sizes.
91035 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91037         * wcsmbs/Makefile (strop-tests): Add wcschr.
91038         * wcsmbs/test-wcschr.c: New file.
91039         * string/test-strchr.c: Update.
91040         Add wcschr support.
91041         (WIDE): New macro.
91043 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91045         * wcsmbs/Makefile (strop-tests): Add wcslen.
91046         * wcsmbs/test-wcslen.c: New file.
91047         * string/test-strlen.c: Update.
91048         Add wcslen support.
91049         (WIDE): New macro.
91051 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
91053         * po/it.po: Update from translation team.
91055 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91057         * sysdeps/x86_64/wcscmp.S: Update.
91058         Fix wrong comparison semantics.
91059         wcscmp shall use signed comparison not unsigned.
91060         Don't use substraction to avoid overflow bug.
91061         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
91062         * wcsmbc/wcscmp.c: Likewise.
91063         * string/test-strcmp.c: Likewise.
91064         Add new tests to check cases with negative values.
91066 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
91068         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
91069         * sysdeps/x86_64/dla.h: ...here.  New file.
91070         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
91071         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91072         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91073         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91074         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91075         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91076         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91077         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91078         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91080 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
91082         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
91083         __ynl_finite aliases.
91085 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
91087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
91089         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
91090         define DLA_FMA.
91091         [DLA_FMA] (EMULV): Use DLA_FMA.
91092         [DLA_FMA] (MUL12): Use EMULV.
91093         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
91094         that are not needed.
91095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
91096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91097         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91098         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91100         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
91101         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
91103 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
91105         * math/s_nan.c: Undef __nan.
91106         * math/s_nanf.c: Undef __nanf.
91107         * math/s_nanl.c: Undef __nanl.
91108         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
91109         "math_private.h".
91111 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
91113         * math/s_catan.c: Add branch predictions.
91114         * math/s_catanf.c: Likewise.
91115         * math/s_catanh.c: Likewise.
91116         * math/s_catanhf.c: Likewise.
91117         * math/s_catanhl.c: Likewise.
91118         * math/s_catanl.c: Likewise.
91119         * math/s_cexp.c: Likewise.
91120         * math/s_cexpf.c: Likewise.
91121         * math/s_cexpl.c: Likewise.
91122         * math/s_clog.c: Likewise.
91123         * math/s_clog10.c: Likewise.
91124         * math/s_clog10f.c: Likewise.
91125         * math/s_clog10l.c: Likewise.
91126         * math/s_clogf.c: Likewise.
91127         * math/s_clogl.c: Likewise.
91128         * math/s_csqrt.c: Likewise.
91129         * math/s_csqrtf.c: Likewise.
91130         * math/s_csqrtl.c: Likewise.
91131         * math/s_ctanf.c: Likewise.
91132         * math/s_ctanh.c: Likewise.
91133         * math/s_ctanhf.c: Likewise.
91134         * math/s_ctanhl.c: Likewise.
91135         * math/s_ctanl.c: Likewise.
91137         * math/math_private.h: Define __nan, __nanf, __nanl.
91138         * math/s_cacosh.c: Include <math_private.h>.
91139         * math/s_cacoshl.c: Likewise.
91140         * math/s_casinh.c: Likewise.
91141         * math/s_casinhf.c: Likewise.
91142         * math/s_casinhl.c: Likewise.
91143         * math/s_ccos.c: Rely entire on ccosh.
91144         * math/s_ccosf.c: Rely entire on ccoshf.
91145         * math/s_ccosl.c: Rely entirely on ccoshl.
91146         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
91147         Remove tests for FE_INVALID.
91148         * math/s_ccoshf.c: Likewise.
91149         * math/s_ccoshl.c: Likewise.
91150         * math/s_csin.c: Likewise.
91151         * math/s_csinf.c: Likewise.
91152         * math/s_csinh.c Likewise.
91153         * math/s_csinhf.c: Likewise.
91154         * math/s_csinhl.c: Likewise.
91155         * math/s_csinl.c: Likewise.
91156         * math/s_ctan.c: Likewise.
91157         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
91158         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
91159         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
91161 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
91163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
91164         compilation problems.
91166         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
91167         __builtin_expect.
91169 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
91171         * sysdeps/i386/configure.in: Test for -mfma4 option.
91172         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
91173         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
91174         COMMON_CPUID_INDEX_80000001.
91175         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
91176         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
91177         use it if FMA3 is not supported.
91178         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
91180         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
91181         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
91183 2011-10-20  Andreas Schwab  <schwab@redhat.com>
91185         [BZ #12892]
91186         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
91187         it would create a cycle with a link time dependency.
91189 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
91191         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
91192         instruction.
91193         * string/Makefile (strop-tests): Add rawmemchr.
91194         * string/test-rawmemchr.c: New file.
91196         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
91197         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
91198         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
91199         when compiling str{,n}casecmp and when AVX is available.  Hook up
91200         new optimized code in initializers.
91202 2011-10-19  Andreas Schwab  <schwab@redhat.com>
91204         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
91205         __feraiseexcept instead of feraiseexcept.
91207 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
91209         * math/math_private.h: Define defaults for libc_fetestexcept and
91210         libc_feupdateenv.
91211         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
91212         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
91213         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91214         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91215         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
91216         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91217         libc_fetestexcept and libc_feupdateenv.
91219         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
91220         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
91221         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
91222         * sysdeps/x86_64/fpu/math_private.h: Define special version of
91223         libc_feholdexcept_setround.
91225         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
91226         Add s_nearbyint-c and s_nearbyintf-c.
91227         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
91228         nearbyintf inlines.
91229         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
91230         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
91231         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
91232         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
91234         * math/math_private.h: Define defaults for libc_fegetround,
91235         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
91236         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
91237         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
91238         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
91239         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
91240         standard functions.
91241         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91242         Remove comments and hacks for old compiler versions.
91243         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
91244         libc_fegetround, libc_fesetround, libc_feholdexcept, and
91245         libc_feholdexceptl.
91247 2011-10-18  Andreas Schwab  <schwab@redhat.com>
91249         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
91250         (__feraiseexcept_renamed): Add __NTH.
91251         (feraiseexcept): Add __NTH.  Rename local variables to fix
91252         namespace violations.
91254 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
91256         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
91258         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
91260         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
91261         recently added interfaces.
91262         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
91264         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
91265         about macro parameter expansion.
91267         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
91268         __NO_MATH_INLINES is defined.  Cleanups.
91270         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
91271         and __floorf is target has SSE4.1.
91272         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
91273         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
91274         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
91275         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
91277         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
91278         name.
91279         (floorf): Likewise.
91281         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
91283 2011-10-17  Andreas Schwab  <schwab@redhat.com>
91285         * misc/sys/cdefs.h: Fix last change.
91287         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
91288         database lookup.
91290 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
91292         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
91294         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
91295         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
91296         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
91297         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
91298         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
91299         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
91300         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
91301         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
91302         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
91303         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
91304         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
91305         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
91306         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
91307         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
91308         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
91309         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
91310         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
91311         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
91312         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
91313         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
91314         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
91315         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
91317         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
91318         ceil, ceilf, floor, floorf.
91320         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
91321         Perform IRELATIVE relocations last.
91323         * elf/do-rel.h: Add another parameter nrelative, replacing the
91324         local variable with the same name.  Change name of the function
91325         to end in Rel or Rela (uppercase).
91326         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
91327         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
91328         elf_dynamic_do_##reloc function.
91330 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91332         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
91333         is sufficient, at least on modern CPUs.
91335         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
91337         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
91338         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
91340         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
91341         __expl_finite.
91342         * math/bits/math-finite.h: Add entries for exp.
91343         * math/e_expl.c: Add __*_finite alias.
91344         * sysdeps/i386/fpu/e_exp.S: Likewise.
91345         * sysdeps/i386/fpu/e_expf.S: Likewise.
91346         * sysdeps/i386/fpu/e_expl.c: Likewise.
91347         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
91348         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
91349         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
91350         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
91351         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
91352         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
91353         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
91355         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
91356         is sufficient, at least on modern CPUs.
91358         * ctype/ctype-info.c (__ctype_init): Define.
91359         * include/ctype.h (__ctype_init): Declare.
91360         (__ctype_b_loc): The variable is always initialized.
91361         (__ctype_toupper_loc): Likewise.
91362         (__ctype_tolower_loc): Likewise.
91363         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
91364         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
91366 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
91368         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
91370         * configure.in: Also look in $cxxmachine/include for C++ system
91371         headers.
91373 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91375         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
91376         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
91377         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
91378         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
91379         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
91380         (USE_AS_WMEMCMP): New macro.
91381         Fixing indents.
91382         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
91383         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
91384         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
91385         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
91386         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91387         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
91388         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
91389         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
91390         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
91391         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
91392         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
91393         (USE_AS_WMEMCMP): New macro.
91394         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
91395         * sysdeps/string/test-memcmp.c: Update.
91396         Fix simple_wmemcmp.
91397         Add new tests.
91398         * wcsmbs/wmemcmp.c: Update.
91399         (WMEMCMP): New macro.
91400         Fix overflow bug.
91402 2011-10-12  Andreas Jaeger  <aj@suse.de>
91404         [BZ #13268]
91405         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
91407 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
91409         * libio/iofwide.c (do_length): Avoid warning.
91411         * ctype/ctype.h (__isctype_f): Add missing __THROW.
91413 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
91415         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
91417         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
91418         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
91419         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
91420         * sysdeps/i386/i686/fpu/e_log.S: New file.
91421         * sysdeps/i386/i686/fpu/e_logf.S: New file.
91422         * sysdeps/i386/i686/fpu/e_logl.S: New file.
91424         * ctype/ctype.h: Add support for inlined isXXX functions when
91425         compiling C++ code.
91427 2011-10-14  Andreas Schwab  <schwab@redhat.com>
91429         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91431         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
91433 2011-10-13  Roland McGrath  <roland@hack.frob.com>
91435         [BZ #13291]
91436         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
91438 2011-10-13  Andreas Schwab  <schwab@redhat.com>
91440         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
91441         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
91442         feraiseexcept.
91444         * sysdeps/x86_64/memrchr.S: Check for zero size.
91446         * string/stratcliff.c: Add memrchr tests.
91448 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91450         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91451         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
91452         rawmemchr-sse2 rawmemchr-sse2-bsf.
91453         * sysdeps/i386/i686/multiarch/memchr.S: New file.
91454         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
91455         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
91456         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
91457         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
91458         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
91459         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
91460         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
91461         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
91462         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
91463         * string/memrchr.c (MEMRCHR): New macro.
91465 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
91467         Add integration with gcc's -ffinite-math-only and optimize wrapper
91468         functions in libm.
91469         * Versions.def: Define GLIBC_2.15 version for libm.
91470         * math/Makefile (headers): Add bits/math-finite.h.
91471         * math/bits/math-finite.h: New file.
91472         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
91473         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
91474         * math/e_acoshl.c: Add __*_finite alias.
91475         * math/e_acosl.c: Likewise.
91476         * math/e_asinl.c: Likewise.
91477         * math/e_atan2l.c: Likewise.
91478         * math/e_atanhl.c: Likewise.
91479         * math/e_coshl.c: Likewise.
91480         * math/e_exp10.c: Likewise.
91481         * math/e_exp10f.c: Likewise.
91482         * math/e_exp10l.c: Likewise.
91483         * math/e_exp2l.c: Likewise.
91484         * math/e_fmodl.c: Likewise.
91485         * math/e_gammal_r.c: Likewise.
91486         * math/e_hypotl.c: Likewise.
91487         * math/e_j0l.c: Likewise.
91488         * math/e_j1l.c: Likewise.
91489         * math/e_jnl.c: Likewise.
91490         * math/e_lgammal_r.c: Likewise.
91491         * math/e_log10l.c: Likewise.
91492         * math/e_log2l.c: Likewise.
91493         * math/e_logl.c: Likewise.
91494         * math/e_powl.c: Likewise.
91495         * math/e_sinhl.c: Likewise.
91496         * math/e_sqrtl.c: Likewise.
91497         * math/e_scalb.c: Completely rewritten and optimized.
91498         * math/e_scalbf.c: Likewise.
91499         * math/e_scalbl.c: Likewise.
91500         * math/w_acos.c: Likewise.
91501         * math/w_acosf.c: Likewise.
91502         * math/w_acosl.c: Likewise.
91503         * math/w_acosh.c: Likewise.
91504         * math/w_acoshf.c: Likewise.
91505         * math/w_acoshl.c: Likewise.
91506         * math/w_asin.c: Likewise.
91507         * math/w_asinf.c: Likewise.
91508         * math/w_asinl.c: Likewise.
91509         * math/w_atan2.c: Likewise.
91510         * math/w_atan2f.c: Likewise.
91511         * math/w_atan2l.c: Likewise.
91512         * math/w_atanh.c: Likewise.
91513         * math/w_atanhf.c: Likewise.
91514         * math/w_atanhl.c: Likewise.
91515         * math/w_exp10.c: Likewise.
91516         * math/w_exp10f.c: Likewise.
91517         * math/w_exp10l.c: Likewise.
91518         * math/w_fmod.c: Likewise.
91519         * math/w_fmodf.c: Likewise.
91520         * math/w_fmodl.c: Likewise.
91521         * math/w_j0.c: Likewise.
91522         * math/w_j0f.c: Likewise.
91523         * math/w_j0l.c: Likewise.
91524         * math/w_j1.c: Likewise.
91525         * math/w_j1f.c: Likewise.
91526         * math/w_j1l.c: Likewise.
91527         * math/w_jn.c: Likewise.
91528         * math/w_jnf.c: Likewise.
91529         * math/w_log.c: Likewise.
91530         * math/w_logf.c: Likewise.
91531         * math/w_logl.c: Likewise.
91532         * math/w_log10.c: Likewise.
91533         * math/w_log10f.c: Likewise.
91534         * math/w_log10l.c: Likewise.
91535         * math/w_log2.c: Likewise.
91536         * math/w_log2f.c: Likewise.
91537         * math/w_log2l.c: Likewise.
91538         * math/w_pow.c: Likewise.
91539         * math/w_powf.c: Likewise.
91540         * math/w_powl.c: Likewise.
91541         * math/w_remainder.c: Likewise.
91542         * math/w_remainderf.c: Likewise.
91543         * math/w_remainderl.c: Likewise.
91544         * math/w_scalb.c: Likewise.
91545         * math/w_scalbf.c: Likewise.
91546         * math/w_scalbl.c: Likewise.
91547         * math/w_sqrt.c: Likewise.
91548         * math/w_sqrtf.c: Likewise.
91549         * math/w_sqrtl.c: Likewise.
91550         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
91551         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
91552         used.
91553         * math/math_private.h: Declare __kernel_standard_f.
91554         * math/w_cosh.c: Remove cruft and optimize a bit.
91555         * math/w_coshf.c: Likewise.
91556         * math/w_coshl.c: Likewise.
91557         * math/w_exp2.c: Likewise.
91558         * math/w_exp2f.c: Likewise.
91559         * math/w_exp2l.c: Likewise.
91560         * math/w_hypot.c: Likewise.
91561         * math/w_hypotf.c: Likewise.
91562         * math/w_hypotl.c: Likewise.
91563         * math/w_lgamma.c: Likewise.
91564         * math/w_lgamma_r.c: Likewise.
91565         * math/w_lgammaf.c: Likewise.
91566         * math/w_lgammaf_r.c: Likewise.
91567         * math/w_lgammal.c: Likewise.
91568         * math/w_lgammal_r.c: Likewise.
91569         * math/w_sinh.c: Likewise.
91570         * math/w_sinhf.c: Likewise.
91571         * math/w_sinhl.c: Likewise.
91572         * math/w_tgamma.c: Likewise.
91573         * math/w_tgammaf.c: Likewise.
91574         * math/w_tgammal.c: Likewise.
91575         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
91576         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
91577         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
91578         Minor optimizations.  Pretty printing.  Remove cruft.
91579         * sysdeps/i386/fpu/e_acosf.S: Likewise.
91580         * sysdeps/i386/fpu/e_acosh.S: Likewise.
91581         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
91582         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
91583         * sysdeps/i386/fpu/e_acosl.c: Likewise.
91584         * sysdeps/i386/fpu/e_asin.S: Likewise.
91585         * sysdeps/i386/fpu/e_asinf.S: Likewise.
91586         * sysdeps/i386/fpu/e_atan2.S: Likewise.
91587         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
91588         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
91589         * sysdeps/i386/fpu/e_atanh.S: Likewise.
91590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
91591         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
91592         * sysdeps/i386/fpu/e_exp10.S: Likewise.
91593         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
91594         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
91595         * sysdeps/i386/fpu/e_exp2.S: Likewise.
91596         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
91597         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
91598         * sysdeps/i386/fpu/e_fmod.S: Likewise.
91599         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
91600         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
91601         * sysdeps/i386/fpu/e_hypot.S: Likewise.
91602         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
91603         * sysdeps/i386/fpu/e_log.S: Likewise.
91604         * sysdeps/i386/fpu/e_log10.S: Likewise.
91605         * sysdeps/i386/fpu/e_log10f.S: Likewise.
91606         * sysdeps/i386/fpu/e_log10l.S: Likewise.
91607         * sysdeps/i386/fpu/e_log2.S: Likewise.
91608         * sysdeps/i386/fpu/e_log2f.S: Likewise.
91609         * sysdeps/i386/fpu/e_log2l.S: Likewise.
91610         * sysdeps/i386/fpu/e_logf.S: Likewise.
91611         * sysdeps/i386/fpu/e_logl.S: Likewise.
91612         * sysdeps/i386/fpu/e_pow.S: Likewise.
91613         * sysdeps/i386/fpu/e_powf.S: Likewise.
91614         * sysdeps/i386/fpu/e_powl.S: Likewise.
91615         * sysdeps/i386/fpu/e_remainder.S: Likewise.
91616         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
91617         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
91618         * sysdeps/i386/fpu/e_scalb.S: Likewise.
91619         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
91620         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
91621         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
91622         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
91623         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
91624         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
91625         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
91626         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
91627         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
91628         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
91629         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
91630         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
91631         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
91632         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
91633         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
91634         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
91635         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
91636         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
91637         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
91638         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
91639         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
91640         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
91641         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
91642         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
91643         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
91644         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
91645         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
91646         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
91647         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
91648         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
91649         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
91650         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
91651         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
91652         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
91653         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
91654         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
91655         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
91656         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91657         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
91658         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
91659         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
91660         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
91661         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
91662         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
91663         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
91664         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
91665         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
91666         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
91667         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
91668         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
91669         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
91670         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
91671         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
91672         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
91673         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
91674         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
91675         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
91676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
91677         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91678         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
91679         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
91680         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
91681         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
91682         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
91683         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
91684         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
91685         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
91686         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
91687         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
91688         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
91689         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
91690         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
91691         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
91692         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
91693         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
91694         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
91695         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
91696         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
91697         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
91698         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
91699         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
91700         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
91701         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
91702         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
91703         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
91704         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
91705         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
91706         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
91707         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
91708         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
91709         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
91710         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91711         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
91712         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
91713         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
91714         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
91715         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
91716         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
91717         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
91718         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
91719         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
91720         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
91721         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
91722         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
91723         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
91724         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
91725         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
91726         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
91727         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
91728         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
91729         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
91730         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
91731         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
91732         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
91733         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
91734         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
91735         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
91736         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
91737         (__isnanf): Likewise.
91738         (__isinf_ns): Likewise.
91739         (__isinf_nsf): Likewise.
91740         (__finite): Likewise.
91741         (__finitef): Likewise.
91742         (__ieee754_sqrt): Define as macro.
91743         (__ieee754_sqrtf): Define as macro.
91744         (__ieee754_sqrtl): Define as macro.
91745         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
91746         inlined copy.
91747         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
91748         __FINITE_MATH_ONLY__ consistent.
91749         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
91751 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
91753         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
91754         of rawmemchr.
91756         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
91758 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
91760         * po/ja.po: Update from translation team.
91762 2011-10-08  Roland McGrath  <roland@hack.frob.com>
91764         * locale/programs/locarchive.c (prepare_address_space): New function.
91765         (create_archive, enlarge_archive, open_archive): Use it.
91767         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
91768         inside [SHARED], where it is used.
91770         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
91772         * nss/getent.c (netgroup_keys): Remove unused variable.
91773         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
91775 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
91777         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
91778         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
91779         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
91780         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
91781         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
91782         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
91783         * math/Makefile (libm-calls): Add s_isinf_ns.
91784         * math/divtc3.c: Use __isinf_nsl instead of isinf.
91785         * math/multc3.c: Likewise.
91786         * math/s_casin.c: Likewise.
91787         * math/s_casinf.c: Likewise.
91788         * math/s_casinl.c: Likewise.
91789         * math/s_ccos.c: Likewise.
91790         * math/s_ccosf.c: Likewise.
91791         * math/s_ccosl.c: Likewise.
91792         * math/s_ctan.c: Likewise.
91793         * math/s_ctanf.c: Likewise.
91794         * math/s_ctanh.c: Likewise.
91795         * math/s_ctanhf.c: Likewise.
91796         * math/s_ctanhl.c: Likewise.
91797         * math/s_ctanl.c: Likewise.
91798         * math/w_fmod.c: Likewise.
91799         * math/w_fmodf.c: Likewise.
91800         * math/w_fmodl.c: Likewise.
91801         * math/w_remainder.c: Likewise.
91802         * math/w_remainderf.c: Likewise.
91803         * math/w_remainderl.c: Likewise.
91804         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
91805         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
91806         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
91807         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
91808         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
91809         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
91810         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
91811         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
91813         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
91814         of the number.
91815         * stdio-common/printf_fphex.c: Likewise.
91816         * stdio-common/printf_size.c: Likewise.
91818         * math/e_exp10.c: Include math_private.h using <...> not "...".
91819         * math/e_exp10f.c: Likewise.
91820         * math/e_exp10l.c: Likewise.
91821         * math/e_exp2l.c: Likewise.
91822         * math/e_j0l.c: Likewise.
91823         * math/e_j1l.c: Likewise.
91824         * math/e_jnl.c: Likewise.
91825         * math/e_lgammal_r.c: Likewise.
91826         * math/e_rem_pio2l.c: Likewise.
91827         * math/e_scalb.c: Likewise.
91828         * math/e_scalbf.c: Likewise.
91829         * math/e_scalbl.c: Likewise.
91830         * math/k_cosl.c: Likewise.
91831         * math/k_sinl.c: Likewise.
91832         * math/k_tanl.c: Likewise.
91833         * math/s_cacoshf.c: Likewise.
91834         * math/s_catan.c: Likewise.
91835         * math/s_catanf.c: Likewise.
91836         * math/s_catanh.c: Likewise.
91837         * math/s_catanhf.c: Likewise.
91838         * math/s_catanhl.c: Likewise.
91839         * math/s_catanl.c: Likewise.
91840         * math/s_ccosh.c: Likewise.
91841         * math/s_ccoshf.c: Likewise.
91842         * math/s_ccoshl.c: Likewise.
91843         * math/s_cexp.c: Likewise.
91844         * math/s_cexpf.c: Likewise.
91845         * math/s_cexpl.c: Likewise.
91846         * math/s_clog.c: Likewise.
91847         * math/s_clog10.c: Likewise.
91848         * math/s_clog10f.c: Likewise.
91849         * math/s_clog10l.c: Likewise.
91850         * math/s_clogf.c: Likewise.
91851         * math/s_clogl.c: Likewise.
91852         * math/s_csin.c: Likewise.
91853         * math/s_csinf.c: Likewise.
91854         * math/s_csinh.c: Likewise.
91855         * math/s_csinhf.c: Likewise.
91856         * math/s_csinhl.c: Likewise.
91857         * math/s_csinl.c: Likewise.
91858         * math/s_csqrt.c: Likewise.
91859         * math/s_csqrtf.c: Likewise.
91860         * math/s_csqrtl.c: Likewise.
91861         * math/s_ctan.c: Likewise.
91862         * math/s_ctanf.c: Likewise.
91863         * math/s_ctanh.c: Likewise.
91864         * math/s_ctanhf.c: Likewise.
91865         * math/s_ctanhl.c: Likewise.
91866         * math/s_ctanl.c: Likewise.
91867         * math/s_ldexp.c: Likewise.
91868         * math/s_ldexpf.c: Likewise.
91869         * math/s_ldexpl.c: Likewise.
91870         * math/s_significand.c: Likewise.
91871         * math/s_significandf.c: Likewise.
91872         * math/s_significandl.c: Likewise.
91873         * math/w_acos.c: Likewise.
91874         * math/w_acosf.c: Likewise.
91875         * math/w_acosh.c: Likewise.
91876         * math/w_acoshf.c: Likewise.
91877         * math/w_acoshl.c: Likewise.
91878         * math/w_acosl.c: Likewise.
91879         * math/w_asin.c: Likewise.
91880         * math/w_asinf.c: Likewise.
91881         * math/w_asinl.c: Likewise.
91882         * math/w_atan2.c: Likewise.
91883         * math/w_atan2f.c: Likewise.
91884         * math/w_atan2l.c: Likewise.
91885         * math/w_atanh.c: Likewise.
91886         * math/w_atanhf.c: Likewise.
91887         * math/w_atanhl.c: Likewise.
91888         * math/w_cosh.c: Likewise.
91889         * math/w_coshf.c: Likewise.
91890         * math/w_coshl.c: Likewise.
91891         * math/w_dremf.c: Likewise.
91892         * math/w_exp10.c: Likewise.
91893         * math/w_exp10f.c: Likewise.
91894         * math/w_exp10l.c: Likewise.
91895         * math/w_exp2.c: Likewise.
91896         * math/w_exp2f.c: Likewise.
91897         * math/w_fmod.c: Likewise.
91898         * math/w_fmodf.c: Likewise.
91899         * math/w_fmodl.c: Likewise.
91900         * math/w_hypot.c: Likewise.
91901         * math/w_hypotf.c: Likewise.
91902         * math/w_hypotl.c: Likewise.
91903         * math/w_j0.c: Likewise.
91904         * math/w_j0f.c: Likewise.
91905         * math/w_j0l.c: Likewise.
91906         * math/w_j1.c: Likewise.
91907         * math/w_j1f.c: Likewise.
91908         * math/w_j1l.c: Likewise.
91909         * math/w_jn.c: Likewise.
91910         * math/w_jnf.c: Likewise.
91911         * math/w_jnl.c: Likewise.
91912         * math/w_lgamma.c: Likewise.
91913         * math/w_lgamma_r.c: Likewise.
91914         * math/w_lgammaf.c: Likewise.
91915         * math/w_lgammaf_r.c: Likewise.
91916         * math/w_lgammal.c: Likewise.
91917         * math/w_lgammal_r.c: Likewise.
91918         * math/w_log.c: Likewise.
91919         * math/w_log10.c: Likewise.
91920         * math/w_log10f.c: Likewise.
91921         * math/w_log10l.c: Likewise.
91922         * math/w_log2.c: Likewise.
91923         * math/w_log2f.c: Likewise.
91924         * math/w_log2l.c: Likewise.
91925         * math/w_logf.c: Likewise.
91926         * math/w_logl.c: Likewise.
91927         * math/w_pow.c: Likewise.
91928         * math/w_powf.c: Likewise.
91929         * math/w_powl.c: Likewise.
91930         * math/w_remainder.c: Likewise.
91931         * math/w_remainderf.c: Likewise.
91932         * math/w_remainderl.c: Likewise.
91933         * math/w_scalb.c: Likewise.
91934         * math/w_scalbf.c: Likewise.
91935         * math/w_scalbl.c: Likewise.
91936         * math/w_sinh.c: Likewise.
91937         * math/w_sinhf.c: Likewise.
91938         * math/w_sinhl.c: Likewise.
91939         * math/w_sqrt.c: Likewise.
91940         * math/w_sqrtf.c: Likewise.
91941         * math/w_sqrtl.c: Likewise.
91942         * math/w_tgamma.c: Likewise.
91943         * math/w_tgammaf.c: Likewise.
91944         * math/w_tgammal.c: Likewise.
91946         * po/ja.po: Update from translation team.
91948 2011-09-29  Andreas Jaeger  <aj@suse.de>
91950         [BZ #13179]
91951         * sunrpc/netname.c (netname2host): Fix logic.
91953         [BZ #6779]
91954         [BZ #6783]
91955         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91956         correctly.
91957         * math/w_remainder.c (__remainder): Likewise.
91958         * math/w_remainderf.c (__remainderf): Likewise.
91959         * math/libm-test.inc (remainder_test): Add test cases.
91961 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91963         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91964         sdiv_qrnnd.
91966 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91968         * string/test-memcmp.c: Avoid unncessary #defines.
91969         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91971 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91973         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91974         Use new sse2 version for core i3 - i7 as it's faster
91975         than sse42 version.
91976         (bit_Prefer_PMINUB_for_stringop): New.
91977         * sysdeps/x86_64/rawmemchr.S: Update.
91978         Replace with faster SSE2 version.
91979         * sysdeps/x86_64/memrchr.S: New file.
91980         * sysdeps/x86_64/memchr.S: Update.
91981         Replace with faster SSE2 version.
91983 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91985         * elf/dl-load.c (lose): Add cast to avoid warning.
91987 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91989         * po/ca.po: Update from translation team.
91991         * inet/getnetgrent_r.c: Hook up nscd.
91992         * nscd/Makefile (routines): Add nscd_netgroup.
91993         (nscd-modules): Add netgroupcache.
91994         (CFLAGS-netgroupcache.c): Define.
91995         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91996         (cache_search): Add const to second parameter.
91997         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91998         INNETGR.
91999         (dbs): Add netgrdb entry.
92000         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
92001         (verify_persistent_db): Handle netgrdb.
92002         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
92003         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
92004         GETFDNETGR.
92005         (netgroup_response_header): Define.
92006         (innetgroup_response_header): Define.
92007         (datahead): Add netgroup_response_header and innetgroup_response_header
92008         elements.
92009         * nscd/nscd.conf: Add entries for netgroup cache.
92010         * nscd/nscd.h (dbtype): Add netgrdb.
92011         (_PATH_NSCD_NETGROUP_DB): Define.
92012         (netgroup_iov_disabled): Declare.
92013         (xmalloc, xcalloc, xrealloc): Move declarations here.
92014         (cache_search): Adjust prototype.
92015         Add netgroup-related prototypes.
92016         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
92017         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
92018         (__nscd_innetgr): Declare.
92019         * nscd/selinux.c (perms): Use access_vector_t as element type and
92020         add netgroup-related initializers.
92021         * nscd/netgroupcache.c: New file.
92022         * nscd/nscd_netgroup.c: New file.
92023         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
92024         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
92025         For four parameters use innetgr.
92026         * nss/nss_files/files-init.c: Add definition and callback for netgr.
92027         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
92028         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
92029         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
92031         * nscd/connections.c (register_traced_file): Don't register file
92032         for disabled databases.
92034 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
92036         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
92038         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
92039         from tree and freeing node.
92041 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
92043         * nss/nsswitch.c (__nss_database_lookup): Handle
92044         nss_parse_service_list out of memory case.
92046 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
92048         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
92049         out of memory case.
92051 2011-10-04  Andreas Schwab  <schwab@redhat.com>
92053         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
92054         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
92055         pass it down.
92056         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
92057         elf_machine_rela, elf_machine_lazy_rel.
92058         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
92059         (ELF_DYNAMIC_DO_REL): Likewise.
92060         (ELF_DYNAMIC_DO_RELA): Likewise.
92061         (ELF_DYNAMIC_RELOCATE): Likewise.
92062         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
92063         to ELF_DYNAMIC_DO_REL.
92064         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
92065         (dl_main): In trace mode always set __RTLD_NOIFUNC.
92066         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
92067         elf_machine_rela.
92068         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
92069         skip_ifunc, don't call ifunc function if non-zero.
92070         (elf_machine_rela): Likewise.
92071         (elf_machine_lazy_rel): Likewise.
92072         (elf_machine_lazy_rela): Likewise.
92073         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
92074         (elf_machine_lazy_rel): Likewise.
92075         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
92076         Likewise.
92077         (elf_machine_lazy_rel): Likewise.
92078         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92079         Likewise.
92080         (elf_machine_lazy_rel): Likewise.
92081         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
92082         (elf_machine_lazy_rel): Likewise.
92083         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
92084         (elf_machine_lazy_rel): Likewise.
92085         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
92086         (elf_machine_lazy_rel): Likewise.
92087         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
92088         (elf_machine_lazy_rel): Likewise.
92089         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
92090         (elf_machine_lazy_rel): Likewise.
92091         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
92092         (elf_machine_lazy_rel): Likewise.
92094 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
92096         * nss/nss_files/files-init.c (_nss_files_init): Use static
92097         initialization for all the *_traced_file variables.
92099 2011-09-28  Andreas Schwab  <schwab@redhat.com>
92101         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92103 2011-09-27  Roland McGrath  <roland@hack.frob.com>
92105         [BZ #13226]
92106         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
92108 2011-09-27  Andreas Schwab  <schwab@redhat.com>
92110         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
92111         Reread the line before reparsing it.
92113 2011-09-26  Andreas Schwab  <schwab@redhat.com>
92115         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
92117 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
92118             Maxim Kuvyrkov  <maxim@codesourcery.com>
92119             Joseph Myers  <joseph@codesourcery.com>
92121         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
92122         if needed for __stack_chk_guard.
92124 2011-09-19  Roland McGrath  <roland@hack.frob.com>
92126         * sysdeps/posix/spawni.c (script_execute): Always define it.
92127         It will be optimized away if unused.
92128         (maybe_script_execute): New function.
92129         (__spawni): Call it.
92131         * Makerules: Don't include tls.make.
92132         (config-tls): Always set to thread.
92133         * tls.make.c: File removed.
92135 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
92137         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
92138         * config.make.in (CPPFLAGS-config): New substituted variable.
92140 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
92142         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
92144         [BZ #13192]
92145         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
92146         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
92148 2011-09-15  Roland McGrath  <roland@hack.frob.com>
92150         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
92151         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
92152         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92153         (CALL_FAIL): Likewise.
92154         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
92155         (CALL_FAIL): Macro removed.
92156         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
92158 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
92160         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
92161         for __FINITE_MATH_ONLY__ == 1.
92163 2011-09-15  Andreas Schwab  <schwab@redhat.com>
92165         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
92166         __ieee754_sqrt instead of sqrt.
92167         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
92168         __ieee754_sqrtf instead of sqrtf.
92169         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
92170         __floorf instead of floorf.
92171         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
92172         __floorf, __truncf instead of floorf, truncf.
92174 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
92176         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
92178         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
92179         __extern_always_inline.
92180         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
92181         32-bit.
92183 2011-09-14  Andreas Schwab  <schwab@redhat.com>
92185         * elf/rtld.c (dl_main): Also relocate in dependency order when
92186         doing symbol dependency testing.
92188 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
92190         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92191         Always define `refsym'.
92193 2011-09-13  Andreas Schwab  <schwab@redhat.com>
92195         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
92196         (__FD_ELT): Renamed from __FDELT.
92197         * misc/bits/select2.h (__FD_ELT): Likewise.
92198         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
92199         __FD_MASK instead of __FDELT, __FDMASK.
92200         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92201         Likewise.
92202         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
92203         Likewise.
92205         * elf/Makefile (gen-ldd): Fix pattern.
92207         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
92208         (init_tls): Likewise.
92210 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
92212         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
92214 2011-09-12  Andreas Schwab  <schwab@redhat.com>
92216         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
92217         `struct cmsghdr *' instead of `void *'.
92218         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
92219         Likewise.
92221 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
92223         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
92224         if non-absolute.
92225         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
92226         ldd_rewrite_script.
92228 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
92230         * configure.in: Remove --with-tls option.
92231         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
92232         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
92233         out in case it is missing.
92234         * sysdeps/ia64/elf/configure.in: Likewise.
92235         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
92236         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
92237         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
92238         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
92239         * sysdeps/sh/elf/configure.in: Likewise.
92240         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
92241         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
92242         * sysdeps/x86_64/elf/configure.in: Likewise.
92243         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
92244         * sysdeps/mach/hurd/tls.h: Likewise.
92246         [BZ #13067]
92247         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
92249         [BZ #13090]
92250         * configure.in: Fix use of AC_INIT.
92252         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
92254 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
92256         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
92257         __set_errno.
92258         * malloc/hooks.c: Likewise.
92260         [BZ #11929]
92261         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
92262         variables statically.
92263         (narenas): Initialize.
92264         (list_lock): Initialize.
92265         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
92266         initializtion of main_arena and list_lock.  Small cleanups.
92267         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
92268         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
92269         Add initializers to main_arena and mp_.
92270         (malloc_state): Remove pagesize member.  Change all users to use
92271         GLRO(dl_pagesize).
92273         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
92274         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
92275         is always initialized.
92277         * malloc/malloc.c: Removed unused configurations and dead code.
92278         * malloc/arena.c: Likewise.
92279         * malloc/hooks.c: Likewise.
92280         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
92282         * include/tls.h: Removed.  USE___THREAD must always be defined.
92283         * bits/libc-tsd.h: Don't handle !USE___THREAD.
92284         * elf/dl-libc.c: Likewise.
92285         * elf/dl-tsd.c: Likewise.
92286         * include/errno.h: Likewise.
92287         * include/netdb.h: Likewise.
92288         * include/resolv.h: Likewise.
92289         * inet/herrno-loc.c: Likewise.
92290         * inet/herrno.c: Likewise.
92291         * malloc/arena.c: Likewise.
92292         * malloc/hooks.c: Likewise.
92293         * malloc/malloc.c: Likewise.
92294         * resolv/res-state.c: Likewise.
92295         * resolv/res_libc.c: Likewise.
92296         * sysdeps/i386/dl-machine.h: Likewise.
92297         * sysdeps/ia64/dl-machine.h: Likewise.
92298         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
92299         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
92300         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
92301         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
92302         * sysdeps/sh/dl-machine.h: Likewise.
92303         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
92304         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
92305         * sysdeps/unix/i386/sysdep.S: Likewise.
92306         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
92307         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
92308         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
92309         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
92310         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
92311         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
92312         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
92313         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
92314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
92315         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
92316         * sysdeps/unix/x86_64/sysdep.S: Likewise.
92317         * sysdeps/x86_64/dl-machine.h: Likewise.
92318         * tls.make.c: Likewise.
92320         * configure.in: Remove --with-__thread option.  Make tests for
92321         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
92322         tls_model attribute fail if no support is available.  Remove
92323         USE_IN_LIBIO.
92324         * Makeconfig: Adjust for dropped configure option.  All features are
92325         now mandatory.
92326         * Makerules: Likewise.
92327         * Versions.def: Likewise.
92328         * argp/argp-fmtstream.c: Likewise.
92329         * argp/argp-fmtstream.h: Likewise.
92330         * argp/argp-help.c: Likewise.
92331         * assert/assert.c: Likewise.
92332         * config.h.in: Likewise.
92333         * config.make.in: Likewise.
92334         * configure: Likewise.
92335         * configure.in: Likewise.
92336         * csu/Versions: Likewise.
92337         * csu/init.c: Likewise.
92338         * elf/tst-audit2.c: Likewise.
92339         * elf/tst-tls10.c: Likewise.
92340         * elf/tst-tls10.h: Likewise.
92341         * elf/tst-tls11.c: Likewise.
92342         * elf/tst-tls12.c: Likewise.
92343         * elf/tst-tls14.c: Likewise.
92344         * elf/tst-tlsmod11.c: Likewise.
92345         * elf/tst-tlsmod12.c: Likewise.
92346         * elf/tst-tlsmod13.c: Likewise.
92347         * elf/tst-tlsmod13a.c: Likewise.
92348         * elf/tst-tlsmod14a.c: Likewise.
92349         * elf/tst-tlsmod15b.c: Likewise.
92350         * elf/tst-tlsmod16a.c: Likewise.
92351         * elf/tst-tlsmod16b.c: Likewise.
92352         * elf/tst-tlsmod7.c: Likewise.
92353         * elf/tst-tlsmod8.c: Likewise.
92354         * elf/tst-tlsmod9.c: Likewise.
92355         * gmon/gmon.c: Likewise.
92356         * grp/fgetgrent_r.c: Likewise.
92357         * grp/putgrent.c: Likewise.
92358         * hurd/fopenport.c: Likewise.
92359         * include/libc-symbols.h: Likewise.
92360         * include/tls.h: Likewise.
92361         * intl/gettextP.h: Likewise.
92362         * intl/loadinfo.h: Likewise.
92363         * locale/global-locale.c: Likewise.
92364         * locale/localeinfo.h: Likewise.
92365         * mach/devstream.c: Likewise.
92366         * malloc/arena.c: Likewise.
92367         * malloc/set-freeres.c: Likewise.
92368         * misc/err.c: Likewise.
92369         * misc/getttyent.c: Likewise.
92370         * misc/mntent_r.c: Likewise.
92371         * posix/getopt.c: Likewise.
92372         * posix/wordexp.c: Likewise.
92373         * pwd/fgetpwent_r.c: Likewise.
92374         * resolv/Versions: Likewise.
92375         * resolv/res_hconf.c: Likewise.
92376         * shadow/fgetspent_r.c: Likewise.
92377         * shadow/putspent.c: Likewise.
92378         * stdio-common/printf_fphex.c: Likewise.
92379         * stdio-common/tmpfile.c: Likewise.
92380         * stdlib/abort.c: Likewise.
92381         * stdlib/fmtmsg.c: Likewise.
92382         * sunrpc/auth_unix.c: Likewise.
92383         * sunrpc/clnt_perr.c: Likewise.
92384         * sunrpc/clnt_tcp.c: Likewise.
92385         * sunrpc/clnt_udp.c: Likewise.
92386         * sunrpc/clnt_unix.c: Likewise.
92387         * sunrpc/openchild.c: Likewise.
92388         * sunrpc/svc_simple.c: Likewise.
92389         * sunrpc/svc_tcp.c: Likewise.
92390         * sunrpc/svc_udp.c: Likewise.
92391         * sunrpc/svc_unix.c: Likewise.
92392         * sunrpc/xdr.c: Likewise.
92393         * sunrpc/xdr_array.c: Likewise.
92394         * sunrpc/xdr_rec.c: Likewise.
92395         * sunrpc/xdr_ref.c: Likewise.
92396         * sunrpc/xdr_stdio.c: Likewise.
92398 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92400         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
92402 2011-07-03  Andreas Jaeger  <aj@suse.de>
92404         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
92405         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
92406         regenerate with gen-libm-tests.pl.
92408 2010-05-12  Petr Baudis  <pasky@suse.cz>
92410         [BZ #11589]
92411         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
92412         around j0() zero points by switching to j1().
92413         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
92414         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
92415         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
92416         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
92418 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92420         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
92421         instead of 0.
92422         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
92423         instead of 0.
92424         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
92425         Patch in part by Pavel Roskin <proski@gnu.org>.
92427         [BZ #13138]
92428         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
92429         realloc.
92430         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
92431         Free memory block if necessary.
92433         [BZ #12847]
92434         * libio/genops.c (INTDEF): For string streams the _lock pointer can
92435         be NULL.  Don't lock in this case.
92437 2011-09-09  Roland McGrath  <roland@hack.frob.com>
92439         * elf/elf.h (ELFOSABI_GNU): New macro.
92440         (ELFOSABI_LINUX): Define to that.
92442 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
92444         * string/strncat.c (strncat): Undef the symbol in case it has been
92445         defined in bits/string.h.
92447 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
92449         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
92451         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
92452         link map.
92454 2011-08-17  Andreas Jaeger  <aj@suse.de>
92456         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
92458 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
92459             Ian Lance Taylor  <iant@google.com>
92461         * math/libm-test.inc (lround_test): New testcase.
92462         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
92464 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
92466         * Makefile: Remove support for automatic cvs check-ins.
92467         * Makerules: Likewise.
92468         * config.make.in: Likewise.
92469         * configure.in: Likewise.
92470         * intl/Makefile: Likewise.
92471         * locale/Makefile: Likewise.
92472         * po/Makefile: Likewise.
92473         * posix/Makefile: Likewise.
92474         * sysdeps/gnu/Makefile: Likewise.
92475         * sysdeps/mach/hurd/Makefile: Likewise.
92476         * sysdeps/sparc/sparc32/Makefile: Likewise.
92478         [BZ #13118]
92479         * posix/Makefile (bug-regex32-ENV): Define.
92480         Patch by John Stanley <jpsinthemix@verizon.net>.
92482         * misc/Makefile (headers): Add bits/select2.h.
92483         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
92484         * misc/bits/select2.h: New file.
92485         * include/bits/select2.h: New file.
92486         * debug/Makefile (routines): Add fdelt_chk.
92487         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
92488         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
92489         FD_ISSET.
92490         * debug/fdelt_chk.c: New file.
92492         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
92493         * wcsmbs/test-wmemcmp.c: Likewise.
92494         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
92495         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
92497 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92499         * string/Makefile (strop-tests): Add memcmp.
92500         * string/test-wmemcmp.c: New file.
92501         * string/test-memcmp.c: Add wmemcmp support.
92503 2011-09-08  Roland McGrath  <roland@hack.frob.com>
92505         [BZ #13153]
92506         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
92507         2011-07-19 change.
92509         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
92510         garbage value in a __mach_port_mod_refs call in the cases of the
92511         task-self and thread-self ports.
92513 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92515         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
92517 2011-09-08  Andreas Schwab  <schwab@redhat.com>
92519         * elf/dl-load.c (lose): Check for non-null L.
92521 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92523         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
92525         * elf/dl-libc.c (dlerror_run): Pass back error code from
92526         dl_catch_error.
92528         [BZ #13123]
92529         * elf/dl-load.c (lose): Free l_origin if it is valid.
92531         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
92532         names.
92533         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
92534         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92535         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92536         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92537         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
92538         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
92540 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
92542         * sysdeps/powerpc/fpu/e_hypot.c: New file.
92543         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
92544         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
92545         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
92546         * sysdeps/powerpc/fpu/k_cosf.c: New file.
92547         * sysdeps/powerpc/fpu/k_sinf.c: New file.
92548         * sysdeps/powerpc/fpu/s_cosf.c: New file.
92549         * sysdeps/powerpc/fpu/s_sinf.c: New file.
92550         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
92551         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
92553 2011-08-15  Alan Modra  <amodra@gmail.com>
92555         [BZ #13092]
92556         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
92557         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
92558         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
92559         ppc_mcount to static-only-routines.
92560         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
92561         __mcount_internal.
92562         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
92563         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
92565 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
92567         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
92568         for finite and infinity parameters.
92570 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
92572         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
92573         and add nop instructions for throughput optimization.
92574         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
92576 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
92578         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
92579         aligned copy for power7 with vector-scalar instructions.
92580         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
92582 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
92584         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
92585         AVX check.
92587 2011-09-07  Andreas Schwab  <schwab@redhat.com>
92589         [BZ #13144]
92590         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
92591         last change.
92593 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
92595         * sysdeps/unix/sysv/linux/x86_64/init-first.c
92596         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
92597         syscall wrapper around clock_gettime in __vdso_clock_gettime.
92598         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
92599         clock_gettime.
92601 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92603         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
92604         Forgot to demangle the pointer.
92606         * sysdeps/i386/sysdep.h: Define atom_text_section.
92607         * sysdeps/x86_64/sysdep.h: Likewise.
92608         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
92609         section with atom_text_section.
92610         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
92611         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
92612         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
92613         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92614         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
92616         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
92617         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
92618         already be defined.  Change to take two parameters and don't assign
92619         result to variable.  Adjust all users.
92620         Define INTERNAL_GETTIME if not already defined.
92621         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
92622         call.
92623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
92624         HAVE_CLOCK_GETTIME_VSYSCALL.
92625         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
92627         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
92628         gettimeofday vsyscall, just use time.
92630 2011-09-06  Andreas Schwab  <schwab@redhat.com>
92632         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
92633         <errno.h>.
92635 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
92637         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
92638         syscall on x86-64.
92639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
92640         syscall.
92641         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
92642         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
92643         syscall if possible.
92645 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92647         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
92648         e_ident.  Don't pass to find_mapsXX.
92649         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
92651 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92653         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92654         strchr-sse2-no-bsf strrchr-sse2-no-bsf
92655         * sysdeps/x86_64/multiarch/strchr.S: Update.
92656         Check bit_slow_BSF bit.
92657         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
92658         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
92659         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
92661 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92663         [BZ #13134]
92664         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
92665         before glibc 2.15.
92666         (tryshell): Define.
92667         (__spawni): Change last parameter to be flag.  Test
92668         SPAWN_XFLAGS_USE_PATH flag to use path or not.
92669         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
92670         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
92671         * posix/spawni.c: Likewise.
92672         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
92673         * posix/spawnp.c: Likewise.  Change normal version to use
92674         SPAWN_XFLAGS_USE_PATH.
92675         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
92676         SPAWN_XFLAGS_TRY_SHELL.
92678         [BZ #13150]
92679         * posix/glob.h: Remove gcc 1.x support.
92681         [BZ #13068]
92682         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
92684 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92686         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92687         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
92688         strrchr-sse2-bsf
92689         * sysdeps/i386/i686/multiarch/strchr.S: New file.
92690         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
92691         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
92692         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
92693         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
92694         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
92696 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92698         * sysdeps/x86_64/wcscmp.S: New file.
92700         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
92701         wcscmp-c wcscmp-sse2
92702         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
92703         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
92704         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
92705         * wcsmbs/wcscmp.c: Allow renaming.
92707 2011-09-05  David S. Miller  <davem@davemloft.net>
92709         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
92710         stack slot, rather than the struct return pointer slot.
92711         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
92712         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
92713         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
92714         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
92716 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
92718         * po/ja.po: Update from translation team.
92720         [BZ #13144]
92721         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
92722         kernel in 64-bit binaries.
92724 2011-09-01  David S. Miller  <davem@davemloft.net>
92726         * elf/elf.h (HWCAP_SPARC_*): Move to..
92727         * sysdeps/sparc/sysdep.h: this new file and add new values.
92728         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
92729         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
92730         _DL_HWCAP_COUNT to 24.
92731         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
92732         entries.
92733         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
92734         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
92735         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
92736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
92737         instead of magic constants.
92738         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
92740 2011-08-31  David S. Miller  <davem@davemloft.net>
92742         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
92743         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
92744         Reimplement to do errno handling inline.
92745         (SYSCALL_ERROR_HANDLER): New macro.
92746         (__SYSCALL_STRING): Do not do errno handling in asm.
92747         (__CLONE_SYSCALL_STRING): Delete.
92748         (__INTERNAL_SYSCALL_STRING): Delete.
92749         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
92750         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
92751         (PSEUDO): Reimplement to do errno handling inline.
92752         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
92753         (SYSCALL_ERROR_HANDLER): New macro.
92754         (__SYSCALL_STRING): Do not do errno handling in asm.
92755         (__CLONE_SYSCALL_STRING): Delete.
92756         (__INTERNAL_SYSCALL_STRING): Delete.
92757         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
92758         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
92759         i386.
92760         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
92761         (inline_syscall*): Add 'err' argument.
92762         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
92763         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
92764         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
92765         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
92767         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
92768         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
92770 2011-08-30  Andreas Schwab  <schwab@redhat.com>
92772         * elf/rtld.c (dl_main): Relocate objects in dependency order.
92774 2011-08-29  Jiri Olsa <jolsa@redhat.com>
92776         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
92777         directive.
92779 2011-08-24  David S. Miller  <davem@davemloft.net>
92781         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
92783 2011-08-24  Andreas Schwab  <schwab@redhat.com>
92785         * elf/Makefile: Add rules to build and run unload8 test.
92786         * elf/unload8.c: New file.
92787         * elf/unload8mod1.c: New file.
92788         * elf/unload8mod1x.c: New file.
92789         * elf/unload8mod2.c: New file.
92790         * elf/unload8mod3.c: New file.
92792         * elf/dl-close.c (_dl_close_worker): Reset private search list if
92793         it wasn't used.
92795 2011-08-23  David S. Miller  <davem@davemloft.net>
92797         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
92798         subtract stack bias.
92799         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
92800         %sp not %fp in calculations.
92801         (_JMPBUF_UNWINDS_ADJ): Likewise.
92803         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
92804         (aio_suspend): Call it to force an exception region around the
92805         AIO_MISC_WAIT() invocation.
92807 2011-08-23  Andreas Schwab  <schwab@redhat.com>
92809         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
92810         backslash.
92812 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
92814         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
92815         protection macro.
92816         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
92817         and <dl-machine.h>.
92818         (Elf64_FuncDesc): Remove.
92820 2011-08-22  David S. Miller  <davem@davemloft.net>
92822         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
92823         sigaltstack check, add missing cfi directives.
92824         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
92825         missing cfi directives, and sigaltstack handling.
92827 2011-08-16  Andreas Schwab  <schwab@redhat.com>
92829         [BZ #11724]
92830         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
92831         object is seen twice.
92832         * elf/dl-fini.c (_dl_sort_fini): Likewise.
92834         * elf/Makefile (distribute): Add tst-initorder2.c.
92835         (tests): Add tst-initorder2.
92836         (modules-names): Add tst-initorder2a tst-initorder2b
92837         tst-initorder2c tst-initorder2d.  Add rules to build them.
92838         ($(objpfx)tst-initorder2.out): New rule.
92839         * elf/tst-initorder2.c: New file.
92840         * elf/tst-initorder2.exp: New file.
92842 2011-08-22  Andreas Schwab  <schwab@redhat.com>
92844         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
92846         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
92847         dependencies back to end of function.
92849         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
92850         $(elfobjdir)/ld.so.
92852 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
92854         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
92855         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
92856         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
92857         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92858         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92859         of __vdso_gettimeofday.
92860         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92861         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92862         attribute_hidden.
92863         (_libc_vdso_platform_setup): Remove initialization of
92864         __vdso_gettimeofday and __vdso_time.
92866 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92868         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92869         and fgetc_unlocked.
92870         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92871         getc_unlocked.
92873         * elf/dl-open.c (add_to_global): Report additions to the global scope
92874         for LD_DEBUG=scopes.
92875         (dl_open_worker): Also print scope of newly loaded dependencies.
92876         (_dl_show_scope): Indicate if there is no scope.
92878         [BZ #13114]
92879         * stdio-common/Makefile (tests): Add bug24.
92880         * stdio-common/bug24.c: New file.
92882 2011-08-19  Andreas Jaeger  <aj@suse.de>
92884         [BZ #13114]
92885         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92886         non-existant file when using close-on-exec mode.
92888 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92890         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92891         the very first instruction.
92893         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92894         the CFI state in the end.
92895         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92896         inclusion of dl-trampoline.h.
92897         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92899 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92901         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92902         expectations for long double.
92904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92905         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92907 2011-08-14  David S. Miller  <davem@davemloft.net>
92909         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92910         artificual limit depends upon the system page size.
92912 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92914         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92915         * resolv/Makefile: Define CFLAGS-libresolv.
92917 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92919         * nss/makedb.c (compute_tables): Make variables used in nested
92920         function static.
92922 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92924         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92925         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92926         if buffer was too small.
92928         * elf/pldd.c (main): Attach to all threads in the process.
92929         Rewrite /proc handling to use *at functions.
92931 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92933         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92934         specifies first scope to show.
92935         (dl_open_worker): Update callers.  Move printing scope of new
92936         object to before the relocation.
92937         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92938         * sysdeps/generic/ldsodefs.h: Update declaration.
92940         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92941         string for the scope number.
92943 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92945         * nscd/servicescache.c (cache_addserv): Make sure written is always
92946         initialized.
92948 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92950         * sysdeps/i386/i486/bits/atomic.h
92951         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92952         statement expression, so as to suppress "set but not used" warning.
92953         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92955         * string/strncat.c (STRNCAT): Use prototype definition.
92957         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92958         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92959         -Iprograms here.
92960         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92961         (localedef-modules): Add localedef.
92962         (locale-modules): Add locale.
92964         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92965         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92966         to avoid a warning.
92968 2011-08-14  David S. Miller  <davem@davemloft.net>
92970         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92971         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92973 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92975         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92976         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92977         * elf/rtld.c (dl_main): Set l_name of vDSO.
92978         Call _dl_show_scope when DL_DEBUG_SCOPES.
92979         (process_dl_debug): Recognize scopes flag and also set it for all.
92980         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92981         Declare _dl_show_scope.
92983         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92984         (do_dlopen): Pass caller_dlopen to dl_open.
92985         (__libc_dlopen_mode): Initialize caller_dlopen.
92987         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92988         of libc.  Make tolower call locale-independent.  Optimize a bit by
92989         using isdigit instead of isalnum.
92990         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92992 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92994         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92995         was a dependency or dynamically loaded.
92997 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92999         * intl/l10nflist.c: Allow architecture-specific pop function.
93000         * sysdeps/x86_64/l10nflist.c: New file.
93002         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
93003         classification.
93005 2011-08-10  Andreas Schwab  <schwab@redhat.com>
93007         * include/dirent.h: Add libc_hidden_proto for scandirat and
93008         scandirat64.  Don't declare __scandirat64.
93009         * dirent/scandirat.c: Add libc_hidden_def.
93010         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
93011         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
93013 2011-08-10  David S. Miller  <davem@davemloft.net>
93015         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
93016         enum.
93017         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93018         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93019         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93021 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
93023         * Versions.def [libc]: Add GLIBC_2.15.
93024         * dirent/Makefile (routines): Add scandirat and scandirat64.
93025         * dirent/Versions [libc]: Export scandirat and scandirat64 for
93026         GLIBC_2.15.
93027         * dirent/dirent.h: Declare scandirat and scandirat64.
93028         * dirent/scandirat.c: New file.
93029         * dirent/scandirat64.c: New file.
93030         * sysdeps/wordsize-64/scandirat.c: New file.
93031         * sysdeps/wordsize-64/scandirat64.c: New file.
93032         * dirent/opendir.c: Define opendirat.
93033         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
93034         using scandirat.
93035         * dirent/scandir64.c: Adjust for scandir.c change.
93036         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
93037         __scandirat64, and __scandir_cancel_handler.
93038         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
93039         additional parameter and use openat instead of open (outside of ld.so).
93040         Add new __opendir as wrapper around __opendirat.
93041         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
93042         here without requiring old scandirat implementation.
93044 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
93046         * dirent/scandir.c (cancel_handler): Renamed to
93047         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
93048         defined.  Adjust users.
93049         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
93050         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
93052 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
93054         * string/test-string.h (IMPL): Use __STRING to expand name and then
93055         stringify it.
93057         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
93058         of cleanups.
93060 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
93062         * string/Makefile: Update.
93063         (strop-tests): Append strncat.
93064         * string/test-wcscmp.c: New file.
93065         New comprehensive test for wcscmp.
93066         * string/test-strcmp.c: Update.
93067         (WIDE): New define.
93069 2011-07-22  Andreas Schwab  <schwab@redhat.com>
93071         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
93072         line.
93074 2011-07-26  Andreas Schwab  <schwab@redhat.com>
93076         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
93077         encoding to ACE if AI_IDN.
93079 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
93081         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
93082         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
93084 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93086         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
93087         Fix overflow bug in strncat.
93088         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
93090         * string/test-strncat.c: Update.
93091         Add new tests for checking overflow bugs.
93093 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93095         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93096         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
93097         * sysdeps/i386/i686/multiarch/strcat.S: New file.
93098         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
93099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
93100         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
93101         * sysdeps/i386/i686/multiarch/strncat.S: New file.
93102         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
93103         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
93105         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
93106         (USE_AS_STRCAT): Define.
93107         Add strcat and strncat support.
93108         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
93110 2011-07-25  Andreas Schwab  <schwab@redhat.com>
93112         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
93113         __n bigger than INT_MAX+1.
93114         (__strncmp_g): Likewise.
93116 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
93118         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
93119         * libio/stido.h: Likewise.
93121         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
93122         (AF_NFC): Define.
93123         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
93124         (AF_NFC): Define.
93126         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
93127         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
93128         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
93129         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
93130         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
93132         [BZ #13021]
93133         * scripts/test-installation.pl: Don't expect libnss_test1 to be
93134         installed.
93136         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
93137         typo.
93138         (_dl_x86_64_save_sse): Likewise.
93140 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
93142         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
93143         OSXSAVE.
93144         (_dl_x86_64_save_sse): Likewise.
93146         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
93148         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
93150 2011-07-21  Andreas Schwab  <schwab@redhat.com>
93152         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
93153         change.
93154         (_dl_x86_64_save_sse): Use correct AVX check.
93156 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
93158         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
93159         bug in strncpy/strncat.
93160         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
93162 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
93164         * string/tester.c (test_strcat): Add tests for different alignments
93165         of source and destination.
93166         (test_strncat): Likewise.
93168 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93170         [BZ #12852]
93171         * posix/glob.c (glob): Check passed in values before using them in
93172         expressions to avoid some overflows.
93173         (glob_in_dir): Likewise.
93175         [BZ #13007]
93176         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
93177         check for AVX enablement so that we don't crash with old kernels and
93178         new hardware.
93179         * elf/tst-audit4.c: Add same checks here.
93180         * elf/tst-audit6.c: Likewise.
93182         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
93184 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
93186         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
93188 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
93190         * po/cs.po: Update from translation team.
93191         * po/bg.po: Likewise.
93193 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
93195         * misc/sys/cdefs.h: Add support for const attribute.
93196         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
93197         to gnu_dev_{major,minor,makedev} functions.
93199 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
93201         * intl/dcigettext.c (get_output_charset): Add missing bracket.
93203 2011-07-20  Andreas Schwab  <schwab@redhat.com>
93205         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
93206         strlen results.
93208 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93210         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
93211         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
93212         register in order to avoid conflicts with the soft frame pointer
93213         being held in r11 when necessary.
93214         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
93215         (INTERNAL_VSYSCALL_NCS): Likewise.
93217 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
93219         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
93220         * elf/dl-fini.c (_dl_fini): Adjust caller.
93221         * elf/dl-close.c (_dl_close_worker): Likewise.
93222         * sysdeps/generic/ldsodefs.h: Adjust declaration.
93224 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93226         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
93227         "aux_cache->nlibs < 0".
93229         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
93230         in the reload-count case.
93232 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
93234         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93235         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
93236         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
93237         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
93238         * sysdeps/x86_64/multiarch/strcat.S: New file.
93239         * sysdeps/x86_64/multiarch/strncat.S: New file.
93240         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
93241         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
93242         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
93243         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
93244         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
93245         (USE_AS_STRCAT): Define.
93246         Add strcat and strncat support.
93247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
93248         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
93249         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
93250         * string/strncat.c: Update.
93251         (USE_AS_STRNCAT): Define.
93252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93253         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
93254         and i7.
93255         * sysdeps/x86_64/multiarch/init-arch.h
93256         (bit_Prefer_PMINUB_for_stringop): New.
93257         (index_Prefer_PMINUB_for_stringop): Likewise.
93258         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
93259         bit_Prefer_PMINUB_for_stringop.
93261 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93263         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
93264         buffer64.
93265         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
93266         of casting of buffer.
93267         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
93268         buffer32 and buffer64.
93269         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
93270         writes instead of casting of buffer.
93271         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
93272         buffer32.
93273         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
93274         casting of buffer.
93276 2011-07-19  Andreas Schwab  <schwab@redhat.com>
93278         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
93280 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
93282         * nscd/nscd.c (termination_handler): Don't do anything for a database
93283         if it has not yet been initialized.
93285 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93287         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93289 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
93291         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
93293 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
93295         * po/nl.po: Update from translation team.
93296         * po/sv.po: Likewise.
93298 2011-07-16  Roland McGrath  <roland@hack.frob.com>
93300         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
93301         now disallowed by GCC.
93303         * configure.in (use-default-link): Default to yes if a test -shared
93304         link meets our qualifications.
93305         * configure: Regenerated.
93307         * config.make.in (output-format): New variable.
93308         * configure.in: Check for ld --print-output-format support.
93309         * configure: Regenerated.
93310         * Makerules ($(common-objpfx)format.lds)
93311         [$(output-format) != unknown]: Just use $(output-format),
93312         instead of the linker-script munging.
93314 2011-07-14  Roland McGrath  <roland@hack.frob.com>
93316         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
93317         of $(common-objpfx)shlib.lds.
93318         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
93320         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
93321         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
93323         * configure.in (-z relro check): Adjust test code to add a large
93324         writable data section after it.
93325         * configure: Regenerated.
93327 2011-07-11  Roland McGrath  <roland@hack.frob.com>
93329         * configure.in (-z relro check): Fix test code to make the variable
93330         truly const.
93331         * configure: Regenerated.
93333 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
93335         * nscd/nscd.h (struct traced_file): Define.
93336         (struct database_dyn): Remove inotify_descr, reset_res, and filename
93337         elements.  Add traced_files.
93338         (inotify_fd): Declare.
93339         (register_traced_file): Declare.
93340         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
93341         (inotify_fd): Export.
93342         (resolv_conf_descr): Remove.
93343         (nscd_init): Move inotify descriptor creation to main.
93344         Don't register files for notification here.
93345         (register_traced_file): New function.
93346         (invalidate_cache): Don't use reset_res to determine whether to call
93347         res_init, go through the list of registered files.
93348         (main_loop_poll): The inotify descriptors are now stored in the
93349         structures for the traced files.
93350         (main_loop_epoll): Likewise.
93351         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
93352         to __nss_disable_nscd.
93353         * nscd/cache.c (prune_cache): There is no single inotify descriptor
93354         for a database anymore.  Check the records for all the registered
93355         files instead.
93356         * nss/Makefile (libnss_files-routines): Add files-init.
93357         (libnss_db-routines): Add db-init.
93358         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
93359         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
93360         * nss/nss_db/db-init.c: New file.
93361         * nss/nss_files/files-init.c: New file.
93362         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
93363         __nss_lookup_function.
93364         (__nss_lookup_function): Call nss_load_library.
93365         (nss_load_all_libraries): New function.
93366         (__nss_disable_nscd): Take parameter with callback function for files
93367         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
93368         used for the cached services.
93369         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
93370         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
93371         options for features to all the files in nscd.
93373         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
93375 2011-07-10  Roland McGrath  <roland@hack.frob.com>
93377         * csu/elf-init.c (__libc_csu_init): Comment typo.
93379 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
93381         * po/pl.po: Update from translation team.
93382         * po/ja.po: Likewise.
93383         * po/ru.po: Likewise.
93384         * po/ko.po: Likewise.
93385         * po/fr.po: Likewise.
93387 2011-07-09  Roland McGrath  <roland@hack.frob.com>
93389         * configure.in (.ctors/.dtors header and trailer check):
93390         Use an empirical test on a built program.
93391         * configure: Regenerated.
93393         * configure.in (-z relro check): Use an empirical test on a built DSO.
93394         Detect, but do not require, on ia64.
93395         * configure: Regenerated.
93397         * configure.in (READELF): Find it with AC_CHECK_TOOL.
93398         Update tests that use readelf to use $READELF instead.
93399         * configure: Regenerated.
93401 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
93403         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
93404         if the result is not used.
93406 2011-07-05  Andreas Jaeger  <aj@suse.de>
93408         [BZ #9696]
93409         * stdlib/tst-strtod.c: Add testcase.
93411 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
93413         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
93414         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
93415         The latter has a higher limit.  Take additional parameter to pass to
93416         the new function.
93417         (__pathconf): Pass file to __statfs_link_max.
93418         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
93419         __statfs_link_max.
93420         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
93421         __statfs_link_max.
93423         [BZ #12868]
93424         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
93425         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93426         Handle Lustre.
93427         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
93428         (__statfs_filesize_max): Likewise.
93429         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
93431 2011-07-05  Andreas Jaeger  <aj@suse.de>
93433         * resolv/res_comp.c (dn_skipname): Remove unused variable.
93435 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
93437         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
93438         `status' variable.
93439         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
93440         Likewise.
93442 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
93444         * Makefile (strop-tests): Add strncat.
93445         * string/test-strncat.c: New file.
93447 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
93449         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
93451 2011-06-21  Andreas Jaeger  <aj@suse.de>
93453         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
93454         Copy rule from iconvdata/Makefile.
93456 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93458         [BZ #12922]
93459         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
93460         but no long options are defined, just return 'W'.
93462 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
93464         [BZ #9696]
93465         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
93467 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
93469         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
93470         netgroups to read.
93471         (innetgr): Likewise.
93473 2011-07-05  Roland McGrath  <roland@hack.frob.com>
93475         * config.make.in (install_root): Default to $(DESTDIR).
93477 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
93479         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
93481 2011-07-02  Roland McGrath  <roland@hack.frob.com>
93483         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
93485         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
93486         containing directory rather than embedding absolute directory names.
93488         * scripts/check-local-headers.sh: Rewritten using awk.
93489         Match by word, not by line.  Print error messages for matches.
93490         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
93492         * Makerules [shlib-lds-flags empty]:
93493         ($(common-objpfx)libc_pic.opts): New target.
93494         ($(common-objpfx)libc_pic.os.clean): New target.
93495         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
93497         * config.make.in (OBJCOPY): New variable.
93498         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
93499         * configure: Regenerated.
93501         * config.make.in (use-default-link): New variable.
93502         * configure.in (use_default_link): Grok --with-default-link to set it.
93503         * configure: Regenerated.
93504         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
93505         (shlib-lds, shlib-lds-flags): Define to empty.
93507         * Makerules (shlib-lds): New variable.
93508         (shlib-lds-flags): New variable.
93509         (build-shlib, build-moduile, build-module-asneeded): Use it.
93510         ($(common-objpfx)libc.so): Use $(shlib-lds).
93511         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
93512         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
93514         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
93515         DT_FLAGS/DT_FLAGS_1 with zero flags.
93517         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
93518         linker script munging.
93520 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
93522         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
93523         as 128-bit value.
93524         * crypt/sha512.c (sha512_process_block): Perform total addition using
93525         128-bit if possible.
93526         (__sha512_finish_ctx): Likewise.
93527         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
93528         as 64-bit value.
93529         * crypt/sha256.c (SWAP64): Define.
93530         (sha256_process_block): Perform total addition using 64-bit if
93531         possible.
93532         (__sha256_finish_ctx): Likewise.
93534 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
93536         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
93537         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93538         * nscd/hstcache.c (cache_addhst): Likewise.
93539         * nscd/grpcache.c (cache_addgr): Likewise.
93540         * nscd/aicache.c (addhstaiX): Likewise.
93541         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
93543 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
93545         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
93546         * nscd/initgrcache.c (addinitgroupsX): Likewise.
93547         * nscd/hstcache.c (cache_addhst): Likewise.
93548         * nscd/grpcache.c (cache_addgr): Likewise.
93549         * nscd/aicache.c (addhstaiX): Likewise.
93551 2011-07-01  Andreas Schwab  <schwab@redhat.com>
93553         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
93554         domain only when needed.
93556 2011-06-30  Andreas Schwab  <schwab@redhat.com>
93558         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
93559         is always restored.
93561 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
93563         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
93564         are re-adding the entry.
93565         * nscd/servicescache.c (cache_addserv): Likewise.
93567 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
93569         * sysdeps/generic/dl-irel.h: fix protection against multiple
93570         inclusions.
93571         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
93573 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
93575         [BZ #12935]
93576         * malloc/memusage.sh: Fix quoting in message.
93577         * debug/xtrace.sh: Likewise.
93579         * configure.in: Remove support for --experimental-malloc option, make
93580         it the default.
93581         * config.make.in: Likewise.
93582         * malloc/Makefile: Likewise.
93584 2011-06-27  Andreas Schwab  <schwab@redhat.com>
93586         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
93587         two-byte characters.
93589 2011-06-27  Roland McGrath  <roland@hack.frob.com>
93591         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
93592         AC_CACHE_CHECK invocation.
93593         * configure: Regenerated.
93595         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
93597 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
93599         [BZ #12350]
93600         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
93601         bit from old_res_options.
93603         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
93605         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
93606         value type for setfct.
93608 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
93610         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93611         __gettimeofday instead of gettimeofday.
93613 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
93615         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
93617 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
93619         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
93621         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
93622         info.
93624 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93626         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93627         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93628         strcpy-sse2-unaligned strncpy-sse2-unaligned
93629         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
93630         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
93631         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
93632         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
93633         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
93634         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
93635         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
93636         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
93637         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
93638         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
93639         (STRCPY): Support SSE2 and SSSE3 versions.
93641 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
93643         [BZ #12874]
93644         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
93645         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
93646         kernels which artificially limit size of requests.
93648 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
93650         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93651         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
93652         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
93653         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
93654         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
93655         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
93656         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
93657         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
93658         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
93659         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
93660         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
93661         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
93662         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
93663         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
93664         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
93665         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93666         Enable unaligned load optimization for Intel Core i3, i5 and i7
93667         processors.
93668         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
93669         Define.
93670         (index_Fast_Unaligned_Load): Define.
93671         (HAS_FAST_UNALIGNED_LOAD): Define.
93673 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
93675         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
93677 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93679         [BZ #12907]
93680         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
93681         until it is clear that the information is realy needed.
93682         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
93684 2011-06-22  Andreas Schwab  <schwab@redhat.com>
93686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
93688 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
93690         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
93691         /sys/devices/system/cpu/online if it is usable.
93693         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
93694         reading the information from the /proc filesystem to once a second.
93696 2011-06-21  Andreas Jaeger  <aj@suse.de>
93698         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
93699         NULL after inclusion of kernel headers.
93701 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
93703         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
93704         calls to internal_setent.
93706         [BZ #12885]
93707         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
93708         addresses using gethostbyname4_r ignore IPv4 addresses.
93710         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
93711         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
93713         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
93715 2011-06-20  David S. Miller  <davem@davemloft.net>
93717         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
93718         inclusions.
93719         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
93721         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
93722         (elf_irel): Use it.
93723         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
93724         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
93725         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
93726         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
93727         * sysdeps/x86_64/dl-irel.h: Likewise.
93729         * elf/dl-runtime.c: Use elf_ifunc_invoke.
93730         * elf/dl-sym.c: Likewise.
93732 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93734         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
93735         need to dereference resplen2.
93737 2011-06-14  Andreas Schwab  <schwab@redhat.com>
93739         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
93741 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
93743         * Makeconfig: Define vardbdir and inst_vardbdir.
93744         * nss/Makefile: Add rules to install db-Makefile.
93746         * nss/nss_db/db-XXX.c: Cleanup.
93748         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
93749         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
93750         GLIBC_PRIVATE.
93751         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
93752         * nss/makedb.c: Implement -g option to specify that value strings
93753         are generated and should not be added to table iterated over for
93754         get*ent calls.
93755         * nss/nss_db/db-initgroups.c: New file.
93757         * nss/getent.c: Add support for initgroups lookups through getgrouplist
93758         interface.
93760         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
93761         (internal_getgrouplist): Adjust to name change.
93762         Update use_initgroups_entry if this is not the first call.
93763         * nss/databases.def: Add initgroups entry.
93765         * nss/makedb.c (compute_tables): Check result of multiple hash table
93766         sizes to minimize maximum chain length.
93768 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
93770         * Versions.def: Add entry for libnss_db.
93771         * shlib-versions: Likewise.
93772         * nss/Makefile: Add rules to build libnss_db.
93773         * nss/Versions: Add libnss_db information.  Organize libnss_files
93774         entries better.
93775         * nss/db-Makefile: Add gshadow support.  Change rules for the new
93776         makedb progra.  Some minor improvements to generate smaller files.
93777         * nss/nss_db/nss_db.h: Move NSS database header data structures to
93778         here from...
93779         * nss/makedb.c: ...here.
93780         Improve database format to be smaller and require less memory at
93781         runtime.
93782         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
93783         db anymore.
93784         * nss/nss_db/db-netgrp.c: Likewise.
93785         * nss/nss_db/db-open.c: Likewise.
93786         * nss/nss_files/flies-XXX.x: Adjust comments.
93787         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
93788         * nss/nss_files/files-grp.c: Likewise.
93789         * nss/nss_files/files-hosts.c: Likewise.
93790         * nss/nss_files/files-network.c: Likewise.
93791         * nss/nss_files/files-proto.c: Likewise.
93792         * nss/nss_files/files-pwd.c: Likewise.
93793         * nss/nss_files/files-rpc.c: Likewise.
93794         * nss/nss_files/files-service.c: Likewise.
93795         * nss/nss_files/files-sgrp.c: Likewise.
93796         * nss/nss_files/files-spwd.c: Likewise.
93797         * nss/nss_db/db-alias.c: Removed.
93798         * nss/nss_db/dummy-db.h: Removed.
93800 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
93802         * nss/makedb.c: Rewritten to not use database library.
93803         * nss/Makefile: Update to build new makedb program.
93805 2011-06-14  Andreas Jaeger  <aj@suse.de>
93807         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
93808         memset declaration.
93810 2011-06-10  Andreas Schwab  <schwab@redhat.com>
93812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
93813         tmpbuf.
93815 2011-06-10  Roland McGrath  <roland@hack.frob.com>
93817         * Makerules (shlib.lds): Fail if the linker script comes out empty.
93818         * elf/Makefile ($(objpfx)ld.so): Likewise.
93820         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
93821         Don't list ld.so twice in dependencies.
93823         * posix/bug-regex31.c: Include <stdlib.h>.
93825         * nscd/hstcache.c (cache_addhst): Remove unused variable.
93827         * nis/nss_compat/compat-spwd.c
93828         (getspent_next_nss_netgr): Remove unused variable.
93829         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
93831         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
93832         nonmembers" output to use the right array.
93834         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
93836         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
93838         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
93839         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
93840         * catgets/gencat.c (read_input_file): Likewise.
93841         * locale/programs/locarchive.c (enlarge_archive): Likewise.
93843         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
93844         variable definition inside #if's controlling its use.
93846         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
93848         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
93850         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
93852         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
93853         unreachable code.
93855         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
93857         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93858         * configure: Regenerated.
93860         * Makerules: Revert last change.
93861         * elf/Makefile: Likewise.
93863 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93865         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93866         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93867         (reloc-link): Likewise.
93869 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93871         * elf/Makefile: Add rules to build pldd.
93872         * elf/pldd.c: New file.
93873         * elf/pldd-xx.c: New file.
93875 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93877         * version.h: Update for 2.15 development version.
93879 2011-06-07  David S. Miller  <davem@davemloft.net>
93881         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93882         ifuncs.
93883         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93884         elf_machine_lazy_rel): Likewise.
93885         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93886         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93887         elf_machine_lazy_rel): Likewise.
93888         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93889         dl_hwcap via passed in argument.
93890         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93891         Likewise.
93893 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93895         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93897 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93899         [BZ #12849]
93900         * manual/fdl-1.1.texi: New file, verbatim from:
93901         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93902         * manual/lgpl-2.1.texi: New file, verbatim from:
93903         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93904         * manual/Makefile (licenses): New variable, list those new file names.
93905         (texis): Use it.
93906         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93908         * manual/fdl.texi: File removed.
93909         * manual/lesser.texi: File removed.
93910         * manual/libc.texinfo (Copying, Documentation License):
93911         Use new @include file names, put @appendix directive before @include.
93913 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93915         [BZ #12841]
93916         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93917         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93918         (mq_open): Add __NTH.
93920 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93923         Assume Intel Core i3/i5/i7 processor if AVX is available.
93925 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93927         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93928         typo.
93930 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93932         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93933         memory.  Use alloca_account.  Fix memory leak when retrying.
93935 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93937         * version.h (RELEASE): Bump for 2.14 release.
93938         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93940         * config.make.in (RANLIB): Remove entry.
93942 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93944         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93945         (libc.pot): Work around missing support for .ksh extension in xgettext.
93947         [BZ #12684]
93948         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93949         if both request failed.
93950         (send_dg): In case of server errors clear resplen or *resplen2.
93952         [BZ #12454]
93953         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93954         when there are multiple maps.
93955         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93956         (_dl_fini): Remove test here.
93958         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93960 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93962         [BZ #12350]
93963         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93964         bit from old_res_options.
93965         (gaih_inet): Likewise.
93967         [BZ #11099]
93968         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93969         as signed.
93971         * resolv/res_init.c (res_setoptions): Make the code more compact.
93973         [BZ #11558]
93974         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93975         set RES_USEVC.
93977         [BZ #11634]
93978         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93980         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93982         [BZ #11781]
93983         * malloc/malloc.h: Declare malloc hook variables as volatile.
93985         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93986         in last patch.
93988         [BZ #11799]
93989         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93990         raise in the comment.
93991         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93992         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93993         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93995 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93997         [BZ #12811]
93998         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93999         grow the buffers more if it already has to be sufficient.
94000         (build_wcs_upper_buffer): Likewise.
94001         * posix/regexec.c (check_matching): Likewise.
94002         (clean_state_log_if_needed): Likewise.
94003         (extend_buffers): Don't enlarge buffers beyond size of the input
94004         buffer.
94005         Patches mostly by Emil Wojak <emil@wojak.eu>.
94006         * posix/bug-regex32.c: New file.
94007         * posix/Makefile (tests): Add bug-regex32.
94009         * locale/findlocale.c (_nl_find_locale): Return right away if
94010         _nl_explode_name failed.
94011         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
94013         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
94015         * debug/xtrace.sh: Unify messages.
94016         * malloc/memusage.sh: Likewise.
94018         [BZ #12813]
94019         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
94020         time symbol from vDSO.  Substitute with vsyscall if not available.
94021         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
94022         __vdso_time.
94024         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
94025         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
94026         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
94027         Add sendmmsg and internal_sendmmsg.
94028         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
94029         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
94030         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
94032         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
94033         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
94034         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
94036 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
94038         [BZ #12813]
94039         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
94040         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
94041         available.
94042         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
94043         __vdso_getcpu.
94045         [BZ #12814]
94046         * iconvdata/Makefile (tests): Add bug-iconv9.
94047         * iconvdata/bug-iconv9.c: New file.
94049 2011-05-27  Andreas Schwab  <schwab@redhat.com>
94051         [BZ #12814]
94052         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
94054 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
94056         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94057         (struct user_regs_struct): Change intcs field back to cs.
94059 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
94061         * po/ja.po: Update from translation team.
94063 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
94065         [BZ #12795]
94066         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
94067         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
94069 2011-05-20  Andreas Schwab  <schwab@redhat.com>
94071         * stdlib/longlong.h: Update from GCC.
94073 2011-05-23  Andreas Schwab  <schwab@redhat.com>
94075         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
94076         parameter name.
94077         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
94078         Add parameter name.
94079         (__sysconf): Pass it down.
94081 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
94083         [BZ #12671]
94084         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
94085         some situations.
94086         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
94087         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
94088         add in in __libc_use_alloca calls.  Adjust callers.
94089         (glob): Use malloc in some situations.
94091         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
94092         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
94093         pltexit.
94095 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
94097         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
94098         and CLOCK_BOOTTIME_ALARM.
94100         [BZ #12782]
94101         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
94102         is returned.
94104         * string/_strerror.c (__strerror_r): Print negative errors as signed
94105         numbers.
94107         [BZ #12777]
94108         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
94109         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
94110         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
94112         * configure.in: Fix typo in redirection and correct removal of test
94113         files in two cases.
94115         [BZ #12788]
94116         * locale/setlocale.c (new_composite_name): Fix test to check for
94117         identical name of all categories.
94119         [BZ #12792]
94120         * libio/filedoalloc.c (local_isatty): New function.
94121         (_IO_file_doallocate): Use local_isatty.
94122         * stdio-common/perror.c (perror): In case a new stream is used
94123         forward the stream error.
94124         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
94125         error flag.
94127 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
94129         [BZ #11884]
94130         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
94131         alloca.
94132         * include/alloca.h (extend_alloca_account): Define.
94134         [BZ #11857]
94135         * posix/regex.h: Fix comments with documentation of user-accessible
94136         fields after compilation and describe correct free'ing of pattern
94137         after re_compile_pattern.
94138         Patch by Reuben Thomas <rrt@sc3d.org>.
94140 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
94142         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
94143         and -mno-altivec to prevent the compiler from using Altivec and/or
94144         VSX instructions when the corresponding registers are not available.
94146 2011-05-19  Andreas Schwab  <schwab@redhat.com>
94148         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
94150 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
94152         * libio/freopen.c (freopen): Use __dup2, not dup2.
94153         * libio/freopen64.c (freopen64): Likewise.
94155 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
94157         [BZ #12775]
94158         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
94159         * math/Makefile (tests): Add test-powl.
94160         (CFLAGS-test-powl.c): Define.
94161         * math/test-powl.c: New file.
94163 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
94165         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
94167 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
94169         [BZ #11837]
94170         * iconvdata/gb18030.c: Update to GB18020-2005.
94172 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
94174         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
94175         RE_SYNTAX_POSIX_AWK): Update to match recent development.
94176         Patch by Aharon Robbins <arnold@skeeve.com>.
94178         [BZ #11892]
94179         * stdlib/putenv.c (putenv): Don't always create copy of the variable
94180         on the stack.
94182         [BZ #11895]
94183         * misc/pselect.c (__pselect): Handle timeout value errors hidden
94184         through underflows.
94186         [BZ #12766]
94187         * misc/error.c (error_at_line): Ensure file_name and old_file_name
94188         point to strings before performing equality test for error_one_per_line
94189         mode.
94191         [BZ #11697]
94192         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
94194         [BZ #11820]
94195         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
94196         (struct user_fpregs_struct): Avoid __uint*_t types.
94198         [BZ #6420]
94199         * malloc/mtrace.c (tr_where): Add additional parameter to point to
94200         symbol info.  Use it instead of calling _dl_addr locally.
94201         (lock_and_info): New function.
94202         (tr_freehook): Call lock_and_info and pass symbol info as additional
94203         parameter to tr_where.
94204         (tr_mallochook): Likewise.
94205         (tr_reallochook): Likewise.
94206         (tr_memalignhook): Likewise.
94208         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
94209         used and couldn't be at all thread-safe.
94211 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
94213         * libio/freopen.c (freopen): Don't close old file descriptor
94214         before the new one is opened.  Instead dup the new file descriptor
94215         to the old one after the new stream is created.
94216         * libio/freopen64.c (freopen64): Likewise.
94217         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
94218         * libio/fileops.c (_IO_new_file_close_it): Handle new
94219         _IO_FLAGS2_NOCLOSE flag.
94220         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
94221         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
94222         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
94223         _IO_FLAGS2_NOCLOSE flag.
94224         * include/unistd.h: Add hidden_proto for dup3.
94225         Define __have_dup3.
94226         * io/dup3.c: Define hidden symbol.
94227         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
94229         [BZ #7101]
94230         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
94231         when an incomplete long option is used.
94232         * posix/tst-getopt_long1.c: New file.
94233         * posix/Makefile (tests): Add tst-getopt_long1.
94235         [BZ #10138]
94236         * scripts/config.guess: Update from autoconf-2.68.
94237         * scripts/config.sub: Likewise.
94239         [BZ #10157]
94240         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
94241         tests into ...
94242         (has_cpuclock): ...this.  New function.
94243         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
94244         macro here based on has_cpuclock code.
94246         [BZ #10149]
94247         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94248         First byte (not low byte) is now always NUL.
94249         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
94251         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
94252         Use non-cancelable interfaces.
94254         [BZ #9809]
94255         * locale/iso-639.def: Add entry for Sorani.
94257         [BZ #11901]
94258         * include/stdlib.h: Move include protection to the right place.
94259         Define abort_msg_s.  Declare __abort_msg with it.
94260         * stdlib/abort.c (__abort_msg): Adjust type.
94261         * assert/assert.c (__assert_fail_base): New function.  Majority
94262         of code from __assert_fail.  Allocate memory for __abort_msg with
94263         mmap.
94264         (__assert_fail): Now call __assert_fail_base.
94265         * assert/assert-perr.c: Remove bulk of implementation.  Use
94266         __assert_fail_base.
94267         * include/assert.hL Declare __assert_fail_base.
94268         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
94269         mmap.
94270         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
94272 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
94274         [BZ #11952]
94275         [BZ #12453]
94276         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
94277         until all modules are registered in the DTV.
94278         * elf/Makefile: Add rules to build and run tst-tls19.
94279         * elf/tst-tls19.c: New file.
94280         * elf/tst-tls19mod1.c: New file.
94281         * elf/tst-tls19mod2.c: New file.
94282         * elf/tst-tls19mod3.c: New file.
94283         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
94285         [BZ #12083]
94286         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
94287         correctly.
94289         [BZ #12601]
94290         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
94291         two-byte sequence errors.
94292         * iconvdata/Makefile (tests): Add bug-iconv8.
94293         * iconvdata/bug-iconv8.c: New file.
94295         [BZ #12626]
94296         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
94297         buf2 definition.
94299         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
94301         [BZ #12432]
94302         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
94303         (dummy_getcfa): New function.
94304         (init): Get _Unwind_GetCFA address, use dummy if not found.
94305         (backtrace_helper): In recursion check, also check whether CFA changes.
94306         (__backtrace): Completely initialize arg.
94308         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
94309         storing incomplete byte sequence in state object.  Avoid testing for
94310         guaranteed too small input if we know there is enough data available.
94312 2011-05-11  Andreas Schwab  <schwab@redhat.com>
94314         * Makeconfig (+link-pie): Indent.
94315         * Rules (binaries-pie): Define if $(have-fpie) and
94316         $(build-shared).
94317         (binaries-shared): Also filter out $(binaries-pie).
94318         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
94319         * nscd/Makefile (others-pie): Add nscd.
94320         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
94321         ($(objpfx)nscd): Remove command override.
94322         * login/Makefile (others-pie): Add pt_chown.
94323         ($(objpfx)pt_chown): Remove command override.
94324         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
94325         remove command overrides.
94327 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
94329         * libio/tst_putwc.c: Fix error messages.
94331         [BZ #12724]
94332         * libio/fileops.c (_IO_new_file_close_it): Always flush when
94333         currently writing and seek to current position when not.
94334         * libio/Makefile (tests): Add bug-fclose1.
94335         * libio/bug-fclose1.c: New file.
94337 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
94339         [BZ #12511]
94340         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
94341         don't set DF_1_NODELETE here.
94342         (do_lookup_x): When entering new entry test for copy relocation
94343         and if necessary set DF_1_NODELETE flag.
94344         * elf/tst-unique4.cc: New file.
94345         * elf/tst-unique4.h: New file.
94346         * elf/tst-unique4lib.cc: New file.
94347         * elf/Makefile: Add rules to build and run tst-unique4.
94348         Patch by Piotr Bury <pbury@goahead.com>.
94350 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
94352         [BZ #12052]
94353         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
94355         [BZ #12625]
94356         * misc/mntent_r.c (addmntent): Flush the stream after the output
94358         [BZ #12393]
94359         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
94360         (is_trusted_path_normalize): Skip initial colon.  Append slash
94361         to empty buffer.  Duplicate is_trusted_path code but allow
94362         constructed patch to be prefix.
94363         (is_dst): Allow $ORIGIN followed by /.
94364         (_dl_dst_substitute): Correct clearing of check_for_trusted.
94365         Correct testing of result of is_trusted_path_normalize
94366         (decompose_rpath): Fix warning.
94368 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
94370         [BZ #11257]
94371         * grp/initgroups.c (internal_getgrouplist): When we found the service
94372         list through the initgroups entry in nsswitch.conf do not always
94373         continue on a successful lookup.  Don't always use the
94374         __nss_group_database value if it is set.
94375         * nss/nsswitch.conf (initgroups): Change action for successful db
94376         lookup to continue for compatibility.
94378 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
94380         [BZ #11532]
94381         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
94382         and CP774 modules.
94383         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
94384         and CP774 modules.
94385         * iconvdata/tst-tables.sh: Likewise.
94386         * iconvdata/cp770.c: New file.
94387         * iconvdata/cp771.c: New file.
94388         * iconvdata/cp772.c: New file.
94389         * iconvdata/cp773.c: New file.
94390         * iconvdata/cp774.c: New file.
94391         * iconvdata/testdata/CP770: New file.
94392         * iconvdata/testdata/CP770..UTF8: New file.
94393         * iconvdata/testdata/CP771: New file.
94394         * iconvdata/testdata/CP771..UTF8: New file.
94395         * iconvdata/testdata/CP772: New file.
94396         * iconvdata/testdata/CP772..UTF8: New file.
94397         * iconvdata/testdata/CP773: New file.
94398         * iconvdata/testdata/CP773..UTF8: New file.
94399         * iconvdata/testdata/CP774: New file.
94400         * iconvdata/testdata/CP774..UTF8: New file.
94402         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
94403         END CHARMAP line.
94404         * iconvdata/gen-8bit-gap.sh: Likewise.
94405         * iconvdata/gen-8bit.sh: Likewise.
94407         * locale/iso-639.def: Add ary entry.
94409         [BZ #11258]
94410         * locale/C-translit.h.in: Add U20A1 transliteration.
94412         [BZ #12178]
94413         * locale/iso-639.def: Add wae entry.
94414         Patch by Kevin Bortis <bortis@translate-wae.ch>.
94416         [BZ #12545]
94417         * locale/programs/localedef.c (construct_output_path): Use ssize_t
94418         for n.
94420         [BZ #12711]
94421         * locale/C-translit.h.in: Add entry for U20B9.
94422         Patch by pravin.d.s@gmail.com.
94424 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
94426         [BZ #12713]
94427         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
94428         ENAMETOOLONG use generic getcwd.
94429         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
94430         in rtld.  Use *stat64.
94431         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
94432         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
94433         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
94434         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
94435         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
94436         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
94437         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
94438         __fstatat64 macros.
94439         * include/dirent.h: Add libc_hidden_proto for rewinddir.
94440         * dirent/rewinddir.c: Add libc_hidden_def.
94441         * sysdeps/mach/hurd/rewinddir.c: Likewise.
94442         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
94444         * include/dirent.h (__alloc_dir): Add flags parameter.
94445         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
94446         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
94447         __alloc_dir.
94448         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
94449         from fdopendir if O_CLOEXEC is already set.
94451 2011-03-15  Alan Modra  <amodra@gmail.com>
94453         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
94454         l_tls_firstbyte_offset non-zero.  Save padding offset in
94455         l_tls_firstbyte_offset for later use.
94456         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
94457         freeing static tls block.
94459 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
94461         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
94462         where #ifdef was intended.  The intent is to prevent ARG_MAX from
94463         being defined by the kernel headers.
94465 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
94467         [BZ #12734]
94468         * resolv/resolv.h: Define RES_NOTLDQUERY.
94469         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
94470         no-tld-query and set RES_NOTLDQUERY.
94471         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
94472         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
94473         modern BIND to search name as TLD unless forbidden.
94475 2011-05-07  Petr Baudis  <pasky@suse.cz>
94476             Ulrich Drepper  <drepper@gmail.com>
94478         [BZ #12393]
94479         * elf/dl-load.c (fillin_rpath): Move trusted path check...
94480         (is_trusted_path): ...to here.
94481         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
94482         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
94483         using is_trusted_path_normalize() in setuid scripts.
94485 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
94487         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
94488         __BEGIN/__END_DECLS.
94490 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
94492         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
94493         NSS_STATUS_NOTFOUND if no record was found.
94495 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94497         * sunrpc/Makefile (headers): Add rpc/netdb.h.
94498         (headers-not-in-tirpc): Remove rpc/netdb.h
94499         * resolv/netdb.h: Revert last change.
94501 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
94503         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
94504         circular dependency between libgcc.a and libc.a.
94506 2011-05-05  Andreas Schwab  <schwab@redhat.com>
94508         * resolv/netdb.h: Don't include <rpc/netdb.h>.
94509         * nis/Makefile: Don't install rpcsvc/*.
94510         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
94511         instead of <rpc/types.h>.
94512         (MAXHOSTNAMELEN): Define.
94514 2011-05-03  Andreas Schwab  <schwab@redhat.com>
94516         * elf/ldconfig.c (add_dir): Don't crash on empty path.
94518 2011-04-28  Maciej Babinski  <mbabinski@google.com>
94520         [BZ #12714]
94521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
94522         gethostbyname4_r when IPv6 results are possible.
94524 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
94526         [BZ #12723]
94527         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
94528         _PC_PIPE_BUF handling.
94530 2011-04-30  Bruno Haible  <bruno@clisp.org>
94532         [BZ #12717]
94533         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
94534         * resolv/netdb.h (getnameinfo): Change type of flags parameter
94535         to 'int'.
94536         * inet/getnameinfo.c (getnameinfo): Likewise.
94538 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
94540         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
94541         to groups setting in database lookup.
94542         * nss/nsswitch.conf: Add initgroups entry.
94544 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
94546         [BZ #12685]
94547         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
94548         mode string.
94549         Patch by Eric Blake <eblake@redhat.com>.
94551 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
94553         * sunrpc/Makefile (need-export-routines): Add svc_run.
94554         (routines): Remove svc_run.
94555         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
94556         * sunrpc/clnt_perr.c (clnt_perrno): Export.
94557         * sunrpc/svc_run.c (svc_run): Likewise.
94558         * sunrpc/svc_udp.c (svcudp_create): Likewise.
94560 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
94562         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
94563         problem in reallocation in last patch.
94565 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
94567         * sunrpc/Makefile: Move inclusion of Rules.
94569 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94571         * nss/nss_files/files-initgroups.c: New file.
94572         * nss/Makefile (libnss_files-routines): Add files-initgroups.
94573         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
94574         _nss_files_initgroups_dyn.
94576 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
94578         * elf/elf.h (R_ARM_IRELATIVE): Define.
94580 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
94582         * po/ru.po: Update from translation team.
94584 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94586         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
94587         dependencies.
94589 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
94591         [BZ #12653]
94592         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
94593         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
94594         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
94595         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
94596         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
94598 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
94600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
94601         differing bytes.
94602         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
94603         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
94604         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
94606 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
94608         [BZ #12420]
94609         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
94610         storing it.
94611         * stdlib/bug-getcontext.c: New file.
94612         * stdlib/Makefile: Add rules to build and run bug-getcontext.
94614 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94616         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
94617         instructions into .machine "z9-109".
94618         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
94619         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
94621 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94623         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
94624         between environment variables and auxiliary vector.
94626 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
94628         * Makefile: Add rules to build linkobj/libc.so.
94629         * include/libc-symbols.h: Define libc_hidden_nolink.
94630         * include/rpc/auth.h: Mark functions which are to be hidden.
94631         * include/rpc/auth_des.h: Likewise.
94632         * include/rpc/auth_unix.h: Likewise.
94633         * include/rpc/clnt.h: Likewise.
94634         * include/rpc/des_crypt.h: Likewise.
94635         * include/rpc/key_prot.h: Likewise.
94636         * include/rpc/pmap_clnt.h: Likewise.
94637         * include/rpc/pmap_prot.h: Likewise.
94638         * include/rpc/pmap_rmt.h: Likewise.
94639         * include/rpc/rpc_msg.h: Likewise.
94640         * include/rpc/svc.h: Likewise.
94641         * include/rpc/svc_auth.h: Likewise.
94642         * include/rpc/xdr.h: Likewise.
94643         * nis/Makefile: Link all DSOs against linkobj/libc.so.
94644         * nss/Makefile: Likewise.
94645         * sunrpc/Makefile: Don't install headers.  Build library with normal
94646         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
94647         * sunrpc/auth_des.c: Hide exported symbols by default, export some
94648         for the compat linking library.  Remove use of INTDEF/INTUSE.
94649         * sunrpc/auth_none.c: Likewise.
94650         * sunrpc/auth_unix.c: Likewise.
94651         * sunrpc/authdes_prot.c: Likewise.
94652         * sunrpc/authuxprot.c: Likewise.
94653         * sunrpc/clnt_gen.c: Likewise.
94654         * sunrpc/clnt_perr.c: Likewise.
94655         * sunrpc/clnt_raw.c: Likewise.
94656         * sunrpc/clnt_simp.c: Likewise.
94657         * sunrpc/clnt_tcp.c: Likewise.
94658         * sunrpc/clnt_udp.c: Likewise.
94659         * sunrpc/clnt_unix.c: Likewise.
94660         * sunrpc/des_crypt.c: Likewise.
94661         * sunrpc/des_soft.c: Likewise.
94662         * sunrpc/get_myaddr.c: Likewise.
94663         * sunrpc/key_call.c: Likewise.
94664         * sunrpc/key_prot.c: Likewise.
94665         * sunrpc/netname.c: Likewise.
94666         * sunrpc/pm_getmaps.c: Likewise.
94667         * sunrpc/pm_getport.c: Likewise.
94668         * sunrpc/pmap_clnt.c: Likewise.
94669         * sunrpc/pmap_prot.c: Likewise.
94670         * sunrpc/pmap_prot2.c: Likewise.
94671         * sunrpc/pmap_rmt.c: Likewise.
94672         * sunrpc/publickey.c: Likewise.
94673         * sunrpc/rpc_cmsg.c: Likewise.
94674         * sunrpc/rpc_common.c: Likewise.
94675         * sunrpc/rpc_dtable.c: Likewise.
94676         * sunrpc/rpc_prot.c: Likewise.
94677         * sunrpc/rpc_thread.c: Likewise.
94678         * sunrpc/rtime.c: Likewise.
94679         * sunrpc/svc.c: Likewise.
94680         * sunrpc/svc_auth.c: Likewise.
94681         * sunrpc/svc_authux.c: Likewise.
94682         * sunrpc/svc_raw.c: Likewise.
94683         * sunrpc/svc_run.c: Likewise.
94684         * sunrpc/svc_simple.c: Likewise.
94685         * sunrpc/svc_tcp.c: Likewise.
94686         * sunrpc/svc_udp.c: Likewise.
94687         * sunrpc/svc_unix.c: Likewise.
94688         * sunrpc/svcauth_des.c: Likewise.
94689         * sunrpc/xcrypt.c: Likewise.
94690         * sunrpc/xdr.c: Likewise.
94691         * sunrpc/xdr_array.c: Likewise.
94692         * sunrpc/xdr_float.c: Likewise.
94693         * sunrpc/xdr_intXX_t.c: Likewise.
94694         * sunrpc/xdr_mem.c: Likewise.
94695         * sunrpc/xdr_rec.c: Likewise.
94696         * sunrpc/xdr_ref.c: Likewise.
94697         * sunrpc/xdr_sizeof.c: Likewise.
94698         * sunrpc/xdr_stdio.c: Likewise.
94700 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
94702         [BZ #12650]
94703         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
94704         * sysdeps/ia64/dl-tls.h: Likewise.
94705         * sysdeps/powerpc/dl-tls.h: Likewise.
94706         * sysdeps/s390/dl-tls.h: Likewise.
94707         * sysdeps/sh/dl-tls.h: Likewise.
94708         * sysdeps/sparc/dl-tls.h: Likewise.
94709         * sysdeps/x86_64/dl-tls.h: Likewise.
94710         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
94712 2011-03-14  Andreas Schwab  <schwab@redhat.com>
94714         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
94715         rpath element also skip the following colon.
94716         (expand_dynamic_string_token): Add is_path parameter and pass
94717         down to DL_DST_REQUIRED and _dl_dst_substitute.
94718         (decompose_rpath): Call expand_dynamic_string_token with
94719         non-zero is_path.  Ignore empty rpaths.
94720         (_dl_map_object_from_fd): Call expand_dynamic_string_token
94721         with zero is_path.
94723 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
94725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
94726         Make cancelable.
94728 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
94730         [BZ #12655]
94731         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
94732         Patch by Filipe David Manana <fdmanana@apache.org>.
94734 2011-04-07  Andreas Schwab  <schwab@redhat.com>
94736         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
94737         Maintain aligned stack.
94738         (CHECK_RSP): Remove unused macro.
94740 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
94742         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
94743         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
94745 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
94747         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
94749         * include/features.h: Mention __USE_XOPEN2K8 in comment.
94751 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
94753         [BZ #12518]
94754         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
94755         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
94756         * sysdeps/x86_64/memmove.c: New file.
94757         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
94758         (memcpy): Renamed to ...
94759         (__new_memcpy): This.
94760         (memcpy): Provide GLIBC_2_14 memcpy.
94761         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
94762         (memcpy): Provide GLIBC_2_2_5 memcpy.
94764 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94766         [BZ #12631]
94767         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
94769 2011-03-30  Andreas Schwab  <schwab@redhat.com>
94771         * misc/syncfs.c: New file.
94772         * misc/Makefile (routines): Add syncfs.
94773         * posix/unistd.h: Declare syncfs.
94774         * sysdeps/unix/syscalls.list: Add syncfs.
94776 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94778         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
94779         open_by_handle_at.
94780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
94781         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94783         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94784         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94785         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
94786         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94788 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94790         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
94791         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94792         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
94793         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94794         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94795         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94796         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94798         * io/Makefile: Compile fallocate.c, fallocate64.c, and
94799         sync_file_range.c with -fexceptions.
94800         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
94801         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
94802         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
94803         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
94804         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
94805         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
94806         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
94807         sync_file_range as cancellation point
94808         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
94809         now a wrapper around __call_sync_file_range with cancellation handling.
94810         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
94811         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
94812         function name to __call_sync_file_range.
94813         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
94814         Add call_sync_file_range.
94816 2011-04-01  Andreas Schwab  <schwab@redhat.com>
94818         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
94819         bits/timex.h.
94821 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
94823         * iconv/iconv.h: Fix typo in comment.
94824         * io/fcntl.h: Likewise.
94825         * libio/stdio.h: Likewise.
94826         * posix/spawn.h: Likewise.
94827         * posix/unistd.h: Likewise.
94828         * stdlib/stdlib.h: Likewise.
94829         * time/time.h: Likewise.
94830         * wcsmbs/wchar.h: Likewise.
94832         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
94833         open_by_handle): Add.
94834         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
94835         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
94836         Augment a few comments.
94837         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
94838         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
94839         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
94840         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
94841         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
94842         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
94843         open_by_handle.
94845         * io/fcntl.h (AT_EMPTY_PATH): Define.
94847 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
94849         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
94850         * sysdeps/unix/sysv/linux/bits/time.h: New file.
94851         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
94852         to...
94853         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
94854         * Versions.def: Add GLIBC_2.14.
94855         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
94856         Export.
94858 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94860         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94861         round counter.
94862         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94864 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94866         [BZ #12597]
94867         * string/test-strncmp.c (do_page_test): New function.
94868         (check2): Likewise.
94869         (test_main): Call check2.
94870         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94872 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94874         [BZ #12587]
94875         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94876         Handle cache information in CPU leaf 4.
94877         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94879 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94881         [BZ #12583]
94882         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94883         character representation.
94884         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94886 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94888         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94889         END(__isnan) to END(__isnanf) to match function entry point/label
94890         EALIGN(__isnanf,...).
94892 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94894         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94896 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94898         [BZ #12510]
94899         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94900         copy from the symbol referenced in the relocation to initialize the
94901         used variable.
94902         Patch by Piotr Bury <pbury@goahead.com>.
94903         * elf/Makefile: Add rules to build and tst-unique3.
94904         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94905         * elf/tst-unique3.cc: New file.
94906         * elf/tst-unique3.h: New file.
94907         * elf/tst-unique3lib.cc: New file.
94908         * elf/tst-unique3lib2.cc: New file.
94910         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94912 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94914         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94915         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94916         to _start.
94918 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94920         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94921         to-be-loaded object along a path to loader is ld.so.
94923 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94924             Ulrich Drepper  <drepper@gmail.com>
94926         * sysdeps/x86_64/memset.S: After aligning destination, code
94927         branches to different locations depending on the value of
94928         misalignment, when multiarch is enabled. Fix this.
94930 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94932         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94933         Set _x86_64_preferred_memory_instruction for AMD processsors.
94934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94935         Set bit_Prefer_SSE_for_memop for AMD processors.
94937 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94939         * libio/fmemopen.c (fmemopen): Optimize a bit.
94941 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94943         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94945 2011-03-03  Roland McGrath  <roland@redhat.com>
94947         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94949 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94951         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94952         __bzero_ultra1 instead of __memset_ultra1.
94954 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94955             Ulrich Drepper  <drepper@gmail.com>
94957         [BZ #12509]
94958         * include/link.h (struct link_map): Add l_orig_initfini.
94959         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94960         returning unsuccessfully.
94961         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94962         close of a file loaded at startup, restore the original l_initfini
94963         list.
94964         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94965         list, store the pointer.
94966         * elf/Makefile ($(objpfx)noload-mem): New rule.
94967         (noload-ENV): Define.
94968         (tests): Add $(objpfx)noload-mem.
94969         * elf/noload.c: Include <memcheck.h>.
94970         (main): Call mtrace.  Close all opened handles.
94972 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94974         [BZ #12454]
94975         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94976         dependencies are missing.
94978 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94980         Fix __if_freereq crash: Unlike the generic version which uses free,
94981         Hurd needs munmap.
94982         * sysdeps/mach/hurd/ifreq.h: New file.
94984 2011-01-27  Petr Baudis  <pasky@suse.cz>
94985             Ulrich Drepper  <drepper@gmail.com>
94987         [BZ 12445]#
94988         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94989         to extend_alloca().
94990         * stdio-common/bug23.c: New file.
94991         * stdio-common/Makefile (tests): Add bug23.
94993 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94994             Ulrich Drepper  <drepper@gmail.com>
94996         [BZ #12489]
94997         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94998         before performing relro protection.  At old place add assertion
94999         to make sure nothing changed.
95001 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
95002             Glauber de Oliveira Costa  <glommer@gmail.com>
95004         * elf/elf.h: Add new ARM TLS relocs.
95006 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
95008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
95009         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
95010         cast from r3.
95011         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
95012         'tests' variable.
95013         * sysdeps/wordsize-64/tst-writev.c: New file.
95015 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
95017         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
95018         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
95019         insns in _dl_start to prevent a TOC reference before relocs are
95020         resolved.
95022 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
95024         [BZ #12469]
95025         * Makeconfig: Remove RANLIB definition.
95026         * Makerules: Don't use RANLIB.
95027         * aclocal.m4: Remove ranlib test.
95028         * configure.in: No need to check for ranlib.
95029         * elf/rtld-Rules: Don't use RANLIB.
95031 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95033         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
95034         protection macro.
95035         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
95036         inclusion protection macro.
95038         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
95039         SIGRTMIN and SIGRTMAX and print information in that case only when
95040         SIGRTMIN is defined.
95042 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
95044         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
95045         arginfo fn returning -1.
95047         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
95048         and thousands string is zero terminated.
95050 2011-02-03  Andreas Schwab  <schwab@redhat.com>
95052         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
95053         sysdeps/unix/sysv/linux/bits/socket.h.
95055 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95057         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
95058         (__CPU_COUNT): Remove old macros.
95059         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
95060         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
95061         (__CPU_ALLOC, __CPU_FREE): Add macros.
95062         (__sched_cpualloc, __sched_cpufree): Add declarations.
95064 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
95066         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
95067         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
95068         * nscd/aicache.c (addhstaiX): Return timeout of added value.
95069         (readdhstai): Return value of addhstaiX call.
95070         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
95071         (addgrbyX): Return value returned by cache_addgr.
95072         (readdgrbyname): Return value returned by addgrbyX.
95073         (readdgrbygid): Likewise.
95074         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
95075         (addpwbyX): Return value returned by cache_addpw.
95076         (readdpwbyname): Return value returned by addhstbyX.
95077         (readdpwbyuid): Likewise.
95078         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
95079         (addservbyX): Return value returned by cache_addserv.
95080         (readdservbyname): Return value returned by addservbyX:
95081         (readdservbyport): Likewise.
95082         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
95083         (addhstbyX): Return value returned by cache_addhst.
95084         (readdhstbyname): Return value returned by addhstbyX.
95085         (readdhstbyaddr): Likewise.
95086         (readdhstbynamev6): Likewise.
95087         (readdhstbyaddrv6): Likewise.
95088         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
95089         (readdinitgroups): Return value returned by addinitgroupsX.
95090         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
95091         (prune_cache): Keep track of timeout value of re-added entries.
95092         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
95093         * nscd/nscd.h: Adjust prototypes of readd* functions.
95095 2011-02-04  Roland McGrath  <roland@redhat.com>
95097         * nis/nis_server.c (nis_servstate): Use the right name for 0.
95098         (nis_stats): Likewise.
95099         * nis/nis_modify.c (nis_modify): Likewise.
95100         * nis/nis_remove.c (nis_remove): Likewise.
95101         * nis/nis_add.c (nis_add): Likewise.
95103         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
95105         * posix/fnmatch_loop.c: Add some consts.
95107         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
95109 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
95111         [BZ #12460]
95112         * config.make.in (config-cflags-novzeroupper): Define.
95113         * configure.in: Substitute libc_cv_cc_novzeroupper.
95114         * elf/Makefile (AVX-CFLAGS): Define.
95115         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
95116         (CFLAGS-tst-auditmod4a.c): Likewise.
95117         (CFLAGS-tst-auditmod4b.c): Likewise.
95118         (CFLAGS-tst-auditmod6b.c): Likewise.
95119         (CFLAGS-tst-auditmod6c.c): Likewise.
95120         (CFLAGS-tst-auditmod7b.c): Likewise.
95121         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
95123 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
95125         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
95126         function to the callback.
95127         Patch partly by Jiri Olsa <jolsa@redhat.com>.
95129 2011-02-02  Andreas Schwab  <schwab@redhat.com>
95131         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
95132         of errno.
95134 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
95136         [BZ #11724]
95137         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
95138         of constructors.
95139         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
95140         of destructors.
95141         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
95143         [BZ #11724]
95144         * elf/Makefile: Add rules to build and run new test.
95145         * elf/tst-initorder.c: New file.
95146         * elf/tst-initorder.exp: New file.
95147         * elf/tst-initordera1.c: New file.
95148         * elf/tst-initordera2.c: New file.
95149         * elf/tst-initordera3.c: New file.
95150         * elf/tst-initordera4.c: New file.
95151         * elf/tst-initorderb1.c: New file.
95152         * elf/tst-initorderb2.c: New file.
95153         * elf/tst-order-a1.c: New file.
95154         * elf/tst-order-a2.c: New file.
95155         * elf/tst-order-a3.c: New file.
95156         * elf/tst-order-a4.c: New file.
95157         * elf/tst-order-b1.c: New file.
95158         * elf/tst-order-b2.c: New file.
95159         * elf/tst-order-main.c: New file.
95160         New test case by George Gensure <werkt0@gmail.com>.
95162 2010-10-01  Andreas Schwab  <schwab@redhat.com>
95164         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
95165         decoding ACE if AI_CANONIDN.
95167 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
95169         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
95171 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
95173         * version.h (RELEASE): Bump for 2.13 release.
95174         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
95176         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
95178         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
95179         MADV_NOHUGEPAGE.
95180         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
95181         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
95182         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
95183         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
95184         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
95185         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95187         * posix/getconf.c: Update copyright year.
95188         * catgets/gencat.c: Likewise.
95189         * csu/version.c: Likewise.
95190         * debug/catchsegv.sh: Likewise.
95191         * debug/xtrace.sh: Likewise.
95192         * elf/ldconfig.c: Likewise.
95193         * elf/ldd.bash.in: Likewise.
95194         * elf/sprof.c (print_version): Likewise.
95195         * iconv/iconv_prog.c: Likewise.
95196         * iconv/iconvconfig.c: Likewise.
95197         * locale/programs/locale.c: Likewise.
95198         * locale/programs/localedef.c: Likewise.
95199         * malloc/memusage.sh: Likewise.
95200         * malloc/mtrace.pl: Likewise.
95201         * nscd/nscd.c (print_version): Likewise.
95202         * nss/getent.c: Likewise.
95204         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
95205         PF_CAIF, and PF_ALG.
95206         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
95208 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
95210         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
95211         (modules-names): Use them.
95212         (ifunc-test-modules, ifunc-pie-tests): Define.
95213         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
95214         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
95215         (test-extras): Likewise.
95216         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
95217         $(compile-command.c).
95218         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
95219         (all-built-dso): Define.
95220         (check-textrel.out, check-execstack.out): Depend on it.
95222         * configure.in: Don't override --enable-multi-arch.
95224 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
95226         [BZ #6812]
95227         * nscd/hstcache.c (tryagain): Define.
95228         (cache_addhst): Return tryagain not notfound for temporary errors.
95229         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
95230         failed.
95232 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
95234         [BZ #10563]
95235         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
95236         to make the syscall.
95237         * sysdeps/unix/sysv/linux/setgroups.c: New file.
95239         [BZ #12378]
95240         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
95241         and fall back to matching as normal character if the string ends before
95242         the matching ']' is found.  This is what POSIX requires.
95243         * posix/testfnm.c: Adjust test result.
95244         * posix/globtest.sh: Adjust test result.  Add new test.
95245         * posix/tst-fnmatch.input: Likewise.
95246         * posix/tst-fnmatch2.c: Add new test.
95248 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
95250         * elf/Makefile (check-execstack): Revert last change.  Depend on
95251         check-execstack.h.
95252         (check-execstack.h): New target.
95253         (generated): Add check-execstack.h.
95254         * elf/check-execstack.c: Include "check-execstack.h".
95255         (main): Revert last change.
95256         (handle_file): Return zero if GNU_STACK is absent and
95257         DEFAULT_STACK_PERMS doesn't include PF_X.
95259 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
95261         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
95262         in child fails because the descriptor is already closed.
95263         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
95264         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
95265         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
95267         [BZ #12397]
95268         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
95269         syscall.
95271         [BZ #10484]
95272         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
95273         temporary buffer used to handle multi lookups locally.
95274         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
95276 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95278         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
95279         loader is ld.so.
95281 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
95283         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
95284         alignment for SSE2.
95286 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
95288         [BZ #12394]
95289         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
95290         characters.  When rounding increased number of integer digits recompute
95291         number of groups.
95292         * stdio-common/tst-grouping.c: New file.
95293         * stdio-common/Makefile: Add rules to build and run tst-grouping.
95295 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
95297         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
95298         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
95300         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
95301         void.
95302         * bits/select.h: Likewise.
95304 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
95306         * po/ja.po: Update from translation team.
95308 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
95310         [BZ #11155]
95311         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
95312         implementation just like for lxstat, fxstatat, et al.
95314 2010-12-27  Jim Meyering  <meyering@redhat.com>
95316         [BZ #12348]
95317         * posix/regexec.c (build_trtable): Return failure indication upon
95318         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
95320 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
95322         [BZ #12201]
95323         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
95324         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
95325         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
95326         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
95328         [BZ #12207]
95329         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
95331         [BZ #12204]
95332         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
95333         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
95335 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
95337         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
95338         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
95339         script has SORT_BY_INIT_PRIORITY.
95340         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
95341         NO_CTORS_DTORS_SECTIONS is defined.
95342         * elf/soinit.c: Likewise.
95343         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
95344         NO_CTORS_DTORS_SECTIONS is defined.
95345         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
95346         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
95347         * sysdeps/sh/init-first.c: Likewise.
95348         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
95350 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
95352         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
95353         always use the slow path.
95355 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
95357         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
95358         similar rule which adds the sysdep directories to the header search in
95359         order to pick up the correct platform stackinfo.h.
95360         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
95361         perform test if it is, otherwise return successfully without testing.
95362         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
95363         DEFAULT_STACK_PERMS define in stackinfo.h.
95364         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
95365         defined in stackinfo.h.
95366         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
95367         DEFAULT_STACK_PERMS defined in stackinfo.h.
95368         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
95369         * sysdeps/ia64/stackinfo.h: Likewise.
95370         * sysdeps/s390/stackinfo.h: Likewise.
95371         * sysdeps/sh/stackinfo.h: Likewise.
95372         * sysdeps/sparc/stackinfo.h: Likewise.
95373         * sysdeps/x86_64/stackinfo.h: Likewise.
95374         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
95375         PF_X for powerpc64.  Retain PF_X for powerpc32.
95377 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
95379         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
95380         accurately.
95381         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
95382         GETDENTS_64BIT_ALIGNED.
95384 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
95386         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
95388 2010-12-10  Andreas Schwab  <schwab@redhat.com>
95390         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
95391         _GNU_SOURCE.
95393         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
95394         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
95395         Remove __restrict.
95396         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
95397         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
95399 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
95401         [BZ #11655]
95402         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
95403         are initialized.
95405 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
95407         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
95409 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
95411         * po/it.po: Update from translation team.
95413 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
95415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
95416         unused codes.
95418 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
95420         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
95422 2010-11-24  Andreas Schwab  <schwab@redhat.com>
95424         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
95425         specially.
95426         (gaih_getanswer_slice): Likewise.
95428 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
95430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
95432 2010-05-31  Petr Baudis  <pasky@suse.cz>
95434         [BZ #11149]
95435         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
95436         silently even in the chroot mode.
95438 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
95440         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
95441         last patch a bit.  Pretty printing
95443 2010-05-31  Petr Baudis <pasky@suse.cz>
95445         [BZ #10085]
95446         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
95447         initialization of skip_initgroups_dyn.
95449 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
95451         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
95452         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
95454 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
95456         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
95458 2010-11-11  Andreas Schwab  <schwab@redhat.com>
95460         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
95461         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
95462         (tst-fnmatch-ENV): Set MALLOC_TRACE.
95463         ($(objpfx)tst-fnmatch-mem): New rule.
95464         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
95465         * posix/tst-fnmatch.c (main): Call mtrace.
95467 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
95469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95470         Support Intel processor model 6 and model 0x2c.
95472 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
95474         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
95475           signed comparison.
95477 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
95479         [BZ #12205]
95480         * string/test-strncasecmp.c (check_result): New function.
95481         (do_one_test): Use it.
95482         (check1): New function.
95483         (test_main): Use it.
95484         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
95485         Support strcasecmp and strncasecmp.
95487 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
95489         [BZ #12194]
95490         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
95491         * sysdeps/x86_64/bits/byteswap.h: Likewise.
95493 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
95495         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
95496         IFUNC support.
95497         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95498         memset-x86-64.
95499         * sysdeps/x86_64/multiarch/bzero.S: New file.
95500         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
95501         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
95502         * sysdeps/x86_64/multiarch/memset.S: New file.
95503         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
95504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95505         Set bit_Prefer_SSE_for_memop for Intel processors.
95506         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
95507         Define.
95508         (index_Prefer_SSE_for_memop): Define.
95509         (HAS_PREFER_SSE_FOR_MEMOP): Define.
95511 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
95513         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
95514         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
95516 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
95518         [BZ #12191]
95519         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95520         (__x86_64_raw_data_cache_size_half): Likewise.
95521         (__x86_64_raw_shared_cache_size): Likewise.
95522         (__x86_64_raw_shared_cache_size_half): Likewise.
95524         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
95525         (__x86_64_raw_data_cache_size_half): Likewise.
95526         (__x86_64_raw_shared_cache_size): Likewise.
95527         (__x86_64_raw_shared_cache_size_half): Likewise.
95528         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
95529         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
95530         and __x86_64_raw_shared_cache_size_half.  Round
95531         __x86_64_data_cache_size_half, __x86_64_data_cache_size
95532         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
95533         to multiple of 256 bytes.
95535 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
95537         [BZ #12167]
95538         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
95539         of inacessible symlinks.  Verify result of symlink before returning it.
95540         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
95541         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
95543 2010-10-28  Erich Ritz  <erichritz@gmail.com>
95545         * math/math.h (isinf): Fix typo in comment.
95547 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
95549         * po/da.po: Update from translation team.
95551 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
95553         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
95554         is added to the list.
95556 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95557             Ulrich Drepper  <drepper@gmail.com>
95559         * elf/dl-object.c (_dl_new_object): Don't append the new object to
95560         the global list here.  Move code to...
95561         (_dl_add_to_namespace_list): ...here.  New function.
95562         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
95563         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
95564         * elf/dl-load.c (lose): Don't remove the element from the list.
95565         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
95566         (_dl_map_object): Likewise.
95568 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
95570         [BZ #12159]
95571         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
95572         into all bytes of SSE register.
95573         Patch by Richard Li <richardpku@gmail.com>.
95575 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
95577         [BZ #12140]
95578         * malloc/malloc.c (_int_free): Fill correct number of bytes when
95579         perturbing.
95581 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
95583         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
95584         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
95585         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
95586         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
95587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
95588         submachine.
95589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
95591 2010-10-22  Andreas Schwab  <schwab@redhat.com>
95593         * include/dlfcn.h (__RTLD_SECURE): Define.
95594         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
95595         mode & __RTLD_SECURE instead.
95596         (open_path): Rename preloaded parameter to secure.
95597         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
95598         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
95599         * elf/dl-deps.c (openaux): Likewise.
95600         * elf/rtld.c (struct map_args): Remove is_preloaded.
95601         (map_doit): Don't use it.
95602         (dl_main): Likewise.
95603         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
95604         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
95606 2010-09-09  Andreas Schwab  <schwab@redhat.com>
95608         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
95609         (sysd-rules-targets): Remove duplicates.
95610         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
95611         rtld-%.$o dependency.
95613 2010-10-18  Andreas Schwab  <schwab@redhat.com>
95615         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
95616         _dl_map_object do it.
95618 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
95620         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
95621         fast fma builtins, define the macros in the C99 standard.
95622         (FP_FAST_FMAF): Likewise.
95623         (FP_FAST_FMAL): Likewise.
95624         * sysdeps/x86_64/bits/mathdef.h: Likewise.
95626         * bits/mathdef.h: Update copyright year.
95627         * sysdeps/powerpc/bits/mathdef.h: Likewise.
95629 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
95631         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
95632         builtins, define the macros in the C99 standard.
95633         (FP_FAST_FMAF): Likewise.
95634         (FP_FAST_FMAL): Likewise.
95635         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
95636         multiply/add.
95637         (FP_FAST_FMAF): Likewise.
95639 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
95641         [BZ #3268]
95642         * math/libm-test.inc (fma_test): Some new testcases.
95643         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
95644         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
95645         y and infinite z.  Do multiplication by C already in long double.
95646         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
95647         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
95648         y and infinite z.  Do bitwise or of inexact bit into u.d.
95649         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
95650         * sysdeps/i386/fpu/s_fmaf.S: Removed.
95651         * sysdeps/i386/fpu/s_fma.S: Removed.
95652         * sysdeps/i386/fpu/s_fmal.S: Removed.
95654 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
95656         [BZ #3268]
95657         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
95658         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
95659         computation is not scheduled after fetestexcept.  Fix value
95660         of minimum denormal long double.
95662 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
95664         [BZ #3268]
95665         * math/libm-test.inc (fma_test): Add some more tests.
95666         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
95667         correctly.
95669 2010-10-15  Andreas Schwab  <schwab@redhat.com>
95671         * scripts/data/localplt-s390-linux-gnu.data: New file.
95672         * scripts/data/localplt-s390x-linux-gnu.data: New file.
95674 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
95676         [BZ #3268]
95677         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
95678         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
95679         instead of dbl-64.
95680         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
95681         inlines.
95682         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
95683         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
95684         if one of x and y is very large and the other is subnormal.
95685         * sysdeps/s390/fpu/s_fmaf.c: New file.
95686         * sysdeps/s390/fpu/s_fma.c: New file.
95687         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
95688         * sysdeps/powerpc/fpu/s_fma.S: New file.
95689         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
95690         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
95691         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
95693 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
95695         [BZ #3268]
95696         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
95697         fma tests.
95698         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
95699         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
95700         * sysdeps/i386/i686/multiarch/s_fma.c: Include
95701         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
95702         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
95703         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
95704         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
95706 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
95708         [BZ #12078]
95709         * posix/regcomp.c (parse_branch): One more memory leak plugged.
95710         * posix/bug-regex31.input: Add test case.
95712 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95714         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
95715         * posix/bug-regex31.input: New file.
95717         [BZ #12078]
95718         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
95719         (parse_sub_exp): Fix last change, use postorder.
95721         * posix/bug-regex31.c: New file.
95722         * posix/Makefile: Add rules to build and run bug-regex31.
95724         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
95726         [BZ #12078]
95727         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
95729         [BZ #12108]
95730         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
95731         to have entries in sys_siglist.
95733         [BZ #12093]
95734         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
95735         be NULL.
95737 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
95739         [BZ #3268]
95740         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
95741         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
95742         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
95743         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
95744         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
95745         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
95746         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
95747         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
95748         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
95749         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
95750         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
95751         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
95752         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
95753         * math/ftestexcept.c (fetestexcept): Likewise.
95754         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
95755         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
95756         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
95757         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
95758         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
95759         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
95760         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
95762 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
95764         [BZ #12107]
95765         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
95766         newline.
95768 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
95770         * string/bug-strstr1.c: New file.
95771         * string/Makefile: Add rules to build and run bug-strstr1.
95773 2010-10-05  Eric Blake  <eblake@redhat.com>
95775         [BZ #12092]
95776         * string/str-two-way.h (two_way_long_needle): Always clear memory
95777         when skipping input due to the shift table.
95779 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
95781         [BZ #12005]
95782         * malloc/mcheck.c: Handle large requests.
95784         [BZ #12077]
95785         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
95786         for strncmp and strncasecmp.
95787         * string/stratcliff.c: Add tests for strcmp and strncmp.
95788         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
95790 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
95792         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
95793         __set_fpscr.
95795 2010-09-30  Andreas Jaeger  <aj@suse.de>
95797         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
95798         (CGROUP_SUPER_MAGIC): Define.
95799         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95800         Handle btrfs and cgroup file systems.
95801         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
95802         Likewise.
95804 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
95806         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
95807         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
95809 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
95811         [BZ #12067]
95812         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
95813         trying to locate the ELF header.
95815 2010-09-27  Andreas Schwab  <schwab@redhat.com>
95817         [BZ #11611]
95818         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
95819         Mask out sign-bit copies when constructing f_fsid.
95821 2010-09-24  Petr Baudis <pasky@suse.cz>
95823         * debug/stack_chk_fail_local.c: Add missing licence exception.
95824         * debug/warning-nop.c: Likewise.
95826 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
95828         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
95829         implementing getdents64 using getdents syscall, set d_type if
95830         __ASSUME_GETDENTS32_D_TYPE.
95832 2010-09-16  Andreas Schwab  <schwab@redhat.com>
95834         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
95835         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
95837 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
95839         [BZ #12037]
95840         * posix/unistd.h: Undo change of feature selection for ftruncate from
95841         2010-01-11.
95843 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
95845         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
95846         detection.
95848 2010-09-20  Andreas Schwab  <schwab@redhat.com>
95850         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
95851         fanotify_mark.
95852         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95854 2010-09-14  Andreas Schwab  <schwab@redhat.com>
95856         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
95857         variables after CHECK_SP call.
95858         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95860 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95861             Ulrich Drepper  <drepper@redhat.com>
95863         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95864         re-relocationg ld.so.
95865         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95866         _dl_init_paths call.
95867         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95868         here anymore.
95870 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95872         * resolv/res_init.c (__res_vinit): Count the default server we added.
95874 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95875             Ulrich Drepper  <drepper@redhat.com>
95877         [BZ #11968]
95878         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95879         (____longjmp_chk): Use %ebx for saving value across system call.
95880         Add unwind info.
95882 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95884         * manual/Makefile: Don't mix pattern rules with normal rules.
95886 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95888         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95889         operation.
95890         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95891         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95892         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95893         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95894         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95895         Likewise.
95897 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95899         [BZ #11979]
95900         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95901         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95903 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95905         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95906         * sysdeps/x86_64/addmul_1.S: Likewise.
95907         * sysdeps/x86_64/lshift.S: Likewise.
95908         * sysdeps/x86_64/mul_1.S: Likewise.
95909         * sysdeps/x86_64/rshift.S: Likewise.
95910         * sysdeps/x86_64/sub_n.S: Likewise.
95911         * sysdeps/x86_64/submul_1.S: Likewise.
95913 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95915         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95916         Define __sched_param instead of SCHED_* and sched_param when
95917         <bits/sched.h> is included with __need_schedparam defined.
95918         * bits/sched.h [__need_schedparam]
95919         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95920         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95921         (__defined_schedparam): Define to 1.
95922         (__sched_param): New structure, identical to sched_param.
95923         (__need_schedparam): Undefine.
95925 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95927         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95928         (epoll_create1): Declare.
95930         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95932 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95934         [BZ #7066]
95935         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95936         shifting retval into place.
95938 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95940         * nis/rpcsvc/nis.h: Update copyright notice.
95941         * nis/rpcsvc/nis.x: Likewise.
95942         * nis/rpcsvc/nis_callback.h: Likewise.
95943         * nis/rpcsvc/nis_callback.x: Likewise.
95944         * nis/rpcsvc/nis_object.x: Likewise.
95945         * nis/rpcsvc/nis_tags.h: Likewise.
95946         * nis/rpcsvc/yp.h: Likewise.
95947         * nis/rpcsvc/yp.x: Likewise.
95948         * nis/rpcsvc/ypupd.h: Likewise.
95949         * nis/yp_xdr.c: Likewise.
95950         * nis/ypupdate_xdr.c: Likewise.
95952         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95953         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95954         (pmap_getport): Use __libc_rpc_getport.
95955         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95956         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95957         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95959 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95961         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95962         fanotify_mark.
95964 2010-08-27  Roland McGrath  <roland@redhat.com>
95966         * sysdeps/i386/i686/multiarch/Makefile
95967         (CFLAGS-varshift.c): New variable.
95969 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95971         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95972         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95974         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95976         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95978 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95980         * sysdeps/x86_64/strlen.S: Unroll the loop.
95981         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95982         strlen-sse2 strlen-sse2-bsf.
95983         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95984         __strlen_no_bsf if bit_Slow_BSF is set.
95985         (__strlen_sse42): Removed.
95986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95987         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95989 2010-08-25  Roland McGrath  <roland@redhat.com>
95991         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95992         * sysdeps/x86_64/multiarch/varshift.c: New file.
95993         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95994         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95995         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95996         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95998 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
96000         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96001         strlen-sse2 strlen-sse2-bsf.
96002         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
96003         __strlen_sse2_bsf if bit_Slow_BSF is unset.
96004         (__strlen_sse2): Removed.
96005         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
96006         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
96007         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
96008         bit_Slow_BSF for Atom.
96009         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
96010         (index_Slow_BSF): Define.
96011         (HAS_SLOW_BSF): Define.
96013 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
96015         [BZ #10851]
96016         * resolv/res_init.c (__res_vinit): When no server address at all
96017         is given default to loopback.
96019 2010-08-24  Roland McGrath  <roland@redhat.com>
96021         * configure.in: Remove config-name.h generation.
96022         * configure: Regenerated.
96023         * config-name.in: File removed.
96024         * scripts/config-uname.sh: New file.
96025         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
96026         ($(objdir)config-name.h): New target.
96028         * sunrpc/rpc_parse.h: Avoid nested comment.
96030 2010-08-24  Richard Henderson  <rth@redhat.com>
96031             Ulrich Drepper  <drepper@redhat.com>
96032             H.J. Lu  <hongjiu.lu@intel.com>
96034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
96035         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
96036         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
96037         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
96038         _mm_alignr_epi8 with _mm_loadu_si128.
96039         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
96040         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
96041         (__m128i_shift_right): Removed.
96042         * sysdeps/i386/i686/multiarch/varshift.h: New file.
96043         * sysdeps/i386/i686/multiarch/varshift.S: New file.
96044         * sysdeps/x86_64/multiarch/varshift.h: New file.
96045         * sysdeps/x86_64/multiarch/varshift.S: New file.
96047 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
96049         * configure.in: Move assembler checks to before sysdep dir checking.
96051 2010-08-20  Petr Baudis  <pasky@suse.cz>
96053         * LICENSES: Sync the sunrpc license.
96055 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
96057         * sunrpc/auth_des.c: Update copyright notice once again.
96058         * sunrpc/auth_none.c: Likewise.
96059         * sunrpc/auth_unix.c: Likewise.
96060         * sunrpc/authdes_prot.c: Likewise.
96061         * sunrpc/authuxprot.c: Likewise.
96062         * sunrpc/bindrsvprt.c: Likewise.
96063         * sunrpc/clnt_gen.c: Likewise.
96064         * sunrpc/clnt_perr.c: Likewise.
96065         * sunrpc/clnt_raw.c: Likewise.
96066         * sunrpc/clnt_simp.c: Likewise.
96067         * sunrpc/clnt_tcp.c: Likewise.
96068         * sunrpc/clnt_udp.c: Likewise.
96069         * sunrpc/clnt_unix.c: Likewise.
96070         * sunrpc/des_crypt.c: Likewise.
96071         * sunrpc/des_soft.c: Likewise.
96072         * sunrpc/get_myaddr.c: Likewise.
96073         * sunrpc/getrpcport.c: Likewise.
96074         * sunrpc/key_call.c: Likewise.
96075         * sunrpc/key_prot.c: Likewise.
96076         * sunrpc/openchild.c: Likewise.
96077         * sunrpc/pm_getmaps.c: Likewise.
96078         * sunrpc/pm_getport.c: Likewise.
96079         * sunrpc/pmap_clnt.c: Likewise.
96080         * sunrpc/pmap_prot.c: Likewise.
96081         * sunrpc/pmap_prot2.c: Likewise.
96082         * sunrpc/pmap_rmt.c: Likewise.
96083         * sunrpc/rpc/auth.h: Likewise.
96084         * sunrpc/rpc/auth_unix.h: Likewise.
96085         * sunrpc/rpc/clnt.h: Likewise.
96086         * sunrpc/rpc/des_crypt.h: Likewise.
96087         * sunrpc/rpc/key_prot.h: Likewise.
96088         * sunrpc/rpc/netdb.h: Likewise.
96089         * sunrpc/rpc/pmap_clnt.h: Likewise.
96090         * sunrpc/rpc/pmap_prot.h: Likewise.
96091         * sunrpc/rpc/pmap_rmt.h: Likewise.
96092         * sunrpc/rpc/rpc.h: Likewise.
96093         * sunrpc/rpc/rpc_des.h: Likewise.
96094         * sunrpc/rpc/rpc_msg.h: Likewise.
96095         * sunrpc/rpc/svc.h: Likewise.
96096         * sunrpc/rpc/svc_auth.h: Likewise.
96097         * sunrpc/rpc/types.h: Likewise.
96098         * sunrpc/rpc/xdr.h: Likewise.
96099         * sunrpc/rpc_clntout.c: Likewise.
96100         * sunrpc/rpc_cmsg.c: Likewise.
96101         * sunrpc/rpc_common.c: Likewise.
96102         * sunrpc/rpc_cout.c: Likewise.
96103         * sunrpc/rpc_dtable.c: Likewise.
96104         * sunrpc/rpc_hout.c: Likewise.
96105         * sunrpc/rpc_main.c: Likewise.
96106         * sunrpc/rpc_parse.c: Likewise.
96107         * sunrpc/rpc_parse.h: Likewise.
96108         * sunrpc/rpc_prot.c: Likewise.
96109         * sunrpc/rpc_sample.c: Likewise.
96110         * sunrpc/rpc_scan.c: Likewise.
96111         * sunrpc/rpc_scan.h: Likewise.
96112         * sunrpc/rpc_svcout.c: Likewise.
96113         * sunrpc/rpc_tblout.c: Likewise.
96114         * sunrpc/rpc_util.c: Likewise.
96115         * sunrpc/rpc_util.h: Likewise.
96116         * sunrpc/rpcinfo.c: Likewise.
96117         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
96118         * sunrpc/rpcsvc/key_prot.x: Likewise.
96119         * sunrpc/rpcsvc/klm_prot.x: Likewise.
96120         * sunrpc/rpcsvc/mount.x: Likewise.
96121         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
96122         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
96123         * sunrpc/rpcsvc/rex.x: Likewise.
96124         * sunrpc/rpcsvc/rstat.x: Likewise.
96125         * sunrpc/rpcsvc/rusers.x: Likewise.
96126         * sunrpc/rpcsvc/sm_inter.x: Likewise.
96127         * sunrpc/rpcsvc/spray.x: Likewise.
96128         * sunrpc/rpcsvc/yppasswd.x: Likewise.
96129         * sunrpc/rtime.c: Likewise.
96130         * sunrpc/svc.c: Likewise.
96131         * sunrpc/svc_auth.c: Likewise.
96132         * sunrpc/svc_authux.c: Likewise.
96133         * sunrpc/svc_raw.c: Likewise.
96134         * sunrpc/svc_run.c: Likewise.
96135         * sunrpc/svc_simple.c: Likewise.
96136         * sunrpc/svc_tcp.c: Likewise.
96137         * sunrpc/svc_udp.c: Likewise.
96138         * sunrpc/svc_unix.c: Likewise.
96139         * sunrpc/svcauth_des.c: Likewise.
96140         * sunrpc/xcrypt.c: Likewise.
96141         * sunrpc/xdr.c: Likewise.
96142         * sunrpc/xdr_array.c: Likewise.
96143         * sunrpc/xdr_float.c: Likewise.
96144         * sunrpc/xdr_mem.c: Likewise.
96145         * sunrpc/xdr_rec.c: Likewise.
96146         * sunrpc/xdr_ref.c: Likewise.
96147         * sunrpc/xdr_sizeof.c: Likewise.
96148         * sunrpc/xdr_stdio.c: Likewise.
96150         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
96151         handling.
96153 2010-08-19  Andreas Schwab  <schwab@redhat.com>
96155         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
96157 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
96159         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
96160         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
96161         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
96162         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
96163         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
96164         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
96165         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
96166         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
96167         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
96168         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
96169         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
96170         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
96171         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
96172         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
96174 2010-07-26  Anton Blanchard  <anton@samba.org>
96176         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
96177         * malloc/arena.c (heap_trim): Likewise.
96179 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
96181         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
96182         here.  Not...
96183         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
96184         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
96186 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
96188         * sysdeps/i386/elf/Makefile: New file.
96190 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96192         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
96193         from fanotify_init.
96194         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
96195         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96197 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
96199         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
96200         of strncasecmp_l.
96201         * sysdeps/multiarch/strcmp.S: Likewise.
96203 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
96205         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96206         strncase_l-nonascii.
96207         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96208         Add strncase_l-ssse3.
96209         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
96210         * sysdeps/x86_64/strcmp.S: Likewise.
96211         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
96212         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
96213         * sysdeps/x86_64/strncase.S: New file.
96214         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
96215         * sysdeps/x86_64/strncase_l.S: New file.
96216         * string/Makefile (strop-tests): Add strncasecmp.
96217         * string/test-strncasecmp.c: New file.
96219         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
96220         warning.
96222         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
96223         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
96225 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
96227         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
96229 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
96231         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
96232         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
96233         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
96235 2010-05-01  Alan Modra  <amodra@gmail.com>
96237         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
96238         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
96239         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
96240         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
96241         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
96242         tidying.  Don't tail-call __sigjmp_save for static lib.
96243         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
96244         save location.
96245         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
96246         (CALL_MCOUNT): Add eh info, and nop after bl.
96247         (TAIL_CALL_SYSCALL_ERROR): New macro.
96248         (PSEUDO_RET): Use it.
96249         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
96250         Correct save location of integer regs and cr.
96251         (_dl_profile_resolve): Correct cr save location.  Delete nops
96252         after bl when SHARED.  Reduce cfi size a little by better
96253         placement of cfi directives.
96254         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
96255         make a stack frame.  Instead use parm save area as a temp.
96256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
96257         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
96258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
96259         Don't make a stack frame for parent, use parm save area.
96260         Increase child stack frame to 112 bytes.  Don't save unused reg,
96261         and adjust reg usage.  Set up cfi on error recovery and
96262         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
96263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
96264         (__makecontext): Add dummy nop after jump to exit.
96265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
96266         Use correct parm save area and cr save, reduce stack frame.
96267         Correct cfi for possible PSEUDO_RET frame setup.
96268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
96269         Branch to local label emitted by PSEUDO_RET rather than
96270         __syscall_error.
96272 2010-08-12  Andreas Schwab  <schwab@redhat.com>
96274         [BZ #11904]
96275         * locale/programs/locale.c (print_assignment): New function.
96276         (show_locale_vars): Use it.
96278 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
96280         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
96281         field.
96282         (struct statfs64): Likewise.
96283         (_STATFS_F_FLAGS): Define.
96284         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
96285         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
96286         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
96287         (ST_VALID): Define locally.
96288         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
96289         __statvfs_getflags, use the provided value.
96290         * sysdeps/unix/sysv/linux/kernel-features.h: Define
96291         __ASSUME_STATFS_F_FLAGS.
96293         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
96295         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
96296         Add sys/fanotify.h.
96297         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
96298         fanotify_mask for GLIBC_2.13.
96299         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
96300         fanotify_init and fanotify_mark.
96301         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
96302         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
96304         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
96305         Add prlimit.
96306         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
96307         prlimit64 for GLIBC_2.13.
96308         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
96309         prlimit64.
96310         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
96311         syscall.
96312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
96313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
96314         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
96315         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
96316         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
96317         add prlimit alias.
96318         * sysdeps/unix/sysv/linux/prlimit.c: New file.
96320         [BZ #11903]
96321         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
96322         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
96324         * nss/Makefile: Add rules to build and run tst-nss-test1.
96325         * shlib-versions: Add entry for libnss_test1.
96326         * nss/nss_test1.c: New file.
96327         * nss/tst-nss-test1.c: New file.
96329         * nss/nsswitch.c (__nss_database_custom): Define new variable.
96330         (__nss_configure_lookup): Set appropriate entry in
96331         __nss_configure_lookup to true.
96332         * nss/nsswitch.h: Define enum with indeces of databases in
96333         databases and __nss_database_custom arrays.  Declare
96334         __nss_database_custom.
96335         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
96336         to avoid using nscd when custom rules are installed.
96337         * nss/getXXbyYY_r.c: Likewise.
96338         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
96340         * nss/nss_files/files-parse.c: Whitespace fixes.
96342 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
96344         [BZ #11883]
96345         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
96346         * posix/fnmatch_loop.c: Likewise.
96348 2010-07-17  Andi Kleen  <ak@linux.intel.com>
96350         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
96351         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
96352         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
96353         * Versions.def [GLIBC_2.13]: Add.
96355 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
96357         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96358         Also fail if tpwd after pwuid call is NULL.
96360 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96362         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
96363         when converting to ms.
96365 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
96367         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
96368         EOPNOTSUPP errors with ENOTTY.
96369         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
96370         EOPNOTSUPP errors with ENOTTY.
96372 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
96374         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
96375         Add strcasecmp_l-ssse3.
96376         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
96377         strcasecmp.
96378         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
96379         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
96380         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
96382 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
96384         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
96386         * string/Makefile (strop-tests): Add strcasecmp.
96387         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
96388         strcasecmp_l-nonascii.
96389         (gen-as-const-headers): Add locale-defines.sym.
96390         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
96391         * sysdeps/x86_64/strcasecmp.S: New file.
96392         * sysdeps/x86_64/strcasecmp_l.S: New file.
96393         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
96394         * sysdeps/x86_64/locale-defines.sym: New file.
96395         * string/test-strcasecmp.c: New file.
96397         * string/test-strcasestr.c: Test both ends of the range of characters.
96398         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
96400 2010-07-29  Roland McGrath  <roland@redhat.com>
96402         [BZ #11856]
96403         * manual/locale.texi (Yes-or-No Questions): Fix example code.
96405 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
96407         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
96408         for ld.so.
96410 2010-07-27  Andreas Schwab  <schwab@redhat.com>
96412         * manual/memory.texi (Malloc Tunable Parameters): Document
96413         M_PERTURB.
96415 2010-07-26  Roland McGrath  <roland@redhat.com>
96417         [BZ #11840]
96418         * configure.in (-fgnu89-inline check): Set and substitute
96419         gnu89_inline, not libc_cv_gnu89_inline.
96420         * configure: Regenerated.
96421         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
96423 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
96425         * string/test-strnlen.c: New file.
96426         * string/Makefile (strop-tests): Add strnlen.
96427         * string/tester.c (test_strnlen): Add a few more test cases.
96428         * string/tst-strlen.c: Better error reporting.
96430         * sysdeps/x86_64/strnlen.S: New file.
96432 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
96434         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
96435         lower-latency instructions.
96437 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
96439         * string/test-strcasestr.c: New file.
96440         * string/test-strstr.c: New file.
96441         * string/Makefile (strop-tests): Add strstr and strcasestr.
96442         * string/str-two-way.h: Don't undefine MAX.
96443         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
96445 2010-07-21  Andreas Schwab  <schwab@redhat.com>
96447         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
96448         strcasestr-nonascii.
96449         (CFLAGS-strcasestr-nonascii.c): Define.
96450         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
96451         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
96452         Remove unused attribute.
96454 2010-07-20  Roland McGrath  <roland@redhat.com>
96456         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
96457         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
96458         ld.so.cache was broken.  With it, there is no way to disable dsocaps
96459         like LD_HWCAP_MASK can disable hwcaps.
96461 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96463         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
96465 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
96467         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
96468         call in strcasestr.
96469         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
96470         __strcasestr_sse42_nonascii.
96471         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
96472         strcasestr-nonascii.c.
96473         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
96475 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
96477         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
96478         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
96479         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
96480         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
96482 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
96484         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
96485         fcntl.
96487 2010-07-06  Andreas Schwab  <schwab@redhat.com>
96489         [BZ #11577]
96490         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
96491         dl_signal_cerror.
96493 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
96495         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
96496         _PC_PIPE_BUF using F_GETPIPE_SZ.
96498 2010-07-05  Roland McGrath  <roland@redhat.com>
96500         * manual/arith.texi (Rounding Functions): Fix rint description
96501         implicit in round description.
96503 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
96505         * elf/Makefile: Fix linking for a few tests to make recent linker
96506         happy.
96508 2010-06-30  Andreas Schwab  <schwab@redhat.com>
96510         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
96511         $(common-objpfx)libc_nonshared.a.
96513 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
96515         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
96516         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
96517         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96518         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96519         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
96520         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
96521         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96522         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
96524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
96525         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
96526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
96527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
96528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
96529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
96530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
96531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
96532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
96533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
96534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
96535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
96536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
96537         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
96538         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
96539         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
96540         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
96541         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
96542         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
96543         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
96544         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
96545         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
96546         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
96547         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
96548         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
96549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
96550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
96551         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
96552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
96553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
96554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
96555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
96556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
96557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
96558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
96559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
96560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
96561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
96562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
96564 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
96566         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
96567         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
96568         * string/memmove.c (memmove): Renamed to ...
96569         (MEMMOVE): ...this.  Default to memmove.
96570         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
96571         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
96572         (END_CHK): Define.
96573         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
96574         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
96575         mempcpy-ssse3-back memmove-ssse3-back.
96576         * sysdeps/x86_64/multiarch/bcopy.S: New file .
96577         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
96578         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
96579         * sysdeps/x86_64/multiarch/memcpy.S: New file.
96580         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
96581         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
96582         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
96583         * sysdeps/x86_64/multiarch/memmove.c: New file.
96584         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
96585         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
96586         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
96587         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
96588         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
96589         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
96590         Define.
96591         (index_Fast_Copy_Backward): Define.
96592         (HAS_ARCH_FEATURE): Define.
96593         (HAS_FAST_REP_STRING): Define.
96594         (HAS_FAST_COPY_BACKWARD): Define.
96596 2010-06-21  Andreas Schwab  <schwab@redhat.com>
96598         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
96599         Restore proper fallback handling.
96601 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
96603         [BZ #11701]
96604         * posix/group_member.c (__group_member): Correct checking loop.
96606         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
96607         OOM in getpwuid_r correctly.  Return error number when the caller
96608         should return, otherwise -1.
96609         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
96610         call returning > 0 value.
96611         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
96613 2010-06-07  Andreas Schwab  <schwab@redhat.com>
96615         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
96616         libc_nonshared.a from targets in modules-names.
96618 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
96620         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
96621         requires it.
96623 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
96625         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
96626         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
96627         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
96628         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
96630 2010-06-02  Andreas Schwab  <schwab@redhat.com>
96632         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
96634 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
96636         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
96637         and F_GETPIPE_SZ.
96638         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
96639         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
96640         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
96641         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
96642         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
96643         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
96645 2010-06-14  Roland McGrath  <roland@redhat.com>
96647         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
96649 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
96651         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
96652         __REDIRECT followed by __THROW.
96653         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
96654         * posix/getopt.h (getopt): Likewise.
96656 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
96658         * hurd/lookup-at.c (__file_name_lookup_at): Accept
96659         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
96660         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
96661         in AT_FLAGS.
96662         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
96663         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
96665 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
96667         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
96669 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
96671         [BZ #11640]
96672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
96673         Properly check family and model.
96675 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
96677         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
96679 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
96681         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
96683 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
96685         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
96686         symbol reference.
96688 2010-05-19  Andreas Schwab  <schwab@redhat.com>
96690         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
96691         symbol reference.
96693 2010-05-21  Andreas Schwab  <schwab@redhat.com>
96695         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
96696         and internal_recvmmsg.
96697         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
96698         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
96699         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
96700         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
96702         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
96703         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
96704         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
96706 2010-05-20  Andreas Schwab  <schwab@redhat.com>
96708         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
96710 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
96712         POWER7 optimizations.
96713         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
96714         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
96716 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
96718         * version.h: Update for 2.13 development version.
96720 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
96722         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
96723         exceptions.  Return 0.
96725 2010-05-07  Roland McGrath  <roland@redhat.com>
96727         * elf/ldconfig.c (main): Add a const.
96729 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
96731         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
96732         (args_options): Add no-idn option.
96733         (ahosts_keys_int): Add idn_flags to ai_flags.
96734         (parse_option): Handle 'i' option to clear idn_flags.
96736         * malloc/malloc.c (_int_free): Possible race in the most recently
96737         added check.  Only act on the data if no current modification
96738         happened.
96740 See ChangeLog.17 for earlier changes.